@rokt/dcui-orchestrator 1.2.1-rc.41 → 1.2.1-rc.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as i from"react";import a,{useEffect as o,useRef as r,useState as l,useCallback as s,useMemo as d,createContext as c,useContext as u,useLayoutEffect as p,forwardRef as h,useSyncExternalStore as f,useId as v}from"react";import{createRoot as y}from"react-dom/client";import{useDispatch as m,useSelector as C,connect as g,useStore as b,Provider as I}from"react-redux";import{path as E,assocPath as L,when as D,allPass as w,hasPath as S,complement as A,pathEq as x,cond as T,mergeDeepWith as O,T as M,flip as k,type as V,unary as H,identity as _,concat as P,zipWith as R,slice as N,compose as F,findIndex as j,equals as $,map as Z,sortBy as G,toPairs as B,pathOr as U,prop as z,is as q,always as K,propOr as W,__ as Y,memoizeWith as J,mapObjIndexed as X,where as Q,not as ee,isEmpty as te,forEachObjIndexed as ne,pipe as ie,split as ae,replace as oe,reduce as re,reduced as le,partial as se,curry as de,anyPass as ce,keys as ue,all as pe,flatten as he,values as fe,ifElse as ve,isNil as ye,over as me,lensPath as Ce,zip as ge,evolve as be,append as Ie,gt as Ee,lt as Le,either as De,view as we,add as Se,lte as Ae,mergeWith as xe,omit as Te,indexBy as Oe,reject as Me,whereEq as ke,uniqBy as Ve,mergeRight as He,lensProp as _e,defaultTo as Pe,find as Re,has as Ne,assoc as Fe,gte as je,clone as $e,mergeDeepRight as Ze,isNotEmpty as Ge,F as Be}from"ramda";import{css as Ue,cx as ze,keyframes as qe}from"@emotion/css";import{call as Ke,put as We,actionChannel as Ye,take as Je,cancelled as Xe,select as Qe,all as et,takeEvery as tt,spawn as nt,fork as it,takeLatest as at,race as ot,delay as rt,takeLeading as lt}from"redux-saga/effects";import st,{buffers as dt,eventChannel as ct,END as ut}from"redux-saga";import{configureStore as pt,combineReducers as ht}from"@reduxjs/toolkit";import{all as ft,takeLatest as vt,select as yt,call as mt,spawn as Ct,takeEvery as gt,put as bt,take as It,delay as Et}from"@redux-saga/core/effects";import Lt from"embla-carousel-react";import Dt from"insane";import wt from"@emotion/css/create-instance";import St from"embla-carousel-autoplay";import At from"embla-carousel-fade";function xt(e){const t=["elements","own"],n=["default","dimension","width","type"],i=["default","dimension","width","value"],a=["default","dimension","minWidth"],o=E(t,e);return o&&Array.isArray(o)&&o.length?L(t,o.map(D(w([S(n),A(S(a)),x("fixed",n)]),(e=>L(a,E(i,e),e)))),e):e}function Tt(e){const t="DISABLED"===e;return{tabIndex:t?-1:void 0,styles:t?{pointerEvents:"none",userSelect:"none"}:void 0,isDisabled:t}}function Ot(e,t){if("EscapeHatch"===t.type)try{return JSON.parse(t.node.data).type===e}catch(e){return!1}return!1}function Mt(){return"ontouchstart"in document.documentElement}function kt(e){return null!=e&&"object"==typeof e&&("url"in e||"name"in e)&&"config"in e}function Vt(e){return null!=e&&"object"==typeof e&&"id"in e&&"action"in e&&"instanceGuid"in e&&"signalType"in e}function Ht(e){return Vt(e)&&"Fulfillment"===e.action}function _t(e){return Vt(e)&&"Url"===e.action}function Pt(e){return Vt(e)&&"CaptureOnly"===e.action}function Rt(e){return Vt(e)&&"ExternalPaymentTrigger"===e.action}function Nt(e){return(Ht(e)||_t(e))&&"RealTime"===e.conversionType&&"rclid"in e}function Ft(e){return(Ht(e)||_t(e))&&"RealTimeReferral"===e.conversionType&&"rclid"in e}function jt(e){switch(e){case"SignalGatedResponse":return"SignalGatedResponse";case"SignalOptInResponse":return"SignalOptInResponse";case"SignalOptOutResponse":return"SignalOptOutResponse";default:return"SignalResponse"}}var $t,Zt;function Gt(e){return e.slice(e.lastIndexOf(":")+1)}function Bt(e){return{oldCartItem:null,cartItem:{cartItemId:e,catalogItemId:"",name:"",description:"",quantity:0,unitPrice:0,totalPrice:0,currency:"",providerData:""}}}!function(e){e.Unknown="Unknown",e.InStock="InStock",e.OutOfStock="OutOfStock"}($t||($t={})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Other=1]="Other",e[e.Card=2]="Card",e[e.PayPal=3]="PayPal",e[e.ApplePay=4]="ApplePay",e[e.GooglePay=5]="GooglePay",e[e.Afterpay=6]="Afterpay"}(Zt||(Zt={}));const Ut="FAILED_TO_PROCESS_PARTNER_UPDATE_CART_ITEM";function zt(e){return null!==e&&"object"==typeof e&&"cartItemId"in e&&"string"==typeof e.cartItemId&&"quantity"in e&&"number"==typeof e.quantity&&!("unitPrice"in e)}const qt={pluginId:"shared",pageInstanceGuid:"N/A"},Kt="offerComplete",Wt="checkout",Yt="layoutMinimized";function Jt(e){return e.registrationCount>0}function Xt(e){return e.validated&&!e.valid&&e.errorVisible}function Qt(e,t=[]){const n=0===e.trim().length;for(const i of t){if(n&&"Required"!==i.type)continue;const t=en(e,i);if(t)return t}return""}function en(e,t){switch(t.type){case"Required":return 0===e.trim().length?t.value.message:"";case"MinLength":return e.length<t.value.length?t.value.message:"";case"MaxLength":return e.length>t.value.length?t.value.message:"";case"Pattern":return function(e,t){try{return new RegExp(t).test(e)}catch(e){return!0}}(e,t.value.pattern)?"":t.value.message;default:return""}}function tn(e,t){return t.flatMap((t=>{var n;const i=t.indexOf(".");if(-1===i){const i=null!==(n=e[t])&&void 0!==n?n:{};return Object.entries(i).filter((([,e])=>Jt(e))).map((([e])=>({formKey:t,fieldKey:e})))}return[{formKey:t.slice(0,i),fieldKey:t.slice(i+1)}]}))}var nn;!function(e){e.DCUI="DCUI",e.Partner="partner"}(nn||(nn={}));const an=["SignalCartItemQuantitySelected","SignalProductItemResponse","SignalUserInteraction","SignalOptInResponse","SignalOptOutResponse"],on="ERROR",rn="INFO",ln="WARNING";class sn extends Error{constructor(e,t){super(t),this.code=null!=e?e:"UNHANDLED_EXCEPTION"}toString(){return`CodedError (${this.code}): ${this.message}`}}const dn=["V2_CART_ITEM_UPDATED","UPDATE_CART_ITEM_MESSAGE","CART_ITEM_INSTANT_PURCHASE","UPSELL_ITEM_INSTANT_PURCHASE","DELIVERY_DETAILS_SENT","OFFER_ENGAGEMENT","POSITIVE_ENGAGEMENT","UPSELL_CREATIVE_SENT","REALTIME_OFFER_FULFILLMENT_REFERRAL","REALTIME_OFFER_FULFILLMENT_CONVERSION","REALTIME_OFFER_FULFILLMENT_SUCCESS","INITIATE_INSTANT_PURCHASE_EVENT","INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT","INITIATE_CART_ITEM_EVENT","PREPARE_DEVICE_PAY_EVENT","INITIATE_DEVICE_PAY_EVENT","ABORT_DEVICE_PAY_EVENT","COMPLETE_DEVICE_PAY_EVENT","LEAD_CAPTURE_SUBMITTED","PLACEMENT_CLOSED","PLACEMENT_COMPLETED","PLACEMENT_INTERACTIVE","PLACEMENT_FAILURE"];function cn(e,t){const n=null==e?void 0:e.creative.responseOptionsMap[t];return"positive"===t&&_t(n)&&n.isPositive&&"string"==typeof n.url&&n.url.trim()&&"SignalSecondaryResponse"!==n.signalType&&(void 0===n.conversionType||"Default"===n.conversionType)?n:void 0}function un(e,t){const n=null==e?void 0:e.creative.responseOptionsMap[t];if(n&&Boolean(n.isPositive)===("positive"===t)&&"SignalSecondaryResponse"!==n.signalType)return Pt(n)?n:!_t(n)||"negative"!==t||void 0!==n.conversionType&&"Default"!==n.conversionType?cn(e,t):n}const pn=(e,t)=>P(e,N(e.length,t.length,t)),hn=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t)){const n=e.length>t.length?pn(t,e):t,i=t.length>e.length?pn(e,t):e;return R(Cn,i,n)}return t},fn=e=>null==e,vn=e=>!fn(e),yn=(e,t)=>fn(t)?e:t,mn=(e,t)=>{throw new sn("MERGE_TYPE_INCONSISTENCY",`Unable to merge values for inconsistent types, left = ${e}, right = ${t}`)};function Cn(e,t){return T([[(e,t)=>vn(e)&&vn(t)&&V(e)!==V(t)&&("Object"===V(e)||"Object"===V(t)),mn],[(e,t)=>fn(e)||fn(t),yn],[(e,t)=>"Object"===V(e),O(Cn)],[(e,t)=>"Array"===V(e),hn],[M,k(H(_))]])(e,t)}function gn(e,t){return Cn(e,t)}function bn(e=0){return`breakpoint-${e}px`}function In(e,t){return t?`${t}-child${e}`:void 0}const En="GLOBAL/RAISE_METRIC",Ln="GLOBAL/OFFER_ENGAGEMENT";function Dn(e){return null!=e&&"object"==typeof e&&"responseOption"in e&&Ht(e.responseOption)&&"fulfillment"in e&&kt(e.fulfillment)}function wn(e){return Rt(e)}function Sn(e){return _t(e)}function An(e){return Pt(e)}function xn(e){return!!(Nt(e)||"responseOption"in e&&Nt(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function Tn(e){return!!(Ft(e)||"responseOption"in e&&Ft(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function On(e){return"string"==typeof e&&""!==e?{adID:e}:{}}function Mn(e,t,n){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(kt(n))return Object.assign({fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId},On(e.adId));throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign(Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId}),On(e.adId)),{urlBehavior:n&&"internally"===n.toLowerCase()?"self":t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}const kn="GLOBAL/RAISE_SIGNAL",Vn="GLOBAL/OFFER_LIFECYCLE",Hn=new Set(["__proto__","constructor","prototype"]);function _n(e){return"string"==typeof e&&e.length>0&&!Hn.has(e)}const Pn="GLOBAL/SET_CUSTOM_STATE";const Rn="ProcessingState",Nn="DevicePayErrorState",Fn="applePayUnavailable",jn="GLOBAL/SEND_PARTNER",$n="GLOBAL/SET_DOMAIN_STATE",Zn="GLOBAL/LAYOUT_EVENT",Gn="GLOBAL/PREPARE_SIGNAL",Bn="GLOBAL/OPEN_LINK",Un="GLOBAL/SET_PARTNER_VALIDATION_STATUS",zn="GLOBAL/SET_GLOBAL_OFFER_DATA_CART",qn="GLOBAL/LAUNCH_CHILD_LAYOUT",Kn="GLOBAL/CART_ITEM_EVENT/INITIATE",Wn="GLOBAL/CART_ITEM_EVENT/RESPONSE",Yn="OVERLAY/DISMISS_OVERLAY",Jn="plugin-overlay",Xn="GLOBAL/TRIGGER_ACTION";const Qn="ERROR/REPORT",ei="GLOBAL/REGISTER_FORM_FIELD",ti="GLOBAL/UNREGISTER_FORM_FIELD",ni="GLOBAL/SET_FORM_FIELD_VALUE",ii="GLOBAL/SET_FORM_FIELD_TOUCHED",ai="GLOBAL/VALIDATE_FORM_FIELDS";function oi(e){const{formKey:t,fieldKey:n}=null!=e?e:{};return _n(t)&&_n(n)}const ri={RAISE_METRIC:En,PREPARE_SIGNAL:Gn,OFFER_ENGAGEMENT:Ln,RAISE_SIGNAL:kn,OFFER_LIFECYCLE:Vn,SEND_PARTNER:jn,SET_CUSTOM_STATE:Pn,SET_DOMAIN_STATE:$n,LAYOUT_EVENT:Zn,OPEN_LINK:Bn,SET_PARTNER_VALIDATION_STATUS:Un,SET_GLOBAL_OFFER_DATA_CART:zn,LAUNCH_CHILD_LAYOUT:qn,INITIATE_CART_ITEM_EVENT:Kn,CART_ITEM_RESPONSE:Wn,DISMISS_OVERLAY:Yn,TRIGGER_ACTION:Xn,REGISTER_FORM_FIELD:ei,UNREGISTER_FORM_FIELD:ti,SET_FORM_FIELD_VALUE:ni,SET_FORM_FIELD_TOUCHED:ii,VALIDATE_FORM_FIELDS:ai,REPORT_ERROR:Qn},li="CHILD_LAYOUT/DISPATCH_BEHAVIOR",si="CHILD_LAYOUT/STATE_SYNC",di="CHILD_LAYOUT/READY",ci="CHILD_LAYOUT/REQUEST_DEVICE_PAY";function ui(e){return _n(e)&&!e.includes("%^")}const pi={[Xn]:function(e){const{action:t}=null!=e?e:{};return"object"==typeof t&&null!==t},[Pn]:function(e){const{key:t,value:n}=null!=e?e:{};return _n(t)&&"number"==typeof n&&isFinite(n)},[ei]:function(e){const{formKey:t,fieldKey:n,defaultValue:i,validations:a}=null!=e?e:{};return _n(t)&&_n(n)&&"string"==typeof i&&Array.isArray(a)},[ti]:oi,[ni]:function(e){const{formKey:t,fieldKey:n,value:i,validate:a}=null!=e?e:{};return _n(t)&&_n(n)&&"string"==typeof i&&"boolean"==typeof a},[ii]:oi,[ai]:function(e){const{entries:t}=null!=e?e:{};return Array.isArray(t)&&t.every((e=>"string"==typeof e))}};function hi(e){return"object"==typeof e&&null!==e&&1===e.version&&"payload"in e}const fi="stage"===(vi="undefined"==typeof __environment?void 0:__environment.ENVIRONMENT)||"uat"===vi||"prod"===vi;var vi;const yi="CONTINUOUS_CHILD/READY",mi="CONTINUOUS_CHILD/PRESENTATION",Ci="CONTINUOUS_CHILD/APPLIED",gi="CONTINUOUS_CHILD/REQUEST",bi="CONTINUOUS_CHILD/EXPOSURE";function Ii(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const Ei=e=>"string"==typeof e&&e.trim().length>0&&e.length<=256;function Li(e){return Ii(e)&&Ei(e.sessionId)&&Ei(e.creativeInstanceGuid)&&(void 0===e.childInstanceGuid||Ei(e.childInstanceGuid))&&Number.isSafeInteger(e.revision)&&Number(e.revision)>0&&Number.isSafeInteger(e.position)&&Number(e.position)>=0}function Di(e,t){return e.sessionId===t.sessionId&&e.revision===t.revision&&e.position===t.position&&e.creativeInstanceGuid===t.creativeInstanceGuid&&e.childInstanceGuid===t.childInstanceGuid}const wi="data-open-in-app",Si="data-click-signal-context";function Ai(e,t){function n(e){var n;if(!(e.target&&e.target instanceof HTMLElement))return;const i=null===(n=e.target)||void 0===n?void 0:n.closest("a");if(i){const n=i.getAttribute("href"),a=i.getAttribute(Si);if(a&&t({type:kn,payload:{name:"SignalUserInteraction",action:"Click",context:a}}),n){e.preventDefault();let a="newTab";i.hasAttribute(wi)?a="inApp":"_top"===i.getAttribute("target")&&(a="self"),t({type:Bn,payload:{url:n,urlBehaviour:a}})}}}o((()=>null!==e?(e.addEventListener("click",n),()=>{e.removeEventListener("click",n)}):()=>{}),[e])}function xi(){const e=r(null);return o((()=>{const t=t=>{"Tab"===t.key&&Ti(t,e)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[e]),e}const Ti=(e,t)=>{var n;const i=null===(n=t.current)||void 0===n?void 0:n.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!i)return;const a=i[0],o=i[i.length-1],{activeElement:r}=window.document;if(1!==i.length)return r===a&&e.shiftKey?(o&&o.focus(),void e.preventDefault()):r!==o||e.shiftKey?void 0:(a&&a.focus(),void e.preventDefault());e.preventDefault()},Oi="both",Mi="linear",ki={hasOverflow:!1,atStart:!0,atEnd:!0};function Vi(e,t){if("horizontal"===t){const t=e.scrollWidth-e.clientWidth;return{hasOverflow:t>0,atStart:e.scrollLeft<=0,atEnd:e.scrollLeft>=t}}const n=function(e){if("undefined"==typeof window)return e.scrollHeight;const t=window.getComputedStyle(e),n=t.webkitLineClamp;if(!n||"none"===n||"normal"===n)return e.scrollHeight;const i=e.style,a={webkitLineClamp:i.webkitLineClamp,display:i.display,overflow:i.overflow,maxHeight:i.maxHeight};i.setProperty("-webkit-line-clamp","unset"),i.display="block",i.overflow="visible",i.maxHeight="none";const o=e.scrollHeight;return i.webkitLineClamp=a.webkitLineClamp,i.display=a.display,i.overflow=a.overflow,i.maxHeight=a.maxHeight,o}(e),i=n-e.clientHeight;return{hasOverflow:i>0,atStart:e.scrollTop<=0,atEnd:e.scrollTop>=i}}function Hi(e,t){const n=r(null),[i,a]=l(null),[c,u]=l(ki),p=s((e=>{n.current=e,a(e)}),[]),h=!!t;o((()=>{if(!i||!h)return;const t=()=>u(Vi(i,e));let n;return t(),i.addEventListener("scroll",t,{passive:!0}),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(i),Array.from(i.children).forEach((e=>null==n?void 0:n.observe(e)))),()=>{i.removeEventListener("scroll",t),null==n||n.disconnect()}}),[i,e,h]);const f=d((()=>function(e,t,{hasOverflow:n,atStart:i,atEnd:a}){var o,r,l,s,d,c;if(!t||!n)return{};const u=null!==(o=t.edges)&&void 0!==o?o:Oi,p=null!==(r=t.easing)&&void 0!==r?r:Mi,h=null!==(l=t.size)&&void 0!==l?l:36,f=null!==(s=t.startSize)&&void 0!==s?s:h,v=null!==(d=t.endSize)&&void 0!==d?d:h,y=("start"===u||"both"===u)&&!i,m=("end"===u||"both"===u)&&!a;if(!y&&!m)return{};const C="horizontal"===e?"to right":"to bottom",g=`linear-gradient(${C},${I=y?function(e,t){switch(e){case"ease-in":return["transparent 0",`transparent ${.3*t}px`,`black ${t}px`];case"ease-out":return["transparent 0",`black ${.7*t}px`,`black ${t}px`];case"ease-in-out":return["transparent 0",`rgba(0,0,0,0.5) ${.5*t}px`,`black ${t}px`];default:return["transparent 0",`black ${t}px`]}}(p,f):["black 0"],E=m?function(e,t){switch(e){case"ease-in":return[`black calc(100% - ${t}px)`,`transparent calc(100% - ${.3*t}px)`,"transparent 100%"];case"ease-out":return[`black calc(100% - ${t}px)`,`black calc(100% - ${.7*t}px)`,"transparent 100%"];case"ease-in-out":return[`black calc(100% - ${t}px)`,`rgba(0,0,0,0.5) calc(100% - ${.5*t}px)`,"transparent 100%"];default:return[`black calc(100% - ${t}px)`,"transparent 100%"]}}(p,v):["black 100%"],[...I,...E].join(",")})`,b=null!==(c=t.clip)&&void 0!==c?c:"border-box";var I,E;return{maskImage:g,WebkitMaskImage:g,maskMode:"alpha",WebkitMaskMode:"alpha",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskClip:b,WebkitMaskClip:b}}(e,t,c)),[e,t,c]);return Object.assign({ref:n,setRef:p,maskStyle:f},c)}function _i(e){var t,n,i,a,o,r;return null!==(r=null===(o=null===(a=null===(i=null===(n=null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.own)||void 0===n?void 0:n[0])||void 0===i?void 0:i.default)||void 0===a?void 0:a.container)||void 0===o?void 0:o.scrollMask)&&void 0!==r?r:null}const Pi=G(z(1)),Ri=Z(z(0)),Ni="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DISPLAY_ERRORS:"true",REPORT_RENDER_ERRORS:"true",USE_MEDIA_QUERY_NESTING:"true"};function Fi(e,t){return t?"false"!==Ni.USE_MEDIA_QUERY_NESTING?`${n=e,`@media (min-width: ${n}px)`} {${t}}`:t.includes(" & ")?`#app-container.${bn(e)} ${t.trim()}`:`#app-container.${bn(e)} & {${t}}`:"";var n}const ji={hovered:":hover",pressed:":active",focussed:":focus",disabled:":disabled"},$i={selected:'[data-selected="true"]',errored:'[data-errored="true"]'};function Zi(e){return function(e){return Object.keys(ji).indexOf(e)>-1}(e)?ji[e]:function(e){return Object.keys($i).indexOf(e)>-1}(e)?$i[e]:""}const Gi={container:{justifyContent:"justify-content",alignItems:"align-items",shadow:"box-shadow",gap:"gap",overflow:"overflow",scrollMask:"",blur:"filter",opacity:"opacity"},text:{textColor:"color",fontSize:"font-size",fontFamily:"font-family",fontWeight:"font-weight",fontStyle:"font-style",lineHeight:"line-height",lineLimit:"",letterSpacing:"letter-spacing",baselineTextAlign:"vertical-align",horizontalTextAlign:"text-align",textDecoration:"text-decoration",textTransform:"text-transform"},background:{backgroundColor:"background-color",backgroundImage:""},dimension:{width:"width",maxWidth:"max-width",minWidth:"min-width",height:"height",maxHeight:"max-height",minHeight:"min-height",rotateZ:"transform"},flexChild:{alignSelf:"align-self",weight:"flex",order:"order"},spacing:{margin:"margin",padding:"padding",offset:""},border:{borderColor:"border-color",borderRadius:"border-radius",borderWidth:"border-width",borderStyle:"border-style"}};function Bi(e,t){if(!Gi[e]||!Gi[e][t])throw new Error(`No CSS property mapping exists for styling property: ${e}.${t.toString()}`);return Gi[e][t]}function Ui(e,t){return n=>t(...Object.keys(e).map((t=>e[t](n[t]))))}function zi(...e){let t="";const n=(...e)=>e.reduce(((e,n)=>(e&&n?e=e+t+n:n&&(e=n),e)),"");return 1===e.length?(t=e[0],n):n(...e)}function qi(e,t){return`${e}:${t};`}function Ki(e){return function(e,t){return`@media (${e}) {${t}}\n`}("prefers-color-scheme: dark",e)}class Wi extends Error{constructor(e,t){super(`Invalid styling value '${t}': ${e}.`),this.name=this.constructor.name}}function Yi(e,t){if(null===t)return!1;const n=("function"==typeof e?[e]:e).map((e=>e(t))).reduce(((e,t)=>t?e?e+=`, ${t}`:t:e),void 0);if(n)throw new Wi(n,JSON.stringify(t));return!0}function Ji(e){if(isNaN(e)||"number"!=typeof e&&"string"!=typeof e)return"value must be a number"}function Xi(e){return t=>{const n=t&&"symbol"!=typeof t?t.toString():t;if(!(e.indexOf(n)>=0))return`value must be one of [${e.join(",")}]`}}function Qi(e){if(null==e||""===e)return"value must not be omitted"}function ea(e){const t=new RegExp(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{3})$/);if("string"!=typeof e||!t.test(e))return"value must be a valid hex color"}function ta(e){const t=new RegExp(/^(?:(?:data:image\/[^;]+;base64[^"]+)|(?:(?:https?:)?\/\/[a-zA-Z\d-]+(?:\.[a-zA-Z\d-]+)*(?::\d{1,10})?)?(?:\.\.?\/?)*\/(?:[a-zA-Z\d\-_]+\/)*[a-zA-Z\d\-_]+\.[a-zA-Z\d]{2,6}(?:\?(?:.+=.+&?)*)?)(?:#.+)?$/);if("string"!=typeof e||!t.test(e))return"value must be a valid CSS URL string"}function na(e){if(null!=e&&""!==e)return"value must not be specified"}function ia(e){return t=>{if(t&&"object"==typeof t&&"value"in t&&"type"in t&&"string"==typeof t.type&&function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t.type)&&"function"==typeof e[t.type]){const n=e[t.type](t.value);if(!n)return;return`object must have valid "value" for type: ${t.type}: ${n}`}return`value must be an object that has a "type" property that matches one of: [${Object.keys(e).join(", ")}] and a "value" property`}}function aa(...e){return t=>{if("string"==typeof t){const n=t.split(" ");if(n.length>1&&e.indexOf(n.length)>-1){if(!n.reduce(((e,t)=>e||Ji(t)),void 0))return}}return`value must be a space separated list of numbers, of one of the following lengths: ${e.join(" ,")}`}}function oa(e,t){return n=>{const i=e(n),a=t(n);if(i&&a)return`one of these must be true: ${i} -OR- ${a}`}}function ra(e){if("string"!=typeof e)return"value must be a string"}const la=q(Object);function sa(e){const t=Object.entries(e);return n=>la(n)&&!Array.isArray(n)?t.reduce(((e,[t,i])=>e||i(n[t])),void 0):`Input value (${e}) must be an object`}function da(e){if("number"!=typeof e&&"string"!=typeof e||isNaN(e)||!(e>=0))return"value must be a positive number"}function ca(e,t,n){return Yi(Ji,n)?qi(Bi(e,t),`${n}`):""}function ua(e){return(t,n,i)=>Yi(Xi(Object.keys(e)),i)?qi(Bi(t,n),`${e[i]}`):""}function pa(e){return Yi(Qi,e)?Ui({light:t(ta,!1),dark:t(oa(na,ta),!0)},zi("\n "))(e):"";function t(e,t){return n=>{if(Yi(e,n)&&n){const e=qi("background-image",`url("${n}")`);return t?Ki(e):e}return""}}}function ha(e){const t={crop:"auto",fit:"contain",fill:"cover"};return"string"==typeof e&&(e=e.toLowerCase()),Yi(oa(na,Xi(Object.keys(t))),e)&&e?qi("background-size",t[e]):""}const fa=T([[$("top-left"),K("top left")],[$("top-right"),K("top right")],[$("bottom-left"),K("bottom left")],[$("bottom-right"),K("bottom right")],[M,_]]);function va(e){const t="string"==typeof e?e.toLowerCase():e;return Yi(oa(na,Xi(["top","right","bottom","left","center","top-left","top-right","bottom-left","bottom-right"])),t)&&t?qi("background-position",fa(t)):""}function ya(e,t,n){return Yi(oa(Ji,aa(2,3,4)),n)?qi(Bi(e,t),n.toString().split(" ").map((e=>`${e}px`)).join(" ")):""}function ma(e){return(t,n,i)=>Yi(ia({fit:Xi(e),percentage:Ji,fixed:Ji}),i)?qi(Bi(t,n),Ca(i)):""}function Ca(e){const t={"wrap-content":"fit-content","fit-width":"100%","fit-height":"100%"};switch(e.type){case"fixed":return`${e.value}px`;case"percentage":return`${e.value}%`;case"fit":return t[e.value]}}const ga=sa({light:ea,dark:oa(na,ea)});function ba(e,t,n){return i=>{if(i){const a=qi(Bi(e,t),Ea(String(i)));return n?Ki(a):a}return""}}function Ia(e,t,n){return Yi(ga,n)?Ui({light:ba(e,t,!1),dark:ba(e,t,!0)},zi("\n "))(n):""}function Ea(e){const t=e.toUpperCase();switch(t.length){case 5:return`#${t.substring(2,5)}${t[1]}`;case 9:return`#${t.substring(3,9)}${t[1]}${t[2]}`;default:return t.toUpperCase()}}const La=sa({offsetX:oa(na,Ji),offsetY:oa(na,Ji),blurRadius:oa(na,Ji),spreadRadius:oa(na,Ji),color:ga}),Da=e=>t=>null!=t?String(t):e,wa=F(P(Y,"px"),Da("0")),Sa=e=>t=>"string"==typeof t?e(t):t,Aa=F(Sa(P(Y,"px")),Da(void 0)),xa=F(Sa(Ea),z("dark"));function Ta(e,t,n){return qi(e,Ui({offsetX:wa,offsetY:wa,blurRadius:t.spreadRadius?wa:Aa,spreadRadius:Aa,color:n},zi(" "))(t))}const Oa=sa({edges:oa(na,Xi(["start","end","both"])),size:oa(na,Ji),startSize:oa(na,Ji),endSize:oa(na,Ji),easing:oa(na,Xi(["linear","ease-in","ease-out","ease-in-out"])),clip:oa(na,Xi(["border-box","padding-box","content-box"]))});const Ma={center:"center","flex-end":"flex-end","flex-start":"flex-start",stretch:"stretch"},ka={container:{justifyContent:ua(Ma),alignItems:ua(Ma),shadow:function(e,t,n){var i;if(Yi(La,n)){const a=Bi(e,t);return zi("\n")(Ta(a,n,F(Ea,W("#80000000","light"))),(null===(i=n.color)||void 0===i?void 0:i.dark)?Ki(Ta(a,n,xa)):"")}return""},gap:ya,overflow:ua({hidden:"hidden",visible:"visible"}),scrollMask:function(e,t,n){return null==n||Yi(Oa,n),""},blur:function(e,t,n){return Yi(da,n)?qi(Bi(e,t),`blur(${n.toString()}px)`):""},opacity:ca},text:{textColor:Ia,fontSize:ya,fontFamily:function(e,t,n){return Yi(ra,n)?qi(Bi(e,t),(i=`${n}`,i.replace(/['();{}@:[\]!/=]/g,"")).split(",").map(((e,t)=>{const n=0===t?e:e.trim();if(n.includes(" ")){const e=n.startsWith('"')?"":'"',t=n.endsWith('"')?"":'"';return`${e}${n}${t}`}return n})).join(",")):"";var i},fontWeight:ua({100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900}),fontStyle:ua({normal:"normal",italic:"italic"}),lineHeight:ya,lineLimit:function(e,t,n){return Yi(Ji,n)?`\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: ${n};\n line-clamp: ${n}; \n -webkit-box-orient: vertical;\n `:""},letterSpacing:ya,baselineTextAlign:ua({super:"super",sub:"sub",baseline:"baseline"}),horizontalTextAlign:ua({left:"left",right:"right",center:"center",start:"start",end:"end",justify:"justify"}),textDecoration:ua({underline:"underline","strike-through":"line-through",none:"none"}),textTransform:ua({capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",none:"none"})},background:{backgroundColor:Ia,backgroundImage:function(e,t,n){return Yi(Qi,n)?Ui({url:pa,position:va,scale:ha},zi)(n):""}},dimension:{width:ma(["wrap-content","fit-width"]),maxWidth:ya,minWidth:ya,height:ma(["wrap-content","fit-height"]),maxHeight:ya,minHeight:ya,rotateZ:(Va="Z",(e,t,n)=>{const i=`rotate${Va}`;return Yi(Ji,n)?qi(Bi(e,t),`${i}(${n.toString()}deg)`):""})},flexChild:{alignSelf:ua(Ma),weight:ca,order:ca},spacing:{margin:ya,padding:ya,offset:function(e,t,n){return Yi(aa(2),n)?`transform:translate(${n.split(" ").join("px, ")}px);`:""}},border:{borderColor:Ia,borderRadius:ya,borderWidth:ya,borderStyle:ua({solid:"solid",dashed:"dashed"})}};var Va;function Ha(e){return Object.keys(e).reduce(((t,n)=>(n&&e[n]&&Object.keys(e[n]).forEach((i=>{if(!ka[n])throw new Error(`No styling transformers exist for styling category key: ${n}`);const a=ka[n][i];if(!a)throw new Error(`No styling transformer exists for property: ${n}.${i.toString()}`);try{t+=a(n,i,e[n][i])}catch(e){throw e&&"object"==typeof e&&"message"in e&&(e.message=`Error parsing styling key ${n}.${i.toString()}: ${e.message}`),e}})),t)),"")}const _a="FAILED_TEMPLATING_DATA",Pa="UNRESOLVED_FORM_VALIDATION_TARGET",Ra=new Map;function Na(e){return String.fromCharCode(97+e)}function Fa(e,t,n){const i=`${e||qt.pluginId}-${void 0!==t?String(t):"outer"}`,a=Ra.get(i);if(a&&a.sheet.container.isConnected)return a;const o=function(e,t){const n={key:void 0!==e?`inner-css-${Na(e)}`:"outer-css",container:t};return t&&t.parentElement&&(n.container=t.parentElement),wt(n)}(t,n);return Ra.set(i,o),o}function ja(e,t,n){return Fa(e,t,n).css}function $a(e,t,n){return Fa(e,t,n).cx}const Za="%%%OWN_CLASS_REF%%%",Ga={placeholderText:"::placeholder"},Ba=J(((e,t,n,i)=>`${String(e)}-${t}-${n}`),Ua);function Ua(e,t,n,i){const a=ja(t,n,i);let o=1;return function t(n,i=!1){var r;if("string"==typeof n){const e={scopeClass:n};return t.bind(e)}const l=n,s=this.scopeClass,d=Object.entries(null!==(r=l.elements)&&void 0!==r?r:{});try{const t=d.reduce(((t,[n,a])=>Object.assign(Object.assign({},t),{[n]:za(a,s,i,String(n),e)})),{}),n=Object.entries(t),r=i?"parent-"+o++:"",l=function(e){return"own"in e&&"string"==typeof e.own&&e.own.length>0}(t)?a(t.own):"";return n.reduce(((e,[t,n=""])=>{if("own"===t)return e;const i=n.replace(Za,r);return Object.assign(Object.assign({},e),{[t]:i?a(i):""})}),{own:`${l}${l&&r?" ":""}${r}`})}catch(e){const t=e;throw t.code="FAILED_PARSING_STYLES",t}}.bind({})}function za(e,t,n,i,a){return e.map(function(e,t,n){var i;const a=null!==(i=Ga[n])&&void 0!==i?i:"";return i=>Object.entries(i).map((([i,o])=>{const r=o?Ha(o):"";switch(!0){case"default"===i:return r?a?`\n &${a} {\n${r}\n}\n`:`\n${r}\n`:"";case Boolean(e):return`\n .${e}${Zi(i)} &${a} {\n${r}\n}\n`;case t&&"own"!==n:return`\n .${Za}${Zi(i)} &${a} {\n${r}\n}\n`;default:return`\n &${Zi(i)}${a} {\n${r}\n}\n`}})).join("")}(t,n,i)).reduce(((e,t,n)=>{const i=a[n];return void 0!==i?e+(0===n?t:`${Fi(i,t)}\n`):e}),"")}const qa=c(K(void 0)),Ka=()=>u(qa),Wa=c(null);function Ya(e,t){var n;const i=u(Wa);return i&&null!==(n=t(i))&&void 0!==n?n:e}const Ja=c((()=>{throw Error("Node Mapper Context does not have a mapper. Use the NodeMapperProvider with the default nodeMapper as a value before you consume this mapper")})),Xa=Ja.Consumer,Qa=()=>u(Ja),eo=t=>e(Ja.Provider,{value:(e,n,i,a)=>t.value(e,null!=n?n:t.overrides,i,a),children:t.children}),to=c(null),no=()=>u(to),io=c({get(){throw Error("Offer context has not been set")}}),ao=t=>e(io.Provider,{value:{get:()=>t.context},children:t.children}),oo=()=>u(io).get(),ro=()=>{try{return u(io).get().creative.copy}catch(e){return}},lo=c((()=>{})),so=new RegExp("<a ([^>]*>((?!</a>).)*</a>)","g"),co=F(ee,te),uo=Q({url:co,title:co});function po(e,t,n){return t.reduce(((t,n)=>{const i=n.indexOf("["),a=-1===i?n.slice(0,-1):n.slice(0,i),o=-1===i?"":n.slice(i+1,-1),r="append"===a?[o]:o?o.split(","):[];if(!a)throw new Error(fo(e,"This Meta Attribute could not be parsed."));return function(e,t,n,i){switch(t){case"openLinks":return function(e,t,n){ho(t,e,"openLinks",1,2);const i=vo(t,e,0,(e=>"InApp"===e?"InApp":null),"openLinks meta attribute can only open InApp"),a=yo(t,1,(e=>"string"==typeof e&&e.length?e:null));if("InApp"===i)return n.replace(so,((e,t)=>`<a ${wi} ${a?`${Si}="${a}" `:""}${t}`));return n}(e,n,i);case"sliceText":return function(e,t,n){ho(t,e,"sliceText",2,2);const i=vo(t,e,0,(e=>"Chars"===e?"Chars":null),"sliceText meta attribute can only slice by Chars"),a=vo(t,e,1,(e=>{const t=Number(e);return!Number.isNaN(t)&&t>=0?t:null}),"sliceText meta attribute second argument must be a positive number");if("Chars"===i)return function(e,t){const n=new RegExp(">.*(?:</a>)");return e.startsWith("<a")?e.replace(n,(e=>e.slice(0,-4).slice(0,t+1)+"</a>")):e.slice(0,t)}(n,a);throw Error(fo(e,`Unknown "SliceBy" value. ${i}`))}(e,n,i);case"timerFormat":return function(e,t,n){var i;ho(t,e,"timerFormat",1,1);const a=null!==(i=t[0])&&void 0!==i?i:"";return function(e,t){const n=/(?:^|[^\\])hh?/.test(t),i=/(?:^|[^\\])mm?/.test(t),a=n?Math.floor(e/3600):0,o=e-3600*a,r=i?n?Math.floor(o/60):Math.floor(e/60):0,l=i?o-60*r:n?o:e,s=[[/hh/,String(a).padStart(2,"0")],[/h/,String(a)],[/mm/,String(r).padStart(2,"0")],[/m/,String(r)],[/ss/,String(l).padStart(2,"0")],[/s/,String(l)]];let d="",c=0;for(;c<t.length;){if("\\"===t[c]&&c+1<t.length){d+=t[c+1],c+=2;continue}let e=!1;for(const[n,i]of s){const a=t.slice(c).match(n);if(a&&0===a.index){d+=i,c+=a[0].length,e=!0;break}}e||(d+=t[c],c++)}return d}(Math.max(0,Math.floor(Number(n)||0)),a)}(e,n,i);case"append":return function(e,t,n){if(1!==t.length)throw new Error(fo(e,`append meta attribute takes 1 argument; received ${t.length}.`));return n+t[0]}(e,n,i);default:throw new Error(fo(e,`Unknown Meta Attribute '${t}'.`))}}(e,a,r,t)}),n)}function ho(e,t,n,i,a){const o=new Error(fo(t,`${n} meta attribute takes ${i!=a?`between ${i} and ${a}`:i} ${1===(a||i)?"argument":"arguments"}; received ${e.length}.`));if(a&&(e.length<i||e.length>a))throw o;if(!a&&e.length!==i)throw o}function fo(e,t){return`Malformed Meta Attribute: '${e}' - ${t}`}function vo(e,t,n,i,a){const o=yo(e,n,i);if(null!==o)return o;throw Error(fo(t,a||`Could not parse meta attribute argument at index ${n} from arguments ${JSON.stringify(e)}`))}function yo(e,t,n){return n(e[t])}const mo="DATA",Co="STATE",go="ATTRIBUTE",bo=new RegExp(`^(${`${mo}|${Co}|${go}`})\\.`),Io=new RegExp(`^${go}`),Eo=new RegExp(`%\\^(?:(?:${mo}|${Co})\\.[a-zA-Z0-9]+[a-zA-Z0-9\\.]*|${go}\\.[a-zA-Z0-9][a-zA-Z0-9\\._-]*)(?:\\:(?:append\\[[^\\]\\[|:]*\\]|[a-zA-Z0-9]+\\[[a-zA-Z0-9\\.,:\\\\ -]*\\]))*(?:\\|.*?)?\\^%`,"g");function Lo(e){const t=`${go}.`;if(!e.startsWith(t))return e;return`${t}${e.slice(t.length).toLowerCase().replace(/^rokt\./,"").replace(/[_-]/g,"")}`}function Do(e){const t=new Map,n=new Map,i=new Set;for(const[a,o]of e){if("string"!=typeof o)continue;if(!a.startsWith(`${go}.`))continue;const e=Lo(a),r=n.get(e);void 0===r||r===o?(n.set(e,o),e!==a&&t.set(e,o)):i.add(e)}for(const e of i)t.delete(e);return t}const wo=Symbol("invalid");function So(e,t="creativeCopy"){const n=Ao({data:e},t),i=new Map;return function e(t,n){if("string"!=typeof t){const i=Ao(t,n,this.dataMap),a="attribute"in t;return e.bind({dataMap:i,attributeAliases:a?Do(i):this.attributeAliases,hasAttributeData:this.hasAttributeData||a})}let i=!1;const a=t,o=ie(N(2,-2),ae("|"),(e=>re(((e,t)=>{var n;let i;if(bo.test(t)){const a=function(e){const t=[];let n="",i=0;for(const a of e)"["===a?i++:"]"===a&&i--,":"===a&&0===i?(t.push(n),n=""):n+=a;return t.push(n),t}(t),o=a[0];if(o){if(i=null!==(n=this.dataMap.get(o))&&void 0!==n?n:this.attributeAliases.get(Lo(o)),i&&i===wo)throw new sn(_a,`Invalid template key referenced: "${t}" is an object but expected a string, boolean, number or empty. \nDid you mean to reference a child property of ${t}?`);if(a.length>1&&i)try{i=po(o,a.slice(1),i)}catch(e){throw new sn(_a,`Failed to apply meta attributes. ${function(e){return null!=e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}(e)}`)}}return i?le({provided:!0,value:i}):e}return le({provided:!0,value:t})}),{provided:!1,value:""},e))),r=oe(Eo,(e=>{const t=Io.test(e.slice(2));if(t&&!this.hasAttributeData)return e;const n=o(e);return n.provided?n.value:t?e:(i=!0,n.value)}),a);return!1===i?r:""}.bind({dataMap:n,attributeAliases:i,hasAttributeData:!1})}function Ao(e,t,n){const i=new Map(n);return"data"in e&&a(e.data,`${mo}${t?"."+t:""}`),"state"in e&&a(e.state,`${Co}${t?"."+t:""}`),"attribute"in e&&a(e.attribute,`${go}${t?"."+t:""}`),i;function a(e,t){"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null==e?i.set(t,(null==e?void 0:e.toString())||""):i.set(t,wo),e&&"object"==typeof e&&ne(((e,n)=>a(e,`${t}.${n}`)),e)}}const xo=c(So({})),To=xo.Consumer,Oo=xo.Provider,Mo=()=>u(xo),ko=c(null),Vo=ko.Provider,Ho=c("OUTER"),_o=()=>"VARIANT"===u(Ho),Po=c(void 0),Ro=()=>u(Po);var No,Fo,jo,$o,Zo,Go,Bo,Uo=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{s(i.next(e))}catch(e){o(e)}}function l(e){try{s(i.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,l)}s((i=i.apply(e,t||[])).next())}))},zo=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},qo=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n};class Ko{constructor(e,t,n,i,a,o,r,l){No.set(this,void 0),Fo.set(this,void 0),jo.set(this,new Set),$o.set(this,void 0),Zo.set(this,void 0),Go.set(this,void 0),Bo.set(this,void 0),l&&(this.launchContinuousChild=e=>l.launch(n,e),this.registerContinuousResponseHandler=e=>{const t=l.register(n,e),i=()=>{t(),zo(this,jo,"f").delete(i)};return zo(this,jo,"f").add(i),i}),qo(this,No,se(e.subscribe.bind(e),[n]),"f"),qo(this,Fo,se(e.dispatch.bind(e),[n]),"f"),qo(this,$o,t,"f"),qo(this,Zo,i,"f"),qo(this,Go,a,"f"),qo(this,Bo,o,"f"),this.scrollHostToViewportOffset=r,this.onGlobalStateChange=this.onGlobalStateChange.bind(this),this.onInteractivityChange=this.onInteractivityChange.bind(this),this.onEvent=this.onEvent.bind(this),this.globalDispatch=this.globalDispatch.bind(this),this.createChildPlugin=this.createChildPlugin.bind(this)}onGlobalStateChange(e){const t=zo(this,No,"f").call(this,e),n=()=>{t(),zo(this,jo,"f").delete(n)};return zo(this,jo,"f").add(n),n}onInteractivityChange(e){return zo(this,Zo,"f").subscribe(e)}onEvent(...e){const t=e.reduce(((e,t)=>{if("partner"===t.source||"*"===t.source){const n=zo(this,Go,"f").call(this,t.name).subscribe(t.callback);return[...e,()=>n.unsubscribe()]}return e}),[]),n=()=>{t.forEach((e=>{e()})),zo(this,jo,"f").delete(n)};return zo(this,jo,"f").add(n),n}globalDispatch(e){zo(this,Fo,"f").call(this,e)}dispose(){zo(this,jo,"f").forEach((e=>e())),qo(this,jo,new Set,"f"),zo(this,Zo,"f").clear()}createChildPlugin(e){return"dcui-child"===e.name&&zo(this,Bo,"f")&&e.config?zo(this,$o,"f").call(this,Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{fonts:zo(this,Bo,"f").call(this)})})):zo(this,$o,"f").call(this,e)}}No=new WeakMap,Fo=new WeakMap,jo=new WeakMap,$o=new WeakMap,Zo=new WeakMap,Go=new WeakMap,Bo=new WeakMap;class Wo{onGlobalStateChange(){return()=>{}}onInteractivityChange(){return()=>{}}onEvent(){return()=>{}}globalDispatch(){}dispose(){}createChildPlugin(){return{close:()=>Uo(this,void 0,void 0,(function*(){})),onClose:()=>Uo(this,void 0,void 0,(function*(){})),putConfig:()=>Uo(this,void 0,void 0,(function*(){})),send:()=>Uo(this,void 0,void 0,(function*(){})),onEvent:()=>({subscribe:()=>({unsubscribe:()=>{}})})}}}var Yo,Jo,Xo=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n},Qo=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class er{constructor(e){Yo.set(this,void 0),Jo.set(this,new Set),Xo(this,Yo,e,"f")}subscribe(e){return Qo(this,Jo,"f").add(e),!0===e(Qo(this,Yo,"f"))&&Qo(this,Jo,"f").delete(e),()=>{Qo(this,Jo,"f").delete(e)}}publish(e){Xo(this,Yo,e,"f"),Qo(this,Jo,"f").forEach((e=>{!0===e(Qo(this,Yo,"f"))&&Qo(this,Jo,"f").delete(e)}))}clear(){Qo(this,Jo,"f").clear()}}Yo=new WeakMap,Jo=new WeakMap;var tr=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},nr=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n};const ir="breakpoint-0px";class ar{constructor(){this.logger=()=>{}}withAppFactory(e){return this.appFactory=e,this}withLogger(e){return this.logger=e,this}withGatewayFactory(e){return this.gatewayFactory=e,this}build(){var e,t,n,i,a,o,r,l,s,d,c,u,p,h,f,v,y,m,C,g,b,I,E,L,D,w,S,A;const x=this.appFactory,T=this.logger,O=null!==(e=this.gatewayFactory)&&void 0!==e?e:()=>new Wo;return A=class extends HTMLElement{static get observedAttributes(){return["visible","interactivity","active-breakpoint","measurement-occluded"]}constructor(){super(),t.add(this),n.set(this,(()=>null)),i.set(this,(()=>null)),a.set(this,void 0),o.set(this,!1),r.set(this,!1),l.set(this,(()=>null)),s.set(this,!1),d.set(this,null),c.set(this,null),u.set(this,null),p.set(this,null),h.set(this,null),f.set(this,null),v.set(this,!1),y.set(this,null),m.set(this,null);const e=this.attachShadow({mode:"open"});nr(this,a,document.createElement("div"),"f"),tr(this,a,"f").id="app-container",tr(this,a,"f").classList.add("default"),e.appendChild(tr(this,a,"f"))}attributeChangedCallback(e,a,o){if(o!==a)switch(e){case"visible":tr(this,n,"f").call(this,"true"===o);break;case"interactivity":"ENABLED"!==o&&"DISABLED"!==o||tr(this,i,"f").call(this,o);break;case"measurement-occluded":tr(this,l,"f").call(this);break;case"active-breakpoint":tr(this,t,"m",C).call(this,o,a)}}makeInteractivityUpdateHandler(e){nr(this,i,(t=>{e.publish(t)}),"f")}makeVisbilityUpdateHandler(e,i,a){const o="true"===this.getAttribute("visible"),s=this.getAttribute("slotInstanceGuid");if(nr(this,r,"true"===this.getAttribute("continuous-measurement"),"f"),tr(this,r,"f")){let o=!1;const r=()=>{const n="true"===this.getAttribute("visible"),r="true"===this.getAttribute("measurement-occluded");if(n&&!o&&(o=!0,0===e&&a.globalDispatch({type:Vn,payload:{event:"Interactive"}}),s&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:s}})),!n||r)return tr(this,t,"m",E).call(this,i,a),void tr(this,t,"m",I).call(this);i&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:i}}),i&&tr(this,t,"m",S).call(this,i,a)};return nr(this,l,r,"f"),nr(this,n,r,"f"),void r()}nr(this,n,(o=>{o?(nr(this,n,(()=>null),"f"),0===e&&a.globalDispatch({type:Vn,payload:{event:"Interactive"}}),i&&(a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:i}}),tr(this,t,"m",S).call(this,i,a)),s&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:s}})):tr(this,t,"m",I).call(this)}),"f"),tr(this,n,"f").call(this,o)}getOfferPositionAttr(){const e=this.getAttribute("offerPositionIndex"),t=Number(e);return(null==e||isNaN(t)||t<0)&&M(`Offer position attribute (${e}) is invalid`),t}getJSONAttr(e,t="{}"){const n=this.getAttribute(e);try{return JSON.parse(null!=n?n:t)}catch(t){M(`Invalid JSON attribute ${e}: ${n}`)}}disconnectedCallback(){tr(this,t,"m",I).call(this)}connectedCallback(){var e,t,n;const i=this.getAttribute("container"),o=this.getAttribute("plugin-id");tr(this,a,"f").setAttribute("style","width:100%;display:flex;flex-direction:"+("column"===i?"column":"row"));const r=this.getOfferPositionAttr(),l=this.getJSONAttr("layoutSchema"),{layoutSchema:s,variantTimers:d}=function(e){var t;return"LayoutVariantRoot"===e.type?{layoutSchema:e.node.layout,variantTimers:null!==(t=e.node.timers)&&void 0!==t?t:void 0}:{layoutSchema:e}}(l),c=this.getJSONAttr("childLayouts","[]"),u=this.getJSONAttr("offerData"),p=new er("DISABLED"===this.getAttribute("interactivity")?"DISABLED":"ENABLED"),h=null!==(e=this.getAttribute("schemaVersion"))&&void 0!==e?e:"",f=this.getJSONAttr("offerState","{}");x||M("Cannot create app without factory. Please build the connector withAppFactory.");const v=O({offerPositionIndex:r,creativeInstanceGuid:null===(t=null==u?void 0:u.creative)||void 0===t?void 0:t.instanceGuid},p);this.makeInteractivityUpdateHandler(p),x({rootElement:tr(this,a,"f"),gateway:v,logger:T,offerPositionIndex:r,offerData:u,layoutSchema:s,childLayouts:c,schemaVersion:h,pluginId:o||qt.pluginId,offerState:f,variantTimers:d}),this.makeVisbilityUpdateHandler(r,null===(n=null==u?void 0:u.creative)||void 0===n?void 0:n.instanceGuid,v)}},n=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,r=new WeakMap,l=new WeakMap,s=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,v=new WeakMap,y=new WeakMap,m=new WeakMap,t=new WeakSet,C=function(e,t){tr(this,a,"f").classList.remove(t||ir),tr(this,a,"f").classList.add(e||ir)},g=function(){tr(this,p,"f")&&(clearTimeout(tr(this,p,"f")),nr(this,p,null,"f"))},b=function(e){tr(this,t,"m",g).call(this),nr(this,p,window.setTimeout(e,1e3),"f")},I=function(){tr(this,t,"m",g).call(this),tr(this,t,"m",D).call(this),tr(this,u,"f")&&(tr(this,u,"f").disconnect(),nr(this,u,null,"f")),tr(this,h,"f")&&(document.removeEventListener("visibilitychange",tr(this,h,"f")),nr(this,h,null,"f")),tr(this,y,"f")&&(window.removeEventListener("beforeunload",tr(this,y,"f")),nr(this,y,null,"f")),tr(this,m,"f")&&(tr(this,a,"f").removeEventListener("click",tr(this,m,"f")),nr(this,m,null,"f")),nr(this,v,!1,"f"),nr(this,f,null,"f")},E=function(e,t){if(!tr(this,v,"f")||null==tr(this,f,"f"))return;const n=tr(this,f,"f"),i=Date.now();if(i<=n)return nr(this,v,!1,"f"),void nr(this,f,null,"f");t.globalDispatch({type:kn,payload:{name:"SignalUserInteraction",parentGuid:e,action:"ViewabilityDurationTracking",context:"Offer Visibility Duration",objectData:{startTimestamp:n.toString(),endTimestamp:i.toString()}}}),nr(this,v,!1,"f"),nr(this,f,null,"f")},L=function(e,n){tr(this,s,"f")||tr(this,d,"f")||!("ResizeObserver"in window)||(nr(this,d,new ResizeObserver((i=>{var a;if(tr(this,s,"f"))return;const o=i[0];if(!o)return;const r=null===(a=o.borderBoxSize)||void 0===a?void 0:a[0],l=r?r.inlineSize:o.contentRect.width,d=r?r.blockSize:o.contentRect.height;0!==l&&0!==d&&(tr(this,t,"m",w).call(this),nr(this,c,window.setTimeout((()=>{nr(this,s,!0,"f"),tr(this,t,"m",D).call(this),window.requestAnimationFrame((()=>{n.globalDispatch({type:kn,payload:{name:"SignalRenderGeometry",parentGuid:e,objectData:{widthPx:Math.round(l),heightPx:Math.round(d)}}})}))}),250),"f"))})),"f"),tr(this,d,"f").observe(tr(this,a,"f")))},D=function(){tr(this,t,"m",w).call(this),tr(this,d,"f")&&(tr(this,d,"f").disconnect(),nr(this,d,null,"f"))},w=function(){tr(this,c,"f")&&(clearTimeout(tr(this,c,"f")),nr(this,c,null,"f"))},S=function(e,n){if(tr(this,o,"f")&&!tr(this,r,"f"))return;const i=this.getAttribute("slotInstanceGuid");i&&tr(this,t,"m",L).call(this,i,n);const l=tr(this,r,"f")&&"true"===this.getAttribute("expanded-owns-viewability");if(!("IntersectionObserver"in window)){if(l||tr(this,o,"f"))return;return n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!1,inferred:!1}}),void nr(this,o,!0,"f")}tr(this,u,"f")||(nr(this,u,new IntersectionObserver((i=>{i.forEach((i=>{(!tr(this,r,"f")||"true"!==this.getAttribute("measurement-occluded")&&"true"===this.getAttribute("visible")&&"hidden"!==document.visibilityState)&&(i.isIntersecting&&i.intersectionRatio>=.5?(l||tr(this,o,"f")||tr(this,t,"m",b).call(this,(()=>{tr(this,o,"f")||tr(this,r,"f")&&("true"===this.getAttribute("measurement-occluded")||"true"!==this.getAttribute("visible")||"hidden"===document.visibilityState)||(n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!1}}),nr(this,o,!0,"f"))})),tr(this,v,"f")||(nr(this,f,Date.now(),"f"),nr(this,v,!0,"f"))):(tr(this,t,"m",g).call(this),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n)))}))}),{threshold:.5}),"f"),tr(this,u,"f").observe(tr(this,a,"f")),nr(this,m,(()=>{(!tr(this,r,"f")||"true"!==this.getAttribute("measurement-occluded")&&"true"===this.getAttribute("visible")&&"hidden"!==document.visibilityState)&&(l||tr(this,o,"f")||(n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!0}}),nr(this,o,!0,"f"),tr(this,t,"m",g).call(this)),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n))}),"f"),tr(this,a,"f").addEventListener("click",tr(this,m,"f")),nr(this,h,(()=>{tr(this,u,"f")&&("hidden"===document.visibilityState?(tr(this,t,"m",g).call(this),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n),tr(this,u,"f").unobserve(tr(this,a,"f"))):"visible"===document.visibilityState&&tr(this,u,"f").observe(tr(this,a,"f")))}),"f"),document.addEventListener("visibilitychange",tr(this,h,"f")),nr(this,y,(()=>{tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n)}),"f"),window.addEventListener("beforeunload",tr(this,y,"f")))},A;function M(e){throw T({level:on,code:"MODULE_BUILDER/FAILED_TO_BUILD_MODULE",message:e}),Error(e)}}}const or=c({get:()=>new Wo}),rr=t=>e(or.Provider,{value:{get:()=>t.context},children:t.children});const lr=c({get(){throw Error("Layout Schema context has not been set")}}),sr=t=>e(lr.Provider,{value:{get:()=>t.context},children:t.children}),dr=()=>u(lr).get(),cr=c("ENABLED"),ur=()=>u(cr);function pr(e){const t=fr(e);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:fr(t,this.dataMap)});if(!n)throw new sn("FAILED_TO_MAP_STATIC_DATA","No namespace submitted to StaticData Mapper");return E([n,t],this.dataMap)}.bind({dataMap:t})}const hr={images:{},links:{},icons:{},copy:{},responseOptionsMap:{}};function fr(e,t=hr){return["images","links","icons","copy","responseOptionsMap"].reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},t[n]),e[n])})),t)}const vr=c(pr({}));vr.Consumer;const yr=vr.Provider,mr=e=>{const t=u(vr),n=e.split("|");for(const e of n){const n=t(e.trim(),"images");if(n)return n}},Cr=()=>u(vr),gr=c({});function br({info:t,children:n}){const i=u(gr);return e(gr.Provider,{value:Object.assign(Object.assign({},i),t),children:n})}const Ir=c({get(){throw Error("Catalog Item context has not been set")}}),Er=t=>e(Ir.Provider,{value:{get:()=>t.context},children:t.children}),Lr=()=>u(Ir).get(),Dr=c(""),wr=()=>u(Dr),Sr=c(""),Ar=c(void 0);function xr({children:t}){const n=d((()=>{const e=document.createElement("div");return e.inert=!0,{inert:!0===e.inert}}),[]);return e(Ar.Provider,{value:n,children:t})}const Tr=c(!0),Or=c(null),Mr=Or.Provider,kr=c(null);function Vr(t){const[n,i]=l({}),a=r([]),o=u(or).get().scrollHostToViewportOffset;function s(e){if(e in n)return[e];const t=`${e}-`;return Object.keys(n).filter((e=>e.startsWith(t)))}return e(kr.Provider,{value:{registerValidators:function(e,t,n){i((i=>Object.assign(Object.assign({},i),{[e]:{validators:t,isValid:!0,element:n}})))},validateFieldKeys:function(e){const t={},o=[];let r=!0;const l=e.flatMap(s);if(0===l.length)return a.current=[],!1;for(const e of l){const i=n[e];if(i){const n=Object.assign({},i),a=i.validators.every((e=>e()));a!==n.isValid&&(t[e]=Object.assign(Object.assign({},n),{isValid:a})),!a&&i.element&&o.push(i.element),r&&(r=a)}else r=!1}return a.current=o,Object.values(t).length>0&&i((e=>Object.assign(Object.assign({},e),t))),r},getFieldKeyValidity:function(e){const t=s(e);return 0!==t.length&&t.every((e=>{var t,i;return null!==(i=null===(t=n[e])||void 0===t?void 0:t.isValid)&&void 0!==i&&i}))},focusFirstInvalidField:function(){var e;const t=a.current.filter((e=>e.isConnected)).sort(((e,t)=>e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1))[0];if(t){if(null===(e=t.scrollIntoView)||void 0===e||e.call(t,{behavior:o?"instant":"smooth",block:"center"}),o){const e=t.getBoundingClientRect();o(e.top+e.height/2)}t.focus({preventScroll:!0})}}},children:t.children})}function Hr(){const e=u(kr);if(!e)throw new Error("useValidator must be used within a ValidatorProvider");return e}function _r(e,t,n){const i=Hr();o((()=>{var a;e&&i.registerValidators(e,t,null!==(a=null==n?void 0:n.current)&&void 0!==a?a:void 0)}),[e,t.length,n])}function Pr(e,t){return t?t.validators.map((t=>e[t])).filter((e=>void 0!==e)):[]}const Rr=F(ce([te,pe(te)]),he,Z(fe),Z(ve(ye,K({}),_)),fe,W({},"value")),Nr=F(te,z("predicates"));function Fr(e,t){return`transition: ${t.map((t=>`${t} ${e}ms`)).join(", ")};`}const jr=de(((e,{duration:t,predicates:n,styles:i})=>{return{predicates:n,classname:e(Ha(i)),transitionBaseClassname:e(Fr(t,(a=i,B(a).flatMap((e=>{const[t,n]=null!=e?e:[];return n&&t?ue(n).map((e=>Bi(t,e))):[]})))))};var a})),$r=ce([Rr,Nr]);function Zr(e){return e.value!==e.defaultValue}function Gr(e,t){const n=function(e,t){return tn(t,[e]).flatMap((({formKey:e,fieldKey:n})=>{var i;const a=null===(i=t[e])||void 0===i?void 0:i[n];return a&&Jt(a)?a:[]}))}(e.key,t);switch(e.state){case"is-valid":return n.length>0&&n.every((e=>e.validated&&e.valid));case"is-invalid":return n.some(Xt);case"is-touched":return n.some((e=>e.touched));case"is-untouched":return n.every((e=>!e.touched));case"is-dirty":return n.some(Zr);case"is-pristine":return n.every((e=>!Zr(e)));default:return!1}}const Br={is:$,"is-not":F(ee,$),"is-below":Le,"is-above":Ee};function Ur(e,t){return e.includes(t)}const zr={is:$,"is-not":F(ee,$),exists:Ur,"not-exists":F(ee,Ur)},qr={exists:F(ee,De(ye,te)),"not-exists":De(ye,te)},Kr={"is-true":$(!0),"is-false":$(!1)},Wr={is:$,"is-not":F(ee,$)};function Yr(e){return(t,n)=>n[e]}const Jr=T([[(e,t)=>$("Breakpoint",e),Yr("activeBreakpoint")],[(e,t)=>$("Progression",e),Yr("progressionIndex")],[(e,t)=>$("Position",e),Yr("positionIndex")]]);function Xr(e,t){return e.creativeCopy&&"string"==typeof e.creativeCopy[t]?e.creativeCopy[t]:void 0}const Qr=T([[(e,t,n)=>$("Breakpoint",e),(e,t,n)=>{const i=Ce(["breakpoints",t]);return ie(me(i,Number),we(i))(n)}],[(e,t,n)=>$("Progression",e),(e,t,n)=>T([[Ee(0),Se(n.totalGroups)],[Ae(0),_]])(Number(t))],[(e,t,n)=>$("Position",e),(e,t,n)=>T([[Ee(0),Se(n.totalOffers)],[Ae(0),_]])(Number(t))]]),el=F(ee,isNaN);function tl(e,t){return e.map((e=>{var n,i,a,o;switch(e.type){case"StaticString":return(0,Wr[e.predicate.condition])(e.predicate.input,e.predicate.value);case"CreativeCopy":return(0,qr[e.predicate.condition])(Xr(t,e.predicate.value));case"StaticBoolean":return(0,Kr[e.predicate.condition])(e.predicate.value);case"CustomState":return(0,Br[e.predicate.condition])(null!==(n=t.customStates[e.predicate.key])&&void 0!==n?n:0,e.predicate.value);case"DomainState":return(0,Br[e.predicate.condition])(null!==(i=t.domainStates[e.predicate.key])&&void 0!==i?i:0,e.predicate.value);case"OnFirstEvent":return null!==(a=t.firedEvents[e.predicate.event])&&void 0!==a&&a;case"FormState":return Gr(e.predicate,t.formStates);case"DarkMode":throw new Error("DarkMode has not yet been implemented.");case"Placeholder":return function(e){switch(e.predicate.type){case"TextValue":return(0,zr[e.predicate.content.condition])(e.predicate.content.input,e.predicate.content.value);case"TextLength":return(0,Br[e.predicate.content.condition])(e.predicate.content.input.length,e.predicate.content.value);case"Numeric":return(0,Br[e.predicate.content.condition])(Number(e.predicate.content.input),e.predicate.content.value);default:return!1}}(e);default:{const n=Br[e.predicate.condition],i=null!==(o=Jr(e.type,t))&&void 0!==o?o:NaN,a=Qr(e.type,e.predicate.value,t);return!!el(i)&&n(i,a)}}}))}function nl(e){return U(0,["breakpoint","breakpoints",e.breakpoint.activeBreakpoint],e)}const il={breakpoints:{},activeBreakpoint:NaN,progressionIndex:NaN,positionIndex:NaN,totalOffers:NaN,totalGroups:NaN,creativeCopy:{},customStates:{},domainStates:{},firedEvents:{},formStates:{}};function al(e,t,n,i){const a=t.map((e=>"Progression"===e.type?Object.assign(Object.assign({},e),{type:i?"Position":e.type}):e)),{cached:o,uncached:r}=a.reduce(((t,i)=>function(e,t,n,i){if("FormState"===e.type)return be({cached:Ie(Gr(e.predicate,t.formStates))},i);const a=function(e,t){var n;switch(e.type){case"Position":case"StaticBoolean":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:static-state`;case"StaticString":return`${e.type}:${e.predicate.input}:${e.predicate.condition}:${e.predicate.value}:static-state`;case"CreativeCopy":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${Xr(t,e.predicate.value)}:${t.totalGroups}`;case"CustomState":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${e.predicate.key}:${t.customStates[e.predicate.key]}`;case"DomainState":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${e.predicate.key}:${t.domainStates[e.predicate.key]}`;case"Placeholder":return`${e.type}:${e.predicate.type}:${e.predicate.content.condition}:data:${e.predicate.content.input}:${e.predicate.content.value}`;case"OnFirstEvent":return`${e.type}:${e.predicate.event}:state:${null!==(n=t.firedEvents[e.predicate.event])&&void 0!==n&&n}`;case"FormState":throw new Error("FormState predicates bypass the When result cache (see groupByCache)");default:return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${Jr(e.type,t)}:${t.totalGroups}`}}(e,t),o=n.current.get(a);return be(ol(o)?{cached:Ie(o)}:{uncached:Ie({key:a,predicate:e})},i)}(i,n,e,t)),{cached:[],uncached:[]}),l=tl(r.map((({predicate:e})=>e)),n);return ge(r,l).forEach((([{key:t},n])=>{e.current.set(t,n)})),o.concat(l)}const ol=q(Boolean);const rl=de(((e,t,n)=>{var i,a,o,r,l,s;return{breakpoints:n.breakpoint.breakpoints,activeBreakpoint:nl(n),progressionIndex:null!==(a=null===(i=n.progression)||void 0===i?void 0:i.activeGroupIndex)&&void 0!==a?a:0,totalOffers:null!==(r=null===(o=n.progression)||void 0===o?void 0:o.totalOffers)&&void 0!==r?r:0,totalGroups:null!==(s=null===(l=n.progression)||void 0===l?void 0:l.totalGroups)&&void 0!==s?s:0,customStates:n.customStates,domainStates:n.domainStates,firedEvents:n.firedEvents,formStates:n.formStates,positionIndex:e,creativeCopy:t}})),ll=Ce(["predicate","content","input"]),sl=Ce(["predicate","content","value"]),dl=Ce(["predicate","key"]);function cl(e,t){const n=me(ll,(t=>t?e(t):"")),i=me(sl,(t=>"string"==typeof t?e(t):t)),a=F(n,i),o=me(dl,(t=>t?e(t):""));return t.map((e=>{switch(e.type){case"Placeholder":return"TextValue"===e.predicate.type?a(e):n(e);case"CustomState":return o(e);default:return e}}))}const ul=pe($(!0));function pl(e){const t=_o(),n=Ro(),i=r(new Map),a=ro(),o=Ya(il,rl(n,a)),l=cl(Mo(),e);return d((()=>ul(al(i,l,o,t))),[i,l,o,t])}function hl(e){const t=_o(),n=Ro(),i=r(new Map),a=ro(),o=Ya(il,rl(n,a)),l=Mo();return d((()=>X((e=>{const n=cl(l,e);return ul(al(i,n,o,t))}),e)),[i,e,o,t,l])}function fl(e){e&&(e.style.display="")}function vl(e){e&&(e.style.display="none")}function yl(e){return e.settings.duration}const ml=[{opacity:0,display:"none"},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],Cl=[{opacity:1},{opacity:0,offset:.75},{opacity:0}];function gl(e,t,n){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){const i=t?ml:Cl,a=e.animate(i,{duration:n,iterations:1});return a.onfinish=()=>{t?fl(e):vl(e)},a.oncancel=()=>{t?fl(e):vl(e)},()=>{a.finish()}}return t?fl(e):vl(e),()=>{}}function bl({inTransitions:t,outTransitions:n,visible:i,children:a,containerClassName:l}){const s=r(null);return o((()=>i&&t?t.forEach((e=>{s.current&&function(e,t,n,i){if("FadeIn"===i)gl(e,t,n)}(s.current,i,yl(e),e.type)})):!i&&n?n.forEach((e=>{s.current&&function(e,t,n,i){if("FadeOut"===i)gl(e,t,n)}(s.current,i,yl(e),e.type)})):()=>{}),[i]),e("div",{ref:s,style:{display:"none"},className:l,children:a})}function Il(n){const i=Qa(),o=pl(n.schema.predicates),r=a.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,n.testId?`${n.testId}-child${t}`:void 0))));return n.schema.transition?e(bl,{inTransitions:n.schema.transition.inTransition,outTransitions:n.schema.transition.outTransition,visible:o,children:r}):"functionally"===n.schema.hide?e(cr.Provider,{value:o?"ENABLED":"DISABLED",children:r}):o?e(t,{children:r}):null}const El=xe(((e,t)=>`${e||""} ${t||""}`.trim())),Ll=e=>{var t;const n=u(ko),i=Ro(),a=no()||document.head,o=wr(),r=ja(o,i,a),l=s(Ba,[]),d=Ya([],(e=>Object.values(e.breakpoint.breakpoints))),c=n||l(d,o,i,a),p=e.styles?c(e.styles):{},h=e.styles&&e.styles.conditionalTransitions?function(e,t){const n=jr(e);return X((e=>$r(t)||!e?null:n({predicates:t.predicates,duration:t.duration,styles:e})),t.value)}(r,null===(t=e.styles)||void 0===t?void 0:t.conditionalTransitions):void 0,f=hl(h?X(W([],"predicates"),h):{}),v=X(((e,t)=>e?function(e,t){var n;if(e&&t in e)return null===(n=e[t])||void 0===n?void 0:n.classname}(h,t):void 0),f),y=h?X(z("transitionBaseClassname"),h):{},m=e.styles?((e,t,n)=>El(El(e,t),n))(p,v,y):void 0;return e.children({classnames:m,mapperRef:c})};function Dl(t){const n=Qa();return e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{var o;return e("div",{className:i?i.own:void 0,"data-testid":t.testId,"data-e2e-item":t.e2eItemId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(o=t.schema.a11yLabel)&&void 0!==o?o:void 0,children:a.Children.toArray(t.schema.children.map(((e,i)=>n(e,void 0,In(i,t.testId)))))})}})}function wl(t){const n=Qa();return e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{var o;return e("div",{className:i?i.own:void 0,"data-testid":t.testId,"data-e2e-item":t.e2eItemId,style:{display:"flex",flexDirection:"row"},"aria-label":null!==(o=t.schema.a11yLabel)&&void 0!==o?o:void 0,children:a.Children.toArray(t.schema.children.map(((e,i)=>n(e,void 0,In(i,t.testId)))))})}})}const Sl={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s"],allowedAttributes:{a:["href","target",wi,Si],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],s:[]},allowedSchemes:["http","https"]},Al=new Map([["&","_;^;_"]]),xl=new RegExp(`<a *(?=${Sl.allowedAttributes.a.join("|")}|>)`,"g"),Tl=new RegExp('<a [^>]*href="([^"]+)"',"g"),Ol=new RegExp("(<br *?>)|(<br *?/>)","g"),Ml="<br/>";function kl(t){const n=Mo(),i=ur(),a=d((()=>{const e=n(t.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Tl,((e,t)=>{const n=t.replaceAll("&",Al.get("&"));return e.replace(t,n)})).replaceAll(Ol,Ml)}(e);return t===Dt(t,Sl)}(e))throw new sn("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[t.schema.value,n]),{tabIndex:o,styles:r,isDisabled:l}=Tt(i),{setRef:s,maskStyle:c}=Hi("vertical",_i(t.schema.styles));return a?e(Ll,{styles:t.schema.styles,children:({classnames:n})=>{const i=[(null==n?void 0:n.link)?`class = "${null==n?void 0:n.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),d=Object.assign(Object.assign({},r),c);return u=a,new RegExp("</(p|ul|ol)>").test(u)?e("div",{ref:s,tabIndex:o,style:d,"aria-hidden":l,className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:a.replace(xl,`<a ${i.join(" ")}`)}}):e("p",{ref:s,tabIndex:o,style:d,"aria-hidden":l,className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:a.replace(xl,`<a ${i.join(" ")}`)}});var u}}):null}function Vl(t){const n=Mo()(t.schema.value),i=ur(),{tabIndex:a,styles:o,isDisabled:r}=Tt(i);return n?e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{const l={tabIndex:a,"aria-hidden":r,className:null==i?void 0:i.own,"data-testid":t.testId,"data-e2e":"BasicText"};return t.isInline?e("span",Object.assign({style:o},l,{children:n})):e("p",Object.assign({style:o},l,{children:n}))}}):null}function Hl(t,n,i){if("BasicText"===t.type)return e(Vl,{schema:t.node,testId:n,isInline:null!=i&&i})}function _l(t,n,i,a,o){return e(Vo,{value:i(n),children:Pl(t,a,o)})}function Pl(e,t,n){return a.Children.toArray(e.map(((e,i)=>t(e,void 0,In(i,n)))))}function Rl(t){const n=Ka(),i=Qa(),a=oo(),l=Mo(),d=Ro(),c=ur(),u=a.creative.responseOptionsMap[t.schema.responseKey],p=r(null),h=r(!1),f=s((()=>{h.current||(p.current=Date.now())}),[]),v=s((()=>{const e=p.current;if(null===e)return;const i=Date.now(),o="positive"===t.schema.responseKey?"-Positive":"-Negative";i>e&&n({type:kn,payload:{name:"SignalUserInteraction",action:"Hover",context:`CreativeResponse${o}`,parentGuid:a.creative.instanceGuid,objectData:{startTimestamp:e.toString(),endTimestamp:i.toString()}}}),h.current=!1,p.current=null}),[n,a.creative.instanceGuid,t.schema.responseKey]),y=Rt(u);o((()=>{y&&n(function(e){if(e.paymentTriggerConfig)return{type:Gn,payload:{criteria:{key:"PAYMENT_OFFER_SELECTED"},signal:{name:jt(e.signalType),parentGuid:e.instanceGuid,responseActionPayload:{name:e.action,externalKey:"PAYMENT_OFFER_SELECTED"}}}};throw new Error(`Invalid External Response: No 'paymentTriggerConfig' found for external response option with instanceGuid: ${e.instanceGuid}`)}(u))}),[u,n,y]);const m=u?l({data:u},"creativeResponse"):l,{tabIndex:C,styles:g,isDisabled:b}=Tt(c);return Vt(u)&&!y&&void 0!==d?e(Ll,{styles:t.schema.styles,children:({classnames:o,mapperRef:r})=>e("button",{type:"button",tabIndex:C,"aria-disabled":b,"aria-label":t.schema.a11yLabel?m(t.schema.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},g),"data-testid":t.testId,"data-e2e":"CreativeResponse","data-e2e-response-type":t.schema.responseKey,onMouseOver:f,onMouseLeave:v,onClick:e=>{e.preventDefault(),v();const i=Mn(a,u,t.schema.openLinks);n({type:Ln,payload:i})},className:null==o?void 0:o.own,disabled:b,children:e(Oo,{value:m,children:(null==o?void 0:o.own)?_l(t.schema.children,o.own,r,i,t.testId):Pl(t.schema.children,i,t.testId)})})}):null}function Nl(t){const n=ur(),{styles:i,isDisabled:a}=Tt(n);return t.schema.url.light?e(Ll,{styles:xt(t.schema.styles),children:({classnames:n})=>e("img",{"aria-hidden":a,style:Object.assign(Object.assign({},i),{display:"inline-block"}),alt:a?void 0:t.schema.alt||void 0,title:t.schema.title||void 0,className:n?n.own:void 0,"data-testid":t.testId,"data-e2e":"StaticImage",src:t.schema.url.light})}):null}function Fl(t){const n=ur(),{styles:i,isDisabled:a}=Tt(n),o=mr(t.schema.imageKey);return null!=(r=o)&&"object"==typeof r&&"light"in r&&"string"==typeof r.light?e(Ll,{styles:xt(t.schema.styles),children:({classnames:n})=>e("img",{"aria-hidden":a,style:Object.assign(Object.assign({},i),{display:"inline-block"}),alt:o.alt,title:o.title,className:n?n.own:void 0,"data-testid":t.testId,"data-e2e":"DataImage",src:o.light})}):null;var r}const jl={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function $l(t){const n=t.schema.name,i=t.schema.description,a=t.schema.styles?gn(jl,t.schema.styles):jl,o=ur(),{styles:r,isDisabled:l}=Tt(o);return n?e(Ll,{styles:a,children:({classnames:a})=>e("span",Object.assign({style:Object.assign(Object.assign({},r),{display:"inline-block"}),className:"rokt-icon"+((null==a?void 0:a.own)?" "+a.own:""),"data-testid":t.testId,"data-e2e":`StaticIcon-${n}`},!l&&i?{title:i}:{"aria-hidden":"true"},{children:n}))}):null}function Zl(t,n){if("StaticIcon"===t.type)return e($l,{schema:t.node,testId:n})}const Gl={backgroundColor:"#FFEEEE",color:"#FF0000",fontSize:"10px",padding:"4px",border:"1px solid #FF0000",margin:0,whiteSpace:"normal"};class Bl extends a.Component{constructor(e){super(e),this.state={errorMessage:""}}static getDerivedStateFromError(e){return{errorMessage:e.message}}componentDidUpdate(e){this.state.errorMessage&&JSON.stringify(e.schema)!==JSON.stringify(this.props.schema)&&this.setState({errorMessage:""})}componentDidCatch(e,t){var n;this.props.reporter&&"true"===Ni.REPORT_RENDER_ERRORS&&this.props.reporter({level:on,code:null!==(n=e.code)&&void 0!==n?n:"UNHANDLED_RENDERING_EXCEPTION",message:e.message,additionalInformation:Object.assign({componentStack:t.componentStack,stack:e.stack},this.context||{})})}render(){return this.state.errorMessage?"true"===Ni.DISPLAY_ERRORS?n("pre",{style:Gl,children:[e("strong",{children:"Error:"})," [",e("em",{children:this.props.schema.type}),"]"," ",this.state.errorMessage]}):void 0:this.props.children}}Bl.contextType=gr;const Ul={internally:"_top",externally:"_blank"};function zl(t,n,i,a,o){return e(Vo,{value:i(n),children:ql(t,a,o)})}function ql(e,t,n){return a.Children.toArray(e.map(((e,i)=>t(e,void 0,n?`${n}-child${i}`:void 0))))}function Kl(t){var n;const i=Ul[t.schema.open],a=Qa(),o=ur(),{tabIndex:r,styles:l,isDisabled:s}=Tt(o);return(null===(n=t.schema.children)||void 0===n?void 0:n.length)>0?e(Ll,{styles:t.schema.styles,children:({classnames:n,mapperRef:o})=>{var d;return e("a",{href:t.schema.src,"data-testid":t.testId,"data-e2e":"StaticLink",target:null!=i?i:"_blank",tabIndex:r,"aria-disabled":s,"aria-label":null!==(d=t.schema.a11yLabel)&&void 0!==d?d:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:t.isInline?"inline":"block"},l),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?zl(t.schema.children,null==n?void 0:n.own,o,a,t.testId):ql(t.schema.children,a,t.testId)})}}):null}function Wl(t,n,i){if("StaticLink"===t.type)return e(Kl,{schema:t.node,testId:n,isInline:null!=i&&i})}const Yl={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function Jl(t){const n=(i=t.schema.iconKey,u(vr)(i,"icons"));var i;const a=null==n?void 0:n.name,o=t.schema.styles?gn(Yl,t.schema.styles):Yl,r=ur(),{styles:l}=Tt(r);return a?e(Ll,{styles:o,children:({classnames:n})=>e("span",{style:Object.assign(Object.assign({},l),{display:"inline-block"}),"aria-hidden":"true",className:"rokt-icon"+((null==n?void 0:n.own)?" "+n.own:""),"data-testid":t.testId,"data-e2e":`DataIcon-${a}`,children:a})}):null}function Xl(t){const n=Qa(),i=r(null),l=wr(),s=Ro(),d=no(),c=(d?ja(l,s,d):Ue)`
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as i from"react";import a,{useEffect as o,useRef as r,useState as l,useCallback as s,useMemo as d,createContext as c,useContext as u,useLayoutEffect as p,forwardRef as h,useSyncExternalStore as f,useId as v}from"react";import{createRoot as y}from"react-dom/client";import{useDispatch as m,useSelector as C,connect as g,useStore as b,Provider as I}from"react-redux";import{path as E,assocPath as L,when as D,allPass as w,hasPath as S,complement as A,pathEq as x,cond as T,mergeDeepWith as O,T as M,flip as k,type as V,unary as H,identity as _,concat as P,zipWith as R,slice as N,compose as F,findIndex as j,equals as $,map as Z,sortBy as G,toPairs as B,pathOr as U,prop as z,is as q,always as K,propOr as W,__ as Y,memoizeWith as J,mapObjIndexed as X,where as Q,not as ee,isEmpty as te,forEachObjIndexed as ne,pipe as ie,split as ae,replace as oe,reduce as re,reduced as le,partial as se,curry as de,anyPass as ce,keys as ue,all as pe,flatten as he,values as fe,ifElse as ve,isNil as ye,over as me,lensPath as Ce,zip as ge,evolve as be,append as Ie,gt as Ee,lt as Le,either as De,view as we,add as Se,lte as Ae,mergeWith as xe,omit as Te,indexBy as Oe,reject as Me,whereEq as ke,uniqBy as Ve,mergeRight as He,lensProp as _e,defaultTo as Pe,find as Re,has as Ne,assoc as Fe,gte as je,clone as $e,mergeDeepRight as Ze,isNotEmpty as Ge,F as Be}from"ramda";import{css as Ue,cx as ze,keyframes as qe}from"@emotion/css";import{call as Ke,put as We,actionChannel as Ye,take as Je,cancelled as Xe,select as Qe,all as et,takeEvery as tt,spawn as nt,fork as it,takeLatest as at,race as ot,delay as rt,takeLeading as lt}from"redux-saga/effects";import st,{buffers as dt,eventChannel as ct,END as ut}from"redux-saga";import{configureStore as pt,combineReducers as ht}from"@reduxjs/toolkit";import{all as ft,takeLatest as vt,select as yt,call as mt,spawn as Ct,takeEvery as gt,put as bt,take as It,delay as Et}from"@redux-saga/core/effects";import Lt from"embla-carousel-react";import Dt from"insane";import wt from"@emotion/css/create-instance";import St from"embla-carousel-autoplay";import At from"embla-carousel-fade";function xt(e){const t=["elements","own"],n=["default","dimension","width","type"],i=["default","dimension","width","value"],a=["default","dimension","minWidth"],o=E(t,e);return o&&Array.isArray(o)&&o.length?L(t,o.map(D(w([S(n),A(S(a)),x("fixed",n)]),(e=>L(a,E(i,e),e)))),e):e}function Tt(e){const t="DISABLED"===e;return{tabIndex:t?-1:void 0,styles:t?{pointerEvents:"none",userSelect:"none"}:void 0,isDisabled:t}}function Ot(e,t){if("EscapeHatch"===t.type)try{return JSON.parse(t.node.data).type===e}catch(e){return!1}return!1}function Mt(){return"ontouchstart"in document.documentElement}function kt(e){return null!=e&&"object"==typeof e&&("url"in e||"name"in e)&&"config"in e}function Vt(e){return null!=e&&"object"==typeof e&&"id"in e&&"action"in e&&"instanceGuid"in e&&"signalType"in e}function Ht(e){return Vt(e)&&"Fulfillment"===e.action}function _t(e){return Vt(e)&&"Url"===e.action}function Pt(e){return Vt(e)&&"CaptureOnly"===e.action}function Rt(e){return Vt(e)&&"ExternalPaymentTrigger"===e.action}function Nt(e){return(Ht(e)||_t(e))&&"RealTime"===e.conversionType&&"rclid"in e}function Ft(e){return(Ht(e)||_t(e))&&"RealTimeReferral"===e.conversionType&&"rclid"in e}function jt(e){switch(e){case"SignalGatedResponse":return"SignalGatedResponse";case"SignalOptInResponse":return"SignalOptInResponse";case"SignalOptOutResponse":return"SignalOptOutResponse";default:return"SignalResponse"}}var $t,Zt;function Gt(e){return e.slice(e.lastIndexOf(":")+1)}function Bt(e){return{oldCartItem:null,cartItem:{cartItemId:e,catalogItemId:"",name:"",description:"",quantity:0,unitPrice:0,totalPrice:0,currency:"",providerData:""}}}!function(e){e.Unknown="Unknown",e.InStock="InStock",e.OutOfStock="OutOfStock"}($t||($t={})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Other=1]="Other",e[e.Card=2]="Card",e[e.PayPal=3]="PayPal",e[e.ApplePay=4]="ApplePay",e[e.GooglePay=5]="GooglePay",e[e.Afterpay=6]="Afterpay"}(Zt||(Zt={}));const Ut="FAILED_TO_PROCESS_PARTNER_UPDATE_CART_ITEM";function zt(e){return null!==e&&"object"==typeof e&&"cartItemId"in e&&"string"==typeof e.cartItemId&&"quantity"in e&&"number"==typeof e.quantity&&!("unitPrice"in e)}const qt={pluginId:"shared",pageInstanceGuid:"N/A"},Kt="offerComplete",Wt="checkout",Yt="layoutMinimized";function Jt(e){return e.registrationCount>0}function Xt(e){return e.validated&&!e.valid&&e.errorVisible}function Qt(e,t=[]){const n=0===e.trim().length;for(const i of t){if(n&&"Required"!==i.type)continue;const t=en(e,i);if(t)return t}return""}function en(e,t){switch(t.type){case"Required":return 0===e.trim().length?t.value.message:"";case"MinLength":return e.length<t.value.length?t.value.message:"";case"MaxLength":return e.length>t.value.length?t.value.message:"";case"Pattern":return function(e,t){try{return new RegExp(t).test(e)}catch(e){return!0}}(e,t.value.pattern)?"":t.value.message;default:return""}}function tn(e,t){return t.flatMap((t=>{var n;const i=t.indexOf(".");if(-1===i){const i=null!==(n=e[t])&&void 0!==n?n:{};return Object.entries(i).filter((([,e])=>Jt(e))).map((([e])=>({formKey:t,fieldKey:e})))}return[{formKey:t.slice(0,i),fieldKey:t.slice(i+1)}]}))}var nn;!function(e){e.DCUI="DCUI",e.Partner="partner"}(nn||(nn={}));const an=["SignalCartItemQuantitySelected","SignalProductItemResponse","SignalUserInteraction","SignalOptInResponse","SignalOptOutResponse"],on="ERROR",rn="INFO",ln="WARNING";class sn extends Error{constructor(e,t){super(t),this.code=null!=e?e:"UNHANDLED_EXCEPTION"}toString(){return`CodedError (${this.code}): ${this.message}`}}const dn=["V2_CART_ITEM_UPDATED","UPDATE_CART_ITEM_MESSAGE","CART_ITEM_INSTANT_PURCHASE","UPSELL_ITEM_INSTANT_PURCHASE","DELIVERY_DETAILS_SENT","OFFER_ENGAGEMENT","POSITIVE_ENGAGEMENT","UPSELL_CREATIVE_SENT","REALTIME_OFFER_FULFILLMENT_REFERRAL","REALTIME_OFFER_FULFILLMENT_CONVERSION","REALTIME_OFFER_FULFILLMENT_SUCCESS","INITIATE_INSTANT_PURCHASE_EVENT","INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT","INITIATE_CART_ITEM_EVENT","PREPARE_DEVICE_PAY_EVENT","INITIATE_DEVICE_PAY_EVENT","ABORT_DEVICE_PAY_EVENT","COMPLETE_DEVICE_PAY_EVENT","LEAD_CAPTURE_SUBMITTED","PLACEMENT_CLOSED","PLACEMENT_COMPLETED","PLACEMENT_INTERACTIVE","PLACEMENT_FAILURE"];function cn(e,t){const n=null==e?void 0:e.creative.responseOptionsMap[t];return"positive"===t&&_t(n)&&n.isPositive&&"string"==typeof n.url&&n.url.trim()&&"SignalSecondaryResponse"!==n.signalType&&(void 0===n.conversionType||"Default"===n.conversionType)?n:void 0}function un(e,t){const n=null==e?void 0:e.creative.responseOptionsMap[t];if(n&&Boolean(n.isPositive)===("positive"===t)&&"SignalSecondaryResponse"!==n.signalType)return Pt(n)?n:!_t(n)||"negative"!==t||void 0!==n.conversionType&&"Default"!==n.conversionType?cn(e,t):n}const pn=(e,t)=>P(e,N(e.length,t.length,t)),hn=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t)){const n=e.length>t.length?pn(t,e):t,i=t.length>e.length?pn(e,t):e;return R(Cn,i,n)}return t},fn=e=>null==e,vn=e=>!fn(e),yn=(e,t)=>fn(t)?e:t,mn=(e,t)=>{throw new sn("MERGE_TYPE_INCONSISTENCY",`Unable to merge values for inconsistent types, left = ${e}, right = ${t}`)};function Cn(e,t){return T([[(e,t)=>vn(e)&&vn(t)&&V(e)!==V(t)&&("Object"===V(e)||"Object"===V(t)),mn],[(e,t)=>fn(e)||fn(t),yn],[(e,t)=>"Object"===V(e),O(Cn)],[(e,t)=>"Array"===V(e),hn],[M,k(H(_))]])(e,t)}function gn(e,t){return Cn(e,t)}function bn(e=0){return`breakpoint-${e}px`}function In(e,t){return t?`${t}-child${e}`:void 0}const En="GLOBAL/RAISE_METRIC",Ln="GLOBAL/OFFER_ENGAGEMENT";function Dn(e){return null!=e&&"object"==typeof e&&"responseOption"in e&&Ht(e.responseOption)&&"fulfillment"in e&&kt(e.fulfillment)}function wn(e){return Rt(e)}function Sn(e){return _t(e)}function An(e){return Pt(e)}function xn(e){return!!(Nt(e)||"responseOption"in e&&Nt(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function Tn(e){return!!(Ft(e)||"responseOption"in e&&Ft(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function On(e){return"string"==typeof e&&""!==e?{adID:e}:{}}function Mn(e,t,n){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(kt(n))return Object.assign({fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId},On(e.adId));throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign(Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId}),On(e.adId)),{urlBehavior:n&&"internally"===n.toLowerCase()?"self":t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}const kn="GLOBAL/RAISE_SIGNAL",Vn="GLOBAL/OFFER_LIFECYCLE",Hn=new Set(["__proto__","constructor","prototype"]);function _n(e){return"string"==typeof e&&e.length>0&&!Hn.has(e)}const Pn="GLOBAL/SET_CUSTOM_STATE";const Rn="ProcessingState",Nn="DevicePayErrorState",Fn="applePayUnavailable",jn="GLOBAL/SEND_PARTNER",$n="GLOBAL/SET_DOMAIN_STATE",Zn="GLOBAL/LAYOUT_EVENT",Gn="GLOBAL/PREPARE_SIGNAL",Bn="GLOBAL/OPEN_LINK",Un="GLOBAL/SET_PARTNER_VALIDATION_STATUS",zn="GLOBAL/SET_GLOBAL_OFFER_DATA_CART",qn="GLOBAL/LAUNCH_CHILD_LAYOUT",Kn="GLOBAL/CART_ITEM_EVENT/INITIATE",Wn="GLOBAL/CART_ITEM_EVENT/RESPONSE",Yn="OVERLAY/DISMISS_OVERLAY",Jn="plugin-overlay",Xn="GLOBAL/TRIGGER_ACTION";const Qn="ERROR/REPORT",ei="GLOBAL/REGISTER_FORM_FIELD",ti="GLOBAL/UNREGISTER_FORM_FIELD",ni="GLOBAL/SET_FORM_FIELD_VALUE",ii="GLOBAL/SET_FORM_FIELD_TOUCHED",ai="GLOBAL/VALIDATE_FORM_FIELDS";function oi(e){const{formKey:t,fieldKey:n}=null!=e?e:{};return _n(t)&&_n(n)}const ri={RAISE_METRIC:En,PREPARE_SIGNAL:Gn,OFFER_ENGAGEMENT:Ln,RAISE_SIGNAL:kn,OFFER_LIFECYCLE:Vn,SEND_PARTNER:jn,SET_CUSTOM_STATE:Pn,SET_DOMAIN_STATE:$n,LAYOUT_EVENT:Zn,OPEN_LINK:Bn,SET_PARTNER_VALIDATION_STATUS:Un,SET_GLOBAL_OFFER_DATA_CART:zn,LAUNCH_CHILD_LAYOUT:qn,INITIATE_CART_ITEM_EVENT:Kn,CART_ITEM_RESPONSE:Wn,DISMISS_OVERLAY:Yn,TRIGGER_ACTION:Xn,REGISTER_FORM_FIELD:ei,UNREGISTER_FORM_FIELD:ti,SET_FORM_FIELD_VALUE:ni,SET_FORM_FIELD_TOUCHED:ii,VALIDATE_FORM_FIELDS:ai,REPORT_ERROR:Qn},li="CHILD_LAYOUT/DISPATCH_BEHAVIOR",si="CHILD_LAYOUT/STATE_SYNC",di="CHILD_LAYOUT/READY",ci="CHILD_LAYOUT/REQUEST_DEVICE_PAY";function ui(e){return _n(e)&&!e.includes("%^")}const pi={[Xn]:function(e){const{action:t}=null!=e?e:{};return"object"==typeof t&&null!==t},[Pn]:function(e){const{key:t,value:n}=null!=e?e:{};return _n(t)&&"number"==typeof n&&isFinite(n)},[ei]:function(e){const{formKey:t,fieldKey:n,defaultValue:i,validations:a}=null!=e?e:{};return _n(t)&&_n(n)&&"string"==typeof i&&Array.isArray(a)},[ti]:oi,[ni]:function(e){const{formKey:t,fieldKey:n,value:i,validate:a}=null!=e?e:{};return _n(t)&&_n(n)&&"string"==typeof i&&"boolean"==typeof a},[ii]:oi,[ai]:function(e){const{entries:t}=null!=e?e:{};return Array.isArray(t)&&t.every((e=>"string"==typeof e))}};function hi(e){return"object"==typeof e&&null!==e&&1===e.version&&"payload"in e}const fi="stage"===(vi="undefined"==typeof __environment?void 0:__environment.ENVIRONMENT)||"uat"===vi||"prod"===vi;var vi;const yi="CONTINUOUS_CHILD/READY",mi="CONTINUOUS_CHILD/PRESENTATION",Ci="CONTINUOUS_CHILD/APPLIED",gi="CONTINUOUS_CHILD/REQUEST",bi="CONTINUOUS_CHILD/EXPOSURE";function Ii(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const Ei=e=>"string"==typeof e&&e.trim().length>0&&e.length<=256;function Li(e){return Ii(e)&&Ei(e.sessionId)&&Ei(e.creativeInstanceGuid)&&(void 0===e.childInstanceGuid||Ei(e.childInstanceGuid))&&Number.isSafeInteger(e.revision)&&Number(e.revision)>0&&Number.isSafeInteger(e.position)&&Number(e.position)>=0}function Di(e,t){return e.sessionId===t.sessionId&&e.revision===t.revision&&e.position===t.position&&e.creativeInstanceGuid===t.creativeInstanceGuid&&e.childInstanceGuid===t.childInstanceGuid}const wi="data-open-in-app",Si="data-click-signal-context";function Ai(e,t){function n(e){var n;if(!(e.target&&e.target instanceof HTMLElement))return;const i=null===(n=e.target)||void 0===n?void 0:n.closest("a");if(i){const n=i.getAttribute("href"),a=i.getAttribute(Si);if(a&&t({type:kn,payload:{name:"SignalUserInteraction",action:"Click",context:a}}),n){e.preventDefault();let a="newTab";i.hasAttribute(wi)?a="inApp":"_top"===i.getAttribute("target")&&(a="self"),t({type:Bn,payload:{url:n,urlBehaviour:a}})}}}o((()=>null!==e?(e.addEventListener("click",n),()=>{e.removeEventListener("click",n)}):()=>{}),[e])}function xi(){const e=r(null);return o((()=>{const t=t=>{"Tab"===t.key&&Ti(t,e)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[e]),e}const Ti=(e,t)=>{var n;const i=null===(n=t.current)||void 0===n?void 0:n.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!i)return;const a=i[0],o=i[i.length-1],{activeElement:r}=window.document;if(1!==i.length)return r===a&&e.shiftKey?(o&&o.focus(),void e.preventDefault()):r!==o||e.shiftKey?void 0:(a&&a.focus(),void e.preventDefault());e.preventDefault()},Oi="both",Mi="linear",ki={hasOverflow:!1,atStart:!0,atEnd:!0};function Vi(e,t){if("horizontal"===t){const t=e.scrollWidth-e.clientWidth;return{hasOverflow:t>0,atStart:e.scrollLeft<=0,atEnd:e.scrollLeft>=t}}const n=function(e){if("undefined"==typeof window)return e.scrollHeight;const t=window.getComputedStyle(e),n=t.webkitLineClamp;if(!n||"none"===n||"normal"===n)return e.scrollHeight;const i=e.style,a={webkitLineClamp:i.webkitLineClamp,display:i.display,overflow:i.overflow,maxHeight:i.maxHeight};i.setProperty("-webkit-line-clamp","unset"),i.display="block",i.overflow="visible",i.maxHeight="none";const o=e.scrollHeight;return i.webkitLineClamp=a.webkitLineClamp,i.display=a.display,i.overflow=a.overflow,i.maxHeight=a.maxHeight,o}(e),i=n-e.clientHeight;return{hasOverflow:i>0,atStart:e.scrollTop<=0,atEnd:e.scrollTop>=i}}function Hi(e,t){const n=r(null),[i,a]=l(null),[c,u]=l(ki),p=s((e=>{n.current=e,a(e)}),[]),h=!!t;o((()=>{if(!i||!h)return;const t=()=>u(Vi(i,e));let n;return t(),i.addEventListener("scroll",t,{passive:!0}),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(i),Array.from(i.children).forEach((e=>null==n?void 0:n.observe(e)))),()=>{i.removeEventListener("scroll",t),null==n||n.disconnect()}}),[i,e,h]);const f=d((()=>function(e,t,{hasOverflow:n,atStart:i,atEnd:a}){var o,r,l,s,d,c;if(!t||!n)return{};const u=null!==(o=t.edges)&&void 0!==o?o:Oi,p=null!==(r=t.easing)&&void 0!==r?r:Mi,h=null!==(l=t.size)&&void 0!==l?l:36,f=null!==(s=t.startSize)&&void 0!==s?s:h,v=null!==(d=t.endSize)&&void 0!==d?d:h,y=("start"===u||"both"===u)&&!i,m=("end"===u||"both"===u)&&!a;if(!y&&!m)return{};const C="horizontal"===e?"to right":"to bottom",g=`linear-gradient(${C},${I=y?function(e,t){switch(e){case"ease-in":return["transparent 0",`transparent ${.3*t}px`,`black ${t}px`];case"ease-out":return["transparent 0",`black ${.7*t}px`,`black ${t}px`];case"ease-in-out":return["transparent 0",`rgba(0,0,0,0.5) ${.5*t}px`,`black ${t}px`];default:return["transparent 0",`black ${t}px`]}}(p,f):["black 0"],E=m?function(e,t){switch(e){case"ease-in":return[`black calc(100% - ${t}px)`,`transparent calc(100% - ${.3*t}px)`,"transparent 100%"];case"ease-out":return[`black calc(100% - ${t}px)`,`black calc(100% - ${.7*t}px)`,"transparent 100%"];case"ease-in-out":return[`black calc(100% - ${t}px)`,`rgba(0,0,0,0.5) calc(100% - ${.5*t}px)`,"transparent 100%"];default:return[`black calc(100% - ${t}px)`,"transparent 100%"]}}(p,v):["black 100%"],[...I,...E].join(",")})`,b=null!==(c=t.clip)&&void 0!==c?c:"border-box";var I,E;return{maskImage:g,WebkitMaskImage:g,maskMode:"alpha",WebkitMaskMode:"alpha",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskClip:b,WebkitMaskClip:b}}(e,t,c)),[e,t,c]);return Object.assign({ref:n,setRef:p,maskStyle:f},c)}function _i(e){var t,n,i,a,o,r;return null!==(r=null===(o=null===(a=null===(i=null===(n=null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.own)||void 0===n?void 0:n[0])||void 0===i?void 0:i.default)||void 0===a?void 0:a.container)||void 0===o?void 0:o.scrollMask)&&void 0!==r?r:null}const Pi=G(z(1)),Ri=Z(z(0)),Ni="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DISPLAY_ERRORS:"true",REPORT_RENDER_ERRORS:"true",USE_MEDIA_QUERY_NESTING:"true"};function Fi(e,t){return t?"false"!==Ni.USE_MEDIA_QUERY_NESTING?`${n=e,`@media (min-width: ${n}px)`} {${t}}`:t.includes(" & ")?`#app-container.${bn(e)} ${t.trim()}`:`#app-container.${bn(e)} & {${t}}`:"";var n}const ji={hovered:":hover",pressed:":active",focussed:":focus",disabled:":disabled"},$i={selected:'[data-selected="true"]',errored:'[data-errored="true"]'};function Zi(e){return function(e){return Object.keys(ji).indexOf(e)>-1}(e)?ji[e]:function(e){return Object.keys($i).indexOf(e)>-1}(e)?$i[e]:""}const Gi={container:{justifyContent:"justify-content",alignItems:"align-items",shadow:"box-shadow",gap:"gap",overflow:"overflow",scrollMask:"",blur:"filter",opacity:"opacity"},text:{textColor:"color",fontSize:"font-size",fontFamily:"font-family",fontWeight:"font-weight",fontStyle:"font-style",lineHeight:"line-height",lineLimit:"",letterSpacing:"letter-spacing",baselineTextAlign:"vertical-align",horizontalTextAlign:"text-align",textDecoration:"text-decoration",textTransform:"text-transform"},background:{backgroundColor:"background-color",backgroundImage:""},dimension:{width:"width",maxWidth:"max-width",minWidth:"min-width",height:"height",maxHeight:"max-height",minHeight:"min-height",rotateZ:"transform"},flexChild:{alignSelf:"align-self",weight:"flex",order:"order"},spacing:{margin:"margin",padding:"padding",offset:""},border:{borderColor:"border-color",borderRadius:"border-radius",borderWidth:"border-width",borderStyle:"border-style"}};function Bi(e,t){if(!Gi[e]||!Gi[e][t])throw new Error(`No CSS property mapping exists for styling property: ${e}.${t.toString()}`);return Gi[e][t]}function Ui(e,t){return n=>t(...Object.keys(e).map((t=>e[t](n[t]))))}function zi(...e){let t="";const n=(...e)=>e.reduce(((e,n)=>(e&&n?e=e+t+n:n&&(e=n),e)),"");return 1===e.length?(t=e[0],n):n(...e)}function qi(e,t){return`${e}:${t};`}function Ki(e){return function(e,t){return`@media (${e}) {${t}}\n`}("prefers-color-scheme: dark",e)}class Wi extends Error{constructor(e,t){super(`Invalid styling value '${t}': ${e}.`),this.name=this.constructor.name}}function Yi(e,t){if(null===t)return!1;const n=("function"==typeof e?[e]:e).map((e=>e(t))).reduce(((e,t)=>t?e?e+=`, ${t}`:t:e),void 0);if(n)throw new Wi(n,JSON.stringify(t));return!0}function Ji(e){if(isNaN(e)||"number"!=typeof e&&"string"!=typeof e)return"value must be a number"}function Xi(e){return t=>{const n=t&&"symbol"!=typeof t?t.toString():t;if(!(e.indexOf(n)>=0))return`value must be one of [${e.join(",")}]`}}function Qi(e){if(null==e||""===e)return"value must not be omitted"}function ea(e){const t=new RegExp(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{3})$/);if("string"!=typeof e||!t.test(e))return"value must be a valid hex color"}function ta(e){const t=new RegExp(/^(?:(?:data:image\/[^;]+;base64[^"]+)|(?:(?:https?:)?\/\/[a-zA-Z\d-]+(?:\.[a-zA-Z\d-]+)*(?::\d{1,10})?)?(?:\.\.?\/?)*\/(?:[a-zA-Z\d\-_]+\/)*[a-zA-Z\d\-_]+\.[a-zA-Z\d]{2,6}(?:\?(?:.+=.+&?)*)?)(?:#.+)?$/);if("string"!=typeof e||!t.test(e))return"value must be a valid CSS URL string"}function na(e){if(null!=e&&""!==e)return"value must not be specified"}function ia(e){return t=>{if(t&&"object"==typeof t&&"value"in t&&"type"in t&&"string"==typeof t.type&&function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t.type)&&"function"==typeof e[t.type]){const n=e[t.type](t.value);if(!n)return;return`object must have valid "value" for type: ${t.type}: ${n}`}return`value must be an object that has a "type" property that matches one of: [${Object.keys(e).join(", ")}] and a "value" property`}}function aa(...e){return t=>{if("string"==typeof t){const n=t.split(" ");if(n.length>1&&e.indexOf(n.length)>-1){if(!n.reduce(((e,t)=>e||Ji(t)),void 0))return}}return`value must be a space separated list of numbers, of one of the following lengths: ${e.join(" ,")}`}}function oa(e,t){return n=>{const i=e(n),a=t(n);if(i&&a)return`one of these must be true: ${i} -OR- ${a}`}}function ra(e){if("string"!=typeof e)return"value must be a string"}const la=q(Object);function sa(e){const t=Object.entries(e);return n=>la(n)&&!Array.isArray(n)?t.reduce(((e,[t,i])=>e||i(n[t])),void 0):`Input value (${e}) must be an object`}function da(e){if("number"!=typeof e&&"string"!=typeof e||isNaN(e)||!(e>=0))return"value must be a positive number"}function ca(e,t,n){return Yi(Ji,n)?qi(Bi(e,t),`${n}`):""}function ua(e){return(t,n,i)=>Yi(Xi(Object.keys(e)),i)?qi(Bi(t,n),`${e[i]}`):""}function pa(e){return Yi(Qi,e)?Ui({light:t(ta,!1),dark:t(oa(na,ta),!0)},zi("\n "))(e):"";function t(e,t){return n=>{if(Yi(e,n)&&n){const e=qi("background-image",`url("${n}")`);return t?Ki(e):e}return""}}}function ha(e){const t={crop:"auto",fit:"contain",fill:"cover"};return"string"==typeof e&&(e=e.toLowerCase()),Yi(oa(na,Xi(Object.keys(t))),e)&&e?qi("background-size",t[e]):""}const fa=T([[$("top-left"),K("top left")],[$("top-right"),K("top right")],[$("bottom-left"),K("bottom left")],[$("bottom-right"),K("bottom right")],[M,_]]);function va(e){const t="string"==typeof e?e.toLowerCase():e;return Yi(oa(na,Xi(["top","right","bottom","left","center","top-left","top-right","bottom-left","bottom-right"])),t)&&t?qi("background-position",fa(t)):""}function ya(e,t,n){return Yi(oa(Ji,aa(2,3,4)),n)?qi(Bi(e,t),n.toString().split(" ").map((e=>`${e}px`)).join(" ")):""}function ma(e){return(t,n,i)=>Yi(ia({fit:Xi(e),percentage:Ji,fixed:Ji}),i)?qi(Bi(t,n),Ca(i)):""}function Ca(e){const t={"wrap-content":"fit-content","fit-width":"100%","fit-height":"100%"};switch(e.type){case"fixed":return`${e.value}px`;case"percentage":return`${e.value}%`;case"fit":return t[e.value]}}const ga=sa({light:ea,dark:oa(na,ea)});function ba(e,t,n){return i=>{if(i){const a=qi(Bi(e,t),Ea(String(i)));return n?Ki(a):a}return""}}function Ia(e,t,n){return Yi(ga,n)?Ui({light:ba(e,t,!1),dark:ba(e,t,!0)},zi("\n "))(n):""}function Ea(e){const t=e.toUpperCase();switch(t.length){case 5:return`#${t.substring(2,5)}${t[1]}`;case 9:return`#${t.substring(3,9)}${t[1]}${t[2]}`;default:return t.toUpperCase()}}const La=sa({offsetX:oa(na,Ji),offsetY:oa(na,Ji),blurRadius:oa(na,Ji),spreadRadius:oa(na,Ji),color:ga}),Da=e=>t=>null!=t?String(t):e,wa=F(P(Y,"px"),Da("0")),Sa=e=>t=>"string"==typeof t?e(t):t,Aa=F(Sa(P(Y,"px")),Da(void 0)),xa=F(Sa(Ea),z("dark"));function Ta(e,t,n){return qi(e,Ui({offsetX:wa,offsetY:wa,blurRadius:t.spreadRadius?wa:Aa,spreadRadius:Aa,color:n},zi(" "))(t))}const Oa=sa({edges:oa(na,Xi(["start","end","both"])),size:oa(na,Ji),startSize:oa(na,Ji),endSize:oa(na,Ji),easing:oa(na,Xi(["linear","ease-in","ease-out","ease-in-out"])),clip:oa(na,Xi(["border-box","padding-box","content-box"]))});const Ma={center:"center","flex-end":"flex-end","flex-start":"flex-start",stretch:"stretch"},ka={container:{justifyContent:ua(Ma),alignItems:ua(Ma),shadow:function(e,t,n){var i;if(Yi(La,n)){const a=Bi(e,t);return zi("\n")(Ta(a,n,F(Ea,W("#80000000","light"))),(null===(i=n.color)||void 0===i?void 0:i.dark)?Ki(Ta(a,n,xa)):"")}return""},gap:ya,overflow:ua({hidden:"hidden",visible:"visible"}),scrollMask:function(e,t,n){return null==n||Yi(Oa,n),""},blur:function(e,t,n){return Yi(da,n)?qi(Bi(e,t),`blur(${n.toString()}px)`):""},opacity:ca},text:{textColor:Ia,fontSize:ya,fontFamily:function(e,t,n){return Yi(ra,n)?qi(Bi(e,t),(i=`${n}`,i.replace(/['();{}@:[\]!/=]/g,"")).split(",").map(((e,t)=>{const n=0===t?e:e.trim();if(n.includes(" ")){const e=n.startsWith('"')?"":'"',t=n.endsWith('"')?"":'"';return`${e}${n}${t}`}return n})).join(",")):"";var i},fontWeight:ua({100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900}),fontStyle:ua({normal:"normal",italic:"italic"}),lineHeight:ya,lineLimit:function(e,t,n){return Yi(Ji,n)?`\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: ${n};\n line-clamp: ${n}; \n -webkit-box-orient: vertical;\n `:""},letterSpacing:ya,baselineTextAlign:ua({super:"super",sub:"sub",baseline:"baseline"}),horizontalTextAlign:ua({left:"left",right:"right",center:"center",start:"start",end:"end",justify:"justify"}),textDecoration:ua({underline:"underline","strike-through":"line-through",none:"none"}),textTransform:ua({capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",none:"none"})},background:{backgroundColor:Ia,backgroundImage:function(e,t,n){return Yi(Qi,n)?Ui({url:pa,position:va,scale:ha},zi)(n):""}},dimension:{width:ma(["wrap-content","fit-width"]),maxWidth:ya,minWidth:ya,height:ma(["wrap-content","fit-height"]),maxHeight:ya,minHeight:ya,rotateZ:(Va="Z",(e,t,n)=>{const i=`rotate${Va}`;return Yi(Ji,n)?qi(Bi(e,t),`${i}(${n.toString()}deg)`):""})},flexChild:{alignSelf:ua(Ma),weight:ca,order:ca},spacing:{margin:ya,padding:ya,offset:function(e,t,n){return Yi(aa(2),n)?`transform:translate(${n.split(" ").join("px, ")}px);`:""}},border:{borderColor:Ia,borderRadius:ya,borderWidth:ya,borderStyle:ua({solid:"solid",dashed:"dashed"})}};var Va;function Ha(e){return Object.keys(e).reduce(((t,n)=>(n&&e[n]&&Object.keys(e[n]).forEach((i=>{if(!ka[n])throw new Error(`No styling transformers exist for styling category key: ${n}`);const a=ka[n][i];if(!a)throw new Error(`No styling transformer exists for property: ${n}.${i.toString()}`);try{t+=a(n,i,e[n][i])}catch(e){throw e&&"object"==typeof e&&"message"in e&&(e.message=`Error parsing styling key ${n}.${i.toString()}: ${e.message}`),e}})),t)),"")}const _a="FAILED_TEMPLATING_DATA",Pa="UNRESOLVED_FORM_VALIDATION_TARGET",Ra=new Map;function Na(e){return String.fromCharCode(97+e)}function Fa(e,t,n){const i=`${e||qt.pluginId}-${void 0!==t?String(t):"outer"}`,a=Ra.get(i);if(a&&a.sheet.container.isConnected)return a;const o=function(e,t){const n={key:void 0!==e?`inner-css-${Na(e)}`:"outer-css",container:t};return t&&t.parentElement&&(n.container=t.parentElement),wt(n)}(t,n);return Ra.set(i,o),o}function ja(e,t,n){return Fa(e,t,n).css}function $a(e,t,n){return Fa(e,t,n).cx}const Za="%%%OWN_CLASS_REF%%%",Ga={placeholderText:"::placeholder"},Ba=J(((e,t,n,i)=>`${String(e)}-${t}-${n}`),Ua);function Ua(e,t,n,i){const a=ja(t,n,i);let o=1;return function t(n,i=!1){var r;if("string"==typeof n){const e={scopeClass:n};return t.bind(e)}const l=n,s=this.scopeClass,d=Object.entries(null!==(r=l.elements)&&void 0!==r?r:{});try{const t=d.reduce(((t,[n,a])=>Object.assign(Object.assign({},t),{[n]:za(a,s,i,String(n),e)})),{}),n=Object.entries(t),r=i?"parent-"+o++:"",l=function(e){return"own"in e&&"string"==typeof e.own&&e.own.length>0}(t)?a(t.own):"";return n.reduce(((e,[t,n=""])=>{if("own"===t)return e;const i=n.replace(Za,r);return Object.assign(Object.assign({},e),{[t]:i?a(i):""})}),{own:`${l}${l&&r?" ":""}${r}`})}catch(e){const t=e;throw t.code="FAILED_PARSING_STYLES",t}}.bind({})}function za(e,t,n,i,a){return e.map(function(e,t,n){var i;const a=null!==(i=Ga[n])&&void 0!==i?i:"";return i=>Object.entries(i).map((([i,o])=>{const r=o?Ha(o):"";switch(!0){case"default"===i:return r?a?`\n &${a} {\n${r}\n}\n`:`\n${r}\n`:"";case Boolean(e):return`\n .${e}${Zi(i)} &${a} {\n${r}\n}\n`;case t&&"own"!==n:return`\n .${Za}${Zi(i)} &${a} {\n${r}\n}\n`;default:return`\n &${Zi(i)}${a} {\n${r}\n}\n`}})).join("")}(t,n,i)).reduce(((e,t,n)=>{const i=a[n];return void 0!==i?e+(0===n?t:`${Fi(i,t)}\n`):e}),"")}const qa=c(K(void 0)),Ka=()=>u(qa),Wa=c(null);function Ya(e,t){var n;const i=u(Wa);return i&&null!==(n=t(i))&&void 0!==n?n:e}const Ja=c((()=>{throw Error("Node Mapper Context does not have a mapper. Use the NodeMapperProvider with the default nodeMapper as a value before you consume this mapper")})),Xa=Ja.Consumer,Qa=()=>u(Ja),eo=t=>e(Ja.Provider,{value:(e,n,i,a)=>t.value(e,null!=n?n:t.overrides,i,a),children:t.children}),to=c(null),no=()=>u(to),io=c({get(){throw Error("Offer context has not been set")}}),ao=t=>e(io.Provider,{value:{get:()=>t.context},children:t.children}),oo=()=>u(io).get(),ro=()=>{try{return u(io).get().creative.copy}catch(e){return}},lo=c((()=>{})),so=new RegExp("<a ([^>]*>((?!</a>).)*</a>)","g"),co=F(ee,te),uo=Q({url:co,title:co});function po(e,t,n){return t.reduce(((t,n)=>{const i=n.indexOf("["),a=-1===i?n.slice(0,-1):n.slice(0,i),o=-1===i?"":n.slice(i+1,-1),r="append"===a?[o]:o?o.split(","):[];if(!a)throw new Error(fo(e,"This Meta Attribute could not be parsed."));return function(e,t,n,i){switch(t){case"openLinks":return function(e,t,n){ho(t,e,"openLinks",1,2);const i=vo(t,e,0,(e=>"InApp"===e?"InApp":null),"openLinks meta attribute can only open InApp"),a=yo(t,1,(e=>"string"==typeof e&&e.length?e:null));if("InApp"===i)return n.replace(so,((e,t)=>`<a ${wi} ${a?`${Si}="${a}" `:""}${t}`));return n}(e,n,i);case"sliceText":return function(e,t,n){ho(t,e,"sliceText",2,2);const i=vo(t,e,0,(e=>"Chars"===e?"Chars":null),"sliceText meta attribute can only slice by Chars"),a=vo(t,e,1,(e=>{const t=Number(e);return!Number.isNaN(t)&&t>=0?t:null}),"sliceText meta attribute second argument must be a positive number");if("Chars"===i)return function(e,t){const n=new RegExp(">.*(?:</a>)");return e.startsWith("<a")?e.replace(n,(e=>e.slice(0,-4).slice(0,t+1)+"</a>")):e.slice(0,t)}(n,a);throw Error(fo(e,`Unknown "SliceBy" value. ${i}`))}(e,n,i);case"timerFormat":return function(e,t,n){var i;ho(t,e,"timerFormat",1,1);const a=null!==(i=t[0])&&void 0!==i?i:"";return function(e,t){const n=/(?:^|[^\\])hh?/.test(t),i=/(?:^|[^\\])mm?/.test(t),a=n?Math.floor(e/3600):0,o=e-3600*a,r=i?n?Math.floor(o/60):Math.floor(e/60):0,l=i?o-60*r:n?o:e,s=[[/hh/,String(a).padStart(2,"0")],[/h/,String(a)],[/mm/,String(r).padStart(2,"0")],[/m/,String(r)],[/ss/,String(l).padStart(2,"0")],[/s/,String(l)]];let d="",c=0;for(;c<t.length;){if("\\"===t[c]&&c+1<t.length){d+=t[c+1],c+=2;continue}let e=!1;for(const[n,i]of s){const a=t.slice(c).match(n);if(a&&0===a.index){d+=i,c+=a[0].length,e=!0;break}}e||(d+=t[c],c++)}return d}(Math.max(0,Math.floor(Number(n)||0)),a)}(e,n,i);case"append":return function(e,t,n){if(1!==t.length)throw new Error(fo(e,`append meta attribute takes 1 argument; received ${t.length}.`));return n+t[0]}(e,n,i);default:throw new Error(fo(e,`Unknown Meta Attribute '${t}'.`))}}(e,a,r,t)}),n)}function ho(e,t,n,i,a){const o=new Error(fo(t,`${n} meta attribute takes ${i!=a?`between ${i} and ${a}`:i} ${1===(a||i)?"argument":"arguments"}; received ${e.length}.`));if(a&&(e.length<i||e.length>a))throw o;if(!a&&e.length!==i)throw o}function fo(e,t){return`Malformed Meta Attribute: '${e}' - ${t}`}function vo(e,t,n,i,a){const o=yo(e,n,i);if(null!==o)return o;throw Error(fo(t,a||`Could not parse meta attribute argument at index ${n} from arguments ${JSON.stringify(e)}`))}function yo(e,t,n){return n(e[t])}const mo="DATA",Co="STATE",go="ATTRIBUTE",bo=new RegExp(`^(${`${mo}|${Co}|${go}`})\\.`),Io=new RegExp(`^${go}`),Eo=new RegExp(`%\\^(?:(?:${mo}|${Co})\\.[a-zA-Z0-9]+[a-zA-Z0-9\\.]*|${go}\\.[a-zA-Z0-9][a-zA-Z0-9\\._-]*)(?:\\:(?:append\\[[^\\]\\[|:]*\\]|[a-zA-Z0-9]+\\[[a-zA-Z0-9\\.,:\\\\ -]*\\]))*(?:\\|.*?)?\\^%`,"g");function Lo(e){const t=`${go}.`;if(!e.startsWith(t))return e;return`${t}${e.slice(t.length).toLowerCase().replace(/^rokt\./,"").replace(/[_-]/g,"")}`}function Do(e){const t=new Map,n=new Map,i=new Set;for(const[a,o]of e){if("string"!=typeof o)continue;if(!a.startsWith(`${go}.`))continue;const e=Lo(a),r=n.get(e);void 0===r||r===o?(n.set(e,o),e!==a&&t.set(e,o)):i.add(e)}for(const e of i)t.delete(e);return t}const wo=Symbol("invalid");function So(e,t="creativeCopy"){const n=Ao({data:e},t),i=new Map;return function e(t,n){if("string"!=typeof t){const i=Ao(t,n,this.dataMap),a="attribute"in t;return e.bind({dataMap:i,attributeAliases:a?Do(i):this.attributeAliases,hasAttributeData:this.hasAttributeData||a})}let i=!1;const a=t,o=ie(N(2,-2),ae("|"),(e=>re(((e,t)=>{var n;let i;if(bo.test(t)){const a=function(e){const t=[];let n="",i=0;for(const a of e)"["===a?i++:"]"===a&&i--,":"===a&&0===i?(t.push(n),n=""):n+=a;return t.push(n),t}(t),o=a[0];if(o){if(i=null!==(n=this.dataMap.get(o))&&void 0!==n?n:this.attributeAliases.get(Lo(o)),i&&i===wo)throw new sn(_a,`Invalid template key referenced: "${t}" is an object but expected a string, boolean, number or empty. \nDid you mean to reference a child property of ${t}?`);if(a.length>1&&i)try{i=po(o,a.slice(1),i)}catch(e){throw new sn(_a,`Failed to apply meta attributes. ${function(e){return null!=e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}(e)}`)}}return i?le({provided:!0,value:i}):e}return le({provided:!0,value:t})}),{provided:!1,value:""},e))),r=oe(Eo,(e=>{const t=Io.test(e.slice(2));if(t&&!this.hasAttributeData)return e;const n=o(e);return n.provided?n.value:t?e:(i=!0,n.value)}),a);return!1===i?r:""}.bind({dataMap:n,attributeAliases:i,hasAttributeData:!1})}function Ao(e,t,n){const i=new Map(n);return"data"in e&&a(e.data,`${mo}${t?"."+t:""}`),"state"in e&&a(e.state,`${Co}${t?"."+t:""}`),"attribute"in e&&a(e.attribute,`${go}${t?"."+t:""}`),i;function a(e,t){"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null==e?i.set(t,(null==e?void 0:e.toString())||""):i.set(t,wo),e&&"object"==typeof e&&ne(((e,n)=>a(e,`${t}.${n}`)),e)}}const xo=c(So({})),To=xo.Consumer,Oo=xo.Provider,Mo=()=>u(xo),ko=c(null),Vo=ko.Provider,Ho=c("OUTER"),_o=()=>"VARIANT"===u(Ho),Po=c(void 0),Ro=()=>u(Po);var No,Fo,jo,$o,Zo,Go,Bo,Uo=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{s(i.next(e))}catch(e){o(e)}}function l(e){try{s(i.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,l)}s((i=i.apply(e,t||[])).next())}))},zo=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},qo=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n};class Ko{constructor(e,t,n,i,a,o,r,l){No.set(this,void 0),Fo.set(this,void 0),jo.set(this,new Set),$o.set(this,void 0),Zo.set(this,void 0),Go.set(this,void 0),Bo.set(this,void 0),l&&(this.launchContinuousChild=e=>l.launch(n,e),this.registerContinuousResponseHandler=e=>{const t=l.register(n,e),i=()=>{t(),zo(this,jo,"f").delete(i)};return zo(this,jo,"f").add(i),i}),qo(this,No,se(e.subscribe.bind(e),[n]),"f"),qo(this,Fo,se(e.dispatch.bind(e),[n]),"f"),qo(this,$o,t,"f"),qo(this,Zo,i,"f"),qo(this,Go,a,"f"),qo(this,Bo,o,"f"),this.scrollHostToViewportOffset=r,this.onGlobalStateChange=this.onGlobalStateChange.bind(this),this.onInteractivityChange=this.onInteractivityChange.bind(this),this.onEvent=this.onEvent.bind(this),this.globalDispatch=this.globalDispatch.bind(this),this.createChildPlugin=this.createChildPlugin.bind(this)}onGlobalStateChange(e){const t=zo(this,No,"f").call(this,e),n=()=>{t(),zo(this,jo,"f").delete(n)};return zo(this,jo,"f").add(n),n}onInteractivityChange(e){return zo(this,Zo,"f").subscribe(e)}onEvent(...e){const t=e.reduce(((e,t)=>{if("partner"===t.source||"*"===t.source){const n=zo(this,Go,"f").call(this,t.name).subscribe(t.callback);return[...e,()=>n.unsubscribe()]}return e}),[]),n=()=>{t.forEach((e=>{e()})),zo(this,jo,"f").delete(n)};return zo(this,jo,"f").add(n),n}globalDispatch(e){zo(this,Fo,"f").call(this,e)}dispose(){zo(this,jo,"f").forEach((e=>e())),qo(this,jo,new Set,"f"),zo(this,Zo,"f").clear()}createChildPlugin(e){return"dcui-child"===e.name&&zo(this,Bo,"f")&&e.config?zo(this,$o,"f").call(this,Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{fonts:zo(this,Bo,"f").call(this)})})):zo(this,$o,"f").call(this,e)}}No=new WeakMap,Fo=new WeakMap,jo=new WeakMap,$o=new WeakMap,Zo=new WeakMap,Go=new WeakMap,Bo=new WeakMap;class Wo{onGlobalStateChange(){return()=>{}}onInteractivityChange(){return()=>{}}onEvent(){return()=>{}}globalDispatch(){}dispose(){}createChildPlugin(){return{close:()=>Uo(this,void 0,void 0,(function*(){})),onClose:()=>Uo(this,void 0,void 0,(function*(){})),putConfig:()=>Uo(this,void 0,void 0,(function*(){})),send:()=>Uo(this,void 0,void 0,(function*(){})),onEvent:()=>({subscribe:()=>({unsubscribe:()=>{}})})}}}var Yo,Jo,Xo=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n},Qo=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class er{constructor(e){Yo.set(this,void 0),Jo.set(this,new Set),Xo(this,Yo,e,"f")}subscribe(e){return Qo(this,Jo,"f").add(e),!0===e(Qo(this,Yo,"f"))&&Qo(this,Jo,"f").delete(e),()=>{Qo(this,Jo,"f").delete(e)}}publish(e){Xo(this,Yo,e,"f"),Qo(this,Jo,"f").forEach((e=>{!0===e(Qo(this,Yo,"f"))&&Qo(this,Jo,"f").delete(e)}))}clear(){Qo(this,Jo,"f").clear()}}Yo=new WeakMap,Jo=new WeakMap;var tr=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},nr=function(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n};const ir="breakpoint-0px";class ar{constructor(){this.logger=()=>{}}withAppFactory(e){return this.appFactory=e,this}withLogger(e){return this.logger=e,this}withGatewayFactory(e){return this.gatewayFactory=e,this}build(){var e,t,n,i,a,o,r,l,s,d,c,u,p,h,f,v,y,m,C,g,b,I,E,L,D,w,S,A;const x=this.appFactory,T=this.logger,O=null!==(e=this.gatewayFactory)&&void 0!==e?e:()=>new Wo;return A=class extends HTMLElement{static get observedAttributes(){return["visible","interactivity","active-breakpoint","measurement-occluded"]}constructor(){super(),t.add(this),n.set(this,(()=>null)),i.set(this,(()=>null)),a.set(this,void 0),o.set(this,!1),r.set(this,!1),l.set(this,(()=>null)),s.set(this,!1),d.set(this,null),c.set(this,null),u.set(this,null),p.set(this,null),h.set(this,null),f.set(this,null),v.set(this,!1),y.set(this,null),m.set(this,null);const e=this.attachShadow({mode:"open"});nr(this,a,document.createElement("div"),"f"),tr(this,a,"f").id="app-container",tr(this,a,"f").classList.add("default"),e.appendChild(tr(this,a,"f"))}attributeChangedCallback(e,a,o){if(o!==a)switch(e){case"visible":tr(this,n,"f").call(this,"true"===o);break;case"interactivity":"ENABLED"!==o&&"DISABLED"!==o||tr(this,i,"f").call(this,o);break;case"measurement-occluded":tr(this,l,"f").call(this);break;case"active-breakpoint":tr(this,t,"m",C).call(this,o,a)}}makeInteractivityUpdateHandler(e){nr(this,i,(t=>{e.publish(t)}),"f")}makeVisbilityUpdateHandler(e,i,a){const o="true"===this.getAttribute("visible"),s=this.getAttribute("slotInstanceGuid");if(nr(this,r,"true"===this.getAttribute("continuous-measurement"),"f"),tr(this,r,"f")){let o=!1;const r=()=>{const n="true"===this.getAttribute("visible"),r="true"===this.getAttribute("measurement-occluded");if(n&&!o&&(o=!0,0===e&&a.globalDispatch({type:Vn,payload:{event:"Interactive"}}),s&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:s}})),!n||r)return tr(this,t,"m",E).call(this,i,a),void tr(this,t,"m",I).call(this);i&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:i}}),i&&tr(this,t,"m",S).call(this,i,a)};return nr(this,l,r,"f"),nr(this,n,r,"f"),void r()}nr(this,n,(o=>{o?(nr(this,n,(()=>null),"f"),0===e&&a.globalDispatch({type:Vn,payload:{event:"Interactive"}}),i&&(a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:i}}),tr(this,t,"m",S).call(this,i,a)),s&&a.globalDispatch({type:kn,payload:{name:"SignalImpression",parentGuid:s}})):tr(this,t,"m",I).call(this)}),"f"),tr(this,n,"f").call(this,o)}getOfferPositionAttr(){const e=this.getAttribute("offerPositionIndex"),t=Number(e);return(null==e||isNaN(t)||t<0)&&M(`Offer position attribute (${e}) is invalid`),t}getJSONAttr(e,t="{}"){const n=this.getAttribute(e);try{return JSON.parse(null!=n?n:t)}catch(t){M(`Invalid JSON attribute ${e}: ${n}`)}}disconnectedCallback(){tr(this,t,"m",I).call(this)}connectedCallback(){var e,t,n;const i=this.getAttribute("container"),o=this.getAttribute("plugin-id");tr(this,a,"f").setAttribute("style","width:100%;display:flex;flex-direction:"+("column"===i?"column":"row"));const r=this.getOfferPositionAttr(),l=this.getJSONAttr("layoutSchema"),{layoutSchema:s,variantTimers:d}=function(e){var t;return"LayoutVariantRoot"===e.type?{layoutSchema:e.node.layout,variantTimers:null!==(t=e.node.timers)&&void 0!==t?t:void 0}:{layoutSchema:e}}(l),c=this.getJSONAttr("childLayouts","[]"),u=this.getJSONAttr("offerData"),p=new er("DISABLED"===this.getAttribute("interactivity")?"DISABLED":"ENABLED"),h=null!==(e=this.getAttribute("schemaVersion"))&&void 0!==e?e:"",f=this.getJSONAttr("offerState","{}");x||M("Cannot create app without factory. Please build the connector withAppFactory.");const v=O({offerPositionIndex:r,creativeInstanceGuid:null===(t=null==u?void 0:u.creative)||void 0===t?void 0:t.instanceGuid},p);this.makeInteractivityUpdateHandler(p),x({rootElement:tr(this,a,"f"),gateway:v,logger:T,offerPositionIndex:r,offerData:u,layoutSchema:s,childLayouts:c,schemaVersion:h,pluginId:o||qt.pluginId,offerState:f,variantTimers:d}),this.makeVisbilityUpdateHandler(r,null===(n=null==u?void 0:u.creative)||void 0===n?void 0:n.instanceGuid,v)}},n=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,r=new WeakMap,l=new WeakMap,s=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,v=new WeakMap,y=new WeakMap,m=new WeakMap,t=new WeakSet,C=function(e,t){tr(this,a,"f").classList.remove(t||ir),tr(this,a,"f").classList.add(e||ir)},g=function(){tr(this,p,"f")&&(clearTimeout(tr(this,p,"f")),nr(this,p,null,"f"))},b=function(e){tr(this,t,"m",g).call(this),nr(this,p,window.setTimeout(e,1e3),"f")},I=function(){tr(this,t,"m",g).call(this),tr(this,t,"m",D).call(this),tr(this,u,"f")&&(tr(this,u,"f").disconnect(),nr(this,u,null,"f")),tr(this,h,"f")&&(document.removeEventListener("visibilitychange",tr(this,h,"f")),nr(this,h,null,"f")),tr(this,y,"f")&&(window.removeEventListener("beforeunload",tr(this,y,"f")),nr(this,y,null,"f")),tr(this,m,"f")&&(tr(this,a,"f").removeEventListener("click",tr(this,m,"f")),nr(this,m,null,"f")),nr(this,v,!1,"f"),nr(this,f,null,"f")},E=function(e,t){if(!tr(this,v,"f")||null==tr(this,f,"f"))return;const n=tr(this,f,"f"),i=Date.now();if(i<=n)return nr(this,v,!1,"f"),void nr(this,f,null,"f");t.globalDispatch({type:kn,payload:{name:"SignalUserInteraction",parentGuid:e,action:"ViewabilityDurationTracking",context:"Offer Visibility Duration",objectData:{startTimestamp:n.toString(),endTimestamp:i.toString()}}}),nr(this,v,!1,"f"),nr(this,f,null,"f")},L=function(e,n){tr(this,s,"f")||tr(this,d,"f")||!("ResizeObserver"in window)||(nr(this,d,new ResizeObserver((i=>{var a;if(tr(this,s,"f"))return;const o=i[0];if(!o)return;const r=null===(a=o.borderBoxSize)||void 0===a?void 0:a[0],l=r?r.inlineSize:o.contentRect.width,d=r?r.blockSize:o.contentRect.height;0!==l&&0!==d&&(tr(this,t,"m",w).call(this),nr(this,c,window.setTimeout((()=>{nr(this,s,!0,"f"),tr(this,t,"m",D).call(this),window.requestAnimationFrame((()=>{n.globalDispatch({type:kn,payload:{name:"SignalRenderGeometry",parentGuid:e,objectData:{widthPx:Math.round(l),heightPx:Math.round(d)}}})}))}),250),"f"))})),"f"),tr(this,d,"f").observe(tr(this,a,"f")))},D=function(){tr(this,t,"m",w).call(this),tr(this,d,"f")&&(tr(this,d,"f").disconnect(),nr(this,d,null,"f"))},w=function(){tr(this,c,"f")&&(clearTimeout(tr(this,c,"f")),nr(this,c,null,"f"))},S=function(e,n){if(tr(this,o,"f")&&!tr(this,r,"f"))return;const i=this.getAttribute("slotInstanceGuid");i&&tr(this,t,"m",L).call(this,i,n);const l=tr(this,r,"f")&&"true"===this.getAttribute("expanded-owns-viewability");if(!("IntersectionObserver"in window)){if(l||tr(this,o,"f"))return;return n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!1,inferred:!1}}),void nr(this,o,!0,"f")}tr(this,u,"f")||(nr(this,u,new IntersectionObserver((i=>{i.forEach((i=>{(!tr(this,r,"f")||"true"!==this.getAttribute("measurement-occluded")&&"true"===this.getAttribute("visible")&&"hidden"!==document.visibilityState)&&(i.isIntersecting&&i.intersectionRatio>=.5?(l||tr(this,o,"f")||tr(this,t,"m",b).call(this,(()=>{tr(this,o,"f")||tr(this,r,"f")&&("true"===this.getAttribute("measurement-occluded")||"true"!==this.getAttribute("visible")||"hidden"===document.visibilityState)||(n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!1}}),nr(this,o,!0,"f"))})),tr(this,v,"f")||(nr(this,f,Date.now(),"f"),nr(this,v,!0,"f"))):(tr(this,t,"m",g).call(this),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n)))}))}),{threshold:.5}),"f"),tr(this,u,"f").observe(tr(this,a,"f")),nr(this,m,(()=>{(!tr(this,r,"f")||"true"!==this.getAttribute("measurement-occluded")&&"true"===this.getAttribute("visible")&&"hidden"!==document.visibilityState)&&(l||tr(this,o,"f")||(n.globalDispatch({type:kn,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!0}}),nr(this,o,!0,"f"),tr(this,t,"m",g).call(this)),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n))}),"f"),tr(this,a,"f").addEventListener("click",tr(this,m,"f")),nr(this,h,(()=>{tr(this,u,"f")&&("hidden"===document.visibilityState?(tr(this,t,"m",g).call(this),tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n),tr(this,u,"f").unobserve(tr(this,a,"f"))):"visible"===document.visibilityState&&tr(this,u,"f").observe(tr(this,a,"f")))}),"f"),document.addEventListener("visibilitychange",tr(this,h,"f")),nr(this,y,(()=>{tr(this,v,"f")&&tr(this,t,"m",E).call(this,e,n)}),"f"),window.addEventListener("beforeunload",tr(this,y,"f")))},A;function M(e){throw T({level:on,code:"MODULE_BUILDER/FAILED_TO_BUILD_MODULE",message:e}),Error(e)}}}const or=c({get:()=>new Wo}),rr=t=>e(or.Provider,{value:{get:()=>t.context},children:t.children});const lr=c({get(){throw Error("Layout Schema context has not been set")}}),sr=t=>e(lr.Provider,{value:{get:()=>t.context},children:t.children}),dr=()=>u(lr).get(),cr=c("ENABLED"),ur=()=>u(cr);function pr(e){const t=fr(e);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:fr(t,this.dataMap)});if(!n)throw new sn("FAILED_TO_MAP_STATIC_DATA","No namespace submitted to StaticData Mapper");return E([n,t],this.dataMap)}.bind({dataMap:t})}const hr={images:{},links:{},icons:{},copy:{},responseOptionsMap:{}};function fr(e,t=hr){return["images","links","icons","copy","responseOptionsMap"].reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:Object.assign(Object.assign({},t[n]),e[n])})),t)}const vr=c(pr({}));vr.Consumer;const yr=vr.Provider,mr=e=>{const t=u(vr),n=e.split("|");for(const e of n){const n=t(e.trim(),"images");if(n)return n}},Cr=()=>u(vr),gr=c({});function br({info:t,children:n}){const i=u(gr);return e(gr.Provider,{value:Object.assign(Object.assign({},i),t),children:n})}const Ir=c({get(){throw Error("Catalog Item context has not been set")}}),Er=t=>e(Ir.Provider,{value:{get:()=>t.context},children:t.children}),Lr=()=>u(Ir).get(),Dr=c(""),wr=()=>u(Dr),Sr=c(""),Ar=c(void 0);function xr({children:t}){const n=d((()=>{const e=document.createElement("div");return e.inert=!0,{inert:!0===e.inert}}),[]);return e(Ar.Provider,{value:n,children:t})}const Tr=c(!0),Or=c(null),Mr=Or.Provider,kr=c(null);function Vr(t){const[n,i]=l({}),a=r([]),o=u(or).get().scrollHostToViewportOffset;function s(e){if(e in n)return[e];const t=`${e}-`;return Object.keys(n).filter((e=>e.startsWith(t)))}return e(kr.Provider,{value:{registerValidators:function(e,t,n){i((i=>Object.assign(Object.assign({},i),{[e]:{validators:t,isValid:!0,element:n}})))},validateFieldKeys:function(e){const t={},o=[];let r=!0;const l=e.flatMap(s);if(0===l.length)return a.current=[],!1;for(const e of l){const i=n[e];if(i){const n=Object.assign({},i),a=i.validators.every((e=>e()));a!==n.isValid&&(t[e]=Object.assign(Object.assign({},n),{isValid:a})),!a&&i.element&&o.push(i.element),r&&(r=a)}else r=!1}return a.current=o,Object.values(t).length>0&&i((e=>Object.assign(Object.assign({},e),t))),r},getFieldKeyValidity:function(e){const t=s(e);return 0!==t.length&&t.every((e=>{var t,i;return null!==(i=null===(t=n[e])||void 0===t?void 0:t.isValid)&&void 0!==i&&i}))},focusFirstInvalidField:function(){var e;const t=a.current.filter((e=>e.isConnected)).sort(((e,t)=>e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1))[0];if(t){if(null===(e=t.scrollIntoView)||void 0===e||e.call(t,{behavior:o?"instant":"smooth",block:"center"}),o){const e=t.getBoundingClientRect();o(e.top+e.height/2)}t.focus({preventScroll:!0})}}},children:t.children})}function Hr(){const e=u(kr);if(!e)throw new Error("useValidator must be used within a ValidatorProvider");return e}function _r(e,t,n){const i=Hr();o((()=>{var a;e&&i.registerValidators(e,t,null!==(a=null==n?void 0:n.current)&&void 0!==a?a:void 0)}),[e,t.length,n])}function Pr(e,t){return t?t.validators.map((t=>e[t])).filter((e=>void 0!==e)):[]}const Rr=F(ce([te,pe(te)]),he,Z(fe),Z(ve(ye,K({}),_)),fe,W({},"value")),Nr=F(te,z("predicates"));function Fr(e,t){return`transition: ${t.map((t=>`${t} ${e}ms`)).join(", ")};`}const jr=de(((e,{duration:t,predicates:n,styles:i})=>{return{predicates:n,classname:e(Ha(i)),transitionBaseClassname:e(Fr(t,(a=i,B(a).flatMap((e=>{const[t,n]=null!=e?e:[];return n&&t?ue(n).map((e=>Bi(t,e))):[]})))))};var a})),$r=ce([Rr,Nr]);function Zr(e){return e.value!==e.defaultValue}function Gr(e,t){const n=function(e,t){return tn(t,[e]).flatMap((({formKey:e,fieldKey:n})=>{var i;const a=null===(i=t[e])||void 0===i?void 0:i[n];return a&&Jt(a)?a:[]}))}(e.key,t);switch(e.state){case"is-valid":return n.length>0&&n.every((e=>e.validated&&e.valid));case"is-invalid":return n.some(Xt);case"is-touched":return n.some((e=>e.touched));case"is-untouched":return n.every((e=>!e.touched));case"is-dirty":return n.some(Zr);case"is-pristine":return n.every((e=>!Zr(e)));default:return!1}}const Br={is:$,"is-not":F(ee,$),"is-below":Le,"is-above":Ee};function Ur(e,t){return e.includes(t)}const zr={is:$,"is-not":F(ee,$),exists:Ur,"not-exists":F(ee,Ur)},qr={exists:F(ee,De(ye,te)),"not-exists":De(ye,te)},Kr={"is-true":$(!0),"is-false":$(!1)},Wr={is:$,"is-not":F(ee,$)};function Yr(e){return(t,n)=>n[e]}const Jr=T([[(e,t)=>$("Breakpoint",e),Yr("activeBreakpoint")],[(e,t)=>$("Progression",e),Yr("progressionIndex")],[(e,t)=>$("Position",e),Yr("positionIndex")]]);function Xr(e,t){return e.creativeCopy&&"string"==typeof e.creativeCopy[t]?e.creativeCopy[t]:void 0}const Qr=T([[(e,t,n)=>$("Breakpoint",e),(e,t,n)=>{const i=Ce(["breakpoints",t]);return ie(me(i,Number),we(i))(n)}],[(e,t,n)=>$("Progression",e),(e,t,n)=>T([[Ee(0),Se(n.totalGroups)],[Ae(0),_]])(Number(t))],[(e,t,n)=>$("Position",e),(e,t,n)=>T([[Ee(0),Se(n.totalOffers)],[Ae(0),_]])(Number(t))]]),el=F(ee,isNaN);function tl(e,t){return e.map((e=>{var n,i,a,o;switch(e.type){case"StaticString":return(0,Wr[e.predicate.condition])(e.predicate.input,e.predicate.value);case"CreativeCopy":return(0,qr[e.predicate.condition])(Xr(t,e.predicate.value));case"StaticBoolean":return(0,Kr[e.predicate.condition])(e.predicate.value);case"CustomState":return(0,Br[e.predicate.condition])(null!==(n=t.customStates[e.predicate.key])&&void 0!==n?n:0,e.predicate.value);case"DomainState":return(0,Br[e.predicate.condition])(null!==(i=t.domainStates[e.predicate.key])&&void 0!==i?i:0,e.predicate.value);case"OnFirstEvent":return null!==(a=t.firedEvents[e.predicate.event])&&void 0!==a&&a;case"FormState":return Gr(e.predicate,t.formStates);case"DarkMode":throw new Error("DarkMode has not yet been implemented.");case"Placeholder":return function(e){switch(e.predicate.type){case"TextValue":return(0,zr[e.predicate.content.condition])(e.predicate.content.input,e.predicate.content.value);case"TextLength":return(0,Br[e.predicate.content.condition])(e.predicate.content.input.length,e.predicate.content.value);case"NumericCompare":{const{left:t,right:n,condition:i}=e.predicate.content;if(!t.trim()||!n.trim())return!1;const a=Number(t),o=Number(n);return!(!Number.isFinite(a)||!Number.isFinite(o))&&Br[i](a,o)}case"Numeric":return(0,Br[e.predicate.content.condition])(Number(e.predicate.content.input),e.predicate.content.value);default:return!1}}(e);default:{const n=Br[e.predicate.condition],i=null!==(o=Jr(e.type,t))&&void 0!==o?o:NaN,a=Qr(e.type,e.predicate.value,t);return!!el(i)&&n(i,a)}}}))}function nl(e){return U(0,["breakpoint","breakpoints",e.breakpoint.activeBreakpoint],e)}const il={breakpoints:{},activeBreakpoint:NaN,progressionIndex:NaN,positionIndex:NaN,totalOffers:NaN,totalGroups:NaN,creativeCopy:{},customStates:{},domainStates:{},firedEvents:{},formStates:{}};function al(e,t,n,i){const a=t.map((e=>"Progression"===e.type?Object.assign(Object.assign({},e),{type:i?"Position":e.type}):e)),{cached:o,uncached:r}=a.reduce(((t,i)=>function(e,t,n,i){if("FormState"===e.type)return be({cached:Ie(Gr(e.predicate,t.formStates))},i);const a=function(e,t){var n;switch(e.type){case"Position":case"StaticBoolean":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:static-state`;case"StaticString":return`${e.type}:${e.predicate.input}:${e.predicate.condition}:${e.predicate.value}:static-state`;case"CreativeCopy":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${Xr(t,e.predicate.value)}:${t.totalGroups}`;case"CustomState":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${e.predicate.key}:${t.customStates[e.predicate.key]}`;case"DomainState":return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${e.predicate.key}:${t.domainStates[e.predicate.key]}`;case"Placeholder":if("NumericCompare"===e.predicate.type){const{left:t,right:n,condition:i}=e.predicate.content;return`${e.type}:${e.predicate.type}:${i}:data:${t}:${n}`}return`${e.type}:${e.predicate.type}:${e.predicate.content.condition}:data:${e.predicate.content.input}:${e.predicate.content.value}`;case"OnFirstEvent":return`${e.type}:${e.predicate.event}:state:${null!==(n=t.firedEvents[e.predicate.event])&&void 0!==n&&n}`;case"FormState":throw new Error("FormState predicates bypass the When result cache (see groupByCache)");default:return`${e.type}:${e.predicate.condition}:${e.predicate.value}:state:${Jr(e.type,t)}:${t.totalGroups}`}}(e,t),o=n.current.get(a);return be(ol(o)?{cached:Ie(o)}:{uncached:Ie({key:a,predicate:e})},i)}(i,n,e,t)),{cached:[],uncached:[]}),l=tl(r.map((({predicate:e})=>e)),n);return ge(r,l).forEach((([{key:t},n])=>{e.current.set(t,n)})),o.concat(l)}const ol=q(Boolean);const rl=de(((e,t,n)=>{var i,a,o,r,l,s;return{breakpoints:n.breakpoint.breakpoints,activeBreakpoint:nl(n),progressionIndex:null!==(a=null===(i=n.progression)||void 0===i?void 0:i.activeGroupIndex)&&void 0!==a?a:0,totalOffers:null!==(r=null===(o=n.progression)||void 0===o?void 0:o.totalOffers)&&void 0!==r?r:0,totalGroups:null!==(s=null===(l=n.progression)||void 0===l?void 0:l.totalGroups)&&void 0!==s?s:0,customStates:n.customStates,domainStates:n.domainStates,firedEvents:n.firedEvents,formStates:n.formStates,positionIndex:e,creativeCopy:t}})),ll=Ce(["predicate","content","input"]),sl=Ce(["predicate","content","value"]),dl=Ce(["predicate","key"]);function cl(e,t){const n=me(ll,(t=>t?e(t):"")),i=me(sl,(t=>"string"==typeof t?e(t):t)),a=F(n,i),o=me(dl,(t=>t?e(t):""));return t.map((t=>{switch(t.type){case"Placeholder":if("NumericCompare"===t.predicate.type){const{content:n}=t.predicate;return Object.assign(Object.assign({},t),{predicate:Object.assign(Object.assign({},t.predicate),{content:Object.assign(Object.assign({},n),{left:e(n.left),right:e(n.right)})})})}return"TextValue"===t.predicate.type?a(t):n(t);case"CustomState":return o(t);default:return t}}))}const ul=pe($(!0));function pl(e){const t=_o(),n=Ro(),i=r(new Map),a=ro(),o=Ya(il,rl(n,a)),l=cl(Mo(),e);return d((()=>ul(al(i,l,o,t))),[i,l,o,t])}function hl(e){const t=_o(),n=Ro(),i=r(new Map),a=ro(),o=Ya(il,rl(n,a)),l=Mo();return d((()=>X((e=>{const n=cl(l,e);return ul(al(i,n,o,t))}),e)),[i,e,o,t,l])}function fl(e){e&&(e.style.display="")}function vl(e){e&&(e.style.display="none")}function yl(e){return e.settings.duration}const ml=[{opacity:0,display:"none"},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],Cl=[{opacity:1},{opacity:0,offset:.75},{opacity:0}];function gl(e,t,n){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){const i=t?ml:Cl,a=e.animate(i,{duration:n,iterations:1});return a.onfinish=()=>{t?fl(e):vl(e)},a.oncancel=()=>{t?fl(e):vl(e)},()=>{a.finish()}}return t?fl(e):vl(e),()=>{}}function bl({inTransitions:t,outTransitions:n,visible:i,children:a,containerClassName:l}){const s=r(null);return o((()=>i&&t?t.forEach((e=>{s.current&&function(e,t,n,i){if("FadeIn"===i)gl(e,t,n)}(s.current,i,yl(e),e.type)})):!i&&n?n.forEach((e=>{s.current&&function(e,t,n,i){if("FadeOut"===i)gl(e,t,n)}(s.current,i,yl(e),e.type)})):()=>{}),[i]),e("div",{ref:s,style:{display:"none"},className:l,children:a})}function Il(n){const i=Qa(),o=pl(n.schema.predicates),r=a.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,n.testId?`${n.testId}-child${t}`:void 0))));return n.schema.transition?e(bl,{inTransitions:n.schema.transition.inTransition,outTransitions:n.schema.transition.outTransition,visible:o,children:r}):"functionally"===n.schema.hide?e(cr.Provider,{value:o?"ENABLED":"DISABLED",children:r}):o?e(t,{children:r}):null}const El=xe(((e,t)=>`${e||""} ${t||""}`.trim())),Ll=e=>{var t;const n=u(ko),i=Ro(),a=no()||document.head,o=wr(),r=ja(o,i,a),l=s(Ba,[]),d=Ya([],(e=>Object.values(e.breakpoint.breakpoints))),c=n||l(d,o,i,a),p=e.styles?c(e.styles):{},h=e.styles&&e.styles.conditionalTransitions?function(e,t){const n=jr(e);return X((e=>$r(t)||!e?null:n({predicates:t.predicates,duration:t.duration,styles:e})),t.value)}(r,null===(t=e.styles)||void 0===t?void 0:t.conditionalTransitions):void 0,f=hl(h?X(W([],"predicates"),h):{}),v=X(((e,t)=>e?function(e,t){var n;if(e&&t in e)return null===(n=e[t])||void 0===n?void 0:n.classname}(h,t):void 0),f),y=h?X(z("transitionBaseClassname"),h):{},m=e.styles?((e,t,n)=>El(El(e,t),n))(p,v,y):void 0;return e.children({classnames:m,mapperRef:c})};function Dl(t){const n=Qa();return e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{var o;return e("div",{className:i?i.own:void 0,"data-testid":t.testId,"data-e2e-item":t.e2eItemId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(o=t.schema.a11yLabel)&&void 0!==o?o:void 0,children:a.Children.toArray(t.schema.children.map(((e,i)=>n(e,void 0,In(i,t.testId)))))})}})}function wl(t){const n=Qa();return e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{var o;return e("div",{className:i?i.own:void 0,"data-testid":t.testId,"data-e2e-item":t.e2eItemId,style:{display:"flex",flexDirection:"row"},"aria-label":null!==(o=t.schema.a11yLabel)&&void 0!==o?o:void 0,children:a.Children.toArray(t.schema.children.map(((e,i)=>n(e,void 0,In(i,t.testId)))))})}})}const Sl={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s"],allowedAttributes:{a:["href","target",wi,Si],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],s:[]},allowedSchemes:["http","https"]},Al=new Map([["&","_;^;_"]]),xl=new RegExp(`<a *(?=${Sl.allowedAttributes.a.join("|")}|>)`,"g"),Tl=new RegExp('<a [^>]*href="([^"]+)"',"g"),Ol=new RegExp("(<br *?>)|(<br *?/>)","g"),Ml="<br/>";function kl(t){const n=Mo(),i=ur(),a=d((()=>{const e=n(t.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Tl,((e,t)=>{const n=t.replaceAll("&",Al.get("&"));return e.replace(t,n)})).replaceAll(Ol,Ml)}(e);return t===Dt(t,Sl)}(e))throw new sn("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[t.schema.value,n]),{tabIndex:o,styles:r,isDisabled:l}=Tt(i),{setRef:s,maskStyle:c}=Hi("vertical",_i(t.schema.styles));return a?e(Ll,{styles:t.schema.styles,children:({classnames:n})=>{const i=[(null==n?void 0:n.link)?`class = "${null==n?void 0:n.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),d=Object.assign(Object.assign({},r),c);return u=a,new RegExp("</(p|ul|ol)>").test(u)?e("div",{ref:s,tabIndex:o,style:d,"aria-hidden":l,className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:a.replace(xl,`<a ${i.join(" ")}`)}}):e("p",{ref:s,tabIndex:o,style:d,"aria-hidden":l,className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:a.replace(xl,`<a ${i.join(" ")}`)}});var u}}):null}function Vl(t){const n=Mo()(t.schema.value),i=ur(),{tabIndex:a,styles:o,isDisabled:r}=Tt(i);return n?e(Ll,{styles:t.schema.styles,children:({classnames:i})=>{const l={tabIndex:a,"aria-hidden":r,className:null==i?void 0:i.own,"data-testid":t.testId,"data-e2e":"BasicText"};return t.isInline?e("span",Object.assign({style:o},l,{children:n})):e("p",Object.assign({style:o},l,{children:n}))}}):null}function Hl(t,n,i){if("BasicText"===t.type)return e(Vl,{schema:t.node,testId:n,isInline:null!=i&&i})}function _l(t,n,i,a,o){return e(Vo,{value:i(n),children:Pl(t,a,o)})}function Pl(e,t,n){return a.Children.toArray(e.map(((e,i)=>t(e,void 0,In(i,n)))))}function Rl(t){const n=Ka(),i=Qa(),a=oo(),l=Mo(),d=Ro(),c=ur(),u=a.creative.responseOptionsMap[t.schema.responseKey],p=r(null),h=r(!1),f=s((()=>{h.current||(p.current=Date.now())}),[]),v=s((()=>{const e=p.current;if(null===e)return;const i=Date.now(),o="positive"===t.schema.responseKey?"-Positive":"-Negative";i>e&&n({type:kn,payload:{name:"SignalUserInteraction",action:"Hover",context:`CreativeResponse${o}`,parentGuid:a.creative.instanceGuid,objectData:{startTimestamp:e.toString(),endTimestamp:i.toString()}}}),h.current=!1,p.current=null}),[n,a.creative.instanceGuid,t.schema.responseKey]),y=Rt(u);o((()=>{y&&n(function(e){if(e.paymentTriggerConfig)return{type:Gn,payload:{criteria:{key:"PAYMENT_OFFER_SELECTED"},signal:{name:jt(e.signalType),parentGuid:e.instanceGuid,responseActionPayload:{name:e.action,externalKey:"PAYMENT_OFFER_SELECTED"}}}};throw new Error(`Invalid External Response: No 'paymentTriggerConfig' found for external response option with instanceGuid: ${e.instanceGuid}`)}(u))}),[u,n,y]);const m=u?l({data:u},"creativeResponse"):l,{tabIndex:C,styles:g,isDisabled:b}=Tt(c);return Vt(u)&&!y&&void 0!==d?e(Ll,{styles:t.schema.styles,children:({classnames:o,mapperRef:r})=>e("button",{type:"button",tabIndex:C,"aria-disabled":b,"aria-label":t.schema.a11yLabel?m(t.schema.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},g),"data-testid":t.testId,"data-e2e":"CreativeResponse","data-e2e-response-type":t.schema.responseKey,onMouseOver:f,onMouseLeave:v,onClick:e=>{e.preventDefault(),v();const i=Mn(a,u,t.schema.openLinks);n({type:Ln,payload:i})},className:null==o?void 0:o.own,disabled:b,children:e(Oo,{value:m,children:(null==o?void 0:o.own)?_l(t.schema.children,o.own,r,i,t.testId):Pl(t.schema.children,i,t.testId)})})}):null}function Nl(t){const n=ur(),{styles:i,isDisabled:a}=Tt(n);return t.schema.url.light?e(Ll,{styles:xt(t.schema.styles),children:({classnames:n})=>e("img",{"aria-hidden":a,style:Object.assign(Object.assign({},i),{display:"inline-block"}),alt:a?void 0:t.schema.alt||void 0,title:t.schema.title||void 0,className:n?n.own:void 0,"data-testid":t.testId,"data-e2e":"StaticImage",src:t.schema.url.light})}):null}function Fl(t){const n=ur(),{styles:i,isDisabled:a}=Tt(n),o=mr(t.schema.imageKey);return null!=(r=o)&&"object"==typeof r&&"light"in r&&"string"==typeof r.light?e(Ll,{styles:xt(t.schema.styles),children:({classnames:n})=>e("img",{"aria-hidden":a,style:Object.assign(Object.assign({},i),{display:"inline-block"}),alt:o.alt,title:o.title,className:n?n.own:void 0,"data-testid":t.testId,"data-e2e":"DataImage",src:o.light})}):null;var r}const jl={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function $l(t){const n=t.schema.name,i=t.schema.description,a=t.schema.styles?gn(jl,t.schema.styles):jl,o=ur(),{styles:r,isDisabled:l}=Tt(o);return n?e(Ll,{styles:a,children:({classnames:a})=>e("span",Object.assign({style:Object.assign(Object.assign({},r),{display:"inline-block"}),className:"rokt-icon"+((null==a?void 0:a.own)?" "+a.own:""),"data-testid":t.testId,"data-e2e":`StaticIcon-${n}`},!l&&i?{title:i}:{"aria-hidden":"true"},{children:n}))}):null}function Zl(t,n){if("StaticIcon"===t.type)return e($l,{schema:t.node,testId:n})}const Gl={backgroundColor:"#FFEEEE",color:"#FF0000",fontSize:"10px",padding:"4px",border:"1px solid #FF0000",margin:0,whiteSpace:"normal"};class Bl extends a.Component{constructor(e){super(e),this.state={errorMessage:""}}static getDerivedStateFromError(e){return{errorMessage:e.message}}componentDidUpdate(e){this.state.errorMessage&&JSON.stringify(e.schema)!==JSON.stringify(this.props.schema)&&this.setState({errorMessage:""})}componentDidCatch(e,t){var n;this.props.reporter&&"true"===Ni.REPORT_RENDER_ERRORS&&this.props.reporter({level:on,code:null!==(n=e.code)&&void 0!==n?n:"UNHANDLED_RENDERING_EXCEPTION",message:e.message,additionalInformation:Object.assign({componentStack:t.componentStack,stack:e.stack},this.context||{})})}render(){return this.state.errorMessage?"true"===Ni.DISPLAY_ERRORS?n("pre",{style:Gl,children:[e("strong",{children:"Error:"})," [",e("em",{children:this.props.schema.type}),"]"," ",this.state.errorMessage]}):void 0:this.props.children}}Bl.contextType=gr;const Ul={internally:"_top",externally:"_blank"};function zl(t,n,i,a,o){return e(Vo,{value:i(n),children:ql(t,a,o)})}function ql(e,t,n){return a.Children.toArray(e.map(((e,i)=>t(e,void 0,n?`${n}-child${i}`:void 0))))}function Kl(t){var n;const i=Ul[t.schema.open],a=Qa(),o=ur(),{tabIndex:r,styles:l,isDisabled:s}=Tt(o);return(null===(n=t.schema.children)||void 0===n?void 0:n.length)>0?e(Ll,{styles:t.schema.styles,children:({classnames:n,mapperRef:o})=>{var d;return e("a",{href:t.schema.src,"data-testid":t.testId,"data-e2e":"StaticLink",target:null!=i?i:"_blank",tabIndex:r,"aria-disabled":s,"aria-label":null!==(d=t.schema.a11yLabel)&&void 0!==d?d:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:t.isInline?"inline":"block"},l),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?zl(t.schema.children,null==n?void 0:n.own,o,a,t.testId):ql(t.schema.children,a,t.testId)})}}):null}function Wl(t,n,i){if("StaticLink"===t.type)return e(Kl,{schema:t.node,testId:n,isInline:null!=i&&i})}const Yl={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function Jl(t){const n=(i=t.schema.iconKey,u(vr)(i,"icons"));var i;const a=null==n?void 0:n.name,o=t.schema.styles?gn(Yl,t.schema.styles):Yl,r=ur(),{styles:l}=Tt(r);return a?e(Ll,{styles:o,children:({classnames:n})=>e("span",{style:Object.assign(Object.assign({},l),{display:"inline-block"}),"aria-hidden":"true",className:"rokt-icon"+((null==n?void 0:n.own)?" "+n.own:""),"data-testid":t.testId,"data-e2e":`DataIcon-${a}`,children:a})}):null}function Xl(t){const n=Qa(),i=r(null),l=wr(),s=Ro(),d=no(),c=(d?ja(l,s,d):Ue)`
2
2
  display: flex;
3
3
  position: relative;
4
4
  overflow: hidden;
@@ -2686,6 +2686,11 @@ export interface DynamicIntegerPredicate {
2686
2686
  /** The integer value to compare against. */
2687
2687
  value: number;
2688
2688
  }
2689
+ export interface DynamicNumericComparePredicate {
2690
+ left: string;
2691
+ condition: OrderableWhenCondition;
2692
+ right: string;
2693
+ }
2689
2694
  /**
2690
2695
  * Condition operators for string comparisons. Supports both equality checks
2691
2696
  * and existence checks on string values.
@@ -7155,6 +7160,9 @@ export type PlaceholderPredicate =
7155
7160
  | {
7156
7161
  type: "Numeric";
7157
7162
  content: DynamicIntegerPredicate;
7163
+ } | {
7164
+ type: "NumericCompare";
7165
+ content: DynamicNumericComparePredicate;
7158
7166
  };
7159
7167
  /**
7160
7168
  * Child-layout nodes permitted within scrollable containers. Retains offer-scoped
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.full.d.ts","../src/schema.ts","../src/v0.1/index.ts","../src/v0.10/index.ts","../src/v0.11/index.ts","../src/v0.12/index.ts","../src/v0.13/index.ts","../src/v0.14/index.ts","../src/v0.15/index.ts","../src/v0.16/index.ts","../src/v0.17/index.ts","../src/v0.18/index.ts","../src/v0.19/index.ts","../src/v0.2/index.ts","../src/v0.20/index.ts","../src/v0.21/index.ts","../src/v0.22/index.ts","../src/v0.23/index.ts","../src/v0.3/index.ts","../src/v0.4/index.ts","../src/v0.5/index.ts","../src/v0.6/index.ts","../src/v0.7/index.ts","../src/v0.8/index.ts","../src/v0.9/index.ts","../src/v1.0/index.ts","../src/v1.1/index.ts","../src/v1.10/index.ts","../src/v1.11/index.ts","../src/v1.12/index.ts","../src/v1.13/index.ts","../src/v1.14/index.ts","../src/v1.15/index.ts","../src/v1.16/index.ts","../src/v1.17/index.ts","../src/v1.18/index.ts","../src/v1.19/index.ts","../src/v1.2/index.ts","../src/v1.20/index.ts","../src/v1.21/index.ts","../src/v1.22/index.ts","../src/v1.23/index.ts","../src/v1.24/index.ts","../src/v1.25/index.ts","../src/v1.26/index.ts","../src/v1.27/index.ts","../src/v1.28/index.ts","../src/v1.29/index.ts","../src/v1.3/index.ts","../src/v1.4/index.ts","../src/v1.5/index.ts","../src/v1.6/index.ts","../src/v1.7/index.ts","../src/v1.8/index.ts","../src/v1.9/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"2353685b6fa64381a9aa4f457cc625c3b707bdb945240b0b4ef5e694dd424467","signature":"c6a4f6d9fc7232617901b5e483c653b533442ff244675197c5d1e404eb93f5d7"},{"version":"b8dbccf18695917e21f5a3b3f15f2ae7fe1f0ba59bbe03cebf5d6714e90b86fd","signature":"251dbfddda588d64c4178e1f1f73debab11288e24d7f53b035b10a6293df9252"},{"version":"2ac495e09675923c4a8054db4a1de36fec8945231ded3d31afc81384192fe15d","signature":"6246fa17827251bf77fd096ba07a7e567f0da2e56d8a863f6027f4035774c55e"},{"version":"3fc7361c377437b8845109cb5fdbf904e3072f21cdca774ae505e28e6eac781b","signature":"010e137c60df1e7ccfa72379325a53e87528946145d536cd24d6dbc9709b1ab0"},{"version":"da799f28a2c35810759c78b2bc79bf961bc17ec597400f51ea7a4c7cf269dc7b","signature":"3a4ac732bded4e4e51382169dab44bab82ac62e9f844ced2bc0467b9a7d50c6e"},{"version":"835e9d1d3a5e8d7eb696a63d978d313645dc041d46147fc77df1fab835d2031b","signature":"ca298a96efa9f6682c5df0f19a48f242fc5f00876f6dffacce6d8edfe1bef3dd"},{"version":"648024c9264eeb38f27bde8a50ae38ad49f94c161902f57488d04944fb1176d7","signature":"2c6f2f9d93a87bd7928a22b08db6d7cd5d33020747b7bdf8dd1e1815376231c2"},{"version":"57ce0c7c318b7d4a4ccd27df33096e26b7da5dfaecbae5663b9b333c260e8138","signature":"888e15ea940c75c567861fa8b53ab14cf2207d26c45c328dfbd2c5853e69b365"},{"version":"8201e5c18d50538be52e8efdcb4253954a05060a40c7d26b169b5b478cdd66ce","signature":"e6922c644770fb9bd94357545b82b745e9c5e28301373235c7e94a0fe475aee1"},{"version":"99b5fb7000fe75d5dccb0828a437e829465ddf4995414430fba1445165977442","signature":"428339452cdbf6d31163ce7c639a91b8c1dbf6499c6a84e061ee8af9b2b405f2"},{"version":"54930cf0bbc73a256454bf1c4e5030d194884a4d4ee5a68e281f0fd8b6b9d2f4","signature":"2667f2d9950a23d6e0b41cdf40ff935df194b32dad57c62c07e6198a585b6a9e"},{"version":"213f053c2d414a3ac0252cc3f125048e2d77b92645267f22961e66cd3a61c858","signature":"cbe769f6acf5834aa6b466137e89b88454a014a1abf3ac5654ae9236452721d0"},{"version":"5e4a3432127227894b89f7ec57c2cd9d652e09949a39b91cf74362735bf0cb31","signature":"040be0f5dc830a9dae6353704958282ea9aa1657d468c5ce622f608971486fbb"},{"version":"c8f095ee7c3cc985311a72f3a8eb3b08e5dec350167550a997bfd95fd2f22777","signature":"908877d5ad1c82b8bc41771769ec05f8b4004c4c7eecfc9e876851d9af5893ed"},{"version":"478ff9af368f6f49e3f30ae7087a2414752ae90f978d53ce6af332a5b64d3df5","signature":"91c2089996df7fd4999bfc06fd58ea175bdf0eb33ec527e34c161ac9b2910428"},{"version":"6f115f7fb58810c122213f39c06986ce1fed3d63a7abaf711deff5bbddf84dd3","signature":"55b5dfc78a9a752ca708f4a370112a1b445e1ec16dfb97a80f6c9601e05a3df7"},{"version":"06c4bbaa1802bdaae0b03e975e5d9057f6ba303e51ba6e454b757c1c2d35e616","signature":"4f05f8c7eb738e1b06bc7cda1101f2529488ff17c7f9fdc21ec676924ae87053"},{"version":"33c3181f0d36bf73759224eae1034dcc417d2f545e7052da2c539be3b599fe02","signature":"33460cf4b7d93a760bed8b53216124e94bb5c46642bb1b94ccdfa5abc6bfb859"},{"version":"4d98bd4201aff5eca519e72e84cd8b0795f904c0ee062991326b218b937931e5","signature":"88925c8af50479380be464ec7c7fb600b48600bba0c6d97bbb9ade8373f7f522"},{"version":"bc7800a3e37e04403220a55a2dbd6fd49eaf439e17c5db7e9a2ab3c7ccdcdc63","signature":"37d17837dcc8dca489ac4fceed7f2b366c7a38bc7686edb8d5564f3ffa2fd26e"},{"version":"d5c81a3863458e3dfbd4fd2eb8a624546f52a5a26b14c57884e5bc58e53e6a50","signature":"1b10375d2227d5173f409c8c20177f46b6f6cd2cda9d5a572b5224adf49c764d"},{"version":"fd9f03c0b966da287fb6aa3f68c6c1c2bea62a280507af338279d703a5511d03","signature":"0c4a518d922c0448cec26c4174570138160f213465424399736ba9c8c14d3050"},{"version":"4977ba204867a157ffeb9a103f73a84f2e96b6c844bc6371bbc95e75af1223d2","signature":"677777e0eb9488837d432a0ab2fdcc3185a2671f2e84dddebac6d7a0181333c0"},{"version":"de267e86ce4c75d17f6af3adc4457919a402e5b73844fb8457b34f22837da4ff","signature":"255e1de92e3e789cf555d86f869bea46ace103e25f1c9e2d52337f9edf722932"},{"version":"3ec266cb489b67ceaf407fe3b2182f7f0a9c2fb0478cb4a297f48e19da9aa6ff","signature":"4e11b84220b494c0703a2b8ae7788a4a7c7089da9058b361731cb300911a11de"},{"version":"ff4584eb2c5d033e88d732f85ec916219299d88eae46e93181133a020d0803d5","signature":"f8611f9960381d1a7914221b07b12b17724abcd53733e2a53059a0c95cf0ca11"},{"version":"6da65aa6b9b06f39ad8bcc798a3ac712e150e37f405f3d996fa823985ee79d72","signature":"f34cb83877e43df98c22b93aacda7b72df593c811dd3f39b94785d5eab799aad"},{"version":"4ff76771d3e8c5185a328f9eab5253910d4cb65aa06668168c00ff57c4a33e6a","signature":"8b455f5f645381c7bb461d602f0cfdc123c2b054fdc7f27335192f11d57cac15"},{"version":"37036573ac6c569255e5cb72c3167ca8658f8d791a77f6a0883a6ebc311999ee","signature":"e23fa1d19e211fb28a8b62a2eaa8b187411ccdf91c68a843c36d437c4f403204"},{"version":"eafbd9ad234ca4efc820e8ecbe58048f4d6811b12125047b6503d817a607fdd1","signature":"2abe995d5fa268d37d40e70dcafd8235a88f7d70380e8d179be957c48f819c23"},{"version":"30d40c6d63895b8e954b205a6e850c9cea40f6eebc627fb02f72dd594c96ebb0","signature":"6a97c4d6cc1dcfb98bcf661c3a754d59d46585814898a1c2007d85d8553ec0bd"},{"version":"594312792a07b25dde78eb29b9db90ef8ff0f52c9eb825c96c5bccf57141e7de","signature":"268b6ea13ecc680a2bfef90be9536ee355dc1b96b940b51919bbcb042e98fc77"},{"version":"50fecd177fea7a47a42d04d34888e0164d0bff74ee8f2789d936cb098aa55fa3","signature":"03329c99383f028a224b4fd7a3e4cfb33cbda84c43d58953f95cdbf699303efc"},{"version":"67b7433f44980bb93b30735c0ffdfffec3e9db78d2beafff5fe6bbe267f542a5","signature":"b6b99b67a1d3e6e84506f1a9bb2237d1d0c9e0ad859e64f7fbb2b2152addf531"},{"version":"c43ac23cd6be9fe6b3e90a04078853a0c6a4e9e463ca48d4c9347b8fdb4919ac","signature":"a8f2d402aef19296f21e75d9659c305819b7f714a236534f7f0477795a5cd83a"},{"version":"87c11fcb9ff6e2f3a7514d918570fa49404cff278161795d20f812c4476db713","signature":"434edb34593efe9436c9917c513893a5a4959a73b7538dfe6fb6d69da8d21ee7"},{"version":"8edffa3c3c2488c8513626ddfde0f781a2b97d9283a6ffb646ea8914f5c963fd","signature":"43c283b35e5949f74d08eae1e1f616c0a6dd1c969eb80df06328a86aab26053f"},{"version":"c84788177647ed71a2e5f48ac9fa045bea8cb6f2d95df4ef3836ca3edf0bc12b","signature":"3a14982d743d39d4d9d495ea7caa0c1579fbf6aa47e775e10a90c76527d2e599"},{"version":"e03dd5ba787a5cd0fe14d9ee7b0fd46d474a9c8c6083eebd0ce3098e2808009b","signature":"6f690881432a52ea703c057e594cc87564b39ee4c8bf1506b0078101204cc35e"},{"version":"224d380a3471b4fda9b982047b91de56af77aa4c38acc54e82e9545898692977","signature":"fb2c4360175910ddeccedca6cdee70e666c315147fabea4345ba8aa4ed00f58f"},{"version":"99a61c072326bf338e37cc04e4e413773911b9427034cdc183875070b537cd42","signature":"8858154fe023f9e6982d23c643b6c6fa85674ac2348e00957274839ae1163211"},{"version":"94cc732c8eda8f656c995ed8fc88915fa40a5a4280823d4c3b9eda0c4d36f3e8","signature":"eb18690734aab5fa752dc8a726214653305d2c8af0bc4a087e95f7473bc9f990"},{"version":"ccbe53f0667f11728949b60ade535c9447d818a758c905212c8df0a3207fdbc3","signature":"1cbb9ce7c1697303b89c3f9e816daaaa8da91cef5f708c587c659d1b223ab69f"},{"version":"3853ff89982912f9e9495ee5737e7b28a9aeeca7e38873e611a11e34ee902a03","signature":"749065daa6ecde2a9c25f4ab8aa8c4bcd08a99bbf689526d2d8b691c3f8fce68"},{"version":"08b15259893a4cb3af575d8c258d327016465d9d8e07d86c7437933d03f50bf9","signature":"857e54af8d7d59ad3ef85285704189e813ded1f3439762dac6002fe3c321ebf3"},{"version":"0a85172430075bced3f069e0d8748264dd8bf212775fb3c6954cff72aff4d2c0","signature":"2c563c049c8fef4c7e1ca97061f7506feb7f752b5b44d6566fb32e9fc93c3232"},{"version":"db99ddc445c12603ee6b9b6ca889224f7ea180d0e9c86bc3cc219a4c81eb4ce2","signature":"c0f646b2cbc0fb6161d5c5ca3171dedce6f498efecb8c10d0b4a979376f7c153"},{"version":"2d5075610954809e4e5849a1e9e40a0d0b63d1a2aa5062cf843b643a722f41c6","signature":"91b4b642f471b5711186f9c86fb6797954d22685f3d98a877c6c02f731c0fba2"},{"version":"65c911ff2bff53db65d94c893c5be3bad26e0df7c1c727ec512a8f9ec9df7169","signature":"5a44eee2b98a9ae6f7511b6d4fba1f7c777c6efd60aa16858e27dedfd1fe2fa7"},{"version":"65259f8f3fdcfa150460ea3887c2bda92d6b4d854b221c7946965080790c23e5","signature":"53450961a69777ec2da1d262db733e2be236330084609850acfa7a2e4a1a076d"},{"version":"0ed5db07e6db38690d9d36e05dd7031b33755ff937818104b24eb51056007e18","signature":"3d95c8651dff98814bf4dd77f23c21d88a9ca9b6adba3d159ecf1990b4c72f29"},{"version":"9896c7a6322a33f362a57001975db5250a869ff8139613eac0e92f7a19733e8b","signature":"1411fc59220630e5671decb1fe080e67cbd2a7f4a35d21abc8aa811b022ed010"},{"version":"4a58402aaead6751583c98c507c54ab23315ee5a8f2d34f02c7bdceb3ab76f82","signature":"918c4df52b828be63f9f17dcc94bce034bb94bcab758acbe2076faf7568e6f53"},{"version":"4eeb9c94908bb9589670752e495e7719833301cca49832bc7a1e5ef6eb56cf33","signature":"aecb3b10a796a94ac8983420e80562330934cc121702da72e244603385136ae1"}],"options":{"declaration":true,"esModuleInterop":true,"module":99,"outDir":"./","strict":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.full.d.ts","../src/schema.ts","../src/v0.1/index.ts","../src/v0.10/index.ts","../src/v0.11/index.ts","../src/v0.12/index.ts","../src/v0.13/index.ts","../src/v0.14/index.ts","../src/v0.15/index.ts","../src/v0.16/index.ts","../src/v0.17/index.ts","../src/v0.18/index.ts","../src/v0.19/index.ts","../src/v0.2/index.ts","../src/v0.20/index.ts","../src/v0.21/index.ts","../src/v0.22/index.ts","../src/v0.23/index.ts","../src/v0.3/index.ts","../src/v0.4/index.ts","../src/v0.5/index.ts","../src/v0.6/index.ts","../src/v0.7/index.ts","../src/v0.8/index.ts","../src/v0.9/index.ts","../src/v1.0/index.ts","../src/v1.1/index.ts","../src/v1.10/index.ts","../src/v1.11/index.ts","../src/v1.12/index.ts","../src/v1.13/index.ts","../src/v1.14/index.ts","../src/v1.15/index.ts","../src/v1.16/index.ts","../src/v1.17/index.ts","../src/v1.18/index.ts","../src/v1.19/index.ts","../src/v1.2/index.ts","../src/v1.20/index.ts","../src/v1.21/index.ts","../src/v1.22/index.ts","../src/v1.23/index.ts","../src/v1.24/index.ts","../src/v1.25/index.ts","../src/v1.26/index.ts","../src/v1.27/index.ts","../src/v1.28/index.ts","../src/v1.29/index.ts","../src/v1.3/index.ts","../src/v1.30/index.ts","../src/v1.4/index.ts","../src/v1.5/index.ts","../src/v1.6/index.ts","../src/v1.7/index.ts","../src/v1.8/index.ts","../src/v1.9/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"1134db066e7e5634a450019c5ae8e331f678619918398b47c2fe34bdbdef9b9e","signature":"58cf1cf6ee5dc2c70c55a6e4cf390964c68644c0b386eb2a918a24a3b537a30d"},{"version":"b8dbccf18695917e21f5a3b3f15f2ae7fe1f0ba59bbe03cebf5d6714e90b86fd","signature":"251dbfddda588d64c4178e1f1f73debab11288e24d7f53b035b10a6293df9252"},{"version":"2ac495e09675923c4a8054db4a1de36fec8945231ded3d31afc81384192fe15d","signature":"6246fa17827251bf77fd096ba07a7e567f0da2e56d8a863f6027f4035774c55e"},{"version":"3fc7361c377437b8845109cb5fdbf904e3072f21cdca774ae505e28e6eac781b","signature":"010e137c60df1e7ccfa72379325a53e87528946145d536cd24d6dbc9709b1ab0"},{"version":"da799f28a2c35810759c78b2bc79bf961bc17ec597400f51ea7a4c7cf269dc7b","signature":"3a4ac732bded4e4e51382169dab44bab82ac62e9f844ced2bc0467b9a7d50c6e"},{"version":"835e9d1d3a5e8d7eb696a63d978d313645dc041d46147fc77df1fab835d2031b","signature":"ca298a96efa9f6682c5df0f19a48f242fc5f00876f6dffacce6d8edfe1bef3dd"},{"version":"648024c9264eeb38f27bde8a50ae38ad49f94c161902f57488d04944fb1176d7","signature":"2c6f2f9d93a87bd7928a22b08db6d7cd5d33020747b7bdf8dd1e1815376231c2"},{"version":"57ce0c7c318b7d4a4ccd27df33096e26b7da5dfaecbae5663b9b333c260e8138","signature":"888e15ea940c75c567861fa8b53ab14cf2207d26c45c328dfbd2c5853e69b365"},{"version":"8201e5c18d50538be52e8efdcb4253954a05060a40c7d26b169b5b478cdd66ce","signature":"e6922c644770fb9bd94357545b82b745e9c5e28301373235c7e94a0fe475aee1"},{"version":"99b5fb7000fe75d5dccb0828a437e829465ddf4995414430fba1445165977442","signature":"428339452cdbf6d31163ce7c639a91b8c1dbf6499c6a84e061ee8af9b2b405f2"},{"version":"54930cf0bbc73a256454bf1c4e5030d194884a4d4ee5a68e281f0fd8b6b9d2f4","signature":"2667f2d9950a23d6e0b41cdf40ff935df194b32dad57c62c07e6198a585b6a9e"},{"version":"213f053c2d414a3ac0252cc3f125048e2d77b92645267f22961e66cd3a61c858","signature":"cbe769f6acf5834aa6b466137e89b88454a014a1abf3ac5654ae9236452721d0"},{"version":"5e4a3432127227894b89f7ec57c2cd9d652e09949a39b91cf74362735bf0cb31","signature":"040be0f5dc830a9dae6353704958282ea9aa1657d468c5ce622f608971486fbb"},{"version":"c8f095ee7c3cc985311a72f3a8eb3b08e5dec350167550a997bfd95fd2f22777","signature":"908877d5ad1c82b8bc41771769ec05f8b4004c4c7eecfc9e876851d9af5893ed"},{"version":"478ff9af368f6f49e3f30ae7087a2414752ae90f978d53ce6af332a5b64d3df5","signature":"91c2089996df7fd4999bfc06fd58ea175bdf0eb33ec527e34c161ac9b2910428"},{"version":"6f115f7fb58810c122213f39c06986ce1fed3d63a7abaf711deff5bbddf84dd3","signature":"55b5dfc78a9a752ca708f4a370112a1b445e1ec16dfb97a80f6c9601e05a3df7"},{"version":"06c4bbaa1802bdaae0b03e975e5d9057f6ba303e51ba6e454b757c1c2d35e616","signature":"4f05f8c7eb738e1b06bc7cda1101f2529488ff17c7f9fdc21ec676924ae87053"},{"version":"33c3181f0d36bf73759224eae1034dcc417d2f545e7052da2c539be3b599fe02","signature":"33460cf4b7d93a760bed8b53216124e94bb5c46642bb1b94ccdfa5abc6bfb859"},{"version":"4d98bd4201aff5eca519e72e84cd8b0795f904c0ee062991326b218b937931e5","signature":"88925c8af50479380be464ec7c7fb600b48600bba0c6d97bbb9ade8373f7f522"},{"version":"bc7800a3e37e04403220a55a2dbd6fd49eaf439e17c5db7e9a2ab3c7ccdcdc63","signature":"37d17837dcc8dca489ac4fceed7f2b366c7a38bc7686edb8d5564f3ffa2fd26e"},{"version":"d5c81a3863458e3dfbd4fd2eb8a624546f52a5a26b14c57884e5bc58e53e6a50","signature":"1b10375d2227d5173f409c8c20177f46b6f6cd2cda9d5a572b5224adf49c764d"},{"version":"fd9f03c0b966da287fb6aa3f68c6c1c2bea62a280507af338279d703a5511d03","signature":"0c4a518d922c0448cec26c4174570138160f213465424399736ba9c8c14d3050"},{"version":"4977ba204867a157ffeb9a103f73a84f2e96b6c844bc6371bbc95e75af1223d2","signature":"677777e0eb9488837d432a0ab2fdcc3185a2671f2e84dddebac6d7a0181333c0"},{"version":"de267e86ce4c75d17f6af3adc4457919a402e5b73844fb8457b34f22837da4ff","signature":"255e1de92e3e789cf555d86f869bea46ace103e25f1c9e2d52337f9edf722932"},{"version":"3ec266cb489b67ceaf407fe3b2182f7f0a9c2fb0478cb4a297f48e19da9aa6ff","signature":"4e11b84220b494c0703a2b8ae7788a4a7c7089da9058b361731cb300911a11de"},{"version":"ff4584eb2c5d033e88d732f85ec916219299d88eae46e93181133a020d0803d5","signature":"f8611f9960381d1a7914221b07b12b17724abcd53733e2a53059a0c95cf0ca11"},{"version":"6da65aa6b9b06f39ad8bcc798a3ac712e150e37f405f3d996fa823985ee79d72","signature":"f34cb83877e43df98c22b93aacda7b72df593c811dd3f39b94785d5eab799aad"},{"version":"4ff76771d3e8c5185a328f9eab5253910d4cb65aa06668168c00ff57c4a33e6a","signature":"8b455f5f645381c7bb461d602f0cfdc123c2b054fdc7f27335192f11d57cac15"},{"version":"37036573ac6c569255e5cb72c3167ca8658f8d791a77f6a0883a6ebc311999ee","signature":"e23fa1d19e211fb28a8b62a2eaa8b187411ccdf91c68a843c36d437c4f403204"},{"version":"eafbd9ad234ca4efc820e8ecbe58048f4d6811b12125047b6503d817a607fdd1","signature":"2abe995d5fa268d37d40e70dcafd8235a88f7d70380e8d179be957c48f819c23"},{"version":"30d40c6d63895b8e954b205a6e850c9cea40f6eebc627fb02f72dd594c96ebb0","signature":"6a97c4d6cc1dcfb98bcf661c3a754d59d46585814898a1c2007d85d8553ec0bd"},{"version":"594312792a07b25dde78eb29b9db90ef8ff0f52c9eb825c96c5bccf57141e7de","signature":"268b6ea13ecc680a2bfef90be9536ee355dc1b96b940b51919bbcb042e98fc77"},{"version":"50fecd177fea7a47a42d04d34888e0164d0bff74ee8f2789d936cb098aa55fa3","signature":"03329c99383f028a224b4fd7a3e4cfb33cbda84c43d58953f95cdbf699303efc"},{"version":"67b7433f44980bb93b30735c0ffdfffec3e9db78d2beafff5fe6bbe267f542a5","signature":"b6b99b67a1d3e6e84506f1a9bb2237d1d0c9e0ad859e64f7fbb2b2152addf531"},{"version":"c43ac23cd6be9fe6b3e90a04078853a0c6a4e9e463ca48d4c9347b8fdb4919ac","signature":"a8f2d402aef19296f21e75d9659c305819b7f714a236534f7f0477795a5cd83a"},{"version":"87c11fcb9ff6e2f3a7514d918570fa49404cff278161795d20f812c4476db713","signature":"434edb34593efe9436c9917c513893a5a4959a73b7538dfe6fb6d69da8d21ee7"},{"version":"8edffa3c3c2488c8513626ddfde0f781a2b97d9283a6ffb646ea8914f5c963fd","signature":"43c283b35e5949f74d08eae1e1f616c0a6dd1c969eb80df06328a86aab26053f"},{"version":"c84788177647ed71a2e5f48ac9fa045bea8cb6f2d95df4ef3836ca3edf0bc12b","signature":"3a14982d743d39d4d9d495ea7caa0c1579fbf6aa47e775e10a90c76527d2e599"},{"version":"e03dd5ba787a5cd0fe14d9ee7b0fd46d474a9c8c6083eebd0ce3098e2808009b","signature":"6f690881432a52ea703c057e594cc87564b39ee4c8bf1506b0078101204cc35e"},{"version":"224d380a3471b4fda9b982047b91de56af77aa4c38acc54e82e9545898692977","signature":"fb2c4360175910ddeccedca6cdee70e666c315147fabea4345ba8aa4ed00f58f"},{"version":"99a61c072326bf338e37cc04e4e413773911b9427034cdc183875070b537cd42","signature":"8858154fe023f9e6982d23c643b6c6fa85674ac2348e00957274839ae1163211"},{"version":"94cc732c8eda8f656c995ed8fc88915fa40a5a4280823d4c3b9eda0c4d36f3e8","signature":"eb18690734aab5fa752dc8a726214653305d2c8af0bc4a087e95f7473bc9f990"},{"version":"ccbe53f0667f11728949b60ade535c9447d818a758c905212c8df0a3207fdbc3","signature":"1cbb9ce7c1697303b89c3f9e816daaaa8da91cef5f708c587c659d1b223ab69f"},{"version":"3853ff89982912f9e9495ee5737e7b28a9aeeca7e38873e611a11e34ee902a03","signature":"749065daa6ecde2a9c25f4ab8aa8c4bcd08a99bbf689526d2d8b691c3f8fce68"},{"version":"08b15259893a4cb3af575d8c258d327016465d9d8e07d86c7437933d03f50bf9","signature":"857e54af8d7d59ad3ef85285704189e813ded1f3439762dac6002fe3c321ebf3"},{"version":"0a85172430075bced3f069e0d8748264dd8bf212775fb3c6954cff72aff4d2c0","signature":"2c563c049c8fef4c7e1ca97061f7506feb7f752b5b44d6566fb32e9fc93c3232"},{"version":"db99ddc445c12603ee6b9b6ca889224f7ea180d0e9c86bc3cc219a4c81eb4ce2","signature":"c0f646b2cbc0fb6161d5c5ca3171dedce6f498efecb8c10d0b4a979376f7c153"},{"version":"2d5075610954809e4e5849a1e9e40a0d0b63d1a2aa5062cf843b643a722f41c6","signature":"91b4b642f471b5711186f9c86fb6797954d22685f3d98a877c6c02f731c0fba2"},{"version":"2353685b6fa64381a9aa4f457cc625c3b707bdb945240b0b4ef5e694dd424467","signature":"c6a4f6d9fc7232617901b5e483c653b533442ff244675197c5d1e404eb93f5d7"},{"version":"65c911ff2bff53db65d94c893c5be3bad26e0df7c1c727ec512a8f9ec9df7169","signature":"5a44eee2b98a9ae6f7511b6d4fba1f7c777c6efd60aa16858e27dedfd1fe2fa7"},{"version":"65259f8f3fdcfa150460ea3887c2bda92d6b4d854b221c7946965080790c23e5","signature":"53450961a69777ec2da1d262db733e2be236330084609850acfa7a2e4a1a076d"},{"version":"0ed5db07e6db38690d9d36e05dd7031b33755ff937818104b24eb51056007e18","signature":"3d95c8651dff98814bf4dd77f23c21d88a9ca9b6adba3d159ecf1990b4c72f29"},{"version":"9896c7a6322a33f362a57001975db5250a869ff8139613eac0e92f7a19733e8b","signature":"1411fc59220630e5671decb1fe080e67cbd2a7f4a35d21abc8aa811b022ed010"},{"version":"4a58402aaead6751583c98c507c54ab23315ee5a8f2d34f02c7bdceb3ab76f82","signature":"918c4df52b828be63f9f17dcc94bce034bb94bcab758acbe2076faf7568e6f53"},{"version":"4eeb9c94908bb9589670752e495e7719833301cca49832bc7a1e5ef6eb56cf33","signature":"aecb3b10a796a94ac8983420e80562330934cc121702da72e244603385136ae1"}],"options":{"declaration":true,"esModuleInterop":true,"module":99,"outDir":"./","strict":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114]},"version":"4.9.5"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-layout-schema",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "description": "DCUI schema library for Typescript",
5
5
  "scripts": {
6
6
  "build": "tsc --project ./tsconfig.json",