@rokt/dcui-orchestrator 1.2.1-rc.3 → 1.2.1-rc.4
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.cjs +29 -29
- package/dist/index.js +26 -26
- package/dist/libraries/dcui-components/src/components/data-mapper/data-mapper.d.ts +4 -0
- package/dist/libraries/dcui-components/src/contexts/data-mapper-context.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/actions/attributes.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +4 -1
- package/dist/libraries/layout-renderer-utils/src/models/state/attributes.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/attributes/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/attributes/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/channels.d.ts +3 -3
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
- package/dist/libraries/orchestrator/src/actions/index.d.ts +1 -0
- package/dist/libraries/orchestrator/src/reducers/index.d.ts +1 -0
- package/dist/libraries/plugin-utils/src/plugin-service/attributes.d.ts +7 -0
- package/dist/libraries/plugin-utils/src/plugin-service/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom/client"),i=require("react-redux"),a=require("ramda"),o=require("@emotion/css"),r=require("redux-saga/effects"),s=require("redux-saga"),l=require("@reduxjs/toolkit"),c=require("@redux-saga/core/effects"),d=require("embla-carousel-react"),u=require("insane"),p=require("@emotion/css/create-instance"),f=require("embla-carousel-autoplay"),h=require("embla-carousel-fade");function v(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var C,y,m=v(t);function g(e){const t=["elements","own"],n=["default","dimension","width","type"],i=["default","dimension","width","value"],o=["default","dimension","minWidth"],r=a.path(t,e);return r&&Array.isArray(r)&&r.length?a.assocPath(t,r.map(a.when(a.allPass([a.hasPath(n),a.complement(a.hasPath(o)),a.pathEq("fixed",n)]),(e=>a.assocPath(o,a.path(i,e),e)))),e):e}function b(e){const t="DISABLED"===e;return{tabIndex:t?-1:void 0,styles:t?{pointerEvents:"none",userSelect:"none"}:void 0,isDisabled:t}}function E(e,t){if("EscapeHatch"===t.type)try{return JSON.parse(t.node.data).type===e}catch(e){return!1}return!1}function I(){return"ontouchstart"in document.documentElement}function x(e){return null!=e&&"object"==typeof e&&("url"in e||"name"in e)&&"config"in e}function L(e){return null!=e&&"object"==typeof e&&"id"in e&&"action"in e&&"instanceGuid"in e&&"signalType"in e}function D(e){return L(e)&&"Fulfillment"===e.action}function w(e){return L(e)&&"Url"===e.action}function S(e){return L(e)&&"ExternalPaymentTrigger"===e.action}function A(e){return(D(e)||w(e))&&"RealTime"===e.conversionType&&"rclid"in e}function T(e){return(D(e)||w(e))&&"RealTimeReferral"===e.conversionType&&"rclid"in e}function M(e){switch(e){case"SignalGatedResponse":return"SignalGatedResponse";case"SignalOptInResponse":return"SignalOptInResponse";case"SignalOptOutResponse":return"SignalOptOutResponse";default:return"SignalResponse"}}function j(e){return e.slice(e.lastIndexOf(":")+1)}function O(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"}(C||(C={})),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"}(y||(y={}));const k="FAILED_TO_PROCESS_PARTNER_UPDATE_CART_ITEM";function V(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 R={pluginId:"shared",pageInstanceGuid:"N/A"},H="offerComplete",_="checkout",P="layoutMinimized";function N(e){return e.registrationCount>0}function F(e){return e.validated&&!e.valid&&e.errorVisible}function $(e,t=[]){const n=0===e.trim().length;for(const i of t){if(n&&"Required"!==i.type)continue;const t=Z(e,i);if(t)return t}return""}function Z(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 G(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])=>N(e))).map((([e])=>({formKey:t,fieldKey:e})))}return[{formKey:t.slice(0,i),fieldKey:t.slice(i+1)}]}))}var B;!function(e){e.DCUI="DCUI",e.Partner="partner"}(B||(B={}));const U=["SignalCartItemQuantitySelected","SignalProductItemResponse","SignalUserInteraction","SignalOptInResponse","SignalOptOutResponse"],z="ERROR",q="INFO",K="WARNING";class W extends Error{constructor(e,t){super(t),this.code=null!=e?e:"UNHANDLED_EXCEPTION"}toString(){return`CodedError (${this.code}): ${this.message}`}}const Y=["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","PLACEMENT_CLOSED","PLACEMENT_COMPLETED","PLACEMENT_INTERACTIVE","PLACEMENT_FAILURE"];const J=(e,t)=>a.concat(e,a.slice(e.length,t.length,t)),X=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t)){const n=e.length>t.length?J(t,e):t,i=t.length>e.length?J(e,t):e;return a.zipWith(ie,i,n)}return t},Q=e=>null==e,ee=e=>!Q(e),te=(e,t)=>Q(t)?e:t,ne=(e,t)=>{throw new W("MERGE_TYPE_INCONSISTENCY",`Unable to merge values for inconsistent types, left = ${e}, right = ${t}`)};function ie(e,t){return a.cond([[(e,t)=>ee(e)&&ee(t)&&a.type(e)!==a.type(t)&&("Object"===a.type(e)||"Object"===a.type(t)),ne],[(e,t)=>Q(e)||Q(t),te],[(e,t)=>"Object"===a.type(e),a.mergeDeepWith(ie)],[(e,t)=>"Array"===a.type(e),X],[a.T,a.flip(a.unary(a.identity))]])(e,t)}function ae(e,t){return ie(e,t)}function oe(e=0){return`breakpoint-${e}px`}function re(e,t){return t?`${t}-child${e}`:void 0}const se="GLOBAL/RAISE_METRIC",le="GLOBAL/OFFER_ENGAGEMENT";function ce(e){return null!=e&&"object"==typeof e&&"responseOption"in e&&D(e.responseOption)&&"fulfillment"in e&&x(e.fulfillment)}function de(e){return S(e)}function ue(e){return w(e)}function pe(e){return function(e){return L(e)&&"CaptureOnly"===e.action}(e)}function fe(e){return!!(A(e)||"responseOption"in e&&A(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function he(e){return!!(T(e)||"responseOption"in e&&T(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function ve(e,t,n){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(x(n))return{fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId};throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,urlBehavior:n&&"internally"===n.toLowerCase()?"self":t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}const Ce="GLOBAL/RAISE_SIGNAL",ye="GLOBAL/OFFER_LIFECYCLE",me=new Set(["__proto__","constructor","prototype"]);function ge(e){return"string"==typeof e&&e.length>0&&!me.has(e)}const be="GLOBAL/SET_CUSTOM_STATE";const Ee="ProcessingState",Ie="DevicePayErrorState",xe="applePayUnavailable",Le="GLOBAL/SEND_PARTNER",De="GLOBAL/SET_DOMAIN_STATE",we="GLOBAL/LAYOUT_EVENT",Se="GLOBAL/PREPARE_SIGNAL",Ae="GLOBAL/OPEN_LINK",Te="GLOBAL/SET_PARTNER_VALIDATION_STATUS",Me="GLOBAL/SET_GLOBAL_OFFER_DATA_CART",je="GLOBAL/LAUNCH_CHILD_LAYOUT",Oe="GLOBAL/CART_ITEM_EVENT/INITIATE",ke="GLOBAL/CART_ITEM_EVENT/RESPONSE",Ve="OVERLAY/DISMISS_OVERLAY",Re="plugin-overlay",He="GLOBAL/TRIGGER_ACTION";const _e="ERROR/REPORT",Pe="GLOBAL/REGISTER_FORM_FIELD",Ne="GLOBAL/UNREGISTER_FORM_FIELD",Fe="GLOBAL/SET_FORM_FIELD_VALUE",$e="GLOBAL/SET_FORM_FIELD_TOUCHED",Ze="GLOBAL/VALIDATE_FORM_FIELDS";function Ge(e){const{formKey:t,fieldKey:n}=null!=e?e:{};return ge(t)&&ge(n)}const Be={RAISE_METRIC:se,PREPARE_SIGNAL:Se,OFFER_ENGAGEMENT:le,RAISE_SIGNAL:Ce,OFFER_LIFECYCLE:ye,SEND_PARTNER:Le,SET_CUSTOM_STATE:be,SET_DOMAIN_STATE:De,LAYOUT_EVENT:we,OPEN_LINK:Ae,SET_PARTNER_VALIDATION_STATUS:Te,SET_GLOBAL_OFFER_DATA_CART:Me,LAUNCH_CHILD_LAYOUT:je,INITIATE_CART_ITEM_EVENT:Oe,CART_ITEM_RESPONSE:ke,DISMISS_OVERLAY:Ve,TRIGGER_ACTION:He,REGISTER_FORM_FIELD:Pe,UNREGISTER_FORM_FIELD:Ne,SET_FORM_FIELD_VALUE:Fe,SET_FORM_FIELD_TOUCHED:$e,VALIDATE_FORM_FIELDS:Ze,REPORT_ERROR:_e},Ue="CHILD_LAYOUT/DISPATCH_BEHAVIOR",ze="CHILD_LAYOUT/STATE_SYNC",qe="CHILD_LAYOUT/READY",Ke="CHILD_LAYOUT/REQUEST_DEVICE_PAY";function We(e){return ge(e)&&!e.includes("%^")}const Ye={[He]:function(e){const{action:t}=null!=e?e:{};return"object"==typeof t&&null!==t},[be]:function(e){const{key:t,value:n}=null!=e?e:{};return ge(t)&&"number"==typeof n&&isFinite(n)},[Pe]:function(e){const{formKey:t,fieldKey:n,defaultValue:i,validations:a}=null!=e?e:{};return ge(t)&&ge(n)&&"string"==typeof i&&Array.isArray(a)},[Ne]:Ge,[Fe]:function(e){const{formKey:t,fieldKey:n,value:i,validate:a}=null!=e?e:{};return ge(t)&&ge(n)&&"string"==typeof i&&"boolean"==typeof a},[$e]:Ge,[Ze]:function(e){const{entries:t}=null!=e?e:{};return Array.isArray(t)&&t.every((e=>"string"==typeof e))}};function Je(e){return"object"==typeof e&&null!==e&&1===e.version&&"payload"in e}const Xe="data-open-in-app",Qe="data-click-signal-context";function et(e,n){function i(e){var t;if(!(e.target&&e.target instanceof HTMLElement))return;const i=null===(t=e.target)||void 0===t?void 0:t.closest("a");if(i){const t=i.getAttribute("href"),a=i.getAttribute(Qe);if(a&&n({type:Ce,payload:{name:"SignalUserInteraction",action:"Click",context:a}}),t){e.preventDefault();let a="newTab";i.hasAttribute(Xe)?a="inApp":"_top"===i.getAttribute("target")&&(a="self"),n({type:Ae,payload:{url:t,urlBehaviour:a}})}}}t.useEffect((()=>null!==e?(e.addEventListener("click",i),()=>{e.removeEventListener("click",i)}):()=>{}),[e])}function tt(){const e=t.useRef(null);return t.useEffect((()=>{const t=t=>{"Tab"===t.key&&nt(t,e)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[e]),e}const nt=(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()},it="both",at="linear",ot={hasOverflow:!1,atStart:!0,atEnd:!0};function rt(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 st(e,n){const i=t.useRef(null),[a,o]=t.useState(null),[r,s]=t.useState(ot),l=t.useCallback((e=>{i.current=e,o(e)}),[]),c=!!n;t.useEffect((()=>{if(!a||!c)return;const t=()=>s(rt(a,e));let n;return t(),a.addEventListener("scroll",t,{passive:!0}),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(a),Array.from(a.children).forEach((e=>null==n?void 0:n.observe(e)))),()=>{a.removeEventListener("scroll",t),null==n||n.disconnect()}}),[a,e,c]);const d=t.useMemo((()=>function(e,t,{hasOverflow:n,atStart:i,atEnd:a}){var o,r,s,l,c,d;if(!t||!n)return{};const u=null!==(o=t.edges)&&void 0!==o?o:it,p=null!==(r=t.easing)&&void 0!==r?r:at,f=null!==(s=t.size)&&void 0!==s?s:36,h=null!==(l=t.startSize)&&void 0!==l?l:f,v=null!==(c=t.endSize)&&void 0!==c?c:f,C=("start"===u||"both"===u)&&!i,y=("end"===u||"both"===u)&&!a;if(!C&&!y)return{};const m="horizontal"===e?"to right":"to bottom",g=`linear-gradient(${m},${E=C?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,h):["black 0"],I=y?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%"],[...E,...I].join(",")})`,b=null!==(d=t.clip)&&void 0!==d?d:"border-box";var E,I;return{maskImage:g,WebkitMaskImage:g,maskMode:"alpha",WebkitMaskMode:"alpha",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskClip:b,WebkitMaskClip:b}}(e,n,r)),[e,n,r]);return Object.assign({ref:i,setRef:l,maskStyle:d},r)}function lt(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 ct=a.sortBy(a.prop(1)),dt=a.map(a.prop(0)),ut="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DISPLAY_ERRORS:"true",REPORT_RENDER_ERRORS:"true",USE_MEDIA_QUERY_NESTING:"true"};function pt(e,t){return t?"false"!==ut.USE_MEDIA_QUERY_NESTING?`${n=e,`@media (min-width: ${n}px)`} {${t}}`:t.includes(" & ")?`#app-container.${oe(e)} ${t.trim()}`:`#app-container.${oe(e)} & {${t}}`:"";var n}const ft={hovered:":hover",pressed:":active",focussed:":focus",disabled:":disabled"},ht={selected:'[data-selected="true"]',errored:'[data-errored="true"]'};function vt(e){return function(e){return Object.keys(ft).indexOf(e)>-1}(e)?ft[e]:function(e){return Object.keys(ht).indexOf(e)>-1}(e)?ht[e]:""}const Ct={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 yt(e,t){if(!Ct[e]||!Ct[e][t])throw new Error(`No CSS property mapping exists for styling property: ${e}.${t.toString()}`);return Ct[e][t]}function mt(e,t){return n=>t(...Object.keys(e).map((t=>e[t](n[t]))))}function gt(...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 bt(e,t){return`${e}:${t};`}function Et(e){return function(e,t){return`@media (${e}) {${t}}\n`}("prefers-color-scheme: dark",e)}class It extends Error{constructor(e,t){super(`Invalid styling value '${t}': ${e}.`),this.name=this.constructor.name}}function xt(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 It(n,JSON.stringify(t));return!0}function Lt(e){if(isNaN(e)||"number"!=typeof e&&"string"!=typeof e)return"value must be a number"}function Dt(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 wt(e){if(null==e||""===e)return"value must not be omitted"}function St(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 At(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 Tt(e){if(null!=e&&""!==e)return"value must not be specified"}function Mt(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 jt(...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||Lt(t)),void 0))return}}return`value must be a space separated list of numbers, of one of the following lengths: ${e.join(" ,")}`}}function Ot(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 kt(e){if("string"!=typeof e)return"value must be a string"}const Vt=a.is(Object);function Rt(e){const t=Object.entries(e);return n=>Vt(n)&&!Array.isArray(n)?t.reduce(((e,[t,i])=>e||i(n[t])),void 0):`Input value (${e}) must be an object`}function Ht(e){if("number"!=typeof e&&"string"!=typeof e||isNaN(e)||!(e>=0))return"value must be a positive number"}function _t(e,t,n){return xt(Lt,n)?bt(yt(e,t),`${n}`):""}function Pt(e){return(t,n,i)=>xt(Dt(Object.keys(e)),i)?bt(yt(t,n),`${e[i]}`):""}function Nt(e){return xt(wt,e)?mt({light:t(At,!1),dark:t(Ot(Tt,At),!0)},gt("\n "))(e):"";function t(e,t){return n=>{if(xt(e,n)&&n){const e=bt("background-image",`url("${n}")`);return t?Et(e):e}return""}}}function Ft(e){const t={crop:"auto",fit:"contain",fill:"cover"};return"string"==typeof e&&(e=e.toLowerCase()),xt(Ot(Tt,Dt(Object.keys(t))),e)&&e?bt("background-size",t[e]):""}const $t=a.cond([[a.equals("top-left"),a.always("top left")],[a.equals("top-right"),a.always("top right")],[a.equals("bottom-left"),a.always("bottom left")],[a.equals("bottom-right"),a.always("bottom right")],[a.T,a.identity]]);function Zt(e){const t="string"==typeof e?e.toLowerCase():e;return xt(Ot(Tt,Dt(["top","right","bottom","left","center","top-left","top-right","bottom-left","bottom-right"])),t)&&t?bt("background-position",$t(t)):""}function Gt(e,t,n){return xt(Ot(Lt,jt(2,3,4)),n)?bt(yt(e,t),n.toString().split(" ").map((e=>`${e}px`)).join(" ")):""}function Bt(e){return(t,n,i)=>xt(Mt({fit:Dt(e),percentage:Lt,fixed:Lt}),i)?bt(yt(t,n),Ut(i)):""}function Ut(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 zt=Rt({light:St,dark:Ot(Tt,St)});function qt(e,t,n){return i=>{if(i){const a=bt(yt(e,t),Wt(String(i)));return n?Et(a):a}return""}}function Kt(e,t,n){return xt(zt,n)?mt({light:qt(e,t,!1),dark:qt(e,t,!0)},gt("\n "))(n):""}function Wt(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 Yt=Rt({offsetX:Ot(Tt,Lt),offsetY:Ot(Tt,Lt),blurRadius:Ot(Tt,Lt),spreadRadius:Ot(Tt,Lt),color:zt}),Jt=e=>t=>null!=t?String(t):e,Xt=a.compose(a.concat(a.__,"px"),Jt("0")),Qt=e=>t=>"string"==typeof t?e(t):t,en=a.compose(Qt(a.concat(a.__,"px")),Jt(void 0)),tn=a.compose(Qt(Wt),a.prop("dark"));function nn(e,t,n){return bt(e,mt({offsetX:Xt,offsetY:Xt,blurRadius:t.spreadRadius?Xt:en,spreadRadius:en,color:n},gt(" "))(t))}const an=Rt({edges:Ot(Tt,Dt(["start","end","both"])),size:Ot(Tt,Lt),startSize:Ot(Tt,Lt),endSize:Ot(Tt,Lt),easing:Ot(Tt,Dt(["linear","ease-in","ease-out","ease-in-out"])),clip:Ot(Tt,Dt(["border-box","padding-box","content-box"]))});const on={center:"center","flex-end":"flex-end","flex-start":"flex-start",stretch:"stretch"},rn={container:{justifyContent:Pt(on),alignItems:Pt(on),shadow:function(e,t,n){var i,o,r;if(xt(Yt,n)){const s=yt(e,t);return gt("\n")(nn(s,n,(o="light",r="#80000000",a.compose(Wt,a.propOr(r,o)))),(null===(i=n.color)||void 0===i?void 0:i.dark)?Et(nn(s,n,tn)):"")}return""},gap:Gt,overflow:Pt({hidden:"hidden",visible:"visible"}),scrollMask:function(e,t,n){return null==n||xt(an,n),""},blur:function(e,t,n){return xt(Ht,n)?bt(yt(e,t),`blur(${n.toString()}px)`):""},opacity:_t},text:{textColor:Kt,fontSize:Gt,fontFamily:function(e,t,n){return xt(kt,n)?bt(yt(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:Pt({100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900}),fontStyle:Pt({normal:"normal",italic:"italic"}),lineHeight:Gt,lineLimit:function(e,t,n){return xt(Lt,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:Gt,baselineTextAlign:Pt({super:"super",sub:"sub",baseline:"baseline"}),horizontalTextAlign:Pt({left:"left",right:"right",center:"center",start:"start",end:"end",justify:"justify"}),textDecoration:Pt({underline:"underline","strike-through":"line-through",none:"none"}),textTransform:Pt({capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",none:"none"})},background:{backgroundColor:Kt,backgroundImage:function(e,t,n){return xt(wt,n)?mt({url:Nt,position:Zt,scale:Ft},gt)(n):""}},dimension:{width:Bt(["wrap-content","fit-width"]),maxWidth:Gt,minWidth:Gt,height:Bt(["wrap-content","fit-height"]),maxHeight:Gt,minHeight:Gt,rotateZ:(sn="Z",(e,t,n)=>{const i=`rotate${sn}`;return xt(Lt,n)?bt(yt(e,t),`${i}(${n.toString()}deg)`):""})},flexChild:{alignSelf:Pt(on),weight:_t,order:_t},spacing:{margin:Gt,padding:Gt,offset:function(e,t,n){return xt(jt(2),n)?`transform:translate(${n.split(" ").join("px, ")}px);`:""}},border:{borderColor:Kt,borderRadius:Gt,borderWidth:Gt,borderStyle:Pt({solid:"solid",dashed:"dashed"})}};var sn;function ln(e){return Object.keys(e).reduce(((t,n)=>(n&&e[n]&&Object.keys(e[n]).forEach((i=>{if(!rn[n])throw new Error(`No styling transformers exist for styling category key: ${n}`);const a=rn[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 cn="FAILED_TEMPLATING_DATA",dn=new Map;function un(e){return String.fromCharCode(97+e)}function pn(e,t,n){const i=`${e||R.pluginId}-${void 0!==t?String(t):"outer"}`,a=dn.get(i);if(a&&a.sheet.container.isConnected)return a;const o=function(e,t){const n={key:void 0!==e?`inner-css-${un(e)}`:"outer-css",container:t};return t&&t.parentElement&&(n.container=t.parentElement),p(n)}(t,n);return dn.set(i,o),o}function fn(e,t,n){return pn(e,t,n).css}function hn(e,t,n){return pn(e,t,n).cx}const vn="%%%OWN_CLASS_REF%%%",Cn={placeholderText:"::placeholder"},yn=a.memoizeWith(((e,t,n,i)=>`${String(e)}-${t}-${n}`),mn);function mn(e,t,n,i){const a=fn(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 s=n,l=this.scopeClass,c=Object.entries(null!==(r=s.elements)&&void 0!==r?r:{});try{const t=c.reduce(((t,[n,a])=>Object.assign(Object.assign({},t),{[n]:gn(a,l,i,String(n),e)})),{}),n=Object.entries(t),r=i?"parent-"+o++:"",s=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(vn,r);return Object.assign(Object.assign({},e),{[t]:i?a(i):""})}),{own:`${s}${s&&r?" ":""}${r}`})}catch(e){const t=e;throw t.code="FAILED_PARSING_STYLES",t}}.bind({})}function gn(e,t,n,i,a){return e.map(function(e,t,n){var i;const a=null!==(i=Cn[n])&&void 0!==i?i:"";return i=>Object.entries(i).map((([i,o])=>{const r=o?ln(o):"";switch(!0){case"default"===i:return r?a?`\n &${a} {\n${r}\n}\n`:`\n${r}\n`:"";case Boolean(e):return`\n .${e}${vt(i)} &${a} {\n${r}\n}\n`;case t&&"own"!==n:return`\n .${vn}${vt(i)} &${a} {\n${r}\n}\n`;default:return`\n &${vt(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:`${pt(i,t)}\n`):e}),"")}const bn=t.createContext(a.always(void 0)),En=()=>t.useContext(bn),In=t.createContext(null);function xn(e,n){var i;const a=t.useContext(In);return a&&null!==(i=n(a))&&void 0!==i?i:e}const Ln=t.createContext((()=>{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")})),Dn=Ln.Consumer,wn=()=>t.useContext(Ln),Sn=t=>e.jsx(Ln.Provider,{value:(e,n,i,a)=>t.value(e,null!=n?n:t.overrides,i,a),children:t.children}),An=t.createContext(null),Tn=()=>t.useContext(An),Mn=t.createContext({get(){throw Error("Offer context has not been set")}}),jn=t=>e.jsx(Mn.Provider,{value:{get:()=>t.context},children:t.children}),On=()=>t.useContext(Mn).get(),kn=()=>{try{return t.useContext(Mn).get().creative.copy}catch(e){return}},Vn=new RegExp("<a ([^>]*>((?!</a>).)*</a>)","g"),Rn=a.compose(a.not,a.isEmpty),Hn=a.where({url:Rn,title:Rn});function _n(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(Nn(e,"This Meta Attribute could not be parsed."));return function(e,t,n,i){switch(t){case"openLinks":return function(e,t,n){Pn(t,e,"openLinks",1,2);const i=Fn(t,e,0,(e=>"InApp"===e?"InApp":null),"openLinks meta attribute can only open InApp"),a=$n(t,1,(e=>"string"==typeof e&&e.length?e:null));if("InApp"===i)return n.replace(Vn,((e,t)=>`<a ${Xe} ${a?`${Qe}="${a}" `:""}${t}`));return n}(e,n,i);case"sliceText":return function(e,t,n){Pn(t,e,"sliceText",2,2);const i=Fn(t,e,0,(e=>"Chars"===e?"Chars":null),"sliceText meta attribute can only slice by Chars"),a=Fn(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(Nn(e,`Unknown "SliceBy" value. ${i}`))}(e,n,i);case"timerFormat":return function(e,t,n){var i;Pn(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,s=i?o-60*r:n?o:e,l=[[/hh/,String(a).padStart(2,"0")],[/h/,String(a)],[/mm/,String(r).padStart(2,"0")],[/m/,String(r)],[/ss/,String(s).padStart(2,"0")],[/s/,String(s)]];let c="",d=0;for(;d<t.length;){if("\\"===t[d]&&d+1<t.length){c+=t[d+1],d+=2;continue}let e=!1;for(const[n,i]of l){const a=t.slice(d).match(n);if(a&&0===a.index){c+=i,d+=a[0].length,e=!0;break}}e||(c+=t[d],d++)}return c}(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(Nn(e,`append meta attribute takes 1 argument; received ${t.length}.`));return n+t[0]}(e,n,i);default:throw new Error(Nn(e,`Unknown Meta Attribute '${t}'.`))}}(e,a,r,t)}),n)}function Pn(e,t,n,i,a){const o=new Error(Nn(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 Nn(e,t){return`Malformed Meta Attribute: '${e}' - ${t}`}function Fn(e,t,n,i,a){const o=$n(e,n,i);if(null!==o)return o;throw Error(Nn(t,a||`Could not parse meta attribute argument at index ${n} from arguments ${JSON.stringify(e)}`))}function $n(e,t,n){return n(e[t])}const Zn="DATA",Gn="STATE",Bn=new RegExp(`^(${Zn}|${Gn})`),Un=new RegExp(`%\\^(?:${Zn}|${Gn})\\.[a-zA-Z0-9]+[a-zA-Z0-9\\.]*(?:\\:(?:append\\[[^\\]\\[|:]*\\]|[a-zA-Z0-9]+\\[[a-zA-Z0-9\\.,:\\\\ -]*\\]))*(?:\\|.*?)?\\^%`,"g"),zn=Symbol("invalid");function qn(e,t="creativeCopy"){const n=Kn({data:e},t);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:Kn(t,n,this.dataMap)});let i=!1;const o=t,r=a.pipe(a.slice(2,-2),a.split("|"),(e=>{const t=a.reduce(((e,t)=>{let n;if(Bn.test(t)){const i=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=i[0];if(o){if(n=this.dataMap.get(o),n&&n===zn)throw new W(cn,`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(i.length>1&&n)try{n=_n(o,i.slice(1),n)}catch(e){throw new W(cn,`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 n?a.reduced({provided:!0,value:n}):e}return a.reduced({provided:!0,value:t})}),{provided:!1,value:""},e);return t.provided||(i=!0),t.value})),s=a.replace(Un,r,o);return!1===i?s:""}.bind({dataMap:n})}function Kn(e,t,n){const i=new Map(n);return"data"in e&&o(e.data,`${Zn}${t?"."+t:""}`),"state"in e&&o(e.state,`${Gn}${t?"."+t:""}`),i;function o(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,zn),e&&"object"==typeof e&&a.forEachObjIndexed(((e,n)=>o(e,`${t}.${n}`)),e)}}const Wn=t.createContext(qn({})),Yn=Wn.Consumer,Jn=Wn.Provider,Xn=()=>t.useContext(Wn),Qn=t.createContext(null),ei=Qn.Provider,ti=t.createContext("OUTER"),ni=()=>"VARIANT"===t.useContext(ti),ii=t.createContext(void 0),ai=()=>t.useContext(ii);var oi,ri,si,li,ci,di,ui,pi=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))},fi=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},hi=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 vi{constructor(e,t,n,i,o,r){oi.set(this,void 0),ri.set(this,void 0),si.set(this,new Set),li.set(this,void 0),ci.set(this,void 0),di.set(this,void 0),ui.set(this,void 0),fi(this,oi,a.partial(e.subscribe.bind(e),[n]),"f"),fi(this,ri,a.partial(e.dispatch.bind(e),[n]),"f"),fi(this,li,t,"f"),fi(this,ci,i,"f"),fi(this,di,o,"f"),fi(this,ui,r,"f"),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=hi(this,oi,"f").call(this,e),n=()=>{t(),hi(this,si,"f").delete(n)};return hi(this,si,"f").add(n),n}onInteractivityChange(e){return hi(this,ci,"f").subscribe(e)}onEvent(...e){const t=e.reduce(((e,t)=>{if("partner"===t.source||"*"===t.source){const n=hi(this,di,"f").call(this,t.name).subscribe(t.callback);return[...e,()=>n.unsubscribe()]}return e}),[]),n=()=>{t.forEach((e=>{e()})),hi(this,si,"f").delete(n)};return hi(this,si,"f").add(n),n}globalDispatch(e){hi(this,ri,"f").call(this,e)}dispose(){hi(this,si,"f").forEach((e=>e())),fi(this,si,new Set,"f"),hi(this,ci,"f").clear()}createChildPlugin(e){return"dcui-child"===e.name&&hi(this,ui,"f")&&e.config?hi(this,li,"f").call(this,Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{fonts:hi(this,ui,"f").call(this)})})):hi(this,li,"f").call(this,e)}}oi=new WeakMap,ri=new WeakMap,si=new WeakMap,li=new WeakMap,ci=new WeakMap,di=new WeakMap,ui=new WeakMap;class Ci{onGlobalStateChange(){return()=>{}}onInteractivityChange(){return()=>{}}onEvent(){return()=>{}}globalDispatch(){}dispose(){}createChildPlugin(){return{close:()=>pi(this,void 0,void 0,(function*(){})),onClose:()=>pi(this,void 0,void 0,(function*(){})),putConfig:()=>pi(this,void 0,void 0,(function*(){})),send:()=>pi(this,void 0,void 0,(function*(){})),onEvent:()=>({subscribe:()=>({unsubscribe:()=>{}})})}}}var yi,mi,gi=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},bi=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 Ei{constructor(e){yi.set(this,void 0),mi.set(this,new Set),gi(this,yi,e,"f")}subscribe(e){return bi(this,mi,"f").add(e),!0===e(bi(this,yi,"f"))&&bi(this,mi,"f").delete(e),()=>{bi(this,mi,"f").delete(e)}}publish(e){gi(this,yi,e,"f"),bi(this,mi,"f").forEach((e=>{!0===e(bi(this,yi,"f"))&&bi(this,mi,"f").delete(e)}))}clear(){bi(this,mi,"f").clear()}}yi=new WeakMap,mi=new WeakMap;var Ii=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)},xi=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 Li="breakpoint-0px";class Di{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,s,l,c,d,u,p,f,h,v,C,y,m,g,b,E,I,x,L,D;const w=this.appFactory,S=this.logger,A=null!==(e=this.gatewayFactory)&&void 0!==e?e:()=>new Ci;return D=class extends HTMLElement{static get observedAttributes(){return["visible","interactivity","active-breakpoint"]}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),s.set(this,null),l.set(this,null),c.set(this,null),d.set(this,null),u.set(this,null),p.set(this,null),f.set(this,!1),h.set(this,null),v.set(this,null);const e=this.attachShadow({mode:"open"});xi(this,a,document.createElement("div"),"f"),Ii(this,a,"f").id="app-container",Ii(this,a,"f").classList.add("default"),e.appendChild(Ii(this,a,"f"))}attributeChangedCallback(e,a,o){if(o!==a)switch(e){case"visible":Ii(this,n,"f").call(this,"true"===o);break;case"interactivity":"ENABLED"!==o&&"DISABLED"!==o||Ii(this,i,"f").call(this,o);break;case"active-breakpoint":Ii(this,t,"m",C).call(this,o,a)}}makeInteractivityUpdateHandler(e){xi(this,i,(t=>{e.publish(t)}),"f")}makeVisbilityUpdateHandler(e,i,a){const o="true"===this.getAttribute("visible"),r=this.getAttribute("slotInstanceGuid");xi(this,n,(o=>{o?(xi(this,n,(()=>null),"f"),0===e&&a.globalDispatch({type:ye,payload:{event:"Interactive"}}),i&&(a.globalDispatch({type:Ce,payload:{name:"SignalImpression",parentGuid:i}}),Ii(this,t,"m",L).call(this,i,a)),r&&a.globalDispatch({type:Ce,payload:{name:"SignalImpression",parentGuid:r}})):Ii(this,t,"m",g).call(this)}),"f"),Ii(this,n,"f").call(this,o)}getOfferPositionAttr(){const e=this.getAttribute("offerPositionIndex"),t=Number(e);return(null==e||isNaN(t)||t<0)&&T(`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){T(`Invalid JSON attribute ${e}: ${n}`)}}disconnectedCallback(){Ii(this,t,"m",g).call(this)}connectedCallback(){var e,t,n;const i=this.getAttribute("container"),o=this.getAttribute("plugin-id");Ii(this,a,"f").setAttribute("style","width:100%;display:flex;flex-direction:"+("column"===i?"column":"row"));const r=this.getOfferPositionAttr(),s=this.getJSONAttr("layoutSchema"),{layoutSchema:l,variantTimers:c}=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}}(s),d=this.getJSONAttr("childLayouts","[]"),u=this.getJSONAttr("offerData"),p=new Ei("DISABLED"===this.getAttribute("interactivity")?"DISABLED":"ENABLED"),f=null!==(e=this.getAttribute("schemaVersion"))&&void 0!==e?e:"",h=this.getJSONAttr("offerState","{}");w||T("Cannot create app without factory. Please build the connector withAppFactory.");const v=A({offerPositionIndex:r,creativeInstanceGuid:null===(t=null==u?void 0:u.creative)||void 0===t?void 0:t.instanceGuid},p);this.makeInteractivityUpdateHandler(p),w({rootElement:Ii(this,a,"f"),gateway:v,logger:S,offerPositionIndex:r,offerData:u,layoutSchema:l,childLayouts:d,schemaVersion:f,pluginId:o||R.pluginId,offerState:h,variantTimers:c}),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,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,v=new WeakMap,t=new WeakSet,C=function(e,t){Ii(this,a,"f").classList.remove(t||Li),Ii(this,a,"f").classList.add(e||Li)},y=function(){Ii(this,d,"f")&&(clearTimeout(Ii(this,d,"f")),xi(this,d,null,"f"))},m=function(e){Ii(this,t,"m",y).call(this),xi(this,d,window.setTimeout(e,1e3),"f")},g=function(){Ii(this,t,"m",y).call(this),Ii(this,t,"m",I).call(this),Ii(this,c,"f")&&(Ii(this,c,"f").disconnect(),xi(this,c,null,"f")),Ii(this,u,"f")&&(document.removeEventListener("visibilitychange",Ii(this,u,"f")),xi(this,u,null,"f")),Ii(this,h,"f")&&(window.removeEventListener("beforeunload",Ii(this,h,"f")),xi(this,h,null,"f")),Ii(this,v,"f")&&(Ii(this,a,"f").removeEventListener("click",Ii(this,v,"f")),xi(this,v,null,"f")),xi(this,f,!1,"f"),xi(this,p,null,"f")},b=function(e,t){if(!Ii(this,f,"f")||null==Ii(this,p,"f"))return;const n=Ii(this,p,"f"),i=Date.now();if(i<=n)return xi(this,f,!1,"f"),void xi(this,p,null,"f");t.globalDispatch({type:Ce,payload:{name:"SignalUserInteraction",parentGuid:e,action:"ViewabilityDurationTracking",context:"Offer Visibility Duration",objectData:{startTimestamp:n.toString(),endTimestamp:i.toString()}}}),xi(this,f,!1,"f"),xi(this,p,null,"f")},E=function(e,n){Ii(this,r,"f")||Ii(this,s,"f")||!("ResizeObserver"in window)||(xi(this,s,new ResizeObserver((i=>{var a;if(Ii(this,r,"f"))return;const o=i[0];if(!o)return;const s=null===(a=o.borderBoxSize)||void 0===a?void 0:a[0],c=s?s.inlineSize:o.contentRect.width,d=s?s.blockSize:o.contentRect.height;0!==c&&0!==d&&(Ii(this,t,"m",x).call(this),xi(this,l,window.setTimeout((()=>{xi(this,r,!0,"f"),Ii(this,t,"m",I).call(this),window.requestAnimationFrame((()=>{n.globalDispatch({type:Ce,payload:{name:"SignalRenderGeometry",parentGuid:e,objectData:{widthPx:Math.round(c),heightPx:Math.round(d)}}})}))}),250),"f"))})),"f"),Ii(this,s,"f").observe(Ii(this,a,"f")))},I=function(){Ii(this,t,"m",x).call(this),Ii(this,s,"f")&&(Ii(this,s,"f").disconnect(),xi(this,s,null,"f"))},x=function(){Ii(this,l,"f")&&(clearTimeout(Ii(this,l,"f")),xi(this,l,null,"f"))},L=function(e,n){if(Ii(this,o,"f"))return;const i=this.getAttribute("slotInstanceGuid");if(i&&Ii(this,t,"m",E).call(this,i,n),!("IntersectionObserver"in window))return n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!1,inferred:!1}}),void xi(this,o,!0,"f");Ii(this,c,"f")||(xi(this,c,new IntersectionObserver((i=>{i.forEach((i=>{i.isIntersecting&&i.intersectionRatio>=.5?(Ii(this,o,"f")||Ii(this,t,"m",m).call(this,(()=>{Ii(this,o,"f")||(n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!1}}),xi(this,o,!0,"f"))})),Ii(this,f,"f")||(xi(this,p,Date.now(),"f"),xi(this,f,!0,"f"))):(Ii(this,t,"m",y).call(this),Ii(this,f,"f")&&Ii(this,t,"m",b).call(this,e,n))}))}),{threshold:.5}),"f"),Ii(this,c,"f").observe(Ii(this,a,"f")),xi(this,v,(()=>{Ii(this,o,"f")||(n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!0}}),xi(this,o,!0,"f"),Ii(this,t,"m",y).call(this)),Ii(this,f,"f")&&Ii(this,t,"m",b).call(this,e,n)}),"f"),Ii(this,a,"f").addEventListener("click",Ii(this,v,"f")),xi(this,u,(()=>{Ii(this,c,"f")&&("hidden"===document.visibilityState?(Ii(this,t,"m",y).call(this),Ii(this,f,"f")&&Ii(this,t,"m",b).call(this,e,n),Ii(this,c,"f").unobserve(Ii(this,a,"f"))):"visible"===document.visibilityState&&Ii(this,c,"f").observe(Ii(this,a,"f")))}),"f"),document.addEventListener("visibilitychange",Ii(this,u,"f")),xi(this,h,(()=>{Ii(this,f,"f")&&Ii(this,t,"m",b).call(this,e,n)}),"f"),window.addEventListener("beforeunload",Ii(this,h,"f")))},D;function T(e){throw S({level:z,code:"MODULE_BUILDER/FAILED_TO_BUILD_MODULE",message:e}),Error(e)}}}const wi=t.createContext({get:()=>new Ci}),Si=t=>e.jsx(wi.Provider,{value:{get:()=>t.context},children:t.children});const Ai=t.createContext({get(){throw Error("Layout Schema context has not been set")}}),Ti=t=>e.jsx(Ai.Provider,{value:{get:()=>t.context},children:t.children}),Mi=()=>t.useContext(Ai).get(),ji=t.createContext("ENABLED"),Oi=()=>t.useContext(ji);function ki(e){const t=Ri(e);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:Ri(t,this.dataMap)});if(!n)throw new W("FAILED_TO_MAP_STATIC_DATA","No namespace submitted to StaticData Mapper");const i=t;return a.path([n,i],this.dataMap)}.bind({dataMap:t})}const Vi={images:{},links:{},icons:{},copy:{},responseOptionsMap:{}};function Ri(e,t=Vi){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 Hi=t.createContext(ki({}));Hi.Consumer;const _i=Hi.Provider,Pi=e=>{const n=t.useContext(Hi),i=e.split("|");for(const e of i){const t=n(e.trim(),"images");if(t)return t}},Ni=()=>t.useContext(Hi),Fi=t.createContext({});function $i({info:n,children:i}){const a=t.useContext(Fi);return e.jsx(Fi.Provider,{value:Object.assign(Object.assign({},a),n),children:i})}const Zi=t.createContext({get(){throw Error("Catalog Item context has not been set")}}),Gi=t=>e.jsx(Zi.Provider,{value:{get:()=>t.context},children:t.children}),Bi=()=>t.useContext(Zi).get(),Ui=t.createContext(""),zi=()=>t.useContext(Ui),qi=t.createContext(""),Ki=t.createContext(void 0);function Wi({children:n}){const i=t.useMemo((()=>{const e=document.createElement("div");return e.inert=!0,{inert:!0===e.inert}}),[]);return e.jsx(Ki.Provider,{value:i,children:n})}const Yi=t.createContext(!0),Ji=t.createContext(null),Xi=Ji.Provider,Qi=t.createContext(null);function ea(n){const[i,a]=t.useState({});function o(e){if(e in i)return[e];const t=`${e}-`;return Object.keys(i).filter((e=>e.startsWith(t)))}return e.jsx(Qi.Provider,{value:{registerValidators:function(e,t){a((n=>Object.assign(Object.assign({},n),{[e]:{validators:t,isValid:!0}})))},validateFieldKeys:function(e){const t={};let n=!0;const r=e.flatMap(o);if(0===r.length)return!1;for(const e of r){const a=i[e];if(a){const i=Object.assign({},a),o=a.validators.every((e=>e()));o!==i.isValid&&(t[e]=Object.assign(Object.assign({},i),{isValid:o})),n&&(n=o)}else n=!1}return Object.values(t).length>0&&a((e=>Object.assign(Object.assign({},e),t))),n},getFieldKeyValidity:function(e){const t=o(e);return 0!==t.length&&t.every((e=>{var t,n;return null!==(n=null===(t=i[e])||void 0===t?void 0:t.isValid)&&void 0!==n&&n}))}},children:n.children})}function ta(){const e=t.useContext(Qi);if(!e)throw new Error("useValidator must be used within a ValidatorProvider");return e}function na(e,n){const i=ta();t.useEffect((()=>{e&&i.registerValidators(e,n)}),[])}function ia(e,t){return t?t.validators.map((t=>e[t])).filter((e=>void 0!==e)):[]}const aa=a.compose(a.anyPass([a.isEmpty,a.all(a.isEmpty)]),a.flatten,a.map(a.values),a.map(a.ifElse(a.isNil,a.always({}),a.identity)),a.values,a.propOr({},"value")),oa=a.compose(a.isEmpty,a.prop("predicates"));function ra(e,t){return`transition: ${t.map((t=>`${t} ${e}ms`)).join(", ")};`}const sa=a.curry(((e,{duration:t,predicates:n,styles:i})=>{return{predicates:n,classname:e(ln(i)),transitionBaseClassname:e(ra(t,(o=i,a.toPairs(o).flatMap((e=>{const[t,n]=null!=e?e:[];return n&&t?a.keys(n).map((e=>yt(t,e))):[]})))))};var o})),la=a.anyPass([aa,oa]);function ca(e){return e.value!==e.defaultValue}function da(e,t){const n=function(e,t){return G(t,[e]).flatMap((({formKey:e,fieldKey:n})=>{var i;const a=null===(i=t[e])||void 0===i?void 0:i[n];return a&&N(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(F);case"is-touched":return n.some((e=>e.touched));case"is-untouched":return n.every((e=>!e.touched));case"is-dirty":return n.some(ca);case"is-pristine":return n.every((e=>!ca(e)));default:return!1}}const ua={is:a.equals,"is-not":a.compose(a.not,a.equals),"is-below":a.lt,"is-above":a.gt};function pa(e,t){return e.includes(t)}const fa={is:a.equals,"is-not":a.compose(a.not,a.equals),exists:pa,"not-exists":a.compose(a.not,pa)},ha={exists:a.compose(a.not,a.either(a.isNil,a.isEmpty)),"not-exists":a.either(a.isNil,a.isEmpty)},va={"is-true":a.equals(!0),"is-false":a.equals(!1)},Ca={is:a.equals,"is-not":a.compose(a.not,a.equals)};function ya(e){return(t,n)=>n[e]}const ma=a.cond([[(e,t)=>a.equals("Breakpoint",e),ya("activeBreakpoint")],[(e,t)=>a.equals("Progression",e),ya("progressionIndex")],[(e,t)=>a.equals("Position",e),ya("positionIndex")]]);function ga(e,t){return e.creativeCopy&&"string"==typeof e.creativeCopy[t]?e.creativeCopy[t]:void 0}const ba=a.cond([[(e,t,n)=>a.equals("Breakpoint",e),(e,t,n)=>{const i=a.lensPath(["breakpoints",t]);return a.pipe(a.over(i,Number),a.view(i))(n)}],[(e,t,n)=>a.equals("Progression",e),(e,t,n)=>a.cond([[a.gt(0),a.add(n.totalGroups)],[a.lte(0),a.identity]])(Number(t))],[(e,t,n)=>a.equals("Position",e),(e,t,n)=>a.cond([[a.gt(0),a.add(n.totalOffers)],[a.lte(0),a.identity]])(Number(t))]]),Ea=a.compose(a.not,isNaN);function Ia(e,t){return e.map((e=>{var n,i,a,o;switch(e.type){case"StaticString":return(0,Ca[e.predicate.condition])(e.predicate.input,e.predicate.value);case"CreativeCopy":return(0,ha[e.predicate.condition])(ga(t,e.predicate.value));case"StaticBoolean":return(0,va[e.predicate.condition])(e.predicate.value);case"CustomState":return(0,ua[e.predicate.condition])(null!==(n=t.customStates[e.predicate.key])&&void 0!==n?n:0,e.predicate.value);case"DomainState":return(0,ua[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 da(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,fa[e.predicate.content.condition])(e.predicate.content.input,e.predicate.content.value);case"TextLength":return(0,ua[e.predicate.content.condition])(e.predicate.content.input.length,e.predicate.content.value);case"Numeric":return(0,ua[e.predicate.content.condition])(Number(e.predicate.content.input),e.predicate.content.value);default:return!1}}(e);default:{const n=ua[e.predicate.condition],i=null!==(o=ma(e.type,t))&&void 0!==o?o:NaN,a=ba(e.type,e.predicate.value,t);return!!Ea(i)&&n(i,a)}}}))}function xa(e){return a.pathOr(0,["breakpoint","breakpoints",e.breakpoint.activeBreakpoint],e)}const La={breakpoints:{},activeBreakpoint:NaN,progressionIndex:NaN,positionIndex:NaN,totalOffers:NaN,totalGroups:NaN,creativeCopy:{},customStates:{},domainStates:{},firedEvents:{},formStates:{}};function Da(e,t,n,i){const o=t.map((e=>"Progression"===e.type?Object.assign(Object.assign({},e),{type:i?"Position":e.type}):e)),{cached:r,uncached:s}=o.reduce(((t,i)=>function(e,t,n,i){if("FormState"===e.type)return a.evolve({cached:a.append(da(e.predicate,t.formStates))},i);const o=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:${ga(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:${ma(e.type,t)}:${t.totalGroups}`}}(e,t),r=n.current.get(o);return a.evolve(wa(r)?{cached:a.append(r)}:{uncached:a.append({key:o,predicate:e})},i)}(i,n,e,t)),{cached:[],uncached:[]}),l=Ia(s.map((({predicate:e})=>e)),n);return a.zip(s,l).forEach((([{key:t},n])=>{e.current.set(t,n)})),r.concat(l)}const wa=a.is(Boolean);const Sa=a.curry(((e,t,n)=>{var i,a,o,r,s,l;return{breakpoints:n.breakpoint.breakpoints,activeBreakpoint:xa(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!==(l=null===(s=n.progression)||void 0===s?void 0:s.totalGroups)&&void 0!==l?l:0,customStates:n.customStates,domainStates:n.domainStates,firedEvents:n.firedEvents,formStates:n.formStates,positionIndex:e,creativeCopy:t}})),Aa=a.lensPath(["predicate","content","input"]),Ta=a.lensPath(["predicate","content","value"]),Ma=a.lensPath(["predicate","key"]);function ja(e,t){const n=a.over(Aa,(t=>t?e(t):"")),i=a.over(Ta,(t=>"string"==typeof t?e(t):t)),o=a.compose(n,i),r=a.over(Ma,(t=>t?e(t):""));return t.map((e=>{switch(e.type){case"Placeholder":return"TextValue"===e.predicate.type?o(e):n(e);case"CustomState":return r(e);default:return e}}))}const Oa=a.all(a.equals(!0));function ka(e){const n=ni(),i=ai(),a=t.useRef(new Map),o=kn(),r=xn(La,Sa(i,o)),s=ja(Xn(),e);return t.useMemo((()=>Oa(Da(a,s,r,n))),[a,s,r,n])}function Va(e){const n=ni(),i=ai(),o=t.useRef(new Map),r=kn(),s=xn(La,Sa(i,r)),l=Xn();return t.useMemo((()=>a.mapObjIndexed((e=>{const t=ja(l,e);return Oa(Da(o,t,s,n))}),e)),[o,e,s,n,l])}function Ra(e){e&&(e.style.display="")}function Ha(e){e&&(e.style.display="none")}function _a(e){return e.settings.duration}const Pa=[{opacity:0,display:"none"},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],Na=[{opacity:1},{opacity:0,offset:.75},{opacity:0}];function Fa(e,t,n){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){const i=t?Pa:Na,a=e.animate(i,{duration:n,iterations:1});return a.onfinish=()=>{t?Ra(e):Ha(e)},a.oncancel=()=>{t?Ra(e):Ha(e)},()=>{a.finish()}}return t?Ra(e):Ha(e),()=>{}}function $a({inTransitions:n,outTransitions:i,visible:a,children:o,containerClassName:r}){const s=t.useRef(null);return t.useEffect((()=>a&&n?n.forEach((e=>{s.current&&function(e,t,n,i){if("FadeIn"===i)Fa(e,t,n)}(s.current,a,_a(e),e.type)})):!a&&i?i.forEach((e=>{s.current&&function(e,t,n,i){if("FadeOut"===i)Fa(e,t,n)}(s.current,a,_a(e),e.type)})):()=>{}),[a]),e.jsx("div",{ref:s,style:{display:"none"},className:r,children:o})}function Za(n){const i=wn(),a=ka(n.schema.predicates),o=t.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.jsx($a,{inTransitions:n.schema.transition.inTransition,outTransitions:n.schema.transition.outTransition,visible:a,children:o}):"functionally"===n.schema.hide?e.jsx(ji.Provider,{value:a?"ENABLED":"DISABLED",children:o}):a?e.jsx(e.Fragment,{children:o}):null}const Ga=a.mergeWith(((e,t)=>`${e||""} ${t||""}`.trim())),Ba=e=>{var n;const i=t.useContext(Qn),o=ai(),r=Tn()||document.head,s=zi(),l=fn(s,o,r),c=t.useCallback(yn,[]),d=xn([],(e=>Object.values(e.breakpoint.breakpoints))),u=i||c(d,s,o,r),p=e.styles?u(e.styles):{},f=e.styles&&e.styles.conditionalTransitions?function(e,t){const n=sa(e);return a.mapObjIndexed((e=>la(t)||!e?null:n({predicates:t.predicates,duration:t.duration,styles:e})),t.value)}(l,null===(n=e.styles)||void 0===n?void 0:n.conditionalTransitions):void 0,h=Va(f?a.mapObjIndexed(a.propOr([],"predicates"),f):{}),v=a.mapObjIndexed(((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}(f,t):void 0),h),C=f?a.mapObjIndexed(a.prop("transitionBaseClassname"),f):{},y=e.styles?((e,t,n)=>Ga(Ga(e,t),n))(p,v,C):void 0;return e.children({classnames:y,mapperRef:u})};function Ua(n){const i=wn();return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e-item":n.e2eItemId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}function za(n){const i=wn();return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e-item":n.e2eItemId,style:{display:"flex",flexDirection:"row"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const qa={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s"],allowedAttributes:{a:["href","target",Xe,Qe],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],s:[]},allowedSchemes:["http","https"]},Ka=new Map([["&","_;^;_"]]),Wa=new RegExp(`<a *(?=${qa.allowedAttributes.a.join("|")}|>)`,"g"),Ya=new RegExp('<a [^>]*href="([^"]+)"',"g"),Ja=new RegExp("(<br *?>)|(<br *?/>)","g"),Xa="<br/>";function Qa(n){const i=Xn(),a=Oi(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Ya,((e,t)=>{const n=t.replaceAll("&",Ka.get("&"));return e.replace(t,n)})).replaceAll(Ja,Xa)}(e);return t===u(t,qa)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a),{setRef:c,maskStyle:d}=st("vertical",lt(n.schema.styles));return o?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),a=Object.assign(Object.assign({},s),d);return u=o,new RegExp("</(p|ul|ol)>").test(u)?e.jsx("div",{ref:c,tabIndex:r,style:a,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(Wa,`<a ${i.join(" ")}`)}}):e.jsx("p",{ref:c,tabIndex:r,style:a,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(Wa,`<a ${i.join(" ")}`)}});var u}}):null}function eo(t){const n=Xn()(t.schema.value),i=Oi(),{tabIndex:a,styles:o,isDisabled:r}=b(i);return n?e.jsx(Ba,{styles:t.schema.styles,children:({classnames:i})=>{const s={tabIndex:a,"aria-hidden":r,className:null==i?void 0:i.own,"data-testid":t.testId,"data-e2e":"BasicText"};return t.isInline?e.jsx("span",Object.assign({style:o},s,{children:n})):e.jsx("p",Object.assign({style:o},s,{children:n}))}}):null}function to(t,n,i){if("BasicText"===t.type)return e.jsx(eo,{schema:t.node,testId:n,isInline:null!=i&&i})}function no(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:io(t,a,o)})}function io(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,re(t,i)))))}function ao(n){const i=En(),a=wn(),o=On(),r=Xn(),s=ai(),l=Oi(),c=o.creative.responseOptionsMap[n.schema.responseKey],d=t.useRef(null),u=t.useRef(!1),p=t.useCallback((()=>{u.current||(d.current=Date.now())}),[]),f=t.useCallback((()=>{const e=d.current;if(null===e)return;const t=Date.now(),a="positive"===n.schema.responseKey?"-Positive":"-Negative";t>e&&i({type:Ce,payload:{name:"SignalUserInteraction",action:"Hover",context:`CreativeResponse${a}`,parentGuid:o.creative.instanceGuid,objectData:{startTimestamp:e.toString(),endTimestamp:t.toString()}}}),u.current=!1,d.current=null}),[i,o.creative.instanceGuid,n.schema.responseKey]),h=S(c);t.useEffect((()=>{h&&i(function(e){if(e.paymentTriggerConfig)return{type:Se,payload:{criteria:{key:"PAYMENT_OFFER_SELECTED"},signal:{name:M(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}`)}(c))}),[c,i,h]);const v=c?r({data:c},"creativeResponse"):r,{tabIndex:C,styles:y,isDisabled:m}=b(l);return L(c)&&!h&&void 0!==s?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t,mapperRef:r})=>e.jsx("button",{type:"button",tabIndex:C,"aria-disabled":m,"aria-label":n.schema.a11yLabel?v(n.schema.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},y),"data-testid":n.testId,"data-e2e":"CreativeResponse","data-e2e-response-type":n.schema.responseKey,onMouseOver:p,onMouseLeave:f,onClick:e=>{e.preventDefault(),f();const t=ve(o,c,n.schema.openLinks);i({type:le,payload:t})},className:null==t?void 0:t.own,disabled:m,children:e.jsx(Jn,{value:v,children:(null==t?void 0:t.own)?no(n.schema.children,t.own,r,a,n.testId):io(n.schema.children,a,n.testId)})})}):null}function oo(t){const n=Oi(),{styles:i,isDisabled:a}=b(n);return t.schema.url.light?e.jsx(Ba,{styles:g(t.schema.styles),children:({classnames:n})=>e.jsx("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 ro(t){const n=Oi(),{styles:i,isDisabled:a}=b(n),o=Pi(t.schema.imageKey);return null!=(r=o)&&"object"==typeof r&&"light"in r&&"string"==typeof r.light?e.jsx(Ba,{styles:g(t.schema.styles),children:({classnames:n})=>e.jsx("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 so={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function lo(t){const n=t.schema.name,i=t.schema.description,a=t.schema.styles?ae(so,t.schema.styles):so,o=Oi(),{styles:r,isDisabled:s}=b(o);return n?e.jsx(Ba,{styles:a,children:({classnames:a})=>e.jsx("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}`},!s&&i?{title:i}:{"aria-hidden":"true"},{children:n}))}):null}function co(t,n){if("StaticIcon"===t.type)return e.jsx(lo,{schema:t.node,testId:n})}const uo={backgroundColor:"#FFEEEE",color:"#FF0000",fontSize:"10px",padding:"4px",border:"1px solid #FF0000",margin:0,whiteSpace:"normal"};class po extends t.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"===ut.REPORT_RENDER_ERRORS&&this.props.reporter({level:z,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"===ut.DISPLAY_ERRORS?e.jsxs("pre",{style:uo,children:[e.jsx("strong",{children:"Error:"})," [",e.jsx("em",{children:this.props.schema.type}),"]"," ",this.state.errorMessage]}):void 0:this.props.children}}po.contextType=Fi;const fo={internally:"_top",externally:"_blank"};function ho(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:vo(t,a,o)})}function vo(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function Co(t){var n;const i=fo[t.schema.open],a=wn(),o=Oi(),{tabIndex:r,styles:s,isDisabled:l}=b(o);return(null===(n=t.schema.children)||void 0===n?void 0:n.length)>0?e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n,mapperRef:o})=>{var c;return e.jsx("a",{href:t.schema.src,"data-testid":t.testId,"data-e2e":"StaticLink",target:null!=i?i:"_blank",tabIndex:r,"aria-disabled":l,"aria-label":null!==(c=t.schema.a11yLabel)&&void 0!==c?c:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:t.isInline?"inline":"block"},s),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?ho(t.schema.children,null==n?void 0:n.own,o,a,t.testId):vo(t.schema.children,a,t.testId)})}}):null}function yo(t,n,i){if("StaticLink"===t.type)return e.jsx(Co,{schema:t.node,testId:n,isInline:null!=i&&i})}const mo={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function go(n){const i=(a=n.schema.iconKey,t.useContext(Hi)(a,"icons"));var a;const o=null==i?void 0:i.name,r=n.schema.styles?ae(mo,n.schema.styles):mo,s=Oi(),{styles:l}=b(s);return o?e.jsx(Ba,{styles:r,children:({classnames:t})=>e.jsx("span",{style:Object.assign(Object.assign({},l),{display:"inline-block"}),"aria-hidden":"true",className:"rokt-icon"+((null==t?void 0:t.own)?" "+t.own:""),"data-testid":n.testId,"data-e2e":`DataIcon-${o}`,children:o})}):null}function bo(n){const i=wn(),a=t.useRef(null),r=zi(),s=ai(),l=Tn(),c=(l?fn(r,s,l):o.css)`
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom/client"),i=require("react-redux"),a=require("ramda"),o=require("@emotion/css"),r=require("redux-saga/effects"),s=require("redux-saga"),l=require("@reduxjs/toolkit"),c=require("@redux-saga/core/effects"),d=require("embla-carousel-react"),u=require("insane"),p=require("@emotion/css/create-instance"),f=require("embla-carousel-autoplay"),h=require("embla-carousel-fade");function v(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var C,y,m=v(t);function g(e){const t=["elements","own"],n=["default","dimension","width","type"],i=["default","dimension","width","value"],o=["default","dimension","minWidth"],r=a.path(t,e);return r&&Array.isArray(r)&&r.length?a.assocPath(t,r.map(a.when(a.allPass([a.hasPath(n),a.complement(a.hasPath(o)),a.pathEq("fixed",n)]),(e=>a.assocPath(o,a.path(i,e),e)))),e):e}function b(e){const t="DISABLED"===e;return{tabIndex:t?-1:void 0,styles:t?{pointerEvents:"none",userSelect:"none"}:void 0,isDisabled:t}}function E(e,t){if("EscapeHatch"===t.type)try{return JSON.parse(t.node.data).type===e}catch(e){return!1}return!1}function I(){return"ontouchstart"in document.documentElement}function x(e){return null!=e&&"object"==typeof e&&("url"in e||"name"in e)&&"config"in e}function L(e){return null!=e&&"object"==typeof e&&"id"in e&&"action"in e&&"instanceGuid"in e&&"signalType"in e}function D(e){return L(e)&&"Fulfillment"===e.action}function w(e){return L(e)&&"Url"===e.action}function S(e){return L(e)&&"ExternalPaymentTrigger"===e.action}function A(e){return(D(e)||w(e))&&"RealTime"===e.conversionType&&"rclid"in e}function T(e){return(D(e)||w(e))&&"RealTimeReferral"===e.conversionType&&"rclid"in e}function j(e){switch(e){case"SignalGatedResponse":return"SignalGatedResponse";case"SignalOptInResponse":return"SignalOptInResponse";case"SignalOptOutResponse":return"SignalOptOutResponse";default:return"SignalResponse"}}function M(e){return e.slice(e.lastIndexOf(":")+1)}function O(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"}(C||(C={})),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"}(y||(y={}));const k="FAILED_TO_PROCESS_PARTNER_UPDATE_CART_ITEM";function V(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 R={pluginId:"shared",pageInstanceGuid:"N/A"},H="offerComplete",_="checkout",P="layoutMinimized";function N(e){return e.registrationCount>0}function F(e){return e.validated&&!e.valid&&e.errorVisible}function $(e,t=[]){const n=0===e.trim().length;for(const i of t){if(n&&"Required"!==i.type)continue;const t=Z(e,i);if(t)return t}return""}function Z(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 G(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])=>N(e))).map((([e])=>({formKey:t,fieldKey:e})))}return[{formKey:t.slice(0,i),fieldKey:t.slice(i+1)}]}))}var B;!function(e){e.DCUI="DCUI",e.Partner="partner"}(B||(B={}));const U=["SignalCartItemQuantitySelected","SignalProductItemResponse","SignalUserInteraction","SignalOptInResponse","SignalOptOutResponse"],z="ERROR",q="INFO",K="WARNING";class W extends Error{constructor(e,t){super(t),this.code=null!=e?e:"UNHANDLED_EXCEPTION"}toString(){return`CodedError (${this.code}): ${this.message}`}}const Y=["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","PLACEMENT_CLOSED","PLACEMENT_COMPLETED","PLACEMENT_INTERACTIVE","PLACEMENT_FAILURE"];const J=(e,t)=>a.concat(e,a.slice(e.length,t.length,t)),X=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t)){const n=e.length>t.length?J(t,e):t,i=t.length>e.length?J(e,t):e;return a.zipWith(ie,i,n)}return t},Q=e=>null==e,ee=e=>!Q(e),te=(e,t)=>Q(t)?e:t,ne=(e,t)=>{throw new W("MERGE_TYPE_INCONSISTENCY",`Unable to merge values for inconsistent types, left = ${e}, right = ${t}`)};function ie(e,t){return a.cond([[(e,t)=>ee(e)&&ee(t)&&a.type(e)!==a.type(t)&&("Object"===a.type(e)||"Object"===a.type(t)),ne],[(e,t)=>Q(e)||Q(t),te],[(e,t)=>"Object"===a.type(e),a.mergeDeepWith(ie)],[(e,t)=>"Array"===a.type(e),X],[a.T,a.flip(a.unary(a.identity))]])(e,t)}function ae(e,t){return ie(e,t)}function oe(e=0){return`breakpoint-${e}px`}function re(e,t){return t?`${t}-child${e}`:void 0}const se="GLOBAL/RAISE_METRIC",le="GLOBAL/OFFER_ENGAGEMENT";function ce(e){return null!=e&&"object"==typeof e&&"responseOption"in e&&D(e.responseOption)&&"fulfillment"in e&&x(e.fulfillment)}function de(e){return S(e)}function ue(e){return w(e)}function pe(e){return function(e){return L(e)&&"CaptureOnly"===e.action}(e)}function fe(e){return!!(A(e)||"responseOption"in e&&A(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function he(e){return!!(T(e)||"responseOption"in e&&T(e.responseOption))&&(!!e.accountID&&!!e.referralCreativeID)}function ve(e,t,n){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(x(n))return{fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId};throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,urlBehavior:n&&"internally"===n.toLowerCase()?"self":t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}const Ce="GLOBAL/RAISE_SIGNAL",ye="GLOBAL/OFFER_LIFECYCLE",me=new Set(["__proto__","constructor","prototype"]);function ge(e){return"string"==typeof e&&e.length>0&&!me.has(e)}const be="GLOBAL/SET_CUSTOM_STATE";const Ee="ProcessingState",Ie="DevicePayErrorState",xe="applePayUnavailable",Le="GLOBAL/SEND_PARTNER",De="GLOBAL/SET_DOMAIN_STATE",we="GLOBAL/LAYOUT_EVENT",Se="GLOBAL/PREPARE_SIGNAL",Ae="GLOBAL/OPEN_LINK",Te="GLOBAL/SET_PARTNER_VALIDATION_STATUS",je="GLOBAL/SET_GLOBAL_OFFER_DATA_CART",Me="GLOBAL/LAUNCH_CHILD_LAYOUT",Oe="GLOBAL/CART_ITEM_EVENT/INITIATE",ke="GLOBAL/CART_ITEM_EVENT/RESPONSE",Ve="OVERLAY/DISMISS_OVERLAY",Re="plugin-overlay",He="GLOBAL/TRIGGER_ACTION";const _e="ERROR/REPORT",Pe="GLOBAL/REGISTER_FORM_FIELD",Ne="GLOBAL/UNREGISTER_FORM_FIELD",Fe="GLOBAL/SET_FORM_FIELD_VALUE",$e="GLOBAL/SET_FORM_FIELD_TOUCHED",Ze="GLOBAL/VALIDATE_FORM_FIELDS";function Ge(e){const{formKey:t,fieldKey:n}=null!=e?e:{};return ge(t)&&ge(n)}const Be={RAISE_METRIC:se,PREPARE_SIGNAL:Se,OFFER_ENGAGEMENT:le,RAISE_SIGNAL:Ce,OFFER_LIFECYCLE:ye,SEND_PARTNER:Le,SET_CUSTOM_STATE:be,SET_DOMAIN_STATE:De,LAYOUT_EVENT:we,OPEN_LINK:Ae,SET_PARTNER_VALIDATION_STATUS:Te,SET_GLOBAL_OFFER_DATA_CART:je,LAUNCH_CHILD_LAYOUT:Me,INITIATE_CART_ITEM_EVENT:Oe,CART_ITEM_RESPONSE:ke,DISMISS_OVERLAY:Ve,TRIGGER_ACTION:He,REGISTER_FORM_FIELD:Pe,UNREGISTER_FORM_FIELD:Ne,SET_FORM_FIELD_VALUE:Fe,SET_FORM_FIELD_TOUCHED:$e,VALIDATE_FORM_FIELDS:Ze,REPORT_ERROR:_e},Ue="CHILD_LAYOUT/DISPATCH_BEHAVIOR",ze="CHILD_LAYOUT/STATE_SYNC",qe="CHILD_LAYOUT/READY",Ke="CHILD_LAYOUT/REQUEST_DEVICE_PAY";function We(e){return ge(e)&&!e.includes("%^")}const Ye={[He]:function(e){const{action:t}=null!=e?e:{};return"object"==typeof t&&null!==t},[be]:function(e){const{key:t,value:n}=null!=e?e:{};return ge(t)&&"number"==typeof n&&isFinite(n)},[Pe]:function(e){const{formKey:t,fieldKey:n,defaultValue:i,validations:a}=null!=e?e:{};return ge(t)&&ge(n)&&"string"==typeof i&&Array.isArray(a)},[Ne]:Ge,[Fe]:function(e){const{formKey:t,fieldKey:n,value:i,validate:a}=null!=e?e:{};return ge(t)&&ge(n)&&"string"==typeof i&&"boolean"==typeof a},[$e]:Ge,[Ze]:function(e){const{entries:t}=null!=e?e:{};return Array.isArray(t)&&t.every((e=>"string"==typeof e))}};function Je(e){return"object"==typeof e&&null!==e&&1===e.version&&"payload"in e}const Xe="data-open-in-app",Qe="data-click-signal-context";function et(e,n){function i(e){var t;if(!(e.target&&e.target instanceof HTMLElement))return;const i=null===(t=e.target)||void 0===t?void 0:t.closest("a");if(i){const t=i.getAttribute("href"),a=i.getAttribute(Qe);if(a&&n({type:Ce,payload:{name:"SignalUserInteraction",action:"Click",context:a}}),t){e.preventDefault();let a="newTab";i.hasAttribute(Xe)?a="inApp":"_top"===i.getAttribute("target")&&(a="self"),n({type:Ae,payload:{url:t,urlBehaviour:a}})}}}t.useEffect((()=>null!==e?(e.addEventListener("click",i),()=>{e.removeEventListener("click",i)}):()=>{}),[e])}function tt(){const e=t.useRef(null);return t.useEffect((()=>{const t=t=>{"Tab"===t.key&&nt(t,e)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[e]),e}const nt=(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()},it="both",at="linear",ot={hasOverflow:!1,atStart:!0,atEnd:!0};function rt(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 st(e,n){const i=t.useRef(null),[a,o]=t.useState(null),[r,s]=t.useState(ot),l=t.useCallback((e=>{i.current=e,o(e)}),[]),c=!!n;t.useEffect((()=>{if(!a||!c)return;const t=()=>s(rt(a,e));let n;return t(),a.addEventListener("scroll",t,{passive:!0}),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(a),Array.from(a.children).forEach((e=>null==n?void 0:n.observe(e)))),()=>{a.removeEventListener("scroll",t),null==n||n.disconnect()}}),[a,e,c]);const d=t.useMemo((()=>function(e,t,{hasOverflow:n,atStart:i,atEnd:a}){var o,r,s,l,c,d;if(!t||!n)return{};const u=null!==(o=t.edges)&&void 0!==o?o:it,p=null!==(r=t.easing)&&void 0!==r?r:at,f=null!==(s=t.size)&&void 0!==s?s:36,h=null!==(l=t.startSize)&&void 0!==l?l:f,v=null!==(c=t.endSize)&&void 0!==c?c:f,C=("start"===u||"both"===u)&&!i,y=("end"===u||"both"===u)&&!a;if(!C&&!y)return{};const m="horizontal"===e?"to right":"to bottom",g=`linear-gradient(${m},${E=C?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,h):["black 0"],I=y?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%"],[...E,...I].join(",")})`,b=null!==(d=t.clip)&&void 0!==d?d:"border-box";var E,I;return{maskImage:g,WebkitMaskImage:g,maskMode:"alpha",WebkitMaskMode:"alpha",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskClip:b,WebkitMaskClip:b}}(e,n,r)),[e,n,r]);return Object.assign({ref:i,setRef:l,maskStyle:d},r)}function lt(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 ct=a.sortBy(a.prop(1)),dt=a.map(a.prop(0)),ut="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DISPLAY_ERRORS:"true",REPORT_RENDER_ERRORS:"true",USE_MEDIA_QUERY_NESTING:"true"};function pt(e,t){return t?"false"!==ut.USE_MEDIA_QUERY_NESTING?`${n=e,`@media (min-width: ${n}px)`} {${t}}`:t.includes(" & ")?`#app-container.${oe(e)} ${t.trim()}`:`#app-container.${oe(e)} & {${t}}`:"";var n}const ft={hovered:":hover",pressed:":active",focussed:":focus",disabled:":disabled"},ht={selected:'[data-selected="true"]',errored:'[data-errored="true"]'};function vt(e){return function(e){return Object.keys(ft).indexOf(e)>-1}(e)?ft[e]:function(e){return Object.keys(ht).indexOf(e)>-1}(e)?ht[e]:""}const Ct={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 yt(e,t){if(!Ct[e]||!Ct[e][t])throw new Error(`No CSS property mapping exists for styling property: ${e}.${t.toString()}`);return Ct[e][t]}function mt(e,t){return n=>t(...Object.keys(e).map((t=>e[t](n[t]))))}function gt(...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 bt(e,t){return`${e}:${t};`}function Et(e){return function(e,t){return`@media (${e}) {${t}}\n`}("prefers-color-scheme: dark",e)}class It extends Error{constructor(e,t){super(`Invalid styling value '${t}': ${e}.`),this.name=this.constructor.name}}function xt(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 It(n,JSON.stringify(t));return!0}function Lt(e){if(isNaN(e)||"number"!=typeof e&&"string"!=typeof e)return"value must be a number"}function Dt(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 wt(e){if(null==e||""===e)return"value must not be omitted"}function St(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 At(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 Tt(e){if(null!=e&&""!==e)return"value must not be specified"}function jt(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 Mt(...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||Lt(t)),void 0))return}}return`value must be a space separated list of numbers, of one of the following lengths: ${e.join(" ,")}`}}function Ot(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 kt(e){if("string"!=typeof e)return"value must be a string"}const Vt=a.is(Object);function Rt(e){const t=Object.entries(e);return n=>Vt(n)&&!Array.isArray(n)?t.reduce(((e,[t,i])=>e||i(n[t])),void 0):`Input value (${e}) must be an object`}function Ht(e){if("number"!=typeof e&&"string"!=typeof e||isNaN(e)||!(e>=0))return"value must be a positive number"}function _t(e,t,n){return xt(Lt,n)?bt(yt(e,t),`${n}`):""}function Pt(e){return(t,n,i)=>xt(Dt(Object.keys(e)),i)?bt(yt(t,n),`${e[i]}`):""}function Nt(e){return xt(wt,e)?mt({light:t(At,!1),dark:t(Ot(Tt,At),!0)},gt("\n "))(e):"";function t(e,t){return n=>{if(xt(e,n)&&n){const e=bt("background-image",`url("${n}")`);return t?Et(e):e}return""}}}function Ft(e){const t={crop:"auto",fit:"contain",fill:"cover"};return"string"==typeof e&&(e=e.toLowerCase()),xt(Ot(Tt,Dt(Object.keys(t))),e)&&e?bt("background-size",t[e]):""}const $t=a.cond([[a.equals("top-left"),a.always("top left")],[a.equals("top-right"),a.always("top right")],[a.equals("bottom-left"),a.always("bottom left")],[a.equals("bottom-right"),a.always("bottom right")],[a.T,a.identity]]);function Zt(e){const t="string"==typeof e?e.toLowerCase():e;return xt(Ot(Tt,Dt(["top","right","bottom","left","center","top-left","top-right","bottom-left","bottom-right"])),t)&&t?bt("background-position",$t(t)):""}function Gt(e,t,n){return xt(Ot(Lt,Mt(2,3,4)),n)?bt(yt(e,t),n.toString().split(" ").map((e=>`${e}px`)).join(" ")):""}function Bt(e){return(t,n,i)=>xt(jt({fit:Dt(e),percentage:Lt,fixed:Lt}),i)?bt(yt(t,n),Ut(i)):""}function Ut(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 zt=Rt({light:St,dark:Ot(Tt,St)});function qt(e,t,n){return i=>{if(i){const a=bt(yt(e,t),Wt(String(i)));return n?Et(a):a}return""}}function Kt(e,t,n){return xt(zt,n)?mt({light:qt(e,t,!1),dark:qt(e,t,!0)},gt("\n "))(n):""}function Wt(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 Yt=Rt({offsetX:Ot(Tt,Lt),offsetY:Ot(Tt,Lt),blurRadius:Ot(Tt,Lt),spreadRadius:Ot(Tt,Lt),color:zt}),Jt=e=>t=>null!=t?String(t):e,Xt=a.compose(a.concat(a.__,"px"),Jt("0")),Qt=e=>t=>"string"==typeof t?e(t):t,en=a.compose(Qt(a.concat(a.__,"px")),Jt(void 0)),tn=a.compose(Qt(Wt),a.prop("dark"));function nn(e,t,n){return bt(e,mt({offsetX:Xt,offsetY:Xt,blurRadius:t.spreadRadius?Xt:en,spreadRadius:en,color:n},gt(" "))(t))}const an=Rt({edges:Ot(Tt,Dt(["start","end","both"])),size:Ot(Tt,Lt),startSize:Ot(Tt,Lt),endSize:Ot(Tt,Lt),easing:Ot(Tt,Dt(["linear","ease-in","ease-out","ease-in-out"])),clip:Ot(Tt,Dt(["border-box","padding-box","content-box"]))});const on={center:"center","flex-end":"flex-end","flex-start":"flex-start",stretch:"stretch"},rn={container:{justifyContent:Pt(on),alignItems:Pt(on),shadow:function(e,t,n){var i,o,r;if(xt(Yt,n)){const s=yt(e,t);return gt("\n")(nn(s,n,(o="light",r="#80000000",a.compose(Wt,a.propOr(r,o)))),(null===(i=n.color)||void 0===i?void 0:i.dark)?Et(nn(s,n,tn)):"")}return""},gap:Gt,overflow:Pt({hidden:"hidden",visible:"visible"}),scrollMask:function(e,t,n){return null==n||xt(an,n),""},blur:function(e,t,n){return xt(Ht,n)?bt(yt(e,t),`blur(${n.toString()}px)`):""},opacity:_t},text:{textColor:Kt,fontSize:Gt,fontFamily:function(e,t,n){return xt(kt,n)?bt(yt(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:Pt({100:100,200:200,300:300,400:400,500:500,600:600,700:700,800:800,900:900}),fontStyle:Pt({normal:"normal",italic:"italic"}),lineHeight:Gt,lineLimit:function(e,t,n){return xt(Lt,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:Gt,baselineTextAlign:Pt({super:"super",sub:"sub",baseline:"baseline"}),horizontalTextAlign:Pt({left:"left",right:"right",center:"center",start:"start",end:"end",justify:"justify"}),textDecoration:Pt({underline:"underline","strike-through":"line-through",none:"none"}),textTransform:Pt({capitalize:"capitalize",uppercase:"uppercase",lowercase:"lowercase",none:"none"})},background:{backgroundColor:Kt,backgroundImage:function(e,t,n){return xt(wt,n)?mt({url:Nt,position:Zt,scale:Ft},gt)(n):""}},dimension:{width:Bt(["wrap-content","fit-width"]),maxWidth:Gt,minWidth:Gt,height:Bt(["wrap-content","fit-height"]),maxHeight:Gt,minHeight:Gt,rotateZ:(sn="Z",(e,t,n)=>{const i=`rotate${sn}`;return xt(Lt,n)?bt(yt(e,t),`${i}(${n.toString()}deg)`):""})},flexChild:{alignSelf:Pt(on),weight:_t,order:_t},spacing:{margin:Gt,padding:Gt,offset:function(e,t,n){return xt(Mt(2),n)?`transform:translate(${n.split(" ").join("px, ")}px);`:""}},border:{borderColor:Kt,borderRadius:Gt,borderWidth:Gt,borderStyle:Pt({solid:"solid",dashed:"dashed"})}};var sn;function ln(e){return Object.keys(e).reduce(((t,n)=>(n&&e[n]&&Object.keys(e[n]).forEach((i=>{if(!rn[n])throw new Error(`No styling transformers exist for styling category key: ${n}`);const a=rn[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 cn="FAILED_TEMPLATING_DATA",dn=new Map;function un(e){return String.fromCharCode(97+e)}function pn(e,t,n){const i=`${e||R.pluginId}-${void 0!==t?String(t):"outer"}`,a=dn.get(i);if(a&&a.sheet.container.isConnected)return a;const o=function(e,t){const n={key:void 0!==e?`inner-css-${un(e)}`:"outer-css",container:t};return t&&t.parentElement&&(n.container=t.parentElement),p(n)}(t,n);return dn.set(i,o),o}function fn(e,t,n){return pn(e,t,n).css}function hn(e,t,n){return pn(e,t,n).cx}const vn="%%%OWN_CLASS_REF%%%",Cn={placeholderText:"::placeholder"},yn=a.memoizeWith(((e,t,n,i)=>`${String(e)}-${t}-${n}`),mn);function mn(e,t,n,i){const a=fn(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 s=n,l=this.scopeClass,c=Object.entries(null!==(r=s.elements)&&void 0!==r?r:{});try{const t=c.reduce(((t,[n,a])=>Object.assign(Object.assign({},t),{[n]:gn(a,l,i,String(n),e)})),{}),n=Object.entries(t),r=i?"parent-"+o++:"",s=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(vn,r);return Object.assign(Object.assign({},e),{[t]:i?a(i):""})}),{own:`${s}${s&&r?" ":""}${r}`})}catch(e){const t=e;throw t.code="FAILED_PARSING_STYLES",t}}.bind({})}function gn(e,t,n,i,a){return e.map(function(e,t,n){var i;const a=null!==(i=Cn[n])&&void 0!==i?i:"";return i=>Object.entries(i).map((([i,o])=>{const r=o?ln(o):"";switch(!0){case"default"===i:return r?a?`\n &${a} {\n${r}\n}\n`:`\n${r}\n`:"";case Boolean(e):return`\n .${e}${vt(i)} &${a} {\n${r}\n}\n`;case t&&"own"!==n:return`\n .${vn}${vt(i)} &${a} {\n${r}\n}\n`;default:return`\n &${vt(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:`${pt(i,t)}\n`):e}),"")}const bn=t.createContext(a.always(void 0)),En=()=>t.useContext(bn),In=t.createContext(null);function xn(e,n){var i;const a=t.useContext(In);return a&&null!==(i=n(a))&&void 0!==i?i:e}const Ln=t.createContext((()=>{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")})),Dn=Ln.Consumer,wn=()=>t.useContext(Ln),Sn=t=>e.jsx(Ln.Provider,{value:(e,n,i,a)=>t.value(e,null!=n?n:t.overrides,i,a),children:t.children}),An=t.createContext(null),Tn=()=>t.useContext(An),jn=t.createContext({get(){throw Error("Offer context has not been set")}}),Mn=t=>e.jsx(jn.Provider,{value:{get:()=>t.context},children:t.children}),On=()=>t.useContext(jn).get(),kn=()=>{try{return t.useContext(jn).get().creative.copy}catch(e){return}},Vn=new RegExp("<a ([^>]*>((?!</a>).)*</a>)","g"),Rn=a.compose(a.not,a.isEmpty),Hn=a.where({url:Rn,title:Rn});function _n(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(Nn(e,"This Meta Attribute could not be parsed."));return function(e,t,n,i){switch(t){case"openLinks":return function(e,t,n){Pn(t,e,"openLinks",1,2);const i=Fn(t,e,0,(e=>"InApp"===e?"InApp":null),"openLinks meta attribute can only open InApp"),a=$n(t,1,(e=>"string"==typeof e&&e.length?e:null));if("InApp"===i)return n.replace(Vn,((e,t)=>`<a ${Xe} ${a?`${Qe}="${a}" `:""}${t}`));return n}(e,n,i);case"sliceText":return function(e,t,n){Pn(t,e,"sliceText",2,2);const i=Fn(t,e,0,(e=>"Chars"===e?"Chars":null),"sliceText meta attribute can only slice by Chars"),a=Fn(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(Nn(e,`Unknown "SliceBy" value. ${i}`))}(e,n,i);case"timerFormat":return function(e,t,n){var i;Pn(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,s=i?o-60*r:n?o:e,l=[[/hh/,String(a).padStart(2,"0")],[/h/,String(a)],[/mm/,String(r).padStart(2,"0")],[/m/,String(r)],[/ss/,String(s).padStart(2,"0")],[/s/,String(s)]];let c="",d=0;for(;d<t.length;){if("\\"===t[d]&&d+1<t.length){c+=t[d+1],d+=2;continue}let e=!1;for(const[n,i]of l){const a=t.slice(d).match(n);if(a&&0===a.index){c+=i,d+=a[0].length,e=!0;break}}e||(c+=t[d],d++)}return c}(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(Nn(e,`append meta attribute takes 1 argument; received ${t.length}.`));return n+t[0]}(e,n,i);default:throw new Error(Nn(e,`Unknown Meta Attribute '${t}'.`))}}(e,a,r,t)}),n)}function Pn(e,t,n,i,a){const o=new Error(Nn(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 Nn(e,t){return`Malformed Meta Attribute: '${e}' - ${t}`}function Fn(e,t,n,i,a){const o=$n(e,n,i);if(null!==o)return o;throw Error(Nn(t,a||`Could not parse meta attribute argument at index ${n} from arguments ${JSON.stringify(e)}`))}function $n(e,t,n){return n(e[t])}const Zn="DATA",Gn="STATE",Bn="ATTRIBUTE",Un=`${Zn}|${Gn}|${Bn}`,zn=new RegExp(`^(${Un})\\.`),qn=new RegExp(`^${Bn}`),Kn=new RegExp(`%\\^(?:${Un})\\.[a-zA-Z0-9]+[a-zA-Z0-9\\.]*(?:\\:(?:append\\[[^\\]\\[|:]*\\]|[a-zA-Z0-9]+\\[[a-zA-Z0-9\\.,:\\\\ -]*\\]))*(?:\\|.*?)?\\^%`,"g"),Wn=Symbol("invalid");function Yn(e,t="creativeCopy"){const n=Jn({data:e},t);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:Jn(t,n,this.dataMap),hasAttributeData:this.hasAttributeData||"attribute"in t});let i=!1;const o=t,r=a.pipe(a.slice(2,-2),a.split("|"),(e=>a.reduce(((e,t)=>{let n;if(zn.test(t)){const i=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=i[0];if(o){if(n=this.dataMap.get(o),n&&n===Wn)throw new W(cn,`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(i.length>1&&n)try{n=_n(o,i.slice(1),n)}catch(e){throw new W(cn,`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 n?a.reduced({provided:!0,value:n}):e}return a.reduced({provided:!0,value:t})}),{provided:!1,value:""},e))),s=a.replace(Kn,(e=>{const t=qn.test(e.slice(2));if(t&&!this.hasAttributeData)return e;const n=r(e);return n.provided?n.value:t?e:(i=!0,n.value)}),o);return!1===i?s:""}.bind({dataMap:n,hasAttributeData:!1})}function Jn(e,t,n){const i=new Map(n);return"data"in e&&o(e.data,`${Zn}${t?"."+t:""}`),"state"in e&&o(e.state,`${Gn}${t?"."+t:""}`),"attribute"in e&&o(e.attribute,`${Bn}${t?"."+t:""}`),i;function o(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,Wn),e&&"object"==typeof e&&a.forEachObjIndexed(((e,n)=>o(e,`${t}.${n}`)),e)}}const Xn=t.createContext(Yn({})),Qn=Xn.Consumer,ei=Xn.Provider,ti=()=>t.useContext(Xn),ni=t.createContext(null),ii=ni.Provider,ai=t.createContext("OUTER"),oi=()=>"VARIANT"===t.useContext(ai),ri=t.createContext(void 0),si=()=>t.useContext(ri);var li,ci,di,ui,pi,fi,hi,vi=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))},Ci=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},yi=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 mi{constructor(e,t,n,i,o,r){li.set(this,void 0),ci.set(this,void 0),di.set(this,new Set),ui.set(this,void 0),pi.set(this,void 0),fi.set(this,void 0),hi.set(this,void 0),Ci(this,li,a.partial(e.subscribe.bind(e),[n]),"f"),Ci(this,ci,a.partial(e.dispatch.bind(e),[n]),"f"),Ci(this,ui,t,"f"),Ci(this,pi,i,"f"),Ci(this,fi,o,"f"),Ci(this,hi,r,"f"),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=yi(this,li,"f").call(this,e),n=()=>{t(),yi(this,di,"f").delete(n)};return yi(this,di,"f").add(n),n}onInteractivityChange(e){return yi(this,pi,"f").subscribe(e)}onEvent(...e){const t=e.reduce(((e,t)=>{if("partner"===t.source||"*"===t.source){const n=yi(this,fi,"f").call(this,t.name).subscribe(t.callback);return[...e,()=>n.unsubscribe()]}return e}),[]),n=()=>{t.forEach((e=>{e()})),yi(this,di,"f").delete(n)};return yi(this,di,"f").add(n),n}globalDispatch(e){yi(this,ci,"f").call(this,e)}dispose(){yi(this,di,"f").forEach((e=>e())),Ci(this,di,new Set,"f"),yi(this,pi,"f").clear()}createChildPlugin(e){return"dcui-child"===e.name&&yi(this,hi,"f")&&e.config?yi(this,ui,"f").call(this,Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{fonts:yi(this,hi,"f").call(this)})})):yi(this,ui,"f").call(this,e)}}li=new WeakMap,ci=new WeakMap,di=new WeakMap,ui=new WeakMap,pi=new WeakMap,fi=new WeakMap,hi=new WeakMap;class gi{onGlobalStateChange(){return()=>{}}onInteractivityChange(){return()=>{}}onEvent(){return()=>{}}globalDispatch(){}dispose(){}createChildPlugin(){return{close:()=>vi(this,void 0,void 0,(function*(){})),onClose:()=>vi(this,void 0,void 0,(function*(){})),putConfig:()=>vi(this,void 0,void 0,(function*(){})),send:()=>vi(this,void 0,void 0,(function*(){})),onEvent:()=>({subscribe:()=>({unsubscribe:()=>{}})})}}}var bi,Ei,Ii=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},xi=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 Li{constructor(e){bi.set(this,void 0),Ei.set(this,new Set),Ii(this,bi,e,"f")}subscribe(e){return xi(this,Ei,"f").add(e),!0===e(xi(this,bi,"f"))&&xi(this,Ei,"f").delete(e),()=>{xi(this,Ei,"f").delete(e)}}publish(e){Ii(this,bi,e,"f"),xi(this,Ei,"f").forEach((e=>{!0===e(xi(this,bi,"f"))&&xi(this,Ei,"f").delete(e)}))}clear(){xi(this,Ei,"f").clear()}}bi=new WeakMap,Ei=new WeakMap;var Di=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)},wi=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 Si="breakpoint-0px";class Ai{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,s,l,c,d,u,p,f,h,v,C,y,m,g,b,E,I,x,L,D;const w=this.appFactory,S=this.logger,A=null!==(e=this.gatewayFactory)&&void 0!==e?e:()=>new gi;return D=class extends HTMLElement{static get observedAttributes(){return["visible","interactivity","active-breakpoint"]}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),s.set(this,null),l.set(this,null),c.set(this,null),d.set(this,null),u.set(this,null),p.set(this,null),f.set(this,!1),h.set(this,null),v.set(this,null);const e=this.attachShadow({mode:"open"});wi(this,a,document.createElement("div"),"f"),Di(this,a,"f").id="app-container",Di(this,a,"f").classList.add("default"),e.appendChild(Di(this,a,"f"))}attributeChangedCallback(e,a,o){if(o!==a)switch(e){case"visible":Di(this,n,"f").call(this,"true"===o);break;case"interactivity":"ENABLED"!==o&&"DISABLED"!==o||Di(this,i,"f").call(this,o);break;case"active-breakpoint":Di(this,t,"m",C).call(this,o,a)}}makeInteractivityUpdateHandler(e){wi(this,i,(t=>{e.publish(t)}),"f")}makeVisbilityUpdateHandler(e,i,a){const o="true"===this.getAttribute("visible"),r=this.getAttribute("slotInstanceGuid");wi(this,n,(o=>{o?(wi(this,n,(()=>null),"f"),0===e&&a.globalDispatch({type:ye,payload:{event:"Interactive"}}),i&&(a.globalDispatch({type:Ce,payload:{name:"SignalImpression",parentGuid:i}}),Di(this,t,"m",L).call(this,i,a)),r&&a.globalDispatch({type:Ce,payload:{name:"SignalImpression",parentGuid:r}})):Di(this,t,"m",g).call(this)}),"f"),Di(this,n,"f").call(this,o)}getOfferPositionAttr(){const e=this.getAttribute("offerPositionIndex"),t=Number(e);return(null==e||isNaN(t)||t<0)&&T(`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){T(`Invalid JSON attribute ${e}: ${n}`)}}disconnectedCallback(){Di(this,t,"m",g).call(this)}connectedCallback(){var e,t,n;const i=this.getAttribute("container"),o=this.getAttribute("plugin-id");Di(this,a,"f").setAttribute("style","width:100%;display:flex;flex-direction:"+("column"===i?"column":"row"));const r=this.getOfferPositionAttr(),s=this.getJSONAttr("layoutSchema"),{layoutSchema:l,variantTimers:c}=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}}(s),d=this.getJSONAttr("childLayouts","[]"),u=this.getJSONAttr("offerData"),p=new Li("DISABLED"===this.getAttribute("interactivity")?"DISABLED":"ENABLED"),f=null!==(e=this.getAttribute("schemaVersion"))&&void 0!==e?e:"",h=this.getJSONAttr("offerState","{}");w||T("Cannot create app without factory. Please build the connector withAppFactory.");const v=A({offerPositionIndex:r,creativeInstanceGuid:null===(t=null==u?void 0:u.creative)||void 0===t?void 0:t.instanceGuid},p);this.makeInteractivityUpdateHandler(p),w({rootElement:Di(this,a,"f"),gateway:v,logger:S,offerPositionIndex:r,offerData:u,layoutSchema:l,childLayouts:d,schemaVersion:f,pluginId:o||R.pluginId,offerState:h,variantTimers:c}),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,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,p=new WeakMap,f=new WeakMap,h=new WeakMap,v=new WeakMap,t=new WeakSet,C=function(e,t){Di(this,a,"f").classList.remove(t||Si),Di(this,a,"f").classList.add(e||Si)},y=function(){Di(this,d,"f")&&(clearTimeout(Di(this,d,"f")),wi(this,d,null,"f"))},m=function(e){Di(this,t,"m",y).call(this),wi(this,d,window.setTimeout(e,1e3),"f")},g=function(){Di(this,t,"m",y).call(this),Di(this,t,"m",I).call(this),Di(this,c,"f")&&(Di(this,c,"f").disconnect(),wi(this,c,null,"f")),Di(this,u,"f")&&(document.removeEventListener("visibilitychange",Di(this,u,"f")),wi(this,u,null,"f")),Di(this,h,"f")&&(window.removeEventListener("beforeunload",Di(this,h,"f")),wi(this,h,null,"f")),Di(this,v,"f")&&(Di(this,a,"f").removeEventListener("click",Di(this,v,"f")),wi(this,v,null,"f")),wi(this,f,!1,"f"),wi(this,p,null,"f")},b=function(e,t){if(!Di(this,f,"f")||null==Di(this,p,"f"))return;const n=Di(this,p,"f"),i=Date.now();if(i<=n)return wi(this,f,!1,"f"),void wi(this,p,null,"f");t.globalDispatch({type:Ce,payload:{name:"SignalUserInteraction",parentGuid:e,action:"ViewabilityDurationTracking",context:"Offer Visibility Duration",objectData:{startTimestamp:n.toString(),endTimestamp:i.toString()}}}),wi(this,f,!1,"f"),wi(this,p,null,"f")},E=function(e,n){Di(this,r,"f")||Di(this,s,"f")||!("ResizeObserver"in window)||(wi(this,s,new ResizeObserver((i=>{var a;if(Di(this,r,"f"))return;const o=i[0];if(!o)return;const s=null===(a=o.borderBoxSize)||void 0===a?void 0:a[0],c=s?s.inlineSize:o.contentRect.width,d=s?s.blockSize:o.contentRect.height;0!==c&&0!==d&&(Di(this,t,"m",x).call(this),wi(this,l,window.setTimeout((()=>{wi(this,r,!0,"f"),Di(this,t,"m",I).call(this),window.requestAnimationFrame((()=>{n.globalDispatch({type:Ce,payload:{name:"SignalRenderGeometry",parentGuid:e,objectData:{widthPx:Math.round(c),heightPx:Math.round(d)}}})}))}),250),"f"))})),"f"),Di(this,s,"f").observe(Di(this,a,"f")))},I=function(){Di(this,t,"m",x).call(this),Di(this,s,"f")&&(Di(this,s,"f").disconnect(),wi(this,s,null,"f"))},x=function(){Di(this,l,"f")&&(clearTimeout(Di(this,l,"f")),wi(this,l,null,"f"))},L=function(e,n){if(Di(this,o,"f"))return;const i=this.getAttribute("slotInstanceGuid");if(i&&Di(this,t,"m",E).call(this,i,n),!("IntersectionObserver"in window))return n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!1,inferred:!1}}),void wi(this,o,!0,"f");Di(this,c,"f")||(wi(this,c,new IntersectionObserver((i=>{i.forEach((i=>{i.isIntersecting&&i.intersectionRatio>=.5?(Di(this,o,"f")||Di(this,t,"m",m).call(this,(()=>{Di(this,o,"f")||(n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!1}}),wi(this,o,!0,"f"))})),Di(this,f,"f")||(wi(this,p,Date.now(),"f"),wi(this,f,!0,"f"))):(Di(this,t,"m",y).call(this),Di(this,f,"f")&&Di(this,t,"m",b).call(this,e,n))}))}),{threshold:.5}),"f"),Di(this,c,"f").observe(Di(this,a,"f")),wi(this,v,(()=>{Di(this,o,"f")||(n.globalDispatch({type:Ce,payload:{name:"SignalViewed",parentGuid:e,supportedByBrowser:!0,inferred:!0}}),wi(this,o,!0,"f"),Di(this,t,"m",y).call(this)),Di(this,f,"f")&&Di(this,t,"m",b).call(this,e,n)}),"f"),Di(this,a,"f").addEventListener("click",Di(this,v,"f")),wi(this,u,(()=>{Di(this,c,"f")&&("hidden"===document.visibilityState?(Di(this,t,"m",y).call(this),Di(this,f,"f")&&Di(this,t,"m",b).call(this,e,n),Di(this,c,"f").unobserve(Di(this,a,"f"))):"visible"===document.visibilityState&&Di(this,c,"f").observe(Di(this,a,"f")))}),"f"),document.addEventListener("visibilitychange",Di(this,u,"f")),wi(this,h,(()=>{Di(this,f,"f")&&Di(this,t,"m",b).call(this,e,n)}),"f"),window.addEventListener("beforeunload",Di(this,h,"f")))},D;function T(e){throw S({level:z,code:"MODULE_BUILDER/FAILED_TO_BUILD_MODULE",message:e}),Error(e)}}}const Ti=t.createContext({get:()=>new gi}),ji=t=>e.jsx(Ti.Provider,{value:{get:()=>t.context},children:t.children});const Mi=t.createContext({get(){throw Error("Layout Schema context has not been set")}}),Oi=t=>e.jsx(Mi.Provider,{value:{get:()=>t.context},children:t.children}),ki=()=>t.useContext(Mi).get(),Vi=t.createContext("ENABLED"),Ri=()=>t.useContext(Vi);function Hi(e){const t=Pi(e);return function e(t,n){if("string"!=typeof t)return e.bind({dataMap:Pi(t,this.dataMap)});if(!n)throw new W("FAILED_TO_MAP_STATIC_DATA","No namespace submitted to StaticData Mapper");const i=t;return a.path([n,i],this.dataMap)}.bind({dataMap:t})}const _i={images:{},links:{},icons:{},copy:{},responseOptionsMap:{}};function Pi(e,t=_i){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 Ni=t.createContext(Hi({}));Ni.Consumer;const Fi=Ni.Provider,$i=e=>{const n=t.useContext(Ni),i=e.split("|");for(const e of i){const t=n(e.trim(),"images");if(t)return t}},Zi=()=>t.useContext(Ni),Gi=t.createContext({});function Bi({info:n,children:i}){const a=t.useContext(Gi);return e.jsx(Gi.Provider,{value:Object.assign(Object.assign({},a),n),children:i})}const Ui=t.createContext({get(){throw Error("Catalog Item context has not been set")}}),zi=t=>e.jsx(Ui.Provider,{value:{get:()=>t.context},children:t.children}),qi=()=>t.useContext(Ui).get(),Ki=t.createContext(""),Wi=()=>t.useContext(Ki),Yi=t.createContext(""),Ji=t.createContext(void 0);function Xi({children:n}){const i=t.useMemo((()=>{const e=document.createElement("div");return e.inert=!0,{inert:!0===e.inert}}),[]);return e.jsx(Ji.Provider,{value:i,children:n})}const Qi=t.createContext(!0),ea=t.createContext(null),ta=ea.Provider,na=t.createContext(null);function ia(n){const[i,a]=t.useState({});function o(e){if(e in i)return[e];const t=`${e}-`;return Object.keys(i).filter((e=>e.startsWith(t)))}return e.jsx(na.Provider,{value:{registerValidators:function(e,t){a((n=>Object.assign(Object.assign({},n),{[e]:{validators:t,isValid:!0}})))},validateFieldKeys:function(e){const t={};let n=!0;const r=e.flatMap(o);if(0===r.length)return!1;for(const e of r){const a=i[e];if(a){const i=Object.assign({},a),o=a.validators.every((e=>e()));o!==i.isValid&&(t[e]=Object.assign(Object.assign({},i),{isValid:o})),n&&(n=o)}else n=!1}return Object.values(t).length>0&&a((e=>Object.assign(Object.assign({},e),t))),n},getFieldKeyValidity:function(e){const t=o(e);return 0!==t.length&&t.every((e=>{var t,n;return null!==(n=null===(t=i[e])||void 0===t?void 0:t.isValid)&&void 0!==n&&n}))}},children:n.children})}function aa(){const e=t.useContext(na);if(!e)throw new Error("useValidator must be used within a ValidatorProvider");return e}function oa(e,n){const i=aa();t.useEffect((()=>{e&&i.registerValidators(e,n)}),[])}function ra(e,t){return t?t.validators.map((t=>e[t])).filter((e=>void 0!==e)):[]}const sa=a.compose(a.anyPass([a.isEmpty,a.all(a.isEmpty)]),a.flatten,a.map(a.values),a.map(a.ifElse(a.isNil,a.always({}),a.identity)),a.values,a.propOr({},"value")),la=a.compose(a.isEmpty,a.prop("predicates"));function ca(e,t){return`transition: ${t.map((t=>`${t} ${e}ms`)).join(", ")};`}const da=a.curry(((e,{duration:t,predicates:n,styles:i})=>{return{predicates:n,classname:e(ln(i)),transitionBaseClassname:e(ca(t,(o=i,a.toPairs(o).flatMap((e=>{const[t,n]=null!=e?e:[];return n&&t?a.keys(n).map((e=>yt(t,e))):[]})))))};var o})),ua=a.anyPass([sa,la]);function pa(e){return e.value!==e.defaultValue}function fa(e,t){const n=function(e,t){return G(t,[e]).flatMap((({formKey:e,fieldKey:n})=>{var i;const a=null===(i=t[e])||void 0===i?void 0:i[n];return a&&N(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(F);case"is-touched":return n.some((e=>e.touched));case"is-untouched":return n.every((e=>!e.touched));case"is-dirty":return n.some(pa);case"is-pristine":return n.every((e=>!pa(e)));default:return!1}}const ha={is:a.equals,"is-not":a.compose(a.not,a.equals),"is-below":a.lt,"is-above":a.gt};function va(e,t){return e.includes(t)}const Ca={is:a.equals,"is-not":a.compose(a.not,a.equals),exists:va,"not-exists":a.compose(a.not,va)},ya={exists:a.compose(a.not,a.either(a.isNil,a.isEmpty)),"not-exists":a.either(a.isNil,a.isEmpty)},ma={"is-true":a.equals(!0),"is-false":a.equals(!1)},ga={is:a.equals,"is-not":a.compose(a.not,a.equals)};function ba(e){return(t,n)=>n[e]}const Ea=a.cond([[(e,t)=>a.equals("Breakpoint",e),ba("activeBreakpoint")],[(e,t)=>a.equals("Progression",e),ba("progressionIndex")],[(e,t)=>a.equals("Position",e),ba("positionIndex")]]);function Ia(e,t){return e.creativeCopy&&"string"==typeof e.creativeCopy[t]?e.creativeCopy[t]:void 0}const xa=a.cond([[(e,t,n)=>a.equals("Breakpoint",e),(e,t,n)=>{const i=a.lensPath(["breakpoints",t]);return a.pipe(a.over(i,Number),a.view(i))(n)}],[(e,t,n)=>a.equals("Progression",e),(e,t,n)=>a.cond([[a.gt(0),a.add(n.totalGroups)],[a.lte(0),a.identity]])(Number(t))],[(e,t,n)=>a.equals("Position",e),(e,t,n)=>a.cond([[a.gt(0),a.add(n.totalOffers)],[a.lte(0),a.identity]])(Number(t))]]),La=a.compose(a.not,isNaN);function Da(e,t){return e.map((e=>{var n,i,a,o;switch(e.type){case"StaticString":return(0,ga[e.predicate.condition])(e.predicate.input,e.predicate.value);case"CreativeCopy":return(0,ya[e.predicate.condition])(Ia(t,e.predicate.value));case"StaticBoolean":return(0,ma[e.predicate.condition])(e.predicate.value);case"CustomState":return(0,ha[e.predicate.condition])(null!==(n=t.customStates[e.predicate.key])&&void 0!==n?n:0,e.predicate.value);case"DomainState":return(0,ha[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 fa(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,Ca[e.predicate.content.condition])(e.predicate.content.input,e.predicate.content.value);case"TextLength":return(0,ha[e.predicate.content.condition])(e.predicate.content.input.length,e.predicate.content.value);case"Numeric":return(0,ha[e.predicate.content.condition])(Number(e.predicate.content.input),e.predicate.content.value);default:return!1}}(e);default:{const n=ha[e.predicate.condition],i=null!==(o=Ea(e.type,t))&&void 0!==o?o:NaN,a=xa(e.type,e.predicate.value,t);return!!La(i)&&n(i,a)}}}))}function wa(e){return a.pathOr(0,["breakpoint","breakpoints",e.breakpoint.activeBreakpoint],e)}const Sa={breakpoints:{},activeBreakpoint:NaN,progressionIndex:NaN,positionIndex:NaN,totalOffers:NaN,totalGroups:NaN,creativeCopy:{},customStates:{},domainStates:{},firedEvents:{},formStates:{}};function Aa(e,t,n,i){const o=t.map((e=>"Progression"===e.type?Object.assign(Object.assign({},e),{type:i?"Position":e.type}):e)),{cached:r,uncached:s}=o.reduce(((t,i)=>function(e,t,n,i){if("FormState"===e.type)return a.evolve({cached:a.append(fa(e.predicate,t.formStates))},i);const o=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:${Ia(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:${Ea(e.type,t)}:${t.totalGroups}`}}(e,t),r=n.current.get(o);return a.evolve(Ta(r)?{cached:a.append(r)}:{uncached:a.append({key:o,predicate:e})},i)}(i,n,e,t)),{cached:[],uncached:[]}),l=Da(s.map((({predicate:e})=>e)),n);return a.zip(s,l).forEach((([{key:t},n])=>{e.current.set(t,n)})),r.concat(l)}const Ta=a.is(Boolean);const ja=a.curry(((e,t,n)=>{var i,a,o,r,s,l;return{breakpoints:n.breakpoint.breakpoints,activeBreakpoint:wa(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!==(l=null===(s=n.progression)||void 0===s?void 0:s.totalGroups)&&void 0!==l?l:0,customStates:n.customStates,domainStates:n.domainStates,firedEvents:n.firedEvents,formStates:n.formStates,positionIndex:e,creativeCopy:t}})),Ma=a.lensPath(["predicate","content","input"]),Oa=a.lensPath(["predicate","content","value"]),ka=a.lensPath(["predicate","key"]);function Va(e,t){const n=a.over(Ma,(t=>t?e(t):"")),i=a.over(Oa,(t=>"string"==typeof t?e(t):t)),o=a.compose(n,i),r=a.over(ka,(t=>t?e(t):""));return t.map((e=>{switch(e.type){case"Placeholder":return"TextValue"===e.predicate.type?o(e):n(e);case"CustomState":return r(e);default:return e}}))}const Ra=a.all(a.equals(!0));function Ha(e){const n=oi(),i=si(),a=t.useRef(new Map),o=kn(),r=xn(Sa,ja(i,o)),s=Va(ti(),e);return t.useMemo((()=>Ra(Aa(a,s,r,n))),[a,s,r,n])}function _a(e){const n=oi(),i=si(),o=t.useRef(new Map),r=kn(),s=xn(Sa,ja(i,r)),l=ti();return t.useMemo((()=>a.mapObjIndexed((e=>{const t=Va(l,e);return Ra(Aa(o,t,s,n))}),e)),[o,e,s,n,l])}function Pa(e){e&&(e.style.display="")}function Na(e){e&&(e.style.display="none")}function Fa(e){return e.settings.duration}const $a=[{opacity:0,display:"none"},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],Za=[{opacity:1},{opacity:0,offset:.75},{opacity:0}];function Ga(e,t,n){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){const i=t?$a:Za,a=e.animate(i,{duration:n,iterations:1});return a.onfinish=()=>{t?Pa(e):Na(e)},a.oncancel=()=>{t?Pa(e):Na(e)},()=>{a.finish()}}return t?Pa(e):Na(e),()=>{}}function Ba({inTransitions:n,outTransitions:i,visible:a,children:o,containerClassName:r}){const s=t.useRef(null);return t.useEffect((()=>a&&n?n.forEach((e=>{s.current&&function(e,t,n,i){if("FadeIn"===i)Ga(e,t,n)}(s.current,a,Fa(e),e.type)})):!a&&i?i.forEach((e=>{s.current&&function(e,t,n,i){if("FadeOut"===i)Ga(e,t,n)}(s.current,a,Fa(e),e.type)})):()=>{}),[a]),e.jsx("div",{ref:s,style:{display:"none"},className:r,children:o})}function Ua(n){const i=wn(),a=Ha(n.schema.predicates),o=t.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.jsx(Ba,{inTransitions:n.schema.transition.inTransition,outTransitions:n.schema.transition.outTransition,visible:a,children:o}):"functionally"===n.schema.hide?e.jsx(Vi.Provider,{value:a?"ENABLED":"DISABLED",children:o}):a?e.jsx(e.Fragment,{children:o}):null}const za=a.mergeWith(((e,t)=>`${e||""} ${t||""}`.trim())),qa=e=>{var n;const i=t.useContext(ni),o=si(),r=Tn()||document.head,s=Wi(),l=fn(s,o,r),c=t.useCallback(yn,[]),d=xn([],(e=>Object.values(e.breakpoint.breakpoints))),u=i||c(d,s,o,r),p=e.styles?u(e.styles):{},f=e.styles&&e.styles.conditionalTransitions?function(e,t){const n=da(e);return a.mapObjIndexed((e=>ua(t)||!e?null:n({predicates:t.predicates,duration:t.duration,styles:e})),t.value)}(l,null===(n=e.styles)||void 0===n?void 0:n.conditionalTransitions):void 0,h=_a(f?a.mapObjIndexed(a.propOr([],"predicates"),f):{}),v=a.mapObjIndexed(((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}(f,t):void 0),h),C=f?a.mapObjIndexed(a.prop("transitionBaseClassname"),f):{},y=e.styles?((e,t,n)=>za(za(e,t),n))(p,v,C):void 0;return e.children({classnames:y,mapperRef:u})};function Ka(n){const i=wn();return e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e-item":n.e2eItemId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}function Wa(n){const i=wn();return e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e-item":n.e2eItemId,style:{display:"flex",flexDirection:"row"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const Ya={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s"],allowedAttributes:{a:["href","target",Xe,Qe],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],s:[]},allowedSchemes:["http","https"]},Ja=new Map([["&","_;^;_"]]),Xa=new RegExp(`<a *(?=${Ya.allowedAttributes.a.join("|")}|>)`,"g"),Qa=new RegExp('<a [^>]*href="([^"]+)"',"g"),eo=new RegExp("(<br *?>)|(<br *?/>)","g"),to="<br/>";function no(n){const i=ti(),a=Ri(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Qa,((e,t)=>{const n=t.replaceAll("&",Ja.get("&"));return e.replace(t,n)})).replaceAll(eo,to)}(e);return t===u(t,Ya)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a),{setRef:c,maskStyle:d}=st("vertical",lt(n.schema.styles));return o?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),a=Object.assign(Object.assign({},s),d);return u=o,new RegExp("</(p|ul|ol)>").test(u)?e.jsx("div",{ref:c,tabIndex:r,style:a,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(Xa,`<a ${i.join(" ")}`)}}):e.jsx("p",{ref:c,tabIndex:r,style:a,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(Xa,`<a ${i.join(" ")}`)}});var u}}):null}function io(t){const n=ti()(t.schema.value),i=Ri(),{tabIndex:a,styles:o,isDisabled:r}=b(i);return n?e.jsx(qa,{styles:t.schema.styles,children:({classnames:i})=>{const s={tabIndex:a,"aria-hidden":r,className:null==i?void 0:i.own,"data-testid":t.testId,"data-e2e":"BasicText"};return t.isInline?e.jsx("span",Object.assign({style:o},s,{children:n})):e.jsx("p",Object.assign({style:o},s,{children:n}))}}):null}function ao(t,n,i){if("BasicText"===t.type)return e.jsx(io,{schema:t.node,testId:n,isInline:null!=i&&i})}function oo(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:ro(t,a,o)})}function ro(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,re(t,i)))))}function so(n){const i=En(),a=wn(),o=On(),r=ti(),s=si(),l=Ri(),c=o.creative.responseOptionsMap[n.schema.responseKey],d=t.useRef(null),u=t.useRef(!1),p=t.useCallback((()=>{u.current||(d.current=Date.now())}),[]),f=t.useCallback((()=>{const e=d.current;if(null===e)return;const t=Date.now(),a="positive"===n.schema.responseKey?"-Positive":"-Negative";t>e&&i({type:Ce,payload:{name:"SignalUserInteraction",action:"Hover",context:`CreativeResponse${a}`,parentGuid:o.creative.instanceGuid,objectData:{startTimestamp:e.toString(),endTimestamp:t.toString()}}}),u.current=!1,d.current=null}),[i,o.creative.instanceGuid,n.schema.responseKey]),h=S(c);t.useEffect((()=>{h&&i(function(e){if(e.paymentTriggerConfig)return{type:Se,payload:{criteria:{key:"PAYMENT_OFFER_SELECTED"},signal:{name:j(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}`)}(c))}),[c,i,h]);const v=c?r({data:c},"creativeResponse"):r,{tabIndex:C,styles:y,isDisabled:m}=b(l);return L(c)&&!h&&void 0!==s?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t,mapperRef:r})=>e.jsx("button",{type:"button",tabIndex:C,"aria-disabled":m,"aria-label":n.schema.a11yLabel?v(n.schema.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},y),"data-testid":n.testId,"data-e2e":"CreativeResponse","data-e2e-response-type":n.schema.responseKey,onMouseOver:p,onMouseLeave:f,onClick:e=>{e.preventDefault(),f();const t=ve(o,c,n.schema.openLinks);i({type:le,payload:t})},className:null==t?void 0:t.own,disabled:m,children:e.jsx(ei,{value:v,children:(null==t?void 0:t.own)?oo(n.schema.children,t.own,r,a,n.testId):ro(n.schema.children,a,n.testId)})})}):null}function lo(t){const n=Ri(),{styles:i,isDisabled:a}=b(n);return t.schema.url.light?e.jsx(qa,{styles:g(t.schema.styles),children:({classnames:n})=>e.jsx("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 co(t){const n=Ri(),{styles:i,isDisabled:a}=b(n),o=$i(t.schema.imageKey);return null!=(r=o)&&"object"==typeof r&&"light"in r&&"string"==typeof r.light?e.jsx(qa,{styles:g(t.schema.styles),children:({classnames:n})=>e.jsx("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 uo={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function po(t){const n=t.schema.name,i=t.schema.description,a=t.schema.styles?ae(uo,t.schema.styles):uo,o=Ri(),{styles:r,isDisabled:s}=b(o);return n?e.jsx(qa,{styles:a,children:({classnames:a})=>e.jsx("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}`},!s&&i?{title:i}:{"aria-hidden":"true"},{children:n}))}):null}function fo(t,n){if("StaticIcon"===t.type)return e.jsx(po,{schema:t.node,testId:n})}const ho={backgroundColor:"#FFEEEE",color:"#FF0000",fontSize:"10px",padding:"4px",border:"1px solid #FF0000",margin:0,whiteSpace:"normal"};class vo extends t.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"===ut.REPORT_RENDER_ERRORS&&this.props.reporter({level:z,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"===ut.DISPLAY_ERRORS?e.jsxs("pre",{style:ho,children:[e.jsx("strong",{children:"Error:"})," [",e.jsx("em",{children:this.props.schema.type}),"]"," ",this.state.errorMessage]}):void 0:this.props.children}}vo.contextType=Gi;const Co={internally:"_top",externally:"_blank"};function yo(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:mo(t,a,o)})}function mo(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function go(t){var n;const i=Co[t.schema.open],a=wn(),o=Ri(),{tabIndex:r,styles:s,isDisabled:l}=b(o);return(null===(n=t.schema.children)||void 0===n?void 0:n.length)>0?e.jsx(qa,{styles:t.schema.styles,children:({classnames:n,mapperRef:o})=>{var c;return e.jsx("a",{href:t.schema.src,"data-testid":t.testId,"data-e2e":"StaticLink",target:null!=i?i:"_blank",tabIndex:r,"aria-disabled":l,"aria-label":null!==(c=t.schema.a11yLabel)&&void 0!==c?c:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:t.isInline?"inline":"block"},s),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?yo(t.schema.children,null==n?void 0:n.own,o,a,t.testId):mo(t.schema.children,a,t.testId)})}}):null}function bo(t,n,i){if("StaticLink"===t.type)return e.jsx(go,{schema:t.node,testId:n,isInline:null!=i&&i})}const Eo={elements:{own:[{default:{text:{fontFamily:"rokt-icons"}}}]}};function Io(n){const i=(a=n.schema.iconKey,t.useContext(Ni)(a,"icons"));var a;const o=null==i?void 0:i.name,r=n.schema.styles?ae(Eo,n.schema.styles):Eo,s=Ri(),{styles:l}=b(s);return o?e.jsx(qa,{styles:r,children:({classnames:t})=>e.jsx("span",{style:Object.assign(Object.assign({},l),{display:"inline-block"}),"aria-hidden":"true",className:"rokt-icon"+((null==t?void 0:t.own)?" "+t.own:""),"data-testid":n.testId,"data-e2e":`DataIcon-${o}`,children:o})}):null}function xo(n){const i=wn(),a=t.useRef(null),r=Wi(),s=si(),l=Tn(),c=(l?fn(r,s,l):o.css)`
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
overflow: hidden;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
> * {
|
|
7
7
|
position: absolute !important;
|
|
8
8
|
}
|
|
9
|
-
`;return t.useEffect((()=>{const e=new ResizeObserver((()=>{requestAnimationFrame((()=>{if(a.current){const e=Array.from(a.current.children).reduce(((e,t)=>Math.max(e,t.clientHeight)),0);a.current.style.height=`${e}px`}}))}));return a.current&&Array.from(a.current.children).forEach((t=>{e.observe(t)})),()=>{e.disconnect()}}),[]),e.jsx(
|
|
9
|
+
`;return t.useEffect((()=>{const e=new ResizeObserver((()=>{requestAnimationFrame((()=>{if(a.current){const e=Array.from(a.current.children).reduce(((e,t)=>Math.max(e,t.clientHeight)),0);a.current.style.height=`${e}px`}}))}));return a.current&&Array.from(a.current.children).forEach((t=>{e.observe(t)})),()=>{e.disconnect()}}),[]),e.jsx(qa,{styles:n.schema.styles,children:({classnames:o})=>{var r;return e.jsx("div",{ref:a,className:[c,null==o?void 0:o.own].filter(Boolean).join(" ")||void 0,"aria-label":null!==(r=n.schema.a11yLabel)&&void 0!==r?r:void 0,"data-testid":n.testId,"data-e2e":"ZStack",children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const Lo={elements:{own:[{default:{dimension:{width:{type:"percentage",value:100},height:{type:"fixed",value:50}},background:{backgroundColor:{light:"#000"}},border:{borderRadius:25}}}],thumb:[{default:{dimension:{width:{type:"fixed",value:50},height:{type:"fixed",value:50}},background:{backgroundColor:{light:"#FFF"}},text:{fontSize:22,fontFamily:"rokt-icons",horizontalTextAlign:"center"},border:{borderRadius:25}}}],fill:[{default:{background:{backgroundColor:{light:"#000"}}}}],label:[{default:{text:{fontSize:18,textColor:{light:"#FFF"},horizontalTextAlign:"center"}}}]}};function Do(n){const[i,a]=t.useState(!1),[o,r]=t.useState(!1),s=Wi(),l=Ri(),c=si(),d=En(),{customStateValue:u,label:p,a11yLabel:f,thumb:h}=n.schema,{containerClass:v,trackClass:C,fillClass:y,thumbClass:m,labelClass:g,buttonClass:E}=function(e,t){const n=fn(e,t);return{containerClass:n`
|
|
10
10
|
position: relative;
|
|
11
11
|
z-index: 1;
|
|
12
12
|
flex: 1;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
z-index: 0;
|
|
55
55
|
background-color: #00000000;
|
|
56
56
|
color: #00000000;
|
|
57
|
-
`}}(s,c),x=Xn();if(!n.schema.customStateKey)throw new Error("No custom state key provided for state trigger node.");const L=x(n.schema.customStateKey),D={type:be,payload:{key:L,value:null!=u?u:1}},w={type:Ce,payload:{name:"SignalUserInteraction",action:"Swipe",context:"SlideStateTrigger"}},S=n.schema.styles?ae(Eo,n.schema.styles):Eo,A=t.useRef(null),T=t.useRef(null),M=t.useRef(null),j=t.useRef(!1),O=t.useRef(void 0),{isDisabled:k}=b(l);t.useEffect((()=>{if(i)return I()?(document.addEventListener("touchmove",H),document.addEventListener("touchend",V)):(document.addEventListener("mousemove",H),document.addEventListener("mouseup",V)),$}),[i]);const V=()=>{$(),O.current=void 0,a(!1),o||(F(!0),j.current?(N(P()),_()):N(0))},R=e=>{i||o||k||(O.current=Lo(e),F(!1),a(!0))},H=e=>{var t,n;if(xo(M)){const i=Math.min(Math.max(0,(null!==(t=Lo(e))&&void 0!==t?t:0)-(null!==(n=O.current)&&void 0!==n?n:0)),P());N(i),i/P()*100>=75?j.current=!0:j.current=!1}},_=()=>{var e,t;r(!0),d(D),d(w),null===(t=null===(e=xo(A).parentElement)||void 0===e?void 0:e.parentElement)||void 0===t||t.focus()},P=()=>xo(A).getBoundingClientRect().width-xo(M).getBoundingClientRect().width,N=e=>{var t;xo(M).style.transform=`translateX(${e}px)`,xo(T).style.transform=`translateX(${e+(null===(t=xo(M))||void 0===t?void 0:t.getBoundingClientRect().width)/2}px)`},F=e=>{e?(xo(M).style.transition="transform .2s",xo(T).style.transition="transform .2s"):(xo(M).style.transition="",xo(T).style.transition="")},$=()=>{document.removeEventListener("mousemove",H),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",H),document.removeEventListener("touchend",V)};return e.jsx(Ba,{styles:S,children:({classnames:t})=>{var i,a,r,s,l,c;return e.jsxs("div",{className:`${v}`,"data-testid":n.testId,"data-e2e":"SlideStateTrigger",children:[e.jsxs("div",{className:`${C} ${null!==(i=null==t?void 0:t.own)&&void 0!==i?i:""}`,ref:A,"aria-hidden":!0,"data-testid":n.testId&&`${n.testId}-track`,children:[(null==p?void 0:p.value)?e.jsx("div",{className:`${g} ${null!==(a=null==t?void 0:t.label)&&void 0!==a?a:""}`,"data-testid":n.testId&&`${n.testId}-label`,children:p.value}):null,e.jsx("div",{className:`${y} ${null!==(r=null==t?void 0:t.fill)&&void 0!==r?r:""}`,ref:T,"data-testid":n.testId&&`${n.testId}-fill`}),e.jsx("div",{className:`${m} ${null!==(s=null==t?void 0:t.thumb)&&void 0!==s?s:""}`,ref:M,"data-testid":n.testId&&`${n.testId}-thumb`,"data-e2e":"SlideStateTrigger-thumb",onMouseDown:R,onTouchStart:R,children:null!==(l=null==h?void 0:h.icon)&&void 0!==l?l:"ArrowForward"})]}),e.jsx("button",{className:E,"aria-label":null!=f?f:void 0,onClick:_,disabled:o||k,"data-testid":n.testId&&`${n.testId}-button`,children:null!==(c=null==p?void 0:p.value)&&void 0!==c?c:"Unlock Offers"})]})}})}function xo(e){if(!e.current)throw new Error("Unexpected missing reference to required SlideStateTrigger Element");return e.current}function Lo(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientX:e.clientX}function Do(n){const i=wn();return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const wo="ToggleButtonStateTrigger";function So(n){const i=Oi(),a=En(),o=Xn(),r=t.useContext(Qi),s=o(n.schema.customStateKey),l=xn(0,(e=>e.customStates[s])),{tabIndex:c,styles:d,isDisabled:u}=b(i),p=()=>{const{validatorTriggerConfig:e}=n.schema;if(r&&e){if(!r.validateFieldKeys(e.validatorFieldKeys))return void a({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:wo}})}a({type:be,payload:{key:s,value:l?0:1}}),a({type:Ce,payload:{name:"SignalUserInteraction",action:"ToggleButtonStateTriggerClick",context:wo}})};return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"ToggleButtonStateTrigger",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:c,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Ao(n){const i=wn(),{setRef:a,maskStyle:o}=st("horizontal",lt(n.schema.styles));return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:r})=>{var s;return e.jsx("div",{ref:a,className:r?r.own:void 0,"data-testid":n.testId,style:Object.assign({display:"flex",flexDirection:"row",overflowX:"auto"},o),"aria-label":null!==(s=n.schema.a11yLabel)&&void 0!==s?s:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}function To(n){const i=wn(),{setRef:a,maskStyle:o}=st("vertical",lt(n.schema.styles));return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:r})=>{var s;return e.jsx("div",{ref:a,className:r?r.own:void 0,"data-testid":n.testId,style:Object.assign({display:"flex",flexDirection:"column",overflowY:"auto"},o),"aria-label":null!==(s=n.schema.a11yLabel)&&void 0!==s?s:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const Mo=t.createContext({extensions:{ctx:new Map,cache:[]}}),jo=()=>t.useContext(Mo).extensions;function Oo({extensions:t,extendStore:n,children:i}){const a=jo(),o=new Map([...a.ctx,...t.ctx]),r=a.cache.concat(t.cache);return e.jsx(Mo.Provider,{value:{extensions:{ctx:o,cache:r},extendStore:n},children:i})}function ko(e,t){const n=function(e){try{const t=JSON.parse(e);if(null!=t&&"object"==typeof t&&"type"in t&&"Extension"===t.type&&"name"in t&&"string"==typeof t.name&&t.name.trim().length>0&&"body"in t&&"object"==typeof t.body)return{type:"Extension",name:t.name,body:t.body}}catch(e){}return null}(t),i=n?e.ctx.get(n.name):null;return n&&i?[n,i]:null}function Vo({data:e}){const n=ko(jo(),e);var i;if((e=>{const{extendStore:n,extensions:i}=t.useContext(Mo);t.useEffect((()=>{e&&n&&!i.cache.includes(e.name)&&(n(e),i.cache.push(e.name))}),[e,i.cache,n])})((i=null==n?void 0:n[1])?{sagas:i.sagas,reducer:i.reducer,name:i.name,interceptors:i.interceptors}:void 0),n){const[e,t]=n;return t.componentFactory(e.body)}return null}function Ro(t,n){if(E("Extension",t))return e.jsx(Vo,{data:t.node.data})}function Ho(n){const i=Ni(),a=On(),o=Xn(),r=wn(),s=En(),l=t.useMemo((()=>a.catalogItems||[]),[a]),c=(e,t)=>o({data:Object.assign(Object.assign({},e),{positionIndex:t})},"catalogItem");return t.useEffect((()=>{for(const e of l)s({type:Ce,payload:{name:"SignalImpression",parentGuid:e.instanceGuid}})}),[l,s]),l.length>0?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>e.jsx("div",{"data-testid":n.testId,"data-e2e":"CatalogStackedCollection",className:null==a?void 0:a.own,style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(l.map(((t,a)=>e.jsx(Gi,{context:t,children:e.jsx(_i,{value:i(t),children:e.jsx(Jn,{value:c(t,a),children:r(n.schema.template,void 0,re(a,n.testId),`CatalogItem-${a}`)})})}))))})}):null}const _o={BasicText:(e,t)=>to(e,t,!0),StaticLink:(e,t)=>yo(e,t,!0)};function Po(n){const i=wn();return e.jsx(Sn,{value:i,overrides:_o,children:e.jsx(Dn,{children:i=>e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:null==a?void 0:a.own,"data-testid":n.testId,"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})})})}function No(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:Fo(t,a,o)})}function Fo(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,re(t,i)))))}function $o(t){const n=Oi(),i=En(),o=wn(),r=Xn(),{event:s}=t.schema,{tabIndex:l,styles:c,isDisabled:d}=b(n),u=a.mapObjIndexed((e=>r(e)),s.data||{}),p=()=>{i({type:Le,payload:{name:s.type,body:{offerId:u.providerOfferId,title:u.title,description:u.description}}})};return e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n,mapperRef:i})=>{var a;return e.jsx("button",{"aria-disabled":d,"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,className:null==n?void 0:n.own,"data-e2e":"PartnerEventButtonTrigger","data-testid":t.testId,disabled:d,onClick:p,tabIndex:l,type:"button",style:Object.assign({cursor:"pointer"},c),children:e.jsx(Jn,{value:r,children:(null==n?void 0:n.own)?No(t.schema.children,n.own,i,o,t.testId):Fo(t.schema.children,o,t.testId)})})}})}function Zo(e){const n=En(),i=Xn(),a=e.schema.delay?e.schema.delay:1,o=i(e.schema.customStateKey),r=xn(0,(e=>e.customStates[o]));return function({delay:e,callback:n}){const i=t.useRef(null);t.useEffect((()=>{i.current=setTimeout(n,e)}),[])}({delay:a,callback:()=>{n({type:be,payload:{key:o,value:r?0:1}})}}),t.useEffect((()=>()=>{n({type:be,payload:{key:o,value:0}})}),[]),null}function Go(n){const i=Oi(),a=Xn(),o=a(n.schema.value),r=En(),s=a(n.schema.customStateKey),l=xn(0,(e=>e.customStates[s])),{tabIndex:c,styles:d,isDisabled:u}=b(i),p=()=>{navigator.clipboard.writeText(o),l||(r({type:be,payload:{key:s,value:1}}),r({type:Ce,payload:{name:"SignalUserInteraction",action:"Click",context:"CopyToClipboardButton"}}))};return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"CopyToClipboardButton",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:c,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Bo(n){const i=Oi(),a=En(),o=Xn()(n.schema.customStateKey),{value:r}=n.schema,{tabIndex:s,styles:l,isDisabled:c}=b(i),d=()=>{a({type:be,payload:{key:o,value:r}})};return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:d,"data-testid":n.testId,"data-e2e":"ButtonStateTrigger",disabled:c,"aria-disabled":c,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:s,style:Object.assign({backgroundColor:"transparent",cursor:"pointer",margin:0,padding:0},l),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Uo(e){const{emblaApi:n,parentGuid:i,catalogLength:a,context:o}=e,r=En();t.useEffect((()=>{if(!n)return;let e=null,t=-1,s=!1;const l=()=>{(()=>{if(null!==e)return;const i=n.slidesInView();e=new Set(i),t=i.length>0?Math.max(...i):-1})(),s=!0},c=()=>{if(!s||null===e)return;const l=n.slidesInView(),c=a-1;l.forEach((n=>{!(null==e?void 0:e.has(n))&&n>t&&(t=n,r({type:Ce,payload:{name:"SignalUserInteraction",action:"Scroll",context:o,parentGuid:i,objectData:{cardIndex:n.toString(),lastCardIndex:c.toString()}}}))}))};return n.on("pointerDown",l),n.on("slidesInView",c),()=>{n.off("pointerDown",l),n.off("slidesInView",c)}}),[n,i,a,r,o])}function zo({schema:n,testId:i}){var o,r,s,l,c,u,p,f;const h=Ni(),v=On(),C=wn(),y=En(),m=t.useMemo((()=>v.catalogItems||[]),[v]),g=Xn(),E=(e,t)=>g({data:Object.assign(Object.assign({},e),{positionIndex:t})},"catalogItem"),I=v.creative.instanceGuid,x=xn(0,(e=>{return(t=e.breakpoint.activeBreakpoint,a.compose(a.findIndex(a.equals(t)),dt,ct,a.toPairs,a.pathOr({},["breakpoint","breakpoints"])))({breakpoint:Object.assign(Object.assign({},e.breakpoint),{initialised:!0})});var t})),L=Oi(),{tabIndex:D,isDisabled:w,styles:S}=b(L),A=n.viewableItems.length-1,[T,M]=d({slidesToScroll:null!==(o=n.viewableItems[Math.min(x,A)])&&void 0!==o?o:"auto",containScroll:"trimSnaps",inViewThreshold:.6});t.useEffect((()=>{for(const e of m)y({type:Ce,payload:{name:"SignalImpression",parentGuid:e.instanceGuid}})}),[m,y]),Uo({emblaApi:M,parentGuid:I,catalogLength:m.length,context:"CatalogCarousel"});const j=`${null!==(p=null===(u=null===(c=null===(l=null===(s=null===(r=n.styles)||void 0===r?void 0:r.elements)||void 0===s?void 0:s.own[x])||void 0===l?void 0:l.default)||void 0===c?void 0:c.container)||void 0===u?void 0:u.gap)&&void 0!==p?p:"0"}px`,O={overflow:"hidden"},k={backfaceVisibility:"hidden",display:"flex",touchAction:"pan-y",gap:j,alignItems:"stretch"},V=n.peekThroughSize[Math.min(x,n.peekThroughSize.length-1)],R=V?"fixed"===(H=V).type?`${H.value}px`:`${H.value}%`:"0px";var H;const _=null!==(f=n.viewableItems[Math.min(A,x)])&&void 0!==f?f:1,P={flex:`0 0 calc(${(e=>"0px"!==e&&"0%"!==e)(R)?`(100% - 2 * ${R} - (${_} + 1) * ${j})/${_}`:`(100% - (${_} - 1) * ${j})/${_}`})`,position:"relative",display:"flex",backgroundColor:"transparent"};return m.length>0?e.jsx(Ba,{styles:n.styles,children:({classnames:a})=>e.jsx("div",{ref:T,style:Object.assign(Object.assign({},O),S),"aria-disabled":w,tabIndex:D,className:null==a?void 0:a.own,"data-e2e":"CarouselDistribution","data-testid":i&&`${i}`,children:e.jsx("div",{style:k,"data-testid":i&&`${i}-container`,"data-e2e":"CarouselDistribution-Container",children:t.Children.toArray(m.map(((t,a)=>e.jsx(Gi,{context:t,children:e.jsx(_i,{value:h(t),children:e.jsx(Jn,{value:E(t,a),children:e.jsx("div",{style:P,"data-testid":i&&`${i}-slide-${a}`,"data-e2e":`CarouselDistribution-Slide-${a}`,children:C(n.template,void 0,re(a,i),`CatalogItem-${a}`)})})})}))))})})}):null}function qo(t){var n;const i=null!==(n=t.activeIndicatorMode)&&void 0!==n?n:"timer",o={elements:{own:[],pseudoActiveIndicator:t.activeIndicatorStyles?t.activeIndicatorStyles.map((e=>({default:e.default?a.omit(["background"],e.default):{}}))):[],pseudoActiveIndicatorContents:t.activeIndicatorStyles?t.activeIndicatorStyles.map((e=>({default:e.default?a.omit(["spacing","container"],e.default):{}}))):[]}};return e.jsx(Ba,{styles:o,children:({classnames:n})=>{var a;return e.jsx("div",{style:{display:"flex",flexDirection:"row",position:"absolute",zIndex:2},className:null===(a=t.indicatorClasses)||void 0===a?void 0:a.progressIndicatorContainer,"data-testid":t.testId,children:Array.from({length:t.count},((a,o)=>{var r,s,l,c;return e.jsx("span",{className:[null===(r=t.indicatorClasses)||void 0===r?void 0:r.indicator,o<t.activeIndex?null===(s=t.indicatorClasses)||void 0===s?void 0:s.seenIndicator:void 0,o===t.activeIndex&&"timer"!==i?null===(l=t.indicatorClasses)||void 0===l?void 0:l.activeIndicator:void 0,o===t.activeIndex&&"timer"===i&&(null==n?void 0:n.pseudoActiveIndicator)?n.pseudoActiveIndicator:void 0].filter(Boolean).join(" "),style:{display:"block",transition:"all 100ms linear"},"data-testid":t.testId&&`${t.testId}-indicator-${o}`,children:"timer"===i&&e.jsx("span",{className:[null===(c=t.indicatorClasses)||void 0===c?void 0:c.indicator,o===t.activeIndex&&(null==n?void 0:n.pseudoActiveIndicatorContents)?n.pseudoActiveIndicatorContents:void 0].filter(Boolean).join(" "),style:{display:"block",padding:0,margin:0,maxWidth:"100%",maxHeight:"100%",border:"none",transform:`translateX(${o===t.activeIndex?"0%":"-100%"})`,transition:o===t.activeIndex?`transform ${t.transitionDuration}ms linear`:""}})},o)}))})}})}const Ko={elements:{own:[{default:{container:{alignItems:"flex-end",justifyContent:"center"}}}],progressIndicatorContainer:[{default:{dimension:{width:{type:"percentage",value:100}},spacing:{offset:"0 -10"},container:{gap:2,alignItems:"center",justifyContent:"center"}}}],indicator:[{default:{dimension:{height:{type:"fixed",value:2},maxWidth:75},container:{overflow:"hidden"},background:{backgroundColor:{light:"#66FFFFFF"}}}}],activeIndicator:[{default:{background:{backgroundColor:{light:"#FFFFFF"}}}}]}},Wo={overflow:"hidden",position:"relative",display:"flex"},Yo={backfaceVisibility:"hidden",display:"flex",alignItems:"stretch",minWidth:"100%"},Jo={display:"inline-block",minWidth:"100%",maxWidth:"100%",height:"auto"};function Xo(e){return null!=e&&"object"==typeof e&&"light"in e&&"string"==typeof e.light}function Qo(e,t){if("slide"===t)switch(e){case"fast":return 20;case"slow":return 60;default:return 30}switch(e){case"fast":return 20;case"slow":return 80;default:return 45}}function er(n){var i;const a=Oi(),{tabIndex:o,isDisabled:r,styles:s}=b(a),[l,c]=function(e,n){return t.useMemo((()=>{var t,i,a,o;const r=f({delay:null!==(t=e.duration)&&void 0!==t?t:3e3,playOnInit:"ENABLED"===n}),s={active:"ENABLED"===n,loop:!0,watchDrag:!1};return"SlideInOut"===(null===(i=e.transition)||void 0===i?void 0:i.type)?[Object.assign(Object.assign({},s),{duration:Qo(null===(a=e.transition)||void 0===a?void 0:a.settings.speed,"slide"),slidesToScroll:1,containScroll:"trimSnaps"}),[r]]:[Object.assign(Object.assign({},s),{duration:Qo(null===(o=e.transition)||void 0===o?void 0:o.settings.speed,"fade"),containScroll:!1,align:"center"}),[r,h()]]}),[e,n])}(n.schema,a),[u,p]=d(l,c),[v,C]=t.useState(-1);t.useEffect((()=>{let e;return p&&(p.on("autoplay:timerset",(()=>{e&&window.cancelAnimationFrame(e),e=window.requestAnimationFrame((()=>{C(p.selectedScrollSnap()),e=void 0}))})),p.on("autoplay:timerstopped",(()=>{C(-1)})),p.emit("autoplay:timerset")),()=>{null==p||p.destroy()}}),[p]);const y=Pi(n.schema.imageKey),m=(E=n.schema.imageKey,[Pi(`${E}.1`),Pi(`${E}.2`),Pi(`${E}.3`),Pi(`${E}.4`)].filter(Xo));var E;const I=n.schema.styles?ae(Ko,null!==(i=n.schema.styles)&&void 0!==i?i:{}):Ko;return 0===m.length&&y&&m.push(y),m.length>0?e.jsx(Ba,{styles:g(I),children:({classnames:t})=>{var i,a,l,c,d,p,f;return e.jsxs("div",{ref:u,style:Object.assign(Object.assign({},Wo),s),"aria-disabled":r,"aria-label":null!==(i=n.schema.a11yLabel)&&void 0!==i?i:void 0,tabIndex:o,className:null==t?void 0:t.own,"data-e2e":"DataImageCarousel","data-testid":n.testId,children:[e.jsx("div",{style:Yo,"data-testid":n.testId&&`${n.testId}-container`,"data-e2e":"DataImageCarousel-Container",children:m.map(((t,i)=>e.jsx("img",{"aria-hidden":r,style:Object.assign(Object.assign({},s),Jo),alt:t.alt,title:t.title,"data-testid":n.testId&&`${n.testId}-image-${i}`,"data-e2e":"DataImageCarousel-Image",src:t.light},i)))}),!1!==(null===(a=n.schema.indicators)||void 0===a?void 0:a.show)&&m.length>1&&e.jsx(qo,{indicatorClasses:null!=t?t:void 0,activeIndicatorStyles:null!==(d=null===(c=null===(l=n.schema.styles)||void 0===l?void 0:l.elements)||void 0===c?void 0:c.activeIndicator)&&void 0!==d?d:void 0,activeIndicatorMode:null===(p=n.schema.indicators)||void 0===p?void 0:p.activeIndicatorMode,activeIndex:v,count:m.length,transitionDuration:null!==(f=n.schema.duration)&&void 0!==f?f:3e3,testId:n.testId})]})}}):null}function tr(t){const n=Xn(),i=t.schema.name,a=n(t.schema.rating),o=Number(a),r=Oi(),{styles:s}=b(r);return i?e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("div",{style:Object.assign(Object.assign({},s),{display:"inline-block"}),className:(null==n?void 0:n.own)||"","data-testid":t.testId,"data-e2e":`IconGroup-${i}`,children:Array.from({length:5}).map(((e,n)=>{var a,r,s,l;const c=n<Math.round(o)?null===(r=null===(a=t.schema.styles)||void 0===a?void 0:a.elements)||void 0===r?void 0:r.filled:null===(l=null===(s=t.schema.styles)||void 0===s?void 0:s.elements)||void 0===l?void 0:l.unfilled;return co({type:"StaticIcon",node:{name:i,styles:c?{elements:{own:c}}:void 0}})||null}))})}):null}function nr(n){var a;const o=n.schema.styles,r=i.useDispatch(),s={type:(null===(a=n.action)||void 0===a?void 0:a.type)||Ve,payload:{id:Re,dismissalMethod:n.schema.dismissalMethod}},l=()=>{r(s)},c=Oi(),{tabIndex:d,styles:u,isDisabled:p}=b(c);return e.jsx(Ba,{styles:o,children:({classnames:i})=>{var a;return e.jsx("button",{title:"Close",className:null==i?void 0:i.own,onClick:l,"data-testid":n.testId,"data-e2e":"CloseButton",disabled:p,tabIndex:d,"aria-disabled":p,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,style:Object.assign({cursor:"pointer"},u),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function ir(t,n){if("CloseButton"===t.type)return e.jsx(nr,{schema:t.node,testId:n})}function ar(n){const i=wn(),a=t.useMemo((()=>{var e;return{formKey:n.schema.formKey,validationMode:null!==(e=n.schema.validationMode)&&void 0!==e?e:"on-submit"}}),[n.schema.formKey,n.schema.validationMode]);return e.jsx(Xi,{value:a,children:e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e":"Form",style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})})})}function or(n){var i,a,o,r;const{schema:s}=n,l=En(),c=Xn(),d=Oi(),u=t.useContext(Ji),p=hn(zi(),ai(),Tn()||document.head),f=null!==(i=null==u?void 0:u.formKey)&&void 0!==i?i:"",h=null!==(a=null==u?void 0:u.validationMode)&&void 0!==a?a:"on-submit",v=s.fieldKey,C=t.useMemo((()=>{var e;return null!==(e=s.validations)&&void 0!==e?e:[]}),[s.validations]),y=s.defaultValue?c(s.defaultValue):"",m=xn(void 0,(e=>{var t;return null===(t=e.formStates[f])||void 0===t?void 0:t[v]}));t.useEffect((()=>(l({type:Pe,payload:{formKey:f,fieldKey:v,defaultValue:y,validations:C}}),()=>{l({type:Ne,payload:{formKey:f,fieldKey:v}})})),[l,f,v,y,C]);const g=null!==(o=null==m?void 0:m.value)&&void 0!==o?o:y,E=t.useRef(null),I=t.useRef(null);t.useLayoutEffect((()=>{const e=E.current;if(e&&null!==I.current&&(t=s.inputType,["text","search","url","tel","password",void 0,null].includes(t))&&e.ownerDocument.activeElement===e){const t=Math.min(I.current,e.value.length);e.selectionStart===t&&e.selectionEnd===t||e.setSelectionRange(t,t)}var t;I.current=null}),[g,s.inputType]);const x=Boolean(m&&F(m)),L=null!==(r=null==m?void 0:m.error)&&void 0!==r?r:"",D=e=>{I.current=e.target.value===g?null:e.target.selectionStart;const t={type:Fe,payload:{formKey:f,fieldKey:v,value:e.target.value,validate:"on-change"===h||Boolean(null==m?void 0:m.errorVisible)}};l(t)},w=()=>{I.current=null},S=()=>{if(I.current=null,!(null==m?void 0:m.touched)){l({type:$e,payload:{formKey:f,fieldKey:v}})}},{tabIndex:A,styles:T,isDisabled:M}=b(d);return e.jsx(Ba,{styles:s.styles,children:({classnames:t})=>{var i;return e.jsxs(e.Fragment,{children:[e.jsx("input",{ref:E,type:null!==(i=s.inputType)&&void 0!==i?i:"text",name:v,value:g,placeholder:s.placeholder?c(s.placeholder):void 0,"aria-label":s.a11yLabel?c(s.a11yLabel):void 0,"aria-invalid":x,className:p(null==t?void 0:t.own,null==t?void 0:t.inputText,null==t?void 0:t.placeholderText)||void 0,"data-errored":x?"true":void 0,"data-testid":n.testId,"data-e2e":"TextInput",tabIndex:A,disabled:M,style:T,onChange:D,onFocus:S,onBlur:w}),s.showErrorMessage&&x?e.jsx("div",{className:null==t?void 0:t.errorText,"data-errored":"true",role:"alert","data-testid":n.testId?`${n.testId}-error`:void 0,children:L}):null]})}})}const rr=()=>{},sr=t.createContext({register:rr,unregister:rr});function lr(e){const t=Date.now(),n={};for(const[i,{startTime:a,duration:o}]of Object.entries(e))n[i]=Math.max(0,Math.ceil((o-(t-a))/1e3));return n}function cr({children:n}){const i=Xn(),a=t.useRef({}),[o,r]=t.useState({}),[s,l]=t.useState(0),c=t.useCallback(((e,t)=>{a.current[e]={startTime:Date.now(),duration:t},l((e=>e+1)),r(lr(a.current))}),[]),d=t.useCallback((e=>{delete a.current[e],l((e=>Math.max(0,e-1))),r(lr(a.current))}),[]);t.useEffect((()=>{if(0===s)return;const e=setInterval((()=>{r(lr(a.current))}),1e3);return()=>clearInterval(e)}),[s]);const u=Object.keys(o).length>0,p=t.useMemo((()=>u?i({state:{timer:o}}):i),[i,o,u]),f=t.useMemo((()=>({register:c,unregister:d})),[c,d]);return e.jsx(sr.Provider,{value:f,children:e.jsx(Jn,{value:p,children:n})})}function dr({key:e,startTrigger:n,clearTrigger:i,duration:a,repeatable:o=!1,onExpire:r}){const s=t.useRef(null),l=t.useRef(!1),c=t.useRef(!1),d=t.useRef(r);d.current=r;const{register:u,unregister:p}=t.useContext(sr),f=ka(n),h=ka(i),v=i.length>0&&h;t.useEffect((()=>{o&&c.current&&!f&&(l.current=!1),c.current=f}),[f,o]),t.useEffect((()=>{v&&null!==s.current&&(clearTimeout(s.current),s.current=null,l.current=!0,p(e))}),[v,e,p]),t.useEffect((()=>{!f||v||l.current||null!==s.current||(u(e,a),s.current=setTimeout((()=>{s.current=null,l.current=!0,p(e),d.current()}),a))}),[f,v,a,e,u,p]),t.useEffect((()=>()=>{null!==s.current&&(clearTimeout(s.current),s.current=null,p(e))}),[e,p])}function ur(){const e=En(),n=ai(),i=function(){try{return On()}catch(e){return null}}();return t.useCallback((t=>{e({type:He,payload:{action:t,offer:null!=i?i:void 0,offerPositionIndex:n}})}),[e,i,n])}function pr({timer:e}){var t;const n=ur();return dr({key:e.key,startTrigger:e.startTrigger,clearTrigger:e.clearTrigger,duration:e.duration,repeatable:null!==(t=e.repeatable)&&void 0!==t?t:void 0,onExpire:()=>{e.expirationActions.forEach((e=>n(e)))}}),null}function fr(n){const{schema:i}=n,a=wn(),o=Xn(),r=En(),s=ur(),l=Oi(),c=xn({},(e=>e.formStates)),{tabIndex:d,styles:u,isDisabled:p}=b(l),f=t.useRef(!1),h=e=>{var t;e.preventDefault();const n=null!==(t=i.validates)&&void 0!==t?t:[];if(n.length>0){const e=function(e,t){return t.filter((t=>{const n=t.indexOf(".");if(-1===n)return!1;const i=e[t.slice(0,n)];return void 0!==i&&Object.keys(i).length>0&&void 0===i[t.slice(n+1)]}))}(c,n);if(e.length>0&&!f.current){f.current=!0;const t={type:_e,payload:{level:"WARNING",code:"UNRESOLVED_FORM_VALIDATION_TARGET",message:`ActionButton \`validates\` entries matched no registered form field and were skipped: ${e.join(", ")}`}};r(t)}if(r({type:Ze,payload:{entries:n}}),!function(e,t){return G(e,t).every((({formKey:t,fieldKey:n})=>{var i;const a=null===(i=e[t])||void 0===i?void 0:i[n];return!a||!N(a)||""===$(a.value,a.validations)}))}(c,n))return}i.actions.forEach(s)};return e.jsx(Ba,{styles:i.styles,children:({classnames:r})=>e.jsx("button",{type:"button",className:null==r?void 0:r.own,onClick:h,"data-testid":n.testId,"data-e2e":"ActionButton",disabled:p,tabIndex:d,"aria-disabled":p,"aria-label":i.a11yLabel?o(i.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},u),children:t.Children.toArray(i.children.map(((e,t)=>a(e,void 0,re(t,n.testId)))))})})}function hr(e){return()=>{throw new W("FAILED_CREATING_UNHANDLED_NODE",`The default mapper does not handle the ${e} node. Make sure when you use the NodeMapperProvider, you pass an override for ${e} node.`)}}const vr={Form:function(t,n){if("Form"===t.type)return e.jsx(ar,{schema:t.node,testId:n})},TextInput:function(t,n){if("TextInput"===t.type)return e.jsx(or,{schema:t.node,testId:n})},ActionButton:function(t,n){if("ActionButton"===t.type)return e.jsx(fr,{schema:t.node,testId:n})},Column:function(t,n,i,a){if("Column"===t.type)return e.jsx(Ua,{schema:t.node,testId:n,e2eItemId:a})},Row:function(t,n,i,a){if("Row"===t.type)return e.jsx(za,{schema:t.node,testId:n,e2eItemId:a})},StaticImage:function(t,n){if("StaticImage"===t.type)return e.jsx(oo,{schema:t.node,testId:n})},DataImage:function(t,n){if("DataImage"===t.type)return e.jsx(ro,{schema:t.node,testId:n})},DataImageCarousel:function(t,n){if("DataImageCarousel"===t.type)return e.jsx(er,{schema:t.node,testId:n})},CreativeResponse:function(t,n){if("CreativeResponse"===t.type)return e.jsx(ao,{schema:t.node,testId:n})},OneByOneDistribution:hr("OneByOneDistribution"),StackedDistribution:hr("StackedDistribution"),CarouselDistribution:hr("CarouselDistribution"),GroupedDistribution:hr("GroupedDistribution"),ProgressIndicator:hr("ProgressIndicator"),ProgressControl:hr("ProgressControl"),When:function(t,n){if("When"===t.type)return e.jsx(Za,{schema:t.node,testId:n})},Overlay:hr("Overlay"),CloseButton:ir,RichText:function(t,n){if("RichText"===t.type)return e.jsx(Qa,{schema:t.node,testId:n})},BasicText:to,StaticLink:yo,DataIcon:function(t,n){if("DataIcon"===t.type)return e.jsx(go,{schema:t.node,testId:n})},StaticIcon:co,ZStack:function(t,n){if("ZStack"===t.type)return e.jsx(bo,{schema:t.node,testId:n})},FlowRow:function(t,n){if("FlowRow"===t.type)return e.jsx(Do,{schema:t.node,testId:n})},SlideStateTrigger:function(t,n){if("SlideStateTrigger"===t.type)return e.jsx(Io,{schema:t.node,testId:n})},ToggleButtonStateTrigger:function(t,n){if("ToggleButtonStateTrigger"===t.type)return e.jsx(So,{schema:t.node,testId:n})},PartnerEventButtonTrigger:function(t,n){if("PartnerEventButtonTrigger"===t.type)return e.jsx($o,{schema:t.node,testId:n})},TimerStateTrigger:function(t,n){if("TimerStateTrigger"===t.type)return e.jsx(Zo,{schema:t.node})},CatalogStackedCollection:function(t,n){if("CatalogStackedCollection"===t.type)return e.jsx(Ho,{schema:t.node,testId:n})},CatalogResponseButton:hr("CatalogResponseButton"),ScrollableRow:function(t,n){if("ScrollableRow"===t.type)return e.jsx(Ao,{schema:t.node,testId:n})},ScrollableColumn:function(t,n){if("ScrollableColumn"===t.type)return e.jsx(To,{schema:t.node,testId:n})},EscapeHatch:Ro,BottomSheet:hr("BottomSheet"),MinimizableBottomSheet:hr("MinimizableBottomSheet"),CatalogQuantityOption:hr("CatalogQuantityOption"),CatalogRadioGroup:hr("CatalogRadioGroup"),CatalogQuantityCounter:hr("CatalogQuantityCounter"),InlineContainer:function(t,n){if("InlineContainer"===t.type)return e.jsx(Po,{schema:t.node,testId:n})},CopyToClipboardButton:function(t,n){if("CopyToClipboardButton"===t.type)return e.jsx(Go,{schema:t.node,testId:n})},ButtonStateTrigger:function(t,n){if("ButtonStateTrigger"===t.type)return e.jsx(Bo,{schema:t.node,testId:n})},CatalogCombinedCollection:hr("CatalogCombinedCollection"),CatalogCarouselCollection:function(t,n){if("CatalogCarouselCollection"===t.type)return e.jsx(zo,{schema:t.node,testId:n})},CatalogDevicePayButton:hr("CatalogDevicePayButton"),CatalogSelectorsStacked:hr("CatalogSelectorsStacked"),IconGroup:function(t,n){if("IconGroup"===t.type)return e.jsx(tr,{schema:t.node,testId:n})},CatalogDropdown:hr("CatalogDropdown"),MinimizeButton:hr("MinimizeButton"),CatalogImageGallery:hr("CatalogImageGallery"),CatalogThumbnailGallery:hr("CatalogThumbnailGallery")};function Cr(e){throw new W("FAILED_CREATING_LAYOUT_NODE",`Failed to create layout node ${JSON.stringify(e)}`)}function yr(t){return function(n,i,a,o){const r=i&&i[n.type],s=null!=r?r:vr[n.type];return e.jsx(po,{schema:n,reporter:t,children:s&&s(n,a,void 0,o)||Cr(n)})}}function mr(e){const t={};for(const[n,i]of Object.entries(e)){const e={};for(const[t,n]of Object.entries(i))N(n)&&(e[t]={value:n.value,error:F(n)?n.error:""});t[n]=e}return t}function gr(e,t){return e({state:mr(t)},"form")}const br={transformLinksToAnchorText:function(e={}){return{data:a.mapObjIndexed((e=>Hn(e)?`<a target="_blank" href="${e.url}">${e.title}</a>`:""),e)}}};function Er(e){const{childLayouts:n}=e,i=En(),[o,r]=t.useMemo((()=>{const e=a.indexBy(a.prop("childLayoutId"),n);return[e,a.mapObjIndexed((e=>e.childLayoutSchema.predicates),e)]}),[n]),s=Va(r);t.useEffect((()=>{Object.entries(s).forEach((([e,t])=>{const n=o[e];t&&n&&i({type:je,payload:n})}))}),[s,o,i])}function Ir(n){var i,a;const{settings:o,dispatch:r,children:s}=n,l=qn(o.offerData.creative.copy||{})(br.transformLinksToAnchorText(o.offerData.creative.links),"creativeLink")({data:null!==(i=o.offerData.transactionData)&&void 0!==i?i:{}},"transactionData"),c=yr(o.logger),[d,u]=t.useState("ENABLED");return t.useEffect((()=>o.gateway.onInteractivityChange(u)),[o]),et(o.rootElement,r),e.jsx(ti.Provider,{value:"VARIANT",children:e.jsx(An.Provider,{value:o.rootElement,children:e.jsx(Ui.Provider,{value:o.pluginId,children:e.jsx(Si,{context:o.gateway,children:e.jsx(Ti,{context:o.layoutSchema,children:e.jsx(qi.Provider,{value:o.schemaVersion,children:e.jsx(jn,{context:o.offerData,children:e.jsx(_i,{value:ki(o.offerData.creative),children:e.jsx(ji.Provider,{value:d,children:e.jsx(Sn,{value:c,children:e.jsx(ii.Provider,{value:o.offerPositionIndex,children:e.jsx(bn.Provider,{value:r,children:e.jsx(Jn,{value:l,children:e.jsx(xr,{children:e.jsxs(cr,{children:[null===(a=o.variantTimers)||void 0===a?void 0:a.map((t=>e.jsx(pr,{timer:t},t.key))),e.jsx(Er,{childLayouts:o.childLayouts}),s]})})})})})})})})})})})})})})})}function xr(n){var i;const{children:o}=n,r=zi(),s=function(){const[e,n]=t.useState(null),i=t.useContext(wi).get();return t.useEffect((()=>i.onGlobalStateChange((t=>{a.equals(t,e)||n(t)}))),[i]),e}(),l=t.useContext(An)||void 0,c=ai(),d=t.useCallback((e=>mn(e,r,c,l)),[l]);return s?e.jsx(ei,{value:d(Object.values(null!==(i=null==s?void 0:s.breakpoint.breakpoints)&&void 0!==i?i:{})),children:e.jsx(In.Provider,{value:s,children:e.jsx(Lr,{formStates:s.formStates,children:o})})}):null}function Lr(n){const i=Xn(),a=t.useMemo((()=>gr(i,n.formStates)),[i,n.formStates]);return e.jsx(Jn,{value:a,children:n.children})}function Dr(t){return e.jsx("style",{"data-testid":t.testId,children:"\n* {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n}\nbody {\n margin: 0;\n font-family: sans-serif;\n}\np {\n margin: 0;\n}\nimg {\n max-width: 100%;\n}\n"})}function wr(e,t,n,i,a,o){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){o.current.isRunning=!0,a&&"in"===t&&function(e,t){e.style.height=`${t.clientHeight}px`}(a,e);const r=e.animate(n,{duration:i,iterations:1});return r.onfinish=()=>{"in"===t?Ra(e):Ha(e),o.current.isRunning=!1},r.oncancel=()=>{"in"===t?Ra(e):Ha(e),o.current.isRunning=!1},()=>{r.finish()}}return"in"===t?Ra(e):Ha(e),()=>{}}const Sr={FadeInOut:{in:[{opacity:0,display:"none"},{opacity:0,display:"none",offset:.5},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],out:[{opacity:1},{opacity:0,offset:.75},{opacity:0}]}};function Ar({visible:n,effect:i,children:a,parentElement:o,containerClassName:r}){const[s,l]=t.useState(n),c=t.useRef(null),d=t.useRef({isRunning:!1}),u=_a(i);return t.useEffect((()=>{const e=new ResizeObserver((function(e){o&&n&&!d.current.isRunning&&requestAnimationFrame((()=>{e.forEach((e=>{e.contentBoxSize?function(e,t){var n;Array.isArray(e.contentBoxSize)&&e.contentBoxSize[0]?t.style.height=e.contentBoxSize[0].blockSize+"px":"object"==typeof(n=e.contentBoxSize)&&null!=n&&"blockSize"in n&&"number"==typeof n.blockSize&&"inlineSize"in n&&"number"==typeof n.inlineSize?t.style.height=e.contentBoxSize.blockSize+"px":t.style.height="auto"}(e,o):e.contentRect&&function(e,t){t.style.height=`${e.contentRect.height}px`}(e,o)}))}))}));return n&&c.current&&(Ra(c.current),e.observe(c.current)),()=>{e.disconnect()}}),[n,o]),t.useEffect((()=>n&&!s&&c.current&&o?(l(!0),wr(c.current,"in",Sr[i.type].in,u,o,d)):!n&&s&&c.current&&o?(l(!1),wr(c.current,"out",Sr[i.type].out,u/2,o,d)):()=>{}),[n,o,u]),e.jsx("div",{ref:c,style:{display:"none"},className:r,children:a})}function Tr(t){const n=wn();return e.jsx(Ba,{styles:t.schema.styles,children:({classnames:i})=>{var a;return e.jsx("div",{className:null==i?void 0:i.own,"data-testid":t.testId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,children:n(t.schema.template)})}})}function Mr(e){const{backgroundColor:t,hasBorder:n}=function(e){var t,n,i;const a=null===(n=null===(t=e.styles)||void 0===t?void 0:t.elements)||void 0===n?void 0:n.own;if(!Array.isArray(a))return{hasBorder:!1};let o,r=!1;for(const e of a){const t=null==e?void 0:e.default;t&&(null!=(null===(i=t.background)||void 0===i?void 0:i.backgroundColor)&&(o=t.background.backgroundColor),null!=t.border&&(r=null!=t.border.borderWidth||null!=t.border.borderStyle))}return{backgroundColor:o,hasBorder:r}}(e);if(!t)return;const i=jr(t.light,n);if(!i)return;const a=t.dark?jr(t.dark,n):void 0;return a?{light:i,dark:a}:{light:i}}function jr(e,t){const n=function(e){if(null==e)return;const t=e.trim().toLowerCase();if(""===t)return;if("white"===t)return"white";if("black"===t)return"black";if(!t.startsWith("#"))return;const n=t.slice(1),i=3===n.length||4===n.length?n.split("").map((e=>e+e)).join(""):n;let a,o="ff";if(6===i.length)a=i;else{if(8!==i.length)return;o=i.slice(0,2),a=i.slice(2)}if(!/^[0-9a-f]+$/.test(o)||!/^[0-9a-f]+$/.test(a))return;if("ff"===o){if("ffffff"===a)return"white";if("000000"===a)return"black"}return}(e);if(n)return"white"===n&&t?"white-outline":n}const Or=t.forwardRef((function({buttonStyle:n,className:i,disabled:a,onClick:r,tabIndex:s,testId:l},c){const d=t.useMemo((()=>{return"undefined"!=typeof window&&"CSS"in window&&null!==(n=null===(t=null===(e=window.CSS)||void 0===e?void 0:e.supports)||void 0===t?void 0:t.call(e,"-webkit-appearance","-apple-pay-button"))&&void 0!==n&&n;var e,t,n}),[]),u=ai(),p=Tn(),f=zi(),h=function(e,t,n){return t?n&&n!==t?e`
|
|
57
|
+
`}}(s,c),x=ti();if(!n.schema.customStateKey)throw new Error("No custom state key provided for state trigger node.");const L=x(n.schema.customStateKey),D={type:be,payload:{key:L,value:null!=u?u:1}},w={type:Ce,payload:{name:"SignalUserInteraction",action:"Swipe",context:"SlideStateTrigger"}},S=n.schema.styles?ae(Lo,n.schema.styles):Lo,A=t.useRef(null),T=t.useRef(null),j=t.useRef(null),M=t.useRef(!1),O=t.useRef(void 0),{isDisabled:k}=b(l);t.useEffect((()=>{if(i)return I()?(document.addEventListener("touchmove",H),document.addEventListener("touchend",V)):(document.addEventListener("mousemove",H),document.addEventListener("mouseup",V)),$}),[i]);const V=()=>{$(),O.current=void 0,a(!1),o||(F(!0),M.current?(N(P()),_()):N(0))},R=e=>{i||o||k||(O.current=So(e),F(!1),a(!0))},H=e=>{var t,n;if(wo(j)){const i=Math.min(Math.max(0,(null!==(t=So(e))&&void 0!==t?t:0)-(null!==(n=O.current)&&void 0!==n?n:0)),P());N(i),i/P()*100>=75?M.current=!0:M.current=!1}},_=()=>{var e,t;r(!0),d(D),d(w),null===(t=null===(e=wo(A).parentElement)||void 0===e?void 0:e.parentElement)||void 0===t||t.focus()},P=()=>wo(A).getBoundingClientRect().width-wo(j).getBoundingClientRect().width,N=e=>{var t;wo(j).style.transform=`translateX(${e}px)`,wo(T).style.transform=`translateX(${e+(null===(t=wo(j))||void 0===t?void 0:t.getBoundingClientRect().width)/2}px)`},F=e=>{e?(wo(j).style.transition="transform .2s",wo(T).style.transition="transform .2s"):(wo(j).style.transition="",wo(T).style.transition="")},$=()=>{document.removeEventListener("mousemove",H),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",H),document.removeEventListener("touchend",V)};return e.jsx(qa,{styles:S,children:({classnames:t})=>{var i,a,r,s,l,c;return e.jsxs("div",{className:`${v}`,"data-testid":n.testId,"data-e2e":"SlideStateTrigger",children:[e.jsxs("div",{className:`${C} ${null!==(i=null==t?void 0:t.own)&&void 0!==i?i:""}`,ref:A,"aria-hidden":!0,"data-testid":n.testId&&`${n.testId}-track`,children:[(null==p?void 0:p.value)?e.jsx("div",{className:`${g} ${null!==(a=null==t?void 0:t.label)&&void 0!==a?a:""}`,"data-testid":n.testId&&`${n.testId}-label`,children:p.value}):null,e.jsx("div",{className:`${y} ${null!==(r=null==t?void 0:t.fill)&&void 0!==r?r:""}`,ref:T,"data-testid":n.testId&&`${n.testId}-fill`}),e.jsx("div",{className:`${m} ${null!==(s=null==t?void 0:t.thumb)&&void 0!==s?s:""}`,ref:j,"data-testid":n.testId&&`${n.testId}-thumb`,"data-e2e":"SlideStateTrigger-thumb",onMouseDown:R,onTouchStart:R,children:null!==(l=null==h?void 0:h.icon)&&void 0!==l?l:"ArrowForward"})]}),e.jsx("button",{className:E,"aria-label":null!=f?f:void 0,onClick:_,disabled:o||k,"data-testid":n.testId&&`${n.testId}-button`,children:null!==(c=null==p?void 0:p.value)&&void 0!==c?c:"Unlock Offers"})]})}})}function wo(e){if(!e.current)throw new Error("Unexpected missing reference to required SlideStateTrigger Element");return e.current}function So(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientX:e.clientX}function Ao(n){const i=wn();return e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const To="ToggleButtonStateTrigger";function jo(n){const i=Ri(),a=En(),o=ti(),r=t.useContext(na),s=o(n.schema.customStateKey),l=xn(0,(e=>e.customStates[s])),{tabIndex:c,styles:d,isDisabled:u}=b(i),p=()=>{const{validatorTriggerConfig:e}=n.schema;if(r&&e){if(!r.validateFieldKeys(e.validatorFieldKeys))return void a({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:To}})}a({type:be,payload:{key:s,value:l?0:1}}),a({type:Ce,payload:{name:"SignalUserInteraction",action:"ToggleButtonStateTriggerClick",context:To}})};return e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"ToggleButtonStateTrigger",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:c,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Mo(n){const i=wn(),{setRef:a,maskStyle:o}=st("horizontal",lt(n.schema.styles));return e.jsx(qa,{styles:n.schema.styles,children:({classnames:r})=>{var s;return e.jsx("div",{ref:a,className:r?r.own:void 0,"data-testid":n.testId,style:Object.assign({display:"flex",flexDirection:"row",overflowX:"auto"},o),"aria-label":null!==(s=n.schema.a11yLabel)&&void 0!==s?s:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}function Oo(n){const i=wn(),{setRef:a,maskStyle:o}=st("vertical",lt(n.schema.styles));return e.jsx(qa,{styles:n.schema.styles,children:({classnames:r})=>{var s;return e.jsx("div",{ref:a,className:r?r.own:void 0,"data-testid":n.testId,style:Object.assign({display:"flex",flexDirection:"column",overflowY:"auto"},o),"aria-label":null!==(s=n.schema.a11yLabel)&&void 0!==s?s:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})}const ko=t.createContext({extensions:{ctx:new Map,cache:[]}}),Vo=()=>t.useContext(ko).extensions;function Ro({extensions:t,extendStore:n,children:i}){const a=Vo(),o=new Map([...a.ctx,...t.ctx]),r=a.cache.concat(t.cache);return e.jsx(ko.Provider,{value:{extensions:{ctx:o,cache:r},extendStore:n},children:i})}function Ho(e,t){const n=function(e){try{const t=JSON.parse(e);if(null!=t&&"object"==typeof t&&"type"in t&&"Extension"===t.type&&"name"in t&&"string"==typeof t.name&&t.name.trim().length>0&&"body"in t&&"object"==typeof t.body)return{type:"Extension",name:t.name,body:t.body}}catch(e){}return null}(t),i=n?e.ctx.get(n.name):null;return n&&i?[n,i]:null}function _o({data:e}){const n=Ho(Vo(),e);var i;if((e=>{const{extendStore:n,extensions:i}=t.useContext(ko);t.useEffect((()=>{e&&n&&!i.cache.includes(e.name)&&(n(e),i.cache.push(e.name))}),[e,i.cache,n])})((i=null==n?void 0:n[1])?{sagas:i.sagas,reducer:i.reducer,name:i.name,interceptors:i.interceptors}:void 0),n){const[e,t]=n;return t.componentFactory(e.body)}return null}function Po(t,n){if(E("Extension",t))return e.jsx(_o,{data:t.node.data})}function No(n){const i=Zi(),a=On(),o=ti(),r=wn(),s=En(),l=t.useMemo((()=>a.catalogItems||[]),[a]),c=(e,t)=>o({data:Object.assign(Object.assign({},e),{positionIndex:t})},"catalogItem");return t.useEffect((()=>{for(const e of l)s({type:Ce,payload:{name:"SignalImpression",parentGuid:e.instanceGuid}})}),[l,s]),l.length>0?e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>e.jsx("div",{"data-testid":n.testId,"data-e2e":"CatalogStackedCollection",className:null==a?void 0:a.own,style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(l.map(((t,a)=>e.jsx(zi,{context:t,children:e.jsx(Fi,{value:i(t),children:e.jsx(ei,{value:c(t,a),children:r(n.schema.template,void 0,re(a,n.testId),`CatalogItem-${a}`)})})}))))})}):null}const Fo={BasicText:(e,t)=>ao(e,t,!0),StaticLink:(e,t)=>bo(e,t,!0)};function $o(n){const i=wn();return e.jsx(Sn,{value:i,overrides:Fo,children:e.jsx(Dn,{children:i=>e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:null==a?void 0:a.own,"data-testid":n.testId,"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})})})}function Zo(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:Go(t,a,o)})}function Go(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,re(t,i)))))}function Bo(t){const n=Ri(),i=En(),o=wn(),r=ti(),{event:s}=t.schema,{tabIndex:l,styles:c,isDisabled:d}=b(n),u=a.mapObjIndexed((e=>r(e)),s.data||{}),p=()=>{i({type:Le,payload:{name:s.type,body:{offerId:u.providerOfferId,title:u.title,description:u.description}}})};return e.jsx(qa,{styles:t.schema.styles,children:({classnames:n,mapperRef:i})=>{var a;return e.jsx("button",{"aria-disabled":d,"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,className:null==n?void 0:n.own,"data-e2e":"PartnerEventButtonTrigger","data-testid":t.testId,disabled:d,onClick:p,tabIndex:l,type:"button",style:Object.assign({cursor:"pointer"},c),children:e.jsx(ei,{value:r,children:(null==n?void 0:n.own)?Zo(t.schema.children,n.own,i,o,t.testId):Go(t.schema.children,o,t.testId)})})}})}function Uo(e){const n=En(),i=ti(),a=e.schema.delay?e.schema.delay:1,o=i(e.schema.customStateKey),r=xn(0,(e=>e.customStates[o]));return function({delay:e,callback:n}){const i=t.useRef(null);t.useEffect((()=>{i.current=setTimeout(n,e)}),[])}({delay:a,callback:()=>{n({type:be,payload:{key:o,value:r?0:1}})}}),t.useEffect((()=>()=>{n({type:be,payload:{key:o,value:0}})}),[]),null}function zo(n){const i=Ri(),a=ti(),o=a(n.schema.value),r=En(),s=a(n.schema.customStateKey),l=xn(0,(e=>e.customStates[s])),{tabIndex:c,styles:d,isDisabled:u}=b(i),p=()=>{navigator.clipboard.writeText(o),l||(r({type:be,payload:{key:s,value:1}}),r({type:Ce,payload:{name:"SignalUserInteraction",action:"Click",context:"CopyToClipboardButton"}}))};return e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"CopyToClipboardButton",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:c,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function qo(n){const i=Ri(),a=En(),o=ti()(n.schema.customStateKey),{value:r}=n.schema,{tabIndex:s,styles:l,isDisabled:c}=b(i),d=()=>{a({type:be,payload:{key:o,value:r}})};return e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:d,"data-testid":n.testId,"data-e2e":"ButtonStateTrigger",disabled:c,"aria-disabled":c,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,tabIndex:s,style:Object.assign({backgroundColor:"transparent",cursor:"pointer",margin:0,padding:0},l),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Ko(e){const{emblaApi:n,parentGuid:i,catalogLength:a,context:o}=e,r=En();t.useEffect((()=>{if(!n)return;let e=null,t=-1,s=!1;const l=()=>{(()=>{if(null!==e)return;const i=n.slidesInView();e=new Set(i),t=i.length>0?Math.max(...i):-1})(),s=!0},c=()=>{if(!s||null===e)return;const l=n.slidesInView(),c=a-1;l.forEach((n=>{!(null==e?void 0:e.has(n))&&n>t&&(t=n,r({type:Ce,payload:{name:"SignalUserInteraction",action:"Scroll",context:o,parentGuid:i,objectData:{cardIndex:n.toString(),lastCardIndex:c.toString()}}}))}))};return n.on("pointerDown",l),n.on("slidesInView",c),()=>{n.off("pointerDown",l),n.off("slidesInView",c)}}),[n,i,a,r,o])}function Wo({schema:n,testId:i}){var o,r,s,l,c,u,p,f;const h=Zi(),v=On(),C=wn(),y=En(),m=t.useMemo((()=>v.catalogItems||[]),[v]),g=ti(),E=(e,t)=>g({data:Object.assign(Object.assign({},e),{positionIndex:t})},"catalogItem"),I=v.creative.instanceGuid,x=xn(0,(e=>{return(t=e.breakpoint.activeBreakpoint,a.compose(a.findIndex(a.equals(t)),dt,ct,a.toPairs,a.pathOr({},["breakpoint","breakpoints"])))({breakpoint:Object.assign(Object.assign({},e.breakpoint),{initialised:!0})});var t})),L=Ri(),{tabIndex:D,isDisabled:w,styles:S}=b(L),A=n.viewableItems.length-1,[T,j]=d({slidesToScroll:null!==(o=n.viewableItems[Math.min(x,A)])&&void 0!==o?o:"auto",containScroll:"trimSnaps",inViewThreshold:.6});t.useEffect((()=>{for(const e of m)y({type:Ce,payload:{name:"SignalImpression",parentGuid:e.instanceGuid}})}),[m,y]),Ko({emblaApi:j,parentGuid:I,catalogLength:m.length,context:"CatalogCarousel"});const M=`${null!==(p=null===(u=null===(c=null===(l=null===(s=null===(r=n.styles)||void 0===r?void 0:r.elements)||void 0===s?void 0:s.own[x])||void 0===l?void 0:l.default)||void 0===c?void 0:c.container)||void 0===u?void 0:u.gap)&&void 0!==p?p:"0"}px`,O={overflow:"hidden"},k={backfaceVisibility:"hidden",display:"flex",touchAction:"pan-y",gap:M,alignItems:"stretch"},V=n.peekThroughSize[Math.min(x,n.peekThroughSize.length-1)],R=V?"fixed"===(H=V).type?`${H.value}px`:`${H.value}%`:"0px";var H;const _=null!==(f=n.viewableItems[Math.min(A,x)])&&void 0!==f?f:1,P={flex:`0 0 calc(${(e=>"0px"!==e&&"0%"!==e)(R)?`(100% - 2 * ${R} - (${_} + 1) * ${M})/${_}`:`(100% - (${_} - 1) * ${M})/${_}`})`,position:"relative",display:"flex",backgroundColor:"transparent"};return m.length>0?e.jsx(qa,{styles:n.styles,children:({classnames:a})=>e.jsx("div",{ref:T,style:Object.assign(Object.assign({},O),S),"aria-disabled":w,tabIndex:D,className:null==a?void 0:a.own,"data-e2e":"CarouselDistribution","data-testid":i&&`${i}`,children:e.jsx("div",{style:k,"data-testid":i&&`${i}-container`,"data-e2e":"CarouselDistribution-Container",children:t.Children.toArray(m.map(((t,a)=>e.jsx(zi,{context:t,children:e.jsx(Fi,{value:h(t),children:e.jsx(ei,{value:E(t,a),children:e.jsx("div",{style:P,"data-testid":i&&`${i}-slide-${a}`,"data-e2e":`CarouselDistribution-Slide-${a}`,children:C(n.template,void 0,re(a,i),`CatalogItem-${a}`)})})})}))))})})}):null}function Yo(t){var n;const i=null!==(n=t.activeIndicatorMode)&&void 0!==n?n:"timer",o={elements:{own:[],pseudoActiveIndicator:t.activeIndicatorStyles?t.activeIndicatorStyles.map((e=>({default:e.default?a.omit(["background"],e.default):{}}))):[],pseudoActiveIndicatorContents:t.activeIndicatorStyles?t.activeIndicatorStyles.map((e=>({default:e.default?a.omit(["spacing","container"],e.default):{}}))):[]}};return e.jsx(qa,{styles:o,children:({classnames:n})=>{var a;return e.jsx("div",{style:{display:"flex",flexDirection:"row",position:"absolute",zIndex:2},className:null===(a=t.indicatorClasses)||void 0===a?void 0:a.progressIndicatorContainer,"data-testid":t.testId,children:Array.from({length:t.count},((a,o)=>{var r,s,l,c;return e.jsx("span",{className:[null===(r=t.indicatorClasses)||void 0===r?void 0:r.indicator,o<t.activeIndex?null===(s=t.indicatorClasses)||void 0===s?void 0:s.seenIndicator:void 0,o===t.activeIndex&&"timer"!==i?null===(l=t.indicatorClasses)||void 0===l?void 0:l.activeIndicator:void 0,o===t.activeIndex&&"timer"===i&&(null==n?void 0:n.pseudoActiveIndicator)?n.pseudoActiveIndicator:void 0].filter(Boolean).join(" "),style:{display:"block",transition:"all 100ms linear"},"data-testid":t.testId&&`${t.testId}-indicator-${o}`,children:"timer"===i&&e.jsx("span",{className:[null===(c=t.indicatorClasses)||void 0===c?void 0:c.indicator,o===t.activeIndex&&(null==n?void 0:n.pseudoActiveIndicatorContents)?n.pseudoActiveIndicatorContents:void 0].filter(Boolean).join(" "),style:{display:"block",padding:0,margin:0,maxWidth:"100%",maxHeight:"100%",border:"none",transform:`translateX(${o===t.activeIndex?"0%":"-100%"})`,transition:o===t.activeIndex?`transform ${t.transitionDuration}ms linear`:""}})},o)}))})}})}const Jo={elements:{own:[{default:{container:{alignItems:"flex-end",justifyContent:"center"}}}],progressIndicatorContainer:[{default:{dimension:{width:{type:"percentage",value:100}},spacing:{offset:"0 -10"},container:{gap:2,alignItems:"center",justifyContent:"center"}}}],indicator:[{default:{dimension:{height:{type:"fixed",value:2},maxWidth:75},container:{overflow:"hidden"},background:{backgroundColor:{light:"#66FFFFFF"}}}}],activeIndicator:[{default:{background:{backgroundColor:{light:"#FFFFFF"}}}}]}},Xo={overflow:"hidden",position:"relative",display:"flex"},Qo={backfaceVisibility:"hidden",display:"flex",alignItems:"stretch",minWidth:"100%"},er={display:"inline-block",minWidth:"100%",maxWidth:"100%",height:"auto"};function tr(e){return null!=e&&"object"==typeof e&&"light"in e&&"string"==typeof e.light}function nr(e,t){if("slide"===t)switch(e){case"fast":return 20;case"slow":return 60;default:return 30}switch(e){case"fast":return 20;case"slow":return 80;default:return 45}}function ir(n){var i;const a=Ri(),{tabIndex:o,isDisabled:r,styles:s}=b(a),[l,c]=function(e,n){return t.useMemo((()=>{var t,i,a,o;const r=f({delay:null!==(t=e.duration)&&void 0!==t?t:3e3,playOnInit:"ENABLED"===n}),s={active:"ENABLED"===n,loop:!0,watchDrag:!1};return"SlideInOut"===(null===(i=e.transition)||void 0===i?void 0:i.type)?[Object.assign(Object.assign({},s),{duration:nr(null===(a=e.transition)||void 0===a?void 0:a.settings.speed,"slide"),slidesToScroll:1,containScroll:"trimSnaps"}),[r]]:[Object.assign(Object.assign({},s),{duration:nr(null===(o=e.transition)||void 0===o?void 0:o.settings.speed,"fade"),containScroll:!1,align:"center"}),[r,h()]]}),[e,n])}(n.schema,a),[u,p]=d(l,c),[v,C]=t.useState(-1);t.useEffect((()=>{let e;return p&&(p.on("autoplay:timerset",(()=>{e&&window.cancelAnimationFrame(e),e=window.requestAnimationFrame((()=>{C(p.selectedScrollSnap()),e=void 0}))})),p.on("autoplay:timerstopped",(()=>{C(-1)})),p.emit("autoplay:timerset")),()=>{null==p||p.destroy()}}),[p]);const y=$i(n.schema.imageKey),m=(E=n.schema.imageKey,[$i(`${E}.1`),$i(`${E}.2`),$i(`${E}.3`),$i(`${E}.4`)].filter(tr));var E;const I=n.schema.styles?ae(Jo,null!==(i=n.schema.styles)&&void 0!==i?i:{}):Jo;return 0===m.length&&y&&m.push(y),m.length>0?e.jsx(qa,{styles:g(I),children:({classnames:t})=>{var i,a,l,c,d,p,f;return e.jsxs("div",{ref:u,style:Object.assign(Object.assign({},Xo),s),"aria-disabled":r,"aria-label":null!==(i=n.schema.a11yLabel)&&void 0!==i?i:void 0,tabIndex:o,className:null==t?void 0:t.own,"data-e2e":"DataImageCarousel","data-testid":n.testId,children:[e.jsx("div",{style:Qo,"data-testid":n.testId&&`${n.testId}-container`,"data-e2e":"DataImageCarousel-Container",children:m.map(((t,i)=>e.jsx("img",{"aria-hidden":r,style:Object.assign(Object.assign({},s),er),alt:t.alt,title:t.title,"data-testid":n.testId&&`${n.testId}-image-${i}`,"data-e2e":"DataImageCarousel-Image",src:t.light},i)))}),!1!==(null===(a=n.schema.indicators)||void 0===a?void 0:a.show)&&m.length>1&&e.jsx(Yo,{indicatorClasses:null!=t?t:void 0,activeIndicatorStyles:null!==(d=null===(c=null===(l=n.schema.styles)||void 0===l?void 0:l.elements)||void 0===c?void 0:c.activeIndicator)&&void 0!==d?d:void 0,activeIndicatorMode:null===(p=n.schema.indicators)||void 0===p?void 0:p.activeIndicatorMode,activeIndex:v,count:m.length,transitionDuration:null!==(f=n.schema.duration)&&void 0!==f?f:3e3,testId:n.testId})]})}}):null}function ar(t){const n=ti(),i=t.schema.name,a=n(t.schema.rating),o=Number(a),r=Ri(),{styles:s}=b(r);return i?e.jsx(qa,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("div",{style:Object.assign(Object.assign({},s),{display:"inline-block"}),className:(null==n?void 0:n.own)||"","data-testid":t.testId,"data-e2e":`IconGroup-${i}`,children:Array.from({length:5}).map(((e,n)=>{var a,r,s,l;const c=n<Math.round(o)?null===(r=null===(a=t.schema.styles)||void 0===a?void 0:a.elements)||void 0===r?void 0:r.filled:null===(l=null===(s=t.schema.styles)||void 0===s?void 0:s.elements)||void 0===l?void 0:l.unfilled;return fo({type:"StaticIcon",node:{name:i,styles:c?{elements:{own:c}}:void 0}})||null}))})}):null}function or(n){var a;const o=n.schema.styles,r=i.useDispatch(),s={type:(null===(a=n.action)||void 0===a?void 0:a.type)||Ve,payload:{id:Re,dismissalMethod:n.schema.dismissalMethod}},l=()=>{r(s)},c=Ri(),{tabIndex:d,styles:u,isDisabled:p}=b(c);return e.jsx(qa,{styles:o,children:({classnames:i})=>{var a;return e.jsx("button",{title:"Close",className:null==i?void 0:i.own,onClick:l,"data-testid":n.testId,"data-e2e":"CloseButton",disabled:p,tabIndex:d,"aria-disabled":p,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:void 0,style:Object.assign({cursor:"pointer"},u),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function rr(t,n){if("CloseButton"===t.type)return e.jsx(or,{schema:t.node,testId:n})}function sr(n){const i=wn(),a=t.useMemo((()=>{var e;return{formKey:n.schema.formKey,validationMode:null!==(e=n.schema.validationMode)&&void 0!==e?e:"on-submit"}}),[n.schema.formKey,n.schema.validationMode]);return e.jsx(ta,{value:a,children:e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>e.jsx("div",{className:a?a.own:void 0,"data-testid":n.testId,"data-e2e":"Form",style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})})})}function lr(n){var i,a,o,r;const{schema:s}=n,l=En(),c=ti(),d=Ri(),u=t.useContext(ea),p=hn(Wi(),si(),Tn()||document.head),f=null!==(i=null==u?void 0:u.formKey)&&void 0!==i?i:"",h=null!==(a=null==u?void 0:u.validationMode)&&void 0!==a?a:"on-submit",v=s.fieldKey,C=t.useMemo((()=>{var e;return null!==(e=s.validations)&&void 0!==e?e:[]}),[s.validations]),y=s.defaultValue?c(s.defaultValue):"",m=xn(void 0,(e=>{var t;return null===(t=e.formStates[f])||void 0===t?void 0:t[v]}));t.useEffect((()=>(l({type:Pe,payload:{formKey:f,fieldKey:v,defaultValue:y,validations:C}}),()=>{l({type:Ne,payload:{formKey:f,fieldKey:v}})})),[l,f,v,y,C]);const g=null!==(o=null==m?void 0:m.value)&&void 0!==o?o:y,E=t.useRef(null),I=t.useRef(null);t.useLayoutEffect((()=>{const e=E.current;if(e&&null!==I.current&&(t=s.inputType,["text","search","url","tel","password",void 0,null].includes(t))&&e.ownerDocument.activeElement===e){const t=Math.min(I.current,e.value.length);e.selectionStart===t&&e.selectionEnd===t||e.setSelectionRange(t,t)}var t;I.current=null}),[g,s.inputType]);const x=Boolean(m&&F(m)),L=null!==(r=null==m?void 0:m.error)&&void 0!==r?r:"",D=e=>{I.current=e.target.value===g?null:e.target.selectionStart;const t={type:Fe,payload:{formKey:f,fieldKey:v,value:e.target.value,validate:"on-change"===h||Boolean(null==m?void 0:m.errorVisible)}};l(t)},w=()=>{I.current=null},S=()=>{if(I.current=null,!(null==m?void 0:m.touched)){l({type:$e,payload:{formKey:f,fieldKey:v}})}},{tabIndex:A,styles:T,isDisabled:j}=b(d);return e.jsx(qa,{styles:s.styles,children:({classnames:t})=>{var i;return e.jsxs(e.Fragment,{children:[e.jsx("input",{ref:E,type:null!==(i=s.inputType)&&void 0!==i?i:"text",name:v,value:g,placeholder:s.placeholder?c(s.placeholder):void 0,"aria-label":s.a11yLabel?c(s.a11yLabel):void 0,"aria-invalid":x,className:p(null==t?void 0:t.own,null==t?void 0:t.inputText,null==t?void 0:t.placeholderText)||void 0,"data-errored":x?"true":void 0,"data-testid":n.testId,"data-e2e":"TextInput",tabIndex:A,disabled:j,style:T,onChange:D,onFocus:S,onBlur:w}),s.showErrorMessage&&x?e.jsx("div",{className:null==t?void 0:t.errorText,"data-errored":"true",role:"alert","data-testid":n.testId?`${n.testId}-error`:void 0,children:L}):null]})}})}const cr=()=>{},dr=t.createContext({register:cr,unregister:cr});function ur(e){const t=Date.now(),n={};for(const[i,{startTime:a,duration:o}]of Object.entries(e))n[i]=Math.max(0,Math.ceil((o-(t-a))/1e3));return n}function pr({children:n}){const i=ti(),a=t.useRef({}),[o,r]=t.useState({}),[s,l]=t.useState(0),c=t.useCallback(((e,t)=>{a.current[e]={startTime:Date.now(),duration:t},l((e=>e+1)),r(ur(a.current))}),[]),d=t.useCallback((e=>{delete a.current[e],l((e=>Math.max(0,e-1))),r(ur(a.current))}),[]);t.useEffect((()=>{if(0===s)return;const e=setInterval((()=>{r(ur(a.current))}),1e3);return()=>clearInterval(e)}),[s]);const u=Object.keys(o).length>0,p=t.useMemo((()=>u?i({state:{timer:o}}):i),[i,o,u]),f=t.useMemo((()=>({register:c,unregister:d})),[c,d]);return e.jsx(dr.Provider,{value:f,children:e.jsx(ei,{value:p,children:n})})}function fr({key:e,startTrigger:n,clearTrigger:i,duration:a,repeatable:o=!1,onExpire:r}){const s=t.useRef(null),l=t.useRef(!1),c=t.useRef(!1),d=t.useRef(r);d.current=r;const{register:u,unregister:p}=t.useContext(dr),f=Ha(n),h=Ha(i),v=i.length>0&&h;t.useEffect((()=>{o&&c.current&&!f&&(l.current=!1),c.current=f}),[f,o]),t.useEffect((()=>{v&&null!==s.current&&(clearTimeout(s.current),s.current=null,l.current=!0,p(e))}),[v,e,p]),t.useEffect((()=>{!f||v||l.current||null!==s.current||(u(e,a),s.current=setTimeout((()=>{s.current=null,l.current=!0,p(e),d.current()}),a))}),[f,v,a,e,u,p]),t.useEffect((()=>()=>{null!==s.current&&(clearTimeout(s.current),s.current=null,p(e))}),[e,p])}function hr(){const e=En(),n=si(),i=function(){try{return On()}catch(e){return null}}();return t.useCallback((t=>{e({type:He,payload:{action:t,offer:null!=i?i:void 0,offerPositionIndex:n}})}),[e,i,n])}function vr({timer:e}){var t;const n=hr();return fr({key:e.key,startTrigger:e.startTrigger,clearTrigger:e.clearTrigger,duration:e.duration,repeatable:null!==(t=e.repeatable)&&void 0!==t?t:void 0,onExpire:()=>{e.expirationActions.forEach((e=>n(e)))}}),null}function Cr(n){const{schema:i}=n,a=wn(),o=ti(),r=En(),s=hr(),l=Ri(),c=xn({},(e=>e.formStates)),{tabIndex:d,styles:u,isDisabled:p}=b(l),f=t.useRef(!1),h=e=>{var t;e.preventDefault();const n=null!==(t=i.validates)&&void 0!==t?t:[];if(n.length>0){const e=function(e,t){return t.filter((t=>{const n=t.indexOf(".");if(-1===n)return!1;const i=e[t.slice(0,n)];return void 0!==i&&Object.keys(i).length>0&&void 0===i[t.slice(n+1)]}))}(c,n);if(e.length>0&&!f.current){f.current=!0;const t={type:_e,payload:{level:"WARNING",code:"UNRESOLVED_FORM_VALIDATION_TARGET",message:`ActionButton \`validates\` entries matched no registered form field and were skipped: ${e.join(", ")}`}};r(t)}if(r({type:Ze,payload:{entries:n}}),!function(e,t){return G(e,t).every((({formKey:t,fieldKey:n})=>{var i;const a=null===(i=e[t])||void 0===i?void 0:i[n];return!a||!N(a)||""===$(a.value,a.validations)}))}(c,n))return}i.actions.forEach(s)};return e.jsx(qa,{styles:i.styles,children:({classnames:r})=>e.jsx("button",{type:"button",className:null==r?void 0:r.own,onClick:h,"data-testid":n.testId,"data-e2e":"ActionButton",disabled:p,tabIndex:d,"aria-disabled":p,"aria-label":i.a11yLabel?o(i.a11yLabel):void 0,style:Object.assign({cursor:"pointer"},u),children:t.Children.toArray(i.children.map(((e,t)=>a(e,void 0,re(t,n.testId)))))})})}function yr(e){return()=>{throw new W("FAILED_CREATING_UNHANDLED_NODE",`The default mapper does not handle the ${e} node. Make sure when you use the NodeMapperProvider, you pass an override for ${e} node.`)}}const mr={Form:function(t,n){if("Form"===t.type)return e.jsx(sr,{schema:t.node,testId:n})},TextInput:function(t,n){if("TextInput"===t.type)return e.jsx(lr,{schema:t.node,testId:n})},ActionButton:function(t,n){if("ActionButton"===t.type)return e.jsx(Cr,{schema:t.node,testId:n})},Column:function(t,n,i,a){if("Column"===t.type)return e.jsx(Ka,{schema:t.node,testId:n,e2eItemId:a})},Row:function(t,n,i,a){if("Row"===t.type)return e.jsx(Wa,{schema:t.node,testId:n,e2eItemId:a})},StaticImage:function(t,n){if("StaticImage"===t.type)return e.jsx(lo,{schema:t.node,testId:n})},DataImage:function(t,n){if("DataImage"===t.type)return e.jsx(co,{schema:t.node,testId:n})},DataImageCarousel:function(t,n){if("DataImageCarousel"===t.type)return e.jsx(ir,{schema:t.node,testId:n})},CreativeResponse:function(t,n){if("CreativeResponse"===t.type)return e.jsx(so,{schema:t.node,testId:n})},OneByOneDistribution:yr("OneByOneDistribution"),StackedDistribution:yr("StackedDistribution"),CarouselDistribution:yr("CarouselDistribution"),GroupedDistribution:yr("GroupedDistribution"),ProgressIndicator:yr("ProgressIndicator"),ProgressControl:yr("ProgressControl"),When:function(t,n){if("When"===t.type)return e.jsx(Ua,{schema:t.node,testId:n})},Overlay:yr("Overlay"),CloseButton:rr,RichText:function(t,n){if("RichText"===t.type)return e.jsx(no,{schema:t.node,testId:n})},BasicText:ao,StaticLink:bo,DataIcon:function(t,n){if("DataIcon"===t.type)return e.jsx(Io,{schema:t.node,testId:n})},StaticIcon:fo,ZStack:function(t,n){if("ZStack"===t.type)return e.jsx(xo,{schema:t.node,testId:n})},FlowRow:function(t,n){if("FlowRow"===t.type)return e.jsx(Ao,{schema:t.node,testId:n})},SlideStateTrigger:function(t,n){if("SlideStateTrigger"===t.type)return e.jsx(Do,{schema:t.node,testId:n})},ToggleButtonStateTrigger:function(t,n){if("ToggleButtonStateTrigger"===t.type)return e.jsx(jo,{schema:t.node,testId:n})},PartnerEventButtonTrigger:function(t,n){if("PartnerEventButtonTrigger"===t.type)return e.jsx(Bo,{schema:t.node,testId:n})},TimerStateTrigger:function(t,n){if("TimerStateTrigger"===t.type)return e.jsx(Uo,{schema:t.node})},CatalogStackedCollection:function(t,n){if("CatalogStackedCollection"===t.type)return e.jsx(No,{schema:t.node,testId:n})},CatalogResponseButton:yr("CatalogResponseButton"),ScrollableRow:function(t,n){if("ScrollableRow"===t.type)return e.jsx(Mo,{schema:t.node,testId:n})},ScrollableColumn:function(t,n){if("ScrollableColumn"===t.type)return e.jsx(Oo,{schema:t.node,testId:n})},EscapeHatch:Po,BottomSheet:yr("BottomSheet"),MinimizableBottomSheet:yr("MinimizableBottomSheet"),CatalogQuantityOption:yr("CatalogQuantityOption"),CatalogRadioGroup:yr("CatalogRadioGroup"),CatalogQuantityCounter:yr("CatalogQuantityCounter"),InlineContainer:function(t,n){if("InlineContainer"===t.type)return e.jsx($o,{schema:t.node,testId:n})},CopyToClipboardButton:function(t,n){if("CopyToClipboardButton"===t.type)return e.jsx(zo,{schema:t.node,testId:n})},ButtonStateTrigger:function(t,n){if("ButtonStateTrigger"===t.type)return e.jsx(qo,{schema:t.node,testId:n})},CatalogCombinedCollection:yr("CatalogCombinedCollection"),CatalogCarouselCollection:function(t,n){if("CatalogCarouselCollection"===t.type)return e.jsx(Wo,{schema:t.node,testId:n})},CatalogDevicePayButton:yr("CatalogDevicePayButton"),CatalogSelectorsStacked:yr("CatalogSelectorsStacked"),IconGroup:function(t,n){if("IconGroup"===t.type)return e.jsx(ar,{schema:t.node,testId:n})},CatalogDropdown:yr("CatalogDropdown"),MinimizeButton:yr("MinimizeButton"),CatalogImageGallery:yr("CatalogImageGallery"),CatalogThumbnailGallery:yr("CatalogThumbnailGallery")};function gr(e){throw new W("FAILED_CREATING_LAYOUT_NODE",`Failed to create layout node ${JSON.stringify(e)}`)}function br(t){return function(n,i,a,o){const r=i&&i[n.type],s=null!=r?r:mr[n.type];return e.jsx(vo,{schema:n,reporter:t,children:s&&s(n,a,void 0,o)||gr(n)})}}function Er(e){const t={};for(const[n,i]of Object.entries(e)){const e={};for(const[t,n]of Object.entries(i))N(n)&&(e[t]={value:n.value,error:F(n)?n.error:""});t[n]=e}return t}function Ir(e,t){return e({state:Er(t)},"form")}const xr={transformLinksToAnchorText:function(e={}){return{data:a.mapObjIndexed((e=>Hn(e)?`<a target="_blank" href="${e.url}">${e.title}</a>`:""),e)}}};function Lr(e){const{childLayouts:n}=e,i=En(),[o,r]=t.useMemo((()=>{const e=a.indexBy(a.prop("childLayoutId"),n);return[e,a.mapObjIndexed((e=>e.childLayoutSchema.predicates),e)]}),[n]),s=_a(r);t.useEffect((()=>{Object.entries(s).forEach((([e,t])=>{const n=o[e];t&&n&&i({type:Me,payload:n})}))}),[s,o,i])}function Dr(n){var i,a;const{settings:o,dispatch:r,children:s}=n,l=Yn(o.offerData.creative.copy||{})(xr.transformLinksToAnchorText(o.offerData.creative.links),"creativeLink")({data:null!==(i=o.offerData.transactionData)&&void 0!==i?i:{}},"transactionData"),c=br(o.logger),[d,u]=t.useState("ENABLED");return t.useEffect((()=>o.gateway.onInteractivityChange(u)),[o]),et(o.rootElement,r),e.jsx(ai.Provider,{value:"VARIANT",children:e.jsx(An.Provider,{value:o.rootElement,children:e.jsx(Ki.Provider,{value:o.pluginId,children:e.jsx(ji,{context:o.gateway,children:e.jsx(Oi,{context:o.layoutSchema,children:e.jsx(Yi.Provider,{value:o.schemaVersion,children:e.jsx(Mn,{context:o.offerData,children:e.jsx(Fi,{value:Hi(o.offerData.creative),children:e.jsx(Vi.Provider,{value:d,children:e.jsx(Sn,{value:c,children:e.jsx(ri.Provider,{value:o.offerPositionIndex,children:e.jsx(bn.Provider,{value:r,children:e.jsx(ei,{value:l,children:e.jsx(wr,{children:e.jsxs(pr,{children:[null===(a=o.variantTimers)||void 0===a?void 0:a.map((t=>e.jsx(vr,{timer:t},t.key))),e.jsx(Lr,{childLayouts:o.childLayouts}),s]})})})})})})})})})})})})})})})}function wr(n){var i;const{children:o}=n,r=Wi(),s=function(){const[e,n]=t.useState(null),i=t.useContext(Ti).get();return t.useEffect((()=>i.onGlobalStateChange((t=>{a.equals(t,e)||n(t)}))),[i]),e}(),l=t.useContext(An)||void 0,c=si(),d=t.useCallback((e=>mn(e,r,c,l)),[l]);return s?e.jsx(ii,{value:d(Object.values(null!==(i=null==s?void 0:s.breakpoint.breakpoints)&&void 0!==i?i:{})),children:e.jsx(In.Provider,{value:s,children:e.jsx(Sr,{formStates:s.formStates,children:o})})}):null}function Sr(n){const i=ti(),a=t.useMemo((()=>Ir(i,n.formStates)),[i,n.formStates]);return e.jsx(ei,{value:a,children:n.children})}function Ar(t){return e.jsx("style",{"data-testid":t.testId,children:"\n* {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n}\nbody {\n margin: 0;\n font-family: sans-serif;\n}\np {\n margin: 0;\n}\nimg {\n max-width: 100%;\n}\n"})}function Tr(e,t,n,i,a,o){if("animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype){o.current.isRunning=!0,a&&"in"===t&&function(e,t){e.style.height=`${t.clientHeight}px`}(a,e);const r=e.animate(n,{duration:i,iterations:1});return r.onfinish=()=>{"in"===t?Pa(e):Na(e),o.current.isRunning=!1},r.oncancel=()=>{"in"===t?Pa(e):Na(e),o.current.isRunning=!1},()=>{r.finish()}}return"in"===t?Pa(e):Na(e),()=>{}}const jr={FadeInOut:{in:[{opacity:0,display:"none"},{opacity:0,display:"none",offset:.5},{opacity:0,display:"block",offset:.5},{opacity:0,display:"block",offset:.625},{opacity:1,display:"block"}],out:[{opacity:1},{opacity:0,offset:.75},{opacity:0}]}};function Mr({visible:n,effect:i,children:a,parentElement:o,containerClassName:r}){const[s,l]=t.useState(n),c=t.useRef(null),d=t.useRef({isRunning:!1}),u=Fa(i);return t.useEffect((()=>{const e=new ResizeObserver((function(e){o&&n&&!d.current.isRunning&&requestAnimationFrame((()=>{e.forEach((e=>{e.contentBoxSize?function(e,t){var n;Array.isArray(e.contentBoxSize)&&e.contentBoxSize[0]?t.style.height=e.contentBoxSize[0].blockSize+"px":"object"==typeof(n=e.contentBoxSize)&&null!=n&&"blockSize"in n&&"number"==typeof n.blockSize&&"inlineSize"in n&&"number"==typeof n.inlineSize?t.style.height=e.contentBoxSize.blockSize+"px":t.style.height="auto"}(e,o):e.contentRect&&function(e,t){t.style.height=`${e.contentRect.height}px`}(e,o)}))}))}));return n&&c.current&&(Pa(c.current),e.observe(c.current)),()=>{e.disconnect()}}),[n,o]),t.useEffect((()=>n&&!s&&c.current&&o?(l(!0),Tr(c.current,"in",jr[i.type].in,u,o,d)):!n&&s&&c.current&&o?(l(!1),Tr(c.current,"out",jr[i.type].out,u/2,o,d)):()=>{}),[n,o,u]),e.jsx("div",{ref:c,style:{display:"none"},className:r,children:a})}function Or(t){const n=wn();return e.jsx(qa,{styles:t.schema.styles,children:({classnames:i})=>{var a;return e.jsx("div",{className:null==i?void 0:i.own,"data-testid":t.testId,style:{display:"flex",flexDirection:"column"},"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,children:n(t.schema.template)})}})}function kr(e){const{backgroundColor:t,hasBorder:n}=function(e){var t,n,i;const a=null===(n=null===(t=e.styles)||void 0===t?void 0:t.elements)||void 0===n?void 0:n.own;if(!Array.isArray(a))return{hasBorder:!1};let o,r=!1;for(const e of a){const t=null==e?void 0:e.default;t&&(null!=(null===(i=t.background)||void 0===i?void 0:i.backgroundColor)&&(o=t.background.backgroundColor),null!=t.border&&(r=null!=t.border.borderWidth||null!=t.border.borderStyle))}return{backgroundColor:o,hasBorder:r}}(e);if(!t)return;const i=Vr(t.light,n);if(!i)return;const a=t.dark?Vr(t.dark,n):void 0;return a?{light:i,dark:a}:{light:i}}function Vr(e,t){const n=function(e){if(null==e)return;const t=e.trim().toLowerCase();if(""===t)return;if("white"===t)return"white";if("black"===t)return"black";if(!t.startsWith("#"))return;const n=t.slice(1),i=3===n.length||4===n.length?n.split("").map((e=>e+e)).join(""):n;let a,o="ff";if(6===i.length)a=i;else{if(8!==i.length)return;o=i.slice(0,2),a=i.slice(2)}if(!/^[0-9a-f]+$/.test(o)||!/^[0-9a-f]+$/.test(a))return;if("ff"===o){if("ffffff"===a)return"white";if("000000"===a)return"black"}return}(e);if(n)return"white"===n&&t?"white-outline":n}const Rr=t.forwardRef((function({buttonStyle:n,className:i,disabled:a,onClick:r,tabIndex:s,testId:l},c){const d=t.useMemo((()=>{return"undefined"!=typeof window&&"CSS"in window&&null!==(n=null===(t=null===(e=window.CSS)||void 0===e?void 0:e.supports)||void 0===t?void 0:t.call(e,"-webkit-appearance","-apple-pay-button"))&&void 0!==n&&n;var e,t,n}),[]),u=si(),p=Tn(),f=Wi(),h=function(e,t,n){return t?n&&n!==t?e`
|
|
58
58
|
display: inline-block;
|
|
59
59
|
-webkit-appearance: -apple-pay-button;
|
|
60
60
|
-apple-pay-button-type: buy;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
@media (prefers-color-scheme: dark) {
|
|
78
78
|
-apple-pay-button-style: black;
|
|
79
79
|
}
|
|
80
|
-
`}(p?fn(f,u,p):o.css,"string"==typeof n?n:null==n?void 0:n.light,"string"==typeof n||null==n?void 0:n.dark);if(!d)return null;return e.jsx("button",{ref:c,type:"button",className:[h,i].filter(Boolean).join(" "),style:{minWidth:140,minHeight:30,border:"none",cursor:a?"not-allowed":"pointer",opacity:a?.5:1},onClick:e=>{if(a)return e.preventDefault(),void e.stopPropagation();null==r||r(e)},disabled:a,"aria-label":"Apple Pay","aria-disabled":a,tabIndex:s,"data-testid":l,"data-e2e":"ApplePayButton"})})),kr={color:"#D92D20",fontSize:"12px",fontFamily:"inherit",fontWeight:400,lineHeight:"16.5px",letterSpacing:"0.064px",margin:"6px 0 0 20px"};function Vr({className:t,message:n}){return e.jsx("p",{role:"alert","aria-live":"assertive",className:t,style:t?void 0:kr,children:(null==n?void 0:n.trim())||"Payment failed. Choose another card and try again."})}const Rr="ACTIVE/ADD",Hr="ACTIVE/DELETE",_r="BREAKPOINT/UPDATE_ACTIVE",Pr="BREAKPOINT/INITIALISE",Nr="BREAKPOINT/SET_BREAKPOINTS",Fr="FONTS/SET",$r="LAYOUT/UPDATE",Zr="CONFIG/HANDLE",Gr="PLUGIN/CLOSE_PLUGIN",Br="SETTINGS/SET",Ur="SETTINGS/SET_BOTTOMSHEET_VISIBLE_HEIGHT",zr="CACHE/ADD_SERIALIZED_VALUE",qr="CACHE/UPDATE_SERIALIZED_VALUE",Kr="CACHE/CLEAR_SERIALIZED_VALUE",Wr="SIGNAL/QUEUE",Yr="SIGNAL/PROCESSED",Jr="SIGNAL/PROCESS",Xr="rokt_minimize",Qr="rokt_backdrop",es="ERROR/REPORT",ts="LOG",ns="CUSTOM_STATES/SET",is="DOMAIN_STATES/SET",as="FORM_STATES/REGISTER_FIELD",os="FORM_STATES/UNREGISTER_FIELD",rs="FORM_STATES/SET_FIELD_VALUE",ss="FORM_STATES/SET_FIELD_TOUCHED",ls="FORM_STATES/VALIDATE_FIELDS",cs={LAYOUT_UPDATE:$r,UPDATE_ACTIVE_BREAKPOINT:_r,INITIALISE_BREAKPOINT:Pr,ACTIVE_ADD:Rr,ACTIVE_DELETE:Hr,SET_FONTS:Fr,QUEUE_SIGNAL:Wr,SIGNAL_PROCESSED:Yr,CACHE_SERIALIZED_VALUE:zr,UPDATE_CACHED_SERIALIZED_VALUE:qr,CLEAR_SERIALIZED_VALUE_FROM_CACHE:Kr,SET_SETTINGS:Br,SET_BOTTOMSHEET_VISIBLE_HEIGHT:Ur,SET_CUSTOM_STATE:ns,SET_DOMAIN_STATE_REDUCER:is,REGISTER_FORM_FIELD:as,UNREGISTER_FORM_FIELD:os,SET_FORM_FIELD_VALUE:rs,SET_FORM_FIELD_TOUCHED:ss,VALIDATE_FORM_FIELDS:ls},ds={HANDLE_CONFIG:Zr,SET_BREAKPOINTS:Nr,CLOSE_PLUGIN:Gr,RAISE_METRIC:se,PREPARE_SIGNAL:Se,DISMISS_OVERLAY:Ve,REPORT_ERROR:es,LOG:ts,OPEN_LINK:Ae};function us(n){const{schema:a,testId:o}=n,r=t.useContext(Yi),s=xn(null,(e=>{var t;return void 0!==(null===(t=e.domainStates)||void 0===t?void 0:t.layoutMinimized)?e.domainStates.layoutMinimized:null})),l=!(null==s||!s),c=i.useDispatch(),d=Oi(),{tabIndex:u,styles:p,isDisabled:f}=b(d),h=t.useCallback((()=>{f||c({type:is,payload:{key:P,value:l?0:1}})}),[c,l,f]);return r?e.jsx(Ba,{styles:a.styles,children:({classnames:n})=>{var i;return e.jsx("button",{title:l?"Maximize":"Minimize",className:null==n?void 0:n.own,onClick:h,"data-testid":o,"data-e2e":"MinimizeButton",disabled:f,tabIndex:u,"aria-disabled":f,"aria-expanded":!l,"aria-label":null!==(i=a.a11yLabel)&&void 0!==i?i:void 0,style:Object.assign({cursor:"pointer"},p),children:e.jsx(Dn,{children:e=>t.Children.toArray(a.children.map(((t,n)=>e(t,void 0,o?`${o}-child${n}`:void 0))))})})}}):null}const ps="plugin";function fs(e,t=0){var n;const i=null===(n=null==e?void 0:e.elements)||void 0===n?void 0:n.own;if(!Array.isArray(i))return!1;for(let e=i.length<=1?0:2===i.length?0===t?0:1:Math.min(t,i.length-1);e>=0;e-=1)if("object"==typeof(a=i[e])&&null!==a&&Object.values(a).some((e=>{var t;const n="object"==typeof e&&null!==e?null===(t=e.dimension)||void 0===t?void 0:t.height:void 0;return"fixed"===(null==n?void 0:n.type)||"percentage"===(null==n?void 0:n.type)||"fit"===(null==n?void 0:n.type)&&"fit-height"===(null==n?void 0:n.value)})))return!0;var a;return!1}function hs(e){return e.breakpoint.breakpoints[e.breakpoint.activeBreakpoint]||0}const vs=a.sortBy(a.prop(1)),Cs=a.map(a.prop(0)),ys=e=>a.compose(a.findIndex(a.equals(e)),Cs,vs,a.toPairs,a.pathOr({},["breakpoint","breakpoints"]));function ms(e){return ys(e.breakpoint.activeBreakpoint)(e)}function gs(e,t){return e.customStates[`module${t}`]||{}}function bs(e,t){return e.firedEvents[`module${t}`]||{}}const Es={};function Is(e,t){return e.formStates[`module${t}`]||Es}function xs(e){return`${e.name}:${e.parentGuid}`}function Ls(e){return null!=e?e:null}function Ds(){return new Set([Re])}function ws(){return new Map}function Ss(e){return void 0!==e?`module${e}`:"root"}function As(e,t=e.value){const n=$(t,e.validations);return Object.assign(Object.assign({},e),{value:t,validated:!0,error:n,valid:""===n})}const Ts={layout:function(e=Ls(),t){return t.type===$r?t.payload:e},breakpoint:function(e={breakpoints:{default:0},activeBreakpoint:"default",initialised:!1},t){var n;switch(t.type){case _r:return Object.prototype.hasOwnProperty.call(e.breakpoints,t.payload.activeBreakpoint)?Object.assign(Object.assign({},e),{activeBreakpoint:t.payload.activeBreakpoint}):e;case Pr:return{activeBreakpoint:null!==(n=t.payload.activeBreakpoint)&&void 0!==n?n:"default",breakpoints:Object.assign({default:0},t.payload.breakpoints),initialised:!0};default:return e}},active:function(e=Ds(),t){var n,i;switch(t.type){case Rr:{const i=new Set(e);return i.add(null===(n=t.payload)||void 0===n?void 0:n.id),i}case Hr:{const n=new Set(e);return n.delete(null===(i=t.payload)||void 0===i?void 0:i.id),n}default:return e}},fonts:function(e=[],t){return t.type===Fr?t.payload:e},signal:function(e={queue:[],processed:[]},t){switch(t.type){case Wr:return a.evolve({queue:n=>Ms(e,t.payload.signal)?a.uniqBy(a.pipe(a.prop("signal"),xs),n.concat(t.payload)):n},e);case Yr:return a.evolve({queue:e=>a.reject(a.pipe(a.prop("signal"),a.whereEq({name:t.payload.name,parentGuid:t.payload.parentGuid})))(e),processed:a.append(xs(t.payload))},e);default:return e}},serializableCache:function(e=ws(),t){switch(t.type){case zr:case qr:if(t.payload.key&&t.payload.value){return new Map([...e]).set(t.payload.key,t.payload.value)}return e;case Kr:{const n=new Map([...e]);return t.payload&&n.delete(t.payload),n}default:return e}},settings:function(e={closeOnComplete:!0,closeOnNegativeResponse:"NEVER",allowEscToClose:!1,minimizeOnComplete:!1,explicitCloseOnComplete:!1,bottomsheetVisibleHeight:null},t){switch(t.type){case Br:{const n=a.mergeDeepWith(((e,t)=>a.isNil(t)?e:t),e,t.payload);return Object.assign(Object.assign({},n),{explicitCloseOnComplete:e.explicitCloseOnComplete||"closeOnComplete"in t.payload&&!0===t.payload.closeOnComplete})}case Ur:return Object.assign(Object.assign({},e),{bottomsheetVisibleHeight:t.payload.height});default:return e}},customStates:function(e={root:{}},t){if(t.type===ns){if(t.payload.key&&!isNaN(t.payload.value)){const n=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:"root";return a.assocPath([n,t.payload.key],Number(t.payload.value),e)}return e}return e},firedEvents:function(e={root:{}},t){var n;if(t.type===we){if(!(null===(n=t.payload)||void 0===n?void 0:n.event))return e;const i=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:"root";return a.assocPath([i,t.payload.event],!0,e)}return e},formStates:function(e={root:{}},t){var n,i;switch(t.type){case as:{const{offerPositionIndex:i,formKey:o,fieldKey:r,defaultValue:s,validations:l}=t.payload,c=[Ss(i),o,r],d=null!==(n=a.path(c,e))&&void 0!==n?n:function(e={}){return Object.assign({value:"",defaultValue:"",error:"",touched:!1,validated:!1,valid:!1,errorVisible:!1,validations:[],registrationCount:1},e)}({value:s,defaultValue:s,registrationCount:0}),u=d.value!==d.defaultValue,p=Object.assign(Object.assign({},d),{value:u?d.value:s,defaultValue:s,validations:l,registrationCount:d.registrationCount+1});return a.assocPath(c,As(p),e)}case os:{const{offerPositionIndex:n,formKey:i,fieldKey:o}=t.payload,r=[Ss(n),i,o],s=a.path(r,e);return s?a.assocPath(r,Object.assign(Object.assign({},s),{registrationCount:Math.max(0,s.registrationCount-1)}),e):e}case rs:{const{offerPositionIndex:n,formKey:i,fieldKey:o,value:r,validate:s}=t.payload,l=[Ss(n),i,o],c=a.path(l,e);if(!c)return e;const d=Object.assign(Object.assign({},As(c,r)),{errorVisible:c.errorVisible||s});return a.assocPath(l,d,e)}case ss:{const{offerPositionIndex:n,formKey:i,fieldKey:o}=t.payload,r=[Ss(n),i,o],s=a.path(r,e);return!s||s.touched?e:a.assocPath(r,Object.assign(Object.assign({},s),{touched:!0}),e)}case ls:{const{offerPositionIndex:n,entries:o}=t.payload,r=Ss(n);return G(null!==(i=e[r])&&void 0!==i?i:{},o).reduce(((e,{formKey:t,fieldKey:n})=>{const i=[r,t,n],o=a.path(i,e);return o&&N(o)?a.assocPath(i,Object.assign(Object.assign({},As(o)),{errorVisible:!0}),e):e}),e)}default:return e}}};function Ms(e,t){return!e.processed.includes(xs(t))||(n=t.name,void 0!==U.find((e=>e===n)));var n}const js={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};var Os;function ks({isOpen:n,schema:o,testId:r,children:s}){const l=tt(),c=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),d=i.useSelector((e=>e.active.has(ps))),u=i.useSelector(ms),p=i.useDispatch(),f=()=>{p({type:ds.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:Qr}})};t.useEffect((()=>{c&&p({type:Ce,payload:{name:"SignalActivation",parentGuid:c}})}),[c]),t.useEffect((()=>{d&&requestAnimationFrame((()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.focus()}))}),[d]);const h=Oi(),{tabIndex:v,isDisabled:C,styles:y}=b(h),m=o.styles?a.mergeRight(js,o.styles):js,g=fs(o.styles,u);if(!n)return null;const E=e.jsx(Dn,{children:e=>t.Children.toArray(o.children.map(((t,n)=>e(t,void 0,r?`${r}-child${n}`:void 0))))});return e.jsx(Ba,{styles:m,children:({classnames:t})=>{var n;return e.jsxs("div",{className:null==t?void 0:t.wrapper,style:Object.assign({position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9999",display:"flex",overflow:g?"hidden":"auto"},y),"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,"aria-hidden":C,role:"dialog","aria-modal":!0,tabIndex:v,"data-testid":r,"data-e2e":"Overlay-Wrapper",children:[e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:o.allowBackdropToClose?f:void 0,"data-testid":r&&`${r}-backdrop`,"data-e2e":"Overlay-Backdrop"}),s(E,l)]})}})}!function(e){e[e.BottomSheet=0]="BottomSheet",e[e.Overlay=1]="Overlay"}(Os||(Os={}));const Vs={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};function Rs({isOpen:n,schema:o,testId:r,children:s}){const l=tt(),c=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),d=i.useSelector((e=>e.active.has(ps))),u=i.useSelector(ms),p=i.useDispatch(),f=()=>{p({type:ds.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:Qr}})};t.useEffect((()=>{c&&p({type:Ce,payload:{name:"SignalActivation",parentGuid:c}})}),[c,p]),t.useEffect((()=>{d&&requestAnimationFrame((()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.focus()}))}),[d]);const h=Oi(),{tabIndex:v,isDisabled:C,styles:y}=b(h),m=o.styles?a.mergeRight(Vs,o.styles):Vs,g=fs(o.styles,u);if(!n)return null;const E=e.jsx(Dn,{children:e=>{var n;return t.Children.toArray((null!==(n=o.children)&&void 0!==n?n:[]).map(((t,n)=>e(t,void 0,r?`${r}-child${n}`:void 0))))}});return e.jsx(Ba,{styles:m,children:({classnames:t})=>{var n;return e.jsxs("div",{className:null==t?void 0:t.wrapper,style:Object.assign({position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9999",display:"flex",overflow:g?"hidden":"auto"},y),"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,"aria-hidden":C,role:"dialog","aria-modal":!0,tabIndex:v,"data-testid":r,"data-e2e":"Overlay-Wrapper",children:[e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:o.allowBackdropToClose?f:void 0,"data-testid":r&&`${r}-backdrop`,"data-e2e":"Overlay-Backdrop"}),s(E,l)]})}})}const Hs="undefined"!=typeof window;function _s(){const e=i.useDispatch(),n=i.useSelector((e=>{var t;return!0===(null===(t=null==e?void 0:e.settings)||void 0===t?void 0:t.allowEscToClose)}));t.useEffect((()=>{if(!Hs||!n)return;const t=t=>{"Escape"===t.key&&e({type:ds.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:"escape_key"}})};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}}),[])}const Ps={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};const Ns=t.forwardRef((function({schema:t,testId:n,children:o,isAttached:r},s){_s();const l=i.useSelector(ms),c=fs(t.styles,l),d=t.styles?a.mergeRight(Ps,t.styles):Ps;return e.jsx(Ba,{styles:d,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,style:{position:"relative",zIndex:"3",outline:"none",alignSelf:r?"center":void 0,marginBlock:r?"auto":void 0,maxHeight:c?"100%":void 0,overflowY:c?"auto":void 0},ref:s,tabIndex:-1,"data-e2e":"Overlay-Container","data-testid":n&&`${n}-container`,children:o})})}));const Fs=i.connect((function(e){return{isOpen:e.active.has(Re)}}))((function(t){return e.jsx(ks,Object.assign({},t,{children:(n,i)=>e.jsx(Ns,Object.assign({},t,{ref:i,children:n}))}))}));const $s=i.connect((function(e){return{isOpen:e.active.has(Re)}}));function Zs(e){const t=e[0],n=e[e.length-1];if(!t||!n)return 0;const i=n.timestamp-t.timestamp;return 0===i?0:(n.offsetPx-t.offsetPx)/i}const Gs=1e5,Bs="data-rokt-bottomsheet-no-drag";function Us(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientY:e.clientY}function zs(e){return e?1:0}function qs(e){return{type:is,payload:{key:P,value:e}}}function Ks(e,t){var n,i,a,o;const r=null!==(i=null===(n=e.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0;return(null!==(o=null===(a=t.current)||void 0===a?void 0:a.clientHeight)&&void 0!==o?o:0)-r}function Ws(e,t,n){const i=Math.round(n);t.current=i,e.current&&(e.current.style.transform=`translateY(${i}px)`)}function Ys(e,t){e.current&&(e.current.style.visibility="visible")}function Js(e,t,n){Ws(e,t,n),Ys(e)}function Xs(e,t,n=200){e.current&&(e.current.style.transition=t?`transform ${n}ms`:"")}function Qs(e,t,n,i){const[a,o]=i?[t,e]:[e,t],r=n?{fadeIn:"opacity .5s",fadeOut:"opacity .2s"}:{fadeIn:"",fadeOut:""};o.current&&(o.current.style.transition=r.fadeIn),a.current&&(a.current.style.transition=r.fadeOut)}function el(e,t,n,i="auto"){const a=t.current;a&&(e.current&&(clearTimeout(e.current),e.current=null),a.style.opacity=n?"0":"1",n||"none"===i?a.style.pointerEvents="none":e.current=setTimeout((()=>{a.style.pointerEvents="auto",e.current=null}),400))}function tl(e,t){e.current&&(e.current.style.height=`${t}px`)}const nl=(e,n,a=!0)=>{const o=t.useRef(null),r=t.useRef(null),s=t.useRef(null),l=t.useRef(null),c=t.useRef(null),d=t.useRef(null),u=t.useRef(!e),p=t.useRef(!1),f=t.useRef(n),h=t.useRef(null),v=xn(null,(e=>{var t;return void 0!==(null===(t=e.domainStates)||void 0===t?void 0:t.layoutMinimized)?e.domainStates.layoutMinimized:null})),C=null!=v?v:zs(e),y=a&&!!C,m=t.useRef(y);m.current=y;const[g,E]=t.useState(!!e&&a),[I,x]=t.useState(!0),L=i.useDispatch();t.useEffect((()=>{L(qs(zs(e)))}),[]);const D=Oi(),w=t.useRef(0),S=t.useRef(!1),A=t.useRef(0),T=t.useRef([]),M=t.useRef(void 0),j=t.useRef(0),O=t.useRef(null),{isDisabled:k}=b(D),V=t.useCallback(((e=0)=>{const t=c.current;return!!(o.current&&r.current&&l.current&&t)&&(0===t.clientHeight?(e<1&&requestAnimationFrame((()=>{V(e+1)})),!1):(Js(r,w,t.clientHeight),requestAnimationFrame((()=>{Xs(r,!0,800),Js(r,w,0),u.current=!1})),!0))}),[]),R=t.useCallback((e=>{e||tl(o,Gs)}),[]),H=t.useCallback((e=>{if(u.current)return;p.current=!0,Xs(r,!0),Qs(l,c,!0,e),!e&&c.current&&(c.current.style.transition="opacity .3s .2s"),Js(r,w,e?Ks(l,c):0),el(d,l,!e,"auto"),el(d,c,e),R(e);const t=r.current;t&&t.addEventListener("transitionend",(()=>{p.current=!1}),{once:!0})}),[R]),_=t.useCallback(((e,t)=>{p.current||S.current||(u.current?V():(Xs(r,e),t?function(e,t,n,i,a){var o,r;if(0===(null!==(r=null===(o=i.current)||void 0===o?void 0:o.clientHeight)&&void 0!==r?r:0))return;const s=Ks(n,i);Ws(e,a,s+80),tl(t,Gs),Ys(e),requestAnimationFrame((()=>{Xs(e,!0,200),Ws(e,a,s)}))}(r,o,l,c,w):(Js(r,w,0),tl(o,Gs))))}),[V]),P=t.useCallback((e=>{L(qs(zs(e)))}),[L]),N=t.useCallback((()=>function(e){const{velocityPxPerMs:t,currentOffsetPx:n}=e;return!(n<=0)&&(n>=48||t>=.2)}({velocityPxPerMs:Zs(T.current),currentOffsetPx:w.current})),[]),F=t.useCallback((()=>{var e,t;S.current&&(e=T.current,t=w.current,e.push({offsetPx:t,timestamp:Date.now()}),e.length>20&&e.shift(),requestAnimationFrame(F))}),[]),$=t.useCallback((()=>{T.current=[],F()}),[F]),Z=t.useCallback((e=>{var t,n;if(!r.current)return;e.preventDefault();const i=(null!==(t=Us(e))&&void 0!==t?t:0)-(null!==(n=M.current)&&void 0!==n?n:0),a=j.current+i,o=a<0?Math.max(-80,.35*a):a;Js(r,w,o)}),[]),G=t.useCallback((function e(){document.removeEventListener("mousemove",Z),document.removeEventListener("mouseup",e),document.removeEventListener("touchmove",Z),document.removeEventListener("touchend",e),O.current=null,M.current=void 0,S.current=!1,Xs(r,!0),Qs(l,c,!0,!1);N()?P(!0):Js(r,w,0)}),[N,Z,P]),B=t.useCallback((()=>{O.current={onDrag:Z,onDragStop:G},document.addEventListener("touchmove",Z,{passive:!1}),document.addEventListener("touchend",G),document.addEventListener("mousemove",Z,{passive:!1}),document.addEventListener("mouseup",G)}),[Z,G]),U=t.useCallback((e=>{var t;if(!a)return;if(Date.now()-A.current<200)return;if(A.current=Date.now(),k)return;if(y)return;const n=e.target;if(!(null===(t=null==n?void 0:n.closest)||void 0===t?void 0:t.call(n,`[${Bs}]`))&&!S.current){const t=Us(e);if(void 0===t)return;S.current=!0,j.current=w.current,$(),M.current=t,Xs(r,!1),Qs(l,c,!1,!1),B()}}),[a,y,k,$,B]);return t.useEffect((()=>{const e=r.current;if(e&&"default"===n)return e.addEventListener("mousedown",U),e.addEventListener("touchstart",U),()=>{e.removeEventListener("mousedown",U),e.removeEventListener("touchstart",U)}}),[r,U,n]),t.useLayoutEffect((()=>{if("default"!==n)return;const e=r.current;e&&(e.style.visibility="hidden",e.style.transform="translateY(1000px)")}),[n]),t.useEffect((()=>{if("default"!==n)return void(f.current=n);const e="default"!==f.current;if(f.current=n,!e)return;x(!0),c.current&&(c.current.style.transition="none",c.current.style.opacity="0",c.current.style.pointerEvents="none");const t=requestAnimationFrame((()=>requestAnimationFrame((()=>{_(u.current,y)}))));return()=>cancelAnimationFrame(t)}),[n,_,y]),t.useEffect((()=>{if(I)return el(d,l,!y,"auto"),el(d,c,y),void requestAnimationFrame((()=>{Qs(l,c,!0,y),E(y),x(!1)}));g!==y&&(E(y),H(y),L(il(y)))}),[y,g,I,L,H]),t.useEffect((()=>{const e=()=>{const e=function(e,t){const n=t.current,i=e.current;if(!n||!i)return 0;const a=parseFloat(getComputedStyle(n).paddingBottom)||0;return Math.ceil(i.getBoundingClientRect().bottom-n.getBoundingClientRect().top+a)}(l,s);e>0&&e!==h.current&&(h.current=e,L({type:Ur,payload:{height:e}}))},t=function(e,t){let n;const i=()=>{n&&clearTimeout(n),n=setTimeout((()=>{t(),n=void 0}),e)};return i.cancel=()=>{n&&(clearTimeout(n),n=void 0)},i}(100,(()=>{const t=m.current;e(),p.current||S.current||(u.current?_(u.current,t):t?function(e,t,n,i,a){var o,r;if(0===(null!==(r=null===(o=i.current)||void 0===o?void 0:o.clientHeight)&&void 0!==r?r:0))return;const s=Ks(n,i);Xs(e,!1),Ws(e,a,s),tl(t,Gs),Ys(e)}(r,o,l,c,w):(Xs(r,!1),Js(r,w,0),tl(o,Gs)))})),n=l.current,i=c.current,a=new ResizeObserver(t);return n&&a.observe(n),i&&a.observe(i),()=>{a.disconnect(),t.cancel()}}),[_,n,L]),t.useEffect((()=>()=>{d.current&&clearTimeout(d.current),S.current=!1;const e=O.current;e&&(document.removeEventListener("touchmove",e.onDrag),document.removeEventListener("touchend",e.onDragStop),document.removeEventListener("mousemove",e.onDrag),document.removeEventListener("mouseup",e.onDragStop),O.current=null)}),[]),{wrapperRef:o,containerRef:r,sheetRef:s,minimizedChildRef:l,maximizedChildRef:c,isMinimized:y,setMinimized:P}},il=e=>({type:Ce,payload:{action:e?"BottomSheetMinimized":"BottomSheetMaximized",name:"SignalUserInteraction",context:"BottomSheetMinimized"}});const al={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};function ol({schema:n,testId:o,minimized:r,onMinimize:s,onClose:l}){const c=tt(),d=t.useRef(null),u=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),p=i.useSelector((e=>e.active.has(ps))),f=i.useDispatch(),[h,v]=t.useState(!1);t.useEffect((()=>{const e=window.setTimeout((()=>{v(!0)}),200);return()=>window.clearTimeout(e)}),[]);const C=h&&!r,y=null!=l?l:s,m=C&&!!y,g=!r;t.useEffect((()=>{const e=d.current;if(!e||!g)return;const t=e=>{e.preventDefault()};return e.addEventListener("touchmove",t,{passive:!1}),e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}}),[g]),t.useEffect((()=>{u&&f({type:Ce,payload:{name:"SignalActivation",parentGuid:u}})}),[u,f]),t.useEffect((()=>{p&&requestAnimationFrame((()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}))}),[p,c]);const E=Oi(),{tabIndex:I,isDisabled:x,styles:L}=b(E),D=n.styles?a.mergeRight(al,n.styles):al;return e.jsx(Ba,{styles:D,children:({classnames:t})=>{var i;return e.jsx("div",{ref:c,className:null==t?void 0:t.wrapper,style:Object.assign(Object.assign(Object.assign({height:Gs,top:"0",right:"0",bottom:"0",left:"0",zIndex:"9998",overflow:"hidden",display:"flex"},C?{}:{backgroundColor:"transparent"}),{opacity:C?"1":"0",pointerEvents:"none",transition:"opacity 0.2s ease-in-out"}),L),"aria-label":null!==(i=n.a11yLabel)&&void 0!==i?i:void 0,"aria-hidden":x,role:"dialog","aria-modal":!0,tabIndex:I,"data-testid":o,"data-e2e":"Overlay-Wrapper",children:e.jsx("div",{ref:d,style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1",pointerEvents:g?"auto":"none",touchAction:g?"none":void 0},onClick:m?y:void 0,"data-testid":o&&`${o}-backdrop`,"data-e2e":"Overlay-Backdrop"})})}})}function rl({className:n,style:i}){const a=zi(),o=ai(),r=Tn()||document.head,s=fn(a,o,r),l=hn(a,o,r),c=t.useMemo((()=>s`
|
|
80
|
+
`}(p?fn(f,u,p):o.css,"string"==typeof n?n:null==n?void 0:n.light,"string"==typeof n||null==n?void 0:n.dark);if(!d)return null;return e.jsx("button",{ref:c,type:"button",className:[h,i].filter(Boolean).join(" "),style:{minWidth:140,minHeight:30,border:"none",cursor:a?"not-allowed":"pointer",opacity:a?.5:1},onClick:e=>{if(a)return e.preventDefault(),void e.stopPropagation();null==r||r(e)},disabled:a,"aria-label":"Apple Pay","aria-disabled":a,tabIndex:s,"data-testid":l,"data-e2e":"ApplePayButton"})})),Hr={color:"#D92D20",fontSize:"12px",fontFamily:"inherit",fontWeight:400,lineHeight:"16.5px",letterSpacing:"0.064px",margin:"6px 0 0 20px"};function _r({className:t,message:n}){return e.jsx("p",{role:"alert","aria-live":"assertive",className:t,style:t?void 0:Hr,children:(null==n?void 0:n.trim())||"Payment failed. Choose another card and try again."})}const Pr="ACTIVE/ADD",Nr="ACTIVE/DELETE",Fr="BREAKPOINT/UPDATE_ACTIVE",$r="BREAKPOINT/INITIALISE",Zr="BREAKPOINT/SET_BREAKPOINTS",Gr="ATTRIBUTES/SET",Br="FONTS/SET",Ur="LAYOUT/UPDATE",zr="CONFIG/HANDLE",qr="PLUGIN/CLOSE_PLUGIN",Kr="SETTINGS/SET",Wr="SETTINGS/SET_BOTTOMSHEET_VISIBLE_HEIGHT",Yr="CACHE/ADD_SERIALIZED_VALUE",Jr="CACHE/UPDATE_SERIALIZED_VALUE",Xr="CACHE/CLEAR_SERIALIZED_VALUE",Qr="SIGNAL/QUEUE",es="SIGNAL/PROCESSED",ts="SIGNAL/PROCESS",ns="rokt_minimize",is="rokt_backdrop",as="ERROR/REPORT",os="LOG",rs="CUSTOM_STATES/SET",ss="DOMAIN_STATES/SET",ls="FORM_STATES/REGISTER_FIELD",cs="FORM_STATES/UNREGISTER_FIELD",ds="FORM_STATES/SET_FIELD_VALUE",us="FORM_STATES/SET_FIELD_TOUCHED",ps="FORM_STATES/VALIDATE_FIELDS",fs={LAYOUT_UPDATE:Ur,UPDATE_ACTIVE_BREAKPOINT:Fr,INITIALISE_BREAKPOINT:$r,ACTIVE_ADD:Pr,ACTIVE_DELETE:Nr,SET_ATTRIBUTES:Gr,SET_FONTS:Br,QUEUE_SIGNAL:Qr,SIGNAL_PROCESSED:es,CACHE_SERIALIZED_VALUE:Yr,UPDATE_CACHED_SERIALIZED_VALUE:Jr,CLEAR_SERIALIZED_VALUE_FROM_CACHE:Xr,SET_SETTINGS:Kr,SET_BOTTOMSHEET_VISIBLE_HEIGHT:Wr,SET_CUSTOM_STATE:rs,SET_DOMAIN_STATE_REDUCER:ss,REGISTER_FORM_FIELD:ls,UNREGISTER_FORM_FIELD:cs,SET_FORM_FIELD_VALUE:ds,SET_FORM_FIELD_TOUCHED:us,VALIDATE_FORM_FIELDS:ps},hs={HANDLE_CONFIG:zr,SET_BREAKPOINTS:Zr,CLOSE_PLUGIN:qr,RAISE_METRIC:se,PREPARE_SIGNAL:Se,DISMISS_OVERLAY:Ve,REPORT_ERROR:as,LOG:os,OPEN_LINK:Ae};function vs(n){const{schema:a,testId:o}=n,r=t.useContext(Qi),s=xn(null,(e=>{var t;return void 0!==(null===(t=e.domainStates)||void 0===t?void 0:t.layoutMinimized)?e.domainStates.layoutMinimized:null})),l=!(null==s||!s),c=i.useDispatch(),d=Ri(),{tabIndex:u,styles:p,isDisabled:f}=b(d),h=t.useCallback((()=>{f||c({type:ss,payload:{key:P,value:l?0:1}})}),[c,l,f]);return r?e.jsx(qa,{styles:a.styles,children:({classnames:n})=>{var i;return e.jsx("button",{title:l?"Maximize":"Minimize",className:null==n?void 0:n.own,onClick:h,"data-testid":o,"data-e2e":"MinimizeButton",disabled:f,tabIndex:u,"aria-disabled":f,"aria-expanded":!l,"aria-label":null!==(i=a.a11yLabel)&&void 0!==i?i:void 0,style:Object.assign({cursor:"pointer"},p),children:e.jsx(Dn,{children:e=>t.Children.toArray(a.children.map(((t,n)=>e(t,void 0,o?`${o}-child${n}`:void 0))))})})}}):null}const Cs="plugin";function ys(e,t=0){var n;const i=null===(n=null==e?void 0:e.elements)||void 0===n?void 0:n.own;if(!Array.isArray(i))return!1;for(let e=i.length<=1?0:2===i.length?0===t?0:1:Math.min(t,i.length-1);e>=0;e-=1)if("object"==typeof(a=i[e])&&null!==a&&Object.values(a).some((e=>{var t;const n="object"==typeof e&&null!==e?null===(t=e.dimension)||void 0===t?void 0:t.height:void 0;return"fixed"===(null==n?void 0:n.type)||"percentage"===(null==n?void 0:n.type)||"fit"===(null==n?void 0:n.type)&&"fit-height"===(null==n?void 0:n.value)})))return!0;var a;return!1}function ms(e){return e.breakpoint.breakpoints[e.breakpoint.activeBreakpoint]||0}const gs=a.sortBy(a.prop(1)),bs=a.map(a.prop(0)),Es=e=>a.compose(a.findIndex(a.equals(e)),bs,gs,a.toPairs,a.pathOr({},["breakpoint","breakpoints"]));function Is(e){return Es(e.breakpoint.activeBreakpoint)(e)}function xs(e,t){return e.customStates[`module${t}`]||{}}function Ls(e,t){return e.firedEvents[`module${t}`]||{}}const Ds={};function ws(e,t){return e.formStates[`module${t}`]||Ds}function Ss(e){return`${e.name}:${e.parentGuid}`}function As(e){return null!=e?e:null}function Ts(){return new Set([Re])}function js(){return new Map}function Ms(e){return void 0!==e?`module${e}`:"root"}function Os(e,t=e.value){const n=$(t,e.validations);return Object.assign(Object.assign({},e),{value:t,validated:!0,error:n,valid:""===n})}const ks={layout:function(e=As(),t){return t.type===Ur?t.payload:e},breakpoint:function(e={breakpoints:{default:0},activeBreakpoint:"default",initialised:!1},t){var n;switch(t.type){case Fr:return Object.prototype.hasOwnProperty.call(e.breakpoints,t.payload.activeBreakpoint)?Object.assign(Object.assign({},e),{activeBreakpoint:t.payload.activeBreakpoint}):e;case $r:return{activeBreakpoint:null!==(n=t.payload.activeBreakpoint)&&void 0!==n?n:"default",breakpoints:Object.assign({default:0},t.payload.breakpoints),initialised:!0};default:return e}},active:function(e=Ts(),t){var n,i;switch(t.type){case Pr:{const i=new Set(e);return i.add(null===(n=t.payload)||void 0===n?void 0:n.id),i}case Nr:{const n=new Set(e);return n.delete(null===(i=t.payload)||void 0===i?void 0:i.id),n}default:return e}},attributes:function(e={},t){return t.type===Gr?Object.assign(Object.assign({},e),t.payload):e},fonts:function(e=[],t){return t.type===Br?t.payload:e},signal:function(e={queue:[],processed:[]},t){switch(t.type){case Qr:return a.evolve({queue:n=>Vs(e,t.payload.signal)?a.uniqBy(a.pipe(a.prop("signal"),Ss),n.concat(t.payload)):n},e);case es:return a.evolve({queue:e=>a.reject(a.pipe(a.prop("signal"),a.whereEq({name:t.payload.name,parentGuid:t.payload.parentGuid})))(e),processed:a.append(Ss(t.payload))},e);default:return e}},serializableCache:function(e=js(),t){switch(t.type){case Yr:case Jr:if(t.payload.key&&t.payload.value){return new Map([...e]).set(t.payload.key,t.payload.value)}return e;case Xr:{const n=new Map([...e]);return t.payload&&n.delete(t.payload),n}default:return e}},settings:function(e={closeOnComplete:!0,closeOnNegativeResponse:"NEVER",allowEscToClose:!1,minimizeOnComplete:!1,explicitCloseOnComplete:!1,bottomsheetVisibleHeight:null},t){switch(t.type){case Kr:{const n=a.mergeDeepWith(((e,t)=>a.isNil(t)?e:t),e,t.payload);return Object.assign(Object.assign({},n),{explicitCloseOnComplete:e.explicitCloseOnComplete||"closeOnComplete"in t.payload&&!0===t.payload.closeOnComplete})}case Wr:return Object.assign(Object.assign({},e),{bottomsheetVisibleHeight:t.payload.height});default:return e}},customStates:function(e={root:{}},t){if(t.type===rs){if(t.payload.key&&!isNaN(t.payload.value)){const n=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:"root";return a.assocPath([n,t.payload.key],Number(t.payload.value),e)}return e}return e},firedEvents:function(e={root:{}},t){var n;if(t.type===we){if(!(null===(n=t.payload)||void 0===n?void 0:n.event))return e;const i=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:"root";return a.assocPath([i,t.payload.event],!0,e)}return e},formStates:function(e={root:{}},t){var n,i;switch(t.type){case ls:{const{offerPositionIndex:i,formKey:o,fieldKey:r,defaultValue:s,validations:l}=t.payload,c=[Ms(i),o,r],d=null!==(n=a.path(c,e))&&void 0!==n?n:function(e={}){return Object.assign({value:"",defaultValue:"",error:"",touched:!1,validated:!1,valid:!1,errorVisible:!1,validations:[],registrationCount:1},e)}({value:s,defaultValue:s,registrationCount:0}),u=d.value!==d.defaultValue,p=Object.assign(Object.assign({},d),{value:u?d.value:s,defaultValue:s,validations:l,registrationCount:d.registrationCount+1});return a.assocPath(c,Os(p),e)}case cs:{const{offerPositionIndex:n,formKey:i,fieldKey:o}=t.payload,r=[Ms(n),i,o],s=a.path(r,e);return s?a.assocPath(r,Object.assign(Object.assign({},s),{registrationCount:Math.max(0,s.registrationCount-1)}),e):e}case ds:{const{offerPositionIndex:n,formKey:i,fieldKey:o,value:r,validate:s}=t.payload,l=[Ms(n),i,o],c=a.path(l,e);if(!c)return e;const d=Object.assign(Object.assign({},Os(c,r)),{errorVisible:c.errorVisible||s});return a.assocPath(l,d,e)}case us:{const{offerPositionIndex:n,formKey:i,fieldKey:o}=t.payload,r=[Ms(n),i,o],s=a.path(r,e);return!s||s.touched?e:a.assocPath(r,Object.assign(Object.assign({},s),{touched:!0}),e)}case ps:{const{offerPositionIndex:n,entries:o}=t.payload,r=Ms(n);return G(null!==(i=e[r])&&void 0!==i?i:{},o).reduce(((e,{formKey:t,fieldKey:n})=>{const i=[r,t,n],o=a.path(i,e);return o&&N(o)?a.assocPath(i,Object.assign(Object.assign({},Os(o)),{errorVisible:!0}),e):e}),e)}default:return e}}};function Vs(e,t){return!e.processed.includes(Ss(t))||(n=t.name,void 0!==U.find((e=>e===n)));var n}const Rs={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};var Hs;function _s({isOpen:n,schema:o,testId:r,children:s}){const l=tt(),c=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),d=i.useSelector((e=>e.active.has(Cs))),u=i.useSelector(Is),p=i.useDispatch(),f=()=>{p({type:hs.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:is}})};t.useEffect((()=>{c&&p({type:Ce,payload:{name:"SignalActivation",parentGuid:c}})}),[c]),t.useEffect((()=>{d&&requestAnimationFrame((()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.focus()}))}),[d]);const h=Ri(),{tabIndex:v,isDisabled:C,styles:y}=b(h),m=o.styles?a.mergeRight(Rs,o.styles):Rs,g=ys(o.styles,u);if(!n)return null;const E=e.jsx(Dn,{children:e=>t.Children.toArray(o.children.map(((t,n)=>e(t,void 0,r?`${r}-child${n}`:void 0))))});return e.jsx(qa,{styles:m,children:({classnames:t})=>{var n;return e.jsxs("div",{className:null==t?void 0:t.wrapper,style:Object.assign({position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9999",display:"flex",overflow:g?"hidden":"auto"},y),"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,"aria-hidden":C,role:"dialog","aria-modal":!0,tabIndex:v,"data-testid":r,"data-e2e":"Overlay-Wrapper",children:[e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:o.allowBackdropToClose?f:void 0,"data-testid":r&&`${r}-backdrop`,"data-e2e":"Overlay-Backdrop"}),s(E,l)]})}})}!function(e){e[e.BottomSheet=0]="BottomSheet",e[e.Overlay=1]="Overlay"}(Hs||(Hs={}));const Ps={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};function Ns({isOpen:n,schema:o,testId:r,children:s}){const l=tt(),c=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),d=i.useSelector((e=>e.active.has(Cs))),u=i.useSelector(Is),p=i.useDispatch(),f=()=>{p({type:hs.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:is}})};t.useEffect((()=>{c&&p({type:Ce,payload:{name:"SignalActivation",parentGuid:c}})}),[c,p]),t.useEffect((()=>{d&&requestAnimationFrame((()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.focus()}))}),[d]);const h=Ri(),{tabIndex:v,isDisabled:C,styles:y}=b(h),m=o.styles?a.mergeRight(Ps,o.styles):Ps,g=ys(o.styles,u);if(!n)return null;const E=e.jsx(Dn,{children:e=>{var n;return t.Children.toArray((null!==(n=o.children)&&void 0!==n?n:[]).map(((t,n)=>e(t,void 0,r?`${r}-child${n}`:void 0))))}});return e.jsx(qa,{styles:m,children:({classnames:t})=>{var n;return e.jsxs("div",{className:null==t?void 0:t.wrapper,style:Object.assign({position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9999",display:"flex",overflow:g?"hidden":"auto"},y),"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,"aria-hidden":C,role:"dialog","aria-modal":!0,tabIndex:v,"data-testid":r,"data-e2e":"Overlay-Wrapper",children:[e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:o.allowBackdropToClose?f:void 0,"data-testid":r&&`${r}-backdrop`,"data-e2e":"Overlay-Backdrop"}),s(E,l)]})}})}const Fs="undefined"!=typeof window;function $s(){const e=i.useDispatch(),n=i.useSelector((e=>{var t;return!0===(null===(t=null==e?void 0:e.settings)||void 0===t?void 0:t.allowEscToClose)}));t.useEffect((()=>{if(!Fs||!n)return;const t=t=>{"Escape"===t.key&&e({type:hs.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:"escape_key"}})};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}}),[])}const Zs={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};const Gs=t.forwardRef((function({schema:t,testId:n,children:o,isAttached:r},s){$s();const l=i.useSelector(Is),c=ys(t.styles,l),d=t.styles?a.mergeRight(Zs,t.styles):Zs;return e.jsx(qa,{styles:d,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,style:{position:"relative",zIndex:"3",outline:"none",alignSelf:r?"center":void 0,marginBlock:r?"auto":void 0,maxHeight:c?"100%":void 0,overflowY:c?"auto":void 0},ref:s,tabIndex:-1,"data-e2e":"Overlay-Container","data-testid":n&&`${n}-container`,children:o})})}));const Bs=i.connect((function(e){return{isOpen:e.active.has(Re)}}))((function(t){return e.jsx(_s,Object.assign({},t,{children:(n,i)=>e.jsx(Gs,Object.assign({},t,{ref:i,children:n}))}))}));const Us=i.connect((function(e){return{isOpen:e.active.has(Re)}}));function zs(e){const t=e[0],n=e[e.length-1];if(!t||!n)return 0;const i=n.timestamp-t.timestamp;return 0===i?0:(n.offsetPx-t.offsetPx)/i}const qs=1e5,Ks="data-rokt-bottomsheet-no-drag";function Ws(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientY:e.clientY}function Ys(e){return e?1:0}function Js(e){return{type:ss,payload:{key:P,value:e}}}function Xs(e,t){var n,i,a,o;const r=null!==(i=null===(n=e.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0;return(null!==(o=null===(a=t.current)||void 0===a?void 0:a.clientHeight)&&void 0!==o?o:0)-r}function Qs(e,t,n){const i=Math.round(n);t.current=i,e.current&&(e.current.style.transform=`translateY(${i}px)`)}function el(e,t){e.current&&(e.current.style.visibility="visible")}function tl(e,t,n){Qs(e,t,n),el(e)}function nl(e,t,n=200){e.current&&(e.current.style.transition=t?`transform ${n}ms`:"")}function il(e,t,n,i){const[a,o]=i?[t,e]:[e,t],r=n?{fadeIn:"opacity .5s",fadeOut:"opacity .2s"}:{fadeIn:"",fadeOut:""};o.current&&(o.current.style.transition=r.fadeIn),a.current&&(a.current.style.transition=r.fadeOut)}function al(e,t,n,i="auto"){const a=t.current;a&&(e.current&&(clearTimeout(e.current),e.current=null),a.style.opacity=n?"0":"1",n||"none"===i?a.style.pointerEvents="none":e.current=setTimeout((()=>{a.style.pointerEvents="auto",e.current=null}),400))}function ol(e,t){e.current&&(e.current.style.height=`${t}px`)}const rl=(e,n,a=!0)=>{const o=t.useRef(null),r=t.useRef(null),s=t.useRef(null),l=t.useRef(null),c=t.useRef(null),d=t.useRef(null),u=t.useRef(!e),p=t.useRef(!1),f=t.useRef(n),h=t.useRef(null),v=xn(null,(e=>{var t;return void 0!==(null===(t=e.domainStates)||void 0===t?void 0:t.layoutMinimized)?e.domainStates.layoutMinimized:null})),C=null!=v?v:Ys(e),y=a&&!!C,m=t.useRef(y);m.current=y;const[g,E]=t.useState(!!e&&a),[I,x]=t.useState(!0),L=i.useDispatch();t.useEffect((()=>{L(Js(Ys(e)))}),[]);const D=Ri(),w=t.useRef(0),S=t.useRef(!1),A=t.useRef(0),T=t.useRef([]),j=t.useRef(void 0),M=t.useRef(0),O=t.useRef(null),{isDisabled:k}=b(D),V=t.useCallback(((e=0)=>{const t=c.current;return!!(o.current&&r.current&&l.current&&t)&&(0===t.clientHeight?(e<1&&requestAnimationFrame((()=>{V(e+1)})),!1):(tl(r,w,t.clientHeight),requestAnimationFrame((()=>{nl(r,!0,800),tl(r,w,0),u.current=!1})),!0))}),[]),R=t.useCallback((e=>{e||ol(o,qs)}),[]),H=t.useCallback((e=>{if(u.current)return;p.current=!0,nl(r,!0),il(l,c,!0,e),!e&&c.current&&(c.current.style.transition="opacity .3s .2s"),tl(r,w,e?Xs(l,c):0),al(d,l,!e,"auto"),al(d,c,e),R(e);const t=r.current;t&&t.addEventListener("transitionend",(()=>{p.current=!1}),{once:!0})}),[R]),_=t.useCallback(((e,t)=>{p.current||S.current||(u.current?V():(nl(r,e),t?function(e,t,n,i,a){var o,r;if(0===(null!==(r=null===(o=i.current)||void 0===o?void 0:o.clientHeight)&&void 0!==r?r:0))return;const s=Xs(n,i);Qs(e,a,s+80),ol(t,qs),el(e),requestAnimationFrame((()=>{nl(e,!0,200),Qs(e,a,s)}))}(r,o,l,c,w):(tl(r,w,0),ol(o,qs))))}),[V]),P=t.useCallback((e=>{L(Js(Ys(e)))}),[L]),N=t.useCallback((()=>function(e){const{velocityPxPerMs:t,currentOffsetPx:n}=e;return!(n<=0)&&(n>=48||t>=.2)}({velocityPxPerMs:zs(T.current),currentOffsetPx:w.current})),[]),F=t.useCallback((()=>{var e,t;S.current&&(e=T.current,t=w.current,e.push({offsetPx:t,timestamp:Date.now()}),e.length>20&&e.shift(),requestAnimationFrame(F))}),[]),$=t.useCallback((()=>{T.current=[],F()}),[F]),Z=t.useCallback((e=>{var t,n;if(!r.current)return;e.preventDefault();const i=(null!==(t=Ws(e))&&void 0!==t?t:0)-(null!==(n=j.current)&&void 0!==n?n:0),a=M.current+i,o=a<0?Math.max(-80,.35*a):a;tl(r,w,o)}),[]),G=t.useCallback((function e(){document.removeEventListener("mousemove",Z),document.removeEventListener("mouseup",e),document.removeEventListener("touchmove",Z),document.removeEventListener("touchend",e),O.current=null,j.current=void 0,S.current=!1,nl(r,!0),il(l,c,!0,!1);N()?P(!0):tl(r,w,0)}),[N,Z,P]),B=t.useCallback((()=>{O.current={onDrag:Z,onDragStop:G},document.addEventListener("touchmove",Z,{passive:!1}),document.addEventListener("touchend",G),document.addEventListener("mousemove",Z,{passive:!1}),document.addEventListener("mouseup",G)}),[Z,G]),U=t.useCallback((e=>{var t;if(!a)return;if(Date.now()-A.current<200)return;if(A.current=Date.now(),k)return;if(y)return;const n=e.target;if(!(null===(t=null==n?void 0:n.closest)||void 0===t?void 0:t.call(n,`[${Ks}]`))&&!S.current){const t=Ws(e);if(void 0===t)return;S.current=!0,M.current=w.current,$(),j.current=t,nl(r,!1),il(l,c,!1,!1),B()}}),[a,y,k,$,B]);return t.useEffect((()=>{const e=r.current;if(e&&"default"===n)return e.addEventListener("mousedown",U),e.addEventListener("touchstart",U),()=>{e.removeEventListener("mousedown",U),e.removeEventListener("touchstart",U)}}),[r,U,n]),t.useLayoutEffect((()=>{if("default"!==n)return;const e=r.current;e&&(e.style.visibility="hidden",e.style.transform="translateY(1000px)")}),[n]),t.useEffect((()=>{if("default"!==n)return void(f.current=n);const e="default"!==f.current;if(f.current=n,!e)return;x(!0),c.current&&(c.current.style.transition="none",c.current.style.opacity="0",c.current.style.pointerEvents="none");const t=requestAnimationFrame((()=>requestAnimationFrame((()=>{_(u.current,y)}))));return()=>cancelAnimationFrame(t)}),[n,_,y]),t.useEffect((()=>{if(I)return al(d,l,!y,"auto"),al(d,c,y),void requestAnimationFrame((()=>{il(l,c,!0,y),E(y),x(!1)}));g!==y&&(E(y),H(y),L(sl(y)))}),[y,g,I,L,H]),t.useEffect((()=>{const e=()=>{const e=function(e,t){const n=t.current,i=e.current;if(!n||!i)return 0;const a=parseFloat(getComputedStyle(n).paddingBottom)||0;return Math.ceil(i.getBoundingClientRect().bottom-n.getBoundingClientRect().top+a)}(l,s);e>0&&e!==h.current&&(h.current=e,L({type:Wr,payload:{height:e}}))},t=function(e,t){let n;const i=()=>{n&&clearTimeout(n),n=setTimeout((()=>{t(),n=void 0}),e)};return i.cancel=()=>{n&&(clearTimeout(n),n=void 0)},i}(100,(()=>{const t=m.current;e(),p.current||S.current||(u.current?_(u.current,t):t?function(e,t,n,i,a){var o,r;if(0===(null!==(r=null===(o=i.current)||void 0===o?void 0:o.clientHeight)&&void 0!==r?r:0))return;const s=Xs(n,i);nl(e,!1),Qs(e,a,s),ol(t,qs),el(e)}(r,o,l,c,w):(nl(r,!1),tl(r,w,0),ol(o,qs)))})),n=l.current,i=c.current,a=new ResizeObserver(t);return n&&a.observe(n),i&&a.observe(i),()=>{a.disconnect(),t.cancel()}}),[_,n,L]),t.useEffect((()=>()=>{d.current&&clearTimeout(d.current),S.current=!1;const e=O.current;e&&(document.removeEventListener("touchmove",e.onDrag),document.removeEventListener("touchend",e.onDragStop),document.removeEventListener("mousemove",e.onDrag),document.removeEventListener("mouseup",e.onDragStop),O.current=null)}),[]),{wrapperRef:o,containerRef:r,sheetRef:s,minimizedChildRef:l,maximizedChildRef:c,isMinimized:y,setMinimized:P}},sl=e=>({type:Ce,payload:{action:e?"BottomSheetMinimized":"BottomSheetMaximized",name:"SignalUserInteraction",context:"BottomSheetMinimized"}});const ll={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};function cl({schema:n,testId:o,minimized:r,onMinimize:s,onClose:l}){const c=tt(),d=t.useRef(null),u=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),p=i.useSelector((e=>e.active.has(Cs))),f=i.useDispatch(),[h,v]=t.useState(!1);t.useEffect((()=>{const e=window.setTimeout((()=>{v(!0)}),200);return()=>window.clearTimeout(e)}),[]);const C=h&&!r,y=null!=l?l:s,m=C&&!!y,g=!r;t.useEffect((()=>{const e=d.current;if(!e||!g)return;const t=e=>{e.preventDefault()};return e.addEventListener("touchmove",t,{passive:!1}),e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}}),[g]),t.useEffect((()=>{u&&f({type:Ce,payload:{name:"SignalActivation",parentGuid:u}})}),[u,f]),t.useEffect((()=>{p&&requestAnimationFrame((()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}))}),[p,c]);const E=Ri(),{tabIndex:I,isDisabled:x,styles:L}=b(E),D=n.styles?a.mergeRight(ll,n.styles):ll;return e.jsx(qa,{styles:D,children:({classnames:t})=>{var i;return e.jsx("div",{ref:c,className:null==t?void 0:t.wrapper,style:Object.assign(Object.assign(Object.assign({height:qs,top:"0",right:"0",bottom:"0",left:"0",zIndex:"9998",overflow:"hidden",display:"flex"},C?{}:{backgroundColor:"transparent"}),{opacity:C?"1":"0",pointerEvents:"none",transition:"opacity 0.2s ease-in-out"}),L),"aria-label":null!==(i=n.a11yLabel)&&void 0!==i?i:void 0,"aria-hidden":x,role:"dialog","aria-modal":!0,tabIndex:I,"data-testid":o,"data-e2e":"Overlay-Wrapper",children:e.jsx("div",{ref:d,style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1",pointerEvents:g?"auto":"none",touchAction:g?"none":void 0},onClick:m?y:void 0,"data-testid":o&&`${o}-backdrop`,"data-e2e":"Overlay-Backdrop"})})}})}function dl({className:n,style:i}){const a=Wi(),o=si(),r=Tn()||document.head,s=fn(a,o,r),l=hn(a,o,r),c=t.useMemo((()=>s`
|
|
81
81
|
position: relative;
|
|
82
82
|
z-index: 10;
|
|
83
83
|
width: 48px;
|
|
@@ -85,17 +85,17 @@
|
|
|
85
85
|
background-color: #c6c6c8;
|
|
86
86
|
border-radius: 2px;
|
|
87
87
|
margin: 0 auto 6px;
|
|
88
|
-
`),[s]);return e.jsx("div",{"data-testid":"drag-handle",className:l(c,n),style:i})}const
|
|
88
|
+
`),[s]);return e.jsx("div",{"data-testid":"drag-handle",className:l(c,n),style:i})}const ul="#D5D7DA";function pl(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}}function fl(e){return e&&"object"==typeof e&&"light"in e?{light:e.light?pl(e.light):void 0,dark:e.dark?pl(e.dark):void 0}:{light:void 0,dark:void 0}}function hl(e){if(null==e)return"0 0 0 0";const t=String(e).trim().split(/\s+/),n=Number(t[0])||0;return`${n} ${t.length>1?Number(t[1])||0:n} 0 0`}function vl(e,t,n,i){var o,r,s,l,c,d,u,p,f,h,v,C,y,m,g,b;const E=null==t?void 0:t.elements,I=null==E?void 0:E.own,x=function(e){var t;if(!Array.isArray(e))return{};const n={},i={};for(const a of e){const e=null==a?void 0:a.default;e&&(e.border&&(null!=e.border.borderColor&&(n.borderColor=e.border.borderColor),null!=e.border.borderWidth&&(n.borderWidth=e.border.borderWidth),null!=e.border.borderRadius&&(n.borderRadius=e.border.borderRadius),null!=e.border.borderStyle&&(n.borderStyle=e.border.borderStyle)),null!=(null===(t=e.background)||void 0===t?void 0:t.backgroundColor)&&(i.backgroundColor=e.background.backgroundColor))}return Object.assign(Object.assign({},Object.keys(n).length>0&&{border:n}),Object.keys(i).length>0&&{background:i})}(null!=i?i:I),L=fl(null===(o=x.border)||void 0===o?void 0:o.borderColor),D=null!==(r=L.light)&&void 0!==r?r:ul,w=L.dark,S=null!==(l=function(e){if(null==e)return;const t=String(e).trim().split(/\s+/).map(Number);if(0===t.length)return;const[n,i=n,a=n,o=i]=t;return[n,i,a,o]}(null===(s=x.border)||void 0===s?void 0:s.borderWidth))&&void 0!==l?l:[1,1,1,1],[A,T,,j]=S,M=null!==(d=null===(c=x.border)||void 0===c?void 0:c.borderStyle)&&void 0!==d?d:"solid",O=fl(null===(u=x.background)||void 0===u?void 0:u.backgroundColor),k=null!==(p=O.light)&&void 0!==p?p:"#FFFFFF",V=O.dark,R=null!==(h=null===(f=x.border)||void 0===f?void 0:f.borderColor)&&void 0!==h?h:{light:ul},H=null!==(C=null===(v=x.background)||void 0===v?void 0:v.backgroundColor)&&void 0!==C?C:{light:"#FFF"},_={border:{borderRadius:hl(null===(y=x.border)||void 0===y?void 0:y.borderRadius),borderColor:R,borderWidth:`${A} ${T} 0 ${j}`,borderStyle:M},background:{backgroundColor:H},dimension:{height:{type:"percentage",value:100}},container:{overflow:"hidden"}},P=null!==(g=null===(m=null==I?void 0:I[0])||void 0===m?void 0:m.default)&&void 0!==g?g:{},N=I&&I.length>0?[a.mergeRight(I[0],{default:a.mergeRight(P,Object.fromEntries(["border","background","dimension","container"].map((e=>{var t;return[e,a.mergeRight(null!==(t=P[e])&&void 0!==t?t:{},_[e])]}))))}),...I.slice(1)]:[{default:_}],F=a.mergeRight(null!=t?t:{},{elements:Object.assign(Object.assign({},E),{own:N,wrapper:null!==(b=null==E?void 0:E.wrapper)&&void 0!==b?b:[]})}),$=[w&&`border-left-color: ${w}; border-right-color: ${w};`,V&&`background-color: ${V};`].filter(Boolean).join(" ");return{mergedStyles:F,tailClass:e`
|
|
89
89
|
width: 100%;
|
|
90
90
|
height: ${n}vh;
|
|
91
91
|
border-radius: 0;
|
|
92
92
|
border-top: 0;
|
|
93
|
-
border-left: ${
|
|
94
|
-
border-right: ${T}px ${
|
|
93
|
+
border-left: ${j}px ${M} ${D};
|
|
94
|
+
border-right: ${T}px ${M} ${D};
|
|
95
95
|
border-bottom: none;
|
|
96
96
|
background-color: ${k};
|
|
97
97
|
${$?`@media (prefers-color-scheme: dark) { ${$} }`:""}
|
|
98
|
-
`,backgroundColor:k,darkBackgroundColor:V}}const
|
|
98
|
+
`,backgroundColor:k,darkBackgroundColor:V}}const Cl={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[],dragHandle:[{default:{background:{backgroundColor:{light:"#C6C6C8"}},border:{borderRadius:2},dimension:{width:{type:"fixed",value:48},height:{type:"fixed",value:4}}}}]}};const yl=t.forwardRef((function({schema:n,testId:i,sheetRef:o,minimizedChildRef:r,containerRef:s,maximizedChildRef:l,maximizedChildren:c,minimizedChildren:d,isMinimized:u=!1,setMinimized:p},f){$s();const h=t.useRef(null),v=t.useRef(null);t.useEffect((()=>{if(h.current)return function(e){const t=requestAnimationFrame((()=>{e&&e.style.setProperty("max-height","100%")}));return()=>{cancelAnimationFrame(t)}}(h.current)}),[]);const C=fn(Wi(),si(),Tn()||document.head),y=t.useMemo((()=>C`
|
|
99
99
|
display: flex;
|
|
100
100
|
position: relative;
|
|
101
101
|
overflow: hidden;
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
max-height: 90dvh;
|
|
113
113
|
overflow-y: auto;
|
|
114
114
|
overscroll-behavior: contain;
|
|
115
|
-
`),[C]),{mergedStyles:b,tailClass:E,backgroundColor:I,darkBackgroundColor:x}=t.useMemo((()=>{var e,t;return
|
|
115
|
+
`),[C]),{mergedStyles:b,tailClass:E,backgroundColor:I,darkBackgroundColor:x}=t.useMemo((()=>{var e,t;return vl(C,n.styles?a.mergeRight(Cl,n.styles):Cl,120,null===(t=null===(e=n.styles)||void 0===e?void 0:e.elements)||void 0===t?void 0:t.own)}),[C,n.styles]),L=t.useMemo((()=>C`
|
|
116
116
|
background-color: ${I};
|
|
117
117
|
${x?`@media (prefers-color-scheme: dark) { background-color: ${x}; }`:""}
|
|
118
|
-
`),[C,I,x]);!function(e){const n=t.useCallback((()=>{const t=e.current;if(!t)return;const n=Array.from(t.children).reduce(((e,t)=>Math.max(e,t.clientHeight)),0),i=getComputedStyle(t),a="border-box"===i.boxSizing?(parseFloat(i.paddingTop)||0)+(parseFloat(i.paddingBottom)||0):0;t.style.height=`${n+a}px`}),[e]);t.useEffect((()=>{const t=e.current;if(!t)return;const i=new ResizeObserver((()=>n())),a=()=>{i.disconnect(),Array.from(t.children).forEach((e=>i.observe(e))),n()};a();const o=new MutationObserver(a);return o.observe(t,{childList:!0}),()=>{i.disconnect(),o.disconnect()}}),[n,e])}(v);const D=t.useRef(null),w=t.useRef(!1),S=t.useCallback((e=>{u&&p&&(w.current=!0,D.current=e.clientY)}),[u,p]),A=t.useCallback((()=>{u&&p&&w.current&&(w.current=!1,p(!1))}),[u,p]),T=t.useCallback((e=>{if(!u||!p)return;const t=D.current;null!==t&&t-e.clientY>=24&&(D.current=null,p(!1))}),[u,p]),M=t.useCallback((e=>{D.current=null,"pointercancel"===e.type&&(w.current=!1)}),[]);return e.jsx(Ba,{styles:b,children:({classnames:t})=>{var a;return e.jsx("div",{style:{width:"100%",position:"absolute",bottom:"-120vh",zIndex:9999,transform:"translateY(1000px)",visibility:"hidden"},ref:s,children:e.jsxs("div",{style:{zIndex:"3",width:"100%",maxHeight:"0%",transition:"max-height 0.8s",transitionTimingFunction:"cubic-bezier(0.05, 0.7, 0.1, 1.0)"},ref:h,children:[e.jsx("div",{ref:o,className:null==t?void 0:t.own,style:{height:"100%",position:"relative",outline:"none",pointerEvents:u?"auto":void 0},tabIndex:-1,"data-testid":i&&`${i}-container`,"data-e2e":"BottomSheet-Container",children:e.jsxs("div",{"data-testid":i&&u?`${i}-expand`:void 0,style:u?{cursor:"pointer",touchAction:"none"}:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?"Expand":void 0,onClick:u?A:void 0,onPointerDown:u?S:void 0,onPointerMove:u?T:void 0,onPointerUp:u?M:void 0,onPointerCancel:u?M:void 0,onKeyDown:u&&p?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p(!1))}:void 0,children:[!1!==n.showDragHandle&&!1!==n.isMinimizable&&e.jsx(rl,{className:null==t?void 0:t.dragHandle,style:{pointerEvents:u?"none":void 0}}),e.jsx("div",{className:u?void 0:g,children:e.jsxs("div",{ref:v,className:y,"aria-label":u?void 0:null!==(a=n.a11yLabel)&&void 0!==a?a:void 0,style:{pointerEvents:u?"auto":void 0},[Bs]:"",children:[e.jsx("div",{ref:l,style:{width:"100%"},children:c}),e.jsx("div",{ref:r,className:`${L}${u?` ${m}`:""}`,style:{width:"100%",padding:"0px 16px 6px"},children:d})]})})]})}),e.jsx("div",{className:E,style:{marginTop:"-1px"}})]})})}})}));const hl=$s((function(n){var a;const o=i.useSelector((e=>e.breakpoint.activeBreakpoint)),r=i.useSelector((e=>e.settings.explicitCloseOnComplete)),s=i.useDispatch(),l=!1!==n.schema.isMinimizable;t.useEffect((()=>{l&&!0===n.schema.minimizeOnComplete&&!r&&s({type:Br,payload:{minimizeOnComplete:!0}})}),[]),t.useEffect((()=>{const e=document.documentElement,t=e.style.overscrollBehavior;return e.style.overscrollBehavior="none",()=>{e.style.overscrollBehavior=t}}),[]);const c=!!l&&(null!==(a=n.schema.startMinimized)&&void 0!==a&&a),{wrapperRef:d,containerRef:u,sheetRef:p,minimizedChildRef:f,maximizedChildRef:h,isMinimized:v,setMinimized:C}=nl(c,o,l);return e.jsx(Yi.Provider,{value:l,children:e.jsx(Dn,{children:i=>{var a,r;const c=t.Children.toArray(null===(a=n.schema.children)||void 0===a?void 0:a.map(((e,t)=>i(e,void 0,re(t,n.testId))))),y=l?t.Children.toArray(null===(r=n.schema.minimizedChildren)||void 0===r?void 0:r.map(((e,t)=>i(e,void 0,re(t,n.testId))))):[];return"default"===o?e.jsxs("div",{ref:d,style:{height:"100000px"},children:[e.jsx(ol,{schema:n.schema,testId:n.testId,minimized:v,onClose:n.schema.allowBackdropToClose?()=>s({type:ds.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:"rokt_backdrop"}}):void 0,onMinimize:l&&n.schema.allowBackdropToMinimize?()=>C(!0):void 0}),e.jsx(fl,Object.assign({},n,{containerRef:u,sheetRef:p,minimizedChildRef:f,maximizedChildRef:h,maximizedChildren:c,minimizedChildren:y,isMinimized:!!l&&v,setMinimized:l?C:void 0}))]}):e.jsx(Rs,Object.assign({},n,{children:(t,i)=>e.jsx(Ns,Object.assign({},n,{isAttached:!0,ref:i,children:c}))}))}})})}));const vl=i.connect((function(e){return{isOpen:e.active.has(Re)}})),Cl={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};const yl=t.forwardRef((function({schema:n,testId:i,children:o},r){_s();const s=t.useRef(null),l=n.styles?a.mergeRight(Cl,n.styles):Cl;return t.useEffect((()=>{if(s.current)return function(e){const t=requestAnimationFrame((()=>{e&&e.style.setProperty("max-height","100%")}));return()=>{cancelAnimationFrame(t)}}(s.current)}),[]),e.jsx(Ba,{styles:l,children:({classnames:t})=>e.jsx("div",{style:{width:"100%",height:"100%",maxHeight:"0%",transition:"max-height 0.8s",transitionTimingFunction:"cubic-bezier(0.05, 0.7, 0.1, 1.0)",alignSelf:"flex-end",display:"flex",flexDirection:"column",justifyContent:"flex-end"},ref:s,children:e.jsx("div",{className:null==t?void 0:t.own,style:{position:"relative",zIndex:"3",outline:"none",maxHeight:"100%",overflowY:"auto",borderBottomLeftRadius:"0",borderBottomRightRadius:"0"},ref:r,tabIndex:-1,"data-testid":i&&`${i}-container`,"data-e2e":"BottomSheet-Container",children:o})})})}));const ml=vl((function(t){const n=i.useSelector((e=>e.breakpoint.activeBreakpoint));return e.jsx(ks,Object.assign({},t,{children:(i,a)=>"default"===n?e.jsx(yl,Object.assign({},t,{ref:a,children:i})):e.jsx(Ns,Object.assign({},t,{ref:a,children:i}))}))}));const gl="DisplayPreset.FULLSCREEN",bl="DisplayPreset.EMBEDDED",El="DisplayPreset.ATTACHED",Il="ERROR",xl="INFO",Ll="WARNING",Dl="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DCUI_SCHEMA_VERSION:"",ROKT_DOMAIN:""};function*wl(e,t,n){(function(e){return"object"==typeof e&&null!==e&&"type"in e&&Object.values(Be).includes(e.type)})(n)&&!e.includes(n.type)&&(yield r.call(t.globalDispatch.bind(t),n))}function*Sl(e,t,n){var i;const{action:a,offer:o,offerPositionIndex:s}=n.payload,l=null==t?void 0:t[a.type];if(l)yield*l(a,{offer:o,offerPositionIndex:s},e);else switch(a.type){case"Close":yield r.call(e.globalDispatch.bind(e),{type:Ve,payload:{id:Re,dismissalMethod:null!==(i=a.action.dismissalMethod)&&void 0!==i?i:void 0}});break;case"SetCustomState":yield r.call(e.globalDispatch.bind(e),{type:be,payload:{key:a.action.key,value:a.action.value}});break;case"CreativeResponse":{if(!o)break;const e=o.creative.responseOptionsMap[a.action.responseKey];if(!e||S(e))break;const t=ve(o,e,a.action.openLinks);yield r.put({type:le,payload:Object.assign(Object.assign({},t),{offerPositionIndex:s})});break}}}function Al(e,t){return!e||t<1?null:{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,name:e.title,description:e.description,quantity:t,currency:e.currency||"$",unitPrice:e.price||0,totalPrice:(e.price||0)*t,linkedProductId:e.linkedProductId,quantityMustBeSynchronized:e.quantityMustBeSynchronized,providerData:e.providerData||""}}function Tl(e){switch(typeof e){case"undefined":return"";case"object":return null===e?"":JSON.stringify(e);case"string":return e;default:return String(e)}}function Ml(e){return a.map(Tl,e)}function*jl(e,t){const n=yield r.actionChannel(e,s.buffers.expanding(10));for(;n;){const e=yield r.take(n);yield r.call(t,e)}}function*Ol(e,t){const n=yield r.take(e);yield r.call(t,n)}function*kl(e){for(;;){const t=yield r.take(e);yield r.put(t)}}function*Vl(e,t){const n=a.over(a.lensProp("moduleName"),a.defaultTo("orchestrator"),t.payload.additionalInformation||{}),i=Object.assign(Object.assign({},t.payload),{additionalInformation:n?Ml(n):{}});try{yield r.call(e,i)}catch(e){}t.payload.level===Il&&(yield r.put({type:Le,payload:{name:"PLACEMENT_FAILURE"}}),yield r.put({type:ds.CLOSE_PLUGIN}))}const Rl="INVALID_RESPONSE_OBJECT",Hl="FAILED_TO_OPEN_LINK",_l="NO_PARENT_GUID",Pl="FAILED_TO_NOTIFY_INTERACTIVE",Nl="FAILED_TO_ESTABLISH_PARTNER_VALIDATION";var Fl=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]])}return n};function $l(e,t){return n=>n&&n.replace(e,t)}const Zl=$l(/['""();{}@:[\]!/=]/g,""),Gl=/^(normal|italic|oblique( \d+deg)*)$/i,Bl=(e="")=>Gl.test(e)?e:void 0,Ul=$l(/[;{}@[\]!]/g,"");function zl(e){const{fontFamily:t,sources:n}=e,i=Fl(e,["fontFamily","sources"]),a=document.fonts,o=new FontFace(t,n.join(", "),i);return a.add(o),o.load().catch((e=>(a.delete(o),Promise.reject(e))))}function ql(e=[]){const t=Array.from(document.fonts.values());return Promise.all(e.map((e=>{const n=function(e){return{fontFamily:Zl(e.fontFamily)||"",style:Bl(e.style),weight:Zl(e.weight),sources:e.sources.map((e=>Ul(e)||"")),display:e.display}}(e);return t.find((e=>e.family===n.fontFamily&&e.weight===n.weight&&(e.style===n.style||!n.style)))?Promise.resolve():zl(n).then((()=>{})).catch((e=>`${e}`.includes("SyntaxError")?(n.fontFamily='"'+n.fontFamily+'"',zl(n).then((()=>{}))):Promise.reject(e))).catch((e=>Promise.resolve(`Error loading font: [Font (${JSON.stringify(n)})] [Message - ${e}]`)))}))).then((e=>{const t=e.filter(Boolean);return t.length>0?Promise.reject(t):Promise.resolve()}))}function Kl(e){const n=i.useDispatch(),a=i.useSelector((e=>{const t=e.fonts.map((e=>({fontFamily:e.fontFamily,style:e.fontStyle||"normal",weight:e.fontWeight,sources:e.src}))),n=t.find((e=>"rokt-icons"===e.fontFamily));if(n)n.display="block";else{const e=null!==(i=Dl.ROKT_DOMAIN)&&void 0!==i?i:"";t.push(function(e=""){return{fontFamily:"rokt-icons",weight:"400",sources:[`url("${e}/icons/rokt-icons.woff") format("woff")`],display:"block"}}(e))}var i;return JSON.stringify(t)}));return t.useEffect((()=>{ql(JSON.parse(a)).catch((e=>{const t={type:es,payload:{level:xl,code:"FAILED_TO_LOAD_FONT",message:`Error loading fonts:\n\t${e.join("\n\t")}`}};n(t)}))}),[a]),t.useEffect((()=>{const e=()=>{var e,t;null===(t=null===(e=window.frameElement)||void 0===e?void 0:e.iFrameResizer)||void 0===t||t.resize()};return document.fonts.addEventListener("loadingdone",e),()=>{document.fonts.removeEventListener("loadingdone",e)}}),[]),null}function*Wl(e,t){var n,i;try{const a=(null===(n=e.activeBreakpointEventChannel)||void 0===n?void 0:n.call(e,t.payload))||(i=t.payload,s.eventChannel((e=>{const t=Object.entries(i).reduce(((e,t)=>{const i=window.matchMedia(`(min-width: ${t[1]}px)`);return"addEventListener"in i&&"function"==typeof i.addEventListener?(i.addEventListener("change",n),e[t[0]]=i):"addListener"in i&&"function"==typeof i.addListener&&(i.addListener(n),e[t[0]]=i),e}),{});return setTimeout((()=>n()),0),()=>{Object.entries(t).forEach((e=>{const t=e[1];"removeEventListener"in t&&"function"==typeof t.removeEventListener?t.removeEventListener("change",n):"removeListener"in t&&"function"==typeof t.removeListener&&t.removeListener(n)}))};function n(){try{e(function(e,t){return Object.entries(e).reduce(((e,n)=>n[1].matches&&(t[n[0]]||0)>(t[e]||0)?n[0]:e),"default")}(t,i))}catch(t){e(t)}}})));try{let e=yield r.take(a);for(yield r.put({type:cs.INITIALISE_BREAKPOINT,payload:{activeBreakpoint:e,breakpoints:t.payload}});;)e=yield r.take(a),yield r.put({type:cs.UPDATE_ACTIVE_BREAKPOINT,payload:{activeBreakpoint:e}})}catch(e){const n=e;yield r.put({type:es,payload:{level:Ll,code:"FAILED_TO_DETERMINE_BREAKPOINT",message:null==n?void 0:n.message,additionalInformation:{stack:null==n?void 0:n.stack,breakpoints:t.payload}}})}finally{(yield r.cancelled())&&a.close()}}catch(e){const n=e;yield r.put({type:es,payload:{level:Il,code:"FAILED_TO_ESTABLISH_BREAKPOINT_CHANNEL",message:null==n?void 0:n.message,additionalInformation:{stack:null==n?void 0:n.stack,breakpoints:t.payload}}})}}function Yl(e,t,n){return s.eventChannel((i=>{const a=e.subscribe((e=>{const t=n(e);t&&i({type:Zr,payload:t})}),(e=>{i(e)})),o=t.fonts.subscribe((e=>{i({type:Fr,payload:e})}),(e=>{i(e)}));return()=>{a.unsubscribe(),o.unsubscribe()}}),s.buffers.sliding(2))}var Jl=Object.freeze({__proto__:null,CartEvent:{UPDATE_CART_ITEM_MESSAGE:"UPDATE_CART_ITEM_MESSAGE",UPSERT_ALERT:"UPSERT_ALERT",DELETE_ALERT:"DELETE_ALERT",UPSERT_DELIVERY_DETAILS:"UPSERT_DELIVERY_DETAILS"}}),Xl=Object.freeze({__proto__:null,PartnerMessage:{UpdateCartItem:"V2_UPDATE_CART_ITEM"},PlacementMessage:{CartItemUpdated:"V2_CART_ITEM_UPDATED"}}),Ql=Object.freeze({__proto__:null,V1:Jl,V2:Xl}),ec=Object.freeze({__proto__:null,PartnerMessage:{UpsellItemInstantPurchaseResponse:"UPSELL_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{UpsellItemInstantPurchase:"UPSELL_ITEM_INSTANT_PURCHASE"}}),tc=Object.freeze({__proto__:null,V2:ec,PartnerMessage:{CartItemInstantPurchaseResponse:"CART_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{CartItemInstantPurchase:"CART_ITEM_INSTANT_PURCHASE"}}),nc=Object.freeze({__proto__:null,PartnerValidationEvent:{SET_PARTNER_VALIDATION_STATUS:"SET_PARTNER_VALIDATION_STATUS",OPT_IN_TO_PARTNER_VALIDATION:"OPT_IN_TO_PARTNER_VALIDATION",SHOW_PARTNER_VALIDATION_STATUS:"SHOW_PARTNER_VALIDATION_STATUS"}});const ic="LINK_NAVIGATION_REQUEST",ac="REALTIME_OFFER_FULFILLMENT_SUCCESS",oc="REALTIME_OFFER_FULFILLMENT_FAILURE";var rc=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const sc={newTab:"_blank",self:"_top",roktWebViewSDK:"roktWebViewSDK",inApp:"inApp",overrideLinkNavigation:"overrideLinkNavigation"};function lc(e){return rc(this,arguments,void 0,(function*({url:e,urlBehavior:t,external:n},i=window){if(!e)return null;if("overrideLinkNavigation"===t)return n.partner.send(ic,{url:e}).then((()=>null));const a=sc[t];if(i.RoktWebViewSDK){const t=i.RoktWebViewSDK.open(e);return t?{ref:t}:null}if("_top"===a&&i.top)return i.top.location.href=e,null;const o=i.open(e,a);if(o)try{o.opener=null}catch(e){}return o?{ref:o}:null}))}var cc=Object.freeze({__proto__:null,openLink:lc});function dc(e,t,n,i){const a=function(e){return"object"==typeof e&&null!=e&&"message"in e&&"string"==typeof e.message&&e.message.includes("timed out")}(e),o=a?{originErrorCode:n}:void 0;return{type:es,payload:{level:Ll,code:a?"COMMUNICATION_FAILURE_WITH_WSDK":n,message:t,additionalInformation:Object.assign(Object.assign({},o),i)}}}var uc=Object.freeze({__proto__:null,makePluginWarningAction:dc});function pc(e){return null!=e&&"object"==typeof e&&"ref"in e&&"object"==typeof e.ref&&!Array.isArray(e.ref)&&null!=e.ref}var fc=Object.freeze({__proto__:null,isWindow:pc}),hc=Object.assign(Object.assign(Object.assign({},cc),uc),fc);function vc(e){switch(e){case"ATTACHED":return El;case"EMBEDDED":return bl;default:return gl}}function Cc(e,t){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.offsetBottom&&{bottom:Ut(e.offsetBottom)}),e.offsetLeft&&{left:Ut(e.offsetLeft)}),e.offsetRight&&{right:Ut(e.offsetRight)}),e.offsetTop&&{top:Ut(e.offsetTop)}),(e.offsetAnchorX||e.offsetAnchorY)&&{transform:`translate(${"center"===e.offsetAnchorX?e.offsetLeft?"-50%":"50%":"0"}, ${"center"===e.offsetAnchorY?e.offsetTop?"-50%":"50%":"0"})`}),e.maxWidth?{maxWidth:Ut(e.maxWidth)}:void 0),e.zIndex?{zIndex:e.zIndex}:void 0),t)}const yc={position:"fixed",top:"0",right:"0",left:"0",width:"100vw",minWidth:"1px",height:"100dvh"};function mc(e){return{autoresize:!1,applyHighestZIndex:!0,lockHostScroll:!0,outerCss:Object.assign(Object.assign({},yc),e?Cc(e,{}):{})}}function gc(e,t){const n={position:"fixed",top:"auto",right:"0",bottom:"0",left:"0",width:"100vw",minWidth:"1px",height:`${e}px`};return{autoresize:!1,applyHighestZIndex:!0,lockHostScroll:!1,outerCss:Object.assign(Object.assign({},n),t?Cc(t,{}):{})}}const bc=e=>e.settings.bottomsheetVisibleHeight,Ec=e=>e.breakpoint.activeBreakpoint;function*Ic(e,t){const n={isMinimized:!1,lastSettings:null,controls:null!=t?t:null};yield c.all([c.takeLatest((e=>{var t;return e.type===is&&(null===(t=e.payload)||void 0===t?void 0:t.key)===P}),Lc,e,n),c.takeLatest(_r,wc,e,n),c.takeLatest(Ur,Dc,e,n)])}function*xc(e,t,n){a.equals(t.lastSettings,n)||(t.lastSettings=n,yield c.call(e.setDisplaySettings,n))}function*Lc(e,t,n){t.isMinimized=1===n.payload.value;if("default"!==(yield c.select(Ec)))return;if(!t.isMinimized)return void(yield*xc(e,t,mc(t.controls)));const i=yield c.select(bc);null!==i&&(yield*xc(e,t,gc(i,t.controls)))}function*Dc(e,t,n){if(!t.isMinimized)return;"default"===(yield c.select(Ec))&&(yield*xc(e,t,gc(n.payload.height,t.controls)))}function*wc(e,t,n){if(!("default"===n.payload.activeBreakpoint))return void(yield*xc(e,t,mc(t.controls)));if(!t.isMinimized)return void(yield*xc(e,t,mc(t.controls)));const i=yield c.select(bc);null!==i&&(yield*xc(e,t,gc(i,t.controls)))}function*Sc(e=10){(yield r.select((e=>e.signal.queue.length>0)))&&(yield c.delay(30),e>=1&&(yield*Sc(e-1)))}function*Ac(e){try{yield*Sc(10),yield c.call(e.close)}catch(e){const t=hc.makePluginWarningAction(e,"Failed to close the plugin","FAILED_TO_CLOSE_PLUGIN");yield c.put(t)}}function*Tc(e,{payload:t}){var n;if("string"==typeof(n=t.name)&&Y.includes(n))switch(t.name){case"V2_CART_ITEM_UPDATED":case"UPDATE_CART_ITEM_MESSAGE":case"CART_ITEM_INSTANT_PURCHASE":case"UPSELL_ITEM_INSTANT_PURCHASE":case"DELIVERY_DETAILS_SENT":case"UPSELL_CREATIVE_SENT":case"INITIATE_INSTANT_PURCHASE_EVENT":case"INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT":case"INITIATE_CART_ITEM_EVENT":case"PREPARE_DEVICE_PAY_EVENT":case"INITIATE_DEVICE_PAY_EVENT":case"REALTIME_OFFER_FULFILLMENT_REFERRAL":case"REALTIME_OFFER_FULFILLMENT_CONVERSION":case"REALTIME_OFFER_FULFILLMENT_SUCCESS":yield e.send(t.name,t.body);break;case"ABORT_DEVICE_PAY_EVENT":case"COMPLETE_DEVICE_PAY_EVENT":case"OFFER_ENGAGEMENT":case"PLACEMENT_CLOSED":case"PLACEMENT_COMPLETED":case"PLACEMENT_FAILURE":case"PLACEMENT_INTERACTIVE":case"POSITIVE_ENGAGEMENT":yield e.send(t.name);break;default:return}}const Mc=a.propOr("FAILED_TO_PARSE_CONFIG","code");function*jc(e,t){var n;const i=yield c.call(Yl,e.configService,e.themeService,t);for(;;)try{const e=yield c.take(i);yield c.put(e)}catch(e){const t=e;yield c.put({type:es,payload:{level:Il,code:Mc(t),message:null!==(n=null==t?void 0:t.message)&&void 0!==n?n:"An error occured parsing or receiving Plugin config, fonts or configurables.",additionalInformation:{stack:null==t?void 0:t.stack}}})}}function*Oc(e,t){yield c.all([c.spawn(jc,e,t),c.takeEvery(Le,Tc,e.partnerInteractionService)])}function*kc(e,t,n){const i=function(e,t){if("ATTACHEDBOTTOMSHEET"===e)return mc(t);if(!t)return{preset:vc(e)};switch(e){case"ATTACHED":return{autoresize:!0,applyHighestZIndex:!0,replaceTargetElement:"body",outerCss:Cc(t,{position:"fixed",width:"100%",minWidth:"1px"}),innerCss:{width:"100%"}};case"EMBEDDED":return{autoresize:!0,css:Cc(t,{width:"1px",minWidth:"100%"})};default:return{autoresize:!1,applyHighestZIndex:!0,replaceTargetElement:"body",css:Cc(t,{position:"fixed",height:"100%",width:"100%"})}}}(t,n);yield c.call(e.setDisplaySettings,i),"ATTACHEDBOTTOMSHEET"===t&&(yield c.spawn(Ic,e,n)),yield c.put({type:cs.ACTIVE_ADD,payload:{id:ps}})}function*Vc(e,t){var n;const i=null!==(n=t.payload.data)&&void 0!==n?n:{};try{yield r.call(e,{code:t.payload.code,level:xl,message:t.payload.message||"Plugin Generic Log",additionalInformation:Ml(i)})}catch(e){}}function*Rc(e){yield r.put({type:cs.QUEUE_SIGNAL,payload:{signal:e.payload}}),yield r.put({type:Jr})}function*Hc(e){yield r.put({type:cs.QUEUE_SIGNAL,payload:e.payload}),yield r.put({type:Jr})}function*_c(e,t){const n=yield r.select((e=>e.signal.queue.filter((t=>Ms(e.signal,t.signal)))));if(Array.isArray(n)&&n.length)for(const e of n){const t="criteria"in e?e.criteria:void 0;switch(e.signal.name){case"SignalActivation":case"SignalLoadComplete":case"SignalImpression":yield*Pc(e.signal,i(t));break;case"SignalViewed":yield*Nc(e.signal,i(t));break;case"SignalRenderGeometry":yield*Fc(e.signal,i(t));break;case"SignalDismissal":yield*$c(e.signal,i(t));break;case"SignalInstantPurchaseDismissal":yield*Zc(e.signal,i(t));break;case"SignalLoadStart":yield*Gc(e.signal,i(t));break;case"SignalGatedResponse":case"SignalOptInResponse":case"SignalOptOutResponse":case"SignalResponse":yield*Bc(e.signal,i(t,!0));break;case"SignalProductItemResponse":yield*Uc(e.signal,i(t));break;case"SignalUserInteraction":yield*zc(e.signal,i(t));break;case"SignalCartItemQuantitySelected":yield*qc(e.signal,i(t));break;case"SignalCartItemInstantPurchaseInitiated":yield*Kc(e.signal,i(t));break;case"SignalCartItemInstantPurchase":yield*Wc(e.signal,i(t));break;case"SignalCartItemInstantPurchaseFailure":yield*Yc(e.signal,i(t))}yield r.put({type:cs.SIGNAL_PROCESSED,payload:e.signal})}function i(t,n=!1){return function(i,a,o){return t?r.call(e.prepareExternalSignal,t.key,i,a,o):n?r.call(e.issueSignalSync,i,a,o):r.call(e.issueSignal,i,a,o)}}}function*Pc(e,t){let n;e.creativeInstanceGuid&&(n={},n.creativeInstanceGuid=e.creativeInstanceGuid);try{yield t(e.name,e.parentGuid,n)}catch(t){yield Jc(e,t)}}function*Nc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{supportedByBrowser:e.supportedByBrowser.toString()},metadata:[{name:"inferred",value:e.inferred.toString()}]})}catch(t){yield Jc(e,t)}}function*Fc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{widthPx:e.objectData.widthPx.toString(),heightPx:e.objectData.heightPx.toString()}})}catch(t){yield Jc(e,t)}}function*$c(e,t){try{yield t(e.name,e.parentGuid,e.dismissalMethod?{objectData:{dismissalMethod:e.dismissalMethod}}:void 0)}catch(t){yield Jc(e,t)}}function*Zc(e,t){try{yield t(e.name,e.parentGuid,void 0)}catch(t){yield Jc(e,t)}}function*Gc(e,t){var n;const i={overrideTimestamp:null!==(n=e.overrideTimestamp)&&void 0!==n?n:new Date};try{yield t(e.name,e.parentGuid,i)}catch(t){yield Jc(e,t)}}function*Bc(e,t){try{yield t(e.name,e.parentGuid,function(e){const t={creativeInstanceGuid:e.responseActionPayload.creativeInstanceGuid};"Url"===e.responseActionPayload.name&&(t.transformedTrafficURL=e.responseActionPayload.transformedTrafficURL);return"SignalOptInResponse"===e.name&&(t.objectData={action:"opt-in"}),t}(e))}catch(t){yield Jc(e,t)}}function*Uc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{catalogItemId:e.objectData.catalogItemId,productSku:e.objectData.productSku,catalogId:e.objectData.catalogId,accountId:e.objectData.accountId}})}catch(t){yield Jc(e,t)}}function*zc(e,t){var n,i,a,o;const s=e.parentGuid?e.parentGuid:yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));try{if(!s||"string"!=typeof s)throw new Error(`Cannot raise SignalUserInteraction, missing or invalid parent GUID: ${JSON.stringify(e)}`);yield t(e.name,s,{objectData:Object.assign(Object.assign(Object.assign(Object.assign({action:e.action,context:e.context},(null===(n=e.objectData)||void 0===n?void 0:n.startTimestamp)&&{startTimestamp:e.objectData.startTimestamp}),(null===(i=e.objectData)||void 0===i?void 0:i.endTimestamp)&&{endTimestamp:e.objectData.endTimestamp}),null!=(null===(a=e.objectData)||void 0===a?void 0:a.cardIndex)&&{cardIndex:e.objectData.cardIndex.toString()}),null!=(null===(o=e.objectData)||void 0===o?void 0:o.lastCardIndex)&&{lastCardIndex:e.objectData.lastCardIndex.toString()})})}catch(t){yield Jc(e,t)}}function*qc(e,t){const n={objectData:{preselected:e.objectData.preselected.toString(),quantity:e.objectData.quantity.toString()}};try{yield t(e.name,e.parentGuid,n)}catch(t){yield Jc(e,t)}}function*Kc(e,t){const n={objectData:{catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString()}};try{yield t(e.name,e.parentGuid,n)}catch(t){yield Jc(e,t)}}function*Wc(e,t){const n={objectData:Object.assign({catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString(),initiatedBy:e.objectData.initiatedBy},e.objectData.purchaseId&&{purchaseId:e.objectData.purchaseId})};try{yield t(e.name,e.parentGuid,n)}catch(t){yield Jc(e,t)}}function*Yc(e,t){const n={objectData:Object.assign({catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString(),failureReason:e.objectData.failureReason,providerId:e.objectData.providerId},e.objectData.purchaseId&&{purchaseId:e.objectData.purchaseId})};try{yield t(e.name,e.parentGuid,n)}catch(t){yield Jc(e,t)}}function Jc(e,t){const n=hc.makePluginWarningAction(t,(null==t?void 0:t.message)||"Failed to issue signal","FAILED_TO_ISSUE_SIGNAL",{signalName:null==e?void 0:e.name,parentGuid:null==e?void 0:e.parentGuid,stack:null==t?void 0:t.stack});return r.put(n)}function*Xc(e){yield r.put({type:ns,payload:e.payload})}const Qc={[Pe]:as,[Ne]:os,[Fe]:rs,[$e]:ss,[Ze]:ls},ed=Object.keys(Qc);function*td(e){yield r.put({type:Qc[e.type],payload:e.payload})}function*nd(e,t){if("Interactive"===t.payload.name)try{yield*function*(e){const t="METRIC";(yield r.select((e=>e.serializableCache.has(t))))||(yield r.call(e.notifyInteractive),yield r.put({type:zr,payload:{key:t,value:"Interactive"}}))}(e)}catch(e){const t=e;yield*function*(e){var t;yield r.put({type:es,payload:{level:xl,code:Pl,message:null!==(t=null==e?void 0:e.message)&&void 0!==t?t:"Failed to notify interactive",additionalInformation:{stack:null==e?void 0:e.stack}}})}(t)}}function*id(e,t){const n=e.context.getOverrideLinkNavigation()?"overrideLinkNavigation":t.payload.urlBehaviour;try{"inApp"===n?yield r.call(e.createChildPlugin,{name:"url-modal",config:{url:t.payload.url,method:"GET"}}):yield r.call(lc,{url:t.payload.url,urlBehavior:n,external:e})}catch(e){yield r.put(dc(e,"Failed to open link",Hl,{url:t.payload.url,urlBehaviour:n}))}}function*ad(e){const t=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));if(e.payload.dismissalMethod===Xr&&t)return yield r.put({type:cs.SET_DOMAIN_STATE_REDUCER,payload:{key:P,value:1}}),void(yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t,dismissalMethod:e.payload.dismissalMethod}}));yield r.put({type:cs.ACTIVE_DELETE,payload:{id:e.payload.id}}),yield r.put({type:Gr}),t?yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t,dismissalMethod:e.payload.dismissalMethod}}):yield r.put({type:es,payload:{level:xl,code:_l,message:"ParentGuid does not exist"}})}const od=i.connect((function(e){return{isOpen:e.active.has(Re)}})),rd="undefined"!=typeof window;function sd(e,n){t.useEffect((()=>{if(!rd||n)return;const t=e.current;if(!t)return;const i=e=>{e.preventDefault()},a=["wheel","touchmove"];a.forEach((e=>{t.addEventListener(e,i,{passive:!1})}));const o=e=>{["ArrowUp","ArrowDown","PageUp","PageDown","Space"].includes(e.code)&&e.preventDefault()};return window.addEventListener("keydown",o),()=>{a.forEach((e=>{t.removeEventListener(e,i)})),window.removeEventListener("keydown",o)}}),[e,n])}const ld="Minimized",cd="Maximized",dd=e=>{const n=t.useRef(null),i=t.useRef(null),a=t.useRef(null),o=t.useRef(null),r=t.useRef(null),s=t.useRef(0),l=t.useRef(0),c=t.useRef(!e),d=t.useRef(!1),u=e?cd:ld,p=xn(0,(e=>u?e.customStates[u]:0)),f=e?p?0:1:p,h=En(),v=Oi(),C=t.useRef(0),y=t.useRef(!1),m=t.useRef(0),g=t.useRef([]),E=t.useRef(void 0),{isDisabled:x}=b(v);sd(n,!!f);const L=e=>{if(c.current)(()=>{const e=n.current,t=i.current,r=a.current,s=o.current;e&&t&&r&&s&&0!==s.clientHeight&&(N(s.clientHeight),requestAnimationFrame((()=>{F(!0,800),N(0),c.current=!1})))})();else if(F(!!e),f){const e=(l.current||0)-(s.current||0);N(e);const t=n.current;if(t){const e=(s.current||0)+1;t.style.height=e+"px"}}else N(0),n.current&&(n.current.style.height="100000px")},D=({key:e,value:t})=>({type:be,payload:{key:e,value:t}}),w=()=>{const e=P();return f?e<=-.2:e>=.2},S=t.useCallback((()=>{G(),E.current=void 0,y.current=!1,F(!0);w()?j():N(0)}),[w]);t.useEffect((()=>{if(!d.current)return Z(!f,a),Z(!!f,o),void requestAnimationFrame((()=>{$(),d.current=!0}));f?(k(),h(pd(!0))):(V(),h(pd(!1)))}),[f,h]),t.useEffect((()=>{const e=function(e,t){let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{t(),n=void 0}),e)}}(100,(()=>{var e,t,n,i;s.current=null!==(t=null===(e=a.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0,l.current=null!==(i=null===(n=o.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0,L(c.current)})),t=new ResizeObserver(e),n=a.current,i=o.current;return n&&t.observe(n),i&&t.observe(i),()=>{t.disconnect()}}),[L]);const A=t.useCallback((e=>{if(i.current){e.preventDefault();const t=M(e);N(t)}}),[i]),T=t.useCallback((e=>{Date.now()-m.current<200||(m.current=Date.now(),f?O(!1):y.current||x||(y.current=!0,_(),E.current=ud(e),F(!1),B()))}),[f,x]);t.useEffect((()=>{const e=i.current;return e&&(e.addEventListener("mousedown",T),e.addEventListener("touchstart",T)),()=>{null==e||e.removeEventListener("mousedown",T),null==e||e.removeEventListener("touchstart",T)}}),[i,T]);const M=e=>{var t,n;return(null!==(t=ud(e))&&void 0!==t?t:0)-(null!==(n=E.current)&&void 0!==n?n:0)},j=()=>{O(!f)},O=e=>{[D({key:ld,value:e?1:0}),D({key:cd,value:e?0:1})].forEach((e=>{e&&h(e)}))},k=()=>{var e,t,n,i;if(c.current)return;const r=null!==(t=null===(e=a.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0,s=(null!==(i=null===(n=o.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0)-r;F(!0),$(!0,!0),N(s),Z(!1,a),Z(!0,o),U()},V=()=>{c.current||(F(!0),$(!0,!1),N(0),E.current=void 0,Z(!0,a),Z(!1,o),z())},R=t.useCallback((()=>{y.current&&(H(),requestAnimationFrame(R))}),[]),H=()=>{g.current.push({yPosition:C.current,timestamp:Date.now()}),g.current.length>20&&g.current.shift()},_=t.useCallback((()=>{g.current=[],R()}),[R]),P=()=>{const e=g.current;if(!e)return 0;const t=e[0],n=e[e.length-1];if(!t||!n)return 0;const i=n.timestamp-t.timestamp;return(n.yPosition-t.yPosition)/i},N=e=>{const t=Math.round(e);C.current=t,i.current&&(i.current.style.transform=`translateY(${t}px)`)},F=(e,t=200)=>{e?i.current&&(i.current.style.transition=`transform ${t}ms`):i.current&&(i.current.style.transition="")},$=(e,t=!1)=>{const n=t?o:a,i=t?a:o;i.current&&(i.current.style.transition="opacity .5s"),n.current&&(n.current.style.transition="opacity .2s")},Z=(e,t)=>{const n=t.current;if(!n)return;const i=e?0:1;n.style.opacity=`${i}`,e?n.style.pointerEvents="none":setTimeout((()=>{n.style.pointerEvents="auto"}),400)},G=t.useCallback((()=>{document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",A),document.removeEventListener("touchend",S)}),[A,S]),B=t.useCallback((()=>{I()?(document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",S)):(document.addEventListener("mousemove",A,{passive:!1}),document.addEventListener("mouseup",S))}),[A,S]),U=()=>{const e=n.current;e&&(r.current=setTimeout((()=>{var t;const n=((null===(t=a.current)||void 0===t?void 0:t.clientHeight)||0)+1;e.style.height=n+"px"}),200))},z=()=>{r.current&&clearTimeout(r.current),n.current&&(n.current.style.height="100000px")};return{wrapperRef:n,containerRef:i,minimizedChildRef:a,maximizedChildRef:o}};function ud(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientY:e.clientY}const pd=e=>({type:Ce,payload:{action:e?"BottomSheetMinimized":"BottomSheetMaximized",name:"SignalUserInteraction",context:"BottomSheetMinimized"}});const fd={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};var hd;function vd({schema:n,testId:o}){var r;const s=tt(),l=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),c=i.useSelector((e=>e.active.has(ps))),d=t.useRef(null),u=i.useDispatch(),p=()=>{u({type:ds.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:Qr}})},f=null!==(r=n.startMinimized)&&void 0!==r&&r,h=f?cd:ld,v=xn(0,(e=>h?e.customStates[h]:0)),C=f?v?0:1:v;t.useEffect((()=>{y(!!C)}),[C]),sd(d,!!C);const y=e=>{const t=d.current;t&&(e?t.style.opacity="0":(t.style.display="flex",t.style.opacity="1"))};t.useEffect((()=>{l&&u({type:Ce,payload:{name:"SignalActivation",parentGuid:l}})}),[l]),t.useEffect((()=>{c&&requestAnimationFrame((()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.focus()}))}),[c]);const m=Oi(),{tabIndex:g,isDisabled:E,styles:I}=b(m),x=n.styles?a.mergeRight(fd,n.styles):fd;return e.jsx(Ba,{styles:x,children:({classnames:t})=>{var i;return e.jsx("div",{className:null==t?void 0:t.wrapper,style:Object.assign({height:"100%",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9998",overflow:"hidden",display:"flex",opacity:f?"0":"1",transition:"opacity 0.2s ease-in-out"},I),"aria-label":null!==(i=n.a11yLabel)&&void 0!==i?i:void 0,"aria-hidden":E,role:"dialog","aria-modal":!0,tabIndex:g,"data-testid":o,"data-e2e":"Overlay-Wrapper",ref:d,children:e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:n.allowBackdropToClose?p:void 0,"data-testid":o&&`${o}-backdrop`,"data-e2e":"Overlay-Backdrop"})})}})}function Cd(){return e.jsx("div",{style:{width:"48px",height:"4px",backgroundColor:"#C6C6C8",borderRadius:"2px",margin:"0 auto -4px",position:"relative",top:"6px"}})}!function(e){e[e.BottomSheet=0]="BottomSheet",e[e.Overlay=1]="Overlay"}(hd||(hd={}));const yd={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};function md(t){const n=i.useSelector((e=>e.slots)),a=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0}));return e.jsx(gd,Object.assign({},t,{slots:n,currentIndex:a}))}function gd(t){var n;const i=null!==(n=t.schema.startMinimized)&&void 0!==n&&n,{wrapperRef:a,containerRef:o,minimizedChildRef:r,maximizedChildRef:s}=dd(i);return t.isOpen?e.jsxs("div",{ref:a,style:{height:"100000px"},children:[e.jsx(vd,Object.assign({},t)),e.jsx(Ed,Object.assign({},t,{startMinimized:i,containerRef:o,minimizedChildRef:r,maximizedChildRef:s}))]}):null}const bd=o.css`
|
|
118
|
+
`),[C,I,x]);!function(e){const n=t.useCallback((()=>{const t=e.current;if(!t)return;const n=Array.from(t.children).reduce(((e,t)=>Math.max(e,t.clientHeight)),0),i=getComputedStyle(t),a="border-box"===i.boxSizing?(parseFloat(i.paddingTop)||0)+(parseFloat(i.paddingBottom)||0):0;t.style.height=`${n+a}px`}),[e]);t.useEffect((()=>{const t=e.current;if(!t)return;const i=new ResizeObserver((()=>n())),a=()=>{i.disconnect(),Array.from(t.children).forEach((e=>i.observe(e))),n()};a();const o=new MutationObserver(a);return o.observe(t,{childList:!0}),()=>{i.disconnect(),o.disconnect()}}),[n,e])}(v);const D=t.useRef(null),w=t.useRef(!1),S=t.useCallback((e=>{u&&p&&(w.current=!0,D.current=e.clientY)}),[u,p]),A=t.useCallback((()=>{u&&p&&w.current&&(w.current=!1,p(!1))}),[u,p]),T=t.useCallback((e=>{if(!u||!p)return;const t=D.current;null!==t&&t-e.clientY>=24&&(D.current=null,p(!1))}),[u,p]),j=t.useCallback((e=>{D.current=null,"pointercancel"===e.type&&(w.current=!1)}),[]);return e.jsx(qa,{styles:b,children:({classnames:t})=>{var a;return e.jsx("div",{style:{width:"100%",position:"absolute",bottom:"-120vh",zIndex:9999,transform:"translateY(1000px)",visibility:"hidden"},ref:s,children:e.jsxs("div",{style:{zIndex:"3",width:"100%",maxHeight:"0%",transition:"max-height 0.8s",transitionTimingFunction:"cubic-bezier(0.05, 0.7, 0.1, 1.0)"},ref:h,children:[e.jsx("div",{ref:o,className:null==t?void 0:t.own,style:{height:"100%",position:"relative",outline:"none",pointerEvents:u?"auto":void 0},tabIndex:-1,"data-testid":i&&`${i}-container`,"data-e2e":"BottomSheet-Container",children:e.jsxs("div",{"data-testid":i&&u?`${i}-expand`:void 0,style:u?{cursor:"pointer",touchAction:"none"}:void 0,role:u?"button":void 0,tabIndex:u?0:void 0,"aria-label":u?"Expand":void 0,onClick:u?A:void 0,onPointerDown:u?S:void 0,onPointerMove:u?T:void 0,onPointerUp:u?j:void 0,onPointerCancel:u?j:void 0,onKeyDown:u&&p?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p(!1))}:void 0,children:[!1!==n.showDragHandle&&!1!==n.isMinimizable&&e.jsx(dl,{className:null==t?void 0:t.dragHandle,style:{pointerEvents:u?"none":void 0}}),e.jsx("div",{className:u?void 0:g,children:e.jsxs("div",{ref:v,className:y,"aria-label":u?void 0:null!==(a=n.a11yLabel)&&void 0!==a?a:void 0,style:{pointerEvents:u?"auto":void 0},[Ks]:"",children:[e.jsx("div",{ref:l,style:{width:"100%"},children:c}),e.jsx("div",{ref:r,className:`${L}${u?` ${m}`:""}`,style:{width:"100%",padding:"0px 16px 6px"},children:d})]})})]})}),e.jsx("div",{className:E,style:{marginTop:"-1px"}})]})})}})}));const ml=Us((function(n){var a;const o=i.useSelector((e=>e.breakpoint.activeBreakpoint)),r=i.useSelector((e=>e.settings.explicitCloseOnComplete)),s=i.useDispatch(),l=!1!==n.schema.isMinimizable;t.useEffect((()=>{l&&!0===n.schema.minimizeOnComplete&&!r&&s({type:Kr,payload:{minimizeOnComplete:!0}})}),[]),t.useEffect((()=>{const e=document.documentElement,t=e.style.overscrollBehavior;return e.style.overscrollBehavior="none",()=>{e.style.overscrollBehavior=t}}),[]);const c=!!l&&(null!==(a=n.schema.startMinimized)&&void 0!==a&&a),{wrapperRef:d,containerRef:u,sheetRef:p,minimizedChildRef:f,maximizedChildRef:h,isMinimized:v,setMinimized:C}=rl(c,o,l);return e.jsx(Qi.Provider,{value:l,children:e.jsx(Dn,{children:i=>{var a,r;const c=t.Children.toArray(null===(a=n.schema.children)||void 0===a?void 0:a.map(((e,t)=>i(e,void 0,re(t,n.testId))))),y=l?t.Children.toArray(null===(r=n.schema.minimizedChildren)||void 0===r?void 0:r.map(((e,t)=>i(e,void 0,re(t,n.testId))))):[];return"default"===o?e.jsxs("div",{ref:d,style:{height:"100000px"},children:[e.jsx(cl,{schema:n.schema,testId:n.testId,minimized:v,onClose:n.schema.allowBackdropToClose?()=>s({type:hs.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:"rokt_backdrop"}}):void 0,onMinimize:l&&n.schema.allowBackdropToMinimize?()=>C(!0):void 0}),e.jsx(yl,Object.assign({},n,{containerRef:u,sheetRef:p,minimizedChildRef:f,maximizedChildRef:h,maximizedChildren:c,minimizedChildren:y,isMinimized:!!l&&v,setMinimized:l?C:void 0}))]}):e.jsx(Ns,Object.assign({},n,{children:(t,i)=>e.jsx(Gs,Object.assign({},n,{isAttached:!0,ref:i,children:c}))}))}})})}));const gl=i.connect((function(e){return{isOpen:e.active.has(Re)}})),bl={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};const El=t.forwardRef((function({schema:n,testId:i,children:o},r){$s();const s=t.useRef(null),l=n.styles?a.mergeRight(bl,n.styles):bl;return t.useEffect((()=>{if(s.current)return function(e){const t=requestAnimationFrame((()=>{e&&e.style.setProperty("max-height","100%")}));return()=>{cancelAnimationFrame(t)}}(s.current)}),[]),e.jsx(qa,{styles:l,children:({classnames:t})=>e.jsx("div",{style:{width:"100%",height:"100%",maxHeight:"0%",transition:"max-height 0.8s",transitionTimingFunction:"cubic-bezier(0.05, 0.7, 0.1, 1.0)",alignSelf:"flex-end",display:"flex",flexDirection:"column",justifyContent:"flex-end"},ref:s,children:e.jsx("div",{className:null==t?void 0:t.own,style:{position:"relative",zIndex:"3",outline:"none",maxHeight:"100%",overflowY:"auto",borderBottomLeftRadius:"0",borderBottomRightRadius:"0"},ref:r,tabIndex:-1,"data-testid":i&&`${i}-container`,"data-e2e":"BottomSheet-Container",children:o})})})}));const Il=gl((function(t){const n=i.useSelector((e=>e.breakpoint.activeBreakpoint));return e.jsx(_s,Object.assign({},t,{children:(i,a)=>"default"===n?e.jsx(El,Object.assign({},t,{ref:a,children:i})):e.jsx(Gs,Object.assign({},t,{ref:a,children:i}))}))}));const xl="DisplayPreset.FULLSCREEN",Ll="DisplayPreset.EMBEDDED",Dl="DisplayPreset.ATTACHED",wl="ERROR",Sl="INFO",Al="WARNING",Tl="undefined"!=typeof __environment?__environment:{ENVIRONMENT:"local",DCUI_SCHEMA_VERSION:"",ROKT_DOMAIN:""};function*jl(e,t,n){(function(e){return"object"==typeof e&&null!==e&&"type"in e&&Object.values(Be).includes(e.type)})(n)&&!e.includes(n.type)&&(yield r.call(t.globalDispatch.bind(t),n))}function*Ml(e,t,n){var i;const{action:a,offer:o,offerPositionIndex:s}=n.payload,l=null==t?void 0:t[a.type];if(l)yield*l(a,{offer:o,offerPositionIndex:s},e);else switch(a.type){case"Close":yield r.call(e.globalDispatch.bind(e),{type:Ve,payload:{id:Re,dismissalMethod:null!==(i=a.action.dismissalMethod)&&void 0!==i?i:void 0}});break;case"SetCustomState":yield r.call(e.globalDispatch.bind(e),{type:be,payload:{key:a.action.key,value:a.action.value}});break;case"CreativeResponse":{if(!o)break;const e=o.creative.responseOptionsMap[a.action.responseKey];if(!e||S(e))break;const t=ve(o,e,a.action.openLinks);yield r.put({type:le,payload:Object.assign(Object.assign({},t),{offerPositionIndex:s})});break}}}function Ol(e,t){return!e||t<1?null:{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,name:e.title,description:e.description,quantity:t,currency:e.currency||"$",unitPrice:e.price||0,totalPrice:(e.price||0)*t,linkedProductId:e.linkedProductId,quantityMustBeSynchronized:e.quantityMustBeSynchronized,providerData:e.providerData||""}}function kl(e){switch(typeof e){case"undefined":return"";case"object":return null===e?"":JSON.stringify(e);case"string":return e;default:return String(e)}}function Vl(e){return a.map(kl,e)}function*Rl(e,t){const n=yield r.actionChannel(e,s.buffers.expanding(10));for(;n;){const e=yield r.take(n);yield r.call(t,e)}}function*Hl(e,t){const n=yield r.take(e);yield r.call(t,n)}function*_l(e){for(;;){const t=yield r.take(e);yield r.put(t)}}function*Pl(e,t){const n=a.over(a.lensProp("moduleName"),a.defaultTo("orchestrator"),t.payload.additionalInformation||{}),i=Object.assign(Object.assign({},t.payload),{additionalInformation:n?Vl(n):{}});try{yield r.call(e,i)}catch(e){}t.payload.level===wl&&(yield r.put({type:Le,payload:{name:"PLACEMENT_FAILURE"}}),yield r.put({type:hs.CLOSE_PLUGIN}))}const Nl="INVALID_RESPONSE_OBJECT",Fl="FAILED_TO_OPEN_LINK",$l="NO_PARENT_GUID",Zl="FAILED_TO_NOTIFY_INTERACTIVE",Gl="FAILED_TO_ESTABLISH_PARTNER_VALIDATION";var Bl=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]])}return n};function Ul(e,t){return n=>n&&n.replace(e,t)}const zl=Ul(/['""();{}@:[\]!/=]/g,""),ql=/^(normal|italic|oblique( \d+deg)*)$/i,Kl=(e="")=>ql.test(e)?e:void 0,Wl=Ul(/[;{}@[\]!]/g,"");function Yl(e){const{fontFamily:t,sources:n}=e,i=Bl(e,["fontFamily","sources"]),a=document.fonts,o=new FontFace(t,n.join(", "),i);return a.add(o),o.load().catch((e=>(a.delete(o),Promise.reject(e))))}function Jl(e=[]){const t=Array.from(document.fonts.values());return Promise.all(e.map((e=>{const n=function(e){return{fontFamily:zl(e.fontFamily)||"",style:Kl(e.style),weight:zl(e.weight),sources:e.sources.map((e=>Wl(e)||"")),display:e.display}}(e);return t.find((e=>e.family===n.fontFamily&&e.weight===n.weight&&(e.style===n.style||!n.style)))?Promise.resolve():Yl(n).then((()=>{})).catch((e=>`${e}`.includes("SyntaxError")?(n.fontFamily='"'+n.fontFamily+'"',Yl(n).then((()=>{}))):Promise.reject(e))).catch((e=>Promise.resolve(`Error loading font: [Font (${JSON.stringify(n)})] [Message - ${e}]`)))}))).then((e=>{const t=e.filter(Boolean);return t.length>0?Promise.reject(t):Promise.resolve()}))}function Xl(e){const n=i.useDispatch(),a=i.useSelector((e=>{const t=e.fonts.map((e=>({fontFamily:e.fontFamily,style:e.fontStyle||"normal",weight:e.fontWeight,sources:e.src}))),n=t.find((e=>"rokt-icons"===e.fontFamily));if(n)n.display="block";else{const e=null!==(i=Tl.ROKT_DOMAIN)&&void 0!==i?i:"";t.push(function(e=""){return{fontFamily:"rokt-icons",weight:"400",sources:[`url("${e}/icons/rokt-icons.woff") format("woff")`],display:"block"}}(e))}var i;return JSON.stringify(t)}));return t.useEffect((()=>{Jl(JSON.parse(a)).catch((e=>{const t={type:as,payload:{level:Sl,code:"FAILED_TO_LOAD_FONT",message:`Error loading fonts:\n\t${e.join("\n\t")}`}};n(t)}))}),[a]),t.useEffect((()=>{const e=()=>{var e,t;null===(t=null===(e=window.frameElement)||void 0===e?void 0:e.iFrameResizer)||void 0===t||t.resize()};return document.fonts.addEventListener("loadingdone",e),()=>{document.fonts.removeEventListener("loadingdone",e)}}),[]),null}function*Ql(e,t){var n,i;try{const a=(null===(n=e.activeBreakpointEventChannel)||void 0===n?void 0:n.call(e,t.payload))||(i=t.payload,s.eventChannel((e=>{const t=Object.entries(i).reduce(((e,t)=>{const i=window.matchMedia(`(min-width: ${t[1]}px)`);return"addEventListener"in i&&"function"==typeof i.addEventListener?(i.addEventListener("change",n),e[t[0]]=i):"addListener"in i&&"function"==typeof i.addListener&&(i.addListener(n),e[t[0]]=i),e}),{});return setTimeout((()=>n()),0),()=>{Object.entries(t).forEach((e=>{const t=e[1];"removeEventListener"in t&&"function"==typeof t.removeEventListener?t.removeEventListener("change",n):"removeListener"in t&&"function"==typeof t.removeListener&&t.removeListener(n)}))};function n(){try{e(function(e,t){return Object.entries(e).reduce(((e,n)=>n[1].matches&&(t[n[0]]||0)>(t[e]||0)?n[0]:e),"default")}(t,i))}catch(t){e(t)}}})));try{let e=yield r.take(a);for(yield r.put({type:fs.INITIALISE_BREAKPOINT,payload:{activeBreakpoint:e,breakpoints:t.payload}});;)e=yield r.take(a),yield r.put({type:fs.UPDATE_ACTIVE_BREAKPOINT,payload:{activeBreakpoint:e}})}catch(e){const n=e;yield r.put({type:as,payload:{level:Al,code:"FAILED_TO_DETERMINE_BREAKPOINT",message:null==n?void 0:n.message,additionalInformation:{stack:null==n?void 0:n.stack,breakpoints:t.payload}}})}finally{(yield r.cancelled())&&a.close()}}catch(e){const n=e;yield r.put({type:as,payload:{level:wl,code:"FAILED_TO_ESTABLISH_BREAKPOINT_CHANNEL",message:null==n?void 0:n.message,additionalInformation:{stack:null==n?void 0:n.stack,breakpoints:t.payload}}})}}function ec(e,t,n,i){return s.eventChannel((a=>{const o=e.subscribe((e=>{const t=n(e);t&&a({type:zr,payload:t})}),(e=>{a(e)})),r=t.fonts.subscribe((e=>{a({type:Br,payload:e})}),(e=>{a(e)})),s=null==i?void 0:i.subscribe((e=>{a({type:Gr,payload:e})}),(e=>{a(e)}));return()=>{o.unsubscribe(),r.unsubscribe(),null==s||s.unsubscribe()}}),s.buffers.sliding(3))}var tc=Object.freeze({__proto__:null,CartEvent:{UPDATE_CART_ITEM_MESSAGE:"UPDATE_CART_ITEM_MESSAGE",UPSERT_ALERT:"UPSERT_ALERT",DELETE_ALERT:"DELETE_ALERT",UPSERT_DELIVERY_DETAILS:"UPSERT_DELIVERY_DETAILS"}}),nc=Object.freeze({__proto__:null,PartnerMessage:{UpdateCartItem:"V2_UPDATE_CART_ITEM"},PlacementMessage:{CartItemUpdated:"V2_CART_ITEM_UPDATED"}}),ic=Object.freeze({__proto__:null,V1:tc,V2:nc}),ac=Object.freeze({__proto__:null,PartnerMessage:{UpsellItemInstantPurchaseResponse:"UPSELL_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{UpsellItemInstantPurchase:"UPSELL_ITEM_INSTANT_PURCHASE"}}),oc=Object.freeze({__proto__:null,V2:ac,PartnerMessage:{CartItemInstantPurchaseResponse:"CART_ITEM_INSTANT_PURCHASE_RESPONSE"},PlacementMessage:{CartItemInstantPurchase:"CART_ITEM_INSTANT_PURCHASE"}}),rc=Object.freeze({__proto__:null,PartnerValidationEvent:{SET_PARTNER_VALIDATION_STATUS:"SET_PARTNER_VALIDATION_STATUS",OPT_IN_TO_PARTNER_VALIDATION:"OPT_IN_TO_PARTNER_VALIDATION",SHOW_PARTNER_VALIDATION_STATUS:"SHOW_PARTNER_VALIDATION_STATUS"}});const sc="LINK_NAVIGATION_REQUEST",lc="REALTIME_OFFER_FULFILLMENT_SUCCESS",cc="REALTIME_OFFER_FULFILLMENT_FAILURE";var dc=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const uc={newTab:"_blank",self:"_top",roktWebViewSDK:"roktWebViewSDK",inApp:"inApp",overrideLinkNavigation:"overrideLinkNavigation"};function pc(e){return dc(this,arguments,void 0,(function*({url:e,urlBehavior:t,external:n},i=window){if(!e)return null;if("overrideLinkNavigation"===t)return n.partner.send(sc,{url:e}).then((()=>null));const a=uc[t];if(i.RoktWebViewSDK){const t=i.RoktWebViewSDK.open(e);return t?{ref:t}:null}if("_top"===a&&i.top)return i.top.location.href=e,null;const o=i.open(e,a);if(o)try{o.opener=null}catch(e){}return o?{ref:o}:null}))}var fc=Object.freeze({__proto__:null,openLink:pc});function hc(e,t,n,i){const a=function(e){return"object"==typeof e&&null!=e&&"message"in e&&"string"==typeof e.message&&e.message.includes("timed out")}(e),o=a?{originErrorCode:n}:void 0;return{type:as,payload:{level:Al,code:a?"COMMUNICATION_FAILURE_WITH_WSDK":n,message:t,additionalInformation:Object.assign(Object.assign({},o),i)}}}var vc=Object.freeze({__proto__:null,makePluginWarningAction:hc});function Cc(e){return null!=e&&"object"==typeof e&&"ref"in e&&"object"==typeof e.ref&&!Array.isArray(e.ref)&&null!=e.ref}var yc=Object.freeze({__proto__:null,isWindow:Cc}),mc=Object.assign(Object.assign(Object.assign({},fc),vc),yc);function gc(e){switch(e){case"ATTACHED":return Dl;case"EMBEDDED":return Ll;default:return xl}}function bc(e,t){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.offsetBottom&&{bottom:Ut(e.offsetBottom)}),e.offsetLeft&&{left:Ut(e.offsetLeft)}),e.offsetRight&&{right:Ut(e.offsetRight)}),e.offsetTop&&{top:Ut(e.offsetTop)}),(e.offsetAnchorX||e.offsetAnchorY)&&{transform:`translate(${"center"===e.offsetAnchorX?e.offsetLeft?"-50%":"50%":"0"}, ${"center"===e.offsetAnchorY?e.offsetTop?"-50%":"50%":"0"})`}),e.maxWidth?{maxWidth:Ut(e.maxWidth)}:void 0),e.zIndex?{zIndex:e.zIndex}:void 0),t)}const Ec={position:"fixed",top:"0",right:"0",left:"0",width:"100vw",minWidth:"1px",height:"100dvh"};function Ic(e){return{autoresize:!1,applyHighestZIndex:!0,lockHostScroll:!0,outerCss:Object.assign(Object.assign({},Ec),e?bc(e,{}):{})}}function xc(e,t){const n={position:"fixed",top:"auto",right:"0",bottom:"0",left:"0",width:"100vw",minWidth:"1px",height:`${e}px`};return{autoresize:!1,applyHighestZIndex:!0,lockHostScroll:!1,outerCss:Object.assign(Object.assign({},n),t?bc(t,{}):{})}}const Lc=e=>e.settings.bottomsheetVisibleHeight,Dc=e=>e.breakpoint.activeBreakpoint;function*wc(e,t){const n={isMinimized:!1,lastSettings:null,controls:null!=t?t:null};yield c.all([c.takeLatest((e=>{var t;return e.type===ss&&(null===(t=e.payload)||void 0===t?void 0:t.key)===P}),Ac,e,n),c.takeLatest(Fr,jc,e,n),c.takeLatest(Wr,Tc,e,n)])}function*Sc(e,t,n){a.equals(t.lastSettings,n)||(t.lastSettings=n,yield c.call(e.setDisplaySettings,n))}function*Ac(e,t,n){t.isMinimized=1===n.payload.value;if("default"!==(yield c.select(Dc)))return;if(!t.isMinimized)return void(yield*Sc(e,t,Ic(t.controls)));const i=yield c.select(Lc);null!==i&&(yield*Sc(e,t,xc(i,t.controls)))}function*Tc(e,t,n){if(!t.isMinimized)return;"default"===(yield c.select(Dc))&&(yield*Sc(e,t,xc(n.payload.height,t.controls)))}function*jc(e,t,n){if(!("default"===n.payload.activeBreakpoint))return void(yield*Sc(e,t,Ic(t.controls)));if(!t.isMinimized)return void(yield*Sc(e,t,Ic(t.controls)));const i=yield c.select(Lc);null!==i&&(yield*Sc(e,t,xc(i,t.controls)))}function*Mc(e=10){(yield r.select((e=>e.signal.queue.length>0)))&&(yield c.delay(30),e>=1&&(yield*Mc(e-1)))}function*Oc(e){try{yield*Mc(10),yield c.call(e.close)}catch(e){const t=mc.makePluginWarningAction(e,"Failed to close the plugin","FAILED_TO_CLOSE_PLUGIN");yield c.put(t)}}function*kc(e,{payload:t}){var n;if("string"==typeof(n=t.name)&&Y.includes(n))switch(t.name){case"V2_CART_ITEM_UPDATED":case"UPDATE_CART_ITEM_MESSAGE":case"CART_ITEM_INSTANT_PURCHASE":case"UPSELL_ITEM_INSTANT_PURCHASE":case"DELIVERY_DETAILS_SENT":case"UPSELL_CREATIVE_SENT":case"INITIATE_INSTANT_PURCHASE_EVENT":case"INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT":case"INITIATE_CART_ITEM_EVENT":case"PREPARE_DEVICE_PAY_EVENT":case"INITIATE_DEVICE_PAY_EVENT":case"REALTIME_OFFER_FULFILLMENT_REFERRAL":case"REALTIME_OFFER_FULFILLMENT_CONVERSION":case"REALTIME_OFFER_FULFILLMENT_SUCCESS":yield e.send(t.name,t.body);break;case"ABORT_DEVICE_PAY_EVENT":case"COMPLETE_DEVICE_PAY_EVENT":case"OFFER_ENGAGEMENT":case"PLACEMENT_CLOSED":case"PLACEMENT_COMPLETED":case"PLACEMENT_FAILURE":case"PLACEMENT_INTERACTIVE":case"POSITIVE_ENGAGEMENT":yield e.send(t.name);break;default:return}}const Vc=a.propOr("FAILED_TO_PARSE_CONFIG","code");function*Rc(e,t){var n;const i=yield c.call(ec,e.configService,e.themeService,t,e.attributesService);for(;;)try{const e=yield c.take(i);yield c.put(e)}catch(e){const t=e;yield c.put({type:as,payload:{level:wl,code:Vc(t),message:null!==(n=null==t?void 0:t.message)&&void 0!==n?n:"An error occured parsing or receiving Plugin config, fonts or configurables.",additionalInformation:{stack:null==t?void 0:t.stack}}})}}function*Hc(e,t){yield c.all([c.spawn(Rc,e,t),c.takeEvery(Le,kc,e.partnerInteractionService)])}function*_c(e,t,n){const i=function(e,t){if("ATTACHEDBOTTOMSHEET"===e)return Ic(t);if(!t)return{preset:gc(e)};switch(e){case"ATTACHED":return{autoresize:!0,applyHighestZIndex:!0,replaceTargetElement:"body",outerCss:bc(t,{position:"fixed",width:"100%",minWidth:"1px"}),innerCss:{width:"100%"}};case"EMBEDDED":return{autoresize:!0,css:bc(t,{width:"1px",minWidth:"100%"})};default:return{autoresize:!1,applyHighestZIndex:!0,replaceTargetElement:"body",css:bc(t,{position:"fixed",height:"100%",width:"100%"})}}}(t,n);yield c.call(e.setDisplaySettings,i),"ATTACHEDBOTTOMSHEET"===t&&(yield c.spawn(wc,e,n)),yield c.put({type:fs.ACTIVE_ADD,payload:{id:Cs}})}function*Pc(e,t){var n;const i=null!==(n=t.payload.data)&&void 0!==n?n:{};try{yield r.call(e,{code:t.payload.code,level:Sl,message:t.payload.message||"Plugin Generic Log",additionalInformation:Vl(i)})}catch(e){}}function*Nc(e){yield r.put({type:fs.QUEUE_SIGNAL,payload:{signal:e.payload}}),yield r.put({type:ts})}function*Fc(e){yield r.put({type:fs.QUEUE_SIGNAL,payload:e.payload}),yield r.put({type:ts})}function*$c(e,t){const n=yield r.select((e=>e.signal.queue.filter((t=>Vs(e.signal,t.signal)))));if(Array.isArray(n)&&n.length)for(const e of n){const t="criteria"in e?e.criteria:void 0;switch(e.signal.name){case"SignalActivation":case"SignalLoadComplete":case"SignalImpression":yield*Zc(e.signal,i(t));break;case"SignalViewed":yield*Gc(e.signal,i(t));break;case"SignalRenderGeometry":yield*Bc(e.signal,i(t));break;case"SignalDismissal":yield*Uc(e.signal,i(t));break;case"SignalInstantPurchaseDismissal":yield*zc(e.signal,i(t));break;case"SignalLoadStart":yield*qc(e.signal,i(t));break;case"SignalGatedResponse":case"SignalOptInResponse":case"SignalOptOutResponse":case"SignalResponse":yield*Kc(e.signal,i(t,!0));break;case"SignalProductItemResponse":yield*Wc(e.signal,i(t));break;case"SignalUserInteraction":yield*Yc(e.signal,i(t));break;case"SignalCartItemQuantitySelected":yield*Jc(e.signal,i(t));break;case"SignalCartItemInstantPurchaseInitiated":yield*Xc(e.signal,i(t));break;case"SignalCartItemInstantPurchase":yield*Qc(e.signal,i(t));break;case"SignalCartItemInstantPurchaseFailure":yield*ed(e.signal,i(t))}yield r.put({type:fs.SIGNAL_PROCESSED,payload:e.signal})}function i(t,n=!1){return function(i,a,o){return t?r.call(e.prepareExternalSignal,t.key,i,a,o):n?r.call(e.issueSignalSync,i,a,o):r.call(e.issueSignal,i,a,o)}}}function*Zc(e,t){let n;e.creativeInstanceGuid&&(n={},n.creativeInstanceGuid=e.creativeInstanceGuid);try{yield t(e.name,e.parentGuid,n)}catch(t){yield td(e,t)}}function*Gc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{supportedByBrowser:e.supportedByBrowser.toString()},metadata:[{name:"inferred",value:e.inferred.toString()}]})}catch(t){yield td(e,t)}}function*Bc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{widthPx:e.objectData.widthPx.toString(),heightPx:e.objectData.heightPx.toString()}})}catch(t){yield td(e,t)}}function*Uc(e,t){try{yield t(e.name,e.parentGuid,e.dismissalMethod?{objectData:{dismissalMethod:e.dismissalMethod}}:void 0)}catch(t){yield td(e,t)}}function*zc(e,t){try{yield t(e.name,e.parentGuid,void 0)}catch(t){yield td(e,t)}}function*qc(e,t){var n;const i={overrideTimestamp:null!==(n=e.overrideTimestamp)&&void 0!==n?n:new Date};try{yield t(e.name,e.parentGuid,i)}catch(t){yield td(e,t)}}function*Kc(e,t){try{yield t(e.name,e.parentGuid,function(e){const t={creativeInstanceGuid:e.responseActionPayload.creativeInstanceGuid};"Url"===e.responseActionPayload.name&&(t.transformedTrafficURL=e.responseActionPayload.transformedTrafficURL);return"SignalOptInResponse"===e.name&&(t.objectData={action:"opt-in"}),t}(e))}catch(t){yield td(e,t)}}function*Wc(e,t){try{yield t(e.name,e.parentGuid,{objectData:{catalogItemId:e.objectData.catalogItemId,productSku:e.objectData.productSku,catalogId:e.objectData.catalogId,accountId:e.objectData.accountId}})}catch(t){yield td(e,t)}}function*Yc(e,t){var n,i,a,o;const s=e.parentGuid?e.parentGuid:yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));try{if(!s||"string"!=typeof s)throw new Error(`Cannot raise SignalUserInteraction, missing or invalid parent GUID: ${JSON.stringify(e)}`);yield t(e.name,s,{objectData:Object.assign(Object.assign(Object.assign(Object.assign({action:e.action,context:e.context},(null===(n=e.objectData)||void 0===n?void 0:n.startTimestamp)&&{startTimestamp:e.objectData.startTimestamp}),(null===(i=e.objectData)||void 0===i?void 0:i.endTimestamp)&&{endTimestamp:e.objectData.endTimestamp}),null!=(null===(a=e.objectData)||void 0===a?void 0:a.cardIndex)&&{cardIndex:e.objectData.cardIndex.toString()}),null!=(null===(o=e.objectData)||void 0===o?void 0:o.lastCardIndex)&&{lastCardIndex:e.objectData.lastCardIndex.toString()})})}catch(t){yield td(e,t)}}function*Jc(e,t){const n={objectData:{preselected:e.objectData.preselected.toString(),quantity:e.objectData.quantity.toString()}};try{yield t(e.name,e.parentGuid,n)}catch(t){yield td(e,t)}}function*Xc(e,t){const n={objectData:{catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString()}};try{yield t(e.name,e.parentGuid,n)}catch(t){yield td(e,t)}}function*Qc(e,t){const n={objectData:Object.assign({catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString(),initiatedBy:e.objectData.initiatedBy},e.objectData.purchaseId&&{purchaseId:e.objectData.purchaseId})};try{yield t(e.name,e.parentGuid,n)}catch(t){yield td(e,t)}}function*ed(e,t){const n={objectData:Object.assign({catalogItemId:e.objectData.catalogItemId,quantity:e.objectData.quantity.toString(),failureReason:e.objectData.failureReason,providerId:e.objectData.providerId},e.objectData.purchaseId&&{purchaseId:e.objectData.purchaseId})};try{yield t(e.name,e.parentGuid,n)}catch(t){yield td(e,t)}}function td(e,t){const n=mc.makePluginWarningAction(t,(null==t?void 0:t.message)||"Failed to issue signal","FAILED_TO_ISSUE_SIGNAL",{signalName:null==e?void 0:e.name,parentGuid:null==e?void 0:e.parentGuid,stack:null==t?void 0:t.stack});return r.put(n)}function*nd(e){yield r.put({type:rs,payload:e.payload})}const id={[Pe]:ls,[Ne]:cs,[Fe]:ds,[$e]:us,[Ze]:ps},ad=Object.keys(id);function*od(e){yield r.put({type:id[e.type],payload:e.payload})}function*rd(e,t){if("Interactive"===t.payload.name)try{yield*function*(e){const t="METRIC";(yield r.select((e=>e.serializableCache.has(t))))||(yield r.call(e.notifyInteractive),yield r.put({type:Yr,payload:{key:t,value:"Interactive"}}))}(e)}catch(e){const t=e;yield*function*(e){var t;yield r.put({type:as,payload:{level:Sl,code:Zl,message:null!==(t=null==e?void 0:e.message)&&void 0!==t?t:"Failed to notify interactive",additionalInformation:{stack:null==e?void 0:e.stack}}})}(t)}}function*sd(e,t){const n=e.context.getOverrideLinkNavigation()?"overrideLinkNavigation":t.payload.urlBehaviour;try{"inApp"===n?yield r.call(e.createChildPlugin,{name:"url-modal",config:{url:t.payload.url,method:"GET"}}):yield r.call(pc,{url:t.payload.url,urlBehavior:n,external:e})}catch(e){yield r.put(hc(e,"Failed to open link",Fl,{url:t.payload.url,urlBehaviour:n}))}}function*ld(e){const t=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));if(e.payload.dismissalMethod===ns&&t)return yield r.put({type:fs.SET_DOMAIN_STATE_REDUCER,payload:{key:P,value:1}}),void(yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t,dismissalMethod:e.payload.dismissalMethod}}));yield r.put({type:fs.ACTIVE_DELETE,payload:{id:e.payload.id}}),yield r.put({type:qr}),t?yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t,dismissalMethod:e.payload.dismissalMethod}}):yield r.put({type:as,payload:{level:Sl,code:$l,message:"ParentGuid does not exist"}})}const cd=i.connect((function(e){return{isOpen:e.active.has(Re)}})),dd="undefined"!=typeof window;function ud(e,n){t.useEffect((()=>{if(!dd||n)return;const t=e.current;if(!t)return;const i=e=>{e.preventDefault()},a=["wheel","touchmove"];a.forEach((e=>{t.addEventListener(e,i,{passive:!1})}));const o=e=>{["ArrowUp","ArrowDown","PageUp","PageDown","Space"].includes(e.code)&&e.preventDefault()};return window.addEventListener("keydown",o),()=>{a.forEach((e=>{t.removeEventListener(e,i)})),window.removeEventListener("keydown",o)}}),[e,n])}const pd="Minimized",fd="Maximized",hd=e=>{const n=t.useRef(null),i=t.useRef(null),a=t.useRef(null),o=t.useRef(null),r=t.useRef(null),s=t.useRef(0),l=t.useRef(0),c=t.useRef(!e),d=t.useRef(!1),u=e?fd:pd,p=xn(0,(e=>u?e.customStates[u]:0)),f=e?p?0:1:p,h=En(),v=Ri(),C=t.useRef(0),y=t.useRef(!1),m=t.useRef(0),g=t.useRef([]),E=t.useRef(void 0),{isDisabled:x}=b(v);ud(n,!!f);const L=e=>{if(c.current)(()=>{const e=n.current,t=i.current,r=a.current,s=o.current;e&&t&&r&&s&&0!==s.clientHeight&&(N(s.clientHeight),requestAnimationFrame((()=>{F(!0,800),N(0),c.current=!1})))})();else if(F(!!e),f){const e=(l.current||0)-(s.current||0);N(e);const t=n.current;if(t){const e=(s.current||0)+1;t.style.height=e+"px"}}else N(0),n.current&&(n.current.style.height="100000px")},D=({key:e,value:t})=>({type:be,payload:{key:e,value:t}}),w=()=>{const e=P();return f?e<=-.2:e>=.2},S=t.useCallback((()=>{G(),E.current=void 0,y.current=!1,F(!0);w()?M():N(0)}),[w]);t.useEffect((()=>{if(!d.current)return Z(!f,a),Z(!!f,o),void requestAnimationFrame((()=>{$(),d.current=!0}));f?(k(),h(Cd(!0))):(V(),h(Cd(!1)))}),[f,h]),t.useEffect((()=>{const e=function(e,t){let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{t(),n=void 0}),e)}}(100,(()=>{var e,t,n,i;s.current=null!==(t=null===(e=a.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0,l.current=null!==(i=null===(n=o.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0,L(c.current)})),t=new ResizeObserver(e),n=a.current,i=o.current;return n&&t.observe(n),i&&t.observe(i),()=>{t.disconnect()}}),[L]);const A=t.useCallback((e=>{if(i.current){e.preventDefault();const t=j(e);N(t)}}),[i]),T=t.useCallback((e=>{Date.now()-m.current<200||(m.current=Date.now(),f?O(!1):y.current||x||(y.current=!0,_(),E.current=vd(e),F(!1),B()))}),[f,x]);t.useEffect((()=>{const e=i.current;return e&&(e.addEventListener("mousedown",T),e.addEventListener("touchstart",T)),()=>{null==e||e.removeEventListener("mousedown",T),null==e||e.removeEventListener("touchstart",T)}}),[i,T]);const j=e=>{var t,n;return(null!==(t=vd(e))&&void 0!==t?t:0)-(null!==(n=E.current)&&void 0!==n?n:0)},M=()=>{O(!f)},O=e=>{[D({key:pd,value:e?1:0}),D({key:fd,value:e?0:1})].forEach((e=>{e&&h(e)}))},k=()=>{var e,t,n,i;if(c.current)return;const r=null!==(t=null===(e=a.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0,s=(null!==(i=null===(n=o.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0)-r;F(!0),$(!0,!0),N(s),Z(!1,a),Z(!0,o),U()},V=()=>{c.current||(F(!0),$(!0,!1),N(0),E.current=void 0,Z(!0,a),Z(!1,o),z())},R=t.useCallback((()=>{y.current&&(H(),requestAnimationFrame(R))}),[]),H=()=>{g.current.push({yPosition:C.current,timestamp:Date.now()}),g.current.length>20&&g.current.shift()},_=t.useCallback((()=>{g.current=[],R()}),[R]),P=()=>{const e=g.current;if(!e)return 0;const t=e[0],n=e[e.length-1];if(!t||!n)return 0;const i=n.timestamp-t.timestamp;return(n.yPosition-t.yPosition)/i},N=e=>{const t=Math.round(e);C.current=t,i.current&&(i.current.style.transform=`translateY(${t}px)`)},F=(e,t=200)=>{e?i.current&&(i.current.style.transition=`transform ${t}ms`):i.current&&(i.current.style.transition="")},$=(e,t=!1)=>{const n=t?o:a,i=t?a:o;i.current&&(i.current.style.transition="opacity .5s"),n.current&&(n.current.style.transition="opacity .2s")},Z=(e,t)=>{const n=t.current;if(!n)return;const i=e?0:1;n.style.opacity=`${i}`,e?n.style.pointerEvents="none":setTimeout((()=>{n.style.pointerEvents="auto"}),400)},G=t.useCallback((()=>{document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",A),document.removeEventListener("touchend",S)}),[A,S]),B=t.useCallback((()=>{I()?(document.addEventListener("touchmove",A,{passive:!1}),document.addEventListener("touchend",S)):(document.addEventListener("mousemove",A,{passive:!1}),document.addEventListener("mouseup",S))}),[A,S]),U=()=>{const e=n.current;e&&(r.current=setTimeout((()=>{var t;const n=((null===(t=a.current)||void 0===t?void 0:t.clientHeight)||0)+1;e.style.height=n+"px"}),200))},z=()=>{r.current&&clearTimeout(r.current),n.current&&(n.current.style.height="100000px")};return{wrapperRef:n,containerRef:i,minimizedChildRef:a,maximizedChildRef:o}};function vd(e){var t;return"touches"in e?null===(t=e.touches[0])||void 0===t?void 0:t.clientY:e.clientY}const Cd=e=>({type:Ce,payload:{action:e?"BottomSheetMinimized":"BottomSheetMaximized",name:"SignalUserInteraction",context:"BottomSheetMinimized"}});const yd={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};var md;function gd({schema:n,testId:o}){var r;const s=tt(),l=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),c=i.useSelector((e=>e.active.has(Cs))),d=t.useRef(null),u=i.useDispatch(),p=()=>{u({type:hs.DISMISS_OVERLAY,payload:{id:Re,dismissalMethod:is}})},f=null!==(r=n.startMinimized)&&void 0!==r&&r,h=f?fd:pd,v=xn(0,(e=>h?e.customStates[h]:0)),C=f?v?0:1:v;t.useEffect((()=>{y(!!C)}),[C]),ud(d,!!C);const y=e=>{const t=d.current;t&&(e?t.style.opacity="0":(t.style.display="flex",t.style.opacity="1"))};t.useEffect((()=>{l&&u({type:Ce,payload:{name:"SignalActivation",parentGuid:l}})}),[l]),t.useEffect((()=>{c&&requestAnimationFrame((()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.focus()}))}),[c]);const m=Ri(),{tabIndex:g,isDisabled:E,styles:I}=b(m),x=n.styles?a.mergeRight(yd,n.styles):yd;return e.jsx(qa,{styles:x,children:({classnames:t})=>{var i;return e.jsx("div",{className:null==t?void 0:t.wrapper,style:Object.assign({height:"100%",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9998",overflow:"hidden",display:"flex",opacity:f?"0":"1",transition:"opacity 0.2s ease-in-out"},I),"aria-label":null!==(i=n.a11yLabel)&&void 0!==i?i:void 0,"aria-hidden":E,role:"dialog","aria-modal":!0,tabIndex:g,"data-testid":o,"data-e2e":"Overlay-Wrapper",ref:d,children:e.jsx("div",{style:{position:"fixed",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},onClick:n.allowBackdropToClose?p:void 0,"data-testid":o&&`${o}-backdrop`,"data-e2e":"Overlay-Backdrop"})})}})}function bd(){return e.jsx("div",{style:{width:"48px",height:"4px",backgroundColor:"#C6C6C8",borderRadius:"2px",margin:"0 auto -4px",position:"relative",top:"6px"}})}!function(e){e[e.BottomSheet=0]="BottomSheet",e[e.Overlay=1]="Overlay"}(md||(md={}));const Ed={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};function Id(t){const n=i.useSelector((e=>e.slots)),a=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0}));return e.jsx(xd,Object.assign({},t,{slots:n,currentIndex:a}))}function xd(t){var n;const i=null!==(n=t.schema.startMinimized)&&void 0!==n&&n,{wrapperRef:a,containerRef:o,minimizedChildRef:r,maximizedChildRef:s}=hd(i);return t.isOpen?e.jsxs("div",{ref:a,style:{height:"100000px"},children:[e.jsx(gd,Object.assign({},t)),e.jsx(Dd,Object.assign({},t,{startMinimized:i,containerRef:o,minimizedChildRef:r,maximizedChildRef:s}))]}):null}const Ld=o.css`
|
|
119
119
|
display: flex;
|
|
120
120
|
position: relative;
|
|
121
121
|
overflow: hidden;
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
> * {
|
|
124
124
|
position: absolute !important;
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
126
|
+
`,Dd=t.forwardRef((function({schema:n,testId:i,slots:o,currentIndex:r,minimizedChildRef:s,containerRef:l,maximizedChildRef:c},d){var u,p;const f=t.useRef(null),h=t.useRef(null),v=n.styles?a.mergeRight(Ed,n.styles):Ed,C=wn(),y=()=>{const e=h.current;if(!e)return;const t=(()=>{const e=h.current;return e?Array.from(e.children).reduce(((e,t)=>Math.max(e,t.clientHeight)),0):0})();e.style.height=`${t}px`};t.useEffect((()=>{const e=new ResizeObserver((()=>{y()}));return h.current&&Array.from(h.current.children).forEach((t=>{e.observe(t)})),()=>{e.disconnect()}}),[]);const m=null===(p=null===(u=o[r])||void 0===u?void 0:u.offer)||void 0===p?void 0:p.creative,g=null==m?void 0:m.copy,b=Yn(g||{})(xr.transformLinksToAnchorText(null==m?void 0:m.links),"creativeLink");return e.jsx(qa,{styles:v,children:({classnames:a})=>{var o;return e.jsxs("div",{style:{width:"100%",position:"absolute",bottom:"-1000px",zIndex:"9999",transform:"translateY(1000px)"},ref:l,children:[e.jsx("div",{style:{zIndex:"3",width:"100%",maxHeight:"0%",transitionTimingFunction:"cubic-bezier(0.05, 0.7, 0.1, 1.0)"},ref:f,children:e.jsxs("div",{className:null==a?void 0:a.own,style:{height:"100%",position:"relative",outline:"none",borderBottomLeftRadius:"0",borderBottomRightRadius:"0",border:"1px solid #D5D7DA",borderBottom:"none",margin:"0px -1px"},tabIndex:-1,"data-testid":i&&`${i}-container`,"data-e2e":"BottomSheet-Container",children:[e.jsx(bd,{}),e.jsx("div",{ref:h,className:Ld,"aria-label":null!==(o=n.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray([e.jsx("div",{ref:c,style:{width:"100%"},children:C(n.children[0],void 0,re(0,i))},"0"),e.jsx(ei,{value:b,children:e.jsx(Fi,{value:Hi(m),children:e.jsx("div",{ref:s,style:{width:"100%"},children:g&&e.jsx("div",{children:C(n.children[1],void 0,re(1,i))})},"1")})})])})]})}),e.jsx("div",{style:{width:"100%",height:"1000px",backgroundColor:"white"}})]})}})}));function*wd(){(yield r.select((e=>{var t;return null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex})))===(yield r.select((e=>{var t;return(null===(t=e.slots)||void 0===t?void 0:t.length)||1})))-1&&(yield r.put({type:be,payload:{key:"Minimized",value:1}}))}cd(Id);const Sd={elements:{own:[],wrapper:[{default:{background:{backgroundColor:{light:"#80000000"}},container:{justifyContent:"center"}}}]}};var Ad;function Td({isOpen:n,schema:o,testId:r,children:s}){const l=tt(),c=i.useSelector((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),d=i.useSelector((e=>e.active.has(Cs))),u=i.useDispatch();t.useEffect((()=>{c&&u({type:Ce,payload:{name:"SignalActivation",parentGuid:c}})}),[c]),t.useEffect((()=>{d&&requestAnimationFrame((()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.focus()}))}),[d]);const p=Ri(),{tabIndex:f,isDisabled:h,styles:v}=b(p),C=o.styles?a.mergeRight(Sd,o.styles):Sd;if(!n)return null;const y=e.jsx(Dn,{children:e=>t.Children.toArray(o.children.map(((t,n)=>e(t,void 0,r?`${r}-child${n}`:void 0))))});return e.jsx(qa,{styles:C,children:({classnames:t})=>{var n;return e.jsx("div",{className:null==t?void 0:t.wrapper,style:Object.assign({height:"10000px",top:"0",right:"0",bottom:"0",left:"0",zIndex:"9999",display:"flex",overflow:"auto",flexDirection:"column",justifyContent:"flex-end"},v),"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,"aria-hidden":h,role:"dialog","aria-modal":!0,tabIndex:f,"data-testid":r,"data-e2e":"Overlay-Wrapper",children:s(y,l)})}})}!function(e){e[e.BottomSheet=0]="BottomSheet",e[e.Overlay=1]="Overlay"}(Ad||(Ad={}));const jd={elements:{own:[{default:{background:{backgroundColor:{light:"#FFF"}},flexChild:{alignSelf:"center"}}}],wrapper:[]}};const Md=t.forwardRef((function({schema:t,testId:n,children:i},o){const r=t.styles?a.mergeRight(jd,t.styles):jd;return e.jsx(qa,{styles:r,children:({classnames:a})=>{var r;return e.jsx("div",{className:null==a?void 0:a.own,style:{position:"relative",zIndex:"3",outline:"none",alignSelf:"center"},ref:o,tabIndex:-1,"data-e2e":"Overlay-Container","aria-label":null!==(r=t.a11yLabel)&&void 0!==r?r:void 0,role:"dialog","aria-modal":!0,"data-testid":n&&`${n}-container`,children:i})}})}));const Od=i.connect((function(e){return{isOpen:e.active.has(Re)}}))((function(t){return e.jsx(Td,Object.assign({},t,{children:(n,i)=>e.jsx(Md,Object.assign({},t,{ref:i,children:n}))}))})),kd=cd(Id),Vd={name:"minimized-bottomsheet-extension",sagas:function*(){yield r.all([r.takeEvery("OFFER_LIFECYCLE",wd)])},componentFactory:t=>"Overlay"===t.type?e.jsx(Od,{schema:t}):function(e){const t=e.children instanceof Array;return t}(t)?e.jsx(kd,{schema:t}):e.jsx("div",{children:"Could not Render Bottom Sheet"})};const Rd=o.css`
|
|
127
127
|
height: 20px;
|
|
128
128
|
border-radius: 4px;
|
|
129
129
|
width: 100%;
|
|
@@ -132,40 +132,40 @@
|
|
|
132
132
|
background-size: 200% 100%;
|
|
133
133
|
animation: 1.5s ${o.keyframes`to { background-position-x: -200%; }`} linear
|
|
134
134
|
infinite;
|
|
135
|
-
`,
|
|
135
|
+
`,Hd=o.css`
|
|
136
136
|
width: 75%;
|
|
137
|
-
`,
|
|
137
|
+
`,_d=o.css`
|
|
138
138
|
height: 40px;
|
|
139
139
|
width: 200px;
|
|
140
|
-
`,
|
|
140
|
+
`,Pd=o.css`
|
|
141
141
|
width: 150px;
|
|
142
|
-
`;function
|
|
142
|
+
`;function Nd({hasLoaded:n,animationSpeedMS:i,styles:a}){const[r,s]=t.useState(!0);return t.useEffect((()=>{if(n){const e=setTimeout((()=>{s(!1)}),i);return()=>clearTimeout(e)}return()=>null}),[n]),r?e.jsx("div",{"data-testid":"skeleton",className:o.css(Object.assign({height:"100%"},null==a?void 0:a.skeleton)),children:e.jsxs("div",{className:o.css`
|
|
143
143
|
padding: 30px 24px;
|
|
144
144
|
display: flex;
|
|
145
145
|
flex-direction: column;
|
|
146
146
|
gap: 16px;
|
|
147
147
|
height: inherit;
|
|
148
148
|
justify-content: center;
|
|
149
|
-
`,children:[e.jsx("div",{className:
|
|
149
|
+
`,children:[e.jsx("div",{className:Rd}),e.jsx("div",{className:Rd}),e.jsx("div",{className:Rd}),e.jsx("div",{className:o.cx(Rd,Hd)}),e.jsxs("div",{className:o.css`
|
|
150
150
|
display: flex;
|
|
151
151
|
gap: 16px;
|
|
152
152
|
align-items: center;
|
|
153
|
-
`,children:[e.jsx("div",{className:o.cx(
|
|
153
|
+
`,children:[e.jsx("div",{className:o.cx(Rd,_d)}),e.jsx("div",{className:o.cx(Rd,Pd)})]})]})}):null}function Fd({styles:n,hasLoaded:i,partnerText:a,animationSpeedMS:r}){if(!Array.isArray(a)||!(null==a?void 0:a.length))throw new Error("partnerText must be an string[]");const[s,l]=t.useState(!0);return t.useEffect((()=>{if(i){const e=setTimeout((()=>{l(!1)}),r);return()=>clearTimeout(e)}return()=>null}),[i]),s?e.jsx("div",{"data-testid":"partner-text",className:o.css(Object.assign({height:"100%",width:"100%",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:i?0:1,transition:`opacity ${r}ms ease-in-out`},null==n?void 0:n.partnerText)),children:a?t.Children.toArray(a.map((t=>e.jsx("p",{className:o.css`
|
|
154
154
|
font-weight: 600;
|
|
155
155
|
font-size: 14px;
|
|
156
156
|
line-height: 21px;
|
|
157
157
|
padding: 0 16px;
|
|
158
|
-
`,children:t})))):null}):null}const
|
|
158
|
+
`,children:t})))):null}):null}const $d=o.keyframes`
|
|
159
159
|
0% { width: 0; }
|
|
160
160
|
100% { width: 100%; }
|
|
161
|
-
}`;function
|
|
161
|
+
}`;function Zd(n){const[a,r]=t.useState(!1),[s,l]=t.useState(!1),c=i.useDispatch(),d=wn(),{type:u,children:p,durationMS:f,styles:h,partnerText:v,animationSpeedMS:C}=n.data;let y=null;switch(u){case"skeleton":y=e.jsx(Nd,{hasLoaded:a,animationSpeedMS:C,styles:h});break;case"partnerText":y=e.jsx(Fd,{partnerText:v,hasLoaded:a,animationSpeedMS:C,styles:h})}return t.useEffect((()=>{let e=null;const t=setTimeout((()=>{r(!0),e=setTimeout((()=>{l(!0)}),C)}),1.25*f);return()=>{t&&clearTimeout(t),e&&clearTimeout(e)}}),[f,c]),e.jsx("div",{"data-testid":"Loading",children:e.jsxs("div",{className:o.css`
|
|
162
162
|
position: relative;
|
|
163
163
|
`,children:[e.jsx("div",{className:o.css`
|
|
164
164
|
height: 4px;
|
|
165
165
|
background-color: ${(null==h?void 0:h.primaryColor)||"#7F56D9"};
|
|
166
166
|
position: absolute;
|
|
167
167
|
top: 0;
|
|
168
|
-
animation: ${
|
|
168
|
+
animation: ${$d} ${f}ms linear forwards;
|
|
169
169
|
transition: opacity ${C}ms ease-in-out;
|
|
170
170
|
opacity: ${a?0:1};
|
|
171
171
|
`}),e.jsxs("div",{className:o.css`
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
z-index: 10;
|
|
185
185
|
transition: opacity ${C}ms ease-in-out;
|
|
186
186
|
${s?"\n opacity: 1;\n user-select: auto;\n pointer-events: auto;\n ":"\n opacity: 0;\n user-select: none;\n pointer-events: none;\n "}
|
|
187
|
-
`,children:t.Children.toArray(p.map((e=>d(e))))})]})]})})}const Nd={name:"loading-extension",componentFactory:t=>e.jsx(Pd,{data:t}),interceptors:{}};function Fd({linearGradient:n,color1:i,color2:a,color3:o,duration:r,additionalStyles:s,gradientAngle:l}){const c=t.useRef(null);t.useEffect((()=>{const e=()=>{var e;if(null===(e=c.current)||void 0===e?void 0:e.parentElement){const e=c.current.parentElement;requestAnimationFrame((()=>{const t=Array.from(e.children).filter((e=>!e.classList.contains("background-shimmer")));if(t.length>0){const n=t.reduce(((e,t)=>Math.max(e,t.offsetHeight)),0),i=parseInt(e.style.height||"0");n>0&&n!==i&&(e.style.height=`${n}px`)}}))}};let t;const n=()=>{clearTimeout(t),t=setTimeout(e,100)};return window.addEventListener("resize",n),setTimeout(e,100),()=>{window.removeEventListener("resize",n),clearTimeout(t)}}),[]);const d=t.useMemo((()=>`\n @keyframes slideGradient {\n 0% {\n left: -90%;\n opacity: 0;\n }\n 8% {\n left: -90%;\n opacity: 1;\n }\n 22% {\n left: 90%;\n opacity: 1;\n }\n 28% {\n left: 100%;\n opacity: 0;\n }\n 100% {\n left: 100%;\n opacity: 0;\n }\n }\n .background-shimmer {\n position: absolute !important;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n pointer-events: none;\n z-index: 0;\n }\n \n .background-shimmer::after {\n content: '';\n position: absolute;\n top: 0;\n left: -100%;\n right: 0;\n bottom: 0;\n width: 50%;\n background: ${n||`linear-gradient(\n ${l||"to right"},\n transparent 0%,\n ${i||"rgba(217, 217, 217, 0.30)"} 20%,\n ${a||"rgba(217, 217, 217, 0.50)"} 50%,\n ${o||"rgba(217, 217, 217, 0.30)"} 80%,\n transparent 100%\n )`};\n animation: slideGradient ${r||"3.94s"} linear infinite forwards;\n pointer-events: none;\n z-index: 0;\n }\n ${s}\n`),[n,i,a,o,r,s,l]);return e.jsx(Yn,{children:t=>e.jsx(Ba,{styles:{},children:t=>{var n;const i=t.classnames;return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:d}),e.jsx("div",{ref:c,className:`${null!==(n=null==i?void 0:i.own)&&void 0!==n?n:""} background-shimmer`})]})}})})}const $d={name:"shimmer-background-extension",componentFactory:t=>t?e.jsx(Fd,{linearGradient:t.linearGradient,color1:t.color1,color2:t.color2,color3:t.color3,duration:t.duration,additionalStyles:t.additionalStyles}):e.jsx("div",{children:"Could not render Shimmer Background"}),interceptors:{}},Zd=1e3;function Gd(n){const o=n.data,{minutes:r,seconds:s,timeRemaining:l,restartTimer:c}=function(e){const[n,i]=t.useState(e),a=(new Date).getTime()/Zd,o=t.useRef(null),r=()=>{const t=(new Date).getTime()/Zd;i(Math.max(Math.floor(e-(t-a)),0))};return t.useEffect((()=>(o.current=setInterval(r,Zd),()=>{o.current&&"number"==typeof o.current&&clearInterval(o.current)})),[]),{minutes:Math.floor(n/60).toString(),seconds:Math.floor(Math.min(n%60,59)).toLocaleString("en-US",{minimumIntegerDigits:2,maximumFractionDigits:0,useGrouping:!1}),timeRemaining:n,restartTimer:function(){o.current&&"number"==typeof o.current&&clearInterval(o.current),i(e),o.current=setInterval(r,Zd)}}}((null==o?void 0:o.duration)||300),d=i.useSelector((e=>{const t=a.path(["progression","currentGroupIndex"],e);return"number"==typeof t?t:0})),u=i.useDispatch();t.useEffect((()=>{c()}),[d]),t.useEffect((()=>{0===l&&(u({type:Ce,payload:{name:"SignalUserInteraction",action:"TimerExpired",context:"TimerProgression"}}),u({type:"PROGRESSION/PROCESS",payload:{offerProcessStatus:"CONTINUE"}}))}),[r,s]);const p=Oi(),{tabIndex:f,styles:h,isDisabled:v}=b(p);return e.jsx("p",{tabIndex:f,style:Object.assign(Object.assign({},null==o?void 0:o.styles),h),"aria-hidden":v,"data-e2e":"Timer",children:`${r}:${s}`})}const Bd={name:"timer-progression-extension",componentFactory:t=>e.jsx(Gd,{data:t}),interceptors:{}};function Ud(t){var n,i,a,o,r;const s=!1===t.isValid&&!!t.error;return e.jsxs("div",{"data-testid":t.testId,children:[e.jsx("label",{className:null===(n=t.classnames)||void 0===n?void 0:n.label,children:t.schema.label}),e.jsx("input",{className:s?`${null===(i=t.classnames)||void 0===i?void 0:i.error}`:`${null===(a=t.classnames)||void 0===a?void 0:a.field}`,type:"text",value:t.value||"",placeholder:t.schema.placeholder,required:"Required"===t.schema.validator,onChange:e=>{var n;let i=e.target.value;t.schema.inputFilter&&(i=function(e,t){if(!t)return e;if("object"==typeof t&&t.pattern){const n=new RegExp(t.pattern,"g");return e.replace(n,"")}return"numeric"===t?e.replace(/[^0-9]/g,""):e}(i,t.schema.inputFilter)),null===(n=t.onChange)||void 0===n||n.call(t,i)},"aria-invalid":!!s,"aria-describedby":s?`${t.testId}-error`:void 0}),s&&e.jsxs("div",{style:{display:"flex",alignItems:"center",flexDirection:"row"},children:[t.schema.errorIcon&&e.jsx("img",{src:t.schema.errorIcon,className:null===(o=t.classnames)||void 0===o?void 0:o.errorIcon,alt:"Error"}),e.jsx("div",{className:null===(r=t.classnames)||void 0===r?void 0:r.errorText,children:t.error})]})]})}function zd(t){const{schema:n,disabled:i,onClick:a,testId:o,classnames:r}=t,s=[null==r?void 0:r.button,i?"disabled":""].filter(Boolean).join(" ");return e.jsx("button",{type:"button",className:s,onClick:e=>{e.preventDefault(),e.stopPropagation(),a&&a()},disabled:i,"data-testid":o,"data-e2e":"FormButton","aria-label":n.ariaLabel||n.label,style:{cursor:i?"not-allowed":"pointer",pointerEvents:"auto",flexWrap:"wrap",minWidth:"max-content"},children:e.jsx("span",{className:null==r?void 0:r.text,children:n.label})})}const qd="deliveryAddress",Kd="deliveryAddress-showForm",Wd="deliveryAddress-errorState",Yd="deliveryAddress-isValid",Jd=0,Xd=1,Qd=2,eu=["AL","Alabama","AK","Alaska","AZ","Arizona","AR","Arkansas","CA","California","CO","Colorado","CT","Connecticut","DE","Delaware","FL","Florida","GA","Georgia","HI","Hawaii","ID","Idaho","IL","Illinois","IN","Indiana","IA","Iowa","KS","Kansas","KY","Kentucky","LA","Louisiana","ME","Maine","MD","Maryland","MA","Massachusetts","MI","Michigan","MN","Minnesota","MS","Mississippi","MO","Missouri","MT","Montana","NE","Nebraska","NV","Nevada","NH","New Hampshire","NJ","New Jersey","NM","New Mexico","NY","New York","NC","North Carolina","ND","North Dakota","OH","Ohio","OK","Oklahoma","OR","Oregon","PA","Pennsylvania","RI","Rhode Island","SC","South Carolina","SD","South Dakota","TN","Tennessee","TX","Texas","UT","Utah","VT","Vermont","VA","Virginia","WA","Washington","WV","West Virginia","WI","Wisconsin","WY","Wyoming","DC","District of Columbia"];function tu(e,t,n){var i;if(!t)return{isValid:!0};switch(t){case"Required":return e.trim()?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.missingLabel)||"This field is required"};case"PhoneNumber":if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"Phone number is required"};return/^[+]?[1-9][\d]{0,15}$/.test(e.replace(/\s/g,""))?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Invalid phone number"};case"Contains":{if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"This field is required"};const t=(null==n?void 0:n.allowedValues)||[];return t.includes(e.trim())?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||`Invalid value. Allowed values: ${t.join(", ")}`}}case"ZipCode":if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"Postal code is required"};return/^\d{5}(-\d{4})?$/.test(e)?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Invalid ZIP code"};case"State":{if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"State is required"};const t=(null===(i=null==n?void 0:n.allowedValues)||void 0===i?void 0:i.length)?n.allowedValues:eu,a=e.trim().toLowerCase();return t.some((e=>e.toLowerCase()===a))?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Please select a valid state"}}default:return{isValid:!0}}}function nu(e,t){const n={};return Object.keys(t).forEach((e=>{n[e]={value:"",isValid:!0,error:void 0}})),e&&"object"==typeof e&&Object.keys(t).forEach((t=>{const i=e[t],a=n[t];"string"==typeof i&&a&&(a.value=i)})),n}function iu(n){var a,o,r,s;const l=i.useDispatch(),c=n.schema.noGroupBreakpoints||[],d=xn(!0,(e=>{var t;return 0===c.length||!c.includes(null===(t=null==e?void 0:e.breakpoint)||void 0===t?void 0:t.activeBreakpoint)})),u=i.useSelector((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[qd]})),p=i.useSelector((e=>e.slots||[])),f=p.length>0&&(null===(s=null===(r=null===(o=null===(a=p[0])||void 0===a?void 0:a.offer)||void 0===o?void 0:o.catalogItems)||void 0===r?void 0:r[0])||void 0===s?void 0:s.cartItemId);if(!f)return;const h=Oi(),{tabIndex:v,isDisabled:C,styles:y}=b(h),{fields:m,fieldGroups:g,controls:E}=n.schema,[I,x]=t.useState((()=>nu(u,m))),L=t.useCallback((()=>Object.entries(I).reduce(((e,[t,n])=>(e[t]=n.value,e)),{})),[I]),D=()=>{const e=Object.assign({},I);let t=!0;if(Object.entries(m).forEach((([n,i])=>{var a;const o=(null===(a=I[n])||void 0===a?void 0:a.value)||"",r=tu(o,null==i?void 0:i.validator,i);e[n]={value:o,isValid:r.isValid,error:r.error},r.isValid||(t=!1)})),x(e),t){const e=L();l({type:Oe,payload:{cartItemId:f,formData:e}})}else l({type:be,payload:{key:Wd,value:Xd}})},w=()=>{x(nu(u,m)),l({type:be,payload:{key:Kd,value:0}}),l({type:be,payload:{key:Wd,value:Jd}})};return e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"data-testid":n.testId,"data-e2e":"Form",className:null==t?void 0:t.own,"aria-hidden":C,tabIndex:v,style:Object.assign({display:"flex",flexDirection:"column"},y),children:[g.map(((i,a)=>{const o=d&&1!==i.fields.length?"row":"column",r=i.fields.length>1?"row"===o?null==t?void 0:t.groupRowWrapper:null==t?void 0:t.groupColumnWrapper:void 0;return e.jsx("div",{style:{display:"flex",flexDirection:o},className:r,children:i.fields.map((i=>{const a=m[i],o=I[i]||{value:"",isValid:!0,error:void 0};return a?e.jsx("div",{style:{flex:"1"},children:e.jsx(Ud,{schema:a,value:o.value,error:o.error,isValid:o.isValid,onChange:e=>((e,t)=>{const n=m[e];let i,a=!0;if((null==n?void 0:n.validateOnChange)&&n.validator){const e=tu(t,n.validator,n);a=e.isValid,i=e.error}x((n=>Object.assign(Object.assign({},n),{[e]:{value:t,isValid:a,error:i}})))})(i,e),testId:`${n.testId}-${i}`,classnames:{label:null==t?void 0:t.fieldLabel,field:null==t?void 0:t.fieldInput,error:null==t?void 0:t.fieldError,errorText:null==t?void 0:t.fieldErrorText,errorIcon:null==t?void 0:t.fieldErrorIcon}})},i):null}))},a)})),((null==E?void 0:E.saveButton)||(null==E?void 0:E.cancelButton))&&e.jsxs("div",{className:null==t?void 0:t.buttonGroup,style:{display:"flex",flexDirection:d?"row":"column",justifyContent:"flex-end",gap:"16px",marginTop:"0px",pointerEvents:"auto"},children:[(null==E?void 0:E.cancelButton)&&e.jsx(zd,{schema:E.cancelButton,onClick:w,testId:`${n.testId}-cancel`,disabled:!1,classnames:{button:null==t?void 0:t.cancelButton}}),(null==E?void 0:E.saveButton)&&e.jsx(zd,{schema:E.saveButton,onClick:D,disabled:!1,testId:`${n.testId}-save`,classnames:{button:null==t?void 0:t.saveButton}})]})]})})}function au(t){const n=wn(),a=qn(i.useSelector((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[qd]}))||{},qd);return e.jsx(Jn,{value:a,children:n(t.schema.node,void 0,t.testId)})}const ou="FORMS/UPDATE";function*ru(e){yield r.spawn(cu,e),yield r.takeEvery(Oe,su),yield r.takeEvery(ke,lu)}function*su(e){const{cartItemId:t,formData:n}=e.payload,i=null!=n?n:yield r.select((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[qd]}));if(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return["firstName","lastName","address1","address2","city","state","postalCode","phoneNumber"].every((e=>void 0===t[e]||"string"==typeof t[e]))}(i)){const e={cartItemId:t,shipping:i,lineItems:yield r.select((e=>{const t=e.globalOfferDataState||{},n=[];return Object.values(t).forEach((e=>{e.cart&&n.push(...e.cart)})),n}))};yield r.put({type:Le,payload:{name:"INITIATE_CART_ITEM_EVENT",body:e}})}}function*lu(e){if(e.payload.success){const t=e.payload.response;if(null==t?void 0:t.success){const{shipping:e,cartItemId:n,totalPrice:i,currencyCode:a,providerData:o}=t;yield r.put({type:Le,payload:{name:"DELIVERY_DETAILS_SENT",body:{shipping:e,itemDetail:{cartItemId:n,currency:a,totalPrice:i,providerData:o}}}}),yield r.put({type:ou,payload:{formId:qd,formData:e}}),yield*uu(Jd)}else yield*uu(Xd)}else yield*uu(Qd),yield r.put({type:Le,payload:{name:"DELIVERY_DETAILS_SENT",body:{shipping:void 0,itemDetail:void 0}}})}function*cu(e){const t=function(e){return s.eventChannel((t=>{const n=["CART_ITEM_SUCCESS","CART_ITEM_FAILURE"].map((n=>{const i=e.onEvent(n);return i?i.subscribe((e=>{t(e)})):null})).filter(Boolean);return()=>{n.forEach((e=>null==e?void 0:e.unsubscribe()))}}))}(e);try{for(;;){const e=yield r.take(t);yield r.put({type:ke,payload:e})}}catch(e){const t=dc(e,"Error in cart service response listener","CART_SERVICE_RESPONSE_ERROR");yield r.put(t)}finally{(yield r.cancelled())&&t.close()}}function*du(e,t,n){for(let i=0;i<e;i++)yield r.put({type:ns,payload:{key:t,value:n,offerPositionIndex:i}})}function*uu(e){const t=yield r.select((e=>{var t;return(null===(t=e.slots)||void 0===t?void 0:t.length)||0}));switch(e){case Jd:yield r.put({type:be,payload:{key:Wd,value:Jd}}),yield r.put({type:be,payload:{key:Yd,value:1}}),yield r.put({type:be,payload:{key:Kd,value:0}}),yield*du(t,Yd,1);break;case Xd:yield r.put({type:be,payload:{key:Wd,value:Xd}}),yield r.put({type:be,payload:{key:Yd,value:0}}),yield*du(t,Yd,0);break;case Qd:yield r.put({type:be,payload:{key:Wd,value:Qd}}),yield r.put({type:be,payload:{key:Yd,value:0}}),yield*du(t,Yd,0)}}const pu={name:"address-form-extension",reducer:{forms:(e,t)=>{if(void 0===e)return{};if(t.type===ou){const{formId:n,formData:i}=t.payload;return Object.assign(Object.assign({},e),{[n]:i})}return e}},sagas:function*(e){yield r.all([r.spawn(ru,e.partnerInteractionService)])},componentFactory:t=>{if(!t||"object"!=typeof t)return e.jsx("div",{children:"Could not render Form - invalid data"});if((e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"type"in t&&"edit"===t.type&&"fields"in t&&"object"==typeof t.fields&&"node"in t&&"object"==typeof t.node&&null!==t.node})(t)){const n={fields:t.fields||{},node:t.node};return e.jsx(au,{schema:n,testId:"edit-form-extension"})}if((e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"type"in t&&"view"===t.type&&"fields"in t&&"object"==typeof t.fields&&null!==t.fields&&"fieldGroups"in t&&Array.isArray(t.fieldGroups)})(t)){const n={fields:t.fields,fieldGroups:t.fieldGroups||[],controls:t.controls,styles:t.styles,noGroupBreakpoints:t.noGroupBreakpoints||[]};return e.jsx(iu,{schema:n,testId:"form-extension"})}return e.jsx("div",{children:"Could not render Form - invalid type."})},interceptors:{}},fu="MODULE/ADD_LOADED",hu="MODULE/LOAD",vu="PROGRESSION/INITIALISE",Cu="PROGRESSION/NEXT",yu="PROGRESSION/PREV",mu="PROGRESSION/UPDATE_GROUP_SIZE",gu="PROGRESSION/PROCESS",bu="SLOTS/SET",Eu="INSTANT_PURCHASE/DISMISS",Iu="OFFER_LIFECYCLE",xu="DOMAIN_STATES/SET",Lu="OFFER_ENGAGEMENT",Du="GLOBAL_OFFER_DATA_STATE/SET_CART",wu=Object.assign(Object.assign({},cs),{NEXT_IN_PROGRESSION:Cu,PREV_IN_PROGRESSION:yu,INITIALISE_PROGRESSION:vu,UPDATE_GROUP_SIZE:mu,SET_SLOTS:bu,ADD_LOADED_MODULE:fu,SET_DOMAIN_STATE:xu,SET_GLOBAL_OFFER_DATA_CART:Du}),Su=Object.assign(Object.assign({},ds),{LOAD_MODULES:hu,DISMISS_INSTANT_PURCHASE:Eu,PROCESS_PROGRESSION:gu,OFFER_LIFECYCLE:Iu,OFFER_ENGAGEMENT:Lu,SET_PARTNER_VALIDATION_STATUS:Te,TRIGGER_ACTION:He});function Au(e,t){return t<=0||e<=0||t>e?0:Math.ceil(e/t)}function Tu(e,t){const n=[];if(t<=0||e<=0||t>e)throw Error(`Could not generate the progression groups with groupSize: ${t} and totalCount: ${e}`);for(let i=0;i<Au(e,t);i++){const a=[];for(let n=0;n<t;n++)a.push(Math.min(i*t+n,e-1));n.push([...new Set(a)])}return n}const Mu=Symbol("root");function ju(){return{[Mu]:{layoutMinimized:0}}}const Ou=Object.assign({progression:function(e=null,t){switch(t.type){case vu:if(function(e){const{totalCount:t,currentGroupIndex:n,groupSize:i}=e;return t>=0&&i>=0&&n>=0&&i<=t&&n<Au(t,i)}(t.payload)){const{totalCount:e,_:n,groupSize:i}=t.payload;return Object.assign(Object.assign({},t.payload),{indexGroups:Tu(e,i)})}return null;case mu:{const{groupSize:n}=t.payload,i=null==e?void 0:e.totalCount;return i&&n<=i&&n>0?Object.assign(Object.assign({},e),{groupSize:n,indexGroups:Tu(i,n),currentGroupIndex:0}):null}case Cu:{if(!e)return null;const{totalCount:t,groupSize:n,currentGroupIndex:i}=e;return t>0&&n>0&&i>=0?Object.assign(Object.assign({},e),{currentGroupIndex:Math.min(i+1,Au(t,n)-1)}):null}case yu:{if(!e)return null;const{totalCount:t,groupSize:n,currentGroupIndex:i}=e;return t>0&&n>0&&i>=0?Object.assign(Object.assign({},e),{currentGroupIndex:Math.max(i-1,0)}):null}default:return e}},slots:function(e=[],t){return t.type===bu?t.payload:e},module:function(e={loadedModules:[]},t){return t.type===fu?Object.assign(Object.assign({},e),{loadedModules:[...e.loadedModules,t.payload]}):e},domainStates:function(e=ju(),t){if(t.type===xu){if(t.payload.key&&!isNaN(t.payload.value)){const n=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:Mu;return n===Mu?t.payload.key!==P?e:Object.assign(Object.assign({},e),{[Mu]:Object.assign(Object.assign({},e[Mu]),{[t.payload.key]:t.payload.value})}):Object.assign(Object.assign({},a.assocPath([n,t.payload.key],Number(t.payload.value),e)),{[Mu]:Object.assign({},e[Mu])})}return e}return e},globalOfferDataState:function(e={},t){if(t.type===Du){if(t.payload.cart){const n=`module${t.payload.offerPositionIndex}`;return Object.assign(Object.assign({},e),{[n]:{cart:t.payload.cart}})}return e}return e}},Ts);function ku(e={}){return Object.assign(Object.assign(Object.assign({},function(e={}){return Object.assign({layout:Ls(),breakpoint:{breakpoints:{default:0},activeBreakpoint:"default",initialised:!1},active:Ds(),fonts:[],signal:{queue:[],processed:[]},serializableCache:ws(),settings:{closeOnComplete:!0,closeOnNegativeResponse:"NEVER",allowEscToClose:!1,minimizeOnComplete:!1,explicitCloseOnComplete:!1,bottomsheetVisibleHeight:null},customStates:{root:{}},firedEvents:{root:{}},formStates:{root:{}}},e)}(e)),{progression:null,slots:[],module:{loadedModules:[]},domainStates:ju(),globalOfferDataState:{}}),e)}function Vu(e){var t;return!!e.progression&&(1===e.progression.groupSize&&e.progression.currentGroupIndex===(null===(t=e.progression)||void 0===t?void 0:t.totalCount)-1)}function Ru(e){return e.progression?{activeGroupIndex:e.progression.currentGroupIndex,totalOffers:e.progression.totalCount,totalGroups:Au(e.progression.totalCount,e.progression.groupSize),isLast:Vu(e)}:null}function Hu(e,t){const n=e.domainStates[`module${t}`]||{offerComplete:0,checkout:0,layoutMinimized:0},i=e.domainStates[Mu]||{layoutMinimized:0};return Object.assign(Object.assign({},n),{[P]:i[P]})}function _u(e){return Object.values(e.globalOfferDataState).reduce(((e,t)=>{if(t&&"object"==typeof t&&"cart"in t){const n=t.cart;if(Array.isArray(n))return e+n.reduce(((e,t)=>e+("number"==typeof t.quantity?t.quantity:0)),0)}return e}),0)}const Pu=new Map([["spothero","spothero"],["justpark","justpark"],["fanatics","fanatics"],["parkwhiz-up-sell","parkwhiz"],["parkwhiz-up-sell-tm-upsell","parkwhiz"],["ticketmaster-up-sell-hotels","hotels"],["ticketmaster-up-sell","1p"],["ticketmaster-up-sell-in-cart","1p"]]),Nu=["ProviderName","e2e-catalog"],Fu=e=>"string"==typeof e?e.trim():"number"==typeof e&&Number.isFinite(e)?String(e):"",$u=e=>{if(!(e=>{var t;const n=Fu(null===(t=null==e?void 0:e.creative)||void 0===t?void 0:t.referralCreativeId);return Boolean(n)&&"0"!==n})(e))return;const t=(e=>{for(const t of Nu){const n=Fu(null==e?void 0:e[t]);if(n)return n}})(null==e?void 0:e.metadata);return t?Pu.get(t.toLowerCase()):"advert"};function Zu(n){var a;const{config:o,position:r,visible:s,container:l,testId:c}=n,d=zi(),u=Oi(),p=i.useSelector(hs),f=i.useSelector((e=>function(e,t){return e.globalOfferDataState[`module${t}`]}(e,r))),h=t.useContext(qi),v=t.useContext(Ki),C=`rokt-${o.layoutVariant.moduleName}-${d}`.toLowerCase(),y=$u(o.offer),m=((e,t)=>{var n;if("1p"!==e)return;const i=Fu(null===(n=null==t?void 0:t.metadata)||void 0===n?void 0:n.CatalogType);return i?i.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""):void 0})(y,o.offer);return e.jsxs(e.Fragment,{children:[!s&&e.jsx("div",{style:{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},"aria-hidden":"true"}),e.jsx(C,{style:{display:"flex",flexDirection:"column"===l?"column":"row",width:"100%"},slotInstanceGuid:o.instanceGuid,layoutSchema:JSON.stringify(o.layoutVariant.layoutVariantSchema),schemaVersion:h,childLayouts:JSON.stringify(null!==(a=o.layoutVariant.childLayouts)&&void 0!==a?a:[]),offerData:JSON.stringify(o.offer),offerPositionIndex:r,visible:s?"true":"false",container:l,interactivity:u,"data-testid":c,"data-e2e":`OfferSlot-${r}`,"data-e2e-type":y,"data-e2e-subtype":m,inert:!(!(null==v?void 0:v.inert)||s)||void 0,"aria-hidden":(null==v?void 0:v.inert)?void 0:String(!s),"module-component":!0,"plugin-id":d,"active-breakpoint":oe(p),offerState:JSON.stringify(f)})]})}function Gu({schema:n,testId:a}){const o=n.styles,r=i.useSelector((e=>e.slots)),s=t.useRef(null),l=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0})),c=Oi(),{tabIndex:d,isDisabled:u,styles:p}=b(c);return r.length&&r[l]?e.jsx(Ba,{styles:o,children:({classnames:i})=>e.jsx("div",{ref:s,"data-testid":a,"data-e2e":"OneByOneDistribution",className:null==i?void 0:i.own,tabIndex:d,"aria-hidden":u,style:Object.assign({position:"relative",transition:`height ${n.transition.settings.duration/2}ms ease-in-out`,overflow:"hidden",boxSizing:"content-box"},p),children:t.Children.toArray(r.map(((t,i)=>e.jsx(Ar,{effect:n.transition,visible:i===l,parentElement:s.current,children:e.jsx(Zu,{config:t,position:i,visible:i===l,container:"column"})}))))})}):null}const Bu=i.connect((function(e,{schema:t}){var n,i,a;const o=t.startPosition||1;if((null===(n=e.progression)||void 0===n?void 0:n.totalCount)&&(null===(i=e.progression)||void 0===i?void 0:i.groupSize)){const t=Au(e.progression.totalCount,e.progression.groupSize);let n;n=o>0?o-1:t+o>-1?t+o:0;return{numOfIndicators:t-n>-1?t-n:0,activeIndex:null!==(a=e.progression.currentGroupIndex)&&void 0!==a?a:0,startIndex:n}}return{numOfIndicators:0,activeIndex:0,startIndex:0}}))((function({activeIndex:t,startIndex:n,numOfIndicators:i,schema:a}){const o=Oi(),{tabIndex:r,styles:s,isDisabled:l}=b(o),c=Array(i).fill(a.indicator);return i>1&&(u=i+n-1,(d=t)>=n&&d<=u)?e.jsx(Yn,{children:i=>e.jsx(Ba,{styles:a.styles,children:a=>{var o;const d=a.classnames,u=e=>{var n,i;return e===t?`${null==d?void 0:d.indicator} ${(null==d?void 0:d.activeIndicator)?d.activeIndicator:null!==(n=null==d?void 0:d.seenIndicator)&&void 0!==n?n:""}`:e<t?`${null==d?void 0:d.indicator} ${null!==(i=null==d?void 0:d.seenIndicator)&&void 0!==i?i:""}`:null==d?void 0:d.indicator};return e.jsx("div",{className:null!==(o=null==d?void 0:d.own)&&void 0!==o?o:"",style:Object.assign({display:"flex",flexDirection:"row"},s),"data-e2e":"ProgressIndicator",tabIndex:r,"aria-hidden":l,children:m.Children.toArray(c.map(((t,a)=>e.jsx("span",{className:u(a+n),style:{display:"flex"},children:i({state:{indicatorPosition:String(a+1+n)}})(t)}))))})}})}):null;var d,u}));const Uu="partnerValidationUI",zu="stackedViewableItems";function qu(n){var o;const r=i.useDispatch(),s=i.useSelector((e=>e.slots)),l=null!==(o=n.schema.viewableItems)&&void 0!==o?o:[],c=Va(l.reduce(((e,t,n)=>Object.assign(Object.assign({},e),{[n]:t.when})),{})),d=a.compose((e=>{var t;return e&&(null===(t=l[e[0]])||void 0===t?void 0:t.value)||s.length}),a.find((([e,t])=>t)),a.toPairs)(c);t.useEffect((()=>{r({type:qr,payload:{key:zu,value:String(d)}})}),[d]);const u=s.slice(0,d),p=Oi(),{tabIndex:f,isDisabled:h,styles:v}=b(p);return(null==u?void 0:u.length)>0?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>e.jsx("div",{"data-testid":n.testId,"data-e2e":"StackedDistribution",className:null==i?void 0:i.own,"aria-hidden":h,tabIndex:f,style:Object.assign({display:"flex",flexDirection:"column"},v),children:t.Children.toArray(u.map(((t,n)=>e.jsx(Zu,{config:t,position:n,visible:!0,container:"column"}))))})}):null}function Ku(n){const a=n.schema.styles,o=i.useDispatch(),r=Oi(),s="Backward"===n.schema.direction?"Previous":"Next",{tabIndex:l,styles:c,isDisabled:d}=b(r),u=()=>{o({type:"Backward"===n.schema.direction?wu.PREV_IN_PROGRESSION:wu.NEXT_IN_PROGRESSION})};return e.jsx(Ba,{styles:a,children:({classnames:i})=>{var a;return e.jsx("button",{title:s,className:null==i?void 0:i.own,onClick:u,"data-testid":n.testId,"data-e2e":"ProgressControl","data-e2e-direction":`${n.schema.direction}`,disabled:d,"aria-disabled":d,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:s,tabIndex:l,style:Object.assign({cursor:"pointer"},c),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Wu({schema:n,testId:a}){var o,r,s,l,c,u,p,f,h;const v=i.useSelector((e=>e.progression)),C=null==v?void 0:v.indexGroups[null==v?void 0:v.currentGroupIndex],y=null!==(o=null==v?void 0:v.currentGroupIndex)&&void 0!==o?o:0,m=i.useSelector((e=>e.slots)),g=i.useSelector(ms),E=n.viewableItems.length-1,[I,x]=d({slidesToScroll:null!==(r=n.viewableItems[Math.min(g,E)])&&void 0!==r?r:"auto",containScroll:"trimSnaps"}),L=i.useDispatch(),D=Oi(),{tabIndex:w,isDisabled:S,styles:A}=b(D),T=`${null!==(f=null===(p=null===(u=null===(c=null===(l=null===(s=n.styles)||void 0===s?void 0:s.elements)||void 0===l?void 0:l.own[g])||void 0===c?void 0:c.default)||void 0===u?void 0:u.container)||void 0===p?void 0:p.gap)&&void 0!==f?f:"0"}px`;t.useEffect((()=>{function e(e){var t,n;const i=null!==(t=null==e?void 0:e.selectedScrollSnap())&&void 0!==t?t:0,a=null!==(n=null==e?void 0:e.previousScrollSnap())&&void 0!==n?n:0;i!==y&&(i>a?L({type:wu.NEXT_IN_PROGRESSION}):i<a&&L({type:wu.PREV_IN_PROGRESSION}))}return null!=y&&(null==x||x.on("select",e),null==x||x.scrollTo(y)),()=>{null==x||x.off("select",e)}}),[x,y,L]);const M={overflow:"hidden"},j={backfaceVisibility:"hidden",display:"flex",touchAction:"pan-y",gap:T,alignItems:"stretch"},O=e=>{var t;return null!==(t=null==C?void 0:C.includes(e))&&void 0!==t&&t},k=n.peekThroughSize[Math.min(g,n.peekThroughSize.length-1)],V=k?"Fixed"===(R=k).type?`${R.value}px`:`${R.value}%`:"0px";var R;const H=null!==(h=n.viewableItems[Math.min(E,g)])&&void 0!==h?h:1,_={flex:`0 0 calc(${(e=>"0px"!==e&&"0%"!==e)(V)?`(100% - 2 * ${V} - (${H} + 1) * ${T})/${H}`:`(100% - (${H} - 1) * ${T})/${H}`})`,position:"relative",display:"flex",overflow:"auto"};return(null==m?void 0:m.length)>0?e.jsx(Ba,{styles:n.styles,children:({classnames:n})=>e.jsx("div",{ref:I,style:Object.assign(Object.assign({},M),A),"aria-disabled":S,tabIndex:w,className:null==n?void 0:n.own,"data-e2e":"CarouselDistribution","data-testid":a&&`${a}`,children:e.jsx("div",{style:j,"data-testid":a&&`${a}-container`,"data-e2e":"CarouselDistribution-Container",children:t.Children.toArray(m.map(((t,n)=>e.jsx("div",{style:_,"data-testid":a&&`${a}-slide-${n}`,"data-e2e":`CarouselDistribution-Slide-${n}`,children:e.jsx(Zu,{config:t,position:n,container:"row",visible:O(n)})}))))})})}):null}const Yu=Object.freeze([]);function Ju({schema:n,testId:a}){const o=zi(),r=t.useMemo((()=>fn(o)([{display:"flex",flexDirection:"column"}])),[o]),s=i.useSelector((e=>{var t;return(null===(t=e.progression)||void 0===t?void 0:t.groupSize)||0})),l=i.useSelector((e=>{var t;return(null===(t=e.progression)||void 0===t?void 0:t.indexGroups)||Yu})),c=i.useSelector((e=>e.slots||Yu)),d=t.useMemo((()=>l.map((e=>e.map((e=>c[e])).filter((e=>null!=e))))),[l,c]),u=t.useRef(null),p=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0})),f=Oi(),{tabIndex:h,isDisabled:v,styles:C}=b(f);return d.length?e.jsx(Ba,{styles:n.styles,children:({classnames:i})=>e.jsx("div",{ref:u,"data-testid":a,"data-e2e":"GroupedDistribution","aria-disabled":v,tabIndex:h,style:Object.assign({position:"relative",transition:`height ${n.transition.settings.duration/2}ms ease-in-out`,overflow:"hidden",boxSizing:"content-box"},C),children:t.Children.toArray(d.map(((o,l)=>e.jsx(Ar,{effect:n.transition,visible:l===p,parentElement:u.current,containerClassName:[r,null==i?void 0:i.own].filter(Boolean).join(" ")||void 0,children:t.Children.toArray(o.map(((t,n)=>{const i=s*l+n;return e.jsx(Zu,{config:t,position:i,visible:l===p,container:"column",testId:a?`${a}-child${i}`:void 0})})))}))))})}):null}const Xu={action:{CaptureOnly:"CaptureOnly",Url:"Url",Fulfillment:"Fulfillment",ExternalPaymentTrigger:"ExternalPaymentTrigger"},urlBehavior:{newTab:"newTab",roktWebViewSDK:"roktWebViewSDK",self:"self"},signalType:{SignalResponse:"SignalResponse",SignalGatedResponse:"SignalGatedResponse",SignalSecondaryResponse:"SignalSecondaryResponse",SignalOptInResponse:"SignalOptInResponse",SignalOptOutResponse:"SignalOptOutResponse"},conversionType:{Default:"Default",RealTime:"RealTime",RealTimeReferral:"RealTimeReferral"}};function Qu(e,t,n=!1){return Error(`Could not translate ${e} with guid: ${t}${n?" for child layout":""}`)}function ep(e,t=!1){var n;try{if(e.responseOptionsMap||t)return Object.assign(Object.assign({},e),{responseOptionsMap:a.mapObjIndexed(tp,null!==(n=e.responseOptionsMap)&&void 0!==n?n:{})});{const t=`Creative: ${e.instanceGuid}, did not receive a valid response options map.`;throw new W("NO_CREATIVE_RESPONSE_OPTIONS_MAP",t)}}catch(n){throw n.message?n:Qu("Creative",e.instanceGuid,t)}}function tp(e){try{let t,n;if(e.urlBehavior&&(t=Xu.urlBehavior[e.urlBehavior]),e.conversionType&&(n=Xu.conversionType[e.conversionType]),"External"===e.action){const t=`Creative response with instanceGuid '${e.instanceGuid}' uses legacy action type 'External'. This should be 'ExternalPaymentTrigger'.`;throw new W("LEGACY_EXTERNAL_ACTION_TYPE",t)}return Object.assign(Object.assign({},e),{urlBehavior:t,action:Xu.action[e.action],signalType:Xu.signalType[e.signalType],conversionType:n})}catch(t){throw t.message?t:Qu("CreativeResponse",e.instanceGuid)}}const np={UNSPECIFIED:y.Unspecified,OTHER:y.Other,CARD:y.Card,PAYPAL:y.PayPal,APPLE_PAY:y.ApplePay,GOOGLE_PAY:y.GooglePay,AFTERPAY:y.Afterpay};function ip(e){var t;if(e)return Object.assign(Object.assign({},e),{supportedPaymentMethods:null===(t=e.supportedPaymentMethods)||void 0===t?void 0:t.map((e=>{var t;return Object.assign(Object.assign({},e),{type:null!==(t=np[e.type])&&void 0!==t?t:y.Unspecified})}))})}function ap(e,t,n){try{return JSON.parse(e)}catch(e){throw Error(`Parse JSON failed, invalid JSON file for ${t} with guid ${n}.`)}}function op(){t.useEffect((()=>{const e=new ResizeObserver(function(e=100){let t;return()=>{t&&clearTimeout(t),t=setTimeout((()=>{var e,n;null===(n=null===(e=window.frameElement)||void 0===e?void 0:e.iFrameResizer)||void 0===n||n.resize(),t=void 0}),e)}}());return e.observe(document.body),()=>{e.disconnect()}}),[])}const rp={OneByOneDistribution:function(t){if("OneByOneDistribution"===t.type)return e.jsx(Gu,{schema:t.node})},StackedDistribution:function(t){if("StackedDistribution"===t.type)return e.jsx(qu,{schema:t.node})},ProgressIndicator:function(t){if("ProgressIndicator"===t.type)return e.jsx(Bu,{schema:t.node})},ProgressControl:function(t){if("ProgressControl"===t.type)return e.jsx(Ku,{schema:t.node})},Overlay:function(t){if("Overlay"===t.type)return e.jsx(Fs,{schema:t.node})},CloseButton:ir,MinimizeButton:function(t){if("MinimizeButton"===t.type)return e.jsx(us,{schema:t.node})},EscapeHatch:(sp=[function(t,n){if(E("CloseButton",t)){const n=JSON.parse(t.node.data);return e.jsx(nr,{schema:n.node,action:n.action})}},Ro],e=>sp.reduce(((t,n)=>void 0===t?n(e):t),void 0)),CarouselDistribution:function(t){if("CarouselDistribution"===t.type)return e.jsx(Wu,{schema:t.node})},GroupedDistribution:function(t){if("GroupedDistribution"===t.type)return e.jsx(Ju,{schema:t.node})},BottomSheet:function(t){if("BottomSheet"===t.type)return e.jsx(ml,{schema:t.node})},MinimizableBottomSheet:function(t){if("MinimizableBottomSheet"===t.type)return e.jsx(hl,{schema:t.node})}};var sp;function lp(e,t){e({type:Ce,payload:{name:"SignalActivation",parentGuid:t}})}function cp({pageInstanceGuid:n}){var o,r,s,l,c,d,u;const p=i.useSelector((e=>e.layout),a.equals),f=i.useDispatch(),h=i.useSelector((e=>({breakpoint:e.breakpoint,progression:Ru(e),customStates:e.customStates.root,domainStates:e.domainStates[Mu],firedEvents:e.firedEvents.root,formStates:e.formStates.root})),a.equals),v=i.useSelector((e=>e.slots.length)),C=i.useSelector((e=>{var t;const n=Number(null!==(t=e.serializableCache.get(zu))&&void 0!==t?t:"");return v-n})),y=i.useSelector(_u);et(Tn(),f),t.useEffect((()=>(p&&document.body.addEventListener("click",lp.bind(null,f,p.instanceGuid),{once:!0}),()=>{p&&document.body.removeEventListener("click",lp.bind(null,f,p.instanceGuid))})),[null==p?void 0:p.instanceGuid]),op(),t.useEffect((()=>{if(p){const e={type:Ce,payload:{name:"SignalImpression",parentGuid:p.instanceGuid}},t={type:ts,payload:{code:"LAYOUT_IMPRESSED"}};f(e),f(t)}}),[p]);const m=t.useCallback((e=>{f({type:Su.REPORT_ERROR,payload:e})}),[f]),g=i.useSelector((e=>e.breakpoint.initialised)),b=null!==(r=null===(o=h.progression)||void 0===o?void 0:o.activeGroupIndex)&&void 0!==r?r:0,E=null!==(l=null===(s=h.progression)||void 0===s?void 0:s.totalGroups)&&void 0!==l?l:1,I=null!==(d=null===(c=h.progression)||void 0===c?void 0:c.totalGroups)&&void 0!==d?d:v,x=t.useMemo((()=>qn({})({state:{progression:b+1,maxProgression:E,availableOffersCount:I,selectedCatalogItemQuantity:y,hiddenItemCount:C}})),[b,E,I,y,C]),L=t.useMemo((()=>gr(x,h.formStates)),[x,h.formStates]),D=t.useMemo((()=>yr(m)),[m]);return p&&g?e.jsx($i,{info:{layoutType:"OuterLayout",pageInstanceGuid:n},children:e.jsx(Jn,{value:L,children:e.jsx(Sn,{value:D,overrides:rp,children:e.jsx(In.Provider,{value:h,children:e.jsx(bn.Provider,{value:f,children:e.jsx(ti.Provider,{value:"OUTER",children:e.jsx(qi.Provider,{value:p.layoutSchemaVersion,children:e.jsxs(cr,{children:[null===(u=p.timers)||void 0===u?void 0:u.map((t=>e.jsx(pr,{timer:t},t.key))),e.jsx(Dn,{children:e=>e(p.layoutSchema)})]})})})})})})})}):null}var dp=Object.freeze({__proto__:null,getDistribution:function e(t){var n;switch(t.type){case"OneByOneDistribution":case"StackedDistribution":case"CarouselDistribution":case"GroupedDistribution":return t;case"Row":case"Column":case"When":case"ZStack":case"FlowRow":case"InlineContainer":case"ScrollableRow":case"ScrollableColumn":case"BottomSheet":case"MinimizableBottomSheet":case"Form":case"ActionButton":case"Overlay":for(const n of t.node.children){const t=e(n);if(t)return t}break;case"EscapeHatch":try{const{name:i,body:a}=JSON.parse(t.node.data);if(("loading-extension"===i||"minimized-bottomsheet-extension"===i)&&(null===(n=null==a?void 0:a.children)||void 0===n?void 0:n.length))for(const t of a.children){const n=e(t);if(n)return n}break}catch(e){break}case"TextInput":case"StaticImage":case"DataImage":case"DataImageCarousel":case"RichText":case"BasicText":case"ProgressIndicator":case"CreativeResponse":case"StaticLink":case"CloseButton":case"MinimizeButton":case"ProgressControl":case"StaticIcon":case"DataIcon":case"SlideStateTrigger":case"ToggleButtonStateTrigger":case"TimerStateTrigger":case"CatalogStackedCollection":case"CatalogCarouselCollection":case"CatalogResponseButton":case"CatalogQuantityOption":case"CatalogRadioGroup":case"CatalogQuantityCounter":case"PartnerEventButtonTrigger":case"CopyToClipboardButton":case"ButtonStateTrigger":case"CatalogCombinedCollection":case"CatalogSelectorsStacked":case"CatalogDevicePayButton":case"IconGroup":case"CatalogDropdown":case"CatalogImageGallery":case"CatalogThumbnailGallery":break;default:!function(e){throw Error(`Could not handle layout: ${JSON.stringify(e)}`)}(t)}},getDistributionViewableItems:function(e){switch(null==e?void 0:e.type){case"CarouselDistribution":case"GroupedDistribution":return e.node.viewableItems;default:return}}}),up=Object.assign({},dp);function*pp(e,t){const n=up.getDistribution(t),i=null==n?void 0:n.type,a=yield r.select(ms),o=function(e=0,t){var n;switch(null==t?void 0:t.type){case"CarouselDistribution":case"GroupedDistribution":{const i=Math.min(t.node.viewableItems.length,e);return null!==(n=t.node.viewableItems[i])&&void 0!==n?n:1}default:return 1}}("number"==typeof a?a:0,n);"OneByOneDistribution"!==i&&"CarouselDistribution"!==i&&"GroupedDistribution"!==i||(yield c.put({type:wu.INITIALISE_PROGRESSION,payload:{currentGroupIndex:0,totalCount:e,groupSize:o}}))}function*fp(e,t){var n,i;const{instanceGuid:o,layoutSchemaVersion:r,outerLayoutSchema:s,slots:l}=t.payload;o?yield c.put({type:Ce,payload:{name:"SignalLoadComplete",parentGuid:o}}):yield c.put({type:es,payload:{level:xl,code:_l,message:"Layout instance guid does not exist"}}),yield c.put({type:hu,payload:{modules:l.map((e=>e.layoutVariant.moduleName))}}),yield c.put({type:Nr,payload:s.breakpoints}),yield c.put({type:wu.LAYOUT_UPDATE,payload:{instanceGuid:o,layoutSchemaVersion:r,layoutSchema:s.layout,settings:s.settings,timers:null!==(n=s.timers)&&void 0!==n?n:void 0}}),yield c.put({type:wu.SET_SLOTS,payload:l}),a.isNil(s.settings)||(yield c.put({type:wu.SET_SETTINGS,payload:s.settings})),yield*pp(l.length,s.layout);const d=yield*function*(e,t,n){const i=null==t?void 0:t.enablePartnerValidation,a=["add-to-cart"],o=n.some((e=>a.some((t=>t===e.layoutVariant.moduleName))));if(i&&o)try{yield c.call(e.send,nc.PartnerValidationEvent.OPT_IN_TO_PARTNER_VALIDATION),yield c.spawn(hp,e,nc.PartnerValidationEvent.SHOW_PARTNER_VALIDATION_STATUS,(()=>({type:"ACTIVE/ADD",payload:{id:Uu}})))}catch(e){return yield c.put({type:es,payload:{level:Il,code:Nl,message:"Failed to establish partner validation."}}),"FAILURE"}return"OK"}(e.partner,s.settings,l);"OK"===d&&(yield c.call(kc,e.display,s.display,null===(i=s.settings)||void 0===i?void 0:i.frameControls))}function*hp(e,t,n){const i=s.eventChannel((i=>{const a=e.onEvent(t).subscribe((e=>{i(n(e))}));return()=>{a.unsubscribe()}}));for(;;){const e=yield c.take(i);yield c.put(e)}}function vp(e){return tf(e)}function Cp(e,t){return Error(`Migration process from v0_0 to v0_1 failed: could not transform ${e} node. For more details: ${t}`)}const yp=a.all(a.anyPass([function(e){return"Row"===e.type&&Ep(e.node.children)},function(e){return"Column"===e.type&&Ep(e.node.children)},Dp,wp])),mp=a.all(a.anyPass([function(e){return"Row"===e.type&&Ip(e.node.children)},function(e){return"Column"===e.type&&Ip(e.node.children)},wp,Dp,function(e){return"DataImage"===e.type},function(e){return"When"===e.type&&Ip(e.node.children)}])),gp=a.all(a.anyPass([function(e){return"Row"===e.type&&xp(e.node.children)},function(e){return"Column"===e.type&&xp(e.node.children)},wp,Dp])),bp=a.all(a.anyPass([function(e){return"Row"===e.type&&Lp(e.node.children)},function(e){return"Column"===e.type&&Lp(e.node.children)},Dp,function(e){return"RichText"===e.type},wp,function(e){return"ProgressIndicator"===e.type},function(e){return"OneByOneDistribution"===e.type},function(e){return"When"===e.type&&Lp(e.node.children)},function(e){return"StaticLink"===e.type&&Lp(e.node.children)},function(e){return"StackedDistribution"===e.type},function(e){return"CloseButton"===e.type&&Lp(e.node.children)}]));function Ep(e){return yp(e)}function Ip(e){return mp(e)}function xp(e){return gp(e)}function Lp(e){return bp(e)}function Dp(e){return"StaticImage"===e.type}function wp(e){return"BasicText"===e.type}const Sp=a.lensPath(["styles","elements","link"]),Ap=a.lensPath(["styles","elements","activeIndicator"]),Tp=a.lensPath(["styles","elements","indicator"]),Mp=a.lensPath(["styles","elements","seenIndicator"]),jp=a.lensPath(["focussed"]),Op=a.lensPath(["hovered"]),kp=a.lensPath(["default"]),Vp=a.lensPath(["pressed"]),Rp=e=>{var t;return{text:null!==(t=null==e?void 0:e.text)&&void 0!==t?t:{}}},Hp=a.when(a.hasPath(["styles","elements","link"]),a.pipe(a.over(Sp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default})))),a.over(Sp,a.map(a.when(a.has("focussed"),a.over(jp,Rp)))),a.over(Sp,a.map(a.when(a.has("hovered"),a.over(Op,Rp)))),a.over(Sp,a.map(a.when(a.has("default"),a.over(kp,Rp)))),a.over(Sp,a.map(a.when(a.has("pressed"),a.over(Vp,Rp)))))),_p=a.pipe(a.when(a.hasPath(["styles","elements","activeIndicator"]),a.over(Ap,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))),a.when(a.hasPath(["styles","elements","indicator"]),a.over(Tp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))),a.when(a.hasPath(["styles","elements","seenIndicator"]),a.over(Mp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))));function Pp(e,t){return e?{elements:{own:e.elements.own.map(t)}}:void 0}const Np=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),Fp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),$p=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),Zp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),Gp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),Bp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),Up=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),zp=e=>{switch(e){case"is":return"is";case"is not":return"is-not";case"is below":return"is-below";case"is above":return"is-above";default:throw Cp("When",`Invalid condition: ${e}`)}},qp=e=>{switch(e){case"breakpoint":return"Breakpoint";case"progression":return"Progression";case"position":return"Position";default:throw Cp("When",`Invalid target: ${e}`)}},Kp=e=>{const{target:t,condition:n,value:i}=e;return{type:qp(t),predicate:{condition:zp(n),value:i}}};function Wp(e){const t={type:"FadeInOut",settings:{duration:e.transition.settings.duration}};return{styles:e.style,transition:t}}function Yp(e){const t=e.children.map((e=>tf(e)));if(Ep(t))return Object.assign(Object.assign({},e),{children:t,styles:Pp(e.styles,Gp)});throw Cp("CloseButton",`Invalid schema: ${JSON.stringify(e)}`)}function Jp(e){const t=e.children.map((e=>tf(e)));if(Ip(t))return Object.assign(Object.assign({},e),{children:t,styles:Pp(e.styles,Bp)});throw Cp("CreativeResponse",`Invalid schema: ${JSON.stringify(e)}`)}function Xp(e){const t=e.children.map((e=>tf(e)));if(xp(t))return Object.assign(Object.assign({},e),{children:t,styles:Pp(e.styles,Up)});throw Cp("StaticLink",`Invalid schema: ${JSON.stringify(e)}`)}const Qp=e=>({own:e.overlayContainer,wrapper:e.overlayWrapper});function ef(e){var t,n;const i=(null===(t=e.styles)||void 0===t?void 0:t.elements)?{elements:Qp(null===(n=e.styles)||void 0===n?void 0:n.elements)}:void 0,a=e.children.map((e=>tf(e)));if(Lp(a))return Object.assign(Object.assign({},e),{styles:i,children:a});throw Cp("Overlay",`Invalid schema: ${JSON.stringify(e)}`)}function tf(e){switch(e.type){case"When":return{type:"When",node:(s=e.node,{predicates:s.predicates.map(Kp),children:s.children.map((e=>tf(e)))})};case"OneByOneDistribution":return{type:e.type,node:Wp(e.node)};case"Overlay":return{type:e.type,node:ef(e.node)};case"Column":return{type:e.type,node:(r=e.node,{styles:Pp(r.styles,Np),children:r.children.map((e=>tf(e)))})};case"Row":return{type:e.type,node:(o=e.node,{styles:Pp(o.styles,Fp),children:o.children.map((e=>tf(e)))})};case"RichText":return{type:e.type,node:(a=e.node,Hp(a))};case"CloseButton":return{type:e.type,node:Yp(e.node)};case"CreativeResponse":return{type:e.type,node:Jp(e.node)};case"StaticLink":return{type:e.type,node:Xp(e.node)};case"StaticImage":return{type:e.type,node:(i=e.node,Object.assign(Object.assign({},i),{styles:Pp(i.styles,$p)}))};case"DataImage":return{type:e.type,node:(n=e.node,Object.assign(Object.assign({},n),{styles:Pp(n.styles,Zp)}))};case"ProgressIndicator":return{type:e.type,node:(t=e.node,_p(t))};default:return e}var t,n,i,a,o,r,s}function nf(e){return ch(e)}function af(e,t){return Error(`Migration process from v0_23 to v1_0 failed: could not transform ${e} node. For more details: ${t}`)}const of=e=>"scroll"===e||"auto"===e?"visible":e,rf=a.lensPath(["elements","own"]),sf=a.lensPath(["transitions","transition","value","own"]),lf=a.lensPath(["elements","wrapper"]),cf=a.lensPath(["transitions","transition","value","wrapper"]),df=a.lensPath(["elements","indicator"]),uf=a.lensPath(["transitions","transition","value","indicator"]),pf=a.lensPath(["elements","activeIndicator"]),ff=a.lensPath(["transitions","transition","value","activeIndicator"]),hf=a.lensPath(["elements","seenIndicator"]),vf=a.lensPath(["transitions","transition","value","seenIndicator"]),Cf=a.lensPath(["default","container","overflow"]),yf=a.lensPath(["pressed","container","overflow"]),mf=a.lensPath(["hovered","container","overflow"]),gf=a.lensPath(["focussed","container","overflow"]),bf=a.lensPath(["disabled","container","overflow"]),Ef=a.lensPath(["container","overflow"]),If=a.pipe(a.when(a.hasPath(["default","container","overflow"]),a.over(Cf,of)),a.when(a.hasPath(["pressed","container","overflow"]),a.over(yf,of)),a.when(a.hasPath(["hovered","container","overflow"]),a.over(mf,of)),a.when(a.hasPath(["focussed","container","overflow"]),a.over(gf,of)),a.when(a.hasPath(["disabled","container","overflow"]),a.over(bf,of))),xf=a.when(a.hasPath(["container","overflow"]),a.over(Ef,of)),Lf=a.pipe(a.when(a.hasPath(["elements","own"]),a.over(rf,a.map(If))),a.when(a.hasPath(["transitions","transition","value","own"]),a.over(sf,xf))),Df=a.when(a.has("transitions"),(e=>{var t;return a.compose(a.omit(["transitions"]),a.assoc("conditionalTransitions",null===(t=e.transitions)||void 0===t?void 0:t.transition))(e)})),wf=a.pipe(Lf,Df),Sf=a.pipe(a.when(a.hasPath(["elements","wrapper"]),a.over(lf,a.map(If))),a.when(a.hasPath(["transitions","transition","value","wrapper"]),a.over(cf,xf))),Af=a.pipe(a.when(a.hasPath(["elements","indicator"]),a.over(df,a.map(If))),a.when(a.hasPath(["transitions","transition","value","indicator"]),a.over(uf,xf))),Tf=a.pipe(a.when(a.hasPath(["elements","activeIndicator"]),a.over(pf,a.map(If))),a.when(a.hasPath(["transitions","transition","value","activeIndicator"]),a.over(ff,xf))),Mf=a.pipe(a.when(a.hasPath(["elements","seenIndicator"]),a.over(hf,a.map(If))),a.when(a.hasPath(["transitions","transition","value","seenIndicator"]),a.over(vf,xf)));function jf(e){return"StaticImage"===e.type}function Of(e){return"StaticIcon"===e.type}function kf(e){return"BasicText"===e.type}function Vf(e){return"DataImage"===e.type}function Rf(e){return"DataIcon"===e.type}function Hf(e){return"RichText"===e.type}function _f(e){return"SlideStateTrigger"===e.type}function Pf(e){return"ToggleButtonStateTrigger"===e.type}const Nf=a.all(a.anyPass([function(e){return"Row"===e.type&&Ff(e.node.children)},function(e){return"Column"===e.type&&Ff(e.node.children)},jf,Of,Hf,kf,function(e){return"ProgressIndicator"===e.type},function(e){return"OneByOneDistribution"===e.type},function(e){return"When"===e.type&&Ff(e.node.children)},function(e){return"StaticLink"===e.type&&Ff(e.node.children)},function(e){return"StackedDistribution"===e.type},function(e){return"CarouselDistribution"===e.type},function(e){return"GroupedDistribution"===e.type},function(e){return"CloseButton"===e.type&&Ff(e.node.children)},function(e){return"ProgressControl"===e.type&&Yf(e.node.children)},function(e){return"ZStack"===e.type&&Ff(e.node.children)},function(e){return"FlowRow"===e.type&&Ff(e.node.children)},_f,Pf]));function Ff(e){return Nf(e)}const $f=a.pipe(Lf,Sf,Df);function Zf(e){const t=e.children.map((e=>ch(e)));if(Ff(t))return Object.assign(Object.assign({},a.omit(["settings"],e)),{children:t,allowBackdropToClose:e.settings.allowBackdropToClose,styles:e.styles?$f(e.styles):void 0});throw af("Overlay",`Invalid schema: ${JSON.stringify(e)}`)}function Gf(e){const t=e.children.map((e=>ch(e)));if(Yf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("CloseButton",`Invalid schema: ${JSON.stringify(e)}`)}function Bf(e){const t=e.children.map((e=>ch(e)));if(Xf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("CreativeResponse",`Invalid schema: ${JSON.stringify(e)}`)}function Uf(e){const t=e.children.map((e=>ch(e)));if(Yf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("ProgressControl",`Invalid schema: ${JSON.stringify(e)}`)}const zf=a.pipe(Lf,Af,Tf,Mf,Df);const qf=a.all(a.anyPass([kf,jf,Of,Vf,Rf,function(e){return"Row"===e.type&&Kf(e.node.children)},function(e){return"FlowRow"===e.type&&Kf(e.node.children)},function(e){return"Column"===e.type&&Kf(e.node.children)},function(e){return"ZStack"===e.type&&Kf(e.node.children)},function(e){return"When"===e.type&&Kf(e.node.children)}]));function Kf(e){return qf(e)}const Wf=a.all(a.anyPass([kf,jf,Of,function(e){return"Row"===e.type&&Yf(e.node.children)},function(e){return"FlowRow"===e.type&&Yf(e.node.children)},function(e){return"Column"===e.type&&Yf(e.node.children)},function(e){return"ZStack"===e.type&&Yf(e.node.children)},function(e){return"When"===e.type&&Yf(e.node.children)}]));function Yf(e){return Wf(e)}const Jf=a.all(a.anyPass([kf,jf,Of,Vf,Rf,function(e){return"Row"===e.type&&Xf(e.node.children)},function(e){return"FlowRow"===e.type&&Xf(e.node.children)},function(e){return"Column"===e.type&&Xf(e.node.children)},function(e){return"ZStack"===e.type&&Xf(e.node.children)},function(e){return"When"===e.type&&Xf(e.node.children)}]));function Xf(e){return Jf(e)}function Qf(e){const t=e.children.map((e=>ch(e)));if(Kf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("StaticLink",`Invalid schema: ${JSON.stringify(e)}`)}function eh(e){const t=e.children.map((e=>ch(e)));if(Xf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("CatalogResponseButton",`Invalid schema: ${JSON.stringify(e)}`)}function th(e){return"Row"===e.type&&ah(e.node.children)}function nh(e){return"Column"===e.type&&ah(e.node.children)}const ih=a.all(a.anyPass([kf,jf,Of,Vf,Rf,Hf,function(e){return"StaticLink"===e.type},_f,Pf,function(e){return"CatalogResponseButton"===e.type},th,function(e){return"FlowRow"===e.type&&ah(e.node.children)},nh,function(e){return"ZStack"===e.type&&ah(e.node.children)},function(e){return"When"===e.type&&ah(e.node.children)}]));function ah(e){return ih(e)}const oh=a.anyPass([th,nh]);function rh(e){const t=ch(e.template);if(function(e){return oh(e)}(t))return Object.assign(Object.assign({},e),{template:t,styles:e.styles?wf(e.styles):void 0});throw af("CatalogStackedCollection",`Invalid schema: ${JSON.stringify(e)}`)}function sh(e){const t=e.children.map((e=>ch(e)));if(Kf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?wf(e.styles):void 0});throw af("ToggleButtonStateTrigger",`Invalid schema: ${JSON.stringify(e)}`)}function lh(e){const t=e.transition?{inTransition:e.transition.in,outTransition:e.transition.out}:void 0;return Object.assign(Object.assign({},e),{children:e.children.map((e=>ch(e))),transition:t})}function ch(e){switch(e.type){case"Row":return{type:e.type,node:(m=e.node,Object.assign(Object.assign({},m),{children:m.children.map((e=>ch(e))),styles:m.styles?wf(m.styles):void 0}))};case"When":return{type:e.type,node:lh(e.node)};case"FlowRow":return{type:e.type,node:(y=e.node,Object.assign(Object.assign({},y),{styles:y.styles?wf(y.styles):void 0,children:y.children.map((e=>ch(e)))}))};case"Column":return{type:e.type,node:(C=e.node,Object.assign(Object.assign({},C),{children:C.children.map((e=>ch(e))),styles:C.styles?wf(C.styles):void 0}))};case"ZStack":return{type:e.type,node:(v=e.node,Object.assign(Object.assign({},v),{styles:v.styles?wf(v.styles):void 0,children:v.children.map((e=>ch(e)))}))};case"Overlay":return{type:e.type,node:Zf(e.node)};case"ProgressControl":return{type:e.type,node:Uf(e.node)};case"CarouselDistribution":return{type:"CarouselDistribution",node:(h=e.node,Object.assign(Object.assign({},a.omit(["settings"],h)),{viewableItems:h.settings.viewableItems,peekThroughSize:h.settings.peekThroughSize,styles:h.styles?wf(h.styles):void 0}))};case"CloseButton":return{type:"CloseButton",node:Gf(e.node)};case"CreativeResponse":return{type:"CreativeResponse",node:Bf(e.node)};case"GroupedDistribution":return{type:"GroupedDistribution",node:(f=e.node,Object.assign(Object.assign({},a.omit(["settings"],f)),{viewableItems:f.settings.viewableItems,transition:f.settings.transition,styles:f.styles?wf(f.styles):void 0}))};case"OneByOneDistribution":return{type:"OneByOneDistribution",node:(p=e.node,Object.assign(Object.assign({},p),{styles:p.styles?wf(p.styles):void 0}))};case"ProgressIndicator":return{type:"ProgressIndicator",node:(d=e.node,Object.assign(Object.assign({},a.omit(["settings"],d)),{startPosition:null===(u=d.settings)||void 0===u?void 0:u.startPosition,styles:d.styles?zf(d.styles):void 0}))};case"SlideStateTrigger":return{type:"SlideStateTrigger",node:(c=e.node,Object.assign(Object.assign({},c),{styles:c.styles?wf(c.styles):void 0}))};case"StackedDistribution":return{type:"StackedDistribution",node:(l=e.node,Object.assign(Object.assign({viewableItems:[]},l),{styles:l.styles?wf(l.styles):void 0}))};case"StaticLink":return{type:"StaticLink",node:Qf(e.node)};case"ToggleButtonStateTrigger":return{type:"ToggleButtonStateTrigger",node:sh(e.node)};case"CatalogResponseButton":return{type:"CatalogResponseButton",node:eh(e.node)};case"CatalogStackedCollection":return{type:"CatalogStackedCollection",node:rh(e.node)};case"RichText":return{type:"RichText",node:(s=e.node,Object.assign(Object.assign({},s),{styles:s.styles?Df(s.styles):void 0}))};case"DataImage":return{type:"DataImage",node:(r=e.node,Object.assign(Object.assign({},r),{styles:r.styles?Df(r.styles):void 0}))};case"StaticImage":return{type:"StaticImage",node:(o=e.node,Object.assign(Object.assign({},o),{styles:o.styles?Df(o.styles):void 0}))};case"DataIcon":return{type:"DataIcon",node:(i=e.node,Object.assign(Object.assign({},i),{styles:i.styles?Df(i.styles):void 0}))};case"StaticIcon":return{type:"StaticIcon",node:(n=e.node,Object.assign(Object.assign({},n),{styles:n.styles?Df(n.styles):void 0}))};case"BasicText":return{type:"BasicText",node:(t=e.node,Object.assign(Object.assign({},t),{styles:t.styles?Df(t.styles):void 0}))};default:return e}var t,n,i,o,r,s,l,c,d,u,p,f,h,v,C,y,m}function dh(e){const t=e.split("."),n=Number(t[0]),i=Number(t[1]);if(t.length<2||Number.isNaN(n)||Number.isNaN(i))throw Error(`Fail to convert version ${e} to a valid version.`);return{major:n,minor:i}}function uh(e,t){return e.major===t.major&&e.minor===t.minor}const ph=(e,t,n)=>a.allPass([a.lte(e),a.gte(t)])(n);function fh(e,t){return uh(t,{major:0,minor:0})?fh(vp(e),{major:0,minor:1}):function(e,t){return 0===t.major&&ph(1,23,t.minor)}(0,t)?fh(nf(e),{major:1,minor:0}):e}function hh(e,t){return uh(t,{major:0,minor:0})?hh(function(e){return Object.assign(Object.assign({},e),{layout:vp(e.layout)})}(e),{major:0,minor:1}):function(e,t){return 0===t.major&&ph(1,23,t.minor)}(0,t)?hh(function(e){return Object.assign(Object.assign({},e),{layout:nf(e.layout)})}(e),{major:1,minor:0}):e}function vh(e,t,n,i){const a=dh(n);if(i){const s=dh(i);if(r=a,(o=s).major<r.major||o.major===r.major&&o.minor<r.minor||uh(s,a))return t(e,s);throw Error(`Could not migrate received layout config, config schema version ${i} is higher than the supported version ${n}.`)}return t(e,dh("0.0"));var o,r}function Ch(e){var t;try{return Object.assign(Object.assign({},a.clone(e)),{offer:Object.assign(Object.assign({},a.clone(e.offer)),{creative:ep(e.offer.creative),transactionData:ip(e.offer.transactionData)}),layoutVariant:Object.assign(Object.assign({},a.clone(e.layoutVariant)),{layoutVariantSchema:"string"==typeof e.layoutVariant.layoutVariantSchema?ap(e.layoutVariant.layoutVariantSchema,"LayoutSlotLayoutVariant",e.instanceGuid):e.layoutVariant.layoutVariantSchema,childLayouts:a.map(yh,null!==(t=e.layoutVariant.childLayouts)&&void 0!==t?t:[])})})}catch(t){throw t.message?t:Qu("Slot",e.instanceGuid)}}function yh(e){return Object.assign(Object.assign({},a.clone(e)),{childLayoutSchema:"string"==typeof e.childLayoutSchema?ap(e.childLayoutSchema,"ChildLayoutRootSchema",e.childLayoutId):e.childLayoutSchema})}function mh(e){if(e){const t=function(e){try{return Object.assign(Object.assign({},a.clone(e)),{outerLayoutSchema:"string"==typeof e.outerLayoutSchema?ap(e.outerLayoutSchema,"LayoutRootLayoutSchema",e.instanceGuid):e.outerLayoutSchema,slots:a.map(Ch,e.slots)})}catch(t){throw t.message?t:Qu("LayoutConfig",e.instanceGuid)}}(e);return function(e,t){const{layoutSchemaVersion:n}=e,i=a.lensPath(["outerLayoutSchema"]),o=a.lensPath(["slots"]),r=a.lensPath(["layoutVariant","layoutVariantSchema"]);return a.pipe(a.over(o,a.map(a.over(r,(e=>vh(e,fh,t,n))))),a.over(i,(e=>vh(e,hh,t,n))))(e)}(t,Dl.DCUI_SCHEMA_VERSION)}}const gh=["add-to-cart"];function bh(e){var t;return(null!==(t=e.offer.catalogItems)&&void 0!==t?t:[]).map((e=>e.cartItemId)).filter((e=>"string"==typeof e))}function*Eh(e){const{cartItemId:t,quantity:n}=e;if(n<=0)return;const i=yield r.select((({slots:e})=>e));if(0===i.length)return;const a=i.filter((e=>gh.some((t=>t===e.layoutVariant.moduleName))));if(0===a.length)return;const o=j(t);if(!a.some((e=>bh(e).some((e=>j(e)===o)))))return;i.some((e=>bh(e).some((e=>e===t))))||(yield r.put({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:O(t)}}),yield r.put({type:Le,payload:{name:"UPDATE_CART_ITEM_MESSAGE",body:O(t)}}),yield r.put({type:es,payload:{level:K,code:k,message:`Catalog item not found for cart item id (${t})`}}))}function*Ih(e){const t=s.eventChannel((t=>{const n=e.onEvent(Ql.V2.PartnerMessage.UpdateCartItem).subscribe((e=>{V(e)&&t(e)}));return()=>{n.unsubscribe()}}));try{for(;;){const e=yield r.take(t);try{yield r.call(Eh,e)}catch(e){yield r.put({type:es,payload:{level:K,code:k,message:null==e?void 0:e.message}})}}}finally{t.close()}}const xh=a.cond([[a.where({signalType:a.equals("SignalSecondaryResponse")}),function*(e,t){return yield r.put({type:es,payload:{level:Ll,code:Rl,message:"DCUI does not support SignalSecondaryResponse creative response signal type.",additionalInformation:{instanceGuid:e.instanceGuid}}}),e.isPositive?"ERROR":"EXPLICIT_DISMISSAL"}],[a.where({isPositive:a.equals(!0)}),function*(e,t,n,i){var a,o;if("url"in e&&e.url){const s=e.instanceGuid;"SignalProductItemResponse"===e.signalType&&(ue(o=i.payload)&&"catalogItemId"in o&&"productSku"in o&&"catalogId"in o&&"accountID"in o&&"string"==typeof o.catalogItemId&&"string"==typeof o.productSku&&"string"==typeof o.catalogId&&"string"==typeof o.accountID)?yield r.put({type:Ce,payload:{name:"SignalProductItemResponse",parentGuid:s,objectData:{catalogItemId:i.payload.catalogItemId,productSku:i.payload.productSku,catalogId:i.payload.catalogId,accountId:i.payload.accountID}}}):yield r.put({type:Ce,payload:{name:M(e.signalType),parentGuid:s,responseActionPayload:{name:"Url",transformedTrafficURL:e.url,creativeInstanceGuid:e.creativeInstanceGuid}}});const l=t.getOverrideLinkNavigation()?"overrideLinkNavigation":null!==(a=e.urlBehavior)&&void 0!==a?a:"newTab",c=yield*function*(e,t,n){try{const i=yield r.call(lc,t),a=pc(i)?i.ref:void 0;return yield r.call(e.addAdvertiserWindowRef,a,n),pc(i)||"newTab"!==t.urlBehavior?"SUCCESS":(yield r.put({type:es,payload:{level:Ll,code:Hl,message:`Did not receive a window reference opening link ${t.url}`}}),"UNSPECIFIED")}catch(e){return yield r.put({type:es,payload:{level:Ll,code:Hl,message:`Errored attempting to open link ${t.url}: ${e.message}`,stack:e.stack}}),"ERROR"}}(t,{url:e.url,urlBehavior:l,external:{partner:n}},s);return"self"===l?"END":c}return yield r.put({type:es,payload:{level:Ll,code:Rl,message:"URL response doesn't have a valid url",additionalInformation:{instanceGuid:e.instanceGuid}}}),"ERROR"}],[a.T,function*(){return"EXPLICIT_DISMISSAL"}]]);function*Lh(e){return yield r.put({type:es,payload:{level:Ll,code:Rl,message:"DCUI does not support SignalSecondaryResponse creative response signal type.",additionalInformation:{instanceGuid:e.instanceGuid}}}),e.isPositive?"ERROR":"EXPLICIT_DISMISSAL"}function*Dh(e,t){let n="IMPLICIT_DISMISSAL";const i=t.payload.offerPositionIndex,a=ue(t.payload)||pe(t.payload)||de(t.payload)?t.payload:t.payload.responseOption;switch(a.action){case"Url":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),a.isPositive&&(yield r.put({type:ts,payload:{code:"CREATIVE_RESPONSE",message:"creative positive response",data:{type:a.action,isPositive:a.isPositive,responseInstanceGuid:a.instanceGuid}}}),yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),n="SignalSecondaryResponse"===a.signalType?yield*Lh(a):yield*xh(a,e.context,e.partner,t);break;case"CaptureOnly":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),a.isPositive&&(yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),n="SignalSecondaryResponse"===a.signalType?yield*Lh(a):yield*function*(e){return yield r.put({type:Ce,payload:{name:M(e.signalType),parentGuid:e.instanceGuid,responseActionPayload:{name:"CaptureOnly",creativeInstanceGuid:e.creativeInstanceGuid}}}),e.isPositive?"SUCCESS":"EXPLICIT_DISMISSAL"}(a);break;case"Fulfillment":yield r.put({type:es,payload:{level:Ll,code:"INCORRECTLY_HANDLE_FULFILLMENT_ACTION",message:`Fulfillment action is incorrectly handled by the orchestrator instead of a module with the option ID: ${a.instanceGuid}`}}),n="ERROR";break;case"ExternalPaymentTrigger":if("SignalOptInResponse"===a.signalType){yield r.put({type:Ce,payload:{name:"SignalOptInResponse",parentGuid:a.instanceGuid,responseActionPayload:{name:"ExternalPaymentTrigger"}}});break}yield r.put({type:es,payload:{level:Ll,code:"INCORRECTLY_HANDLE_EXTERNAL_ACTION",message:`External action was dispatched as an engagement erroneously. Instance GUID: ${a.instanceGuid}`}}),n="ERROR"}fe(t.payload)||(yield r.put(function(e,t){switch(e){case"SUCCESS":return{type:Iu,payload:{event:"Completed",completionReason:"Success",offerPositionIndex:t}};case"UNSPECIFIED":return{type:Iu,payload:{event:"Completed",completionReason:"Unspecified",offerPositionIndex:t}};case"ERROR":return{type:Iu,payload:{event:"Completed",completionReason:"Error",offerPositionIndex:t}};case"EXPLICIT_DISMISSAL":return{type:Iu,payload:{event:"Dismissed",dismissalReason:"Explicit",offerPositionIndex:t}};case"IMPLICIT_DISMISSAL":return{type:Iu,payload:{event:"Dismissed",dismissalReason:"Implicit",offerPositionIndex:t}};default:return{type:gu,payload:{offerProcessStatus:"END"}}}}(n,i)))}function wh(e,t,n,i){return s.eventChannel((a=>(i().then((e=>Promise.all([t.getRoktPageInstanceGuid(),(t.getUId||t.getPluginInstanceId)()]).then((([t,n])=>Object.assign(Object.assign({},e),{pageInstanceGuid:t,pluginInstanceId:n}))).catch((()=>e)))).then((({moduleConnectorBuilder:t,pageInstanceGuid:i,pluginInstanceId:o})=>{const r=`rokt-${n}-${o}`.toLowerCase();if(!customElements.get(r)){const o=t.withGatewayFactory(e).withLogger((e=>{a({type:es,payload:{level:e.level,code:e.code,message:e.message,additionalInformation:Object.assign(Object.assign({},e.additionalInformation),{moduleName:n,layoutType:"LayoutVariant",pageInstanceGuid:null!=i?i:"N/A"})}})})).build();customElements.define(r,o)}})).catch((e=>{const t=e&&"object"==typeof e&&"message"in e?e.message:void 0,i=e&&"object"==typeof e&&"stack"in e?e.stack:void 0;a({type:es,payload:{level:z,code:"FAILED_TO_LOAD_MODULE",message:t,additionalInformation:{stack:i,reason:t?void 0:e,moduleName:n}}}),a(s.END)})),()=>{})))}const Sh={"standard-marketing":()=>Promise.resolve().then((function(){return Yv})),"add-to-cart":()=>Promise.resolve().then((function(){return by})),"instant-purchase":()=>Promise.resolve().then((function(){return Db})),"layouts-xp-sandbox":()=>Promise.resolve().then((function(){return iE}))};function*Ah(e,t,n){let i=yield r.select((e=>e.module.loadedModules));for(const a of n.payload.modules)i&&!(null==i?void 0:i.includes(a))&&(i=[...i,a],yield r.fork(Th,e,t,a))}function*Th(e,t,n){if(n in Sh){yield r.put({type:fu,payload:n});const i=yield r.call(wh,e,t,n,Sh[n]);yield r.call(kl,i)}else yield r.put({type:es,payload:{level:Il,code:"INVALID_MODULE_NAME",message:`Could not load unknown module ${n}`}})}function*Mh(e){const t=yield r.select((e=>up.getDistributionViewableItems(e.layout?up.getDistribution(e.layout.layoutSchema):void 0))),n=yield r.select((n=>{var i;const a=ys(e.payload.activeBreakpoint)(n);return a>=0&&t?null!==(i=t[Math.min(t.length-1,a)])&&void 0!==i?i:1:void 0}));if("number"==typeof n){const e={type:mu,payload:{groupSize:n}};yield r.put(e)}}const jh=a.cond([[(e,t,n,i,a)=>"END"===e.offerProcessStatus,a.always({type:Gr})],[(e,t,n,i,a)=>!0===e.isNegativeResponse&&"ALWAYS"===i,a.always({type:Gr})],[(e,t,n,i,a)=>t.isLastOffer&&n,a.always({type:Gr})],[(e,t,n,i,a)=>1===a&&!t.isLastOffer,a.always({type:Cu})],[a.T,a.always(void 0)]]);function*Oh(e,t){yield r.put({type:xu,payload:{key:P,value:1}}),t&&(yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:e,dismissalMethod:Xr}})),yield r.put({type:Le,payload:{name:"PLACEMENT_COMPLETED"}})}function*kh(e){const t=yield r.select((e=>({exists:null!==e.progression,isLastOffer:Vu(e)}))),n=yield r.select((e=>{var t;return null===(t=e.progression)||void 0===t?void 0:t.groupSize}));var i;null!=(i=t)&&i instanceof Object&&"exists"in i&&"isLastOffer"in i&&t.exists&&(yield*function*(e,t,n){const i=yield r.select((e=>e.settings.closeOnComplete)),a=yield r.select((e=>e.settings.closeOnNegativeResponse)),o=jh(e,t,"boolean"==typeof i&&i,function(e){return"string"==typeof e?e:"NEVER"}(a),n),s=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),l=!0===(yield r.select((e=>e.settings.minimizeOnComplete)))&&null!=s;if(o){if(o.type===Gr){if(l&&t.isLastOffer&&null!=s)return void(yield*Oh(s,!0===e.isNegativeResponse));yield r.put({type:Le,payload:{name:"PLACEMENT_COMPLETED"}})}yield r.put(o)}else l&&t.isLastOffer&&null!=s&&(yield*Oh(s,!0===e.isNegativeResponse))}(e.payload,t,n))}function Vh(e){return e.type===Iu&&"Interactive"===e.payload.event}function Rh(e){return e.type===Iu&&"Interactive"!==e.payload.event}function*Hh(e){switch(e.payload.event){case"Dismissed":yield r.put({type:gu,payload:{offerProcessStatus:"CONTINUE",isNegativeResponse:"Explicit"===e.payload.dismissalReason}});break;case"Completed":yield r.put({type:xu,payload:{key:H,value:a.cond([[a.equals("Error"),a.always(-1)],[a.equals("Success"),a.always(1)],[a.T,a.always(2)]])(e.payload.completionReason),offerPositionIndex:e.payload.offerPositionIndex}}),yield r.put({type:gu,payload:{offerProcessStatus:"CONTINUE"}});break;case"Interactive":yield r.put({type:se,payload:{name:"Interactive",offerPositionIndex:e.payload.offerPositionIndex}}),yield r.put({type:Le,payload:{name:"PLACEMENT_INTERACTIVE"}})}}function*_h(e,t){var n;try{const n=yield r.select((e=>{var t,n,i;return null!==(i=null===(n=null===(t=e.layout)||void 0===t?void 0:t.settings)||void 0===n?void 0:n.enablePartnerValidation)&&void 0!==i&&i}));n&&(yield r.call(e.partner.send,nc.PartnerValidationEvent.SET_PARTNER_VALIDATION_STATUS,{errors:t.payload.errors}))}catch(i){const a=yield r.select((({slots:e})=>{var n,i;return"number"==typeof t.payload.offerPositionIndex?null!==(i=null===(n=e.at(t.payload.offerPositionIndex))||void 0===n?void 0:n.layoutVariant.moduleName)&&void 0!==i?i:"Unknown":"orchestrator"})),o=null!==(n=yield r.call(e.context.getRoktPageInstanceGuid))&&void 0!==n?n:"N/A",s={type:es,payload:{level:K,code:"PARTNER_VALIDATION_UPDATE_FAILED",message:"Failed to update the partner with error status",additionalInformation:{moduleName:a,layoutType:"number"==typeof t.payload.offerPositionIndex?"LayoutVariant":"OuterLayout",pageInstanceGuid:o}}};yield r.put(s)}}function*Ph(e){const t=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));yield r.put({type:wu.ACTIVE_DELETE,payload:{id:e.payload.id}}),yield r.put({type:Gr}),t?(yield r.put({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:t}}),yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t}})):yield r.put({type:es,payload:{level:xl,code:_l,message:"ParentGuid does not exist"}})}function*Nh(e){var t;const n=e.payload.action;switch(n.type){case"Close":yield r.put({type:Ve,payload:{id:Re,dismissalMethod:null!==(t=n.action.dismissalMethod)&&void 0!==t?t:void 0}});break;case"SetCustomState":yield r.put({type:be,payload:{key:n.action.key,value:n.action.value}})}}function*Fh(e,t){yield r.all([r.takeEvery(es,Vl.bind(null,e.errorService.raise)),r.spawn(Ih,e.partnerInteractionService),r.takeLatest(Zr,fp.bind(null,{display:e.displayService,partner:e.partnerInteractionService})),r.takeEvery(hu,Ah.bind(null,t,e.contextService)),r.takeLatest(Lu,Dh.bind(null,{partner:e.partnerInteractionService,context:e.contextService})),r.takeEvery(gu,kh),r.takeEvery(Rh,Hh),Ol(Vh,Hh),r.takeLatest(Nr,Wl.bind(null,e.displayService)),r.takeLatest(Gr,Ac.bind(null,e.contextService)),r.takeLatest(Eu,Ph),r.takeLatest(Ve,ad),r.takeEvery(Ce,Rc),r.takeEvery(Se,Hc),jl(se,nd.bind(null,e.metricsService)),jl(Jr,_c.bind(null,e.rdnService)),r.takeEvery(ts,Vc.bind(null,e.errorService.raise)),r.takeLatest(_r,Mh),r.takeEvery(be,Xc),r.takeEvery(ed,td),r.takeEvery(He,Nh),r.takeEvery(Ae,id.bind(null,{createChildPlugin:e.childPlugin.create,partner:e.partnerInteractionService,context:e.contextService})),r.takeLatest(Te,_h.bind(null,{partner:e.partnerInteractionService,context:e.contextService}))])}var $h,Zh,Gh,Bh,Uh,zh,qh=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},Kh=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)};const Wh={[Be.SET_CUSTOM_STATE]:wu.SET_CUSTOM_STATE,[Be.SET_DOMAIN_STATE]:wu.SET_DOMAIN_STATE,[Be.SET_GLOBAL_OFFER_DATA_CART]:wu.SET_GLOBAL_OFFER_DATA_CART,[Be.OFFER_LIFECYCLE]:Su.OFFER_LIFECYCLE,[Be.OFFER_ENGAGEMENT]:Su.OFFER_ENGAGEMENT,[Be.SET_PARTNER_VALIDATION_STATUS]:Su.SET_PARTNER_VALIDATION_STATUS,[Be.REGISTER_FORM_FIELD]:wu.REGISTER_FORM_FIELD,[Be.UNREGISTER_FORM_FIELD]:wu.UNREGISTER_FORM_FIELD,[Be.SET_FORM_FIELD_VALUE]:wu.SET_FORM_FIELD_VALUE,[Be.SET_FORM_FIELD_TOUCHED]:wu.SET_FORM_FIELD_TOUCHED,[Be.VALIDATE_FORM_FIELDS]:wu.VALIDATE_FORM_FIELDS};class Yh{constructor(e){$h.add(this),Zh.set(this,void 0),qh(this,Zh,e,"f")}getState(e){const t=Kh(this,Zh,"f").getState();return{breakpoint:t.breakpoint,progression:Ru(t),customStates:gs(t,e.offerPositionIndex),domainStates:Hu(t,e.offerPositionIndex),firedEvents:bs(t,e.offerPositionIndex),formStates:Is(t,e.offerPositionIndex)}}dispatch(e,t){Kh(this,Zh,"f").dispatch(Kh(this,$h,"m",zh).call(this,e,t))}subscribe(e,t){return t(this.getState(e)),Kh(this,Zh,"f").subscribe((()=>{t(this.getState(e))}))}}function Jh(e,t){const n=s(),i={},a=l.configureStore({reducer:Ou,devTools:{name:"Orchestrator"},preloadedState:Object.assign(Object.assign({},ku()),t),middleware:e=>{return e({thunk:!1,serializableCheck:!1}).concat((t=i,e=>e=>n=>{if("object"==typeof n&&null!==n&&"type"in n){const i=n.type,a=t[`${i}`];return e(a?a(n):n)}return e(n)}),n);var t}}),o=(r=function(e){return new Yh(e)}(a),c=e.childPlugin.create,d=e.partnerInteractionService.onEvent,u=()=>a.getState().fonts,(e,t)=>new vi(r,c,e,t,d,u));var r,c,d,u;n.run(Fh,e,o),n.run(Oc,e,mh);const p={};return Object.assign(Object.assign({},a),{extend:({reducer:t,interceptors:o,sagas:r})=>{t&&(Object.assign(p,t),a.replaceReducer(l.combineReducers(Object.assign(Object.assign({},Ou),p)))),o&&Object.assign(i,o),r&&n.run(r,e)}})}Zh=new WeakMap,$h=new WeakSet,Gh=function(e,t,n){return{type:e,payload:Object.assign(Object.assign({},t),{offerPositionIndex:n.offerPositionIndex,creativeInstanceGuid:n.creativeInstanceGuid})}},Bh=function(e,t){return Object.assign(Object.assign({},t),{payload:Object.assign(Object.assign({},t.payload),{offerPositionIndex:e.offerPositionIndex,creativeInstanceGuid:e.creativeInstanceGuid})})},Uh=function(e,t){return t.type===Se?t.payload.signal.parentGuid||(t.payload.signal.parentGuid=e.creativeInstanceGuid):(t.payload.creativeInstanceGuid=e.creativeInstanceGuid,t.payload.parentGuid||(t.payload.parentGuid=e.creativeInstanceGuid)),t},zh=function(e,t){return function(e){return e.type in Wh}(t)?Kh(this,$h,"m",Gh).call(this,Wh[t.type],t.payload,e):t.type===Ce||t.type===Se?Kh(this,$h,"m",Uh).call(this,e,t):t.type===we?Kh(this,$h,"m",Bh).call(this,e,t):t};var Xh=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const Qh={ctx:new Map([[Bd.name,Bd],[Nd.name,Nd],[Md.name,Md],[$d.name,$d],[pu.name,pu]]),cache:[]};class ev{constructor(){this._subscribers=[]}add(e){this._subscribers.push(e)}unsubscribe(){this._subscribers.forEach((e=>e.unsubscribe()))}}const tv=()=>{},nv=(e=tv,t=tv,n=tv)=>"function"!=typeof e?e:{next:e,error:t,complete:n};class iv{constructor(e){this._setupFn=e}subscribe(e,t,n){const i=nv(e,t,n);let a,o=!0;const r={next:e=>{o&&i.next(e)},complete:()=>{o&&(a&&a(),i.complete(),o=!1)},error:e=>{o&&(i.error(e),o=!1)}};a=this._setupFn(r),o||a&&a();const s=new ev;return s.add({unsubscribe:()=>{a&&a(),o=!1}}),s}}class av extends iv{constructor(){super((e=>(this._isComplete&&e.complete(),this._observers.push(e),()=>this._observers=this._observers.filter((t=>t!==e))))),this._observers=[],this._isComplete=!1}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){this._isComplete=!0;for(const e of this._observers)e.complete()}asObservable(){return new iv((e=>{const t=this.subscribe(e);return()=>t.unsubscribe()}))}}const ov={CompletedBeforeEmit:"CompletedBeforeEmit"};var rv=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};class sv{constructor(e,t){this._target=e,this._handler=t}subscribe(e,t,n){const i=e.next?e.next.bind(e):e,a={next:(...e)=>rv(this,void 0,void 0,(function*(){try{yield i(...e)}catch(e){this._handler(e)}})),error:e.error?e.error.bind(e):t,complete:e.complete?e.complete.bind(e):n};return this._target.subscribe(a)}}class lv{constructor(e){this.value=e,this.complete=!1,this.skip=!1}}var cv=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const dv={getBreakpointCSSClass:oe},uv="CHILD_LAYOUTS/ADD_LAUNCHED",pv="DYNAMIC_DATA/ADD";function fv(e={launched:{}},t){if(t.type===uv){const n=t.payload;return n.childLayoutId?a.assocPath(["launched",n.childLayoutId],n.shouldRelaunch,e):e}return e}function hv(e=null,t){return e}function vv(e=null,t){if(t.type===pv){const n=t.payload;return e?n?a.mergeDeepRight(e,n):e:n}return e}function Cv(e,t){var n;return null===(n=e.childLayouts.launched[t])||void 0===n||n}function yv(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer}function mv(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.schemaVersion}function gv(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.position}const bv=Object.freeze({});function Ev(e){var t;return(null===(t=e.dynamicData)||void 0===t?void 0:t.text)?e.dynamicData.text:bv}const Iv="FAILED_TO_LAUNCH_CHILD_LAYOUT",xv="DROPPED_CHILD_BEHAVIOR",Lv=new Map;function*Dv(e,t,n){var i;if(yield null===(i=r.select(Cv,n.payload.childLayoutId))||void 0===i||i){yield r.put({type:uv,payload:{childLayoutId:n.payload.childLayoutId,shouldRelaunch:!1}});const i=yield r.select(mv),o=yield r.select(yv),s=yield r.select(gv),l=yield r.select(Ev);try{const c=(a=function(e,t,n,i,a){return{instanceGuid:e.instanceGuid,childLayoutId:e.childLayoutId,childLayoutSchema:e.childLayoutSchema,offer:t,layoutSchemaVersion:n,content:{text:i},globalState:a}}(n.payload,o,i,l,function(e){let t;return e.onGlobalStateChange((e=>{t=null!=t?t:wv(e)}))(),t}(e)),JSON.parse(JSON.stringify(a)));try{const i=yield r.call(e.createChildPlugin,{name:"dcui-child",config:c,targetElementSelector:n.payload.targetElementSelector});yield r.spawn(Av,e,t,i,{offer:o,offerPositionIndex:s})}catch(e){yield r.call(t,{level:K,code:Iv,message:"Could not launch child layout, failed creating plugin."})}}catch(e){yield r.call(t,{level:K,code:Iv,message:"Could not launch child layout, failed to make the child layout config serializable."})}}var a}function wv(e){return{progression:e.progression,customStates:e.customStates,domainStates:e.domainStates,firedEvents:e.firedEvents,formStates:e.formStates}}function Sv(e,t){const n=Ye[e.type];return n&&n(e.payload)?e.type===He?Object.assign(Object.assign({},e),{payload:Object.assign(Object.assign({},e.payload),{offer:t.offer,offerPositionIndex:t.offerPositionIndex})}):e:null}function*Av(e,t,n,i){const o=new Set,l=n.onClose().catch((()=>{}));let c,d;const u=e=>{var t;d=e,n.send(ze,(t=e,{version:1,payload:t})).catch((()=>{d===e&&(d=void 0)}))},p=e.onGlobalStateChange((e=>{c=wv(e),a.equals(c,d)||u(c)})),f=s.eventChannel((e=>{const a=n.onEvent(Ue).subscribe((t=>e({kind:"behavior",envelope:t}))),o=n.onEvent(qe).subscribe((()=>e({kind:"ready"}))),r=n.onEvent(Ke).subscribe((e=>{Je(e)&&function(e){if("object"!=typeof e||null===e)return!1;const t=e;return We(t.requestKey)&&"ApplePay"===t.provider}(e.payload)?function(e,t){var n;const i=null===(n=Lv.get(e))||void 0===n?void 0:n.get(t.requestKey);return!!i&&(i(t.provider),!0)}(i.offer.creative.instanceGuid,e.payload)||t({level:K,code:xv,message:`Child layout device-pay request was dropped: no handler is registered for request key "${e.payload.requestKey}".`}):t({level:K,code:xv,message:"Child layout device-pay request was dropped: malformed envelope or payload."})}));return()=>{a.unsubscribe(),o.unsubscribe(),r.unsubscribe()}}));try{for(;;){const e=yield r.race({message:r.take(f),closed:r.call((()=>l))});if(void 0===e.message)break;if("ready"!==e.message.kind){if(Je(e.message.envelope)){const n=e.message.envelope.payload,a=Sv(n,i);null!==a?yield r.put(a):o.has(String(null==n?void 0:n.type))||(o.add(String(null==n?void 0:n.type)),yield r.call(t,{level:K,code:xv,message:`Child layout behavior "${String(null==n?void 0:n.type)}" was dropped: not in the wire contract or malformed payload.`}))}}else void 0!==c&&u(c)}}finally{p(),f.close(),(yield r.cancelled())&&n.close().catch((()=>{}))}}const Tv={cursor:"pointer",paddingInline:0,paddingBlock:0};function Mv(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function jv(t){var n;const i=En(),a=wn(),o=t.schema.responseKey||"positive",r=Bi(),s=On(),l=Oi(),{tabIndex:c,styles:d,isDisabled:u}=b(l),p=null===(n=r.responseOptionsMap)||void 0===n?void 0:n[o];return p&&e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("button",{type:"button",tabIndex:c,"aria-disabled":u,disabled:u,style:Object.assign(Object.assign({},Tv),d),"data-testid":t.testId,"data-e2e":"CatalogItemResponse-standard-marketing",onClick:e=>{e.preventDefault();const t=function(e,t,n){var i,a;return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,catalogItemId:n.catalogItemId,productSku:n.productSku||(null===(i=n.copy)||void 0===i?void 0:i["provider.productSku"])||"",catalogId:n.catalogId||(null===(a=n.copy)||void 0===a?void 0:a["provider.catalogId"])||""})}(s,p,r);i({type:le,payload:t})},className:null==n?void 0:n.own,children:Mv(t.schema.children,a,t.testId)})})}function Ov(n){const i=En(),a=On(),o=Xn(),[r,s]=t.useState(!1),l=a.creative.responseOptionsMap.positive,c=a.creative.responseOptionsMap.negative,d=l?o({data:l},"creativeResponse"):o;function u(e){s(e);const t=e?l:c;if(!t||!L(t))return;const n=function(e,t){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(x(n))return{fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId};throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,urlBehavior:t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}(a,t);i({type:le,payload:n})}return e.jsx(Jn,{value:d,children:e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsxs("div",{className:null==i?void 0:i.own,style:{display:"flex",gap:"8px",flexDirection:"left"===n.schema.labelPosition?"row-reverse":"row"},children:[e.jsx("input",{"data-testid":n.testId,type:"checkbox",checked:r,onChange:e=>u(e.target.checked),style:{position:"absolute",opacity:0,width:0,height:0,margin:0,padding:0,overflow:"hidden"}}),e.jsx("div",{"data-e2e":"EscapeHatchCheckbox-standard-marketing",className:r&&(null==i?void 0:i.checkboxChecked)?`${null!==(a=i.checkbox)&&void 0!==a?a:""} ${i.checkboxChecked}`.trim():null==i?void 0:i.checkbox,onClick:()=>u(!r),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:r&&e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"20 6 9 17 4 12"})})}),n.schema.labelTemplate&&e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.labelTemplate.map(((t,i)=>e(t,void 0,re(i,`${n.testId}-label`)))))})]})}})})}const kv={low:"L",medium:"M",quartile:"Q",high:"H"};function Vv(e,t){return!!Array.isArray(e)&&e.some((e=>Object.values(null!=e?e:{}).some((e=>null!=e&&Boolean(t(e))))))}function Rv(e){var t;const n=e=>{var t;return null===(t=e.background)||void 0===t?void 0:t.backgroundColor};return Vv(null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.own,n)||function(e){const t=null==e?void 0:e.conditionalTransitions;return(Array.isArray(t)?t:[t]).map((e=>null==e?void 0:e.value)).filter((e=>null!=e))}(e).some((e=>{var t;return Boolean(n(null!==(t=e.own)&&void 0!==t?t:{}))}))}function Hv(n){var i;const[a,o]=t.useState(void 0),{value:r}=n,s=kv[null!==(i=n.schema.errorCorrectionLevel)&&void 0!==i?i:"medium"];if(t.useEffect((()=>{let e=!1;return import("qrcode-generator").then((({default:t})=>{if(e)return;const n=t(0,s);n.addData(r),n.make();const i=n.getModuleCount();let a="";for(let e=0;e<i;e+=1)for(let t=0;t<i;t+=1)n.isDark(e,t)&&(a+=`M${t+4} ${e+4}h1v1h-1z`);o({moduleCount:i,path:a})})).catch((()=>{e||o(void 0)})),()=>{e=!0}}),[r,s]),!a)return null;const l=a.moduleCount+8,c={};return Rv(n.schema.styles)||(c.backgroundColor="#FFFFFF"),function(e){var t;return Vv(null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.module,(e=>{var t;return null===(t=e.text)||void 0===t?void 0:t.textColor}))}(n.schema.styles)||(c.color="#101820"),e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:t?t.own:void 0,"data-e2e":"QrCode",role:"img","aria-label":n.schema.a11yLabel?n.resolve(n.schema.a11yLabel):"QR code — scan it with your phone to open this offer",viewBox:`0 0 ${l} ${l}`,width:4*l,height:4*l,shapeRendering:"crispEdges",style:Object.assign({display:"block",maxWidth:"100%",height:"auto",aspectRatio:"1 / 1"},c),children:e.jsx("path",{className:t?t.module:void 0,d:a.path,fill:"currentColor"})})})}function _v(t){var n;const i=On(),a=Xn(),o=i.creative.responseOptionsMap[null!==(n=t.schema.responseKey)&&void 0!==n?n:"positive"],r=e=>{if(!e)return;const t=a(e);return t||(o?a({data:o},"creativeResponse")(e):void 0)},s=r(t.schema.value);return s&&function(e){try{return"https:"===new URL(e).protocol}catch(e){return!1}}(s)?e.jsx(Hv,{schema:t.schema,value:s,resolve:r}):null}const Pv={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(jv,{schema:t.node,testId:n})},EscapeHatch:function(t){if("EscapeHatch"===t.type&&t.node.data){const n=JSON.parse(t.node.data);switch(null==n?void 0:n.type){case"Checkbox":return e.jsx(Ov,{schema:n.node});case"QrCode":return e.jsx(_v,{schema:n.node});default:return}}}};function Nv(){const t=Mi(),n=i.useSelector(Ev),a=Xn(),o=wn(),r=a({state:n},"textContent");return e.jsx(Jn,{value:r,children:e.jsx(Sn,{value:o,overrides:Pv,children:e.jsx(Dn,{children:e=>e(t)})})})}const Fv={staticData:hv,dynamicData:vv,childLayouts:fv};function $v(e={}){return Object.assign({staticData:null,dynamicData:null,childLayouts:{launched:{}}},e)}function Zv(e){let t,n,i;return s.eventChannel((a=>(Promise.race([e.onClose().then((()=>"CLOSED")),new Promise((n=>{t=e.onEvent("PLUGIN_TRANSITION_OFFER_SUCCESS").subscribe((()=>{n("SUCCESS")}))})),new Promise((t=>{n=e.onEvent("PLUGIN_TRANSITION_OFFER_CLOSE").subscribe((()=>{t("UNSPECIFIED")}))})),new Promise((e=>{i=e}))]).then((e=>{"END"!==e&&(a(e),a(s.END))})),()=>{null==t||t.unsubscribe(),null==n||n.unsubscribe(),i("END")})))}function Gv(e){return"object"==typeof e&&null!==e&&Object.entries(e).every((([e,t])=>"string"==typeof e&&("string"==typeof t||Gv(t))))}function*Bv(e,t,n,i,a){for(;;){switch(yield r.take(e)){case"CLOSED":t({type:ye,payload:{event:"Dismissed",dismissalReason:"Implicit"}});break;case"SUCCESS":if((n||i)&&a){yield r.call(a);break}t({type:ye,payload:{event:"Completed",completionReason:"Success"}});break;case"UNSPECIFIED":t({type:ye,payload:{event:"Completed",completionReason:"Unspecified"}})}}}function*Uv(e,t,n){if(ce(n)){const{responseOption:i,fulfillment:a}=n,o=fe(n),s=he(n);yield r.put({type:Ce,payload:{name:"SignalResponse",parentGuid:i.instanceGuid,responseActionPayload:{name:"Fulfillment"}}});const l=yield r.call(e.createChildPlugin.bind(e),a);if("object"==typeof l&&"onClose"in l&&"close"in l){const i=yield r.call(Zv,l);if("object"==typeof i&&"take"in i){const a=function(e,t,n,i){if(n.responseOption.rclid)return function*(){yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_CONVERSION",body:{rclid:n.responseOption.rclid,accountID:n.accountID,referralCreativeID:n.referralCreativeID,rewardHandoff:n.responseOption.rewardHandoff}}}),yield r.call(zv,e,t,i)}}(e,t,n,l);return void(yield r.call(Bv,i,e.globalDispatch.bind(e),o,s,a))}}yield r.call(t,{level:z,code:"UNEXPECTED_NEXT_VALUE_IN_SAGA",message:'Received an unexpected input at a step in the saga "handleFullfillmentResponse" and could not continue.'})}else yield r.call(t,{level:z,code:"INVALID_FULFILLMENT_PAYLOAD",message:`Fulfillment payload is invalid, fulfillment: ${n}`})}function*zv(e,t,n){const i=function(e){return s.eventChannel((t=>{const n=e.onEvent({name:ac,source:"partner",callback:e=>{Gv(e)&&t({eventName:ac,data:e})}},{name:oc,source:"partner",callback:e=>{Gv(e)&&t({eventName:oc,data:e})}});return()=>{n()}}))}(e);try{for(;;){const a=yield r.take(i);switch(a.eventName){case ac:yield r.put({type:Le,payload:{name:ac,body:a.data}}),yield r.put({type:pv,payload:{text:a.data}}),e.globalDispatch({type:ye,payload:{event:"Completed",completionReason:"Success"}});break;case oc:e.globalDispatch({type:ye,payload:{event:"Completed",completionReason:"Error"}}),n&&(yield r.call(n.close.bind(n)));break;default:t({level:z,code:"UNKNOWN_REALTIME_OFFER_FULFILLMENT_EVENT",message:`Unknown event: ${a.eventName}`})}}}catch(e){const n=e;t({level:K,code:"FAILED_TO_PROCESS_REALTIME_OFFER_FULFILLMENT_EVENT",message:null==n?void 0:n.message})}finally{(yield r.cancelled())&&i.close()}}function*qv(e,t,n){const i=ue(n.payload)||pe(n.payload)||de(n.payload)?n.payload:n.payload.responseOption;switch(yield r.put({type:De,payload:{key:"offerEngaged",value:1}}),i.action){case"Url":yield r.call(e.globalDispatch.bind(e),n),(fe(n.payload)||he(n.payload))&&(yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_REFERRAL",body:{rclid:i.rclid,accountID:i.accountID,referralCreativeID:i.referralCreativeID,referralOnly:he(n.payload),rewardHandoff:i.rewardHandoff}}}),fe(n.payload)&&(yield r.call(zv,e,t)));break;case"CaptureOnly":case"ExternalPaymentTrigger":yield r.call(e.globalDispatch.bind(e),n);break;case"Fulfillment":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),i.isPositive&&(yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),he(n.payload)&&(yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_REFERRAL",body:{rclid:i.rclid,accountID:n.payload.accountID,referralCreativeID:n.payload.referralCreativeID,referralOnly:!0,rewardHandoff:i.rewardHandoff}}})),yield*Uv(e,t,n.payload)}}function*Kv(e,t){yield r.all([r.takeLatest(le,qv.bind(null,e,t)),r.takeEvery(je,Dv.bind(null,e,t)),r.takeEvery(He,Sl.bind(null,e,void 0)),r.takeEvery("*",wl.bind(null,[le,je,He],e))])}Object.assign({},Be);const Wv=(new Di).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=$v({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion}}),d=function(e,t,n=$v()){const i=s(),a=l.configureStore({reducer:Fv,devTools:{name:"Standard Marketing"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(Kv,e,t),a}(a.gateway,a.logger,c);r.render(e.jsx(t.StrictMode,{children:e.jsxs($i,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Dr,{}),e.jsx(i.Provider,{store:d,children:e.jsx(Ir,{settings:a,dispatch:d.dispatch,children:e.jsx(Nv,{})})})]})}))}}));var Yv=Object.freeze({__proto__:null,moduleConnectorBuilder:Wv});const Jv="CART/UPDATE",Xv="CATALOG_ITEM/RESPONSE",Qv="USER_CREATIVE_RESPONSE_HISTORY/ADD",eC=a.cond([[(e,t)=>0!==t,a.equals],[(e,t)=>!Number.isNaN(e)&&0===t,a.equals],[(e,t)=>Number.isNaN(e)&&0===t,a.F]]);function tC({isChecked:t,isDisabled:n,outerClassname:i,outerCheckedClassname:a,innerClassname:o,innerCheckedClassname:r}){return e.jsx("span",{style:{display:"flex"},children:e.jsx("span",{className:`${i} ${t?a:""}`,tabIndex:n?-1:1,style:{display:"flex",boxSizing:"border-box"},children:e.jsx("span",{className:`${o} ${t?r:""}`,style:{flex:1}})})})}const nC="catalogRadioGroup__label",iC=["Enter","Space"],aC={elements:{own:[],optionContainer:[],radioButtonInner:[{default:{border:{borderRadius:11},background:{backgroundColor:{light:"#FFF"}}}}],radioButtonInnerChecked:[{default:{background:{backgroundColor:{light:"#529ff4"}}}}],radioButtonOuter:[{default:{border:{borderRadius:16,borderColor:{light:"#999"},borderStyle:"solid",borderWidth:"1"},dimension:{width:{type:"fixed",value:16},height:{type:"fixed",value:16}},spacing:{padding:"4"}}}],radioButtonOuterChecked:[]}};function oC(e,t,n){return e.map(a.cond([[a.compose(a.equals("Required"),a.propOr("","type")),({value:e})=>Number.isNaN(n)&&t>0?e.message:""],[a.T,a.always("")]])).filter(a.isNotEmpty)}function rC({schema:n,testId:a}){var o;const r=i.useDispatch(),s=Bi(),l=null!==(o=i.useSelector((e=>{var t,n;return s.cartItemId in e.cart?null!==(n=null===(t=e.cart[s.cartItemId])||void 0===t?void 0:t.quantity)&&void 0!==n?n:0:void 0})))&&void 0!==o?o:NaN,c=t.useMemo((()=>oC(n.validations,n.options.length,l)),[n.validations,n.options.length,l]),d=Oi(),{tabIndex:u,styles:p,isDisabled:f}=b(d);t.useEffect((()=>{f||r(sC(c))}),[]);const h=n.options.filter((({quantity:e})=>{var t,n;return e>=(null!==(t=s.minItemCount)&&void 0!==t?t:-1/0)&&e<=(null!==(n=s.maxItemCount)&&void 0!==n?n:1/0)}));function v(e){r({type:Xv,payload:{catalogItem:s,quantity:e}});const t=oC(n.validations,n.options.length,e);r(sC(t))}return h.length>0?e.jsx(Ba,{styles:n.styles?ae(aC,n.styles):aC,children:({classnames:n,mapperRef:i})=>e.jsx("div",{className:null==n?void 0:n.own,style:Object.assign({display:"flex",flexDirection:"column"},p),children:e.jsx(ei,{value:i(nC),children:t.Children.toArray(h.map(((t,i)=>{var o;const r=eC(l,t.quantity),c=e=>a?`${a}-option${i}${e}`:void 0;return e.jsxs("label",{tabIndex:u,"aria-disabled":f,style:{display:"flex"},className:`${nC} ${null!==(o=null==n?void 0:n.optionContainer)&&void 0!==o?o:""}`,onKeyDown:e=>{r||!iC.includes(e.code)||f||v(t.quantity)},"data-e2e":"CatalogRadioGroup-Option","data-e2e-quantity":`${t.quantity}`,"data-testid":c("Label"),children:[e.jsx("input",{type:"radio",style:{display:"none"},tabIndex:-1,name:s.instanceGuid,value:t.quantity,checked:r,onChange:()=>v(t.quantity),"aria-disabled":f,disabled:f}),e.jsx(tC,{isChecked:r,isDisabled:f,innerClassname:null==n?void 0:n.radioButtonInner,innerCheckedClassname:null==n?void 0:n.radioButtonInnerChecked,outerClassname:null==n?void 0:n.radioButtonOuter,outerCheckedClassname:null==n?void 0:n.radioButtonOuterChecked}),e.jsx(Tr,{schema:t,testId:c("Content")})]})})))})})}):null}function sC(e){return{type:Te,payload:{errors:e}}}function lC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function cC(t){const n=i.useDispatch(),a=wn(),o=Bi(),r=Oi(),{tabIndex:s,styles:l,isDisabled:c}=b(r);return e.jsx(Ba,{styles:t.schema.styles,children:({classnames:i})=>e.jsx("button",{type:"button",tabIndex:s,"aria-disabled":c,disabled:c,style:Object.assign({cursor:"pointer"},l),"data-testid":t.testId,"data-e2e":"CatalogItemResponse",onClick:e=>{e.preventDefault();n({type:Xv,payload:{catalogItem:o,quantity:1}})},className:null==i?void 0:i.own,children:lC(t.schema.children,a,t.testId)})})}const dC={allowedTags:["em","strong","a","br","u","p","li","ul","ol","span"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[]},allowedSchemes:["http","https"]},uC=new Map([["&","_;^;_"]]),pC=new RegExp(`<a *(?=${dC.allowedAttributes.a.join("|")}|>)`,"g"),fC=new RegExp(`<a *(?:(?:${dC.allowedAttributes.a.filter((e=>"href"!==e)).join("|")})="[^"]*")* *href="([^"]+)"`,"g"),hC=new RegExp("(<br *?>)|(<br *?/>)","g"),vC=new RegExp(`<ul *(?=${dC.allowedAttributes.ul.join("|")}|>)`,"g"),CC=new RegExp(`<ol *(?=${dC.allowedAttributes.ol.join("|")}|>)`,"g"),yC=new RegExp("<li *(?=>|\\s[^>]*>)","g"),mC="<br/>";function gC(n){const i=Xn(),a=Oi(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(fC,((e,t)=>{const n=t.replaceAll("&",uC.get("&"));return e.replace(t,n)})).replaceAll(hC,mC)}(e);return t===u(t,dC)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a);return o?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class="${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),a=((null==t?void 0:t.list)?`class="${t.list}"`:"")+' style="list-style-type: none; padding-inline-start: 0px; display: flex; flex-direction: column;"',c=((null==t?void 0:t.listItem)?`class="${t.listItem}"`:"")+' style="display: flex; align-items: flex-start; flex-shrink: 0; flex-grow: 1;"',d=`class="rokt-icon${(null==t?void 0:t.span)?" "+t.span:""}" style="display: inline-block; pointer-events: none; user-select: none;" aria-disabled="true"`,u=o.replace(pC,`<a ${i.join(" ")}`).replace(vC,`<ul ${a}`).replace(CC,`<ol ${a}`).replace(yC,`<li ${c}><span ${d}>Check</span`);return p=o,new RegExp("</(p|ul|ol)>").test(p)?e.jsx("div",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:u}}):e.jsx("p",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:u}});var p}}):null}const bC={internally:"_top",externally:"_blank"};function EC(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:IC(t,a,o)})}function IC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function xC(t){var n,a;const o=bC[t.schema.open],r=wn(),s=Bi(),l=Oi(),c=i.useDispatch(),d=null!==(n=s.url)&&void 0!==n?n:"",{tabIndex:u,styles:p,isDisabled:f}=b(l);return Boolean(d)&&(null===(a=t.schema.children)||void 0===a?void 0:a.length)>0?e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n,mapperRef:i})=>{var a;return e.jsx("a",{href:d,onClick:()=>{var e;c({type:Ce,payload:{name:"SignalResponse",parentGuid:null!==(e=s.instanceGuid)&&void 0!==e?e:"",responseActionPayload:{name:"Url",transformedTrafficURL:d}}})},"data-testid":t.testId,"data-e2e":"CatalogUrlLink",target:null!=o?o:"_blank",tabIndex:u,"aria-disabled":f,"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:"block"},p),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?EC(t.schema.children,null==n?void 0:n.own,i,r,t.testId):IC(t.schema.children,r,t.testId)})}}):null}function LC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function DC(t){const n=wn(),i=Bi(),a=Oi(),{tabIndex:o,styles:r,isDisabled:s}=b(a),l=Al(i,1),c=En();return e.jsx(Ba,{styles:t.schema.styles,children:({classnames:a})=>e.jsx("button",{type:"button",tabIndex:o,"aria-disabled":s,disabled:s,style:Object.assign({cursor:"pointer"},r),"data-testid":t.testId,"data-e2e":"CatalogPartnerEventButton",onClick:()=>{s||(c({type:Ce,payload:{name:"SignalCartItemQuantitySelected",parentGuid:i.instanceGuid,objectData:{quantity:1,preselected:!1}}}),c({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:{oldCartItem:null,cartItem:l}}}))},className:null==a?void 0:a.own,children:LC(t.schema.children,n,t.testId)})})}function wC(e){return Object.values(e.cart).filter((e=>null!==e))}function SC(e,t){const n=e.cart[t];return n||null}function AC(e){const t=function(e){var t,n;const i=null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.catalogItems)&&void 0!==n?n:[];return wC(e).filter((e=>i.find((t=>t.catalogItemId===e.catalogItemId))))}(e);return t.reduce(((e,t)=>e+t.quantity),0)}function TC(e,t){var n,i,a,o;const r=null===(n=e.staticData)||void 0===n?void 0:n.offer;if(r){const n=AC(e),s=SC(e,t.cartItemId),l=(null!==(i=null==r?void 0:r.maxTotalItemsQtyInOffer)&&void 0!==i?i:1/0)-n,c=(null!==(a=t.maxItemCount)&&void 0!==a?a:1/0)-(null!==(o=null==s?void 0:s.quantity)&&void 0!==o?o:0);return Math.min(l,c)}return 0}const MC={is:a.equals,"is-not":a.compose(a.not,a.equals),"is-below":a.lt,"is-above":a.gt};function jC({schema:n,testId:o}){const{children:r,predicates:s}=n,l=Xn()(n.cartItemId),c=i.useSelector((e=>{var t;return(null===(t=SC(e,l))||void 0===t?void 0:t.quantity)||0}));return(()=>{const e=s.map((e=>(0,MC[e.condition])(c,e.value)));return a.all(a.equals(!0),e)})()?e.jsx(Dn,{children:e=>t.Children.toArray(r.map(((t,n)=>e(t,void 0,o?`${o}-child-${n}`:`when-catalog-quantity-child-${n}`))))}):null}function OC({schema:n,testId:i}){const a=Xn(),o=Oi(),{tabIndex:r,styles:s,isDisabled:l}=b(o),{text:c,highlightedText:d,target:u}=n,p=a(c),f=a(d),h=t.useCallback((()=>{if(l)return;const e=document.querySelector(`[${u.key}="${u.value}"]`);e&&e.scrollIntoView({behavior:"smooth"})}),[u.key,u.value,l]),v=t.useCallback((e=>{e.preventDefault(),e.stopPropagation(),h()}),[h]),C=p.indexOf(f);if(-1===C)return e.jsx(Ba,{styles:n.styles,children:({classnames:t})=>e.jsx("span",{"data-testid":i,"data-e2e":"ScrollToTarget",className:null==t?void 0:t.own,style:s,"aria-hidden":l,children:e.jsx("span",{className:null==t?void 0:t.text,children:p})})});const y=p.slice(0,C),m=p.slice(C+f.length);return e.jsx(Ba,{styles:n.styles,children:({classnames:t})=>{var a;return e.jsxs("span",{"data-testid":i,"data-e2e":"ScrollToTarget",className:null==t?void 0:t.own,"aria-label":null!==(a=n.a11yLabel)&&void 0!==a?a:void 0,children:[y&&e.jsx("span",{className:null==t?void 0:t.text,style:s,"aria-hidden":l,children:y}),e.jsx("span",{onClick:v,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h())},className:null==t?void 0:t.highlighted,style:Object.assign({cursor:l?"default":"pointer"},s),role:"button",tabIndex:l?-1:r,"aria-disabled":l,"aria-label":`Click to scroll to element with ${u.key}="${u.value}"`,children:f}),m&&e.jsx("span",{className:null==t?void 0:t.text,style:s,"aria-hidden":l,children:m})]})}})}function kC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-content${t}`:void 0))))}function VC({schema:n,testId:i}){const a=wn(),[o,r]=t.useState(!1),{children:s,anchor:l,background:c}=n;return e.jsx(Ba,{styles:n.styles,children:({classnames:t})=>{var d;return e.jsxs("div",{"data-testid":i,"data-e2e":"Tooltip",style:{position:"relative",display:"inline-block",cursor:"pointer"},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:()=>r(!o),"aria-label":null!==(d=n.a11yLabel)&&void 0!==d?d:void 0,children:[a(l,void 0,i?`${i}-anchor`:void 0),o&&e.jsxs("div",{className:null==t?void 0:t.own,style:{position:"absolute",zIndex:1,bottom:"150%",left:"50%",transform:"translateX(-50%)"},role:"tooltip",children:[kC(s,a,i),c&&e.jsx("div",{style:{position:"absolute",top:"100%",left:"50%",transform:"translateX(-50%)",margin:0,padding:0,lineHeight:0},children:a(c,void 0,i?`${i}-arrow`:void 0)})]})]})}})}function RC(e){var t,n;const i=null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.catalogItems)&&void 0!==n?n:[];return i.length>0?i:null}function HC(e,t){var n,i;return null!==(i=null===(n=RC(e))||void 0===n?void 0:n.find((e=>e.catalogItemId===t)))&&void 0!==i?i:null}function _C(e,t){var n,i;return null!==(i=null===(n=RC(e))||void 0===n?void 0:n.find((e=>e.cartItemId===t)))&&void 0!==i?i:null}function PC(e){var t;const n=null===(t=RC(e))||void 0===t?void 0:t.filter((e=>e.preSelectedQuantity&&e.preSelectedQuantity>0));return n&&n.length>0?n:null}function NC(e){var t,n;return null!==(n=null===(t=PC(e))||void 0===t?void 0:t.reduce(((e,t)=>{var n;return e+(null!==(n=t.preSelectedQuantity)&&void 0!==n?n:0)}),0))&&void 0!==n?n:0}function FC(e,t){var n;if(t){const i=HC(e,t);return"true"===(null===(n=null==i?void 0:i.copy)||void 0===n?void 0:n["provider.requireUSDeliveryDetails"])}return!1}const $C=a.compose((e=>e.filter((e=>!a.isNil(e[1]))).map((([e,t])=>({cartItemId:t.cartItemId,quantity:t.quantity})))),a.toPairs,a.prop("cart"));function ZC(e){var t,n;return null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.creative)&&void 0!==n?n:null}function GC(t){var n,a,o,r;const s=Oi(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=En(),p=Xn()(t.schema.preButtonText),f=i.useSelector((e=>ZC(e)));if(!f)return null;const h=null!==(n=f.copy["provider.offerId"])&&void 0!==n?n:"",v=null!==(a=t.schema.title)&&void 0!==a?a:"",C=null!==(r=null!==(o=f.copy["provider.offer.longDescription.copy"])&&void 0!==o?o:f.copy["creative.copy"])&&void 0!==r?r:"";return e.jsxs("span",{style:{display:"inline"},children:[t.schema.preButtonText&&e.jsx("span",{style:{marginRight:"4px",color:"#646464",fontSize:16,fontFamily:"Averta",fontWeight:"400",letterSpacing:.32,lineHeight:"24px",margin:"8px 0 0 0"},children:p}),e.jsx(Ba,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("button",{type:"button",tabIndex:l,"aria-disabled":d,disabled:d,style:Object.assign({cursor:"pointer",display:"inline",color:"#024DDF",fontSize:16,fontFamily:"Averta",fontWeight:"400",textDecoration:"underline",background:"none",border:"none",padding:0},c),"data-testid":t.testId,"data-e2e":"CatalogUpsellCreativeButton",onClick:()=>{d||u({type:Le,payload:{name:"UPSELL_CREATIVE_SENT",body:{offerId:h,title:v,description:C}}})},className:null==n?void 0:n.own,children:"Read More"})})]})}const BC={whiteSpace:"pre-line",margin:"8px 0 0 0"};function UC(t,n){return t?e.jsx("span",{className:n,style:BC,children:t}):null}function zC(t,n,i,a,o,r,s){const l=Object.assign({cursor:"pointer",display:"inline",background:"none",border:"none",padding:0},r||{});return e.jsx("button",{type:"button",tabIndex:a,"aria-disabled":o,disabled:o,style:l,"data-testid":s,"data-e2e":"CatalogUpsellCreativeButton",onClick:n,className:i,children:t})}function qC(n){var a,o,r,s,l,c,d,u;const[p,f]=t.useState(!1),h=Oi(),{tabIndex:v,styles:C,isDisabled:y}=b(h),m=En(),g=i.useSelector((e=>ZC(e)));if(!g)return null;const E=null!==(a=g.copy["creative.copy"])&&void 0!==a?a:"",I=function(e){let t=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t=t.replace(/(\n[\s]*)+/g,"\n"),t}(E.replace(/<\/?[a-zA-Z][a-zA-Z0-9]*(?:\s+[a-zA-Z][a-zA-Z0-9]*(?:\s*=\s*[^\s>]+)?)*\s*>/g,"").trim());const x=null!==(o=n.schema.sliceLength)&&void 0!==o?o:130,L=null!==(r=g.copy["provider.emitUpsellCreative"])&&void 0!==r&&r,D=I.length>x;let w="";w=D?I.slice(0,x)+"... ":I+" ";const S=null!==(s=g.copy["provider.offerId"])&&void 0!==s?s:"",A=null!==(l=n.schema.title)&&void 0!==l?l:"",T=null!==(c=g.copy["provider.offer.longDescription.copy"])&&void 0!==c?c:E,M=null!==(d=n.schema.expandLabel)&&void 0!==d?d:"Read More",j=null!==(u=n.schema.collapseLabel)&&void 0!==u?u:"Read Less";return L?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("span",{style:{display:"inline"},children:[UC(w,null==t?void 0:t.text),zC(M,(()=>{y||m({type:Le,payload:{name:"UPSELL_CREATIVE_SENT",body:{offerId:S,title:A,description:T}}})}),null==t?void 0:t.own,v,y,C,n.testId)]})}):D?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("span",{style:{display:"inline"},children:[UC(p?I+" ":w,null==t?void 0:t.text),zC(p?j:M,(()=>{y||f(!p)}),null==t?void 0:t.own,v,y,C,n.testId)]})}):e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("span",{style:{display:"inline"},children:UC(I,null==t?void 0:t.text)})})}const KC={host:{CD:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.4286%200C5.1428%200%200%205.1428%200%2011.4286C0%2017.7144%205.1428%2022.8572%2011.4286%2022.8572C17.7144%2022.8572%2022.8572%2017.7144%2022.8572%2011.4286C22.8572%205.1428%2017.7144%200%2011.4286%200ZM11.4286%2020.572C6.4%2020.572%202.2858%2016.4578%202.2858%2011.4292C2.2858%206.4006%206.4%202.2864%2011.4286%202.2864C16.4572%202.2864%2020.5714%206.4006%2020.5714%2011.4292C20.5714%2016.4578%2016.4572%2020.572%2011.4286%2020.572Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.4285%2015.9995C8.91429%2015.9995%206.85709%2013.9423%206.85709%2011.4281C6.85709%2010.7424%206.39999%2010.2852%205.71419%2010.2852C5.02849%2010.2852%204.57129%2010.7423%204.57129%2011.4281C4.57129%2015.1995%207.65709%2018.2853%2011.4285%2018.2853C12.1142%2018.2853%2012.5714%2017.8282%2012.5714%2017.1424C12.5715%2016.4567%2012.1143%2015.9995%2011.4286%2015.9995Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.8283%208.91444C17.1426%207.20014%2015.7711%205.71444%2013.9425%205.02864C13.3711%204.80004%2012.6854%205.14293%2012.4568%205.71434C12.2282%206.28574%2012.4568%206.97144%2013.1425%207.20004C14.2853%207.65722%2015.1997%208.57152%2015.6567%209.71424C15.8853%2010.2856%2016.571%2010.6285%2017.1424%2010.3999C17.7138%2010.1714%2018.0567%209.48564%2017.8281%208.91424Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.02855%209.02876C7.65715%2010.4002%207.65715%2012.5716%209.02855%2013.8288C10.3999%2015.2002%2012.5713%2015.2002%2013.8285%2013.8288C15.1999%2012.4574%2015.1999%2010.286%2013.8285%209.02876C12.5714%207.77166%2010.2857%207.77166%209.02855%209.02876ZM12.2285%2012.2288C11.7715%2012.6859%2011.0856%2012.6859%2010.6286%2012.2288C10.1715%2011.7717%2010.1715%2011.0859%2010.6286%2010.6288C11.0856%2010.1717%2011.7715%2010.1717%2012.2285%2010.6288C12.6856%2011.0859%2012.6856%2011.7717%2012.2285%2012.2288Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"CD"},Album:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.4286%200C5.1428%200%200%205.1428%200%2011.4286C0%2017.7144%205.1428%2022.8572%2011.4286%2022.8572C17.7144%2022.8572%2022.8572%2017.7144%2022.8572%2011.4286C22.8572%205.1428%2017.7144%200%2011.4286%200ZM11.4286%2020.572C6.4%2020.572%202.2858%2016.4578%202.2858%2011.4292C2.2858%206.4006%206.4%202.2864%2011.4286%202.2864C16.4572%202.2864%2020.5714%206.4006%2020.5714%2011.4292C20.5714%2016.4578%2016.4572%2020.572%2011.4286%2020.572Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.4285%2015.9995C8.91429%2015.9995%206.85709%2013.9423%206.85709%2011.4281C6.85709%2010.7424%206.39999%2010.2852%205.71419%2010.2852C5.02849%2010.2852%204.57129%2010.7423%204.57129%2011.4281C4.57129%2015.1995%207.65709%2018.2853%2011.4285%2018.2853C12.1142%2018.2853%2012.5714%2017.8282%2012.5714%2017.1424C12.5715%2016.4567%2012.1143%2015.9995%2011.4286%2015.9995Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.8283%208.91444C17.1426%207.20014%2015.7711%205.71444%2013.9425%205.02864C13.3711%204.80004%2012.6854%205.14293%2012.4568%205.71434C12.2282%206.28574%2012.4568%206.97144%2013.1425%207.20004C14.2853%207.65722%2015.1997%208.57152%2015.6567%209.71424C15.8853%2010.2856%2016.571%2010.6285%2017.1424%2010.3999C17.7138%2010.1714%2018.0567%209.48564%2017.8281%208.91424Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.02855%209.02876C7.65715%2010.4002%207.65715%2012.5716%209.02855%2013.8288C10.3999%2015.2002%2012.5713%2015.2002%2013.8285%2013.8288C15.1999%2012.4574%2015.1999%2010.286%2013.8285%209.02876C12.5714%207.77166%2010.2857%207.77166%209.02855%209.02876ZM12.2285%2012.2288C11.7715%2012.6859%2011.0856%2012.6859%2010.6286%2012.2288C10.1715%2011.7717%2010.1715%2011.0859%2010.6286%2010.6288C11.0856%2010.1717%2011.7715%2010.1717%2012.2285%2010.6288C12.6856%2011.0859%2012.6856%2011.7717%2012.2285%2012.2288Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Album"},"Club Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0.706018%2017.7206V5.11759C0.706018%203.94806%201.65413%203%202.82361%203C3.84041%203%204.68984%203.71664%204.8944%204.67241C5.22706%204.50562%205.6026%204.4118%206.0001%204.4118C6.8733%204.4118%207.64071%204.86475%208.08009%205.54859C9.39657%206.20445%2010.7011%206.52937%2012.0001%206.52937C13.2991%206.52937%2014.6037%206.20445%2015.9201%205.54859C16.3594%204.86477%2017.1269%204.4118%2018.0001%204.4118C18.3976%204.4118%2018.7731%204.50562%2019.1058%204.67241C19.3103%203.71664%2020.1597%203%2021.1765%203C22.3461%203%2023.2941%203.94812%2023.2941%205.11759V17.7206C23.7334%2018.2183%2024%2018.8721%2024%2019.5881V20.2941C24%2020.6839%2023.684%2020.9999%2023.2941%2020.9999H19.0588C18.6689%2020.9999%2018.3529%2020.6839%2018.3529%2020.2941V19.5881C18.3529%2018.8721%2018.6195%2018.2183%2019.0588%2017.7206V9.11518C18.7378%209.26768%2018.3788%209.353%2017.9999%209.353C17.7478%209.353%2017.5043%209.31519%2017.2752%209.24495C15.531%2010.2548%2013.77%2010.7647%2012%2010.7647C10.23%2010.7647%208.46901%2010.2548%206.72482%209.24495C6.49568%209.31519%206.25224%209.353%206.00006%209.353C5.62116%209.353%205.26216%209.26769%204.94124%209.11518V17.7206C5.38054%2018.2183%205.6471%2018.8721%205.6471%2019.5881V20.2941C5.6471%2020.6839%205.33108%2020.9999%204.94124%2020.9999H0.705858C0.316019%2020.9999%200%2020.6839%200%2020.2941V19.5881C0%2018.8721%200.266559%2018.2183%200.705858%2017.7206H0.706018ZM2.82361%2018.1764C2.04393%2018.1764%201.4119%2018.8084%201.4119%2019.5881H4.23549C4.23549%2018.8084%203.60339%2018.1764%202.82369%2018.1764H2.82361ZM22.5881%2019.5881C22.5881%2018.8084%2021.9561%2018.1764%2021.1764%2018.1764C20.3968%2018.1764%2019.7646%2018.8084%2019.7646%2019.5881H22.5881ZM21.8823%206.17637V5.11755C21.8823%204.72771%2021.5663%204.4117%2021.1764%204.4117C20.7866%204.4117%2020.4706%204.72771%2020.4706%205.11755V6.17637H21.8823ZM21.8823%207.58808H20.4706V16.8537C20.6983%2016.7951%2020.9351%2016.7645%2021.1764%2016.7645C21.4177%2016.7645%2021.6545%2016.7951%2021.8823%2016.8537V7.58808ZM3.52935%206.17637V5.11755C3.52935%204.72771%203.21333%204.4117%202.82349%204.4117C2.43365%204.4117%202.11763%204.72771%202.11763%205.11755V6.17637H3.52935ZM3.52935%207.58808H2.11763V16.8537C2.34537%2016.7951%202.58217%2016.7645%202.82349%2016.7645C3.06481%2016.7645%203.30161%2016.7951%203.52935%2016.8537V7.58808ZM5.99994%207.94104C6.5847%207.94104%207.05876%207.46699%207.05876%206.88223C7.05876%206.29747%206.5847%205.82341%205.99994%205.82341C5.41518%205.82341%204.94112%206.29747%204.94112%206.88223C4.94112%207.46699%205.41518%207.94104%205.99994%207.94104ZM17.9999%207.94104C18.5847%207.94104%2019.0587%207.46699%2019.0587%206.88223C19.0587%206.29747%2018.5847%205.82341%2017.9999%205.82341C17.4151%205.82341%2016.9411%206.29747%2016.9411%206.88223C16.9411%207.46699%2017.4151%207.94104%2017.9999%207.94104ZM11.9999%207.94104C10.8098%207.94104%209.62313%207.71042%208.44293%207.25199C8.38332%207.64744%208.22933%208.01666%208.00067%208.33214C9.34419%209.0148%2010.6755%209.35284%2011.9999%209.35284C13.3243%209.35284%2014.6557%209.0148%2015.999%208.33214C15.7704%208.01668%2015.6164%207.64746%2015.5568%207.25199C14.3766%207.71042%2013.19%207.94104%2011.9998%207.94104H11.9999Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Club Access"},"Lounge Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0.706018%2017.7206V5.11759C0.706018%203.94806%201.65413%203%202.82361%203C3.84041%203%204.68984%203.71664%204.8944%204.67241C5.22706%204.50562%205.6026%204.4118%206.0001%204.4118C6.8733%204.4118%207.64071%204.86475%208.08009%205.54859C9.39657%206.20445%2010.7011%206.52937%2012.0001%206.52937C13.2991%206.52937%2014.6037%206.20445%2015.9201%205.54859C16.3594%204.86477%2017.1269%204.4118%2018.0001%204.4118C18.3976%204.4118%2018.7731%204.50562%2019.1058%204.67241C19.3103%203.71664%2020.1597%203%2021.1765%203C22.3461%203%2023.2941%203.94812%2023.2941%205.11759V17.7206C23.7334%2018.2183%2024%2018.8721%2024%2019.5881V20.2941C24%2020.6839%2023.684%2020.9999%2023.2941%2020.9999H19.0588C18.6689%2020.9999%2018.3529%2020.6839%2018.3529%2020.2941V19.5881C18.3529%2018.8721%2018.6195%2018.2183%2019.0588%2017.7206V9.11518C18.7378%209.26768%2018.3788%209.353%2017.9999%209.353C17.7478%209.353%2017.5043%209.31519%2017.2752%209.24495C15.531%2010.2548%2013.77%2010.7647%2012%2010.7647C10.23%2010.7647%208.46901%2010.2548%206.72482%209.24495C6.49568%209.31519%206.25224%209.353%206.00006%209.353C5.62116%209.353%205.26216%209.26769%204.94124%209.11518V17.7206C5.38054%2018.2183%205.6471%2018.8721%205.6471%2019.5881V20.2941C5.6471%2020.6839%205.33108%2020.9999%204.94124%2020.9999H0.705858C0.316019%2020.9999%200%2020.6839%200%2020.2941V19.5881C0%2018.8721%200.266559%2018.2183%200.705858%2017.7206H0.706018ZM2.82361%2018.1764C2.04393%2018.1764%201.4119%2018.8084%201.4119%2019.5881H4.23549C4.23549%2018.8084%203.60339%2018.1764%202.82369%2018.1764H2.82361ZM22.5881%2019.5881C22.5881%2018.8084%2021.9561%2018.1764%2021.1764%2018.1764C20.3968%2018.1764%2019.7646%2018.8084%2019.7646%2019.5881H22.5881ZM21.8823%206.17637V5.11755C21.8823%204.72771%2021.5663%204.4117%2021.1764%204.4117C20.7866%204.4117%2020.4706%204.72771%2020.4706%205.11755V6.17637H21.8823ZM21.8823%207.58808H20.4706V16.8537C20.6983%2016.7951%2020.9351%2016.7645%2021.1764%2016.7645C21.4177%2016.7645%2021.6545%2016.7951%2021.8823%2016.8537V7.58808ZM3.52935%206.17637V5.11755C3.52935%204.72771%203.21333%204.4117%202.82349%204.4117C2.43365%204.4117%202.11763%204.72771%202.11763%205.11755V6.17637H3.52935ZM3.52935%207.58808H2.11763V16.8537C2.34537%2016.7951%202.58217%2016.7645%202.82349%2016.7645C3.06481%2016.7645%203.30161%2016.7951%203.52935%2016.8537V7.58808ZM5.99994%207.94104C6.5847%207.94104%207.05876%207.46699%207.05876%206.88223C7.05876%206.29747%206.5847%205.82341%205.99994%205.82341C5.41518%205.82341%204.94112%206.29747%204.94112%206.88223C4.94112%207.46699%205.41518%207.94104%205.99994%207.94104ZM17.9999%207.94104C18.5847%207.94104%2019.0587%207.46699%2019.0587%206.88223C19.0587%206.29747%2018.5847%205.82341%2017.9999%205.82341C17.4151%205.82341%2016.9411%206.29747%2016.9411%206.88223C16.9411%207.46699%2017.4151%207.94104%2017.9999%207.94104ZM11.9999%207.94104C10.8098%207.94104%209.62313%207.71042%208.44293%207.25199C8.38332%207.64744%208.22933%208.01666%208.00067%208.33214C9.34419%209.0148%2010.6755%209.35284%2011.9999%209.35284C13.3243%209.35284%2014.6557%209.0148%2015.999%208.33214C15.7704%208.01668%2015.6164%207.64746%2015.5568%207.25199C14.3766%207.71042%2013.19%207.94104%2011.9998%207.94104H11.9999Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Lounge Access"},"Concession Voucher":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Concession Voucher"},"Drink Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Drink Package"},"Meal Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Meal Package"},"Snack Bag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Snack Bag"},"Table Service Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Table Service Package"},"Fast Lane":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%209.86L18.03%2012L15%2014.14V9.86ZM6%209.86L9.03%2012L6%2014.14V9.86ZM13%206V18L21.5%2012L13%206ZM4%206V18L12.5%2012L4%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Fast Lane"},"Fast Lane Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%209.86L18.03%2012L15%2014.14V9.86ZM6%209.86L9.03%2012L6%2014.14V9.86ZM13%206V18L21.5%2012L13%206ZM4%206V18L12.5%2012L4%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Fast Lane Access"},"Lawn Chair Rental":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43310)%22%3E%3Cpath%20d%3D%22M6.43025%2013.4118C5.48775%2011.6054%204.94157%209.4522%204.94157%207.4118C4.94157%202.7784%207.81537%200%2012.0004%200C16.1854%200%2019.0592%202.7784%2019.0592%207.4118C19.0592%209.4522%2018.513%2011.6054%2017.5705%2013.4118H18.0003C18.3902%2013.4118%2018.7062%2013.7278%2018.7062%2014.1177V16.9413C18.7062%2017.3311%2018.3902%2017.6471%2018.0003%2017.6471H16.8113L18.3275%2023.1053C18.4319%2023.4809%2018.212%2023.8701%2017.8363%2023.9744C17.4607%2024.0788%2017.0716%2023.8588%2016.9673%2023.4832L15.3462%2017.6472H8.65439L7.03329%2023.4832C6.92899%2023.8588%206.53985%2024.0787%206.16423%2023.9744C5.78861%2023.8701%205.56869%2023.4809%205.67305%2023.1053L7.18923%2017.6471H5.64727C5.25743%2017.6471%204.94141%2017.3311%204.94141%2016.9413V14.1177C4.94141%2013.7278%205.25743%2013.4118%205.64727%2013.4118H6.43025ZM6.35337%2014.8235V16.2353H17.2946V14.8235H6.35337ZM10.1576%2013.4118H11.2946V1.444C10.3649%201.53072%209.53867%201.7919%208.84041%202.2165L10.1576%2013.4118ZM13.8434%2013.4118L15.1605%202.2164C14.4623%201.7918%2013.636%201.53062%2012.7063%201.4439V13.4117L13.8434%2013.4118ZM15.2649%2013.4118H15.9478C17.0093%2011.6964%2017.6475%209.4778%2017.6475%207.4118C17.6475%205.72524%2017.2178%204.3634%2016.4467%203.366L15.2649%2013.4118ZM8.73605%2013.4118L7.55417%203.366C6.78315%204.36326%206.35339%205.7252%206.35339%207.4118C6.35339%209.4778%206.99159%2011.6964%208.05315%2013.4118H8.73605Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43310%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Lawn Chair Rental"},Lockers:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M3.68618%200C3.31243%200.0391993%202.99805%200.390134%203.00001%200.765875V23.234C3.00001%2023.6351%203.36494%2023.9999%203.76602%2024H20.1073C20.5083%2024%2020.8733%2023.6351%2020.8733%2023.234V0.765875C20.8733%200.364794%2020.5083%200%2020.1073%200H3.68628H3.68618ZM4.5319%201.53189H11.1703V5.61703H4.5319V1.53189ZM12.7025%201.53189H19.3409V5.61703H12.7025V1.53189ZM7.85109%202.2979C7.42809%202.2979%207.08508%202.52648%207.08508%202.80851C7.08508%203.09055%207.42795%203.31913%207.85109%203.31913C8.2741%203.31913%208.61711%203.09054%208.61711%202.80851C8.61711%202.52647%208.27424%202.2979%207.85109%202.2979ZM16.0217%202.2979C15.5987%202.2979%2015.2557%202.52648%2015.2557%202.80851C15.2557%203.09055%2015.5986%203.31913%2016.0217%203.31913C16.4447%203.31913%2016.7877%203.09054%2016.7877%202.80851C16.7877%202.52647%2016.4449%202.2979%2016.0217%202.2979ZM4.5319%207.14898H11.1703V11.2341H4.5319V7.14898ZM12.7025%207.14898H19.3409V11.2341H12.7025V7.14898ZM7.85109%207.91486C7.42809%207.91486%207.08508%208.14345%207.08508%208.42548C7.08508%208.70751%207.42795%208.93609%207.85109%208.93609C8.2741%208.93609%208.61711%208.70751%208.61711%208.42548C8.61711%208.14345%208.27424%207.91486%207.85109%207.91486ZM16.0217%207.91486C15.5987%207.91486%2015.2557%208.14345%2015.2557%208.42548C15.2557%208.70751%2015.5986%208.93609%2016.0217%208.93609C16.4447%208.93609%2016.7877%208.70751%2016.7877%208.42548C16.7877%208.14345%2016.4449%207.91486%2016.0217%207.91486ZM4.5319%2012.7659H11.1703V16.8511H4.5319V12.7659ZM12.7025%2012.7659H19.3409V16.8511H12.7025V12.7659ZM7.85109%2013.532C7.42809%2013.532%207.08508%2013.7605%207.08508%2014.0426C7.08508%2014.3246%207.42795%2014.5532%207.85109%2014.5532C8.2741%2014.5532%208.61711%2014.3246%208.61711%2014.0426C8.61711%2013.7605%208.27424%2013.532%207.85109%2013.532ZM16.0217%2013.532C15.5987%2013.532%2015.2557%2013.7605%2015.2557%2014.0426C15.2557%2014.3246%2015.5986%2014.5532%2016.0217%2014.5532C16.4447%2014.5532%2016.7877%2014.3246%2016.7877%2014.0426C16.7877%2013.7605%2016.4449%2013.532%2016.0217%2013.532ZM4.5319%2018.383H11.1703V22.4682H4.5319V18.383ZM12.7025%2018.383H19.3409V22.4682H12.7025V18.383ZM7.85109%2019.1489C7.42809%2019.1489%207.08508%2019.3775%207.08508%2019.6595C7.08508%2019.9416%207.42795%2020.1701%207.85109%2020.1701C8.2741%2020.1701%208.61711%2019.9416%208.61711%2019.6595C8.61711%2019.3775%208.27424%2019.1489%207.85109%2019.1489ZM16.0217%2019.1489C15.5987%2019.1489%2015.2557%2019.3775%2015.2557%2019.6595C15.2557%2019.9416%2015.5986%2020.1701%2016.0217%2020.1701C16.4447%2020.1701%2016.7877%2019.9416%2016.7877%2019.6595C16.7877%2019.3775%2016.4449%2019.1489%2016.0217%2019.1489Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Lockers"},"Meet & Greet":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.0229%206.7659L17.4552%203.25191C16.9486%202.1161%2015.6155%201.60419%2014.4797%202.11078C14.2824%202.1961%2014.1065%202.31341%2013.9518%202.44673L13.8079%202.12145C13.5732%201.5882%2013.1413%201.18294%2012.5974%200.97497C12.0535%200.766997%2011.4616%200.783003%2010.9337%201.01763L10.7897%201.08162C10.6244%201.15627%2010.4751%201.24692%2010.3418%201.35357C9.75522%200.516377%208.64073%200.180449%207.67029%200.607042L7.52631%200.671031C6.4545%201.15095%205.95859%202.3934%206.39583%203.47062C6.24652%203.50261%206.09189%203.55061%205.94789%203.61459L5.80392%203.67858C4.71077%204.16915%204.21485%205.45428%204.70545%206.5528L6.77976%2011.208C6.5398%2011.176%206.29451%2011.1707%206.04923%2011.208C5.37735%2011.304%204.78544%2011.6613%204.38019%2012.1998C3.54834%2013.3143%203.77229%2014.8873%204.87076%2015.73C5.22271%2016.0339%205.84125%2016.6098%206.08122%2016.9031C7.03039%2018.0816%208.34216%2019.5639%2010.1019%2020.6144C11.4296%2021.4089%2012.7681%2021.8035%2014.1066%2021.8035C15.1464%2021.8035%2016.1863%2021.5635%2017.2261%2021.0836C19.3431%2020.1024%2020.6762%2018.8333%2021.3%2017.207C22.0252%2015.314%2021.9826%2013.2716%2021.172%2011.4533L19.0229%206.7659ZM19.7161%2016.6149C19.2522%2017.8253%2018.2337%2018.7638%2016.5061%2019.5637C13.504%2020.9555%2010.5231%2019.7397%207.39295%2015.8524C6.97168%2015.3352%206.05451%2014.53%205.94785%2014.4447L5.89986%2014.4074C5.71856%2014.2741%205.60125%2014.0768%205.56926%2013.8475C5.53727%2013.6182%205.59059%2013.3995%205.72923%2013.2182C5.86254%2013.0369%206.06518%2012.9196%206.28912%2012.8876C6.51307%2012.8557%206.73706%2012.909%206.91834%2013.0476L8.01682%2013.8155C8.06481%2013.8581%208.12346%2013.9008%208.18212%2013.9328L10.2724%2015.3992C10.6564%2015.6658%2011.1789%2015.5752%2011.4509%2015.1912C11.7175%2014.8073%2011.6269%2014.2847%2011.2429%2014.0128L9.25394%2012.621L6.24116%205.87015C6.13452%205.62486%206.24116%205.33689%206.48645%205.23026L6.63042%205.16627C6.74774%205.11294%206.88106%205.10761%207.00369%205.1556C7.12632%205.2036%207.22232%205.29425%207.27564%205.41156L9.79242%2011.0533C9.98439%2011.4799%2010.4803%2011.6719%2010.9069%2011.4799C11.3335%2011.2879%2011.5255%2010.792%2011.3335%2010.3654L8.8167%204.72369C8.7687%204.61171%208.70472%204.50506%208.64073%204.40908C8.63006%204.37175%208.6194%204.33443%208.6034%204.30243L7.96351%202.86801C7.85686%202.62272%207.96351%202.33475%208.2088%202.22812L8.35277%202.16413C8.59806%202.05748%208.88602%202.16413%208.99266%202.40941L9.64854%203.88117C9.65921%203.90783%209.66987%203.93983%209.68054%203.96649C9.68587%203.98249%209.69654%203.99315%209.70187%204.00382L12.4694%2010.2162C12.608%2010.5308%2012.9173%2010.7174%2013.2426%2010.7174C13.3599%2010.7174%2013.4719%2010.6961%2013.5838%2010.6427C14.0104%2010.4508%2014.2024%209.95487%2014.0104%209.52827L11.2056%203.23608C11.1256%203.00147%2011.2323%202.74016%2011.4669%202.63885L11.6109%202.57486C11.7282%202.52154%2011.8615%202.51621%2011.9841%202.5642C12.1068%202.61219%2012.2028%202.70284%2012.2561%202.82015L15.3062%209.66157C15.4448%209.97618%2015.7541%2010.1628%2016.0794%2010.1628C16.1967%2010.1628%2016.3086%2010.1415%2016.4206%2010.0882C16.8472%209.89619%2017.0392%209.40028%2016.8472%208.97369L14.9436%204.70253C14.9382%204.60654%2014.9169%204.50523%2014.8742%204.41458C14.7463%204.13196%2014.8742%203.79601%2015.1622%203.66806C15.4448%203.54008%2015.7807%203.66806%2015.9087%203.956L17.3644%207.21404L19.6254%2012.1784C20.2493%2013.5649%2020.2813%2015.1432%2019.716%2016.615L19.7161%2016.6149Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M23.9404%205.0861C23.1939%203.22509%2022.0047%201.54549%2020.4956%200.212248C20.1436%20-0.0970379%2019.6104%20-0.065049%2019.3011%200.286901C18.9918%200.63885%2019.0238%201.17208%2019.3758%201.48136C20.6875%202.63849%2021.7219%204.09962%2022.3672%205.71521C22.5005%206.04582%2022.8151%206.24847%2023.151%206.24847C23.2577%206.24847%2023.3643%206.22714%2023.4656%206.18981C23.9029%206.00851%2024.1108%205.51793%2023.9402%205.08599L23.9404%205.0861Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M1.87979%204.62782C1.44252%204.46785%200.957277%204.69181%200.791986%205.12907C0.00812386%207.25136%20-0.199849%209.55494%200.194755%2011.7998C0.269408%2012.2104%200.621349%2012.4984%201.0266%2012.4984C1.07459%2012.4984%201.12259%2012.4931%201.17591%2012.4877C1.63449%2012.4077%201.94378%2011.9705%201.86378%2011.5119C1.52251%209.56555%201.69848%207.56584%202.38102%205.72091C2.54099%205.27298%202.31703%204.78773%201.87978%204.62776L1.87979%204.62782Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Meet & Greet"},"Merch Voucher":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Merch Voucher"},Blanket:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Blanket"},"Clear Bag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Clear Bag"},"Ear Plugs":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Ear Plugs"},"Reserved Lawn Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%2219.3988%22%20height%3D%2219.3988%22%20rx%3D%222%22%20stroke%3D%22black%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M6.80859%2011.1856L8.75394%2013.131L15.0763%206.80859%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E"},title:"Reserved Lawn Access"},"Lawn Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%2219.3988%22%20height%3D%2219.3988%22%20rx%3D%222%22%20stroke%3D%22black%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M6.80859%2011.1856L8.75394%2013.131L15.0763%206.80859%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E"},title:"Lawn Access"},"Room Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43328)%22%3E%3Cpath%20d%3D%22M4.23493%2022.5879V0.70586C4.23493%200.31602%204.55095%200%204.94079%200H19.0584C19.4482%200%2019.7642%200.31602%2019.7642%200.70586V22.5879H21.176C21.5659%2022.5879%2021.8819%2022.904%2021.8819%2023.2938C21.8819%2023.6836%2021.5659%2023.9997%2021.176%2023.9997H2.82305C2.43321%2023.9997%202.11719%2023.6836%202.11719%2023.2938C2.11719%2022.904%202.43321%2022.5879%202.82305%2022.5879H4.23493ZM5.64665%2022.5879H18.3526V1.41186H5.64665V22.5879ZM8.11725%2016.2351C7.53249%2016.2351%207.05843%2015.761%207.05843%2015.1762C7.05843%2014.5915%207.53249%2014.1174%208.11725%2014.1174C8.70201%2014.1174%209.17607%2014.5915%209.17607%2015.1762C9.17607%2015.761%208.70201%2016.2351%208.11725%2016.2351Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43328%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Room Package"},"Hotel Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43328)%22%3E%3Cpath%20d%3D%22M4.23493%2022.5879V0.70586C4.23493%200.31602%204.55095%200%204.94079%200H19.0584C19.4482%200%2019.7642%200.31602%2019.7642%200.70586V22.5879H21.176C21.5659%2022.5879%2021.8819%2022.904%2021.8819%2023.2938C21.8819%2023.6836%2021.5659%2023.9997%2021.176%2023.9997H2.82305C2.43321%2023.9997%202.11719%2023.6836%202.11719%2023.2938C2.11719%2022.904%202.43321%2022.5879%202.82305%2022.5879H4.23493ZM5.64665%2022.5879H18.3526V1.41186H5.64665V22.5879ZM8.11725%2016.2351C7.53249%2016.2351%207.05843%2015.761%207.05843%2015.1762C7.05843%2014.5915%207.53249%2014.1174%208.11725%2014.1174C8.70201%2014.1174%209.17607%2014.5915%209.17607%2015.1762C9.17607%2015.761%208.70201%2016.2351%208.11725%2016.2351Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43328%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Hotel Package"},"Special Entry":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%2010V6C22%204.9%2021.1%204%2020%204H4C2.9%204%202.01%204.9%202.01%206V10C3.11%2010%204%2010.9%204%2012C4%2013.1%203.11%2014%202%2014V18C2%2019.1%202.9%2020%204%2020H20C21.1%2020%2022%2019.1%2022%2018V14C20.9%2014%2020%2013.1%2020%2012C20%2010.9%2020.9%2010%2022%2010ZM20%208.54C18.81%209.23%2018%2010.53%2018%2012C18%2013.47%2018.81%2014.77%2020%2015.46V18H4V15.46C5.19%2014.77%206%2013.47%206%2012C6%2010.52%205.2%209.23%204.01%208.54L4%206H20V8.54ZM9.07%2016L12%2014.12L14.93%2016L14.04%2012.64L16.73%2010.44L13.26%2010.23L12%207L10.73%2010.22L7.26%2010.43L9.95%2012.63L9.07%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Special Entry"},"VIP (Club Access)":{url:{light:"data:image/svg+xml,%3Csvg%20id%3D%22svg%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%2C%200%2C%20400%2C400%22%3E%3Cg%20id%3D%22svgg%22%3E%3Cpath%20id%3D%22path0%22%20d%3D%22M127.284%202.284%20C%20122.707%206.861%2C122.931%207.515%2C142.578%2046.858%20C%20152.246%2066.218%2C160.156%2082.202%2C160.156%2082.379%20C%20160.156%2082.556%2C148.467%2082.832%2C134.180%2082.993%20C%20110.222%2083.262%2C107.866%2083.411%2C103.869%2084.905%20C%2089.581%2090.247%2C78.880%20101.687%2C75.843%20114.865%20C%2074.334%20121.415%2C74.731%20364.437%2C76.260%20369.585%20C%2080.378%20383.456%2C90.005%20393.536%2C103.444%20398.048%20L%20109.260%20400.000%20200.000%20400.000%20L%20290.740%20400.000%20296.556%20398.048%20C%20309.995%20393.536%2C319.622%20383.456%2C323.740%20369.585%20C%20325.269%20364.437%2C325.666%20121.415%2C324.157%20114.865%20C%20321.120%20101.687%2C310.419%2090.247%2C296.131%2084.905%20C%20292.134%2083.411%2C289.778%2083.262%2C265.820%2082.993%20C%20251.533%2082.832%2C239.844%2082.556%2C239.844%2082.379%20C%20239.844%2082.202%2C247.754%2066.218%2C257.422%2046.858%20C%20277.069%207.515%2C277.293%206.861%2C272.716%202.284%20C%20269.810%20-0.623%2C264.649%20-0.910%2C261.389%201.654%20C%20259.955%202.783%2C252.970%2015.939%2C239.407%2043.060%20L%20219.528%2082.812%20200.000%2082.813%20L%20180.472%2082.813%20160.593%2043.060%20C%20147.030%2015.939%2C140.045%202.783%2C138.611%201.654%20C%20135.351%20-0.910%2C130.190%20-0.623%2C127.284%202.284%20M210.156%20101.162%20C%20210.156%20101.371%2C208.495%20104.886%2C206.464%20108.974%20L%20202.772%20116.406%20199.072%20116.406%20C%20173.512%20116.406%2C165.725%20152.824%2C188.850%20164.209%20C%20212.555%20175.878%2C237.344%20145.033%2C219.822%20125.671%20C%20218.776%20124.515%2C219.260%20123.182%2C224.581%20112.556%20L%20230.505%20100.728%20260.370%20100.950%20L%20290.234%20101.172%20293.988%20103.089%20C%20299.166%20105.735%2C304.113%20111.266%2C306.136%20116.670%20L%20307.813%20121.152%20307.813%20241.797%20L%20307.813%20362.441%20306.130%20366.939%20C%20303.859%20373.007%2C298.007%20378.859%2C291.939%20381.130%20L%20287.441%20382.813%20200.000%20382.813%20L%20112.559%20382.813%20108.061%20381.130%20C%20101.993%20378.859%2C96.141%20373.007%2C93.870%20366.939%20L%2092.188%20362.441%2092.188%20241.797%20L%2092.188%20121.152%2093.855%20116.694%20C%2096.391%20109.917%2C101.738%20104.660%2C108.984%20101.819%20C%20111.304%20100.910%2C210.156%20100.267%2C210.156%20101.162%20M111.085%20201.949%20C%20106.488%20205.817%2C107.455%20213.384%2C112.874%20215.955%20C%20116.828%20217.832%2C283.172%20217.832%2C287.126%20215.955%20C%20292.545%20213.384%2C293.512%20205.817%2C288.915%20201.949%20L%20286.599%20200.000%20200.000%20200.000%20L%20113.401%20200.000%20111.085%20201.949%20M129.151%20234.336%20C%20123.363%20237.866%2C123.429%20238.534%2C133.552%20278.778%20C%20142.423%20314.050%2C142.739%20314.912%2C147.360%20316.437%20C%20150.456%20317.459%2C154.489%20316.440%2C156.606%20314.100%20C%20158.207%20312.331%2C174.956%20246.412%2C174.982%20241.775%20C%20175.021%20234.984%2C168.951%20231.161%2C162.779%20234.090%20C%20159.140%20235.816%2C158.610%20237.106%2C154.232%20254.883%20C%20152.141%20263.369%2C150.237%20270.313%2C150.000%20270.313%20C%20149.763%20270.313%2C147.859%20263.369%2C145.768%20254.883%20C%20140.432%20233.216%2C137.313%20229.360%2C129.151%20234.336%20M196.340%20233.956%20C%20191.395%20236.106%2C191.406%20236.016%2C191.409%20275.157%20C%20191.412%20315.013%2C191.333%20314.448%2C197.205%20316.386%20C%20201.050%20317.655%2C205.098%20316.270%2C207.089%20313.005%20C%20209.182%20309.572%2C209.436%20241.395%2C207.370%20237.400%20C%20205.360%20233.513%2C200.702%20232.059%2C196.340%20233.956%20M230.691%20233.315%20C%20229.739%20233.524%2C228.069%20234.754%2C226.980%20236.048%20L%20225.000%20238.401%20225.000%20275.000%20L%20225.000%20311.599%20226.949%20313.915%20C%20229.460%20316.900%2C233.421%20317.714%2C237.051%20315.991%20C%20241.521%20313.870%2C242.188%20311.349%2C242.188%20296.562%20L%20242.188%20283.594%20248.408%20283.594%20C%20276.277%20283.594%2C285.819%20247.936%2C261.194%20235.813%20C%20256.098%20233.305%2C237.625%20231.792%2C230.691%20233.315%20M254.051%20251.864%20C%20261.580%20256.797%2C257.796%20265.499%2C247.812%20266.214%20L%20242.188%20266.616%20242.188%20258.201%20L%20242.188%20249.786%20247.140%20250.184%20C%20249.865%20250.402%2C252.974%20251.159%2C254.051%20251.864%20M112.751%20334.073%20C%20107.448%20336.688%2C106.549%20344.234%2C111.085%20348.051%20L%20113.401%20350.000%20200.000%20350.000%20L%20286.599%20350.000%20288.915%20348.051%20C%20293.512%20344.183%2C292.545%20336.616%2C287.126%20334.045%20C%20283.186%20332.175%2C116.544%20332.202%2C112.751%20334.073%20%22%20stroke%3D%22none%22%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"},title:"VIP (Club Access)"},"VIP Club Access":{url:{light:"data:image/svg+xml,%3Csvg%20id%3D%22svg%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%2C%200%2C%20400%2C400%22%3E%3Cg%20id%3D%22svgg%22%3E%3Cpath%20id%3D%22path0%22%20d%3D%22M127.284%202.284%20C%20122.707%206.861%2C122.931%207.515%2C142.578%2046.858%20C%20152.246%2066.218%2C160.156%2082.202%2C160.156%2082.379%20C%20160.156%2082.556%2C148.467%2082.832%2C134.180%2082.993%20C%20110.222%2083.262%2C107.866%2083.411%2C103.869%2084.905%20C%2089.581%2090.247%2C78.880%20101.687%2C75.843%20114.865%20C%2074.334%20121.415%2C74.731%20364.437%2C76.260%20369.585%20C%2080.378%20383.456%2C90.005%20393.536%2C103.444%20398.048%20L%20109.260%20400.000%20200.000%20400.000%20L%20290.740%20400.000%20296.556%20398.048%20C%20309.995%20393.536%2C319.622%20383.456%2C323.740%20369.585%20C%20325.269%20364.437%2C325.666%20121.415%2C324.157%20114.865%20C%20321.120%20101.687%2C310.419%2090.247%2C296.131%2084.905%20C%20292.134%2083.411%2C289.778%2083.262%2C265.820%2082.993%20C%20251.533%2082.832%2C239.844%2082.556%2C239.844%2082.379%20C%20239.844%2082.202%2C247.754%2066.218%2C257.422%2046.858%20C%20277.069%207.515%2C277.293%206.861%2C272.716%202.284%20C%20269.810%20-0.623%2C264.649%20-0.910%2C261.389%201.654%20C%20259.955%202.783%2C252.970%2015.939%2C239.407%2043.060%20L%20219.528%2082.812%20200.000%2082.813%20L%20180.472%2082.813%20160.593%2043.060%20C%20147.030%2015.939%2C140.045%202.783%2C138.611%201.654%20C%20135.351%20-0.910%2C130.190%20-0.623%2C127.284%202.284%20M210.156%20101.162%20C%20210.156%20101.371%2C208.495%20104.886%2C206.464%20108.974%20L%20202.772%20116.406%20199.072%20116.406%20C%20173.512%20116.406%2C165.725%20152.824%2C188.850%20164.209%20C%20212.555%20175.878%2C237.344%20145.033%2C219.822%20125.671%20C%20218.776%20124.515%2C219.260%20123.182%2C224.581%20112.556%20L%20230.505%20100.728%20260.370%20100.950%20L%20290.234%20101.172%20293.988%20103.089%20C%20299.166%20105.735%2C304.113%20111.266%2C306.136%20116.670%20L%20307.813%20121.152%20307.813%20241.797%20L%20307.813%20362.441%20306.130%20366.939%20C%20303.859%20373.007%2C298.007%20378.859%2C291.939%20381.130%20L%20287.441%20382.813%20200.000%20382.813%20L%20112.559%20382.813%20108.061%20381.130%20C%20101.993%20378.859%2C96.141%20373.007%2C93.870%20366.939%20L%2092.188%20362.441%2092.188%20241.797%20L%2092.188%20121.152%2093.855%20116.694%20C%2096.391%20109.917%2C101.738%20104.660%2C108.984%20101.819%20C%20111.304%20100.910%2C210.156%20100.267%2C210.156%20101.162%20M111.085%20201.949%20C%20106.488%20205.817%2C107.455%20213.384%2C112.874%20215.955%20C%20116.828%20217.832%2C283.172%20217.832%2C287.126%20215.955%20C%20292.545%20213.384%2C293.512%20205.817%2C288.915%20201.949%20L%20286.599%20200.000%20200.000%20200.000%20L%20113.401%20200.000%20111.085%20201.949%20M129.151%20234.336%20C%20123.363%20237.866%2C123.429%20238.534%2C133.552%20278.778%20C%20142.423%20314.050%2C142.739%20314.912%2C147.360%20316.437%20C%20150.456%20317.459%2C154.489%20316.440%2C156.606%20314.100%20C%20158.207%20312.331%2C174.956%20246.412%2C174.982%20241.775%20C%20175.021%20234.984%2C168.951%20231.161%2C162.779%20234.090%20C%20159.140%20235.816%2C158.610%20237.106%2C154.232%20254.883%20C%20152.141%20263.369%2C150.237%20270.313%2C150.000%20270.313%20C%20149.763%20270.313%2C147.859%20263.369%2C145.768%20254.883%20C%20140.432%20233.216%2C137.313%20229.360%2C129.151%20234.336%20M196.340%20233.956%20C%20191.395%20236.106%2C191.406%20236.016%2C191.409%20275.157%20C%20191.412%20315.013%2C191.333%20314.448%2C197.205%20316.386%20C%20201.050%20317.655%2C205.098%20316.270%2C207.089%20313.005%20C%20209.182%20309.572%2C209.436%20241.395%2C207.370%20237.400%20C%20205.360%20233.513%2C200.702%20232.059%2C196.340%20233.956%20M230.691%20233.315%20C%20229.739%20233.524%2C228.069%20234.754%2C226.980%20236.048%20L%20225.000%20238.401%20225.000%20275.000%20L%20225.000%20311.599%20226.949%20313.915%20C%20229.460%20316.900%2C233.421%20317.714%2C237.051%20315.991%20C%20241.521%20313.870%2C242.188%20311.349%2C242.188%20296.562%20L%20242.188%20283.594%20248.408%20283.594%20C%20276.277%20283.594%2C285.819%20247.936%2C261.194%20235.813%20C%20256.098%20233.305%2C237.625%20231.792%2C230.691%20233.315%20M254.051%20251.864%20C%20261.580%20256.797%2C257.796%20265.499%2C247.812%20266.214%20L%20242.188%20266.616%20242.188%20258.201%20L%20242.188%20249.786%20247.140%20250.184%20C%20249.865%20250.402%2C252.974%20251.159%2C254.051%20251.864%20M112.751%20334.073%20C%20107.448%20336.688%2C106.549%20344.234%2C111.085%20348.051%20L%20113.401%20350.000%20200.000%20350.000%20L%20286.599%20350.000%20288.915%20348.051%20C%20293.512%20344.183%2C292.545%20336.616%2C287.126%20334.045%20C%20283.186%20332.175%2C116.544%20332.202%2C112.751%20334.073%20%22%20stroke%3D%22none%22%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"},title:"VIP Club Access"},Audio:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%203V13.55C11.41%2013.21%2010.73%2013%2010%2013C7.79%2013%206%2014.79%206%2017C6%2019.21%207.79%2021%2010%2021C12.21%2021%2014%2019.21%2014%2017V7H18V3H12Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Audio"},Visual:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%205V19H5V5H19ZM19%203H5C3.9%203%203%203.9%203%205V19C3%2020.1%203.9%2021%205%2021H19C20.1%2021%2021%2020.1%2021%2019V5C21%203.9%2020.1%203%2019%203ZM14.14%2011.86L11.14%2015.73L9%2013.14L6%2017H18L14.14%2011.86Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Visual"},"Award Show":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%205H17V3H7V5H5C3.9%205%203%205.9%203%207V8C3%2010.55%204.92%2012.63%207.39%2012.94C8.02%2014.44%209.37%2015.57%2011%2015.9V19H7V21H17V19H13V15.9C14.63%2015.57%2015.98%2014.44%2016.61%2012.94C19.08%2012.63%2021%2010.55%2021%208V7C21%205.9%2020.1%205%2019%205ZM5%208V7H7V10.82C5.84%2010.4%205%209.3%205%208ZM12%2014C10.35%2014%209%2012.65%209%2011V5H15V11C15%2012.65%2013.65%2014%2012%2014ZM19%208C19%209.3%2018.16%2010.4%2017%2010.82V7H19V8Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Award Show"},Charity:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Charity"},Benefit:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Benefit"},Exhibit:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_2907_21067)%22%3E%3Cpath%20d%3D%22M14.932%2021.9999H4.31806C3.89173%2021.9999%203.49663%2021.8072%203.2341%2021.4709C2.97199%2021.1352%202.88061%2020.7055%202.98401%2020.292L3.32776%2018.917C3.48116%2018.3033%204.02973%2017.875%204.66181%2017.875H14.5884C15.2205%2017.875%2015.769%2018.3033%2015.9224%2018.917L16.2662%2020.292C16.3696%2020.7056%2016.2783%2021.1353%2016.0161%2021.4709C15.7536%2021.8073%2015.3585%2021.9999%2014.9321%2021.9999H14.932ZM4.66162%2019.2499L4.31787%2020.6249H14.9336L14.5882%2019.2499H4.66162Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.6875%2019.25H7.5625C7.18287%2019.25%206.875%2018.9425%206.875%2018.5625V11.6875C6.875%2010.1708%208.10863%208.9375%209.625%208.9375C11.1414%208.9375%2012.375%2010.1708%2012.375%2011.6875V18.5625C12.375%2018.9425%2012.0671%2019.25%2011.6875%2019.25ZM8.25%2017.875H11V11.6875C11%2010.9295%2010.3833%2010.3125%209.625%2010.3125C8.86668%2010.3125%208.25%2010.9295%208.25%2011.6875V17.875Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M5.96643%2014.5552C5.02985%2014.5552%204.17957%2013.9127%203.95801%2012.964L2.71994%207.59971C2.59569%207.06196%202.68772%206.50873%202.97976%206.04145C3.27145%205.57553%203.72835%205.24989%204.26618%205.125L12.3033%203.2693C12.4816%203.22898%2012.6676%203.25928%2012.8223%203.3566C12.9771%203.45328%2013.0869%203.60704%2013.1281%203.78492L14.9842%2011.8281C15.0252%2012.0054%2014.9939%2012.1927%2014.8969%2012.3471C14.8002%2012.5015%2014.6462%2012.6117%2014.4686%2012.6526L11.8425%2013.2575C11.4709%2013.3434%2011.1037%2013.1118%2011.0181%2012.7419C10.9329%2012.3719%2011.1637%2012.0027%2011.5337%2011.9174L13.4899%2011.4669L11.943%204.76387L4.57629%206.46515C4.20632%206.55037%203.97474%206.92104%204.05995%207.29029L5.29767%2012.6533C5.38289%2013.0186%205.75558%2013.2455%206.12245%2013.1622L7.40916%2012.8668C7.78176%2012.7816%208.14801%2013.0132%208.2333%2013.3832C8.31823%2013.7531%208.08728%2014.1217%207.7173%2014.207L6.43161%2014.5024C6.27584%2014.5386%206.12009%2014.5554%205.96669%2014.5554L5.96643%2014.5552Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M14.9844%2013.2014C14.3584%2013.2014%2013.791%2012.7703%2013.6444%2012.1352L11.7894%204.09674C11.7072%203.73887%2011.7689%203.37036%2011.9633%203.05876C12.158%202.74724%2012.4625%202.53032%2012.8203%202.44775L14.1597%202.13823C14.8969%201.96972%2015.6381%202.43099%2015.8089%203.16948L17.6639%2011.2079C17.7461%2011.5658%2017.6844%2011.9343%2017.49%2012.2459C17.2953%2012.5574%2016.9911%2012.7743%2016.6333%2012.8569L15.2935%2013.1664C15.1901%2013.1899%2015.0864%2013.2014%2014.9844%2013.2014L14.9844%2013.2014ZM14.4688%203.47828L13.1294%203.7878L14.9843%2011.8262L16.3238%2011.5167H16.3248L14.4688%203.47828Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M2.87696%2013.987C1.93802%2013.987%201.08675%2013.3405%200.867259%2012.3877L0.193216%209.46651C0.0693229%208.93004%200.161992%208.37682%200.454044%207.90961C0.746094%207.4424%201.20263%207.11669%201.73938%206.99316L3.2074%206.65407C3.38465%206.61375%203.57163%206.64404%203.7264%206.74137C3.88116%206.83805%203.99095%206.9918%204.0322%207.16969L5.32462%2012.7703C5.40984%2013.1403%205.17932%2013.5095%204.80937%2013.5948L3.34105%2013.9339C3.18557%2013.9695%203.03024%2013.9869%202.87712%2013.9869L2.87696%2013.987ZM2.84681%208.1486L2.04852%208.33329C1.86927%208.37426%201.71724%208.48304%201.61983%208.63873C1.52251%208.79442%201.49164%208.97839%201.53289%209.15772L2.20736%2012.079C2.24832%2012.2576%202.35675%2012.4099%202.51244%2012.5073C2.66813%2012.6046%202.85319%2012.6362%203.03179%2012.5939L3.83008%2012.41L2.84681%208.1486Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M15.1389%204.0106C14.9408%204.0106%2014.7445%203.92538%2014.6085%203.7608C14.3668%203.46804%2014.4082%203.03499%2014.7009%202.79335L17.8912%200.157572C18.1836%20-0.0847766%2018.6176%20-0.0425183%2018.859%200.249524C19.1007%200.542289%2019.0594%200.975341%2018.7667%201.21697L15.5763%203.85276C15.4484%203.95882%2015.293%204.01053%2015.1389%204.01053V4.0106Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.3127%2013.0917C21.2593%2013.0917%2021.205%2013.0857%2021.1508%2013.0722L16.8322%2012.0302C16.463%2011.9417%2016.236%2011.5704%2016.325%2011.201C16.4139%2010.8317%2016.7862%2010.6021%2017.1544%2010.6941L21.473%2011.7361C21.8423%2011.8247%2022.0692%2012.196%2021.9802%2012.5654C21.9043%2012.8803%2021.6227%2013.0917%2021.3125%2013.0917L21.3127%2013.0917Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.6078%205.53595C17.4101%205.53595%2017.2134%205.45072%2017.0774%205.28615C16.8357%204.9941%2016.8767%204.56034%2017.1694%204.3187L18.3544%203.33915C18.6468%203.09745%2019.0802%203.13842%2019.3226%203.43111C19.5643%203.72316%2019.5233%204.15692%2019.2306%204.39856L18.0456%205.37811C17.9174%205.48417%2017.7623%205.53587%2017.6079%205.53587L17.6078%205.53595Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.7455%207.41178C18.4326%207.41178%2018.1496%207.19694%2018.0764%206.87869C17.9909%206.50872%2018.2215%206.1402%2018.5913%206.05426L19.9311%205.74473C20.2981%205.65808%2020.6703%205.88975%2020.7555%206.26036C20.8411%206.63033%2020.6105%206.99884%2020.2406%207.08479L18.9009%207.39431C18.8488%207.40642%2018.7968%207.41179%2018.7454%207.41179L18.7455%207.41178Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.0403%209.95683C19.9869%209.95683%2019.9326%209.95082%2019.8784%209.93735L18.384%209.57685C18.0147%209.48826%2017.7878%209.11701%2017.8767%208.74763C17.966%208.37904%2018.3373%208.14943%2018.7062%208.24075L20.2006%208.60126C20.5699%208.68984%2020.7968%209.06109%2020.7079%209.43047C20.632%209.74537%2020.3504%209.95684%2020.0401%209.95684L20.0403%209.95683Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M10.3125%2012.375C10.3125%2012.7547%2010.0047%2013.0625%209.625%2013.0625C9.2453%2013.0625%208.9375%2012.7547%208.9375%2012.375C8.9375%2011.9953%209.2453%2011.6875%209.625%2011.6875C10.0047%2011.6875%2010.3125%2011.9953%2010.3125%2012.375Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_2907_21067%22%3E%3Crect%20width%3D%2222%22%20height%3D%2222%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Exhibit"},"Fan Experiences":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22.178%2013.0986C22.4745%2012.6261%2022.631%2012.0848%2022.631%2011.529C22.631%209.90206%2021.3076%208.57822%2019.6806%208.57822C18.0537%208.57822%2016.7298%209.90198%2016.7298%2011.529C16.7298%2012.0847%2016.8864%2012.6258%2017.1829%2013.0986C16.8431%2013.5024%2016.5514%2013.9821%2016.3117%2014.5293C15.8205%2013.2349%2015.1277%2012.1763%2014.3061%2011.4771C14.9672%2010.8574%2015.381%209.97688%2015.381%208.99932C15.381%207.12386%2013.861%205.60352%2011.9852%205.60352C10.1097%205.60352%208.5898%207.12376%208.5898%208.99932C8.5898%209.97722%209.0034%2010.8578%209.66448%2011.4771C8.85066%2012.1702%208.16238%2013.2169%207.67198%2014.4961C7.43542%2013.9628%207.14956%2013.4937%206.81674%2013.0988C7.11354%2012.6263%207.2701%2012.085%207.2701%2011.5292C7.2701%209.90222%205.94634%208.57838%204.3193%208.57838C2.69212%208.57838%201.3685%209.90214%201.3685%2011.5292C1.3685%2012.0849%201.52506%2012.626%201.82154%2013.0988C0.914438%2014.1769%200.344278%2015.8212%200.255758%2017.6256C0.245914%2017.8256%200.319508%2018.0235%200.457638%2018.1682C0.595762%2018.313%200.789678%2018.3962%200.989898%2018.3962H23.0099C23.2101%2018.3962%2023.404%2018.3128%2023.5422%2018.1682C23.6803%2018.0235%2023.7539%2017.8256%2023.7443%2017.6256C23.6555%2015.8213%2023.0854%2014.1768%2022.178%2013.0986ZM1.08598%2017.57C1.19692%2015.721%201.87394%2014.0586%202.86388%2013.2154L2.94146%2013.1496L2.86708%2013.0797C2.43348%2012.6733%202.19458%2012.1229%202.19458%2011.5293C2.19458%2010.3578%203.14762%209.40451%204.31938%209.40451C5.49086%209.40451%206.44398%2010.3579%206.44398%2011.5293C6.44398%2012.1229%206.20508%2012.6733%205.77148%2013.0797L5.6971%2013.1496L5.77468%2013.2154C6.4264%2013.7707%206.9528%2014.6957%207.26132%2015.8056C7.12109%2016.3662%207.01468%2016.9566%206.94828%2017.5702L1.08598%2017.57ZM14.4166%2014.7854C14.1673%2015.3843%2012.3156%2017.139%2012.1048%2017.3368L11.9842%2017.4515L11.8631%2017.3368C11.6527%2017.1384%209.80214%2015.3827%209.55394%2014.7826C9.2766%2014.1122%209.59636%2013.3389%2010.2681%2013.0607C10.9132%2012.7954%2011.7156%2013.1242%2011.9857%2013.765C12.2664%2013.1016%2013.0161%2012.7784%2013.7027%2013.0618C14.3747%2013.3415%2014.6942%2014.1142%2014.4166%2014.7854ZM17.0224%2017.57C16.9576%2016.9756%2016.8562%2016.4034%2016.7224%2015.8585C17.0299%2014.7159%2017.5578%2013.7835%2018.2248%2013.2153L18.3024%2013.1495L18.228%2013.0796C17.7944%2012.6732%2017.5557%2012.1228%2017.5557%2011.5292C17.5557%2010.3578%2018.5088%209.40443%2019.6805%209.40443C20.8523%209.40443%2021.8051%2010.3578%2021.8051%2011.5292C21.8051%2012.1228%2021.5665%2012.6732%2021.1329%2013.0796L21.0585%2013.1495L21.1361%2013.2153C22.1259%2014.0585%2022.8033%2015.7209%2022.914%2017.5699L17.0224%2017.57Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/svg%3E"},title:"Fan Experiences"},Festival:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.55755%203.76462L9.77959%204.42462L10.1576%203.8786L10.8476%203.9086L10.4156%203.34462L10.6136%202.70266L9.9716%202.90063L9.40754%202.47461L9.43754%203.15859L8.8916%203.53663L9.55755%203.76462Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M0.684018%209.82388L1.06206%2010.3699L1.29002%209.7099L1.95002%209.48194L1.404%209.1039L1.44001%208.41992L0.876034%208.85196L0.233994%208.65392L0.43204%209.29596L0%209.85994L0.684018%209.82388Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M3.1142%2021.3688C3.22623%2021.5262%203.4071%2021.62%203.60022%2021.6209H15.6002C15.7933%2021.62%2015.9742%2021.5262%2016.0862%2021.3688C16.1994%2021.2128%2016.2306%2021.0119%2016.1702%2020.8288C15.6723%2019.3698%2015.5003%2017.8196%2015.6662%2016.2868C15.6898%2016.0724%2015.5973%2015.8618%2015.4233%2015.7342C15.2495%2015.6066%2015.0208%2015.5814%2014.8233%2015.6682C14.6259%2015.7549%2014.4898%2015.9404%2014.4662%2016.1548C14.31%2017.5849%2014.4219%2019.0316%2014.7962%2020.4208H12.3962C12.1218%2019.1331%2011.989%2017.8194%2012.0002%2016.5028C12.0002%2016.3436%2011.937%2016.191%2011.8245%2016.0785C11.7119%2015.966%2011.5594%2015.9028%2011.4002%2015.9028C11.2411%2015.9028%2011.0885%2015.966%2010.9759%2016.0785C10.8634%2016.191%2010.8002%2016.3436%2010.8002%2016.5028C10.7841%2017.8177%2010.9048%2019.1308%2011.1602%2020.4208H8.04021C8.29771%2019.1209%208.41833%2017.7978%208.40021%2016.4728C8.40021%2016.3136%208.33701%2016.161%208.22451%2016.0485C8.11193%2015.936%207.95935%2015.8728%207.80021%2015.8728C7.64107%2015.8728%207.48849%2015.936%207.37591%2016.0485C7.26341%2016.161%207.20021%2016.3136%207.20021%2016.4728C7.2156%2017.7991%207.08482%2019.1232%206.81021%2020.4208H4.41021C4.78247%2019.0313%204.89239%2017.5846%204.73419%2016.1548C4.71059%2015.9404%204.5745%2015.7549%204.37709%2015.6682C4.17959%2015.5814%203.95091%2015.6066%203.77709%2015.7342C3.60318%2015.8618%203.51061%2016.0724%203.53419%2016.2868C3.70012%2017.8195%203.52809%2019.3698%203.03021%2020.8288C2.96982%2021.0119%203.00107%2021.2128%203.1142%2021.3688Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.1376%2012.6204C18.1311%2012.4226%2018.0337%2012.2389%2017.8736%2012.1225C15.0232%2010.2542%2012.3944%208.06828%2010.0376%205.60648C9.9194%205.49422%209.76268%205.43164%209.59964%205.43164C9.4366%205.43164%209.27988%205.49422%209.16168%205.60648C6.80488%208.06828%204.17588%2010.2543%201.32568%2012.1225C1.1656%2012.2389%201.06818%2012.4226%201.0617%2012.6204C1.02732%2013.3408%201.27936%2014.0454%201.7628%2014.5804C2.24616%2015.1155%202.92162%2015.4376%203.6417%2015.4765C4.43428%2015.4615%205.1721%2015.0692%205.62764%2014.4204C6.07436%2015.0787%206.81818%2015.4729%207.61366%2015.4729C8.4092%2015.4729%209.15304%2015.0787%209.59968%2014.4204C10.0463%2015.0787%2010.7901%2015.4729%2011.5857%2015.4729C12.3812%2015.4729%2013.125%2015.0787%2013.5717%2014.4204C14.0356%2015.0556%2014.7713%2015.4356%2015.5577%2015.4465C16.2723%2015.4076%2016.9431%2015.0897%2017.4257%2014.5611C17.9082%2014.0325%2018.1639%2013.3357%2018.1377%2012.6204ZM7.19958%2012.0204C8.24716%2010.8424%209.06154%209.47624%209.59958%207.99444C10.1376%209.47624%2010.952%2010.8424%2011.9996%2012.0204H7.19958ZM13.7276%2012.0204C12.5012%2011.0271%2011.5558%209.73004%2010.9856%208.25844C12.4414%209.60992%2013.9826%2010.8666%2015.5996%2012.0204H13.7276ZM8.16558%208.25844H8.16566C7.6002%209.7264%206.6637%2011.0226%205.44766%2012.0204H3.5997C5.20846%2010.8657%206.7415%209.60904%208.1897%208.25844H8.16558Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M5.39995%205.56484C5.43276%205.69796%205.51026%205.81586%205.61941%205.89882C5.72863%205.98179%205.86293%206.02484%205.99995%206.02085H6.14394C6.30558%205.98695%206.44604%205.88796%206.53238%205.74717C6.61863%205.60639%206.64308%205.43623%206.59995%205.27685C6.29589%204.00021%205.64363%202.83305%204.71573%201.90505C3.78777%200.977152%202.62053%200.324891%201.34393%200.0208315C1.18456%20-0.0222925%201.01439%200.00215971%200.873613%200.0884095C0.732831%200.174738%200.633853%200.315209%200.599933%200.476849C0.556809%200.636225%200.581261%200.806389%200.667511%200.947169C0.753839%201.08795%200.894311%201.18693%201.05595%201.22085C2.10861%201.47717%203.07055%202.01795%203.83675%202.78405C4.60285%203.55015%205.14363%204.51216%205.39995%205.56484Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M0.0303734%206.21264C0.0746694%206.36952%200.180841%206.5017%200.324593%206.57866C0.468345%206.65562%200.637254%206.67077%200.792414%206.62062C1.48257%206.37132%202.23819%206.37132%202.92841%206.62062C3.55857%206.87484%204.03801%207.40296%204.23045%208.0546C4.27756%208.16592%204.35717%208.26046%204.45889%208.32578C4.56061%208.39109%204.67967%208.42414%204.80045%208.42062C4.86545%208.41898%204.93006%208.4089%204.99249%208.39062C5.14936%208.34632%205.28155%208.24015%205.35851%208.0964C5.43547%207.95265%205.45062%207.78374%205.40046%207.62858C5.24687%207.14304%204.98828%206.69718%204.64296%206.32288C4.29764%205.9485%203.87414%205.65476%203.4025%205.46264C2.44476%205.11662%201.3961%205.11662%200.438499%205.46264C0.284359%205.50709%200.154519%205.61147%200.0777994%205.75232C0.00115944%205.89326%20-0.0158725%206.05904%200.0305335%206.21264L0.0303734%206.21264Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M15.8277%205.46306C15.3561%205.65517%2014.9326%205.94892%2014.5873%206.3233C14.242%206.6976%2013.9834%207.14346%2013.8298%207.629C13.7688%207.78384%2013.7749%207.95704%2013.8466%208.1072C13.9183%208.25736%2014.0491%208.37102%2014.2078%208.42102C14.2715%208.42922%2014.336%208.42922%2014.3998%208.42102C14.5256%208.42133%2014.6483%208.38211%2014.7506%208.30891C14.8528%208.23571%2014.9295%208.13219%2014.9698%208.01305C15.1622%207.36133%2015.6417%206.83329%2016.2718%206.57899C16.962%206.32977%2017.7176%206.32977%2018.4078%206.57899C18.6115%206.64758%2018.8363%206.60235%2018.9975%206.46032C19.1587%206.31821%2019.2319%206.10094%2019.1895%205.89032C19.147%205.67962%2018.9955%205.50758%2018.7919%205.439C17.8313%205.1008%2016.7827%205.10932%2015.8279%205.46306H15.8277Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M19.2%209.85994L18.768%209.29596L18.966%208.65392L18.324%208.85196L17.76%208.41992L17.796%209.1039L17.25%209.48194L17.91%209.7099L18.138%2010.3699L18.51%209.82388L19.2%209.85994Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.856%200.0209578C16.5793%200.325018%2015.4122%200.977278%2014.4842%201.90518C13.5563%202.83314%2012.904%204.00038%2012.5999%205.27698C12.5568%205.43635%2012.5813%205.60652%2012.6675%205.7473C12.7538%205.88808%2012.8943%205.98706%2013.056%206.02098H13.1999C13.337%206.02496%2013.4713%205.98192%2013.5805%205.89895C13.6896%205.81598%2013.7671%205.69809%2013.7999%205.56497C14.0563%204.51231%2014.597%203.55037%2015.3631%202.78417C16.1292%202.01807%2017.0913%201.47729%2018.1439%201.22097C18.3583%201.16948%2018.5289%201.00761%2018.5916%200.796286C18.6542%200.584886%2018.5993%200.356206%2018.4475%200.196286C18.2958%200.0363639%2018.0704%20-0.0305141%2017.856%200.0209739L17.856%200.0209578Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Festival"},Lecture:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2021%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5318%200.300781H3.94785C3.31137%200.300781%202.70089%200.553681%202.25081%201.00374C1.80073%201.45382%201.54785%202.06428%201.54785%202.70078V10.3808C1.54785%2011.0173%201.80075%2011.6277%202.25081%2012.0778C2.70089%2012.5279%203.31135%2012.7808%203.94785%2012.7808H17.5318C18.1683%2012.7808%2018.7788%2012.5279%2019.2289%2012.0778C19.679%2011.6277%2019.9319%2011.0173%2019.9319%2010.3808V2.70078C19.9319%202.0643%2019.679%201.45382%2019.2289%201.00374C18.7788%200.553661%2018.1684%200.300781%2017.5318%200.300781ZM10.4999%207.59678C9.93337%207.59678%209.39009%207.3717%208.98945%206.97116C8.58891%206.57054%208.36383%206.02726%208.36383%205.46076C8.36383%204.89426%208.58891%204.351%208.98945%203.95036C9.39007%203.54982%209.93335%203.32474%2010.4999%203.32474C11.0664%203.32474%2011.6096%203.54982%2012.0103%203.95036C12.4108%204.35098%2012.6359%204.89426%2012.6359%205.46076C12.6359%206.02726%2012.4108%206.57052%2012.0103%206.97116C11.6096%207.3717%2011.0664%207.59678%2010.4999%207.59678ZM10.4999%208.55678C11.3976%208.55826%2012.2629%208.89296%2012.9281%209.496C13.5931%2010.099%2014.0107%2010.9274%2014.0999%2011.8208H6.89993C6.98915%2010.9274%207.40673%2010.099%208.07181%209.496C8.73689%208.89296%209.60221%208.55826%2010.5%208.55678H10.4999ZM18.9718%2010.3808C18.9718%2010.7626%2018.8201%2011.129%2018.5501%2011.399C18.28%2011.669%2017.9137%2011.8208%2017.5318%2011.8208H15.0599C14.9922%2010.9903%2014.6995%2010.194%2014.2132%209.51736C13.727%208.84072%2013.0655%208.30954%2012.2999%207.98072C13.0122%207.4665%2013.4726%206.67392%2013.5662%205.80032C13.6598%204.9268%2013.378%204.05462%2012.7908%203.40112C12.2036%202.74762%2011.3664%202.3744%2010.4878%202.3744C9.60925%202.3744%208.77207%202.7476%208.18497%203.40112C7.59787%204.05464%207.31591%204.92682%207.40951%205.80032C7.50318%206.67392%207.96357%207.4665%208.67591%207.98072C7.91481%208.3129%207.25825%208.84564%206.77631%209.52196C6.29443%2010.1983%206.00537%2010.9928%205.93991%2011.8208H3.94787C3.56599%2011.8208%203.19975%2011.669%202.92967%2011.399C2.65959%2011.129%202.50787%2010.7626%202.50787%2010.3808V2.70076C2.50787%202.31888%202.65959%201.95256%202.92967%201.68256C3.19975%201.41248%203.56599%201.26076%203.94787%201.26076H17.5319C17.9138%201.26076%2018.28%201.41248%2018.5501%201.68256C18.8202%201.95256%2018.9719%202.31888%2018.9719%202.70076L18.9718%2010.3808Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M20.1481%2016.8841C20.1559%2016.0485%2019.7328%2015.2678%2019.0284%2014.8183C18.3241%2014.3687%2017.4377%2014.3136%2016.683%2014.6725C15.9284%2015.0314%2015.4119%2015.7536%2015.3162%2016.5838C15.2204%2017.4139%2015.559%2018.2348%2016.2121%2018.756C15.3108%2019.2876%2014.7548%2020.2536%2014.748%2021.3V21.9C14.748%2022.2183%2014.8745%2022.5235%2015.0995%2022.7485C15.3246%2022.9736%2015.6298%2023.1%2015.948%2023.1H19.5C19.8183%2023.1%2020.1236%2022.9736%2020.3486%2022.7485C20.5736%2022.5235%2020.7%2022.2183%2020.7%2021.9V21.3C20.6933%2020.2536%2020.1374%2019.2876%2019.2361%2018.756C19.809%2018.3032%2020.1447%2017.6142%2020.148%2016.8839L20.1481%2016.8841ZM17.7241%2015.4201C18.1124%2015.4201%2018.4848%2015.5743%2018.7594%2015.8489C19.0339%2016.1234%2019.1881%2016.4958%2019.1881%2016.8841C19.1881%2017.2723%2019.0339%2017.6448%2018.7594%2017.9193C18.4848%2018.1938%2018.1124%2018.3481%2017.7241%2018.3481C17.3358%2018.3481%2016.9635%2018.1938%2016.689%2017.9193C16.4144%2017.6448%2016.2601%2017.2723%2016.2601%2016.8841C16.2601%2016.4958%2016.4144%2016.1234%2016.689%2015.8489C16.9635%2015.5743%2017.3358%2015.4201%2017.7241%2015.4201ZM19.7401%2021.9001C19.7401%2021.9637%2019.7148%2022.0248%2019.6698%2022.0698C19.6248%2022.1148%2019.5638%2022.1401%2019.5001%2022.1401H15.9481C15.8156%2022.1401%2015.7081%2022.0326%2015.7081%2021.9001V21.3001C15.7081%2020.5798%2016.0924%2019.9143%2016.7162%2019.5541C17.3399%2019.1941%2018.1084%2019.1941%2018.7322%2019.5541C19.3559%2019.9143%2019.7401%2020.5798%2019.7401%2021.3001V21.9001Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M1.4998%2023.1002H5.0518C5.37%2023.1002%205.67524%2022.9738%205.90032%2022.7487C6.12532%2022.5237%206.2518%2022.2185%206.2518%2021.9002V21.3002C6.24501%2020.2538%205.68906%2019.2878%204.78774%2018.7562C5.31478%2018.3356%205.64282%2017.7145%205.69306%2017.0421C5.7433%2016.3697%205.51119%2015.7068%205.05252%2015.2126C4.59384%2014.7184%203.95002%2014.4375%203.2758%2014.4375C2.6015%2014.4375%201.95776%2014.7184%201.49908%2015.2126C1.0404%2015.7068%200.808305%2016.3697%200.858545%2017.0421C0.908785%2017.7146%201.23674%2018.3356%201.76378%2018.7562C0.862465%2019.2878%200.306605%2020.2538%200.299805%2021.3002V21.9002C0.299805%2022.2185%200.426211%2022.5237%200.651285%2022.7487C0.876285%2022.9738%201.18152%2023.1002%201.4998%2023.1002ZM3.27582%2015.4202C3.6641%2015.4202%204.03644%2015.5744%204.31098%2015.849C4.58558%2016.1235%204.7398%2016.4959%204.7398%2016.8842C4.7398%2017.2724%204.58559%2017.6449%204.31098%2017.9194C4.03644%2018.1939%203.6641%2018.3482%203.27582%2018.3482C2.88754%2018.3482%202.51512%2018.1939%202.24058%2017.9194C1.96604%2017.6449%201.81182%2017.2724%201.81182%2016.8842C1.81182%2016.4959%201.96604%2016.1235%202.24058%2015.849C2.51512%2015.5744%202.88754%2015.4202%203.27582%2015.4202ZM1.25982%2021.3002C1.25982%2020.5799%201.64404%2019.9144%202.26778%2019.5542C2.89154%2019.1942%203.66004%2019.1942%204.28378%2019.5542C4.90754%2019.9144%205.29182%2020.5799%205.29182%2021.3002V21.9002C5.29182%2021.9639%205.26651%2022.0249%205.22151%2022.0699C5.17651%2022.1149%205.11542%2022.1402%205.05183%2022.1402H1.49982C1.36725%2022.1402%201.25982%2022.0328%201.25982%2021.9002V21.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M7.52344%2021.3002V21.9002C7.52344%2022.2185%207.64984%2022.5237%207.87492%2022.7487C8.1%2022.9738%208.40516%2023.1002%208.72344%2023.1002H12.2754C12.5937%2023.1002%2012.8989%2022.9738%2013.124%2022.7487C13.349%2022.5237%2013.4754%2022.2185%2013.4754%2021.9002V21.3002C13.4686%2020.2538%2012.9128%2019.2878%2012.0115%2018.7562C12.5384%2018.3356%2012.8665%2017.7145%2012.9167%2017.0421C12.9669%2016.3697%2012.7348%2015.7068%2012.2762%2015.2126C11.8175%2014.7184%2011.1737%2014.4375%2010.4994%2014.4375C9.82514%2014.4375%209.1814%2014.7184%208.72272%2015.2126C8.26404%2015.7068%208.03194%2016.3697%208.08218%2017.0421C8.13242%2017.7146%208.46046%2018.3356%208.98742%2018.7562C8.0861%2019.2878%207.53024%2020.2538%207.52344%2021.3002ZM10.4994%2015.4202C10.8877%2015.4202%2011.2601%2015.5744%2011.5347%2015.849C11.8092%2016.1235%2011.9634%2016.4959%2011.9634%2016.8842C11.9634%2017.2724%2011.8092%2017.6449%2011.5347%2017.9194C11.2601%2018.1939%2010.8877%2018.3482%2010.4994%2018.3482C10.1112%2018.3482%209.73882%2018.1939%209.4642%2017.9194C9.18966%2017.6449%209.03544%2017.2724%209.03544%2016.8842C9.03544%2016.4959%209.18965%2016.1235%209.4642%2015.849C9.7388%2015.5744%2010.1112%2015.4202%2010.4994%2015.4202ZM8.48344%2021.3002C8.48344%2020.5799%208.86774%2019.9144%209.49148%2019.5542C10.1152%2019.1942%2010.8837%2019.1942%2011.5075%2019.5542C12.1312%2019.9144%2012.5155%2020.5799%2012.5155%2021.3002V21.9002C12.5155%2021.9639%2012.4902%2022.0249%2012.4452%2022.0699C12.4002%2022.1149%2012.3392%2022.1402%2012.2755%2022.1402H8.72352C8.59102%2022.1402%208.48352%2022.0328%208.48352%2021.9002L8.48344%2021.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3C/svg%3E"},title:"Lecture"},Seminar:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2021%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5318%200.300781H3.94785C3.31137%200.300781%202.70089%200.553681%202.25081%201.00374C1.80073%201.45382%201.54785%202.06428%201.54785%202.70078V10.3808C1.54785%2011.0173%201.80075%2011.6277%202.25081%2012.0778C2.70089%2012.5279%203.31135%2012.7808%203.94785%2012.7808H17.5318C18.1683%2012.7808%2018.7788%2012.5279%2019.2289%2012.0778C19.679%2011.6277%2019.9319%2011.0173%2019.9319%2010.3808V2.70078C19.9319%202.0643%2019.679%201.45382%2019.2289%201.00374C18.7788%200.553661%2018.1684%200.300781%2017.5318%200.300781ZM10.4999%207.59678C9.93337%207.59678%209.39009%207.3717%208.98945%206.97116C8.58891%206.57054%208.36383%206.02726%208.36383%205.46076C8.36383%204.89426%208.58891%204.351%208.98945%203.95036C9.39007%203.54982%209.93335%203.32474%2010.4999%203.32474C11.0664%203.32474%2011.6096%203.54982%2012.0103%203.95036C12.4108%204.35098%2012.6359%204.89426%2012.6359%205.46076C12.6359%206.02726%2012.4108%206.57052%2012.0103%206.97116C11.6096%207.3717%2011.0664%207.59678%2010.4999%207.59678ZM10.4999%208.55678C11.3976%208.55826%2012.2629%208.89296%2012.9281%209.496C13.5931%2010.099%2014.0107%2010.9274%2014.0999%2011.8208H6.89993C6.98915%2010.9274%207.40673%2010.099%208.07181%209.496C8.73689%208.89296%209.60221%208.55826%2010.5%208.55678H10.4999ZM18.9718%2010.3808C18.9718%2010.7626%2018.8201%2011.129%2018.5501%2011.399C18.28%2011.669%2017.9137%2011.8208%2017.5318%2011.8208H15.0599C14.9922%2010.9903%2014.6995%2010.194%2014.2132%209.51736C13.727%208.84072%2013.0655%208.30954%2012.2999%207.98072C13.0122%207.4665%2013.4726%206.67392%2013.5662%205.80032C13.6598%204.9268%2013.378%204.05462%2012.7908%203.40112C12.2036%202.74762%2011.3664%202.3744%2010.4878%202.3744C9.60925%202.3744%208.77207%202.7476%208.18497%203.40112C7.59787%204.05464%207.31591%204.92682%207.40951%205.80032C7.50318%206.67392%207.96357%207.4665%208.67591%207.98072C7.91481%208.3129%207.25825%208.84564%206.77631%209.52196C6.29443%2010.1983%206.00537%2010.9928%205.93991%2011.8208H3.94787C3.56599%2011.8208%203.19975%2011.669%202.92967%2011.399C2.65959%2011.129%202.50787%2010.7626%202.50787%2010.3808V2.70076C2.50787%202.31888%202.65959%201.95256%202.92967%201.68256C3.19975%201.41248%203.56599%201.26076%203.94787%201.26076H17.5319C17.9138%201.26076%2018.28%201.41248%2018.5501%201.68256C18.8202%201.95256%2018.9719%202.31888%2018.9719%202.70076L18.9718%2010.3808Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M20.1481%2016.8841C20.1559%2016.0485%2019.7328%2015.2678%2019.0284%2014.8183C18.3241%2014.3687%2017.4377%2014.3136%2016.683%2014.6725C15.9284%2015.0314%2015.4119%2015.7536%2015.3162%2016.5838C15.2204%2017.4139%2015.559%2018.2348%2016.2121%2018.756C15.3108%2019.2876%2014.7548%2020.2536%2014.748%2021.3V21.9C14.748%2022.2183%2014.8745%2022.5235%2015.0995%2022.7485C15.3246%2022.9736%2015.6298%2023.1%2015.948%2023.1H19.5C19.8183%2023.1%2020.1236%2022.9736%2020.3486%2022.7485C20.5736%2022.5235%2020.7%2022.2183%2020.7%2021.9V21.3C20.6933%2020.2536%2020.1374%2019.2876%2019.2361%2018.756C19.809%2018.3032%2020.1447%2017.6142%2020.148%2016.8839L20.1481%2016.8841ZM17.7241%2015.4201C18.1124%2015.4201%2018.4848%2015.5743%2018.7594%2015.8489C19.0339%2016.1234%2019.1881%2016.4958%2019.1881%2016.8841C19.1881%2017.2723%2019.0339%2017.6448%2018.7594%2017.9193C18.4848%2018.1938%2018.1124%2018.3481%2017.7241%2018.3481C17.3358%2018.3481%2016.9635%2018.1938%2016.689%2017.9193C16.4144%2017.6448%2016.2601%2017.2723%2016.2601%2016.8841C16.2601%2016.4958%2016.4144%2016.1234%2016.689%2015.8489C16.9635%2015.5743%2017.3358%2015.4201%2017.7241%2015.4201ZM19.7401%2021.9001C19.7401%2021.9637%2019.7148%2022.0248%2019.6698%2022.0698C19.6248%2022.1148%2019.5638%2022.1401%2019.5001%2022.1401H15.9481C15.8156%2022.1401%2015.7081%2022.0326%2015.7081%2021.9001V21.3001C15.7081%2020.5798%2016.0924%2019.9143%2016.7162%2019.5541C17.3399%2019.1941%2018.1084%2019.1941%2018.7322%2019.5541C19.3559%2019.9143%2019.7401%2020.5798%2019.7401%2021.3001V21.9001Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M1.4998%2023.1002H5.0518C5.37%2023.1002%205.67524%2022.9738%205.90032%2022.7487C6.12532%2022.5237%206.2518%2022.2185%206.2518%2021.9002V21.3002C6.24501%2020.2538%205.68906%2019.2878%204.78774%2018.7562C5.31478%2018.3356%205.64282%2017.7145%205.69306%2017.0421C5.7433%2016.3697%205.51119%2015.7068%205.05252%2015.2126C4.59384%2014.7184%203.95002%2014.4375%203.2758%2014.4375C2.6015%2014.4375%201.95776%2014.7184%201.49908%2015.2126C1.0404%2015.7068%200.808305%2016.3697%200.858545%2017.0421C0.908785%2017.7146%201.23674%2018.3356%201.76378%2018.7562C0.862465%2019.2878%200.306605%2020.2538%200.299805%2021.3002V21.9002C0.299805%2022.2185%200.426211%2022.5237%200.651285%2022.7487C0.876285%2022.9738%201.18152%2023.1002%201.4998%2023.1002ZM3.27582%2015.4202C3.6641%2015.4202%204.03644%2015.5744%204.31098%2015.849C4.58558%2016.1235%204.7398%2016.4959%204.7398%2016.8842C4.7398%2017.2724%204.58559%2017.6449%204.31098%2017.9194C4.03644%2018.1939%203.6641%2018.3482%203.27582%2018.3482C2.88754%2018.3482%202.51512%2018.1939%202.24058%2017.9194C1.96604%2017.6449%201.81182%2017.2724%201.81182%2016.8842C1.81182%2016.4959%201.96604%2016.1235%202.24058%2015.849C2.51512%2015.5744%202.88754%2015.4202%203.27582%2015.4202ZM1.25982%2021.3002C1.25982%2020.5799%201.64404%2019.9144%202.26778%2019.5542C2.89154%2019.1942%203.66004%2019.1942%204.28378%2019.5542C4.90754%2019.9144%205.29182%2020.5799%205.29182%2021.3002V21.9002C5.29182%2021.9639%205.26651%2022.0249%205.22151%2022.0699C5.17651%2022.1149%205.11542%2022.1402%205.05183%2022.1402H1.49982C1.36725%2022.1402%201.25982%2022.0328%201.25982%2021.9002V21.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M7.52344%2021.3002V21.9002C7.52344%2022.2185%207.64984%2022.5237%207.87492%2022.7487C8.1%2022.9738%208.40516%2023.1002%208.72344%2023.1002H12.2754C12.5937%2023.1002%2012.8989%2022.9738%2013.124%2022.7487C13.349%2022.5237%2013.4754%2022.2185%2013.4754%2021.9002V21.3002C13.4686%2020.2538%2012.9128%2019.2878%2012.0115%2018.7562C12.5384%2018.3356%2012.8665%2017.7145%2012.9167%2017.0421C12.9669%2016.3697%2012.7348%2015.7068%2012.2762%2015.2126C11.8175%2014.7184%2011.1737%2014.4375%2010.4994%2014.4375C9.82514%2014.4375%209.1814%2014.7184%208.72272%2015.2126C8.26404%2015.7068%208.03194%2016.3697%208.08218%2017.0421C8.13242%2017.7146%208.46046%2018.3356%208.98742%2018.7562C8.0861%2019.2878%207.53024%2020.2538%207.52344%2021.3002ZM10.4994%2015.4202C10.8877%2015.4202%2011.2601%2015.5744%2011.5347%2015.849C11.8092%2016.1235%2011.9634%2016.4959%2011.9634%2016.8842C11.9634%2017.2724%2011.8092%2017.6449%2011.5347%2017.9194C11.2601%2018.1939%2010.8877%2018.3482%2010.4994%2018.3482C10.1112%2018.3482%209.73882%2018.1939%209.4642%2017.9194C9.18966%2017.6449%209.03544%2017.2724%209.03544%2016.8842C9.03544%2016.4959%209.18965%2016.1235%209.4642%2015.849C9.7388%2015.5744%2010.1112%2015.4202%2010.4994%2015.4202ZM8.48344%2021.3002C8.48344%2020.5799%208.86774%2019.9144%209.49148%2019.5542C10.1152%2019.1942%2010.8837%2019.1942%2011.5075%2019.5542C12.1312%2019.9144%2012.5155%2020.5799%2012.5155%2021.3002V21.9002C12.5155%2021.9639%2012.4902%2022.0249%2012.4452%2022.0699C12.4002%2022.1149%2012.3392%2022.1402%2012.2755%2022.1402H8.72352C8.59102%2022.1402%208.48352%2022.0328%208.48352%2021.9002L8.48344%2021.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3C/svg%3E"},title:"Seminar"},Party:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.132%2015.48L5.53203%208.88002C5.43602%208.784%205.31601%208.73603%205.19601%208.76002C5.07601%208.76002%204.95601%208.80798%204.85999%208.904C4.81202%208.95197%204.78796%208.97603%204.76398%209.04799L0.035976%2020.352C-0.011992%2020.472%20-0.011992%2020.592%200.035976%2020.712C0.083944%2020.832%200.17996%2020.928%200.275976%2020.976C0.323944%2020.9999%200.395976%2021.0239%200.468008%2021.0239H0.564024L0.588008%2020.9999H0.635976L12.012%2016.2239C12.132%2016.176%2012.204%2016.08%2012.252%2015.96C12.2999%2015.84%2012.2999%2015.72%2012.228%2015.6C12.2039%2015.552%2012.1799%2015.528%2012.132%2015.48L12.132%2015.48ZM2.00403%2018.096L2.91607%2019.0081L1.35607%2019.656L2.00403%2018.096ZM8.43603%2016.7041L6.61205%2017.448L3.54005%2014.4L4.28403%2012.5761L8.43603%2016.7041Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M7.06836%209.00037L6.90039%209.16841L7.57243%209.84045L7.7404%209.67248C8.3404%209.07248%208.74836%208.30452%208.9404%207.46448C9.10837%206.69652%209.08438%205.8805%208.86837%205.13648L8.79634%204.89648L7.8843%205.18444L7.95633%205.40046C8.14836%206.00046%208.14836%206.64842%208.02836%207.24842C7.88437%207.89632%207.54836%208.5203%207.06836%209.0003V9.00037Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M6.99639%203.76806L7.45242%205.25602L8.58037%204.2L10.0924%204.56L9.73242%203.04796L10.7884%201.92L9.30048%201.46398L8.82039%200L7.69243%201.05602L6.18039%200.69602L6.54039%202.20806L5.48438%203.33602L6.99639%203.76806Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.1158%2012.2152L15.8758%2012.1432C15.1319%2011.9272%2014.3158%2011.9032%2013.5478%2012.0712C12.7078%2012.2632%2011.9399%2012.6712%2011.3398%2013.2712L11.1719%2013.4391L11.8439%2014.1112L12.0119%2013.9432C12.4919%2013.4632%2013.0919%2013.1272%2013.7639%2012.9832C14.3639%2012.8392%2015.0119%2012.8632%2015.6119%2013.0552L15.8279%2013.1273L16.1158%2012.2152Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.0124%2012.192L19.5245%2011.736L19.0684%2010.248L17.9405%2011.3041L16.4284%2010.9441L16.7884%2012.4561L15.7324%2013.5841L17.2204%2014.0401L17.6764%2015.528L18.8044%2014.472L20.3164%2014.832L19.9564%2013.32L21.0124%2012.192Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M13.2604%207.75298L13.7164%209.24094L14.8444%208.18492L16.3564%208.54492L15.9964%207.03288L17.0525%205.90492L15.5645%205.4489L15.1085%203.96094L13.9805%205.01696L12.4685%204.65696L12.8285%206.169L11.7725%207.29696L13.2604%207.75298Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7696%208.90602L9.83375%2011.8418L9.17188%2011.1799L12.1077%208.24414L12.7696%208.90602Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Party"},Gala:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.132%2015.48L5.53203%208.88002C5.43602%208.784%205.31601%208.73603%205.19601%208.76002C5.07601%208.76002%204.95601%208.80798%204.85999%208.904C4.81202%208.95197%204.78796%208.97603%204.76398%209.04799L0.035976%2020.352C-0.011992%2020.472%20-0.011992%2020.592%200.035976%2020.712C0.083944%2020.832%200.17996%2020.928%200.275976%2020.976C0.323944%2020.9999%200.395976%2021.0239%200.468008%2021.0239H0.564024L0.588008%2020.9999H0.635976L12.012%2016.2239C12.132%2016.176%2012.204%2016.08%2012.252%2015.96C12.2999%2015.84%2012.2999%2015.72%2012.228%2015.6C12.2039%2015.552%2012.1799%2015.528%2012.132%2015.48L12.132%2015.48ZM2.00403%2018.096L2.91607%2019.0081L1.35607%2019.656L2.00403%2018.096ZM8.43603%2016.7041L6.61205%2017.448L3.54005%2014.4L4.28403%2012.5761L8.43603%2016.7041Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M7.06836%209.00037L6.90039%209.16841L7.57243%209.84045L7.7404%209.67248C8.3404%209.07248%208.74836%208.30452%208.9404%207.46448C9.10837%206.69652%209.08438%205.8805%208.86837%205.13648L8.79634%204.89648L7.8843%205.18444L7.95633%205.40046C8.14836%206.00046%208.14836%206.64842%208.02836%207.24842C7.88437%207.89632%207.54836%208.5203%207.06836%209.0003V9.00037Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M6.99639%203.76806L7.45242%205.25602L8.58037%204.2L10.0924%204.56L9.73242%203.04796L10.7884%201.92L9.30048%201.46398L8.82039%200L7.69243%201.05602L6.18039%200.69602L6.54039%202.20806L5.48438%203.33602L6.99639%203.76806Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.1158%2012.2152L15.8758%2012.1432C15.1319%2011.9272%2014.3158%2011.9032%2013.5478%2012.0712C12.7078%2012.2632%2011.9399%2012.6712%2011.3398%2013.2712L11.1719%2013.4391L11.8439%2014.1112L12.0119%2013.9432C12.4919%2013.4632%2013.0919%2013.1272%2013.7639%2012.9832C14.3639%2012.8392%2015.0119%2012.8632%2015.6119%2013.0552L15.8279%2013.1273L16.1158%2012.2152Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.0124%2012.192L19.5245%2011.736L19.0684%2010.248L17.9405%2011.3041L16.4284%2010.9441L16.7884%2012.4561L15.7324%2013.5841L17.2204%2014.0401L17.6764%2015.528L18.8044%2014.472L20.3164%2014.832L19.9564%2013.32L21.0124%2012.192Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M13.2604%207.75298L13.7164%209.24094L14.8444%208.18492L16.3564%208.54492L15.9964%207.03288L17.0525%205.90492L15.5645%205.4489L15.1085%203.96094L13.9805%205.01696L12.4685%204.65696L12.8285%206.169L11.7725%207.29696L13.2604%207.75298Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7696%208.90602L9.83375%2011.8418L9.17188%2011.1799L12.1077%208.24414L12.7696%208.90602Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Gala"},Sightseeing:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209C5%2014.25%2012%2022%2012%2022C12%2022%2019%2014.25%2019%209C19%205.13%2015.87%202%2012%202ZM7%209C7%206.24%209.24%204%2012%204C14.76%204%2017%206.24%2017%209C17%2011.88%2014.12%2016.19%2012%2018.88C9.92%2016.21%207%2011.85%207%209Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M12%2011.5C13.3807%2011.5%2014.5%2010.3807%2014.5%209C14.5%207.61929%2013.3807%206.5%2012%206.5C10.6193%206.5%209.5%207.61929%209.5%209C9.5%2010.3807%2010.6193%2011.5%2012%2011.5Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Sightseeing"},Facility:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209C5%2014.25%2012%2022%2012%2022C12%2022%2019%2014.25%2019%209C19%205.13%2015.87%202%2012%202ZM7%209C7%206.24%209.24%204%2012%204C14.76%204%2017%206.24%2017%209C17%2011.88%2014.12%2016.19%2012%2018.88C9.92%2016.21%207%2011.85%207%209Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M12%2011.5C13.3807%2011.5%2014.5%2010.3807%2014.5%209C14.5%207.61929%2013.3807%206.5%2012%206.5C10.6193%206.5%209.5%207.61929%209.5%209C9.5%2010.3807%2010.6193%2011.5%2012%2011.5Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Facility"},"Test Event":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%203H18V1H16V3H8V1H6V3H5C3.9%203%203%203.9%203%205V19C3%2020.1%203.9%2021%205%2021H19C20.1%2021%2021%2020.1%2021%2019V5C21%203.9%2020.1%203%2019%203ZM19%2019H5V9H19V19ZM5%207V5H19V7H5ZM10.56%2017.46L16.49%2011.53L15.43%2010.47L10.56%2015.34L8.45%2013.23L7.39%2014.29L10.56%2017.46Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Test Event"},Virtual:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%2018C21.1%2018%2021.99%2017.1%2021.99%2016L22%206C22%204.9%2021.1%204%2020%204H4C2.9%204%202%204.9%202%206V16C2%2017.1%202.9%2018%204%2018H0V20H24V18H20ZM4%206H20V16H4V6Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Virtual"},"Added Value Vouchers":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2018%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M1.75999%207.39859C2.04178%207.40225%202.33865%207.46781%202.63413%207.6099H2.63441L7.74291%2010.0648C7.98508%209.5053%208.56743%209.11906%209.22345%209.13793H9.22444L12.1587%209.22759C12.8777%209.22759%2013.4204%209.05477%2014.1064%208.85629C14.7942%208.65739%2015.6122%208.44212%2016.743%208.44212C17.6747%208.44212%2018.9303%208.72363%2019.9529%209.06996V8.43111C19.9529%208.35978%2019.9671%208.28831%2019.9945%208.22248C20.0218%208.15651%2020.0623%208.09604%2020.1127%208.04557C20.1632%207.99511%2020.2237%207.95465%2020.2897%207.92731C20.3556%207.89996%2020.427%207.88572%2020.4983%207.88572H23.4545C23.5258%207.88572%2023.5973%207.89996%2023.6632%207.92717C23.7292%207.95451%2023.7897%207.99497%2023.8401%208.04543C23.8906%208.0959%2023.9311%208.15637%2023.9584%208.22234C23.9858%208.28831%2024%208.35964%2024%208.43111V16.5442C24%2016.6156%2023.9858%2016.687%2023.9584%2016.753C23.9311%2016.819%2023.8906%2016.8794%2023.8401%2016.9299C23.7897%2016.9804%2023.7292%2017.0208%2023.6632%2017.0482C23.5973%2017.0755%2023.5259%2017.0896%2023.4545%2017.0896H20.4983C20.427%2017.0896%2020.3555%2017.0754%2020.2897%2017.048C20.2237%2017.0207%2020.1632%2016.9802%2020.1127%2016.9298C20.0623%2016.8793%2020.0218%2016.8188%2019.9945%2016.7529C19.9671%2016.6869%2019.9529%2016.6156%2019.9529%2016.5442V15.8462C16.3618%2015.2107%2014.2262%2016.2933%2010.9914%2016.2933H10.9905C10.3218%2016.2933%209.62019%2015.9658%208.74255%2015.5105C7.86492%2015.0551%206.86094%2014.4438%205.8453%2013.7881C3.81428%2012.4768%201.73389%2010.9833%200.650194%2010.2493C0.649912%2010.249%200.64963%2010.249%200.64949%2010.2493C0.278045%209.99827%200.0553151%209.6033%200.0100618%209.21183C-0.0351878%208.8201%200.0744846%208.43595%200.292696%208.11878C0.592811%207.68278%201.14002%207.39069%201.75999%207.39859ZM1.68556%208.46049C1.44%208.45697%201.29384%208.58792%201.19106%208.73721C1.11282%208.85096%201.08153%208.9846%201.09337%209.08652C1.10521%209.18843%201.13707%209.26258%201.26028%209.34561C1.26056%209.3459%201.26084%209.3459%201.26112%209.34561C2.37589%2010.1008%204.43737%2011.5808%206.43674%2012.8716C7.43646%2013.5171%208.41983%2014.1141%209.24464%2014.542C10.0693%2014.9698%2010.785%2015.2019%2010.9918%2015.2023C13.9193%2015.2023%2016.2078%2014.1231%2019.9522%2014.7392V14.2695C19.9514%2014.1975%2019.9649%2014.1255%2019.9918%2014.0588C20.0187%2013.9921%2020.0591%2013.9308%2020.1097%2013.8795C20.1603%2013.8283%2020.221%2013.7873%2020.2874%2013.7595C20.3538%2013.7317%2020.4257%2013.7174%2020.4977%2013.7174C20.5698%2013.7174%2020.6417%2013.7319%2020.7081%2013.7595C20.7744%2013.7873%2020.8352%2013.8283%2020.8858%2013.8795C20.9364%2013.9306%2020.9767%2013.992%2021.0037%2014.0588C21.0306%2014.1255%2021.0441%2014.1976%2021.0433%2014.2695V15.9986H21.316V8.97604H21.0433V10.7025C21.0441%2010.7743%2021.0306%2010.8465%2021.0037%2010.9132C20.9767%2010.9799%2020.9364%2011.0412%2020.8858%2011.0925C20.8352%2011.1437%2020.7745%2011.1847%2020.7081%2011.2125C20.6417%2011.2402%2020.5698%2011.2546%2020.4977%2011.2546C20.4258%2011.2546%2020.3538%2011.2401%2020.2874%2011.2125C20.221%2011.1847%2020.1603%2011.1437%2020.1097%2011.0925C20.0591%2011.0413%2020.0187%2010.98%2019.9918%2010.9132C19.9649%2010.8465%2019.9514%2010.7743%2019.9522%2010.7025V10.2295C18.9893%209.8743%2017.5152%209.53247%2016.7423%209.53247C15.7458%209.53247%2015.079%209.70995%2014.4087%209.90377C13.7383%2010.0976%2013.0507%2010.3179%2012.1526%2010.3179C12.1471%2010.3179%2012.1414%2010.3179%2012.1359%2010.3177L9.1916%2010.2277C8.91516%2010.2198%208.71359%2010.4375%208.71359%2010.6398C8.71359%2010.8464%208.9053%2011.0397%209.22812%2011.052C9.22896%2011.052%209.22981%2011.0522%209.23065%2011.0522L14.8321%2011.2922C14.9041%2011.2948%2014.9757%2011.3108%2015.0414%2011.3404C15.1071%2011.37%2015.1668%2011.4128%2015.2158%2011.4655C15.2649%2011.5183%2015.3035%2011.5809%2015.3284%2011.6485C15.3534%2011.716%2015.3648%2011.7886%2015.3617%2011.8607C15.3586%2011.9327%2015.3411%2012.004%2015.3104%2012.0693C15.2798%2012.1346%2015.2361%2012.1935%2015.1827%2012.2418C15.1292%2012.2902%2015.0661%2012.3278%2014.9982%2012.3518C14.9302%2012.3758%2014.8575%2012.386%2014.7856%2012.382L9.1863%2012.142H9.1839C8.5972%2012.1186%208.04745%2011.7924%207.78455%2011.2948L2.16145%208.59251H2.16117C1.96974%208.50046%201.81383%208.46183%201.68515%208.46014L1.68556%208.46049ZM22.9088%208.97672H22.4069V15.9993H22.9088V8.97672Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M10.5527%203.40826C10.624%203.40939%2010.6952%203.42462%2010.7606%203.45281C10.8261%203.48114%2010.8859%203.52245%2010.9357%203.57362C10.9854%203.62479%2011.0249%203.68583%2011.0513%203.75222C11.0776%203.81847%2011.0907%203.89008%2011.0898%203.96141V5.26239H12.3906C12.4628%205.26098%2012.5352%205.27437%2012.6023%205.30116C12.6694%205.32794%2012.731%205.36811%2012.7826%205.41872C12.8341%205.46932%2012.8754%205.53022%2012.9033%205.5969C12.9312%205.66344%2012.9457%205.73561%2012.9457%205.80793C12.9457%205.8801%2012.9312%205.95228%2012.9033%206.01895C12.8754%206.08549%2012.8341%206.14653%2012.7826%206.19714C12.7312%206.24774%2012.6694%206.28792%2012.6023%206.3147C12.5352%206.34148%2012.4628%206.35473%2012.3906%206.35346H11.0898V7.65444C11.0906%207.72633%2011.0771%207.79851%2011.0501%207.86518C11.0232%207.93186%2010.9829%207.99318%2010.9323%208.04449C10.8817%208.09566%2010.8209%208.13669%2010.7545%208.16445C10.6881%208.19222%2010.6162%208.2066%2010.5442%208.2066C10.4723%208.2066%2010.4003%208.19208%2010.3339%208.16445C10.2675%208.13668%2010.2067%208.09566%2010.1561%208.04449C10.1055%207.99332%2010.0652%207.932%2010.0383%207.86518C10.0114%207.7985%209.99784%207.72633%209.99868%207.65444V6.35346H8.6977C8.62553%206.35487%208.55307%206.34148%208.48597%206.3147C8.41887%206.28792%208.35727%206.24774%208.30568%206.19714C8.25423%206.14653%208.21292%206.08563%208.18501%206.01895C8.1571%205.95242%208.14258%205.88024%208.14258%205.80793C8.14258%205.73575%208.1571%205.66358%208.18501%205.5969C8.21292%205.53036%208.25423%205.46932%208.30568%205.41872C8.35713%205.36811%208.41887%205.32794%208.48597%205.30116C8.55307%205.27437%208.62553%205.26112%208.6977%205.26239H9.99868V3.96141C9.99769%203.88868%2010.0114%203.8158%2010.0387%203.74842C10.0661%203.68103%2010.1071%203.61929%2010.1585%203.56784C10.21%203.51639%2010.2719%203.47551%2010.3393%203.44816C10.4066%203.42081%2010.4797%203.40714%2010.5522%203.40827L10.5527%203.40826Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.32163%205.99026e-05C8.39296%200.00118763%208.46415%200.0164119%208.52955%200.0446061C8.5951%200.0729402%208.65487%200.114244%208.70463%200.165416C8.7544%200.216587%208.79387%200.277624%208.82023%200.344018C8.84659%200.41027%208.8597%200.481881%208.85871%200.553211V1.07424H9.37959C9.45176%201.07283%209.52422%201.08622%209.59132%201.113C9.65842%201.13979%209.72002%201.17996%209.77162%201.23057C9.82307%201.28117%209.86437%201.34207%209.89228%201.40875C9.92019%201.47528%209.93472%201.54746%209.93472%201.61977C9.93472%201.69195%209.9202%201.76412%209.89228%201.8308C9.86437%201.89734%209.82307%201.95838%209.77162%202.00898C9.72016%202.05959%209.65842%202.09976%209.59132%202.12655C9.52422%202.15333%209.45176%202.16658%209.37959%202.16531H8.85871V2.68349C8.85956%202.75538%208.84602%202.82755%208.8191%202.89423C8.79217%202.9609%208.75186%203.02222%208.70125%203.07354C8.65065%203.12471%208.58989%203.16573%208.52349%203.1935C8.45709%203.22127%208.38521%203.23565%208.31317%203.23565C8.24128%203.23565%208.16925%203.22127%208.10285%203.1935C8.03646%203.16573%207.9757%203.12471%207.92509%203.07354C7.87449%203.02237%207.83417%202.96105%207.80725%202.89423C7.78032%202.82755%207.76679%202.75537%207.76764%202.68349V2.16531H7.24946C7.17729%202.16672%207.10483%202.15333%207.03773%202.12655C6.97063%202.09976%206.90903%202.05959%206.85744%202.00898C6.80598%201.95838%206.76468%201.89748%206.73677%201.8308C6.70886%201.76426%206.69434%201.69209%206.69434%201.61977C6.69434%201.5476%206.70886%201.47542%206.73677%201.40875C6.76468%201.34221%206.80598%201.28117%206.85744%201.23057C6.90889%201.17996%206.97063%201.13979%207.03773%201.113C7.10483%201.08622%207.17729%201.07297%207.24946%201.07424H7.76764V0.553211C7.76665%200.480474%207.78032%200.407592%207.80767%200.340214C7.83502%200.272832%207.87604%200.21109%207.92749%200.159637C7.97894%200.108184%208.04083%200.0673054%208.10821%200.0399586C8.17559%200.0126114%208.24861%20-0.00106161%208.32121%206.43078e-05L8.32163%205.99026e-05Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.7826%205.99026e-05C12.8539%200.00118763%2012.9251%200.0164119%2012.9905%200.0446061C13.056%200.0729402%2013.1158%200.114244%2013.1656%200.165416C13.2153%200.216587%2013.2548%200.277624%2013.2812%200.344018C13.3075%200.41027%2013.3206%200.481881%2013.3196%200.553211V1.07424H13.8405C13.9127%201.07283%2013.9852%201.08622%2014.0523%201.113C14.1194%201.13979%2014.181%201.17996%2014.2326%201.23057C14.284%201.28117%2014.3253%201.34207%2014.3532%201.40875C14.3811%201.47528%2014.3957%201.54746%2014.3957%201.61977C14.3957%201.69195%2014.3811%201.76412%2014.3532%201.8308C14.3253%201.89734%2014.284%201.95838%2014.2326%202.00898C14.1811%202.05959%2014.1194%202.09976%2014.0523%202.12655C13.9852%202.15333%2013.9127%202.16658%2013.8405%202.16531H13.3196V2.68349C13.3205%202.75538%2013.307%202.82755%2013.28%202.89423C13.2531%202.9609%2013.2128%203.02222%2013.1622%203.07354C13.1116%203.12471%2013.0508%203.16573%2012.9844%203.1935C12.918%203.22127%2012.8461%203.23565%2012.7741%203.23565C12.7022%203.23565%2012.6302%203.22127%2012.5638%203.1935C12.4974%203.16573%2012.4366%203.12471%2012.386%203.07354C12.3354%203.02237%2012.2951%202.96105%2012.2682%202.89423C12.2413%202.82755%2012.2277%202.75537%2012.2286%202.68349V2.16531H11.7104C11.6382%202.16672%2011.5658%202.15333%2011.4987%202.12655C11.4316%202.09976%2011.37%202.05959%2011.3184%202.00898C11.2669%201.95838%2011.2256%201.89748%2011.1977%201.8308C11.1698%201.76426%2011.1553%201.69209%2011.1553%201.61977C11.1553%201.5476%2011.1698%201.47542%2011.1977%201.40875C11.2256%201.34221%2011.2669%201.28117%2011.3184%201.23057C11.3698%201.17996%2011.4316%201.13979%2011.4987%201.113C11.5658%201.08622%2011.6382%201.07297%2011.7104%201.07424H12.2286V0.553211C12.2276%200.480474%2012.2413%200.407592%2012.2686%200.340214C12.296%200.272832%2012.337%200.21109%2012.3884%200.159637C12.4399%200.108184%2012.5018%200.0673054%2012.5691%200.0399586C12.6365%200.0126114%2012.7095%20-0.00106161%2012.7821%206.43078e-05L12.7826%205.99026e-05Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"},title:"Added Value Vouchers"},Membership:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.7524%206.19235L8.80845%206.02438C8.64048%206.0004%208.47243%205.90438%208.40049%205.73642L7.65651%203.93642C7.48854%203.55244%206.93651%203.55244%206.76855%203.93642L6.02457%205.73642C5.95254%205.90439%205.80855%206.02438%205.61661%206.02438L3.67263%206.19235C3.24059%206.21633%203.07263%206.74439%203.40865%207.03235L4.89661%208.30439C5.04059%208.42439%205.08864%208.59235%205.04059%208.78439L4.56043%2010.6803C4.46442%2011.0883%204.92043%2011.4243%205.28043%2011.2083L6.96043%2010.2003C7.10442%2010.1043%207.29645%2010.1043%207.46441%2010.2003L9.14441%2011.2083C9.50441%2011.4243%209.96043%2011.1123%209.86441%2010.6803L9.40839%208.78431C9.36042%208.61634%209.43238%208.42431%209.55238%208.30431L11.0403%207.03227C11.3284%206.76829%2011.1604%206.24031%2010.7524%206.19235Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.52%200H2.28C1.00796%200%200%201.03204%200%202.28V12.792C0%2014.064%201.03204%2015.072%202.28%2015.072H20.52C21.792%2015.072%2022.8%2014.04%2022.8%2012.792V2.304C22.8%201.03204%2021.768%200%2020.52%200ZM21.312%2012.816C21.312%2013.272%2020.952%2013.632%2020.496%2013.632H2.28002C1.824%2013.632%201.464%2013.272%201.464%2012.816V2.304C1.464%201.84798%201.824%201.48798%202.28002%201.48798H20.52C20.976%201.48798%2021.336%201.84798%2021.336%202.304V12.816H21.312Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%203.4082H13.2957C12.8878%203.4082%2012.5518%203.74422%2012.5518%204.15218C12.5518%204.56014%2012.8878%204.89616%2013.2957%204.89616H18.7197C19.1277%204.89616%2019.4637%204.56014%2019.4637%204.15218C19.4397%203.74422%2019.1037%203.4082%2018.6958%203.4082H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%206.81641H13.2957C12.8878%206.81641%2012.5518%207.15243%2012.5518%207.56039C12.5518%207.96835%2012.8878%208.30437%2013.2957%208.30437H18.7197C19.1277%208.30437%2019.4637%207.96835%2019.4637%207.56039C19.4637%207.15243%2019.1037%206.81641%2018.6958%206.81641H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%2010.2246H13.2957C12.8878%2010.2246%2012.5518%2010.5606%2012.5518%2010.9686C12.5518%2011.3765%2012.8878%2011.7126%2013.2957%2011.7126H18.7197C19.1277%2011.7126%2019.4637%2011.3765%2019.4637%2010.9686C19.4397%2010.5606%2019.1037%2010.2246%2018.6958%2010.2246H18.6957Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Membership"},"Fan Club Membership":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.7524%206.19235L8.80845%206.02438C8.64048%206.0004%208.47243%205.90438%208.40049%205.73642L7.65651%203.93642C7.48854%203.55244%206.93651%203.55244%206.76855%203.93642L6.02457%205.73642C5.95254%205.90439%205.80855%206.02438%205.61661%206.02438L3.67263%206.19235C3.24059%206.21633%203.07263%206.74439%203.40865%207.03235L4.89661%208.30439C5.04059%208.42439%205.08864%208.59235%205.04059%208.78439L4.56043%2010.6803C4.46442%2011.0883%204.92043%2011.4243%205.28043%2011.2083L6.96043%2010.2003C7.10442%2010.1043%207.29645%2010.1043%207.46441%2010.2003L9.14441%2011.2083C9.50441%2011.4243%209.96043%2011.1123%209.86441%2010.6803L9.40839%208.78431C9.36042%208.61634%209.43238%208.42431%209.55238%208.30431L11.0403%207.03227C11.3284%206.76829%2011.1604%206.24031%2010.7524%206.19235Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.52%200H2.28C1.00796%200%200%201.03204%200%202.28V12.792C0%2014.064%201.03204%2015.072%202.28%2015.072H20.52C21.792%2015.072%2022.8%2014.04%2022.8%2012.792V2.304C22.8%201.03204%2021.768%200%2020.52%200ZM21.312%2012.816C21.312%2013.272%2020.952%2013.632%2020.496%2013.632H2.28002C1.824%2013.632%201.464%2013.272%201.464%2012.816V2.304C1.464%201.84798%201.824%201.48798%202.28002%201.48798H20.52C20.976%201.48798%2021.336%201.84798%2021.336%202.304V12.816H21.312Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%203.4082H13.2957C12.8878%203.4082%2012.5518%203.74422%2012.5518%204.15218C12.5518%204.56014%2012.8878%204.89616%2013.2957%204.89616H18.7197C19.1277%204.89616%2019.4637%204.56014%2019.4637%204.15218C19.4397%203.74422%2019.1037%203.4082%2018.6958%203.4082H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%206.81641H13.2957C12.8878%206.81641%2012.5518%207.15243%2012.5518%207.56039C12.5518%207.96835%2012.8878%208.30437%2013.2957%208.30437H18.7197C19.1277%208.30437%2019.4637%207.96835%2019.4637%207.56039C19.4637%207.15243%2019.1037%206.81641%2018.6958%206.81641H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%2010.2246H13.2957C12.8878%2010.2246%2012.5518%2010.5606%2012.5518%2010.9686C12.5518%2011.3765%2012.8878%2011.7126%2013.2957%2011.7126H18.7197C19.1277%2011.7126%2019.4637%2011.3765%2019.4637%2010.9686C19.4397%2010.5606%2019.1037%2010.2246%2018.6958%2010.2246H18.6957Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Fan Club Membership"},Subscription:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2021%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M12.873%200.0130555C7.06499%20-0.274905%202.24099%204.23705%201.95299%209.94905H0.729011C0.152991%209.94905%20-0.183029%2010.573%200.105031%2011.053L2.64903%2015.205C2.93699%2015.6611%203.60903%2015.6611%203.89699%2015.205L6.44099%2011.053C6.72895%2010.573%206.39302%209.94905%205.81701%209.94905H4.42497C4.68903%205.65305%208.31297%202.26906%2012.705%202.46106C16.809%202.62902%2020.217%206.06105%2020.337%2010.1891C20.481%2014.7251%2016.833%2018.4451%2012.345%2018.4451C10.521%2018.4451%208.74497%2017.8211%207.32897%2016.669C7.13694%2016.5011%206.84897%2016.5251%206.68101%2016.717L5.67305%2017.845C5.48102%2018.037%205.50508%2018.3729%205.72102%2018.541C7.59306%2020.077%209.92102%2020.917%2012.369%2020.917C18.273%2020.917%2023.049%2015.997%2022.809%2010.021C22.569%204.69318%2018.201%200.276855%2012.873%200.0130555Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.8359%200.762135C7.45124%200.495167%202.9697%204.67827%202.70204%209.98682L2.66613%2010.6991H0.767729L3.27301%2014.7879L5.77829%2010.6991H3.62746L3.67638%209.90304C3.96489%205.20931%207.92638%201.502%2012.7367%201.71173C17.2327%201.8963%2020.9547%205.64466%2021.0866%2010.1663C21.2436%2015.1275%2017.2538%2019.1951%2012.345%2019.1951C10.4386%2019.1951%208.57866%2018.5718%207.06344%2017.4146L6.4177%2018.1372C8.11647%2019.4515%2010.1904%2020.167%2012.369%2020.167C17.8475%2020.167%2022.2816%2015.6013%2022.0597%2010.0528C21.836%205.10961%2017.7742%201.00664%2012.8359%200.762135ZM22.809%2010.021C23.049%2015.997%2018.273%2020.917%2012.369%2020.917C9.92102%2020.917%207.59306%2020.077%205.72102%2018.541C5.50508%2018.3729%205.48102%2018.037%205.67305%2017.845L6.68101%2016.717C6.84897%2016.5251%207.13694%2016.5011%207.32897%2016.669C8.74497%2017.8211%2010.521%2018.4451%2012.345%2018.4451C16.833%2018.4451%2020.481%2014.7251%2020.337%2010.1891C20.217%206.06105%2016.809%202.62902%2012.705%202.46106C8.57199%202.28038%205.11914%205.26635%204.50622%209.19905C4.4678%209.44552%204.44054%209.6957%204.42497%209.94905H5.81701C6.39302%209.94905%206.72895%2010.573%206.44099%2011.053L3.89699%2015.205C3.60903%2015.6611%202.93699%2015.6611%202.64903%2015.205L0.105031%2011.053C-0.183029%2010.573%200.152991%209.94905%200.729011%209.94905H1.95299C2.24099%204.23705%207.06499%20-0.274905%2012.873%200.0130555C18.201%200.276855%2022.569%204.69318%2022.809%2010.021Z%22%20fill%3D%22white%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8971%204.52539H11.8171C11.6011%204.52539%2011.4332%204.69336%2011.4332%204.90937V5.86937L11.3132%205.89335C9.9452%206.20539%209.03316%207.47734%209.15316%208.89336C9.29714%2010.3094%2010.5692%2011.4134%2012.0332%2011.4134H12.7532C13.0171%2011.4134%2013.2571%2011.5334%2013.4252%2011.7254C13.5932%2011.9174%2013.6892%2012.1814%2013.6652%2012.4214C13.6172%2012.8774%2013.1852%2013.2374%2012.6812%2013.2374H11.7212C11.4572%2013.2374%2011.2172%2013.0454%2011.1452%2012.7814C11.0972%2012.6134%2010.9532%2012.4935%2010.7612%2012.4935H9.65724C9.53724%2012.4935%209.44122%2012.5414%209.36928%2012.6135C9.29725%2012.6855%209.27326%2012.8055%209.27326%2012.9014C9.39326%2013.9814%2010.2093%2014.8694%2011.2893%2015.0614L11.3853%2015.0854V16.0214C11.3853%2016.2374%2011.5532%2016.4054%2011.7693%2016.4054H12.8493C13.0653%2016.4054%2013.2332%2016.2374%2013.2332%2016.0214L13.2332%2015.0134L13.3292%2014.9894C14.5052%2014.7014%2015.3692%2013.7174%2015.4892%2012.5654C15.5612%2011.7734%2015.2971%2011.0054%2014.7692%2010.4054C14.2412%209.82938%2013.4971%209.49336%2012.7052%209.49336H11.8652C11.6012%209.49336%2011.3612%209.37335%2011.1931%209.18131C11.0252%208.98928%2010.9292%208.7253%2010.9531%208.46131C11.0011%208.0053%2011.4331%207.64529%2011.9371%207.64529H12.8971C13.1611%207.64529%2013.4011%207.83733%2013.4731%208.10132C13.5211%208.26928%2013.6652%208.41335%2013.8571%208.41335H14.9611C15.0811%208.41335%2015.1771%208.36539%2015.2491%208.29335C15.3211%208.22132%2015.3691%208.10132%2015.3451%208.00539C15.2251%206.92539%2014.4091%206.03743%2013.3291%205.84539L13.2331%205.82141V4.88539C13.2812%204.69336%2013.1131%204.52539%2012.8971%204.52539Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Subscription"},"Premier (Movie?)":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M21.4944%205.1192L16.3752%200C15.9697%200.4082%2015.4181%200.63774%2014.8428%200.63774C14.2674%200.63774%2013.7159%200.4082%2013.3104%200L0%2013.296C0.40812%2013.7015%200.63774%2014.253%200.63774%2014.8284C0.63774%2015.4037%200.40814%2015.9553%200%2016.3608L5.1264%2021.4872C5.53186%2021.079%206.08344%2020.8494%206.65874%2020.8494C7.23414%2020.8494%207.7857%2021.079%208.19116%2021.4872L21.4944%208.18396C21.0862%207.7785%2020.8566%207.22692%2020.8566%206.65154C20.8566%206.07622%2021.0862%205.52466%2021.4944%205.1192ZM19.956%207.6728L7.6872%2019.9416H7.68712C7.41376%2019.6756%207.04736%2019.5267%206.66594%2019.5267C6.28446%2019.5267%205.91804%2019.6756%205.6447%2019.9416L1.5647%2015.8496V15.8497C1.83306%2015.5775%201.98352%2015.2107%201.98352%2014.8285C1.98352%2014.4462%201.83305%2014.0794%201.5647%2013.8073C1.5647%2013.8073%201.5647%2013.7929%201.57908%2013.7857L13.8191%201.5457C13.8191%201.5457%2013.8335%201.53132%2013.8406%201.53132L13.8407%201.53124C14.111%201.80312%2014.4785%201.956%2014.8619%201.956C15.2453%201.956%2015.6128%201.80311%2015.8831%201.53124L19.9751%205.61124H19.9751C19.6983%205.88164%2019.5407%206.25116%2019.5371%206.63812C19.5335%207.025%2019.6842%207.39742%2019.9559%207.67288L19.956%207.6728Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M3.58594%2013.8166L4.60758%2012.7949L8.69918%2016.8865L7.67754%2017.9082L3.58594%2013.8166Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.3834%2010.6052L12.8634%209.01398V9.0139C12.8808%208.95914%2012.8833%208.9007%2012.8706%208.84461C12.858%208.78851%2012.8306%208.7368%2012.7913%208.69476C12.7491%208.65508%2012.697%208.62734%2012.6406%208.61422C12.5841%208.60117%2012.5252%208.60328%2012.4698%208.62031L10.8786%209.10031L9.54656%208.21953C9.4957%208.18719%209.4371%208.16883%209.37687%208.16633C9.31663%208.16375%209.25679%208.17719%209.20335%208.20516C9.09741%208.26492%209.02882%208.37414%209.02093%208.49556L8.93452%2010.1371L7.62656%2011.1667C7.53031%2011.2441%207.48047%2011.3655%207.49453%2011.4884C7.50383%2011.5537%207.53422%2011.6144%207.58094%2011.6611C7.61344%2011.6952%207.65383%2011.7208%207.69859%2011.7355L9.23703%2012.2612L9.75547%2013.7996L9.7554%2013.7995C9.77555%2013.8431%209.80313%2013.883%209.83696%2013.9171C9.8843%2013.9644%209.94586%2013.9948%2010.0122%2014.0035C10.1341%2014.0173%2010.2547%2013.9674%2010.3313%2013.8716L11.3609%2012.5516L13.0025%2012.4651H13.0026C13.125%2012.4545%2013.234%2012.3834%2013.293%2012.2755C13.3208%2012.2234%2013.3341%2012.1647%2013.3316%2012.1055C13.3291%2012.0465%2013.3108%2011.9891%2013.2786%2011.9395L12.3834%2010.6052Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8018%204.60367L13.8234%203.58203L17.915%207.67363L16.8934%208.69527L12.8018%204.60367Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Premier (Movie?)"},"Souvenir Ticket":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M21.4944%205.1192L16.3752%200C15.9697%200.4082%2015.4181%200.63774%2014.8428%200.63774C14.2674%200.63774%2013.7159%200.4082%2013.3104%200L0%2013.296C0.40812%2013.7015%200.63774%2014.253%200.63774%2014.8284C0.63774%2015.4037%200.40814%2015.9553%200%2016.3608L5.1264%2021.4872C5.53186%2021.079%206.08344%2020.8494%206.65874%2020.8494C7.23414%2020.8494%207.7857%2021.079%208.19116%2021.4872L21.4944%208.18396C21.0862%207.7785%2020.8566%207.22692%2020.8566%206.65154C20.8566%206.07622%2021.0862%205.52466%2021.4944%205.1192ZM19.956%207.6728L7.6872%2019.9416H7.68712C7.41376%2019.6756%207.04736%2019.5267%206.66594%2019.5267C6.28446%2019.5267%205.91804%2019.6756%205.6447%2019.9416L1.5647%2015.8496V15.8497C1.83306%2015.5775%201.98352%2015.2107%201.98352%2014.8285C1.98352%2014.4462%201.83305%2014.0794%201.5647%2013.8073C1.5647%2013.8073%201.5647%2013.7929%201.57908%2013.7857L13.8191%201.5457C13.8191%201.5457%2013.8335%201.53132%2013.8406%201.53132L13.8407%201.53124C14.111%201.80312%2014.4785%201.956%2014.8619%201.956C15.2453%201.956%2015.6128%201.80311%2015.8831%201.53124L19.9751%205.61124H19.9751C19.6983%205.88164%2019.5407%206.25116%2019.5371%206.63812C19.5335%207.025%2019.6842%207.39742%2019.9559%207.67288L19.956%207.6728Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M3.58594%2013.8166L4.60758%2012.7949L8.69918%2016.8865L7.67754%2017.9082L3.58594%2013.8166Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.3834%2010.6052L12.8634%209.01398V9.0139C12.8808%208.95914%2012.8833%208.9007%2012.8706%208.84461C12.858%208.78851%2012.8306%208.7368%2012.7913%208.69476C12.7491%208.65508%2012.697%208.62734%2012.6406%208.61422C12.5841%208.60117%2012.5252%208.60328%2012.4698%208.62031L10.8786%209.10031L9.54656%208.21953C9.4957%208.18719%209.4371%208.16883%209.37687%208.16633C9.31663%208.16375%209.25679%208.17719%209.20335%208.20516C9.09741%208.26492%209.02882%208.37414%209.02093%208.49556L8.93452%2010.1371L7.62656%2011.1667C7.53031%2011.2441%207.48047%2011.3655%207.49453%2011.4884C7.50383%2011.5537%207.53422%2011.6144%207.58094%2011.6611C7.61344%2011.6952%207.65383%2011.7208%207.69859%2011.7355L9.23703%2012.2612L9.75547%2013.7996L9.7554%2013.7995C9.77555%2013.8431%209.80313%2013.883%209.83696%2013.9171C9.8843%2013.9644%209.94586%2013.9948%2010.0122%2014.0035C10.1341%2014.0173%2010.2547%2013.9674%2010.3313%2013.8716L11.3609%2012.5516L13.0025%2012.4651H13.0026C13.125%2012.4545%2013.234%2012.3834%2013.293%2012.2755C13.3208%2012.2234%2013.3341%2012.1647%2013.3316%2012.1055C13.3291%2012.0465%2013.3108%2011.9891%2013.2786%2011.9395L12.3834%2010.6052Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8018%204.60367L13.8234%203.58203L17.915%207.67363L16.8934%208.69527L12.8018%204.60367Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Souvenir Ticket"},Team:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6.4004%204.80078C4.6333%204.80078%203.2002%206.2336%203.2002%208.00078C3.2002%209.76812%204.63324%2011.2008%206.4004%2011.2008C8.1675%2011.2008%209.6004%209.7682%209.6004%208.00078C9.6004%206.23368%208.16758%204.80078%206.4004%204.80078ZM6.4004%209.60078C5.51672%209.60078%204.80032%208.88438%204.80032%208.0007C4.80032%207.11702%205.51672%206.40062%206.4004%206.40062C7.28408%206.40062%208.00024%207.11702%208.00024%208.0007C8.00024%208.88438%207.28406%209.60078%206.4004%209.60078Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.6%2012.8008H3.2C1.4329%2012.8008%200%2014.2338%200%2016.001V19.201H12.8V16.001C12.8%2014.2346%2011.3672%2012.8008%209.6%2012.8008ZM11.2001%2017.6008H1.60008V16.0009C1.60008%2015.1173%202.31626%2014.4009%203.19992%2014.4009H9.59992C10.4836%2014.4009%2011.2%2015.1173%2011.2%2016.0009L11.2001%2017.6008Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7996%200C11.0325%200%209.59961%201.43282%209.59961%203.2C9.59961%204.9671%2011.0324%206.4%2012.7996%206.4C14.5667%206.4%2015.9998%204.96718%2015.9998%203.2C15.9998%201.4329%2014.5668%200%2012.7996%200ZM12.7996%204.8C11.9159%204.8%2011.1998%204.0836%2011.1998%203.19992C11.1998%202.31624%2011.9159%201.59984%2012.7996%201.59984C13.6833%201.59984%2014.3997%202.31648%2014.3997%203.19992C14.3997%204.08336%2013.6833%204.8%2012.7996%204.8Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.0002%208.00012H11.2002V9.6002H16.0002C16.8839%209.6002%2017.6%2010.3164%2017.6%2011.2003V12.8001H13.6002V14.4002H19.2002V11.2002C19.2002%209.4338%2017.7674%208%2016.0002%208L16.0002%208.00012Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Team"},"Tribute Band":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43246)%22%3E%3Cpath%20d%3D%22M10.4849%209.95774L10.7916%209.65102C11.436%209.00446%2012.2864%208.68188%2013.1352%208.68188C13.9834%208.68188%2014.8323%209.00446%2015.4774%209.64954L15.507%209.67978C15.7143%209.8922%2015.8886%2010.1269%2016.0268%2010.376C16.1773%2010.6446%2016.2874%2010.9297%2016.3566%2011.2206C16.4545%2011.6302%2016.6684%2011.978%2016.9606%2012.23C17.2523%2012.4821%2017.6274%2012.6426%2018.0471%2012.6786C18.5605%2012.7232%2019.0688%2012.8572%2019.5455%2013.0789C20.0049%2013.2921%2020.4347%2013.588%2020.8127%2013.9653C21.6831%2014.8357%2022.1181%2015.9807%2022.1181%2017.1233C22.1181%2018.2666%2021.6831%2019.4109%2020.8149%2020.2791L18.9565%2022.1374C18.091%2022.9877%2016.9592%2023.4133%2015.8273%2023.4133C14.6846%2023.4133%2013.5405%2022.9784%2012.6715%2022.1101C12.2927%2021.7306%2011.9969%2021.3008%2011.7838%2020.8421C11.5613%2020.3662%2011.4281%2019.8571%2011.3834%2019.3424C11.3474%2018.9233%2011.1862%2018.5474%2010.9348%2018.2559C10.6828%2017.9635%2010.3351%2017.749%209.92538%2017.6518L9.90522%2017.6467C9.62154%2017.5776%209.34289%2017.4689%209.08084%2017.3221C8.82092%2017.1766%208.57616%2016.9937%208.35654%2016.7742L8.32772%2016.7453C7.70062%2016.1038%207.3874%2015.2664%207.3874%2014.4305C7.3874%2013.5809%207.70998%2012.7313%208.35506%2012.0861L8.66318%2011.7787L5.09118%208.20671L4.70024%208.59843C4.51305%208.78562%204.20922%208.78562%204.02126%208.59843L0.962657%205.53983C0.775469%205.35264%200.775469%205.04881%200.962657%204.86085L3.56766%202.25585C3.75484%202.06866%204.05868%202.06866%204.24664%202.25585L7.30524%205.31445C7.49242%205.50164%207.49242%205.80547%207.30524%205.99343L6.91352%206.38437L10.4855%209.95637L10.4849%209.95774ZM21.6753%2010.4459C21.5054%2010.4459%2021.3563%2010.4978%2021.2541%2010.5813C21.09%2010.7145%2021.0943%2010.8881%2021.2556%2011.0199L21.2721%2011.0342C21.3736%2011.1099%2021.5148%2011.1559%2021.6746%2011.1559C21.8431%2011.1559%2021.9914%2011.1041%2022.0937%2011.0199C22.1693%2010.9579%2022.2168%2010.8802%2022.2168%2010.801C22.2168%2010.721%2022.17%2010.6425%2022.0951%2010.5821C21.9914%2010.4985%2021.843%2010.446%2021.6746%2010.446L21.6753%2010.4459ZM21.1324%209.57548C21.3009%209.51791%2021.4845%209.48619%2021.6753%209.48619C22.0713%209.48619%2022.4349%209.62158%2022.7013%209.83971C22.9944%2010.0809%2023.1773%2010.4207%2023.1773%2010.8009C23.1773%2011.1825%2022.9951%2011.5224%2022.7013%2011.7621C22.4349%2011.9802%2022.0706%2012.1156%2021.6753%2012.1156C21.2952%2012.1156%2020.9445%2011.9903%2020.681%2011.7858L20.6493%2011.7621C20.3563%2011.5223%2020.1734%2011.1825%2020.1734%2010.8009V7.1785L19.619%207.49818C19.39%207.62919%2019.0977%207.55076%2018.9667%207.32177C18.8356%207.09279%2018.9141%206.80053%2019.1431%206.66943L20.4153%205.93505C20.6443%205.80404%2020.9366%205.88247%2021.0677%206.11146C21.1109%206.1863%2021.131%206.26841%2021.131%206.34982L21.1324%209.57548ZM11.7204%205.16048C11.5505%205.16048%2011.4014%205.21236%2011.2992%205.29587C11.1372%205.42767%2011.138%205.60329%2011.2992%205.73439C11.4015%205.81791%2011.5498%205.86978%2011.7204%205.86978C11.8904%205.86978%2012.0394%205.81791%2012.1416%205.73439C12.2165%205.67322%2012.2633%205.59471%2012.2633%205.51479C12.2633%205.43487%2012.2165%205.35636%2012.1416%205.29519C12.0393%205.21168%2011.8904%205.1598%2011.7204%205.1598V5.16048ZM11.1775%204.2893C11.346%204.23243%2011.5296%204.20071%2011.7204%204.20071C12.115%204.20071%2012.4778%204.3361%2012.745%204.55423C13.0402%204.79469%2013.2223%205.13525%2013.2223%205.51541C13.2223%205.89557%2013.0401%206.23611%2012.745%206.47659C12.4779%206.69401%2012.115%206.83011%2011.7204%206.83011C11.3259%206.83011%2010.963%206.69472%2010.6959%206.47659C10.4006%206.23613%2010.2185%205.89557%2010.2185%205.51541V1.89461L9.66629%202.21359C9.43731%202.34609%209.14425%202.26828%209.01183%202.03937C8.87933%201.81039%208.95714%201.51733%209.18605%201.38491L10.4583%200.650532C10.6873%200.518032%2010.9803%200.595844%2011.1128%200.82475C11.1567%200.900374%2011.1775%200.983188%2011.1768%201.06451L11.1775%204.29011L11.1775%204.2893ZM16.0613%205.87048C16.2521%205.87048%2016.435%205.9022%2016.6035%205.9583V2.7333C16.6057%202.65197%2016.6259%202.57056%2016.6691%202.49494C16.8001%202.26596%2017.0931%202.18752%2017.3214%202.31853L18.5937%203.05291C18.8226%203.18393%2018.9011%203.47697%2018.7701%203.70525C18.639%203.93423%2018.346%204.01267%2018.1177%203.88166L17.5633%203.56198V7.18438C17.5633%207.56454%2017.3812%207.90438%2017.0874%208.14484C16.821%208.36374%2016.4574%208.49906%2016.0621%208.49906C15.6675%208.49906%2015.3047%208.36367%2015.0375%208.14554C14.7423%207.90508%2014.5602%207.56452%2014.5602%207.18436C14.5602%206.8035%2014.7424%206.46366%2015.0375%206.22318C15.3046%206.00576%2015.6675%205.86966%2016.0621%205.86966L16.0613%205.87048ZM16.4804%206.96634C16.3781%206.88283%2016.2298%206.83025%2016.0613%206.83025C15.8914%206.83025%2015.7423%206.88213%2015.6401%206.96564C15.5653%207.02681%2015.5184%207.10533%2015.5184%207.18524C15.5184%207.26516%2015.5652%207.34368%2015.6401%207.40484C15.7424%207.48836%2015.8907%207.54023%2016.0613%207.54023C16.2298%207.54023%2016.3781%207.48835%2016.4804%207.40414C16.6366%207.28031%2016.6452%207.11328%2016.4991%206.98008L16.4804%206.9657V6.96634ZM6.28579%205.65594L3.90539%203.27554L1.97937%205.20156L4.35977%207.58196C5.00203%206.9404%205.64431%206.2982%206.28579%205.65594ZM5.76883%207.53008L13.786%2015.5473C13.853%2015.4624%2013.925%2015.3795%2014.0034%2015.301C14.082%2015.2225%2014.1647%2015.1491%2014.2504%2015.0821L6.23381%207.06554L5.76865%207.5307L5.76883%207.53008ZM14.1712%2017.2141C14.1712%2017.6619%2014.3419%2018.1091%2014.6817%2018.4503C15.0222%2018.7902%2015.4701%2018.9608%2015.9179%2018.9608C16.365%2018.9608%2016.8121%2018.7902%2017.1528%2018.4496C17.4933%2018.1091%2017.6639%2017.6612%2017.6639%2017.2148C17.6639%2016.7684%2017.4933%2016.3205%2017.1528%2015.9799C16.8136%2015.6387%2016.3658%2015.4687%2015.9179%2015.4687C15.4715%2015.4687%2015.0237%2015.6394%2014.6831%2015.9799C14.354%2016.3083%2014.1719%2016.7496%2014.1719%2017.2148L14.1712%2017.2141ZM13.3238%2016.4422L9.34001%2012.4584L9.03329%2012.7658C8.57539%2013.2237%208.34641%2013.8279%208.34641%2014.4319C8.34641%2015.0266%208.56743%2015.6207%209.00883%2016.075L9.03328%2016.1002C9.18883%2016.2557%209.36164%2016.3854%209.54524%2016.4875C9.72954%2016.5905%209.9261%2016.6668%2010.1291%2016.7165L10.1457%2016.7201C10.7541%2016.8648%2011.2747%2017.1881%2011.6577%2017.6324C12.0415%2018.0766%2012.2848%2018.6396%2012.3388%2019.2625C12.3742%2019.6664%2012.4785%2020.066%2012.6527%2020.4396C12.8198%2020.801%2013.0516%2021.1381%2013.3468%2021.4339C14.0279%2022.1143%2014.928%2022.4557%2015.828%2022.4557C16.7172%2022.4557%2017.6064%2022.123%2018.2846%2021.4585L20.1365%2019.6045C20.8176%2018.9248%2021.1582%2018.0248%2021.1582%2017.1249C21.1582%2016.225%2020.8177%2015.3249%2020.1365%2014.6437C19.8405%2014.3492%2019.5036%2014.1167%2019.1443%2013.9496C18.7706%2013.7761%2018.3703%2013.671%2017.9649%2013.6357C17.3421%2013.5817%2016.7798%2013.3384%2016.3348%2012.9546C15.8913%2012.5716%2015.568%2012.051%2015.4226%2011.4426C15.3729%2011.2324%2015.2959%2011.03%2015.19%2010.8414C15.0928%2010.6672%2014.9704%2010.5023%2014.8249%2010.3525L14.8005%2010.3295C14.3433%209.87079%2013.7384%209.64258%2013.1344%209.64258C12.5303%209.64258%2011.9262%209.87156%2011.469%2010.3288L11.1609%2010.6362L15.1447%2014.62C15.3959%2014.5451%2015.6566%2014.5076%2015.9165%2014.5076C16.607%2014.5076%2017.2997%2014.7719%2017.8289%2015.3011C18.3581%2015.8281%2018.6223%2016.5208%2018.6223%2017.2134C18.6223%2017.9061%2018.3581%2018.5987%2017.8296%2019.1272C17.3018%2019.6549%2016.6085%2019.9199%2015.9158%2019.9199C15.2246%2019.9199%2014.5327%2019.6557%2014.0042%2019.1272C13.4743%2018.5966%2013.2093%2017.9046%2013.2093%2017.2134C13.2093%2016.9535%2013.2467%2016.6936%2013.3216%2016.4415L13.3238%2016.4422Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.3%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43246%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Tribute Band"},Campsite:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43282)%22%3E%3Cpath%20d%3D%22M13.8935%203.91369C13.745%203.70328%2013.5035%203.57812%2013.2461%203.57812H12.9474C12.6927%203.58071%2012.4548%203.70561%2012.3079%203.91369L1.11133%2019.7929L2.40888%2020.7073L5.05146%2016.9707V21.4129C5.05146%2021.6231%205.13499%2021.8247%205.28363%2021.9734C5.43236%2022.1221%205.63399%2022.2056%205.84423%2022.2056H20.3784C20.5887%2022.2056%2020.7903%2022.1221%2020.939%2021.9734C21.0877%2021.8247%2021.1712%2021.6231%2021.1712%2021.4129V16.968L23.8138%2020.7046L25.1113%2019.7903L13.8935%203.91369ZM14.5304%2020.6201H11.6711V16.6034C11.6711%2016.0927%2011.9436%2015.6206%2012.3859%2015.3652C12.8283%2015.1099%2013.3733%2015.1099%2013.8156%2015.3652C14.2579%2015.6206%2014.5305%2016.0926%2014.5305%2016.6034L14.5304%2020.6201ZM6.62641%2014.7192L12.308%206.6514V13.6965C11.6703%2013.8708%2011.1074%2014.2495%2010.706%2014.7747C10.3044%2015.2999%2010.0865%2015.9424%2010.0855%2016.6034V20.6201H6.62637L6.62641%2014.7192ZM19.5751%2020.6227L16.1159%2020.6228V16.6034C16.115%2015.9424%2015.897%2015.3%2015.4954%2014.7748C15.094%2014.2496%2014.5311%2013.8709%2013.8935%2013.6966V6.65149L19.575%2014.7193L19.5751%2020.6227Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43282%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Campsite"},Camping:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43282)%22%3E%3Cpath%20d%3D%22M13.8935%203.91369C13.745%203.70328%2013.5035%203.57812%2013.2461%203.57812H12.9474C12.6927%203.58071%2012.4548%203.70561%2012.3079%203.91369L1.11133%2019.7929L2.40888%2020.7073L5.05146%2016.9707V21.4129C5.05146%2021.6231%205.13499%2021.8247%205.28363%2021.9734C5.43236%2022.1221%205.63399%2022.2056%205.84423%2022.2056H20.3784C20.5887%2022.2056%2020.7903%2022.1221%2020.939%2021.9734C21.0877%2021.8247%2021.1712%2021.6231%2021.1712%2021.4129V16.968L23.8138%2020.7046L25.1113%2019.7903L13.8935%203.91369ZM14.5304%2020.6201H11.6711V16.6034C11.6711%2016.0927%2011.9436%2015.6206%2012.3859%2015.3652C12.8283%2015.1099%2013.3733%2015.1099%2013.8156%2015.3652C14.2579%2015.6206%2014.5305%2016.0926%2014.5305%2016.6034L14.5304%2020.6201ZM6.62641%2014.7192L12.308%206.6514V13.6965C11.6703%2013.8708%2011.1074%2014.2495%2010.706%2014.7747C10.3044%2015.2999%2010.0865%2015.9424%2010.0855%2016.6034V20.6201H6.62637L6.62641%2014.7192ZM19.5751%2020.6227L16.1159%2020.6228V16.6034C16.115%2015.9424%2015.897%2015.3%2015.4954%2014.7748C15.094%2014.2496%2014.5311%2013.8709%2013.8935%2013.6966V6.65149L19.575%2014.7193L19.5751%2020.6227Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43282%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Camping"},"All Parking Sub-Categories":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"All Parking Sub-Categories"},"Car Service":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Car Service"},"Ferry Pass":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Ferry Pass"},"Oversized Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Oversized Parking"},Parking:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Parking"},"Parking & a Shuttle":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Parking & a Shuttle"},"Premier Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Premier Parking"},"Premium Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Premium Parking"},"Rockstar Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Rockstart Parking"},"Valet Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Valet Parking"},"VIP Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"VIP Parking"},Donation:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Donation"},Transportation:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%205H3C1.9%205%201%205.89%201%207V16H3C3%2017.66%204.34%2019%206%2019C7.66%2019%209%2017.66%209%2016H15C15%2017.66%2016.34%2019%2018%2019C19.66%2019%2021%2017.66%2021%2016H23V11L17%205ZM15%207H16L19%2010H15V7ZM9%207H13V10H9V7ZM3%207H7V10H3V7ZM6%2017.25C5.31%2017.25%204.75%2016.69%204.75%2016C4.75%2015.31%205.31%2014.75%206%2014.75C6.69%2014.75%207.25%2015.31%207.25%2016C7.25%2016.69%206.69%2017.25%206%2017.25ZM18%2017.25C17.31%2017.25%2016.75%2016.69%2016.75%2016C16.75%2015.31%2017.31%2014.75%2018%2014.75C18.69%2014.75%2019.25%2015.31%2019.25%2016C19.25%2016.69%2018.69%2017.25%2018%2017.25ZM21%2014H20.22C19.67%2013.39%2018.88%2013%2018%2013C17.12%2013%2016.33%2013.39%2015.78%2014H8.22C7.67%2013.39%206.89%2013%206%2013C5.11%2013%204.33%2013.39%203.78%2014H3V12H21V14Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Transportation"},"Shuttle Pass":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%205H3C1.9%205%201%205.89%201%207V16H3C3%2017.66%204.34%2019%206%2019C7.66%2019%209%2017.66%209%2016H15C15%2017.66%2016.34%2019%2018%2019C19.66%2019%2021%2017.66%2021%2016H23V11L17%205ZM15%207H16L19%2010H15V7ZM9%207H13V10H9V7ZM3%207H7V10H3V7ZM6%2017.25C5.31%2017.25%204.75%2016.69%204.75%2016C4.75%2015.31%205.31%2014.75%206%2014.75C6.69%2014.75%207.25%2015.31%207.25%2016C7.25%2016.69%206.69%2017.25%206%2017.25ZM18%2017.25C17.31%2017.25%2016.75%2016.69%2016.75%2016C16.75%2015.31%2017.31%2014.75%2018%2014.75C18.69%2014.75%2019.25%2015.31%2019.25%2016C19.25%2016.69%2018.69%2017.25%2018%2017.25ZM21%2014H20.22C19.67%2013.39%2018.88%2013%2018%2013C17.12%2013%2016.33%2013.39%2015.78%2014H8.22C7.67%2013.39%206.89%2013%206%2013C5.11%2013%204.33%2013.39%203.78%2014H3V12H21V14Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Shuttle Pass"},Undefined:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23%209.6V5.2C23%203.99%2022.01%203%2020.8%203H3.2C1.99%203%201.011%203.99%201.011%205.2V9.6C2.221%209.6%203.2%2010.59%203.2%2011.8C3.2%2013.01%202.221%2014%201%2014V18.4C1%2019.61%201.99%2020.6%203.2%2020.6H20.8C22.01%2020.6%2023%2019.61%2023%2018.4V14C21.79%2014%2020.8%2013.01%2020.8%2011.8C20.8%2010.59%2021.79%209.6%2023%209.6ZM20.8%207.994C19.491%208.753%2018.6%2010.183%2018.6%2011.8C18.6%2013.417%2019.491%2014.847%2020.8%2015.606V18.4H3.2V15.606C4.509%2014.847%205.4%2013.417%205.4%2011.8C5.4%2010.172%204.52%208.753%203.211%207.994L3.2%205.2H20.8V7.994ZM8.777%2016.2L12%2014.132L15.223%2016.2L14.244%2012.504L17.203%2010.084L13.386%209.853L12%206.3L10.603%209.842L6.786%2010.073L9.745%2012.493L8.777%2016.2Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Undefined"},"Coat Check":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M21.6003%2018.2011L13.0003%2011.7511V10.8411C14.6503%2010.3511%2015.8003%208.67113%2015.4303%206.79113C15.1703%205.48113%2014.1303%204.39113%2012.8203%204.09113C10.5403%203.57113%208.50026%205.30113%208.50026%207.50113H10.5003C10.5003%206.67113%2011.1703%206.00113%2012.0003%206.00113C12.8303%206.00113%2013.5003%206.67113%2013.5003%207.50113C13.5003%208.34113%2012.8103%209.02113%2011.9703%209.00113C11.4303%208.99113%2011.0003%209.45113%2011.0003%209.99113V11.7511L2.40026%2018.2011C1.63026%2018.7811%202.04026%2020.0011%203.00026%2020.0011H21.0003C21.9603%2020.0011%2022.3703%2018.7811%2021.6003%2018.2011ZM6.00026%2018.0011L12.0003%2013.5011L18.0003%2018.0011H6.00026Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Coat Check"},"Bag Check":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M21.6003%2018.2011L13.0003%2011.7511V10.8411C14.6503%2010.3511%2015.8003%208.67113%2015.4303%206.79113C15.1703%205.48113%2014.1303%204.39113%2012.8203%204.09113C10.5403%203.57113%208.50026%205.30113%208.50026%207.50113H10.5003C10.5003%206.67113%2011.1703%206.00113%2012.0003%206.00113C12.8303%206.00113%2013.5003%206.67113%2013.5003%207.50113C13.5003%208.34113%2012.8103%209.02113%2011.9703%209.00113C11.4303%208.99113%2011.0003%209.45113%2011.0003%209.99113V11.7511L2.40026%2018.2011C1.63026%2018.7811%202.04026%2020.0011%203.00026%2020.0011H21.0003C21.9603%2020.0011%2022.3703%2018.7811%2021.6003%2018.2011ZM6.00026%2018.0011L12.0003%2013.5011L18.0003%2018.0011H6.00026Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Bag Check"},Photo:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M14.12%204L15.95%206H20V18H4V6H8.05L9.88%204H14.12ZM15%202H9L7.17%204H4C2.9%204%202%204.9%202%206V18C2%2019.1%202.9%2020%204%2020H20C21.1%2020%2022%2019.1%2022%2018V6C22%204.9%2021.1%204%2020%204H16.83L15%202ZM12%209C13.65%209%2015%2010.35%2015%2012C15%2013.65%2013.65%2015%2012%2015C10.35%2015%209%2013.65%209%2012C9%2010.35%2010.35%209%2012%209ZM12%207C9.24%207%207%209.24%207%2012C7%2014.76%209.24%2017%2012%2017C14.76%2017%2017%2014.76%2017%2012C17%209.24%2014.76%207%2012%207Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Photo"},Souvenir:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.9998%2011.7998C24.0075%2010.9607%2023.7886%2010.135%2023.3661%209.41005C22.9438%208.6849%2022.3336%208.0872%2021.5999%207.67989V6.99991C21.5999%205.93904%2021.1784%204.92174%2020.4283%204.17158C19.6781%203.42143%2018.6608%203%2017.6%203H6.40021C5.33934%203%204.32204%203.42142%203.57189%204.17158C2.82173%204.92175%202.4003%205.93904%202.4003%206.99991V7.67989C1.42423%208.23325%200.676411%209.11506%200.289814%2010.1684C-0.0966046%2011.2216%20-0.0966046%2012.378%200.289814%2013.4312C0.676411%2014.4846%201.42423%2015.3663%202.4003%2015.9197V16.5997C2.4003%2017.6606%202.82172%2018.6779%203.57189%2019.4281C4.32205%2020.1782%205.33934%2020.5996%206.40021%2020.5996H17.6C18.6608%2020.5996%2019.6781%2020.1782%2020.4283%2019.4281C21.1784%2018.6779%2021.5999%2017.6606%2021.5999%2016.5997V15.9197C22.3336%2015.5124%2022.9437%2014.9148%2023.3661%2014.1896C23.7886%2013.4646%2024.0075%2012.6389%2023.9998%2011.7998ZM6.40021%204.59996H17.6C18.2366%204.59996%2018.8469%204.85281%2019.2971%205.3028C19.747%205.75297%2019.9999%206.36331%2019.9999%206.99991V7.11187C18.8524%206.9208%2017.6748%207.16312%2016.6961%207.79185L15.32%208.66379C15.0779%208.82128%2014.855%209.00646%2014.6561%209.21591C14.0617%208.33127%2013.0658%207.80077%2012.0001%207.80077C10.9344%207.80077%209.93851%208.33127%209.34405%209.21591C9.14513%209.00645%208.92227%208.82128%208.68016%208.66379L7.3041%207.7999C6.32643%207.16832%205.14881%206.92312%204.00027%207.11187V6.99991C4.00027%206.36331%204.25311%205.75299%204.70311%205.3028C5.15328%204.85281%205.76361%204.59996%206.40021%204.59996ZM10.4001%2010.9998C10.4001%2010.4282%2010.7051%209.9%2011.2001%209.61416C11.6951%209.32845%2012.3051%209.32845%2012.8001%209.61416C13.295%209.90004%2013.6%2010.4283%2013.6%2010.9998V12.5998C13.6%2013.1714%2013.295%2013.6996%2012.8001%2013.9854C12.3051%2014.2711%2011.6951%2014.2711%2011.2001%2013.9854C10.7051%2013.6996%2010.4001%2013.1713%2010.4001%2012.5998V10.9998ZM3.20028%209.03986C3.66583%208.78219%204.18828%208.64469%204.72025%208.63987C5.32202%208.64255%205.91058%208.81737%206.4163%209.14377L7.79236%2010.0157C8.39967%2010.4057%208.76679%2011.078%208.76679%2011.7997C8.76679%2012.5215%208.39966%2013.1938%207.79218%2013.5836L6.4483%2014.4557C5.72832%2014.9468%204.83728%2015.1178%203.98656%2014.9282C3.13606%2014.7388%202.40177%2014.2054%201.95858%2013.455C1.5152%2012.7049%201.40234%2011.8045%201.6468%2010.968C1.89108%2010.1315%202.47087%209.43354%203.24836%209.03977ZM17.6%2018.9999H6.40021C5.76361%2018.9999%205.15329%2018.747%204.70311%2018.297C4.25311%2017.8469%204.00027%2017.2365%204.00027%2016.5999V16.496C4.26347%2016.553%204.53113%2016.5878%204.80025%2016.5999C5.69417%2016.5774%206.5629%2016.2999%207.3041%2015.7999L8.68016%2014.928C8.9223%2014.7707%209.14515%2014.5853%209.34405%2014.3761C9.93851%2015.2605%2010.9344%2015.791%2012.0001%2015.791C13.0658%2015.791%2014.0617%2015.2605%2014.6561%2014.3761C14.855%2014.5853%2015.0779%2014.7707%2015.32%2014.928L16.6961%2015.7999C17.4539%2016.2903%2018.3373%2016.5514%2019.2399%2016.5519C19.4946%2016.5508%2019.7487%2016.5294%2019.9999%2016.4879V16.5999C19.9999%2017.2365%2019.747%2017.8468%2019.2971%2018.297C18.8469%2018.747%2018.2366%2018.9999%2017.6%2018.9999ZM20.7999%2014.56C20.3074%2014.835%2019.7492%2014.9707%2019.1855%2014.9525C18.6217%2014.9341%2018.0735%2014.7625%2017.6%2014.4561L16.2239%2013.5841C15.6166%2013.1941%2015.2493%2012.5218%2015.2493%2011.8001C15.2493%2011.0783%2015.6166%2010.406%2016.2239%2010.0162L17.6%209.14427C18.1055%208.81767%2018.6941%208.64285%2019.296%208.64019C19.828%208.64502%2020.3504%208.78251%2020.816%209.04019C21.4772%209.40482%2021.9854%209.995%2022.2484%2010.7028C22.5113%2011.4106%2022.5113%2012.1896%2022.2484%2012.8974C21.9854%2013.6052%2021.4772%2014.1954%2020.816%2014.5601Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Souvenir"},"Souvenir Tag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.9998%2011.7998C24.0075%2010.9607%2023.7886%2010.135%2023.3661%209.41005C22.9438%208.6849%2022.3336%208.0872%2021.5999%207.67989V6.99991C21.5999%205.93904%2021.1784%204.92174%2020.4283%204.17158C19.6781%203.42143%2018.6608%203%2017.6%203H6.40021C5.33934%203%204.32204%203.42142%203.57189%204.17158C2.82173%204.92175%202.4003%205.93904%202.4003%206.99991V7.67989C1.42423%208.23325%200.676411%209.11506%200.289814%2010.1684C-0.0966046%2011.2216%20-0.0966046%2012.378%200.289814%2013.4312C0.676411%2014.4846%201.42423%2015.3663%202.4003%2015.9197V16.5997C2.4003%2017.6606%202.82172%2018.6779%203.57189%2019.4281C4.32205%2020.1782%205.33934%2020.5996%206.40021%2020.5996H17.6C18.6608%2020.5996%2019.6781%2020.1782%2020.4283%2019.4281C21.1784%2018.6779%2021.5999%2017.6606%2021.5999%2016.5997V15.9197C22.3336%2015.5124%2022.9437%2014.9148%2023.3661%2014.1896C23.7886%2013.4646%2024.0075%2012.6389%2023.9998%2011.7998ZM6.40021%204.59996H17.6C18.2366%204.59996%2018.8469%204.85281%2019.2971%205.3028C19.747%205.75297%2019.9999%206.36331%2019.9999%206.99991V7.11187C18.8524%206.9208%2017.6748%207.16312%2016.6961%207.79185L15.32%208.66379C15.0779%208.82128%2014.855%209.00646%2014.6561%209.21591C14.0617%208.33127%2013.0658%207.80077%2012.0001%207.80077C10.9344%207.80077%209.93851%208.33127%209.34405%209.21591C9.14513%209.00645%208.92227%208.82128%208.68016%208.66379L7.3041%207.7999C6.32643%207.16832%205.14881%206.92312%204.00027%207.11187V6.99991C4.00027%206.36331%204.25311%205.75299%204.70311%205.3028C5.15328%204.85281%205.76361%204.59996%206.40021%204.59996ZM10.4001%2010.9998C10.4001%2010.4282%2010.7051%209.9%2011.2001%209.61416C11.6951%209.32845%2012.3051%209.32845%2012.8001%209.61416C13.295%209.90004%2013.6%2010.4283%2013.6%2010.9998V12.5998C13.6%2013.1714%2013.295%2013.6996%2012.8001%2013.9854C12.3051%2014.2711%2011.6951%2014.2711%2011.2001%2013.9854C10.7051%2013.6996%2010.4001%2013.1713%2010.4001%2012.5998V10.9998ZM3.20028%209.03986C3.66583%208.78219%204.18828%208.64469%204.72025%208.63987C5.32202%208.64255%205.91058%208.81737%206.4163%209.14377L7.79236%2010.0157C8.39967%2010.4057%208.76679%2011.078%208.76679%2011.7997C8.76679%2012.5215%208.39966%2013.1938%207.79218%2013.5836L6.4483%2014.4557C5.72832%2014.9468%204.83728%2015.1178%203.98656%2014.9282C3.13606%2014.7388%202.40177%2014.2054%201.95858%2013.455C1.5152%2012.7049%201.40234%2011.8045%201.6468%2010.968C1.89108%2010.1315%202.47087%209.43354%203.24836%209.03977ZM17.6%2018.9999H6.40021C5.76361%2018.9999%205.15329%2018.747%204.70311%2018.297C4.25311%2017.8469%204.00027%2017.2365%204.00027%2016.5999V16.496C4.26347%2016.553%204.53113%2016.5878%204.80025%2016.5999C5.69417%2016.5774%206.5629%2016.2999%207.3041%2015.7999L8.68016%2014.928C8.9223%2014.7707%209.14515%2014.5853%209.34405%2014.3761C9.93851%2015.2605%2010.9344%2015.791%2012.0001%2015.791C13.0658%2015.791%2014.0617%2015.2605%2014.6561%2014.3761C14.855%2014.5853%2015.0779%2014.7707%2015.32%2014.928L16.6961%2015.7999C17.4539%2016.2903%2018.3373%2016.5514%2019.2399%2016.5519C19.4946%2016.5508%2019.7487%2016.5294%2019.9999%2016.4879V16.5999C19.9999%2017.2365%2019.747%2017.8468%2019.2971%2018.297C18.8469%2018.747%2018.2366%2018.9999%2017.6%2018.9999ZM20.7999%2014.56C20.3074%2014.835%2019.7492%2014.9707%2019.1855%2014.9525C18.6217%2014.9341%2018.0735%2014.7625%2017.6%2014.4561L16.2239%2013.5841C15.6166%2013.1941%2015.2493%2012.5218%2015.2493%2011.8001C15.2493%2011.0783%2015.6166%2010.406%2016.2239%2010.0162L17.6%209.14427C18.1055%208.81767%2018.6941%208.64285%2019.296%208.64019C19.828%208.64502%2020.3504%208.78251%2020.816%209.04019C21.4772%209.40482%2021.9854%209.995%2022.2484%2010.7028C22.5113%2011.4106%2022.5113%2012.1896%2022.2484%2012.8974C21.9854%2013.6052%2021.4772%2014.1954%2020.816%2014.5601Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Souvenir Tag"}},tm1:{CABANA:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.3564%207.75H21V18H23V19.5H21V23H19.5V19.5H4.5V23H3V19.5H1V18H3V7.75H1.76367L5.15039%201.25H18.2764L22.3564%207.75ZM8.47852%207.75C8.39861%207.9001%208.29232%208.09313%208.14648%208.34082C7.66431%209.15975%206.73804%2010.6276%204.95898%2013.2656L9.25781%2017.75H4.5V18H19.5V17.75H14.7422L19.041%2013.2656C17.262%2010.6276%2016.3357%209.15975%2015.8535%208.34082C15.7077%208.09313%2015.6014%207.9001%2015.5215%207.75H8.47852ZM4.75%2016.25H5.74316L4.75%2015.2139V16.25ZM18.2568%2016.25H19.25V15.2139L18.2568%2016.25ZM4.75%207.75V10.8838C5.76239%209.35538%206.37719%208.37466%206.75098%207.75H4.75ZM17.249%207.75C17.6228%208.37466%2018.2376%209.35538%2019.25%2010.8838V7.75H17.249ZM4.23633%206.25H19.6445L17.4473%202.75H6.06055L4.23633%206.25Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Cabana"},CAMPSITE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2021%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.5303%201.5293L11.7695%203.28906L21.4531%2019.5273H22V20.999H0V19.5273H0.546875L10.2295%203.28906L8.46973%201.5293L9.53027%200.46875L11%201.93848L12.4697%200.46875L13.5303%201.5293ZM2.24316%2019.5273H5.2832L11%2011.7305L16.7168%2019.5273H19.7568L11%204.94336L2.24316%2019.5273ZM7.1416%2019.5273H10.25V15.2881L7.1416%2019.5273ZM11.75%2019.5273H14.8574L11.75%2015.29V19.5273Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Campsite"},CHAIR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cg%20clip-path%3D%22url%28%23clip0_1097_31326%29%22%3E%20%3Cpath%20d%3D%22M17%2011.3076H19V9.31445H18.333V7.31934H22V9.31445H21V18.2109H13V22.2822H15V24.2773H9V22.2822H11V18.2109H3V9.31445H2V7.31934H5.66699V9.31445H5V11.3076H7V1H17V11.3076ZM5%2016.2158H19V13.3027H17V13.3037H7V13.3027H5V16.2158ZM9%2011.3076H15V2.99512H9V11.3076Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fg%3E%20%3Cdefs%3E%20%3CclipPath%20id%3D%22clip0_1097_31326%22%3E%20%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%20%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Chair"},CLOTHING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17.4062%203.40234L23.0361%207.90625L19.126%2013.1191L18.25%2012.3887V18.3486L14.8105%2021.7881H5.75V12.3887L4.87402%2013.1191L0.963867%207.90625L6.59375%203.40234L9%202.19922L11.1768%204.28809H12.8232L15%202.19922L17.4062%203.40234ZM13.1768%205.78809H10.8232L9%203.87598L7.40625%204.67285L3.03613%208.16895L5.12598%2010.9561L7.51953%208.96191L8.48047%2010.1143L7.25%2011.1387V20.2881H14.1895L16.75%2017.7266V11.1387L15.5195%2010.1143L16.4805%208.96191L18.874%2010.9561L20.9639%208.16895L16.5938%204.67285L15%203.87598L13.1768%205.78809Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Clothing"},CONTENT_ONLY:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M19%2023H5V1H19V23ZM6.44824%2021.4648H9V20.25H15V21.4648H17.5518V18.9072H6.44824V21.4648ZM6.44824%2017.3721H17.5518V5.60449H6.44824V17.3721ZM6.44824%204.06934H17.5518V2.53516H6.44824V4.06934Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Content Only"},CRUISE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M15%209.25H16.75V15.2646L18.9229%2016.7139L18.6963%2017.2783L17.208%2021H23V22.5H1V21H6.79199L5.30371%2017.2783L5.07715%2016.7139L7.25%2015.2646V9.25H9V3H15V9.25ZM11.25%2021V18.3242L8.09473%2020.2178L8.40723%2021H11.25ZM6.92188%2017.2861L7.5293%2018.8066L11.25%2016.5742V14.4004L6.92188%2017.2861ZM12.75%2016.5547L16.542%2018.623L17.0771%2017.2861L12.75%2014.4014V16.5547ZM8.75%2014.2646L12%2012.0986L15.25%2014.2646V10.75H8.75V14.2646ZM10.6367%209.25H13.3633V6.75H10.6367V9.25ZM10.6367%205.25H13.3633V4.55566H10.6367V5.25ZM15.9814%2020.0254L12.75%2018.2627V21H15.5918L15.9814%2020.0254Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Cruise"},DIGITAL_MUSIC_OR_VIDEO:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M12%201C18.0751%201%2023%205.92487%2023%2012C23%2018.0751%2018.0751%2023%2012%2023C5.92487%2023%201%2018.0751%201%2012C1%205.92487%205.92487%201%2012%201ZM12%202.5C6.75329%202.5%202.5%206.75329%202.5%2012C2.5%2017.2467%206.75329%2021.5%2012%2021.5C17.2467%2021.5%2021.5%2017.2467%2021.5%2012C21.5%206.75329%2017.2467%202.5%2012%202.5ZM16.8721%2011.3486V12.6514L9.87207%2016.6514L8.75%2016V8L9.87207%207.34863L16.8721%2011.3486Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Digital Music or Video"},DONATION:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M6.17856%201.5625L12%205.9144L17.8214%201.5625L23%205.4776V12.9018L12%2022.496L1%2012.9018V5.4776L6.17856%201.5625ZM17.8164%203.4391L12%207.7872L6.18363%203.4391L2.5%206.224V12.2198L12%2020.5056L21.5%2012.2198V6.224L17.8164%203.4391Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Donation"},FACILITY_TOUR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.4072%202.67188L22.4014%204.12207L17.75%205.57715V7.04297H18.3076L23%209.08008V20.6387L19.2119%2023H4.78809L1%2020.6387V9.08008L3.25%208.10254V1.72363L4.22754%201L9.40723%202.67188L9.40137%204.12207L4.75%205.57715V7.45117L5.69238%207.04297H16.25V1.72363L17.2275%201L22.4072%202.67188ZM2.5%2019.7891L5.21191%2021.4805H9.25V19.9609H5.34277L2.5%2018.7002V19.7891ZM10.75%2021.4805H13.75V16.9209H10.75V21.4805ZM18.8008%2019.8975L18.5%2019.9609H15.25V21.4805H18.7881L21.5%2019.7891V18.7002L18.8008%2019.8975ZM18.8008%2016.8574L18.5%2016.9209H15.25V18.4414H18.3428L21.5%2017.041V15.6611L18.8008%2016.8574ZM2.5%2017.041L5.65723%2018.4414H9.25V16.9209H5.34277L2.5%2015.6611V17.041ZM18.5908%2013.5059L18%2013.6289H5.69238L2.5%2012.2422V14.002L5.65723%2015.4014H18.3428L21.5%2014.002V12.2422L18.5908%2013.5059ZM2.5%2010.083V10.5889L6%2012.1084H18L21.5%2010.5889V10.083L18%208.5625H6L2.5%2010.083ZM4.75%203.98633L6.6748%203.38477L4.75%202.76367V3.98633ZM17.75%203.98633L19.6748%203.38477L17.75%202.76367V3.98633Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Facility Tour"},FAN_CLUB_MEMBERSHIP:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M23%2016.7666L19.9521%2019.7393L15.6484%2019.75H1V4.25H23V16.7666ZM2.5%2018.25H3.5V15.5918L5.02246%2014.25H8.97754L10.5%2015.5918V18.25H11.5V5.75H2.5V18.25ZM5%2016.2686V18.25H9V16.2686L8.41113%2015.75H5.58887L5%2016.2686ZM13%2018.25H15.6465L19.3408%2018.2412L21.5%2016.1338V5.75H13V18.25ZM18.7197%2014.25H14V12.75H18.7197V14.25ZM7%207.5C8.51878%207.5%209.75%208.73122%209.75%2010.25C9.75%2011.7688%208.51878%2013%207%2013C5.48122%2013%204.25%2011.7688%204.25%2010.25C4.25%208.73122%205.48122%207.5%207%207.5ZM20.25%2011.75H14V10.25H20.25V11.75ZM7%209C6.30964%209%205.75%209.55964%205.75%2010.25C5.75%2010.9404%206.30964%2011.5%207%2011.5C7.69036%2011.5%208.25%2010.9404%208.25%2010.25C8.25%209.55964%207.69036%209%207%209Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Fan Club Membership"},FAST_LANE_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M18.2959%206.95898H23L13.0195%2023L11.6807%2022.4688L13.5%2012.5H10L12.8057%201H20.2471L18.2959%206.95898ZM11.874%2010.9316H15.2295L12.8018%2021.8564L20.3408%208.44922H16.2646L18.2158%202.49023H13.9473L11.874%2010.9316ZM11.9375%2015.5H1V14H12.1904L11.9375%2015.5ZM9%2012.5H2V11H9.375L9%2012.5ZM9.72266%209.49023H1V8H10.0938L9.72266%209.49023Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Fast Lane Access"},HAPPY_HOUR_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M13.6523%2013.7549L6%2017.499L4.67871%2020.5566L6.60352%2021.4316L6.03418%2022.6816L1%2020.3936L1.56836%2019.1436L3.42578%2019.9873L4.67871%2016.999L2.62109%208.99902L13.6523%2013.7549ZM18.9736%2013.999L20.2256%2016.9873L22.083%2016.1436L22.6523%2017.3936L17.6172%2019.6816L17.0488%2018.4316L18.9736%2017.5566L17.6523%2014.499L10%2010.7549L21.0312%205.99902L18.9736%2013.999ZM5.62988%2016.4482L7.01953%2015.7119L5.3125%2014.9756L5.62988%2016.4482ZM4.95703%2013.3271L8.57617%2014.8887L10.4775%2013.8809L4.52344%2011.3145L4.95703%2013.3271ZM16.6318%2012.7119L18.0225%2013.4482L18.3398%2011.9756L16.6318%2012.7119ZM13.1748%2010.8809L15.0762%2011.8887L18.6943%2010.3271L19.1279%208.31445L13.1748%2010.8809ZM9.86426%207.72266L9.0957%209.00879L6.0918%207.21387L6.85938%205.92773L9.86426%207.72266ZM15.3525%204.92383L13.5312%207.91211L12.252%207.13281L14.0742%204.14453L15.3525%204.92383ZM11.7734%207.28809L10.3193%207.64746L9.47949%204.25L10.9336%203.89062L11.7734%207.28809Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Happy Hour Package"},HOTEL:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M20%204.11133V10H21L23%2012V22H21.5V19H2.5V22H1V12L3%2010H4V4.11133L5.4541%202H18.5459L20%204.11133ZM2.5%2012.6211V17.5H21.5V12.6211L20.3789%2011.5H3.62109L2.5%2012.6211ZM5.5%204.57812V10H7V7.22266L7.90918%206H16.0908L17%207.22266V10H18.5V4.57812L17.7578%203.5H6.24219L5.5%204.57812ZM8.5%207.71875V10H15.5V7.71875L15.3369%207.5H8.66309L8.5%207.71875Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Hotel"},LIMOUSINE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%0A%20%20%3Cpath%20d%3D%22M20.2734%206.75H23V9.75H21.7607L22.5859%2010.7812L22.75%2010.9873V18.25H20.75V21.25H14.25V18.25H9.75V21.25H3.25V18.25H1.25V10.9873L1.41406%2010.7812L2.23828%209.75H1V6.75H3.77637L5.09473%202H19.0859L20.2734%206.75ZM4.75%2019.75H8.25V18.25H4.75V19.75ZM15.75%2019.75H19.25V18.25H15.75V19.75ZM2.75%2011.4512V17H21.25V11.4512L12%209.75L2.75%2011.4512ZM10.5%2016H9V12H10.5V16ZM12.75%2016H11.25V12H12.75V16ZM15%2016H13.5V12H15V16ZM8%2015.75H3V11.75H8V15.75ZM21%2015.75H16V11.75H21V15.75ZM4.29395%2014.292H6.70605V13.208H4.29395V14.292ZM17.2939%2014.292H19.7061V13.208H17.2939V14.292ZM4.72266%208.9502L4.58594%209.75L11.25%208.53516V7.75H12.75V8.53418L19.5%209.75L19.2725%208.93164L17.915%203.5H6.23535L4.72266%208.9502ZM2.4668%208.46387H3.2666L3.31836%208.39941L3.41895%208.03613H2.4668V8.46387ZM20.6875%208.4082L20.7324%208.46387H21.5332V8.03613H20.5947L20.6875%208.4082Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Limousine"},LISTENING_DEVICE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M19%2023H5V1H19V23ZM6.44824%2021.4648H9V20.25H15V21.4648H17.5518V18.9072H6.44824V21.4648ZM6.44824%2017.3721H17.5518V5.60449H6.44824V17.3721ZM6.44824%204.06934H17.5518V2.53516H6.44824V4.06934Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Listening Device"},LOCKER:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%2021H18V23H5V21H4V1H19V21ZM6.55957%2021.3633H16.4404V21H6.55957V21.3633ZM5.5%209.375L7.75%2010.126V13.4639L5.5%2014.5879V19.4619L17.5%2019.5V2.53809H5.5V9.375ZM16%2018.5H7V17H16V18.5ZM16%2016.5H7V15H16V16.5ZM5.5%2012.9111L6.25%2012.5361V11.207L5.5%2010.957V12.9111ZM16.75%207.75H6.25V3.25H16.75V7.75ZM7.75%206.25H15.25V4.75H7.75V6.25Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Locker"},LOUNGE_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.75%2010.25H13.75V19.75H12V20.25H17.75V14.75H14V13.25H16.707L16.1348%209.25H20.8652L20.293%2013.25H23V14.75H19.25V20.25H23V21.75H1V20.25H3V19.75H1.25V10.25H2.25V6.25H12.75V10.25ZM4%2020.25H11V19.75H4V20.25ZM2.75%2018.25H12.25V11.75H11.2119V16.6729H3.78809V11.75H2.75V18.25ZM5.28809%2015.1729H9.71191V14.2119H5.28809V15.1729ZM18.1504%2012.75H18.8496L19.1357%2010.75H17.8643L18.1504%2012.75ZM3.75%2010.25H5.28809V12.7119H9.71191V10.25H11.25V7.75H3.75V10.25Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Lounge Access"},LUXURY_CAMPING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.4492%201.32324L22.6826%208.69629L21.7832%209.93652L21.291%209.58203V15.6943H23V20H19V22H5V20H1V15.6943H2.70898V9.58203L2.2168%209.93652L1.31738%208.69629L11.5508%201.32324L12%201L12.4492%201.32324ZM6.82617%2020V20.6152H17.1738V20H6.82617ZM2.53516%2018.4697H21.4648V17.2246H2.53516V18.4697ZM4.24316%208.47559V15.6943H4.86621V9.06152H11.2324V3.44043L4.24316%208.47559ZM6.40137%2015.6943H8.46582L11.1475%2010.5918H6.40137V15.6943ZM10.1982%2015.6943H11.2324V13.7256L10.1982%2015.6943ZM12.7676%2015.6943H13.8018L12.7676%2013.7256V15.6943ZM15.5342%2015.6943H17.876L17.8203%2010.5918H12.8525L15.5342%2015.6943ZM12.7676%209.06152H19.3398L19.4102%2015.6943H19.7568V8.47559L12.7676%203.44043V9.06152Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Luxury Camping"},MEAL_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.9717%200.433594L15.7334%205.71973H22V7.21973H21.1973L20.1973%2020.9697H13.333L12%2021.9697H3.5L1%2020.0947V16.9697H14.5V19.4697H18.8027L19.6934%207.21973H11.3066L11.4336%208.96973H12L14.5%2010.8447V13.9697H1V10.8447L3.5%208.96973H9.92969L9.80273%207.21973H9V5.71973H14.1523L12.8223%201.72754L10.835%202.71875L10.165%201.37695L12.9258%200L13.9717%200.433594ZM2.5%2019.3447L4%2020.4697H11.5L13%2019.3447V18.4697H2.5V19.3447ZM15%2016.2197H0V14.7197H15V16.2197ZM2.5%2011.5947V12.4697H13V11.5947L11.5%2010.4697H4L2.5%2011.5947Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Meal Package"},MEET_AND_GREET:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.5%204C10.5%204.42401%2010.6335%204.74965%2010.9419%205.05809C11.2503%205.36653%2011.576%205.5%2012%205.5C12.424%205.5%2012.7497%205.36653%2013.0581%205.05809C13.3665%204.74965%2013.5%204.42401%2013.5%204C13.5%203.57599%2013.3665%203.25035%2013.0581%202.94191C12.7497%202.63347%2012.424%202.5%2012%202.5C11.576%202.5%2011.2503%202.63347%2010.9419%202.94191C10.6335%203.25035%2010.5%203.57599%2010.5%204ZM12%207C11.175%207%2010.4687%206.70625%209.88125%206.11875C9.29375%205.53125%209%204.825%209%204C9%203.175%209.29375%202.46875%209.88125%201.88125C10.4687%201.29375%2011.175%201%2012%201C12.825%201%2013.5312%201.29375%2014.1188%201.88125C14.7063%202.46875%2015%203.175%2015%204C15%204.825%2014.7063%205.53125%2014.1188%206.11875C13.5312%206.70625%2012.825%207%2012%207ZM6%2023L7.5%2012.75L1%209.75L3%205L9.5%208H14.5L21%205L23%209.75L16.5%2012.75L18%2023H13L12%2016.5L11%2023H6ZM3.7803%207.0122L2.94514%208.9957L9.14653%2011.8579L7.73549%2021.5H9.71312L10.5174%2016.2719H13.4826L14.2869%2021.5H16.2645L14.8535%2011.8579L21.0549%208.9957L20.2197%207.0122L14.8295%209.5H9.17054L3.7803%207.0122Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Meet And Greet"},MERCHANDISE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17.4062%203.40234L23.0361%207.90625L19.126%2013.1191L18.25%2012.3887V18.3486L14.8105%2021.7881H5.75V12.3887L4.87402%2013.1191L0.963867%207.90625L6.59375%203.40234L9%202.19922L11.1768%204.28809H12.8232L15%202.19922L17.4062%203.40234ZM13.1768%205.78809H10.8232L9%203.87598L7.40625%204.67285L3.03613%208.16895L5.12598%2010.9561L7.51953%208.96191L8.48047%2010.1143L7.25%2011.1387V20.2881H14.1895L16.75%2017.7266V11.1387L15.5195%2010.1143L16.4805%208.96191L18.874%2010.9561L20.9639%208.16895L16.5938%204.67285L15%203.87598L13.1768%205.78809Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Merchandise"},MISCELLANEOUS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M23%2023H1V1H23V23ZM2.53516%2021.4648H11.25V12.75H2.53516V21.4648ZM12.75%2021.4648H21.4648V12.75H12.75V21.4648ZM10%2017L7%2020L4%2017L7%2014L10%2017ZM20%2014V20H16.752L14%2017.248V14H20ZM15.3711%2015.4033V16.5L17.5%2018.5H18.7197V15.4033H15.3711ZM6.0791%2017L7%2017.9209L7.9209%2017L7%2016.0791L6.0791%2017ZM2.53516%2011.25H11.25V2.53516H2.53516V11.25ZM12.75%2011.25H21.4648V2.53516H12.75V11.25ZM7%204C8.65625%204%2010%205.34254%2010%207C10%208.65746%208.65625%2010%207%2010C5.34375%2010%204%208.65746%204%207C4%205.34254%205.34375%204%207%204ZM17.7598%206.24023H20V7.75977H17.7598V10H16.2402V7.75977H14V6.24023H16.2402V4H17.7598V6.24023ZM7%205.54199C6.19366%205.54199%205.54102%206.1954%205.54102%207C5.54102%207.8046%206.19366%208.45801%207%208.45801C7.80634%208.45801%208.45898%207.8046%208.45898%207C8.45898%206.1954%207.80634%205.54199%207%205.54199Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Miscellaneous"},NFT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2018%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.75%2018.9541L14.9443%2022H0.25V0H17.75V18.9541ZM1.75%2015.875H6.08398C6.236%2015.2859%206.59741%2014.7721%207.10059%2014.4307C7.60372%2014.0893%208.21438%2013.9429%208.81738%2014.0195C9.42037%2014.0963%209.97512%2014.3912%2010.377%2014.8477C10.7786%2015.3042%2011%2015.8917%2011%2016.5C11%2017.1083%2010.7786%2017.6958%2010.377%2018.1523C9.97512%2018.6088%209.42037%2018.9037%208.81738%2018.9805C8.21438%2019.0571%207.60372%2018.9107%207.10059%2018.5693C6.59742%2018.2279%206.236%2017.7141%206.08398%2017.125H1.75V20.5H14.2861L16.25%2018.3682V6.125H12.917C12.765%206.71408%2012.4035%207.22783%2011.9004%207.56934C11.3973%207.91076%2010.7866%208.05702%2010.1836%207.98047C9.58045%207.9038%209.02594%207.6089%208.62402%207.15234C8.22211%206.69578%208%206.10848%208%205.5C8%204.89152%208.22211%204.30422%208.62402%203.84766C9.02594%203.3911%209.58045%203.0962%2010.1836%203.01953C10.7866%202.94298%2011.3973%203.08924%2011.9004%203.43066C12.4035%203.77215%2012.765%204.21658%2012.917%204.80566H16.25V1.5H1.75V15.875ZM8.49414%2015.25C8.24711%2015.25%208.0052%2015.3236%207.7998%2015.4609C7.5946%2015.5983%207.43432%2015.7932%207.33984%2016.0215C7.24531%2016.2499%207.22134%2016.5017%207.26953%2016.7441C7.31777%2016.9865%207.43674%2017.2091%207.61133%2017.3838C7.78587%2017.5584%208.00798%2017.6773%208.25%2017.7256C8.49212%2017.7738%208.74358%2017.7497%208.97168%2017.6553C9.19988%2017.5607%209.39499%2017.3999%209.53223%2017.1943C9.66947%2016.9888%209.74316%2016.7472%209.74316%2016.5C9.74316%2016.1685%209.61118%2015.8506%209.37695%2015.6162C9.14275%2015.3819%208.82532%2015.25%208.49414%2015.25ZM10.75%204.27441C10.5078%204.22621%2010.2565%204.25023%2010.0283%204.34473C9.8001%204.43934%209.60501%204.6001%209.46777%204.80566C9.33053%205.01122%209.25684%205.25277%209.25684%205.5C9.25684%205.83152%209.38882%206.14937%209.62305%206.38379C9.85722%206.61814%2010.1747%206.74994%2010.5059%206.75C10.7529%206.75%2010.9948%206.67641%2011.2002%206.53906C11.4054%206.40174%2011.5657%206.20679%2011.6602%205.97852C11.7547%205.75011%2011.7796%205.49833%2011.7314%205.25586C11.6833%205.01357%2011.5641%204.79094%2011.3896%204.61621C11.2151%204.44147%2010.9922%204.32269%2010.75%204.27441Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"NFT"},OVERSIZED_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Oversized Parking"},PARK_AND_RIDE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Park And Ride"},PHYSICAL_MUSIC_OR_VIDEO:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M23%2023H1V1H23V23ZM2.53516%2021.4648H3V2.53516H2.53516V21.4648ZM4.5%2021.4648H21.4648V2.53516H4.5V21.4648ZM13%204C17.4183%204%2021%207.58172%2021%2012C21%2016.4183%2017.4183%2020%2013%2020C8.58172%2020%205%2016.4183%205%2012C5%207.58172%208.58172%204%2013%204ZM14.2959%209.29688C15.3033%209.78069%2016%2010.8078%2016%2012C16%2013.6569%2014.6569%2015%2013%2015C11.3431%2015%2010%2013.6569%2010%2012C10%2010.8081%2010.6962%209.78085%2011.7031%209.29688L9.92188%206.32812C7.91222%207.42107%206.54883%209.55144%206.54883%2012C6.54883%2015.5631%209.43687%2018.4512%2013%2018.4512C14.2729%2018.4512%2015.4602%2018.0827%2016.46%2017.4463C18.2585%2016.3013%2019.4512%2014.29%2019.4512%2012C19.4512%209.55113%2018.0872%207.42095%2016.0771%206.32812L14.2959%209.29688ZM13%2010.2861C12.0532%2010.2861%2011.2861%2011.0532%2011.2861%2012C11.2861%2012.9468%2012.0532%2013.7139%2013%2013.7139C13.9468%2013.7139%2014.7139%2012.9468%2014.7139%2012C14.7139%2011.0532%2013.9468%2010.2861%2013%2010.2861ZM13%205.54883C12.4241%205.54883%2011.8662%205.62505%2011.335%205.7666L13%208.54102L14.6641%205.7666C14.1331%205.62521%2013.5755%205.54883%2013%205.54883Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Physical Music Or Video"},POSTERS_AND_PRINTS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.1904%205.99316H23V15.9785H19.2295L19.7988%2020.8125L16.4844%2023L5.40137%2022.918H4.15625L4.97461%2015.9785H1V5.99316H6.07031V1H18.1904V5.99316ZM5.84277%2021.4238L16.0381%2021.499L18.2012%2020.0713L17.3555%2012.8926H16.0195L16.5283%2017.9756H7.58789L7.99512%2012.8926H6.84863L5.84277%2021.4238ZM12.2998%2020.4717H7.2998L7.45605%2018.9736H12.2998V20.4717ZM9.21289%2016.4775H14.8711L14.5215%2012.9824H9.49219L9.21289%2016.4775ZM13.5%2013.9814L13.5996%2015.4795H10.4004L10.5%2013.9814H13.5ZM2.5%2014.4805H5.15137L5.33789%2012.8926H3.65039V11.3955H20.3496V12.8926H18.8662L19.0527%2014.4805H21.5V7.49023H2.5V14.4805ZM7.15039%2010.2363H3.65039V8.73926H7.15039V10.2363ZM9.65039%2010.2363H8.15039V8.73926H9.65039V10.2363ZM7.57031%205.99316H16.6904V2.49805H7.57031V5.99316Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Posters And Prints"},PREMIER_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%2011.1768H20.2012L23%2013.8545V18.332H20.0791C19.7475%2019.58%2018.6122%2020.5%2017.2598%2020.5C15.9075%2020.4999%2014.7731%2019.5799%2014.4414%2018.332H8.95898C8.62732%2019.58%207.49203%2020.5%206.13965%2020.5C4.74206%2020.4998%203.57425%2019.5179%203.28809%2018.2061L1%2017.1904V11.7861L3.29785%207H13.7236L17.8438%2011.1768ZM6.13965%2016.1641C5.35496%2016.1642%204.71973%2016.7995%204.71973%2017.582C4.71987%2018.3645%205.35505%2018.9998%206.13965%2019C6.92439%2019%207.55943%2018.3646%207.55957%2017.582C7.55957%2016.7994%206.92448%2016.1641%206.13965%2016.1641ZM17.2598%2016.1641C16.475%2016.1642%2015.8398%2016.7994%2015.8398%2017.582C15.84%2018.3645%2016.4751%2018.9999%2017.2598%2019C18.0445%2019%2018.6795%2018.3646%2018.6797%2017.582C18.6797%2016.7994%2018.0446%2016.1641%2017.2598%2016.1641ZM2.5%2016.2148L3.38867%2016.6094C3.7897%2015.4761%204.86897%2014.6642%206.13965%2014.6641C7.49221%2014.6641%208.62749%2015.5838%208.95898%2016.832H14.4414C14.7729%2015.5839%2015.9073%2014.6642%2017.2598%2014.6641C18.6123%2014.6641%2019.7476%2015.5838%2020.0791%2016.832H21.5V14.4951L19.5986%2012.6768H17.2168L17.207%2012.667H2.5V16.2148ZM13.54%2015.2549H11.0898V13.7549H13.54V15.2549ZM2.96094%2011.167H9.7002V8.5H4.24219L2.96094%2011.167ZM11.2002%2011.167H15.7275L13.0967%208.5H11.2002V11.167ZM21.0205%205.77539L22.8848%206.06152L23%206.43652L21.6504%207.81738L21.9697%209.76758L21.667%2010L20%209.0791L18.333%2010L18.0303%209.76758L18.3496%207.81738L17%206.43652L17.1152%206.06152L18.9795%205.77539L19.8125%204H20.1875L21.0205%205.77539Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Premier Parking"},PRIVATE_RESTROOM_OR_SHOWERS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%204H15.4443V2.51758H4.55566V16.25H6.25V15H7.75V19H6.25V17.75H4.55566V23H3V1H17V4ZM13.75%2015H12.25V13H13.75V15ZM16.75%2015H15.25V13H16.75V15ZM19.75%2015H18.25V13H19.75V15ZM13.75%2012H12.25V10H13.75V12ZM16.75%2012H15.25V10H16.75V12ZM19.75%2012H18.25V10H19.75V12ZM13.75%209H12.25V7H13.75V9ZM16.75%209H15.25V7H16.75V9ZM19.75%209H18.25V7H19.75V9ZM21%205.75H11V4.25H21V5.75Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Private Restroom Or Showers"},REGULAR_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Regular Parking"},RESTAURANT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.9717%200.433594L15.7334%205.71973H22V7.21973H21.1973L20.1973%2020.9697H13.333L12%2021.9697H3.5L1%2020.0947V16.9697H14.5V19.4697H18.8027L19.6934%207.21973H11.3066L11.4336%208.96973H12L14.5%2010.8447V13.9697H1V10.8447L3.5%208.96973H9.92969L9.80273%207.21973H9V5.71973H14.1523L12.8223%201.72754L10.835%202.71875L10.165%201.37695L12.9258%200L13.9717%200.433594ZM2.5%2019.3447L4%2020.4697H11.5L13%2019.3447V18.4697H2.5V19.3447ZM15%2016.2197H0V14.7197H15V16.2197ZM2.5%2011.5947V12.4697H13V11.5947L11.5%2010.4697H4L2.5%2011.5947Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Restaurant"},SOUVENIR_TICKET:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.9189%2014.9727H16.4033V3.49707H3.5166V20.0557H10.5918V21.5527H2V2H17.9189V14.9727ZM16.9795%2016.9033L19.6914%2015.002L21%2015.7236V18.1338H18.1572L20.0098%2021.0088L18.8945%2021.5L16.9258%2018.4443L14.957%2021.5L13.8418%2021.0088L15.6943%2018.1338H13V15.7236L14.3125%2015L16.9795%2016.9033ZM10.2344%2018.4375H4.86523V16.9414H10.2344V18.4375ZM14.2627%2017.0889H15.3057L14.2627%2016.3447V17.0889ZM18.668%2017.0889H19.7363V16.3398L18.668%2017.0889ZM12.3828%2015.7207H4.86523V14.2246H12.3828V15.7207ZM15.0195%2012.8721H4.91309V6.07422H15.0195V12.8721ZM6.42871%2011.375H13.5039V7.57031H6.42871V11.375ZM12.3291%2010.2217H7.60352V8.72461H12.3291V10.2217Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Souvenir Ticket"},SPECIAL_ENTRY:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M23%2016.7666L19.9521%2019.7393L15.6484%2019.75H1V4.25H23V16.7666ZM2.5%2018.25H3.5V15.5918L5.02246%2014.25H8.97754L10.5%2015.5918V18.25H11.5V5.75H2.5V18.25ZM5%2016.2686V18.25H9V16.2686L8.41113%2015.75H5.58887L5%2016.2686ZM13%2018.25H15.6465L19.3408%2018.2412L21.5%2016.1338V5.75H13V18.25ZM18.7197%2014.25H14V12.75H18.7197V14.25ZM7%207.5C8.51878%207.5%209.75%208.73122%209.75%2010.25C9.75%2011.7688%208.51878%2013%207%2013C5.48122%2013%204.25%2011.7688%204.25%2010.25C4.25%208.73122%205.48122%207.5%207%207.5ZM20.25%2011.75H14V10.25H20.25V11.75ZM7%209C6.30964%209%205.75%209.55964%205.75%2010.25C5.75%2010.9404%206.30964%2011.5%207%2011.5C7.69036%2011.5%208.25%2010.9404%208.25%2010.25C8.25%209.55964%207.69036%209%207%209Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Special Entry"},SPORTS_FACILITY_TOUR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.4072%202.67188L22.4014%204.12207L17.75%205.57715V7.04297H18.3076L23%209.08008V20.6387L19.2119%2023H4.78809L1%2020.6387V9.08008L3.25%208.10254V1.72363L4.22754%201L9.40723%202.67188L9.40137%204.12207L4.75%205.57715V7.45117L5.69238%207.04297H16.25V1.72363L17.2275%201L22.4072%202.67188ZM2.5%2019.7891L5.21191%2021.4805H9.25V19.9609H5.34277L2.5%2018.7002V19.7891ZM10.75%2021.4805H13.75V16.9209H10.75V21.4805ZM18.8008%2019.8975L18.5%2019.9609H15.25V21.4805H18.7881L21.5%2019.7891V18.7002L18.8008%2019.8975ZM18.8008%2016.8574L18.5%2016.9209H15.25V18.4414H18.3428L21.5%2017.041V15.6611L18.8008%2016.8574ZM2.5%2017.041L5.65723%2018.4414H9.25V16.9209H5.34277L2.5%2015.6611V17.041ZM18.5908%2013.5059L18%2013.6289H5.69238L2.5%2012.2422V14.002L5.65723%2015.4014H18.3428L21.5%2014.002V12.2422L18.5908%2013.5059ZM2.5%2010.083V10.5889L6%2012.1084H18L21.5%2010.5889V10.083L18%208.5625H6L2.5%2010.083ZM4.75%203.98633L6.6748%203.38477L4.75%202.76367V3.98633ZM17.75%203.98633L19.6748%203.38477L17.75%202.76367V3.98633Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Sports Facility Tour"},SPORTS_FAN_EXPERIENCE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6%201C8.76142%201%2011%203.23858%2011%206C11%206.26581%2010.9784%206.52666%2010.9385%206.78125C12.0219%206.28049%2013.228%206%2014.5%206C19.1944%206.00002%2023%209.80559%2023%2014.5C22.9999%2019.1943%2019.1943%2022.9999%2014.5%2023C9.80571%2023%206.00014%2019.1943%206%2014.5C6.00001%2013.2281%206.28054%2012.0219%206.78125%2010.9385C6.52666%2010.9784%206.26581%2011%206%2011C3.23858%2011%201%208.76142%201%206C1%203.23858%203.23858%201%206%201ZM14.5%207.5C12.2606%207.50002%2010.2686%208.55312%208.9873%2010.1895L10.3965%2011.8057L10.0215%2015.1934L7.75586%2016.3691C8.57393%2019.3271%2011.2818%2021.4999%2014.5%2021.5C16.5877%2021.5%2018.4617%2020.5853%2019.7441%2019.1357L18.5078%2017.8281L18.9141%2013.7412L21.374%2013.1777C20.7556%209.94424%2017.9137%207.50004%2014.5%207.5ZM16.4688%2017.8311L14.8643%2020.4619L11.4141%2019.2295L11.251%2016.6592L14.1807%2015.6162L16.4688%2017.8311ZM17.4746%209.47656L17.8301%2012.7139L14.5918%2013.6748L12.3193%2011.4727L14.1689%208.49219L17.4746%209.47656ZM9.20996%204.60645C8.99498%204.5846%208.74246%204.57997%208.48145%204.61719C8.14241%204.66559%207.80366%204.78285%207.50684%205.01367C7.21463%205.241%206.92033%205.61139%206.71191%206.23633C6.42785%207.08842%206.01815%207.71035%205.52539%208.1416C5.03109%208.57409%204.49016%208.78222%203.99805%208.86426C3.99551%208.86468%203.99277%208.86384%203.99023%208.86426C4.55913%209.26417%205.25178%209.5%206%209.5C7.933%209.5%209.5%207.933%209.5%206C9.5%205.50449%209.39567%205.03362%209.20996%204.60645ZM6%202.5C4.067%202.5%202.5%204.067%202.5%206C2.5%206.47274%202.59379%206.92357%202.76367%207.33496C2.77484%207.30671%202.77716%207.30325%202.77734%207.30273L2.77539%207.30176L2.77441%207.30078L2.7793%207.30273C2.788%207.30583%202.80454%207.31213%202.82812%207.31934C2.87579%207.3339%202.95025%207.3545%203.04395%207.37207C3.235%207.40788%203.48738%207.42887%203.75195%207.38477C4.00976%207.34174%204.2815%207.23634%204.53711%207.0127C4.79414%206.7878%205.07224%206.40994%205.28809%205.7627C5.5796%204.88826%206.03553%204.25788%206.58691%203.8291C7.06253%203.45938%207.57788%203.26303%208.05664%203.16797C7.47926%202.74795%206.76863%202.5%206%202.5ZM19.5%201C20.8807%201%2022%202.11929%2022%203.5C22%204.88071%2020.8807%206%2019.5%206C18.1193%206%2017%204.88071%2017%203.5C17%202.11929%2018.1193%201%2019.5%201Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Sports Fan Experience"},TICKET_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.2344%203.96289L23%205.17871L20.2705%2020.543L20.0195%2020.7217C19.2339%2021.2782%2018.6798%2021.6662%2018.043%2022.1123C17.737%2022.3266%2017.4115%2022.554%2017.0322%2022.8203L16.7764%2023L8.52539%2021.5186L4.8584%2022.3008L1%204.11133L15.6064%201L16.2344%203.96289ZM18.9229%2016.6309L17.0928%2019.6943L12.4209%2020.6895L16.4268%2021.4082C16.7025%2021.2147%2016.9498%2021.0411%2017.1855%2020.876C17.7502%2020.4804%2018.2471%2020.1329%2018.9004%2019.6709L21.2578%206.39551L16.5723%205.55273L18.9229%2016.6309ZM2.78125%205.27051L6.01465%2020.5156L16.1406%2018.3584L17.3311%2016.3662L14.4502%202.78516L2.78125%205.27051ZM13.499%2016.1631L6.64258%2017.624L6.33008%2016.1523L13.1875%2014.6914L13.499%2016.1631ZM15.3232%2012.6963L6.01855%2014.6787L4.66504%208.29883L13.9707%206.31738L15.3232%2012.6963ZM6.44629%209.45801L7.17578%2012.8936L13.542%2011.5371L12.8135%208.10254L6.44629%209.45801ZM12.3057%2010.7754L7.99609%2011.6934L7.68359%2010.2207L11.9932%209.30273L12.3057%2010.7754Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Ticket Package"},TRANSPORTATION:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Transportation"},TRAVEL_TICKET_PACKAGES:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.2344%203.96289L23%205.17871L20.2705%2020.543L20.0195%2020.7217C19.2339%2021.2782%2018.6798%2021.6662%2018.043%2022.1123C17.737%2022.3266%2017.4115%2022.554%2017.0322%2022.8203L16.7764%2023L8.52539%2021.5186L4.8584%2022.3008L1%204.11133L15.6064%201L16.2344%203.96289ZM18.9229%2016.6309L17.0928%2019.6943L12.4209%2020.6895L16.4268%2021.4082C16.7025%2021.2147%2016.9498%2021.0411%2017.1855%2020.876C17.7502%2020.4804%2018.2471%2020.1329%2018.9004%2019.6709L21.2578%206.39551L16.5723%205.55273L18.9229%2016.6309ZM2.78125%205.27051L6.01465%2020.5156L16.1406%2018.3584L17.3311%2016.3662L14.4502%202.78516L2.78125%205.27051ZM13.499%2016.1631L6.64258%2017.624L6.33008%2016.1523L13.1875%2014.6914L13.499%2016.1631ZM15.3232%2012.6963L6.01855%2014.6787L4.66504%208.29883L13.9707%206.31738L15.3232%2012.6963ZM6.44629%209.45801L7.17578%2012.8936L13.542%2011.5371L12.8135%208.10254L6.44629%209.45801ZM12.3057%2010.7754L7.99609%2011.6934L7.68359%2010.2207L11.9932%209.30273L12.3057%2010.7754Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Travel Ticket Packages"},UPGRADE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11%200C17.0751%200%2022%204.92487%2022%2011C22%2017.0751%2017.0751%2022%2011%2022C4.92487%2022%200%2017.0751%200%2011C4.83193e-08%204.92487%204.92487%204.83208e-08%2011%200ZM11%201.4043C5.70042%201.4043%201.4043%205.70042%201.4043%2011C1.4043%2016.2996%205.70042%2020.5957%2011%2020.5957C16.2996%2020.5957%2020.5957%2016.2996%2020.5957%2011C20.5957%205.70042%2016.2996%201.4043%2011%201.4043ZM14%2018.5H8V17H14V18.5ZM16%208.51074L14.8291%209.56641L11.8281%206.8584V16H10.1719V6.8584L7.1709%209.56641L6%208.51074L11%204L16%208.51074Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Upgrade"},UPSELL_BUNDLES:{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5.12109%2011.583H18.5645L21.5645%208.58301L22.625%209.64355L20%2012.2686V21.833H4V12.583L1%209.58301L2.06055%208.52246L5.12109%2011.583ZM5.5%2020.583L11%2020.5479V13.083H5.5V20.583ZM12.5%2020.5371L18.5%2020.5V13.083H12.5V20.5371ZM9.91699%206.51465L11.5898%206.75879L11.6934%207.0791L10.4814%208.25586L10.7686%209.91992L10.4971%2010.1182L9%209.33301L7.50391%2010.1182L7.23145%209.91992L7.51855%208.25586L6.30664%207.0791L6.41016%206.75879L8.08398%206.51465L8.83203%205H9.16797L9.91699%206.51465ZM16.917%206.51465L18.5898%206.75879L18.6934%207.0791L17.4814%208.25586L17.7686%209.91992L17.4971%2010.1182L16%209.33301L14.5039%2010.1182L14.2314%209.91992L14.5186%208.25586L13.3066%207.0791L13.4102%206.75879L15.084%206.51465L15.832%205H16.168L16.917%206.51465ZM13.917%201.93164L15.5898%202.17578L15.6934%202.49609L14.4814%203.67285L14.7686%205.33691L14.4971%205.53516L13%204.75L11.5039%205.53516L11.2314%205.33691L11.5186%203.67285L10.3066%202.49609L10.4102%202.17578L12.084%201.93164L12.832%200.416992H13.168L13.917%201.93164Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Upsell Bundles"},VIP_LAWN_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2211%22%20fill%3D%22white%22%20stroke%3D%22black%22/%3E%3Cpath%20d%3D%22M14.042%209.25391L17.7695%209.7793L18%2010.4678L15.3008%2012.998L15.9404%2016.5742L15.334%2017L12%2015.3125L8.66602%2017L8.05957%2016.5742L8.69922%2012.998L6%2010.4678L6.23047%209.7793L9.95801%209.25391L11.626%206H12.374L14.042%209.25391Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"VIP Lawn Access"},VIP_TICKET_PACKAGES:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2211%22%20fill%3D%22white%22%20stroke%3D%22black%22/%3E%3Cpath%20d%3D%22M14.042%209.25391L17.7695%209.7793L18%2010.4678L15.3008%2012.998L15.9404%2016.5742L15.334%2017L12%2015.3125L8.66602%2017L8.05957%2016.5742L8.69922%2012.998L6%2010.4678L6.23047%209.7793L9.95801%209.25391L11.626%206H12.374L14.042%209.25391Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"VIP Ticket Packages"},VOUCHER:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23%2017.5654L19.9189%2020.75H1V3.25H23V17.5654ZM2.5%2019.25H7.75V12.4336L5.66211%2016.3525L4.33789%2015.6475L6.87305%2010.8896H2.5V19.25ZM12.6621%2015.6475L11.3379%2016.3525L9.25%2012.4336V19.25H19.2832L21.5%2016.959V10.8896H10.127L12.6621%2015.6475ZM2.5%209.38965H4V7.09863L5.55859%206.05957L7.75%207.95117V4.75H2.5V9.38965ZM5.5%209.38965H7.12012L5.5%207.99121V9.38965ZM10.3428%209.38965H12V7.9834L10.3428%209.38965ZM9.25%208.34961L11.9453%206.0625L13.5%207.09863V9.38965H21.5V4.75H9.25V8.34961Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Voucher"},DEFAULT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.69824%203.61621L10.4053%201.38379L23.0391%2012.6406L14.0693%2023.0693L1.31152%2011.6289L3.64551%204.68457L1.12207%202.18262L2.17773%201.11719L4.69824%203.61621ZM5.86328%204.77051L7.05273%205.94922C7.48383%205.69671%207.98483%205.5498%208.52051%205.5498C10.1275%205.55002%2011.4297%206.85295%2011.4297%208.45996C11.4296%2010.0669%2010.1274%2011.3699%208.52051%2011.3701C6.91341%2011.3701%205.61044%2010.067%205.61035%208.45996C5.61035%207.93374%205.75082%207.44057%205.99512%207.01465L4.83301%205.86133L3.04785%2011.1709L13.9307%2020.9307L20.9404%2012.7793L10.0947%203.11621L5.86328%204.77051ZM8.52051%207.0498C8.41042%207.0498%208.30302%207.06305%208.2002%207.08691L9.14844%208.02734L8.0918%209.09277L7.14355%208.15332C7.12168%208.25199%207.11035%208.3547%207.11035%208.45996C7.11044%209.23861%207.74184%209.87012%208.52051%209.87012C9.29899%209.8699%209.9296%209.23848%209.92969%208.45996C9.92969%207.68137%209.29905%207.05002%208.52051%207.0498Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Default"}}},WC={host:"Undefined",tm1:"DEFAULT"};function YC(e,t){var n,i,a;if(null==e||"string"!=typeof e)return;const o=KC[t];if(!o)return;const r=null!==(n=o[e])&&void 0!==n?n:o[WC[t]];return(null===(i=null==r?void 0:r.url)||void 0===i?void 0:i.light)?{url:r.url.light,title:null!==(a=r.title)&&void 0!==a?a:e}:void 0}function JC({schema:t,testId:n}){var i;const a=Xn(),o=t.value;if(null==o||""===o)return null;const r=YC(a(o),null!==(i=t.iconSet)&&void 0!==i?i:"host");if(!r)return null;const s={type:"StaticImage",node:{url:{light:r.url},title:r.title}};return e.jsx(Dn,{children:e=>e(s,void 0,n?`${n}-mapped-icon`:void 0)})}function XC(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:a(t,void 0,o)})}function QC(e,t,n){return t(e,void 0,n)}function ey(t){var n;const{schema:a,testId:o}=t,{a11yInputLabel:r,styles:s,showInputField:l,buttons:c,forcedUpsellText:d}=a,{increment:u,decrement:p,a11yIncrementLabel:f,a11yDecrementLabel:h}=c||{},v=i.useDispatch(),C=Bi(),y=wn(),m=Xn(),g=Oi(),{tabIndex:E,styles:I,isDisabled:x}=b(g),L=i.useSelector((e=>function(e,t){var n,i,a;const o=HC(e,t);return Boolean(o&&(null!==(n=o.preSelectedQuantity)&&void 0!==n?n:0)>0&&o.preSelectedQuantity===(null!==(i=o.minItemCount)&&void 0!==i?i:0)&&o.preSelectedQuantity===(null!==(a=o.maxItemCount)&&void 0!==a?a:0))}(e,C.catalogItemId))),D=i.useSelector((e=>SC(e,C.cartItemId))),w=i.useSelector((e=>TC(e,C))),S=(null==D?void 0:D.quantity)||0,A=b(x||S<=(null!==(n=C.minItemCount)&&void 0!==n?n:0)?"DISABLED":g),T=b(x||w<=0?"DISABLED":g),M=b(x||L||w<=0&&0===S?"DISABLED":g),j=e=>{var t;const n=e.target.value;if(0===n.length)O(null!==(t=C.minItemCount)&&void 0!==t?t:0);else{const e=Number(n);!Number.isNaN(e)&&e>=0&&O(e)}},O=e=>{x||v({type:Xv,payload:{catalogItem:C,quantity:e}})};return e.jsx(Ba,{styles:s,children:({classnames:t,mapperRef:n})=>e.jsx("div",{className:null==t?void 0:t.own,style:Object.assign({display:"flex",flexDirection:"row"},I),children:L&&d?e.jsx(eo,{schema:d,isInline:!1,testId:o?`${o}-forced-upsell-text`:void 0}):e.jsxs(e.Fragment,{children:[p?e.jsx("button",{className:null==t?void 0:t.decrementButton,style:Object.assign(Object.assign({},A.styles),{cursor:A.isDisabled?"not-allowed":"pointer",pointerEvents:"auto"}),onClick:e=>{e.preventDefault(),O(S-1)},tabIndex:A.tabIndex,"aria-label":h||void 0,disabled:A.isDisabled,"data-testid":o?`${o}-decrement-button`:void 0,children:e.jsx(Jn,{value:m,children:(null==t?void 0:t.decrementButton)?XC(p,t.decrementButton,n,y,o):QC(p,y,o)})}):null,l?e.jsx("input",{type:"text",className:null==t?void 0:t.input,style:Object.assign(Object.assign({},M),{cursor:M.isDisabled?"not-allowed":"auto",caretColor:M.isDisabled?"transparent":"auto",pointerEvents:"auto",outline:"none"}),value:S,onChange:j,"aria-label":r||void 0,tabIndex:E,disabled:M.isDisabled,"data-testid":o?`${o}-input`:void 0}):e.jsx("p",{className:null==t?void 0:t.input,style:I,"data-testid":o?`${o}-quantity-text`:void 0,children:S}),u?e.jsx("button",{className:null==t?void 0:t.incrementButton,style:Object.assign(Object.assign({},T.styles),{cursor:T.isDisabled?"not-allowed":"pointer",pointerEvents:"auto"}),onClick:e=>{e.preventDefault(),O(S+1)},tabIndex:T.tabIndex,"aria-label":f||void 0,disabled:T.isDisabled,"data-testid":o?`${o}-increment-button`:void 0,children:e.jsx(Jn,{value:m,children:(null==t?void 0:t.incrementButton)?XC(u,t.incrementButton,n,y,o):QC(u,y,o)})}):null]})})})}const ty={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(cC,{schema:t.node,testId:n})},EscapeHatch:function(t,n){if("EscapeHatch"===t.type&&t.node.data){const i=JSON.parse(t.node.data);switch(null==i?void 0:i.type){case"InsuranceRichText":return e.jsx(gC,{schema:i.node});case"CatalogUrlLink":return e.jsx(xC,{schema:i.node});case"CatalogPartnerEventButton":return e.jsx(DC,{schema:i.node});case"ReadMoreText":return e.jsx(GC,{schema:i.node});case"ReadMoreTextContainer":return e.jsx(qC,{schema:i.node});case"WhenCatalogQuantity":return e.jsx(jC,{schema:i.node,testId:n});case"ScrollToTarget":return e.jsx(OC,{schema:i.node,testId:n});case"Tooltip":return e.jsx(VC,{schema:i.node,testId:n});case"MappedIcon":return e.jsx(JC,{schema:i.node,testId:n});default:return}}},CatalogRadioGroup:function(t){if("CatalogRadioGroup"===t.type)return e.jsx(rC,{schema:t.node})},CatalogQuantityCounter:function(t){if("CatalogQuantityCounter"===t.type)return e.jsx(ey,{schema:t.node})}};function ny(){const t=Mi(),n=wn();return e.jsx(Sn,{value:n,overrides:ty,children:e.jsx(Dn,{children:e=>e(t)})})}function iy(e){return e.reduce(((e,t)=>(e[t.cartItemId]=function(e={}){return Object.assign({cartItemId:"cartItemId",catalogItemId:"catalogItemId",name:"Catalog Title",description:"This is a catalog item",unitPrice:10,totalPrice:10,quantity:1,currency:"USD",linkedProductId:void 0,quantityMustBeSynchronized:void 0,providerData:""},e)}({cartItemId:t.cartItemId,quantity:t.quantity}),e)),{})}const ay={cart:function(e=iy([]),t){if(t.type===Jv){const{catalogItem:n,quantity:i}=t.payload,a=n.cartItemId,o=Al(n,i);return Object.assign(Object.assign({},e),{[a]:o})}return e},userCreativeResponseHistory:function(e=[],t){return t.type===Qv?e.concat(t.payload.responseId):e},staticData:hv,childLayouts:fv};const oy="INVALID_PARTNER_MESSAGE",ry="MISCONFIGURED_CATALOG_ITEM";function*sy(e){var t,n;const i=yield r.select(PC),a=yield r.select(NC),o=yield r.select((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.maxTotalItemsQtyInOffer}));if(py(a)&&py(o)&&a>o)yield r.call(e,{level:K,code:ry,message:`Catalog items preselected quantities (${a}) exceeds the maximum allowed quantity (${o}) for this offer`});else if(i&&Array.isArray(i))for(const a of i){const i=null!==(t=a.preSelectedQuantity)&&void 0!==t?t:0,o=null!==(n=a.maxItemCount)&&void 0!==n?n:1/0;i>o?yield r.call(e,{level:K,code:ry,message:`Preselected quantity (${i}) is greater than maxItemCount (${o}) for catalog item (${a.instanceGuid})`}):yield*uy(a,i,!0)}}function*ly(e,t,n){const{catalogItem:i,quantity:a}=n.payload;if(yield*uy(i,a,!1)){const n=yield r.select((e=>{var t,n,i;const a=null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.responseOptionsMap.positive,o=e.userCreativeResponseHistory.at(-1),r=null===(n=e.staticData)||void 0===n?void 0:n.offer.creative.responseOptionsMap.negative;if(a&&o&&a.id===o&&"SignalGatedResponse"===(null==r?void 0:r.signalType))return function(e,t){var n;switch(e.action){case"Fulfillment":{const i=null==t?void 0:t.creative.fulfillment;return x(i)?{type:le,payload:{fulfillment:i,responseOption:e,accountID:null!==(n=null==t?void 0:t.accountId)&&void 0!==n?n:""}}:`Could not get fulfillment for response (instanceGuid: ${e.instanceGuid})`}case"Url":return(null==t?void 0:t.accountId)?{type:le,payload:Object.assign(Object.assign({},e),{accountID:t.accountId})}:`Could not get accountId for response (instanceGuid: ${e.instanceGuid})`;default:return{type:le,payload:e}}}(r,null===(i=e.staticData)||void 0===i?void 0:i.offer)}));null!=(o=n)&&"object"==typeof o&&"type"in o&&"payload"in o&&"object"==typeof o.payload?yield r.call(e.globalDispatch,n):function(e){return"string"==typeof e}(n)&&(yield r.call(t,{level:K,code:"INVALID_RESPONSE_OBJECT",message:n}))}var o}function*cy(e,t){const n=function(e,t){return s.eventChannel((n=>{const i=e.onEvent({name:Ql.V2.PartnerMessage.UpdateCartItem,source:"partner",callback:e=>{V(e)?n(e):t({level:K,code:oy,message:`Invalid UpdateCartItemPartnerMessageBody: ${JSON.stringify(e)}`})}});return()=>{i()}}))}(e,t);try{for(;;){const e=yield r.take(n);yield r.call(dy,e)}}catch(e){const n=e;t({level:K,code:k,message:null==n?void 0:n.message})}finally{(yield r.cancelled())&&n.close()}}function*dy(e){const{cartItemId:t,quantity:n}=e,i=yield r.select(_C,t);var a;null!==(a=i)&&"object"==typeof a&&"catalogItemId"in a&&"price"in a&&(yield*uy(i,n,!1))}function*uy(e,t,n){var i;const a=yield r.select(SC,e.cartItemId),o=yield r.select(TC,e),s=py(o)?o:0,l=fy(a)?a.quantity:0;if(t!==l&&t>=(null!==(i=e.minItemCount)&&void 0!==i?i:0)&&t-l<=s){yield r.put({type:Jv,payload:{catalogItem:e,quantity:t}});const i=yield r.select(SC,e.cartItemId);!fy(i)&&fy(a)&&(a.quantity=0,a.totalPrice=0);const o=yield r.select($C);yield r.put({type:Me,payload:{cart:o}}),yield r.put({type:Ce,payload:{name:"SignalCartItemQuantitySelected",parentGuid:e.instanceGuid,objectData:{quantity:t,preselected:n}}}),yield r.put({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:{oldCartItem:a,cartItem:i}}}),yield r.put({type:Le,payload:{name:"UPDATE_CART_ITEM_MESSAGE",body:{oldCartItem:a,cartItem:i}}});return(yield r.select(FC,e.catalogItemId))&&(yield r.put({type:Oe,payload:{cartItemId:e.cartItemId}})),!0}return!1}function py(e){return"number"==typeof e}function fy(e){return null!=e&&"object"==typeof e&&"cartItemId"in e&&"quantity"in e&&"unitPrice"in e}function*hy(){const e=yield r.select(wC);for(const t of e){if(yield r.select(FC,t.catalogItemId)){const e=yield r.select(HC,t.catalogItemId);e&&(yield r.put({type:Jv,payload:{catalogItem:e,quantity:0}}))}}const t=yield r.select($C);yield r.put({type:Me,payload:{cart:t}})}function*vy(e){const t=function(e){return s.eventChannel((t=>{const n=e.onEvent({name:"CART_ITEM_SUCCESS",source:"partner",callback:e=>{t(e)}},{name:"CART_ITEM_FAILURE",source:"partner",callback:e=>{t(e)}});return()=>{n()}}))}(e);try{for(;;){(yield r.take(t)).success||(yield r.call(hy))}}finally{(yield r.cancelled())&&t.close()}}function*Cy(e,t){var n;yield r.put({type:Qv,payload:{responseId:(n=t.payload,ce(n)?n.responseOption.id:n.id)}}),yield r.call(e.globalDispatch.bind(e),t)}function*yy(e,t){yield r.all([r.spawn(sy.bind(null,t)),r.spawn(cy.bind(null,e,t)),r.spawn(vy.bind(null,e)),r.takeLatest(Xv,ly.bind(null,e,t)),r.takeLatest(le,Cy.bind(null,e)),r.takeEvery(je,Dv.bind(null,e,t)),r.takeEvery(He,Sl.bind(null,e,void 0)),r.takeEvery("*",wl.bind(null,[le,je,He],e))])}function my(e){return"object"==typeof e&&null!==e&&"cartItemId"in e&&"quantity"in e}Object.assign(Object.assign({},Be),{CATALOG_ITEM_RESPONSE:Xv});const gy=(new Di).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=function(e){return"object"==typeof e&&null!==e&&"cart"in e&&Array.isArray(e.cart)&&e.cart.every(my)}(a.offerState)?a.offerState:{cart:[]},d=function(e={}){return Object.assign({cart:iy([]),userCreativeResponseHistory:[],staticData:null,childLayouts:{launched:{}}},e)}({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion},cart:iy(c.cart)}),u=function(e,t,n){const i=s(),a=l.configureStore({reducer:ay,devTools:{name:"Add To Cart"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(yy,e,t),a}(a.gateway,a.logger,d);r.render(e.jsx(t.StrictMode,{children:e.jsxs($i,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Dr,{}),e.jsx(i.Provider,{store:u,children:e.jsx(Ir,{settings:a,dispatch:u.dispatch,children:e.jsx(ny,{})})})]})}))}}));var by=Object.freeze({__proto__:null,moduleConnectorBuilder:gy});const Ey="CATALOG/TRIGGER_SELECT_ITEM",Iy="CATALOG/SET_SELECTED_ITEM",xy="CHECKOUT_LIFECYCLE",Ly="INSTANT_PURCHASE/INITIATE",Dy="INSTANT_PURCHASE/PARTNER_RESPONSE",wy="INSTANT_PURCHASE/UPSELL_ITEM_PARTNER_RESPONSE",Sy="INSTANT_PURCHASE/WSDK_RESPONSE",Ay="INSTANT_PURCHASE/SET_OFFER_LIFECYCLE_EVENT",Ty="INSTANT_PURCHASE/PUSH_TAX_AND_SHIPPING",My="INSTANT_PURCHASE/MARK_TAX_AND_SHIPPING_PENDING",jy="INSTANT_PURCHASE/SET_ACTIVE_TAX_AND_SHIPPING_KEY",Oy="INSTANT_PURCHASE/INITIATE_TAX_AND_SHIPPING",ky="INSTANT_PURCHASE/SET_PURCHASE_ID",Vy="DEVICE_PAY/INITIATE",Ry="DEVICE_PAY/RESPONSE",Hy="DEVICE_PAY/AVAILABLE",_y="PAYPAL/INITIATE",Py="PAYPAL/CONFIRM",Ny="PAYPAL/TRANSACTION_DETAILS_READY",Fy="PAYPAL/SET_PURCHASE_CONTEXT",$y="DEVICE_PAY/REQUEST_CONSUMED";function Zy(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:Gy(t,a,o)})}function Gy(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function By(n){const a=n.schema.validatorTriggerConfig,o=i.useDispatch(),r=wn(),s=Oi(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=Bi(),p=qn(u,"catalogItem"),f=ta(),h=ge(n.schema.requestKey)?n.schema.requestKey:void 0,v=xn(0,(e=>{var t;return h&&null!==(t=e.customStates[h])&&void 0!==t?t:null})),C=i.useSelector((e=>{var t,n,i,a;return null!==(a=null!==(t=e.selectedItem)&&void 0!==t?t:null===(i=null===(n=e.staticData)||void 0===n?void 0:n.offer.catalogItems)||void 0===i?void 0:i[0])&&void 0!==a?a:null})),y=null===C||C.instanceGuid===u.instanceGuid&&C.catalogItemId===u.catalogItemId,m=t.useRef(!1),g="requestKey"in n.schema;function E(){let e=!0;if(a&&(e=f.validateFieldKeys(a.validatorFieldKeys)),e){o({type:Ly,payload:{catalogItem:u,quantity:1}})}else o({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:"CatalogResponseButton",parentGuid:u.instanceGuid}})}const I=t.useRef(E);return I.current=E,t.useEffect((()=>{h&&(1===v?y&&!m.current&&(m.current=!0,o({type:be,payload:{key:h,value:0}}),d||I.current()):m.current=!1)}),[o,d,y,h,v]),g?null:e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t,mapperRef:i})=>e.jsx("button",{type:"button",tabIndex:l,"aria-disabled":d,disabled:d,style:Object.assign({cursor:"pointer"},c),"data-testid":n.testId,"data-e2e":"CatalogItemResponse",onClick:e=>{e.preventDefault(),E()},className:null==t?void 0:t.own,children:e.jsx(Jn,{value:p,children:(null==t?void 0:t.own)?Zy(n.schema.children,t.own,i,r,n.testId):Gy(n.schema.children,r,n.testId)})})})}const Uy=["ArrowDown","ArrowUp","Enter","Escape","Tab"];function zy(n){const a=n.schema.validatorFieldConfig,o=n.schema.disableProgrammaticFocus||!1,r=On(),s=wn(),l=t.useMemo((()=>r.catalogItems||[]),[r]),c=Oi(),{styles:d,isDisabled:u}=b(c),p=t.useRef(null),f=t.useRef([]),[h,v]=t.useState(!1),[y,m]=t.useState(-1),g=i.useDispatch(),E=ta(),I=i.useSelector((e=>e.selectedItem)),x=t.useRef(I),[L,D]=t.useState(I?l.indexOf(I):-1);function w(){return!!x.current}const S=t.useMemo((()=>ia({required:w},a)),[a]);function A(t,i,a,o){return t?function(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:a(t,void 0,o)})}(i,t,a,s,o||n.testId):function(e,t,n){return t(e,void 0,n)}(i,s,o||n.testId)}function T(){return!a||E.getFieldKeyValidity(a.validationFieldKey)}function M(){u||(h?O():j())}function j(){u||v(!0)}function O(){u||v(!1)}function k(e,t){var n;V(e)||(m(l.indexOf(e)),O(),g({type:Ey,payload:{catalogItem:e}}),g({type:Ce,payload:{name:"SignalUserInteraction",action:"DropDownItemSelected",context:"CatalogDropDown",parentGuid:e.instanceGuid}}),x.current=e,a&&a.validateOnChange&&E.validateFieldKeys([a.validationFieldKey]),D(t),null===(n=p.current)||void 0===n||n.focus())}function V(e){return(e.inventoryStatus||C.Unknown)===C.OutOfStock}function R(e){const t=[null==e?void 0:e.dropDownSelectedElement];return T()||t.push((null==e?void 0:e.dropDownContainerErrorStyles)||""),t.join(" ")}na(null==a?void 0:a.validationFieldKey,S),t.useEffect((()=>{var e;if(!o)if(h)if(-1===L)null===(e=p.current)||void 0===e||e.focus();else{const e=f.current[L];e&&e.focus()}else m(L)}),[h,o,L]),t.useEffect((()=>{var e;null===(e=f.current[y])||void 0===e||e.focus()}),[y]);const H={elements:{own:[{default:{background:{backgroundColor:{light:"#ffffff"}},dimension:{width:{type:"percentage",value:100}}}}]}};function _(e){var t;if(!u&&Uy.includes(e.key))switch(e.key){case"ArrowDown":{e.preventDefault();const t=y+1;t<l.length&&m(t);break}case"ArrowUp":{e.preventDefault();const t=y-1;t>=0&&m(t);break}case"Enter":if(e.preventDefault(),h){const e=l[y];if(void 0===e)return;k(e,y)}else j();break;case"Tab":h&&O();break;case"Escape":e.preventDefault(),h&&(O(),null===(t=p.current)||void 0===t||t.focus())}}let P=null;return I&&(P=qn(I,"catalogItem")),l.length>1?e.jsx(Ba,{styles:n.schema.styles?ae(H,n.schema.styles):H,children:({classnames:t,mapperRef:i})=>e.jsxs("div",{className:null==t?void 0:t.dropDownContainer,children:[e.jsxs("div",{ref:p,className:null==t?void 0:t.own,onKeyDown:_,onClick:M,onBlur:e=>{var t;(null===(t=p.current)||void 0===t?void 0:t.contains(e.relatedTarget))||h&&O()},"data-e2e":"DropDown","data-testid":n.testId?`${n.testId}-drop-down-container`:void 0,"aria-disabled":u,style:Object.assign({position:"relative"},d),tabIndex:0,children:[e.jsx("div",{className:R(t),"aria-disabled":u,"data-testid":n.testId?`${n.testId}-drop-down-selected-element`:void 0,style:Object.assign({cursor:"pointer"},d),title:P?P(n.schema.closedTemplateTitle||""):"",children:I&&P?e.jsx(Jn,{value:P,children:A(null==t?void 0:t.dropDownSelectedElement,n.schema.closedTemplate,i)}):A(null==t?void 0:t.dropDownSelectedElement,n.schema.closedDefaultTemplate,i)}),h&&e.jsx("ul",{className:null==t?void 0:t.dropDownListContainer,onClick:e=>e.stopPropagation(),"data-testid":n.testId?`${n.testId}-drop-down-list-container`:void 0,tabIndex:-1,style:Object.assign({listStyle:"none",padding:0,zIndex:9999,position:"absolute",top:"100%",left:0,right:0,overflowX:"hidden",overflowY:"auto"},d),children:l.map(((a,o)=>{const r=qn(Object.assign(Object.assign({},a),{isSelected:o===L}),"catalogItem");return e.jsx("li",{ref:e=>function(e,t){f.current[t]=e}(e,o),className:null==t?void 0:t.dropDownListElement,onClick:e=>{e.stopPropagation(),u||k(a,o)},tabIndex:-1,"data-e2e":"DropDownItem","data-testid":n.testId?`${n.testId}-drop-down-item-${o}`:void 0,"aria-disabled":V(a),style:Object.assign({cursor:V(a)?"not-allowed":"pointer",display:"flex",opacity:V(a)?.5:1},d),title:r(n.schema.openTemplateTitle||""),children:e.jsx(Jn,{value:r,children:A(null==t?void 0:t.dropDownSelectedElement,n.schema.openTemplate,i)})},a.catalogItemId)}))})]}),!T()&&n.schema.requiredSelectionErrorTemplate?A(null==t?void 0:t.errorContentContainerStyles,n.schema.requiredSelectionErrorTemplate,i,"dropdown-required-selection-error"):null]})}):null}function qy(n){const a=n.schema.styles,o=i.useDispatch(),r=i.useSelector((e=>e.staticData)),s=Oi(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=t.useContext(Qi),p=()=>{var e;const{validatorTriggerConfig:t}=n.schema;if(u&&t){if(!u.validateFieldKeys(t.validatorFieldKeys))return}o({type:Ce,payload:{name:"SignalUserInteraction",action:"CheckoutStepChanged",context:n.schema.targetStep,parentGuid:null==r?void 0:r.offer.creative.instanceGuid}}),o({type:xy,payload:{event:"Checkout",targetStep:n.schema.targetStep,offerPositionIndex:null!==(e=null==r?void 0:r.position)&&void 0!==e?e:0,data:n.schema.data}})};return e.jsx(Ba,{styles:a,children:({classnames:i})=>{var a;return e.jsx("button",{title:n.schema.targetStep,className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"CheckoutStateButtonTrigger",disabled:d,"aria-disabled":d,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:n.schema.targetStep,tabIndex:l,style:Object.assign({cursor:"pointer"},c),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})}})}const Ky=/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{3})$/;function Wy(t){const n=Xn(),i=Oi(),{schema:a,testId:o}=t,r=n(a.value),{tabIndex:s,styles:l,isDisabled:c}=b(i);return"string"==typeof(d=r)&&Ky.test(d)?e.jsx(Ba,{styles:a.styles,children:({classnames:t})=>e.jsx("div",{"aria-hidden":c,className:null==t?void 0:t.own,"data-e2e":"ColorSwatch","data-testid":o,style:Object.assign({backgroundColor:r},l),tabIndex:s})}):null;var d}function Yy(e){return{name:e,styles:{elements:{own:[{default:{text:{fontSize:28},border:{borderColor:{light:"#131317"},borderRadius:50,borderStyle:"solid",borderWidth:"2"},spacing:{padding:"4"}}}]}}}}const Jy=Yy("ChevronLeft"),Xy=Yy("ChevronRight"),Qy={backgroundColor:"#9197A7",borderRadius:12,height:"12px",width:"12px"},em={backgroundColor:"#9197A7",borderRadius:9,height:"9px",width:"9px",margin:"0px 1.5px"},tm={backgroundColor:"#000000ff",borderRadius:12,height:"12px",width:"12px"},nm={backgroundColor:"#00000000",borderRadius:22,height:"22px",width:92,gap:8};function im(n){const{schema:a,testId:o}=n,r=a.scrollGradientLength||36,s=a.navigationStrategy||"thumbnailList",l=a.mainImageMinWidth,c=a.mainImageMaxWidth,d=a.mainImageMinHeight,u=a.mainImageMaxHeight,p=i.useDispatch(),f=Bi(),h=t.useMemo((()=>Object.values(f.images||{})),[f]),v=h.length>1?1:0,C=t.useMemo((()=>v?[h.at(-1),...h,h.at(0)].filter((e=>void 0!==e)):h),[h,v]),[y,m]=t.useState({left:r,right:r}),[g,E]=t.useState(v),I=t.useRef(g),x=t.useRef([]),[L,D]=t.useState(0),w=t.useRef(L),S=t.useRef(null),A=t.useRef([]),[T,M]=t.useState(!1),[j,O]=t.useState(!1),[k,V]=t.useState(null),R=t.useRef(null),[H,_]=t.useState(!1),[P,N]=t.useState(!0),F=t.useRef(null),$=t.useCallback((()=>{const e=x.current[I.current],t=R.current;if(!e||!t)return;const n=e.querySelector("img");if(!n)return;const i=t.getBoundingClientRect(),a=n.getBoundingClientRect();0!==a.width&&0!==a.height&&V({top:a.top-i.top,left:a.left-i.left,width:a.width,height:a.height})}),[]),Z=Oi(),{styles:G,isDisabled:B,tabIndex:U}=b(Z),z=t.useRef(null),q=t.useRef(null),K=t.useRef(null),W=t.useRef({startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}),Y=t.useCallback((e=>{if(null===e)return;const{scrollLeft:t,scrollWidth:n,clientWidth:i}=e,a=n-i-t;m({left:t<r?t:r,right:a<r?a:r})}),[r]),J=t.useCallback((()=>{const e=S.current;e&&"thumbnailList"===s&&M(e.scrollWidth>e.clientWidth)}),[s]);function X(e,t){A.current[t]=e}function Q(e,t,n="smooth"){if(!e||!t)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect(),o=a.left+a.width/2,r=i.left+t.clientWidth/2,s=t.scrollLeft+(o-r),l=t.scrollWidth-t.clientWidth;t.scrollTo({left:Math.max(0,Math.min(l,s)),behavior:n})}t.useEffect((()=>{ae(v),oe(0),"thumbnailList"===s?(Q(A.current[0]||null,S.current,"instant"),Y(S.current),J()):W.current={startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}}),[f.catalogItemId,v,s,h,Y,J]),t.useEffect((()=>{const e=R.current;if(!e)return;const t=new ResizeObserver($);return t.observe(e),()=>t.disconnect()}),[$]),t.useEffect((()=>{function e(e){const t=S.current;t&&0!==e.deltaY&&(e.preventDefault(),t.scrollLeft+=e.deltaY)}const t=new ResizeObserver((()=>{J(),Y(n)})),n=S.current;if(n)return Y(n),t.observe(n),"thumbnailList"===s&&n.addEventListener("wheel",e,{passive:!1}),()=>{t.disconnect(),"thumbnailList"===s&&n.removeEventListener("wheel",e)}}),[]);const ee={display:"flex",position:"absolute",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",cursor:B?"not-allowed":"pointer",pointerEvents:"auto",zIndex:1};function te(e){p({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogImageGallery",parentGuid:f.instanceGuid}})}function ne(){null!==F.current?(N(!1),ae(F.current),F.current=null,requestAnimationFrame((()=>{requestAnimationFrame((()=>{N(!0),$()}))}))):$(),O(!1)}function ie(e,t){if(j)return;te(t);const n=g+e,i=L+e;let a=n,o=i;0===n?(a=C.length-2,o=h.length-1):n===C.length-1&&(a=1,o=0),O(!0),"paginationIndicator"===s&&function(e,t,n){if(t===e){const e=n>0&&W.current.stopIndex<h.length-1,t=n<0&&W.current.startIndex>0;(e||t)&&2===W.current.activeIndex?(W.current.startIndex+=n,W.current.stopIndex+=n):W.current.activeIndex+=n}else W.current=0===t?{startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}:{startIndex:Math.max(0,h.length-5),stopIndex:h.length-1,activeIndex:4}}(i,o,e),n!==a&&(F.current=a),ae(n),Q(A.current[o]||null,S.current,"smooth"),oe(o)}function ae(e){E(e),I.current=e}function oe(e){D(e),w.current=e}function re(){z.current=null,q.current=null,K.current=null}function se(e){"paginationIndicator"===s&&null===z.current&&(z.current=e.pointerId,q.current=e.clientX,K.current=e.clientY)}function le(e){if(null===z.current||null===q.current||null===K.current)return;const t=Math.abs(e.clientX-q.current),n=Math.abs(e.clientY-K.current);t<10&&n<10||t<n&&re()}function ce(e){if(null===z.current||null===q.current)return;const t=q.current-e.clientX;Math.abs(t)>30&&(t<0?ie(-1,"MainImageSwipeRight"):ie(1,"MainImageSwipeLeft")),re()}function de(t){return H&&1===v?e.jsxs(e.Fragment,{children:[e.jsx("button",{style:Object.assign(Object.assign({},ee),{left:"5%"}),className:null==t?void 0:t.scrollIconButton,onClick:()=>ie(-1,"MainImageScrollIconLeftClick"),"data-testid":"main-image-scroll-left-button",children:e.jsx(lo,{schema:a.leftScrollIconTemplate||Jy})}),e.jsx("button",{style:Object.assign(Object.assign({},ee),{right:"5%"}),className:null==t?void 0:t.scrollIconButton,onClick:()=>ie(1,"MainImageScrollIconRightClick"),"data-testid":"main-image-scroll-right-button",children:e.jsx(lo,{schema:a.rightScrollIconTemplate||Xy})})]}):null}function ue(n){return 1===v?e.jsx("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"95%",left:"50%",transform:"translateX(-50%) translateY(-95%)",zIndex:1,pointerEvents:"none"},children:e.jsx("div",{ref:S,className:null==n?void 0:n.paginationIndicatorContainer,style:Object.assign({display:"flex",flexWrap:"nowrap",flexDirection:"row",alignItems:"center",justifyContent:"center",overflow:"auto",scrollbarWidth:"none"},(null==n?void 0:n.paginationIndicatorContainer)?{}:nm),"data-testid":`${o}-pagination-indicator-container`,children:t.Children.toArray(h.map(((t,i)=>{const a=function(e,t){return e===L?{className:null==t?void 0:t.paginationActiveIndicator,defaultStyles:(null==t?void 0:t.paginationActiveIndicator)?{}:tm}:e!==W.current.startIndex&&e!==W.current.stopIndex||0===e||e===h.length-1?{className:null==t?void 0:t.paginationIndicator,defaultStyles:(null==t?void 0:t.paginationIndicator)?{}:Qy}:{className:null==t?void 0:t.paginationMinimizedIndicator,defaultStyles:(null==t?void 0:t.paginationMinimizedIndicator)?{}:em}}(i,n);return e.jsx("div",{style:{display:"flex"},ref:e=>X(e,i),"data-testid":`${o}-pagination-indicator-wrapper-${i}`,children:e.jsx("span",{className:a.className,style:a.defaultStyles,"data-testid":`${o}-pagination-indicator-${i}`},`${o}-pagination-indicator-${i}`)})})))})}):null}function pe(n){return"thumbnailList"===s?e.jsx("div",{ref:S,onScroll:e=>Y(e.currentTarget),className:null==n?void 0:n.thumbnailList,style:Object.assign(Object.assign({},G),{display:"flex",overflow:"auto",justifyContent:T?"flex-start":"center",scrollbarWidth:"none",scrollBehavior:"smooth",maskImage:T?`linear-gradient(to right, transparent 0, black ${y.left}px, black calc(100% - ${y.right}px), transparent 100%)`:void 0}),children:t.Children.toArray(h.map(((t,i)=>e.jsx("div",{style:{flexShrink:0,aspectRatio:a.thumbnailAspectRatio||a.imageAspectRatio||"1 / 1",overflow:"hidden"},children:e.jsx("img",{ref:e=>X(e,i),src:t.light,alt:t.alt,title:t.title,className:i===L?null==n?void 0:n.selectedThumbnailImage:null==n?void 0:n.thumbnailImage,loading:"lazy",style:Object.assign(Object.assign({},G),{cursor:B?"not-allowed":"pointer",pointerEvents:"auto",objectFit:"cover"}),"data-testid":`${o}-thumbnail-${i}`,"data-e2e":"CatalogImageGallery-thumbnail",tabIndex:U,onClick:()=>function(e){if(j)return;const t=v?e+1:e;t!==g&&(te("ThumbnailClick"),O(!0),oe(e),ae(t),Q(A.current[e]||null,S.current,"smooth"))}(i)})}))))}):null}return h.length>0?e.jsx(Ba,{styles:a.styles,children:({classnames:n})=>e.jsx("div",{className:null==n?void 0:n.own,style:{minWidth:0},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%"},children:[e.jsxs("div",{onMouseOver:()=>_(!0),onMouseOut:()=>_(!1),onPointerDown:se,onPointerMove:le,onPointerUp:ce,onPointerCancel:re,onLostPointerCapture:re,ref:R,style:{position:"relative",touchAction:"pan-y",width:"100%",aspectRatio:a.imageAspectRatio||"1 / 1",overflow:"hidden",minWidth:l,maxWidth:c,minHeight:d,maxHeight:u},"data-testid":`${o}-main-image-container`,children:[e.jsx("div",{style:{display:"flex",width:100*C.length+"%",height:"100%",transform:`translateX(calc(-${g} / ${C.length} * 100%))`,transition:P?"transform 0.35s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"transform"},onTransitionEnd:ne,children:t.Children.toArray(C.map(((t,i)=>e.jsx("div",{ref:e=>function(e,t){x.current[t]=e}(e,i),style:{display:"flex",alignItems:"center",justifyContent:"center",width:100/C.length+"%",overflow:"hidden"},children:e.jsx("img",{src:t.light,alt:t.alt,title:t.title,className:null==n?void 0:n.mainImage,loading:"lazy",onLoad:$,style:Object.assign(Object.assign({},G),{maxWidth:"100%",maxHeight:"100%",width:"auto",height:"auto",display:"block"}),"data-testid":`${o}-main-image-${i}`,"data-e2e":"CatalogImageGallery-mainImage"})},`${t.light}-${i}`))))}),k&&"thumbnailList"===s&&e.jsx("div",{style:{position:"absolute",top:k.top,left:k.left,width:k.width,height:k.height,pointerEvents:"none",zIndex:1},children:de(n)}),"paginationIndicator"===s&&ue(n)]}),e.jsx("div",{style:{width:"100%",maxWidth:null==k?void 0:k.width},children:pe(n)})]})})}):null}const am={size:48,radius:18,stroke:4,duration:.6,primaryColor:"#5F5F5F",secondaryColor:"#CFCFCF",primaryRotation:-50,secondaryRotation:45,arcFraction:1/3.5,mode:"segmented"},om={elements:{own:[{default:{container:{justifyContent:"center",alignItems:"center"},dimension:{width:{type:"percentage",value:100}}}}],spinner:[{default:{container:{justifyContent:"center",alignItems:"center"}}}]}};function rm(t){const{config:n}=t.schema,i=Object.assign(Object.assign({},am),n),a=i.radius,o=i.size/2,r="segmented"!==i.mode?(()=>{var e;const t=2*Math.PI*a,n=t*(null!==(e=i.arcFraction)&&void 0!==e?e:1/3.5);return{arc:n,gap:t-n}})():null,s={container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%"},spinner:{display:"block",animation:"segmented"===i.mode?`spinner-rotate ${i.duration}s linear infinite`:`spin ${i.duration}s ease-in-out infinite`,transformOrigin:"segmented"===i.mode?`${o}px ${o}px`:"center center"}};return e.jsx(Ba,{styles:t.schema.styles?ae(om,t.schema.styles):om,children:({classnames:n})=>e.jsxs("div",{className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"LoadingSpinner",style:s.container,children:[e.jsx("svg",{width:i.size,height:i.size,viewBox:`0 0 ${i.size} ${i.size}`,role:"img","aria-label":"Loading","data-testid":`${t.testId}-loading-spinner-svg`,children:"segmented"===i.mode?e.jsxs("g",{className:null==n?void 0:n.spinner,style:s.spinner,"data-testid":`${t.testId}-segmented-svg-group`,children:[e.jsx("path",{d:`M ${o} ${o-a} A ${a} ${a} 0 0 1 ${o+a} ${o}`,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),e.jsx("path",{d:`M ${o+a} ${o} A ${a} ${a} 0 0 1 ${o} ${o+a}`,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),i.secondaryColor&&e.jsxs(e.Fragment,{children:[e.jsx("path",{d:`M ${o} ${o+a} A ${a} ${a} 0 0 1 ${o-a} ${o}`,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),e.jsx("path",{d:`M ${o-a} ${o} A ${a} ${a} 0 0 1 ${o} ${o-a}`,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"})]})]}):e.jsxs("g",{className:null==n?void 0:n.spinner,style:s.spinner,"data-testid":`${t.testId}-dashed-svg-group`,children:[e.jsx("circle",{cx:o,cy:o,r:a,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeDasharray:`${null==r?void 0:r.arc} ${null==r?void 0:r.gap}`,strokeDashoffset:"0",strokeLinecap:"butt",transform:`rotate(${i.primaryRotation} ${o} ${o})`}),i.secondaryColor&&e.jsx("circle",{cx:o,cy:o,r:a,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeDasharray:`${null==r?void 0:r.arc} ${null==r?void 0:r.gap}`,strokeDashoffset:"0",strokeLinecap:"butt",transform:`rotate(${i.secondaryRotation} ${o} ${o})`})]})}),e.jsx("style",{children:"\n /* Animation for dashed circle mode */\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n \n /* Animation for segmented mode (default) */\n @keyframes spinner-rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n "})]})})}const sm=new Map;function lm(n){const a=1e3*n.schema.durationInSeconds,o=n.schema.format||"M:SS",r=n.schema.key,s=n.testId,l=i.useDispatch(),[c,d]=t.useState(a),u=t.useRef(null),p=t.useRef(null),f=i.useSelector((e=>e.staticData));function h(){const e=Math.ceil(c/1e3);if("S"===o)return e;{const t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${String(n).padStart(2,"0")}`}}return t.useEffect((()=>(p.current=requestAnimationFrame((function e(t){u.current||(u.current=function(e,t){const n=sm.get(e);return void 0!==n?n:(sm.set(e,t),t)}(r,t));const n=t-u.current,i=Math.max(a-n,0);d(i),i>0?p.current=requestAnimationFrame(e):(f&&l({type:Ce,payload:{name:"SignalDismissal",parentGuid:f.offer.creative.instanceGuid,dismissalMethod:"OfferLifecycleTimer"}}),l({type:ye,payload:{event:"Dismissed",dismissalReason:"Implicit"}}))})),()=>{p.current&&cancelAnimationFrame(p.current)})),[a,l,f,r]),e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>n.isInline?e.jsx("span",{className:null==t?void 0:t.own,"data-testid":s||"","data-e2e":"OfferLifecycleTimer",children:h()}):e.jsx("p",{className:null==t?void 0:t.own,"data-testid":s||"","data-e2e":"OfferLifecycleTimer",children:h()})})}const cm={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s","span","h1","h2","h3","h4","h5","h6","div","b"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[],h3:[],div:[],b:[]},allowedSchemes:["http","https"]},dm=new Map([["&","_;^;_"]]),um=new RegExp(`<a *(?=${cm.allowedAttributes.a.join("|")}|>)`,"g"),pm=new RegExp('<a [^>]*href="([^"]+)"',"g"),fm=new RegExp("(<br *?>)|(<br *?/>)","g"),hm="<br/>";function vm(n){const i=Xn(),a=Oi(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(pm,((e,t)=>{const n=t.replaceAll("&",dm.get("&"));return e.replace(t,n)})).replaceAll(fm,hm)}(e);return t===u(t,cm)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[n.schema.value,i]);function r(e){let t=o.replace(um,`<a ${e.join(" ")}`);return n.schema.removePTagBaseStyles&&(t=o.replaceAll("<p",'<p style="margin: revert"')),t}const{tabIndex:s,styles:l,isDisabled:c}=b(a),{setRef:d,maskStyle:p}=st("vertical",lt(n.schema.styles));return o?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",c?'tabindex="-1"':"",c?"style=\"pointer-events: 'none'; user-select: none;\"":"",c?'aria-disabled="true"':""].filter((e=>e.length>0)),a=Object.assign(Object.assign({},l),p);return u=o,new RegExp("</(p|ul|ol)>").test(u)?e.jsx("div",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}}):n.isInline?e.jsx("span",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}}):e.jsx("p",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}});var u}}):null}function Cm(n){var a,o;const{schema:r}=n,[s,l]=t.useState(!1),[c,d]=t.useState(!1),[u,p]=t.useState(!1),[f,h]=t.useState(!1),[v,C]=t.useState(0),y=Oi(),m=i.useDispatch(),{tabIndex:g,isDisabled:E}=b(y),I=Xn(),x=t.useRef(null),L=t.useRef(null),D=r.lineHeight*r.lineLimit,w=(null===(a=r.linearGradientConfig)||void 0===a?void 0:a.linearGradientHeight)||D-r.lineHeight,S=Bi();function A(){const e=r.linearGradientConfig;return e?{background:`linear-gradient(to bottom, ${e.linearColorStart} ${w}px, ${e.linearColorStop||"transparent"})`,backgroundClip:"text",color:"transparent"}:{}}function T(){const e={overflow:"hidden",textOverflow:"clip"};return f?Object.assign(Object.assign(Object.assign({},e),s?{}:A()),{transition:"height 0.3s ease",height:s?`${v}px`:`${D}px`}):!s&&u?Object.assign(Object.assign(Object.assign(Object.assign({},e),r.linearGradientConfig?{}:{display:"-webkit-box",WebkitLineClamp:r.lineLimit,lineClamp:r.lineLimit,WebkitBoxOrient:"vertical"}),A()),r.linearGradientConfig?{height:`${D}px`}:{}):e}return t.useEffect((()=>{const e=x.current;if(!e)return;const t=()=>{p(e.scrollHeight>D),C(e.scrollHeight)};l(!1),d(!1),h(!1),p(!1),t();const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect(),L.current&&cancelAnimationFrame(L.current)}}),[null===(o=x.current)||void 0===o?void 0:o.innerText,D]),e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"aria-hidden":E,"data-testid":n.testId,"data-e2e":"ReadMoreTextContainer",className:null==t?void 0:t.own,children:[e.jsx("div",{ref:x,"data-testid":`${n.testId}-content-container`,className:null==t?void 0:t.contentContainer,style:T(),onTransitionEnd:()=>{L.current=requestAnimationFrame((()=>{h(!1),L.current=null})),d((e=>!e))},children:e.jsx(vm,{schema:{value:r.value,removePTagBaseStyles:!0}})}),u&&e.jsx("button",{onClick:()=>{m({type:Ce,payload:{name:"SignalUserInteraction",action:s?"CollapseReadMoreText":"ExpandReadMoreText",context:"ReadMoreTextContainer",parentGuid:S.instanceGuid}}),h(!0),L.current=requestAnimationFrame((()=>{l((e=>!e)),L.current=null}))},tabIndex:g,className:null==t?void 0:t.expansionButton,style:{background:"none",cursor:"pointer"},children:I(c?r.collapseLabel:r.expandLabel)})]})})}const ym="CustomStateValidationTriggerButton";function mm(n){var a;const o=i.useDispatch(),r=n.schema,s=r.validatorTriggerConfig,l=n.schema.styles,c=Oi(),{styles:d,isDisabled:u}=b(c),p=ta(),f=Bi(),h=Xn(),v=null!==(a=r.children)&&void 0!==a?a:[],C=r.requestKey?h(r.requestKey):void 0,y=function(e){return e&&0!==e?e:1}(r.requestValue),m=xn(0,(e=>{var t;return C&&null!==(t=e.customStates[C])&&void 0!==t?t:null})),g=t.useRef(!1),E=Boolean(C)&&0===v.length;function I(){let e=!0;s&&(e=p.validateFieldKeys(s.validatorFieldKeys)),e?(o({type:Ce,payload:{name:"SignalUserInteraction",action:"OfferProgression",context:ym,parentGuid:f.instanceGuid}}),o({type:be,payload:{key:r.customStateKey,value:r.customStateValue}})):o({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:ym,parentGuid:f.instanceGuid}})}return t.useEffect((()=>{C&&(m===y?g.current||(g.current=!0,o({type:be,payload:{key:C,value:0}}),I()):g.current=!1)}),[C,m,y,o]),e.jsx(Ba,{styles:l,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:I,"data-testid":n.testId,"data-e2e":"CustomStateValidationTriggerButton",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:"","aria-hidden":E||void 0,hidden:E,tabIndex:E?-1:void 0,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(v.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})}})}function gm(n){var a;const o=n.schema.emitInstantPurchaseDismissalRdnEvent,r=i.useDispatch(),s=Xn(),l=i.useSelector((e=>e.staticData)),c=i.useSelector((e=>e.offerLifecycleEvent)),d=Oi(),{tabIndex:u,styles:p,isDisabled:f}=b(d),h=null!==(a=n.schema.children)&&void 0!==a?a:[],v=n.schema.requestKey?s(n.schema.requestKey):void 0,C=function(e){return e&&0!==e?e:1}(n.schema.requestValue),y=xn(0,(e=>{var t;return v&&null!==(t=e.customStates[v])&&void 0!==t?t:null})),m=t.useRef(!1),g=Boolean(v)&&0===h.length;function E(){o?(r({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:(null==l?void 0:l.offer.creative.instanceGuid)||""}}),r({type:ye,payload:{event:"Dismissed",dismissalReason:"Explicit"}})):r({type:ye,payload:c})}return t.useEffect((()=>{v&&(y===C?m.current||(m.current=!0,r({type:be,payload:{key:v,value:0}}),E()):m.current=!1)}),[v,y,C,r]),e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>e.jsx("button",{className:null==i?void 0:i.own,onClick:E,"data-testid":n.testId,"data-e2e":"DismissInstantPurchaseButton",disabled:f,"aria-disabled":f,"aria-label":n.schema.a11yLabel||"","aria-hidden":g||void 0,hidden:g||void 0,tabIndex:g?-1:u,style:Object.assign({cursor:"pointer"},p),children:e.jsx(Dn,{children:e=>t.Children.toArray(h.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})})}function bm(n){const[i,a]=t.useState(!0);return t.useEffect((()=>{if(n.schema.duration>0){const e=setTimeout((()=>a(!1)),n.schema.duration);return()=>clearTimeout(e)}}),[n.schema.duration]),i?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"Snackbar",children:n.schema.message})}):null}function Em(n){var a,o;const{validatorFieldConfig:r,checkboxColor:s}=n.schema,l=null!==(a=n.schema.checkboxScale)&&void 0!==a?a:1,[c,d]=t.useState(null!==(o=n.schema.value)&&void 0!==o&&o),u=t.useRef(c),p=ta(),f=i.useDispatch(),h=Bi();function v(){return u.current}const C=t.useMemo((()=>ia({required:v},r)),[r]);function y(){return!r||p.getFieldKeyValidity(r.validationFieldKey)}function m(e,t){const n=[e];return y()||n.push(t),n.join(" ")}function g(e){return m(null==e?void 0:e.checkbox,null==e?void 0:e.checkboxError)}function b(e){return m(null==e?void 0:e.label,null==e?void 0:e.labelError)}function E(i,a){return e.jsx(Dn,{children:e=>t.Children.toArray(i.map(((t,i)=>e(t,void 0,re(i,`${n.testId}-${a}`)))))})}return na(null==r?void 0:r.validationFieldKey,C),e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>{return e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsxs("div",{className:(i=t,m(null==i?void 0:i.own,null==i?void 0:i.checkboxContainerError)),style:{display:"flex",gap:"8px",flexDirection:"row"},children:[e.jsx("input",{"data-testid":n.testId,className:g(t),type:"checkbox",checked:c,onChange:e=>{return t=e.target.checked,u.current=t,r&&r.validateOnChange&&p.validateFieldKeys([r.validationFieldKey]),f({type:Ce,payload:{name:"SignalUserInteraction",action:t?"CheckboxChecked":"CheckboxUnchecked",context:"Checkbox",parentGuid:h.instanceGuid}}),void d(t);var t},style:Object.assign(Object.assign({},s?{accentColor:s}:{}),{transform:`scale(${l})`})}),n.schema.labelTemplate&&e.jsx("div",{className:b(t),children:E(n.schema.labelTemplate,"label")})]}),!y()&&n.schema.errorContentTemplate&&e.jsx("div",{className:null==t?void 0:t.errorContent,children:E(n.schema.errorContentTemplate,"error-content")})]});var i}})}function Im(n){const{discountThreshold:i,styles:a,children:o}=n.schema,r=Bi(),s=function(){if(0===r.originalPrice)return 0;const e=100*(1-r.price/r.originalPrice);return Math.abs(e-Math.round(e))<1e-9?Math.round(e):Math.floor(e)}(),l=Xn(),c=(d={label:String(s)},l({data:d},"discountLabel"));var d;return e.jsx(Ba,{styles:a,children:({classnames:a})=>e.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"8px",alignItems:"center",justifyContent:"flex-start"},children:[r.price<r.originalPrice&&e.jsx("span",{className:null==a?void 0:a.originalPrice,children:r.originalPriceFormatted}),s>=i&&e.jsx(Jn,{value:c,children:e.jsx(Dn,{children:e=>t.Children.toArray(o.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})]})})}function xm(n){const{discountThreshold:i,children:a,styles:o}=n.schema,r=Bi(),s=function(){if(0===r.originalPrice)return 0;const e=100*(1-r.price/r.originalPrice);return Math.abs(e-Math.round(e))<1e-9?Math.round(e):Math.floor(e)}(),l=Xn(),c=(d={label:String(s)},l({data:d},"discountLabel"));var d;return e.jsx(Ba,{styles:o,children:({classnames:o})=>e.jsx("div",{className:null==o?void 0:o.own,children:s>=i&&e.jsx(Jn,{value:c,children:e.jsx(Dn,{children:e=>t.Children.toArray(a.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})})})}function Lm(t,n){if("EscapeHatch"===t.type&&t.node.data){const i=JSON.parse(t.node.data);switch(null==i?void 0:i.type){case"TempCatalogDiscountCalloutTag":return e.jsx(Im,{schema:i.node});case"CatalogDiscountCalloutTag":return e.jsx(xm,{schema:i.node});case"CatalogDropDown":return e.jsx(zy,{schema:i.node});case"Checkbox":return e.jsx(Em,{schema:i.node});case"CheckoutStateButtonTrigger":return e.jsx(qy,{schema:i.node});case"ColorSwatch":return e.jsx(Wy,{schema:i.node});case"CatalogImageGallery":return e.jsx(im,{schema:i.node});case"CustomStateValidationTriggerButton":return e.jsx(mm,{schema:i.node});case"DismissInstantPurchaseButton":return e.jsx(gm,{schema:i.node});case"LoadingSpinner":return e.jsx(rm,{schema:i.node});case"OfferLifecycleTimer":return e.jsx(lm,{schema:i.node,isInline:null!=n&&n});case"ReadMoreTextContainer":return e.jsx(Cm,{schema:i.node});case"Snackbar":return e.jsx(bm,{schema:i.node});default:return}}}function Dm(n){const a=wn(),o=Ni(),r=Xn(),s=En(),l=On().catalogItems||[],c=i.useSelector((e=>e.selectedItem))||l[0];return t.useEffect((()=>{c&&s({type:Ce,payload:{name:"SignalImpression",parentGuid:null==c?void 0:c.instanceGuid}})}),[c,s]),c||console.log("The experience response returned an empty catalog item set, preventing CatalogCombinedCollection from rendering. This behavior is a known QA issue that occurs when Selector is bypassed."),c?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:i})=>{return e.jsx("div",{"data-testid":n.testId,"data-e2e":"CatalogCombinedCollection",className:null==i?void 0:i.own,style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(e.jsx(ea,{children:e.jsx(Gi,{context:c,children:e.jsx(_i,{value:o(c),children:e.jsx(Jn,{value:(s=c,r({data:s},"catalogItem")),children:a(n.schema.template,void 0,n.testId?`${n.testId}-child`:"")})})})}))});var s}}):null}function wm(t,n,i){if("RichText"===t.type)return e.jsx(vm,{schema:t.node,testId:n,isInline:null!=i&&i})}const Sm={BasicText:(e,t)=>to(e,t,!0),RichText:(e,t)=>wm(e,t,!0),StaticLink:(e,t)=>yo(e,t,!0),EscapeHatch:e=>Lm(e,!0)};function Am(n){const i=wn();return e.jsx(Sn,{value:i,overrides:Sm,children:e.jsx(Dn,{children:i=>e.jsx(Ba,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:null==a?void 0:a.own,"data-testid":n.testId,"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})})})}const Tm={applePay:{provider:"ApplePay",responseKey:"applePay",paymentMethodType:y.ApplePay,layoutPaymentMethodType:"APPLE_PAY",displayName:"Apple Pay"},afterpay:{provider:"Afterpay",responseKey:"afterpay",paymentMethodType:y.Afterpay,layoutPaymentMethodType:"AFTERPAY",displayName:"Afterpay"}},Mm=["applePay","afterpay"].map((e=>Tm[e]));function jm(e){var t;return!0===(null===(t=e.devicePayAvailability)||void 0===t?void 0:t.applePay)}function Om(e){var t;return!0===(null===(t=e.devicePayAvailability)||void 0===t?void 0:t.afterpay)}function km(e){var t,n,i,a;const o=null!==(i=null===(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.transactionData)||void 0===n?void 0:n.supportedPaymentMethods)&&void 0!==i?i:[];if(0===o.length)return!1;const r=null!==(a=e.devicePayAvailability)&&void 0!==a?a:{};return o.every((e=>{const t=Mm.find((t=>t.paymentMethodType===e.type));return void 0!==t&&!1===r[t.responseKey]}))}function Vm(e){var t;const{activeCacheKey:n,cache:i}=e.taxAndShipping;return n&&null!==(t=i[n])&&void 0!==t?t:{isPending:!0}}const Rm="CatalogDevicePayButton",Hm={elements:{own:[],errorText:[{default:{spacing:{margin:"6 0 0 20"},text:{textColor:{light:"#D92D20"},fontSize:12,fontFamily:"inherit",fontWeight:"400",lineHeight:16.5,letterSpacing:.064}}}]}};function _m(n){const a=i.useDispatch(),o=wn(),r=i.useSelector(jm),s=i.useSelector(Om),l=xn(0,(e=>{var t;return null!==(t=e.customStates[Ie])&&void 0!==t?t:null})),c="ApplePay"===n.schema.provider&&1===l,d=t.useRef(null);t.useEffect((()=>{var e;c&&(null===(e=d.current)||void 0===e||e.focus())}),[c]);const u=We(n.schema.requestKey)?n.schema.requestKey:void 0,p="requestKey"in n.schema;t.useEffect((()=>{p||a(r?{type:be,payload:{key:xe,value:0}}:{type:be,payload:{key:xe,value:1}})}),[r,p,a]);const f=Oi(),{tabIndex:h,styles:v,isDisabled:C}=b(f),y=Bi(),m=qn(y,"catalogItem"),g=ta();t.useEffect((()=>{p&&!u&&a({type:Ce,payload:{name:"SignalUserInteraction",action:"DevicePayRequestRejectedInvalidKey",context:Rm,parentGuid:y.instanceGuid}})}),[y.instanceGuid,a,p,u]);const E="ApplePay"===n.schema.provider?r:"Afterpay"!==n.schema.provider||s,I=i.useSelector((e=>e.offerLifecycleEvent)),x=i.useSelector((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.instanceGuid})),L=i.useSelector((e=>{var t,n,i,a;return null!==(a=null!==(t=e.selectedItem)&&void 0!==t?t:null===(i=null===(n=e.staticData)||void 0===n?void 0:n.offer.catalogItems)||void 0===i?void 0:i[0])&&void 0!==a?a:null})),D=null===L||L.instanceGuid===y.instanceGuid&&L.catalogItemId===y.catalogItemId,w=xn(0,(e=>{var t;return u&&null!==(t=e.customStates[u])&&void 0!==t?t:null})),S=i.useSelector((e=>{var t;return u&&null!==(t=e.devicePayRequests[u])&&void 0!==t?t:0})),A=xn(0,(e=>{var t;return null!==(t=e.customStates[Ee])&&void 0!==t?t:null})),T=t.useRef(!1);t.useEffect((()=>{0===A&&(T.current=!1)}),[A]);const M=t.useRef(Date.now()),j=Math.max(S,M.current),O=Mr(n.schema),k="ApplePay"===n.schema.provider?(V=n.schema.styles)?ae(Hm,V):Hm:n.schema.styles;var V;const R=e=>{a({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:Rm,parentGuid:y.instanceGuid}})},H=()=>{var e;return!n.schema.validatorTriggerConfig||g.validateFieldKeys(null!==(e=n.schema.validatorTriggerConfig.validatorFieldKeys)&&void 0!==e?e:[])?(a({type:Vy,payload:{catalogItem:y,quantity:1,paymentProvider:n.schema.provider}}),!0):(R("ValidationTriggerFailed"),!1)},_=e=>{e.preventDefault(),H()},P=t.useRef((()=>{}));return P.current=e=>{e===n.schema.provider&&("Completed"!==(null==I?void 0:I.event)&&"Dismissed"!==(null==I?void 0:I.event)?T.current||0!==A?R("DevicePayRequestIgnoredInFlight"):E?(R("DevicePayRequested"),T.current=!0,H()||(T.current=!1)):R("DevicePayRequestIgnoredUnavailable"):R("DevicePayRequestIgnoredOfferClosed"))},t.useEffect((()=>{if(u&&x&&D)return function(e,t,n){var i;const a=null!==(i=Lv.get(e))&&void 0!==i?i:new Map;return Lv.set(e,a),a.set(t,n),()=>{a.get(t)===n&&(a.delete(t),0===a.size&&Lv.delete(e))}}(x,u,(e=>P.current(e)))}),[x,D,u]),t.useEffect((()=>{u&&(!Number.isFinite(w)||w<=0||w<=j||(a({type:$y,payload:{requestKey:u,requestValue:w}}),P.current(n.schema.provider)))}),[u,w,j,a]),p?null:("ApplePay"!==n.schema.provider||r)&&("Afterpay"!==n.schema.provider||s)?e.jsx(Ba,{styles:k,children:({classnames:t,mapperRef:i})=>{var a;return"ApplePay"===n.schema.provider?e.jsxs(e.Fragment,{children:[e.jsx(Or,{ref:d,buttonStyle:O,className:null==t?void 0:t.own,disabled:C,onClick:_,tabIndex:h}),c?e.jsx(Vr,{className:null==t?void 0:t.errorText,message:n.schema.errorMessage}):null]}):e.jsx("button",{type:"button",className:null==t?void 0:t.own,onClick:_,"data-testid":n.testId,"data-e2e":"CatalogDevicePayButton",disabled:C,"aria-disabled":C,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:`Pay with ${n.schema.provider}`,tabIndex:h,style:Object.assign({cursor:"pointer"},v),children:e.jsx(Jn,{value:m,children:(null==t?void 0:t.own)?Pm(n.schema.children,t.own,i,o,n.testId):Nm(n.schema.children,o,n.testId)})})}}):null}function Pm(t,n,i,a,o){return e.jsx(ei,{value:i(n),children:Nm(t,a,o)})}function Nm(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}const Fm=t.createContext(null),$m=Fm.Provider;const Zm=["ArrowDown","ArrowUp","Enter","Escape","Tab"];function Gm(e,t){const n=[e?"rokt-icon":"",t].filter(Boolean);return n.length?n.join(" "):void 0}function Bm(n){var a,o;const{validatorFieldConfig:r,a11yLabel:s,placeholderValue:l,iconName:c}=n.schema,d=function(){const e=t.useContext(Fm);if(!e)throw new Error("CatalogDropdown must be rendered inside a DropdownOptionsProvider");return e}(),u=i.useDispatch(),p=Oi(),{styles:f,isDisabled:h}=b(p),v=t.useRef(null),C=t.useRef([]),[y,m]=t.useState(!1),[g,E]=t.useState(-1),I=ta(),x=t.useRef(null!==(a=d.selectedValue)&&void 0!==a?a:null);x.current=null!==(o=d.selectedValue)&&void 0!==o?o:null;const L=null!==d.selectedValue;function D(e){var t;return!!e.outOfStock||!L&&(null!==(t=e.disabled)&&void 0!==t&&t)}const w=t.useMemo((()=>d.options.map((e=>({key:e.value,label:e.label,disabled:D(e),isSelected:e.value===d.selectedValue})))),[d,L]),S=t.useMemo((()=>w.findIndex((e=>e.isSelected))),[w]),A=t.useMemo((()=>{var e;const t=w.find((e=>e.isSelected));return null!==(e=null==t?void 0:t.label)&&void 0!==e?e:null}),[w]),T=t.useMemo((()=>{if(!r)return;const e=r.validationFieldKey,t=d.attributeId;return t?`${e}-${t}`:e}),[r,d.attributeId]);function M(){return null!==x.current}const j=t.useMemo((()=>{if(!r)return[];const e={Required:M};return r.validators.map((t=>e[t.type])).filter((e=>void 0!==e))}),[r]),O=t.useMemo((()=>{if(!r)return;const e=r.validators.find((e=>"Required"===e.type));return null==e?void 0:e.value.message}),[r]);function k(){h||(y?R():V())}function V(){h||m(!0)}function R(){h||m(!1)}function H(e){var t;const n=w[e];n&&!n.disabled&&(E(e),R(),x.current=n.key,d.onSelect(n.key),u({type:Ce,payload:{name:"SignalUserInteraction",action:"DropDownItemSelected",context:"CatalogDropDown"}}),(null==r?void 0:r.validateOnChange)&&T&&I.validateFieldKeys([T]),null===(t=v.current)||void 0===t||t.focus())}function _(e){var t;if(!h&&Zm.includes(e.key))switch(e.key){case"ArrowDown":{e.preventDefault();const t=g+1;t<w.length&&E(t);break}case"ArrowUp":{e.preventDefault();const t=g-1;t>=0&&E(t);break}case"Enter":e.preventDefault(),y?H(g):V();break;case"Tab":y&&R();break;case"Escape":e.preventDefault(),y&&(R(),null===(t=v.current)||void 0===t||t.focus())}}na(T,j),t.useEffect((()=>{var e,t;y?-1===S?null===(e=v.current)||void 0===e||e.focus():null===(t=C.current[S])||void 0===t||t.focus():E(S)}),[y,S]),t.useEffect((()=>{var e;null===(e=C.current[g])||void 0===e||e.focus()}),[g]);const P=t.useCallback(((e,t)=>{C.current[t]=e}),[]),N=!(!T||I.getFieldKeyValidity(T)),F=d.placeholderLabel||l||"Select an option",$=c||"▾";return w.length<=1?null:e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"data-testid":n.testId?`${n.testId}-container`:void 0,"data-errored":N?"true":void 0,style:{display:"flex",flexDirection:"column"},children:[e.jsxs("div",{ref:v,className:null==t?void 0:t.own,onKeyDown:_,onClick:k,onBlur:e=>{var t;(null===(t=v.current)||void 0===t?void 0:t.contains(e.relatedTarget))||y&&R()},"data-e2e":"CatalogDropdown","data-testid":n.testId,"data-errored":N?"true":void 0,"aria-label":s||void 0,"aria-expanded":y,"aria-haspopup":"listbox","aria-disabled":h,"aria-controls":n.testId?`${n.testId}-option-list`:void 0,role:"combobox",style:Object.assign({position:"relative"},f),tabIndex:0,children:[e.jsxs("div",{className:null==t?void 0:t.head,"data-testid":n.testId?`${n.testId}-head`:void 0,"data-errored":N?"true":void 0,style:Object.assign({cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between"},f),children:[e.jsx("span",{children:null!=A?A:F}),e.jsx("span",{className:Gm(c,null==t?void 0:t.icon),"data-testid":n.testId?`${n.testId}-icon`:void 0,"aria-hidden":"true",style:{transform:y?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease",display:"inline-flex"},children:$})]}),y&&e.jsx("ul",{className:null==t?void 0:t.optionList,role:"listbox","data-testid":n.testId?`${n.testId}-option-list`:void 0,tabIndex:-1,style:Object.assign({listStyle:"none",padding:0,margin:0,zIndex:9999,position:"absolute",top:"100%",left:0,right:0,overflowX:"hidden",overflowY:"auto"},f),children:w.map(((i,a)=>e.jsx("li",{ref:e=>P(e,a),className:null==t?void 0:t.option,role:"option","aria-selected":i.isSelected,"aria-disabled":i.disabled,"data-selected":i.isSelected?"true":void 0,onClick:e=>{e.stopPropagation(),h||H(a)},tabIndex:-1,"data-e2e":"CatalogDropdownOption","data-testid":n.testId?`${n.testId}-option-${a}`:void 0,style:Object.assign({cursor:i.disabled?"not-allowed":"pointer",display:"flex",opacity:i.disabled?.5:1},f),children:i.label},i.key)))})]}),N&&e.jsx("div",{className:null==t?void 0:t.error,"data-testid":n.testId?`${n.testId}-error`:void 0,"data-errored":"true",role:"alert",children:O})]})})}function Um(n){const a=On(),o=t.useMemo((()=>a.catalogItems||[]),[a]),r=a.catalogItemGroup,s=wn(),l=i.useDispatch(),c=t.useMemo((()=>{var e;return null!==(e=null==r?void 0:r.attributes)&&void 0!==e?e:[]}),[null==r?void 0:r.attributes]),d=i.useSelector((e=>e.selectedItem)),[u,p]=t.useState({});t.useEffect((()=>{d&&0!==c.length&&p((e=>{if(Object.keys(e).length>0)return e;const t=function(e,t){const n={};for(const i of e){const e=i.options.find((e=>e.catalogItemIds.includes(t)));e&&(n[i.attributeId]=e.label)}return n}(c,d.catalogItemId);return Object.keys(t).length>0?t:e}))}),[d,c]);const f=t.useMemo((()=>function(e,t){let n=null;for(const i of e){const e=t[i.attributeId];if(!e)continue;const a=i.options.find((t=>t.label===e));if(!a)continue;const o=new Set(a.catalogItemIds);if(null===n)n=o;else{const e=n;n=new Set(Array.from(e).filter((e=>o.has(e))))}}return n}(c,u)),[c,u]);t.useEffect((()=>{if(!f||0===f.size)return;const e=o.find((e=>f.has(e.catalogItemId)));e&&l({type:Ey,payload:{catalogItem:e}})}),[f,o,l]);const h=t.useCallback(((e,t)=>{p((n=>Object.assign(Object.assign({},n),{[e]:t})))}),[]);return 0===c.length?null:e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"CatalogSelectorsStacked",style:{display:"flex",flexDirection:"column"},children:c.map((t=>{var i;return e.jsx(zm,{attribute:t,catalogItems:o,eligibleItemIds:f,selectedValue:null!==(i=u[t.attributeId])&&void 0!==i?i:null,onSelect:h,mapper:s,template:n.schema.default,testId:n.testId},t.attributeId)}))})})}function zm({attribute:n,catalogItems:i,eligibleItemIds:a,selectedValue:o,onSelect:r,mapper:s,template:l,testId:c}){const d=t.useMemo((()=>n.options.map((e=>{const t=null!==a&&!e.catalogItemIds.some((e=>a.has(e))),n=function(e,t){const n=t.filter((t=>e.includes(t.catalogItemId)));return n.length>0&&n.every((e=>(e.inventoryStatus||C.Unknown)===C.OutOfStock))}(e.catalogItemIds,i);return{label:e.label,value:e.label,disabled:t,outOfStock:n}}))),[n.options,a,i]),u=t.useCallback((e=>{r(n.attributeId,e)}),[r,n.attributeId]),p=t.useMemo((()=>({options:d,selectedValue:o,onSelect:u,placeholderLabel:n.label,attributeId:n.attributeId})),[d,o,u,n.label,n.attributeId]);return e.jsx($m,{value:p,children:e.jsx("div",{"data-testid":c?`${c}-attribute-${n.attributeId}`:void 0,children:s(l,void 0,c?`${c}-${n.attributeId}`:void 0)})})}function qm(e){const n=function(e){return`catalogGalleryIndex_${e}`}(e),a=i.useDispatch();return[xn(0,(e=>{var t;return null!==(t=e.customStates[n])&&void 0!==t?t:null})),t.useCallback((e=>{a({type:be,payload:{key:n,value:e}})}),[a,n])]}function Km(n){var a;const{schema:o,testId:r}=n,s=null!==(a=o.showIndicators)&&void 0!==a&&a,l=i.useDispatch(),c=Bi(),d=t.useMemo((()=>Object.values(c.images||{})),[c]),u=d.length>1,p=u?1:0,f=t.useMemo((()=>u?[d.at(-1),...d,d.at(0)].filter((e=>void 0!==e)):d),[d,u]),[h,v]=qm(c.instanceGuid),C=u?h+1:h,y=t.useRef(C);y.current=C;const m=t.useRef(null),g=t.useRef([]),[E,I]=t.useState(!1),[x,L]=t.useState(!1),D=Oi(),{styles:w,isDisabled:S}=b(D),A=t.useRef(null),T=t.useRef(null),M=t.useRef(null),j=t.useRef(null);function O(e,t,n="smooth"){if(!e||!t)return;const i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),o=t.scrollLeft+(i.left-a.left);t.scrollTo({left:o,behavior:n})}!function(){const e=t.useRef(null);t.useEffect((()=>{const t=m.current;if(!t)return;let n=0,i=t.scrollLeft;const a=()=>{var o;const r=t.scrollLeft;r===i?n++:(n=0,i=r),n>=5?(null!==e.current&&(cancelAnimationFrame(e.current),e.current=null),null===(o=A.current)||void 0===o||o.call(A)):e.current=requestAnimationFrame(a)};return a(),()=>{null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)}}),[A.current])}(),t.useEffect((()=>{const e=p;v(0),O(g.current[e]||null,m.current,"instant")}),[c.catalogItemId,p,d,v]);const k=t.useRef(null);t.useEffect((()=>{E?k.current=h:(k.current=null,O(g.current[C]||null,m.current,"smooth"))}),[h]),t.useEffect((()=>{const e=m.current;if(!e)return;const t=new ResizeObserver((()=>{O(g.current[y.current]||null,e,"instant")}));return t.observe(e),()=>t.disconnect()}),[]);const V=t.useCallback((e=>{l({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogImageGallery",parentGuid:c.instanceGuid}})}),[l,c.instanceGuid]),R=t.useCallback(((e,t)=>{if(E)return;V(t);const n=C+e;let i=h+e;0===n?i=d.length-1:n===f.length-1&&(i=0),I(!0),O(g.current[n]||null,m.current,"smooth"),v(i);const a=0===n||n===f.length-1,o=()=>{if(I(!1),null!==k.current){const e=k.current;k.current=null;const t=u?e+1:e;O(g.current[t]||null,m.current,"smooth")}};if(a){const e=u?i+1:i;A.current=()=>{O(g.current[e]||null,m.current,"instant"),o()}}else A.current=()=>{o()}}),[E,C,h,d.length,f.length,u,v,V]);function H(){T.current=null,M.current=null,j.current=null}function _(e){null===T.current&&(T.current=e.pointerId,M.current=e.clientX,j.current=e.clientY)}function P(e){if(null===T.current||null===M.current)return;const t=M.current-e.clientX;Math.abs(t)>30&&(t<0?R(-1,"MainImageSwipeRight"):R(1,"MainImageSwipeLeft")),H()}function N(t){if(!u)return null;const n=Object.assign({display:"flex",position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1,border:"none",cursor:S?"not-allowed":"pointer"},x?{opacity:1}:{}),i=e=>e.stopPropagation();return e.jsxs(e.Fragment,{children:[o.backwardIcon&&e.jsx("button",{style:Object.assign(Object.assign({},n),{left:0}),className:null==t?void 0:t.controlButton,onPointerDown:i,onClick:()=>R(-1,"MainImageScrollIconLeftClick"),"aria-label":"Previous image","data-testid":`${r}-control-backward`,children:o.backwardIcon}),o.forwardIcon&&e.jsx("button",{style:Object.assign(Object.assign({},n),{right:0}),className:null==t?void 0:t.controlButton,onPointerDown:i,onClick:()=>R(1,"MainImageScrollIconRightClick"),"aria-label":"Next image","data-testid":`${r}-control-forward`,children:o.forwardIcon})]})}function F(t){return s&&u?e.jsx("div",{style:{display:"flex",position:"absolute",bottom:0,left:"50%",transform:"translateX(-50%)"},children:e.jsx("div",{className:null==t?void 0:t.progressIndicatorContainer,style:{display:"flex",flexDirection:"row",alignItems:"center"},"data-testid":`${r}-indicator-container`,children:d.map(((n,i)=>{const a=i<h,o=i===h?null==t?void 0:t.activeIndicator:a?null==t?void 0:t.seenIndicator:null==t?void 0:t.indicator;return e.jsx("span",{className:o,"data-testid":`${r}-indicator-${i}`},`indicator-${i}`)}))})}):null}function $(e){if(null===T.current||null===M.current||null===j.current)return;const t=Math.abs(e.clientX-M.current),n=Math.abs(e.clientY-j.current);t<10&&n<10||t<n&&H()}return 0===d.length?null:e.jsx(Ba,{styles:o.styles,children:({classnames:t})=>{var n;return e.jsx("div",{className:null==t?void 0:t.own,"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,children:e.jsxs("div",{onMouseOver:()=>L(!0),onMouseOut:()=>L(!1),onPointerDown:_,onPointerMove:$,onPointerUp:P,onPointerCancel:H,onLostPointerCapture:H,style:{position:"relative",touchAction:"pan-y"},"data-testid":`${r}-main-image-container`,children:[N(t),F(t),e.jsx("div",{ref:m,style:{display:"-webkit-box",overflow:"hidden",scrollBehavior:"smooth"},children:f.map(((n,i)=>e.jsx("div",{ref:e=>function(e,t){g.current[t]=e}(e,i),children:e.jsx("img",{src:n.light,alt:n.alt,title:n.title,className:null==t?void 0:t.mainImage,loading:"lazy",style:Object.assign(Object.assign({},w),{display:"block"}),"data-testid":`${r}-main-image-${i}`,"data-e2e":"CatalogImageGallery-mainImage"})},`${n.light}-${i}`)))})]})})}})}function Wm(n){var a;const{schema:o,testId:r}=n,s="row"===(null!==(a=o.direction)&&void 0!==a?a:"row"),l=i.useDispatch(),c=Bi(),d=t.useMemo((()=>Object.values(c.images||{})),[c]),[u,p]=qm(c.instanceGuid),{ref:f,setRef:h,hasOverflow:v,maskStyle:C}=st(s?"horizontal":"vertical",lt(o.styles)),y=t.useRef([]),m=Oi(),{styles:g,isDisabled:E,tabIndex:I}=b(m);const x=t.useCallback(((e,t,n="smooth")=>{if(!e||!t)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();if(s){const e=a.left+a.width/2,o=i.left+t.clientWidth/2,r=t.scrollLeft+(e-o),s=t.scrollWidth-t.clientWidth;t.scrollTo({left:Math.max(0,Math.min(s,r)),behavior:n})}else{const e=a.top+a.height/2,o=i.top+t.clientHeight/2,r=t.scrollTop+(e-o),s=t.scrollHeight-t.clientHeight;t.scrollTo({top:Math.max(0,Math.min(s,r)),behavior:n})}}),[s]);t.useEffect((()=>{x(y.current[u]||null,f.current,"instant")}),[c.catalogItemId,d]),t.useEffect((()=>{x(y.current[u]||null,f.current,"smooth")}),[u]),t.useEffect((()=>{if(!s)return;const e=f.current;if(e)return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t);function t(e){f.current&&0!==e.deltaY&&(e.preventDefault(),f.current.scrollLeft+=e.deltaY)}}),[]);const L=t.useCallback((e=>{l({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogThumbnailGallery",parentGuid:c.instanceGuid}})}),[l,c.instanceGuid]),D=t.useCallback((e=>{L("ThumbnailClick"),p(e),x(y.current[e]||null,f.current,"smooth")}),[L,p,x]);return 0===d.length?null:e.jsx(Ba,{styles:o.styles,children:({classnames:t})=>{var n,i;const a=d.map(((n,i)=>e.jsx("img",{ref:e=>function(e,t){y.current[t]=e}(e,i),src:n.light,alt:n.alt,title:n.title,className:null==t?void 0:t.thumbnail,loading:"lazy",style:Object.assign(Object.assign({},g),{flexShrink:0,objectFit:"cover",cursor:E?"not-allowed":"pointer",pointerEvents:"auto"}),role:"button","aria-label":`View image ${i+1}`,"data-selected":i===u?"true":"false","data-testid":`${r}-thumbnail-${i}`,"data-e2e":"CatalogThumbnailGallery-thumbnail",tabIndex:I,onClick:()=>D(i),onKeyDown:e=>function(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),D(t))}(e,i)},`thumbnail-${i}`)));return s?e.jsx("div",{ref:h,className:null==t?void 0:t.own,"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,style:Object.assign({display:"flex",flexDirection:"row",overflow:"auto",justifyContent:v?"flex-start":void 0,scrollbarWidth:"none",scrollBehavior:"smooth",contain:"inline-size",alignSelf:"stretch"},C),children:a}):e.jsx("div",{className:null==t?void 0:t.own,"aria-label":null!==(i=o.a11yLabel)&&void 0!==i?i:void 0,style:Object.assign({display:"flex",flexDirection:"column",contain:"size",alignSelf:"stretch"},C),children:e.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",flex:1,minHeight:0,overflow:"auto",justifyContent:v?"flex-start":void 0,scrollbarWidth:"none",scrollBehavior:"smooth"},children:a})})}})}const Ym={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(By,{schema:t.node,testId:n})},CatalogDevicePayButton:function(t,n){if("CatalogDevicePayButton"===t.type)return e.jsx(_m,{schema:t.node,testId:n})},CatalogCombinedCollection:function(t,n){if("CatalogCombinedCollection"===t.type)return e.jsx(Dm,{schema:t.node,testId:n})},EscapeHatch:Lm,RichText:wm,InlineContainer:function(t,n){if("InlineContainer"===t.type)return e.jsx(Am,{schema:t.node,testId:n})},CatalogDropdown:function(t,n){const i=t;if("CatalogDropdown"===i.type)return e.jsx(Bm,{schema:i.node,testId:n})},CatalogSelectorsStacked:function(t,n){const i=t;if("CatalogSelectorsStacked"===i.type)return e.jsx(Um,{schema:i.node,testId:n})},CatalogImageGallery:function(t,n){if("CatalogImageGallery"===t.type)return e.jsx(Km,{schema:t.node,testId:n})},CatalogThumbnailGallery:function(t,n){if("CatalogThumbnailGallery"===t.type)return e.jsx(Wm,{schema:t.node,testId:n})}};function Jm(){var t,n,a,o,r;const s=i.useSelector(Vm),l=Mi(),c=wn(),d=i.useSelector(Ev),u=Xn(),p=null===(t=s.taxAndShippingData)||void 0===t?void 0:t.taxAndShippingPricing,f=u({state:d},"textContent")({state:{taxAndShippingData:{isPending:s.isPending,taxAmount:null!==(n=null==p?void 0:p.taxAmount)&&void 0!==n?n:"",shippingAmount:null!==(a=null==p?void 0:p.shippingAmount)&&void 0!==a?a:"",totalAmount:null!==(o=null==p?void 0:p.totalAmount)&&void 0!==o?o:"",taxStatus:null!==(r=null==p?void 0:p.taxStatus)&&void 0!==r?r:"UNAVAILABLE"}}});return e.jsx(Sn,{value:c,overrides:Ym,children:e.jsx(Jn,{value:f,children:e.jsx(Dn,{children:e=>e(l)})})})}function Xm(e){var t,n,i,a,o,r;const{creative:s,transactionData:l}=e,c=null==l?void 0:l.shippingAddress;if(!s.copy&&!c)return null;const d=e=>s.copy&&s.copy[`ppu.${e}`]||"";return{shippingAttributes:{address1:null!==(t=null==c?void 0:c.address1)&&void 0!==t?t:d("shippingAddress1"),address2:null!==(n=null==c?void 0:c.address2)&&void 0!==n?n:d("shippingAddress2"),city:null!==(i=null==c?void 0:c.city)&&void 0!==i?i:d("shippingCity"),state:null!==(a=null==c?void 0:c.state)&&void 0!==a?a:d("shippingState"),country:null!==(o=null==c?void 0:c.country)&&void 0!==o?o:d("shippingCountry"),postalCode:null!==(r=null==c?void 0:c.zip)&&void 0!==r?r:d("shippingZipcode")}}}const Qm={staticData:hv,selectedItem:(e=null,t)=>t.type===Iy?t.payload:e,dynamicData:vv,childLayouts:fv,fulfillmentDetails:(e=null,t)=>"INSTANT_PURCHASE/SET_FULFILLMENT_DETAILS"===t.type?t.payload:e,offerLifecycleEvent:(e=null,t)=>t.type===Ay?t.payload:e,devicePayAvailability:(e=null,t)=>{var n;if(t.type===Hy){const i=null===(n=t.payload)||void 0===n?void 0:n.response;if("object"!=typeof i||null===i)return e;const a={};for(const e of Mm){const t=i[e.responseKey];"boolean"==typeof t&&(a[e.responseKey]=t)}return 0===Object.keys(a).length?e:Object.assign(Object.assign({},null!=e?e:{}),a)}return e},devicePayRequests:(e={},t)=>{var n,i,a;if(t.type===$y){const o=null===(n=t.payload)||void 0===n?void 0:n.requestKey,r=null===(i=t.payload)||void 0===i?void 0:i.requestValue;return ge(o)&&("number"==typeof r&&isFinite(r))?r<=(null!==(a=e[o])&&void 0!==a?a:0)?e:Object.assign(Object.assign({},e),{[o]:r}):e}return e},paypalTransactionDetails:(e=null,t)=>t.type===Ny?t.payload:e,paypalPurchaseContext:(e=null,t)=>t.type===Fy?t.payload:e,taxAndShipping:(e={activeCacheKey:null,cache:{}},t)=>{var n;switch(t.type){case My:{const{cacheKey:n}=t.payload;return{activeCacheKey:n,cache:Object.assign(Object.assign({},e.cache),{[n]:{isPending:!0}})}}case Ty:{const{cacheKey:i,taxAndShippingEntry:a}=t.payload;return{activeCacheKey:null!==(n=e.activeCacheKey)&&void 0!==n?n:i,cache:Object.assign(Object.assign({},e.cache),{[i]:a})}}case jy:{const{cacheKey:n}=t.payload;return Object.assign(Object.assign({},e),{activeCacheKey:n})}default:return e}},purchaseId:(e=null,t)=>t.type===ky?t.payload:e};function eg(e={}){return Object.assign({staticData:null,selectedItem:null,dynamicData:null,childLayouts:{launched:{}},fulfillmentDetails:null,offerLifecycleEvent:null,devicePayAvailability:null,devicePayRequests:{},paypalTransactionDetails:null,paypalPurchaseContext:null,taxAndShipping:{activeCacheKey:null,cache:{}},purchaseId:null},e)}function tg(e,t){const n=[...t].sort(((e,t)=>e.catalogItemId.localeCompare(t.catalogItemId))).map((e=>e.catalogItemId)).join(":");return`${i=e,["address1","address2","city","state","country","countryCode","postalCode"].map((e=>{var t;return(null!==(t=i[e])&&void 0!==t?t:"").toLowerCase().replace(/\s/g,"")})).join("")}:${n}`;var i}const ng="INVALID_RESPONSE_OBJECT",ig="MISSING_APP_STATE_IN_INSTANT_PURCHASE_MODULE",ag="MISSING_PAYMENT_REF_IN_INSTANT_PURCHASE_MODULE",og="MISSING_STATIC_DATA_IN_INSTANT_PURCHASE_MODULE",rg="MISSING_CATALOG_ITEMS",sg="MALFORMED_INSTANT_PURCHASE_PARTNER_DATA",lg="INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR",cg="DEVICE_PAY_CHANNEL_ERROR",dg="DEVICE_PAY_CANCELLED",ug="DEVICE_PAY_UNKNOWN_FAILURE",pg="MALFORMED_DEVICE_PAY_DATA";var fg;!function(e){e.REQUEST_TIME_OUT="REQUEST_TIME_OUT",e.REQUEST_FAILED="REQUEST_FAILED"}(fg||(fg={}));function hg(e,t){return s.eventChannel((n=>e.onEvent({name:tc.PartnerMessage.CartItemInstantPurchaseResponse,source:"partner",callback:e=>{var i;t({level:q,code:"SHOPPABLE_ADS_LEGACY_PARTNER_RESPONSE",message:`Received legacy partner response for first party Shoppable Ads\n ${JSON.stringify(e)}`}),Eg(i=e)&&Array.isArray(i.upsellItems)&&i.upsellItems.every((e=>Eg(e)&&Ig(e,"cartItemId","string")&&Ig(e,"name","string")&&Ig(e,"unitPrice","number")&&Ig(e,"quantity","number")))&&Ig(i,"totalUpsellPrice","number")&&xg(i)?n(e):t({level:K,code:sg,message:`Malformed data received from partner\n ${e}`})}})))}function vg(e,t){return s.eventChannel((n=>e.onEvent(...["INSTANT_PURCHASE_SUCCESS","INSTANT_PURCHASE_FAILURE"].map((e=>({name:e,source:"partner",callback:e=>{var i;Eg(i=e)&&Ig(i,"timestamp","string")&&Ig(i,"sessionId","string")?n(e):t({level:K,code:"MALFORMED_INSTANT_PURCHASE_WSDK_DATA",message:`Malformed data received from wsdk\n ${e}`})}}))))))}function Cg(e,t){return s.eventChannel((n=>e.onEvent({name:tc.V2.PartnerMessage.UpsellItemInstantPurchaseResponse,source:"partner",callback:e=>{var i;t({level:K,code:"SHOPPABLE_ADS_PARTNER_RESPONSE",message:`Received partner response for first party Shoppable Ads\n ${JSON.stringify(e)}`}),Eg(i=e)&&Array.isArray(i.upsellItems)&&i.upsellItems.every((e=>Eg(e)&&Ig(e,"sku","string")&&Ig(e,"quantity","number")))&&Ig(i,"totalPrice","number")&&xg(i)?n(e):t({level:K,code:sg,message:`Malformed data received from partner\n ${e}`})}})))}function yg(e,t){return s.eventChannel((n=>e.onEvent({name:"INSTANT_PURCHASE_TAX_AND_SHIPPING_RESPONSE",source:"partner",callback:e=>{var i;Eg(i=e)&&Ig(i,"cacheKey","string")&&Ig(i,"timestamp","string")&&Ig(i,"sessionId","string")?n(e):t({level:K,code:"MALFORMED_TAX_AND_SHIPPING_DATA",message:`Malformed tax and shipping data received\n ${JSON.stringify(e)}`})}})))}function*mg(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:Dy,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:lg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase partner channel"})}finally{e.close()}}function*gg(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:Sy,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:"INSTANT_PURCHASE_WSDK_CHANNEL_ERROR",message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase WSDK channel"})}finally{e.close()}}function*bg(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:wy,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:lg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase partner channel"})}finally{e.close()}}function Eg(e){return"object"==typeof e&&null!==e}function Ig(e,t,n){return t in e&&typeof e[t]===n}function xg(e){return Ig(e,"currency","string")&&Ig(e,"paid","boolean")&&Ig(e,"success","boolean")}const Lg="Unknown failure reason";function Dg(e,t,n){return{name:"SignalCartItemInstantPurchase",parentGuid:e.instanceGuid,objectData:Object.assign({catalogItemId:e.catalogItemId,quantity:t,initiatedBy:B.DCUI},n&&{purchaseId:n})}}function wg(e,t,n,i,a){return{name:"SignalCartItemInstantPurchaseFailure",parentGuid:e.instanceGuid,objectData:Object.assign({catalogItemId:e.catalogItemId,quantity:t,failureReason:i,providerId:n},a&&{purchaseId:a})}}const Sg=6e4;function*Ag(){var e,t,n,i;const a=yield r.select((e=>e)),o=null!==(t=null===(e=null==a?void 0:a.staticData)||void 0===e?void 0:e.offer.catalogItems)&&void 0!==t?t:[];if(1===o.length&&o[0])return void(yield*Hg(o[0]));const s=null===(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer)||void 0===i?void 0:i.creative.copy["provider.defaultCatalogItemId"],l=o.find((e=>e.catalogItemId===s));l&&l.inventoryStatus!==C.OutOfStock&&(yield*Hg(l))}function*Tg(e){const{catalogItem:t}=e.payload;yield*Hg(t)}function*Mg(e,t,n){var i,a,o,s,l;const c=yield r.select((e=>e)),d=(null===(o=null===(a=null===(i=null==c?void 0:c.staticData)||void 0===i?void 0:i.offer)||void 0===a?void 0:a.creative)||void 0===o?void 0:o.copy)||{},u=null===(s=null==c?void 0:c.staticData)||void 0===s?void 0:s.offer.transactionData,p="boolean"==typeof(null==u?void 0:u.isPartnerManagedPurchase)?u.isPartnerManagedPurchase:"true"===d["ppu.partnerManagedPurchase"],f=(null==u?void 0:u.confirmationRef)||d["ppu.confirmationref"]||"",{catalogItem:h,quantity:v}=n.payload,C=Al(h,v);if(C){yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:h.instanceGuid,objectData:{catalogItemId:h.catalogItemId,quantity:v}}});const n=c?null===(l=Vm(c).taxAndShippingData)||void 0===l?void 0:l.taxAndShippingPricing:void 0,i=n&&parseFloat(n.totalAmount.replace(/[^0-9.]/g,""))||C.totalPrice;yield*Fg("ProcessingState",1),p?yield*function*(e,t,n,i,a,o){const s=null!=e?e:t.catalogItemId,l={upsellItems:[{sku:s,quantity:t.quantity,unitPrice:t.unitPrice,totalPrice:t.totalPrice||0,currency:t.currency}],totalPrice:i,currency:t.currency,orderConfirmationId:n};yield r.fork(Vg,a,o),yield r.put({type:Le,payload:{name:"UPSELL_ITEM_INSTANT_PURCHASE",body:l}})}(h.productSku,C,f,i,e,t):yield*function*(e,t,n){var i;const a=yield r.select((e=>e));if(!a)return yield r.call(n,{level:K,code:ig,message:"App state is not set within Redux store."}),void(yield*$g());if(!a.staticData)return yield r.call(n,{level:K,code:og,message:"App state is not configured with static data."}),void(yield*$g());const o=(null===(i=a.staticData.offer.transactionData)||void 0===i?void 0:i.partnerPaymentReference)||a.staticData.offer.creative.copy["ppu.partnerPaymentReference"];if(!o)return yield r.call(n,{level:K,code:ag,message:"Partner payment reference is not set within transaction data or creative copy."}),void(yield*$g());const s={upsellItems:[{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,quantity:e.quantity,unitPrice:e.unitPrice,totalPrice:e.totalPrice,currency:e.currency}],totalUpsellPrice:e.totalPrice,currency:e.currency,paymentDetails:{partnerPaymentReference:o}};a.fulfillmentDetails&&(s.fulfillmentDetails=a.fulfillmentDetails);a.purchaseId&&(s.identifiers={purchase_id:a.purchaseId});yield r.fork(Rg,t,n),yield r.put({type:Le,payload:{name:"INITIATE_INSTANT_PURCHASE_EVENT",body:s}})}(C,e,t)}else yield r.call(t,{level:K,code:ng,message:`Unable to translate catalog item with ID ${h.catalogItemId} to cart item for instant purchase transaction.`}),yield*$g()}function*jg(e,t){const n=yield r.select((e=>e.staticData));if(!n)return yield r.call(e,{level:K,code:og,message:"App state is not configured with static data."}),void(yield*Ng("Error"));if(!n.offer.catalogItems)return yield r.call(e,{level:K,code:rg,message:"No catalog items found within offer data."}),void(yield*Ng("Error"));const i={accountId:n.offer.accountId,catalogItems:n.offer.catalogItems};let a,o;t.payload.success?(a=Dg,o="Success"):(a=(e,n)=>wg(e,n,i.accountId.toString(),t.payload.reason||Lg),o="Unspecified"),yield*function*(e,t,n,i){const a=[];for(const i of e.upsellItems){const e=_g(i,t.catalogItems);void 0===e?a.push(i):yield r.put({type:Ce,payload:n(e,i.quantity)})}a.length>0&&(yield*function*(e,t){const n=JSON.stringify(e,null,"\t").replaceAll('"',"");yield r.call(t,{level:K,code:ng,message:`Unable to map cart items to catalog items in the instant purchase partner response: ${n}.`})}(a,i))}(t.payload,i,a,e),yield*Ng(o)}function*Og(e,t){const n=yield r.select((e=>e.staticData));if(!n)return yield r.call(e,{level:K,code:og,message:"App state is not configured with static data."}),void(yield*$g());if(!n.offer.catalogItems)return yield r.call(e,{level:K,code:rg,message:"No catalog items found within offer data."}),void(yield*$g());const i={accountId:n.offer.accountId,catalogItems:n.offer.catalogItems};let a;a=t.payload.success?Dg:(e,n)=>wg(e,n,i.accountId.toString(),t.payload.reason||Lg),yield*function*(e,t,n,i){const a=[];for(const i of e.upsellItems){const e=Pg(i,t.catalogItems);void 0===e?a.push(i):yield r.put({type:Ce,payload:n(e,i.quantity)})}a.length>0&&(yield*function*(e,t){const n=JSON.stringify(e,null,"\t").replaceAll('"',"");yield r.call(t,{level:K,code:ng,message:`Unable to map upsell items to catalog items in the instant purchase partner response: ${n}.`})}(a,i))}(t.payload,i,a,e),t.payload.success?yield*Zg(1,{event:"Completed",completionReason:"Success"}):yield*$g()}function*kg(e){e.payload.response&&e.payload.response.success?yield*Zg(1,{event:"Completed",completionReason:"Success"}):yield*$g()}function*Vg(e,t){const n=Cg(e,t),i=hg(e,t),{timeout:a}=yield r.race({channel:r.call(bg,n,t),legacyChannel:r.call(mg,i,t),timeout:r.delay(Sg)});a&&(yield r.call(t,{level:K,code:"INSTANT_PURCHASE_PARTNER_RESPONSE_TIMEOUT",message:"Instant-purchase partner response timed out after 60000ms"}),n.close(),i.close(),yield*Zg(2,{event:"Completed",completionReason:"Unspecified"}))}function*Rg(e,t){const n=vg(e,t),{timeout:i}=yield r.race({channel:r.call(gg,n,t),timeout:r.delay(Sg)});i&&(yield r.call(t,{level:K,code:"INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT",message:"Instant-purchase wsdk response timed out after 60000ms"}),n.close(),yield*Zg(2,{event:"Completed",completionReason:"Unspecified"}))}function*Hg(e){var t,n,i,a;yield r.put({type:Iy,payload:e}),void 0===(null===(t=e.copy)||void 0===t?void 0:t["provider.pricing.totalPrice"])?yield r.put({type:Oy,payload:{catalogItem:e}}):yield r.call(Gg,e);const o={title:null!==(n=e.title)&&void 0!==n?n:"",description:null!==(i=e.description)&&void 0!==i?i:"",price:null!==(a=e.priceFormatted)&&void 0!==a?a:""};e.copy&&Object.entries(e.copy).forEach((([e,t])=>{o[`copy.${e}`]=t})),yield r.put({type:pv,payload:{text:o}})}function _g(e,t){return t.find((t=>t.catalogItemId===e.catalogItemId))}function Pg(e,t){if(e.sku)return t.find((t=>t.catalogItemId===e.sku||t.productSku===e.sku))}function*Ng(e){yield*Fg("ProcessingState",0),yield r.put({type:ye,payload:{event:"Completed",completionReason:e}})}function*Fg(e,t){yield r.put({type:be,payload:{key:e,value:t}})}function*$g(){yield*Zg(2,{event:"Completed",completionReason:"Error"})}function*Zg(e,t){yield r.put({type:Ay,payload:t}),yield*Fg("ProcessingState",0),yield r.put({type:De,payload:{key:H,value:e}})}function*Gg(e){var t;const n=null!==(t=e.copy)&&void 0!==t?t:{},i=n["provider.pricing.shippingFees"],a=n["provider.pricing.salesTax"],o=n["provider.pricing.totalPrice"];if(!i||!a||!o)return;const s=yield r.select((e=>{var t,n;return null!==(n=null===(t=e.fulfillmentDetails)||void 0===t?void 0:t.shippingAttributes)&&void 0!==n?n:{}})),l=tg(s,[e]);yield r.put({type:jy,payload:{cacheKey:l}}),yield r.put({type:Ty,payload:{cacheKey:l,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{taxAndShippingPricing:{shippingAmount:i,taxAmount:a,totalAmount:o}}}}})}const Bg=new Set;function*Ug(e,t){const n=yg(e,t);try{for(;;){const{response:e,offerEnd:t}=yield r.race({response:r.take(n),offerEnd:r.take(ye)});if(t)break;e&&(yield r.call(qg,e))}}finally{n.close()}}function*zg(e,t,n){var i,a,o;const s=yield r.select((e=>e.fulfillmentDetails)),l=null!==(i=null==s?void 0:s.shippingAttributes)&&void 0!==i?i:{};if(!!!(l.address1&&l.city&&l.state&&l.country&&l.postalCode))return;const c=[n.payload.catalogItem],d=tg(l,c);if(yield r.call(Yg,d))return void(yield r.put({type:jy,payload:{cacheKey:d}}));if(Bg.has(d))return;Bg.add(d),yield r.put({type:My,payload:{cacheKey:d}});const u=c.map(Jg),p=null!==(o=null===(a=c[0])||void 0===a?void 0:a.currency)&&void 0!==o?o:"USD",f=u.reduce(((e,t)=>e+t.totalPrice),0);yield r.put({type:Le,payload:{name:"INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT",body:{cacheKey:d,totalUpsellPrice:f,currency:p,upsellItems:u,fulfillmentDetails:{shippingAttributes:l}}}}),yield r.spawn(Wg,d,t)}function*qg(e){var t,n;const{response:i,cacheKey:a}=e,o=null==i?void 0:i.response;if(!o||!a)return;if(!o.success||!o.paymentDetails||"UNAVAILABLE"===o.paymentDetails.taxStatus)return void(yield*function*(e){Bg.delete(e),yield r.put({type:Ty,payload:{cacheKey:e,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{error:fg.REQUEST_FAILED}}}}),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Error"}}),yield r.put({type:De,payload:{key:H,value:2}})}(a));Bg.delete(a),yield r.put({type:Ty,payload:{cacheKey:a,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{taxAndShippingPricing:Kg(o.paymentDetails)}}}});const s=null!==(n=null===(t=o.identifiers)||void 0===t?void 0:t.purchase_id)&&void 0!==n?n:null;yield r.put({type:ky,payload:s})}function Kg(e){const t=e=>{const t=String(e);return t.startsWith("$")?t:`$${t}`};return{taxAmount:t(e.tax),shippingAmount:t(e.shippingCost),totalAmount:t(e.totalAmount),taxStatus:e.taxStatus}}function*Wg(e,t){var n;yield r.delay(3e4);(null===(n=(yield r.select((e=>e.taxAndShipping))).cache[e])||void 0===n?void 0:n.isPending)&&(yield r.call(t,{level:K,code:"TAX_AND_SHIPPING_REQUEST_TIMEOUT",message:"Instant-purchase tax and shipping timed out after 30000ms"}),Bg.delete(e),yield r.put({type:Ty,payload:{cacheKey:e,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{error:fg.REQUEST_TIME_OUT}}}}))}function*Yg(e){var t;const n=(yield r.select((e=>e.taxAndShipping))).cache[e];return!!n&&(!!n.isPending||!(null===(t=n.taxAndShippingData)||void 0===t?void 0:t.error))}function Jg(e){var t;const n=e.preSelectedQuantity?e.preSelectedQuantity:1;return{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,title:e.title,quantity:n,unitPrice:e.price,totalPrice:e.price*n,currency:null!==(t=e.currency)&&void 0!==t?t:"USD"}}const Xg=["Success","Unspecified","Error"],Qg=["Implicit","Explicit"];function*eb(e,t){if("Checkout"!==t.payload.event)return;yield r.put({type:De,payload:{key:_,value:tb(t.payload),offerPositionIndex:t.payload.offerPositionIndex}});const n=t.payload.data;if(n){const i="Completed"===n.event;if("Completed"===n.event||"Dismissed"===n.event){(i?Xg.includes(n.reason):Qg.includes(n.reason))?yield r.put({type:ye,payload:Object.assign(Object.assign({event:n.event},i?{completionReason:n.reason}:{dismissalReason:n.reason}),{offerPositionIndex:t.payload.offerPositionIndex})}):yield r.call(e,{level:K,code:"CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE",message:`Misconfigured offer lifecycle payload in handleCheckoutLifecycle: ${n}.`})}else yield r.call(e,{level:K,code:"CHECKOUT_BUTTON_UNKNOWN_EVENT",message:`Unknown event type in checkout lifecycle: ${JSON.stringify(n)}`})}}function tb(e){var t;return null!==(t={ViewOffer:0,ViewTransactionDetails:1,EditPayment:2,EditShipping:3,EditPaymentAndShipping:4,CostBreakdown:5,Confirmation:6,CloseOffer:7}[e.targetStep])&&void 0!==t?t:0}function*nb(){const e=yield r.select((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.instanceGuid}));e&&(yield r.put({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:e}}))}function*ib(e,t){yield r.call(e.globalDispatch.bind(e),t)}function*ab(e,t,n){yield r.put({type:Ce,payload:{name:"SignalUserInteraction",parentGuid:e,action:t,context:n}})}function*ob(e){yield r.put({type:be,payload:{key:Ee,value:e}})}function*rb(e,t){for(;;){const n=yield r.take(e);yield*ab(t.catalogItem.instanceGuid,n.interaction,t.paymentProvider)}}function sb(e,t){return s.eventChannel((n=>e.onEvent({name:"DEVICE_PAY_AVAILABLE",source:"partner",callback:e=>{!function(e){if(!("object"==typeof e&&null!==e&&"success"in e&&"boolean"==typeof e.success&&"sessionId"in e&&"string"==typeof e.sessionId&&"timestamp"in e&&"string"==typeof e.timestamp&&"response"in e&&"object"==typeof e.response&&null!==e.response))return!1;const t=e.response;let n=!1;for(const e of Mm){const i=t[e.responseKey];if(void 0!==i){if("boolean"!=typeof i)return!1;n=!0}}return n}(e)?t({level:K,code:pg,message:`Malformed data received from wsdk for device pay available: ${JSON.stringify(e)}`}):n(e)}})))}function*lb(e,t){var n;try{for(;;){const t=yield r.take(e);t&&(yield r.put({type:Hy,payload:t}),"boolean"==typeof t.response.applePay&&(yield r.put({type:be,payload:{key:"applePayAvailable",value:t.response.applePay?1:0}})))}}catch(e){yield r.call(t,{level:K,code:cg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in device-pay-available channel"})}finally{e.close()}}function*cb(e,t){var n;const i=Mm.find((e=>!1===t.payload.response[e.responseKey]));if(!i)return;yield r.call(e,{level:K,code:"DEVICE_PAY_NOT_AVAILABLE",message:`${i.displayName} is not available on this device.`}),yield r.put({type:Ce,payload:{name:"SignalUserInteraction",action:"DevicePayUnavailable",context:`${i.displayName.replace(/\s+/g,"")}Failed`}});if(!(yield r.select(km)))return;const a=yield r.select((e=>{var t,n,i;return null!==(i=null===(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.transactionData)||void 0===n?void 0:n.supportedPaymentMethods)&&void 0!==i?i:[]}));if(1===(null==a?void 0:a.length)&&(null===(n=a[0])||void 0===n?void 0:n.type)===y.ApplePay)return;const o=yield r.select((e=>e.offerLifecycleEvent));if("Dismissed"===(null==o?void 0:o.event)||"Completed"===(null==o?void 0:o.event))return;const s={event:"Dismissed",dismissalReason:"Implicit"};yield r.put({type:Ay,payload:s}),yield r.put({type:ye,payload:s})}function*db(e,t,n,i){var a,o;i&&(yield r.fork(rb,i,n));try{const{response:t,timeout:i,dismissal:a}=yield r.race({response:r.take(e),timeout:r.delay(36e4),dismissal:r.take((e=>{var t;return e.type===ye&&"Dismissed"===(null===(t=e.payload)||void 0===t?void 0:t.event)}))});t?yield r.put({type:Ry,payload:t,context:n}):i?yield r.put({type:Ry,payload:{success:!1,timestamp:(new Date).toISOString(),sessionId:"",error:{code:"DEVICE_PAY_RESPONSE_TIMEOUT",message:"No device-pay response before the timeout"}},context:n}):a&&(yield r.put({type:Ry,payload:{success:!1,cancelled:!0,timestamp:(new Date).toISOString(),sessionId:"",error:{code:dg,message:"Offer dismissed while device pay was active"}},context:n}))}catch(e){yield r.call(t,{level:K,code:cg,message:null!==(a=e.message)&&void 0!==a?a:"Unknown error in device-pay channel"}),yield r.put({type:Ry,payload:{success:!1,timestamp:(new Date).toISOString(),sessionId:"",error:{code:cg,message:null!==(o=e.message)&&void 0!==o?o:"Unknown error in device-pay channel"}},context:n})}finally{e.close(),null==i||i.close()}}function*ub(e,t,n){var i,a,o,l,c,d,u,p;const{catalogItem:f,quantity:h,paymentProvider:v}=n.payload;if("Paypal"===v)return void(yield r.put({type:_y,payload:{catalogItem:f,quantity:h}}));const C=yield r.select((e=>e)),y=null!==(a=null===(i=null==C?void 0:C.staticData)||void 0===i?void 0:i.offer.accountId)&&void 0!==a?a:"",m=Al(f,h);if(!m)return yield r.call(t,{level:K,code:ng,message:`Unable to translate catalog item with ID ${f.catalogItemId} to cart item for device pay transaction.`}),yield r.put({type:Ce,payload:wg(f,h,y,"DEVICE_PAY_INVALID_CART_ITEM_MAPPING")}),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Error"}}),yield*ob(0),void(yield r.put({type:De,payload:{key:"offerComplete",value:2}}));const g=C?null===(o=Vm(C).taxAndShippingData)||void 0===o?void 0:o.taxAndShippingPricing:void 0,b=g&&parseFloat(g.totalAmount)||m.totalPrice,E="Afterpay"===v?function(e){if(e)return Object.assign(Object.assign(Object.assign({address1:e.address1},void 0!==e.address2&&{address2:e.address2}),{city:e.city,state:e.state,country:e.country}),void 0!==e.zip&&{postalCode:e.zip})}(null===(c=null===(l=null==C?void 0:C.staticData)||void 0===l?void 0:l.offer.transactionData)||void 0===c?void 0:c.shippingAddress):void 0,I=(x=v,Mm.find((e=>e.provider===x)));var x;const L=null!==(p=null===(u=null===(d=null==C?void 0:C.staticData)||void 0===d?void 0:d.offer.transactionData)||void 0===u?void 0:u.supportedPaymentMethods)&&void 0!==p?p:[],D=void 0!==I&&L.some((e=>e.type===I.paymentMethodType));I?D||(yield r.call(t,{level:K,code:"DEVICE_PAY_PROVIDER_UNSUPPORTED",message:`Device pay provider ${v} is not in transactionData.supportedPaymentMethods — omitting paymentMethod from INITIATE_DEVICE_PAY_EVENT.`})):yield r.call(t,{level:K,code:"DEVICE_PAY_PROVIDER_UNMAPPED",message:`Device pay provider ${v} has no entry in DEVICE_PAY_PROVIDERS — omitting paymentMethod from INITIATE_DEVICE_PAY_EVENT.`});const w=function(e,t){return s.eventChannel((n=>e.onEvent(...["DEVICE_PAY_SUCCESS","DEVICE_PAY_FAILURE","DEVICE_PAY_CANCEL"].map((e=>({name:e,source:"partner",callback:e=>{var i;"object"==typeof(i=e)&&null!==i&&"success"in i&&"boolean"==typeof i.success&&"timestamp"in i&&"string"==typeof i.timestamp&&"sessionId"in i&&"string"==typeof i.sessionId&&(!("retryable"in i)||"boolean"==typeof i.retryable)?n(e):t({level:K,code:pg,message:`Malformed data received from wsdk for device pay: ${JSON.stringify(e)}`})}}))))))}(e,t),S=function(e){return s.eventChannel((t=>e.onEvent({name:"DEVICE_PAY_INTERACTION",source:"partner",callback:e=>{(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return!0===t.success&&"string"==typeof t.interaction&&"string"==typeof t.timestamp&&"string"==typeof t.sessionId})(e)&&t(e)}})))}(e);yield r.fork(db,w,t,{catalogItem:f,quantity:h,providerId:y,paymentProvider:v},S),yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:f.instanceGuid,objectData:{catalogItemId:f.catalogItemId,quantity:h}}}),yield r.put({type:be,payload:{key:Ie,value:0}}),yield*ob(1),yield r.put({type:Le,payload:{name:"INITIATE_DEVICE_PAY_EVENT",body:Object.assign({upsellItems:[{cartItemId:m.cartItemId,catalogItemId:m.catalogItemId,title:f.title,quantity:m.quantity,unitPrice:m.unitPrice,totalPrice:m.totalPrice,currency:m.currency}],totalUpsellPrice:b,currency:m.currency,paymentDetails:Object.assign({paymentProvider:v},I&&D?{paymentMethod:I.layoutPaymentMethodType}:{})},E?{fulfillmentDetails:{shippingAttributes:E}}:{})}})}function*pb(e,t,n,i,a){yield r.put({type:Ce,payload:wg(e,t,n,null!=i?i:Lg,a)}),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Error"}}),yield*ob(0),yield r.put({type:De,payload:{key:"offerComplete",value:2}})}function*fb(e,t){var n,i;const a=yield r.select((e=>e)),o=(null!==(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer.catalogItems)&&void 0!==i?i:[])[0];if(!(null==o?void 0:o.providerData))return void(yield r.call(t,{level:K,code:"MISSING_DEVICE_PAY_PROVIDER_DATA",message:"No provider data found on the first catalog item for device pay preparation."}));let s;try{s=JSON.parse(o.providerData)}catch(e){return void(yield r.call(t,{level:K,code:pg,message:`Failed to parse providerData for catalog item ${o.catalogItemId}.`}))}const l=s.stripeAccountId,c=s.merchantName,d=s.countryCode,u={stripeAccountId:"string"==typeof l?l:void 0,merchantName:"string"==typeof c?c:void 0,countryCode:"string"==typeof d?d:void 0,currency:o.currency},p=sb(e,t);yield r.fork(lb,p,t),yield r.put({type:Le,payload:{name:"PREPARE_DEVICE_PAY_EVENT",body:u}})}function*hb(e,t){var n,i,a;const{payload:{success:o,response:s,error:l,cancelled:c,retryable:d,purchaseId:u},context:{catalogItem:p,quantity:f,providerId:h,paymentProvider:v}}=t;return c?(yield*ab(p.instanceGuid,"DevicePayCancelled",v),yield r.put({type:Ce,payload:wg(p,f,h,dg,u)}),void(yield*ob(0))):o||!0!==d?void(o?s&&s.success?(yield*function*(e,t,n){yield r.put({type:Ce,payload:Dg(e,t,n)}),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Success"}}),yield*ob(0),yield r.put({type:De,payload:{key:"offerComplete",value:1}})}(p,f,u),yield*ab(p.instanceGuid,"DevicePaySucceeded",v)):(yield*pb(p,f,h,null!==(n=null==s?void 0:s.reason)&&void 0!==n?n:ug,u),yield*ab(p.instanceGuid,"DevicePayFailed",v)):(yield r.call(e,{level:K,code:ng,message:`Device pay response is not successful: ${JSON.stringify(l)}`}),yield*pb(p,f,h,null!==(a=null!==(i=null==l?void 0:l.code)&&void 0!==i?i:null==l?void 0:l.message)&&void 0!==a?a:ug,u),yield*ab(p.instanceGuid,"DevicePayFailed",v))):(yield*ab(p.instanceGuid,"DevicePayRetryableFailure",v),yield r.put({type:Ce,payload:wg(p,f,h,"DEVICE_PAY_RETRYABLE_DECLINE",u)}),yield*ob(0),void(yield r.put({type:be,payload:{key:Ie,value:1}})))}function*vb(e){"Dismissed"===e.payload.event&&(yield r.put({type:Le,payload:{name:"ABORT_DEVICE_PAY_EVENT"}}),yield*ob(0))}function*Cb(e,t,n){var i,a;try{for(;;){const t=yield r.take(e);if(t)switch(t.type){case"DEVICE_PAY_TRANSACTION_DETAILS_READY":yield r.put({type:Ny,payload:t.data}),yield r.put({type:xy,payload:{event:"Checkout",targetStep:"ViewTransactionDetails",offerPositionIndex:n}});break;case"DEVICE_PAY_LOADING":yield r.put({type:xy,payload:{event:"Checkout",targetStep:"Confirmation",offerPositionIndex:n}}),yield r.put({type:Py});break;case"DEVICE_PAY_SUCCESS":{yield*bb("ProcessingState",0),yield r.put({type:"PAYPAL/SUCCESS"});const e=yield r.select((e=>e.paypalPurchaseContext));return e&&(yield r.put({type:Ce,payload:Dg(e.catalogItem,e.quantity)})),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Success"}}),void(yield r.put({type:De,payload:{key:"offerComplete",value:1}}))}case"DEVICE_PAY_FAILURE":{yield*bb("ProcessingState",0),yield r.put({type:"PAYPAL/FAILURE"});const e=yield r.select((e=>e.paypalPurchaseContext));return e&&(yield r.put({type:Ce,payload:wg(e.catalogItem,e.quantity,e.providerId,null!==(i=t.reason)&&void 0!==i?i:Lg)})),yield r.put({type:Ay,payload:{event:"Completed",completionReason:"Error"}}),void(yield r.put({type:De,payload:{key:"offerComplete",value:2}}))}case"DEVICE_PAY_CANCEL":return yield*bb("ProcessingState",0),yield r.put({type:"PAYPAL/CANCEL"}),void(yield r.put({type:xy,payload:{event:"Checkout",targetStep:"ViewOffer",offerPositionIndex:n}}))}}}catch(e){yield r.call(t,{level:K,code:"PAYPAL_CHANNEL_ERROR",message:null!==(a=e.message)&&void 0!==a?a:"Unknown error in PayPal event channel"})}finally{e.close()}}function*yb(e,t){var n,i;const a=yield r.select((e=>e));(null!==(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer.catalogItems)&&void 0!==i?i:[])[0]?yield r.put({type:Le,payload:{name:"PREPARE_DEVICE_PAY_EVENT",body:{paymentProvider:"Paypal"}}}):yield r.call(t,{level:K,code:"MISSING_PAYPAL_CATALOG_ITEM",message:"No catalog items found for PayPal preparation."})}function*mb(e,t,n){var i,a,o,l,c,d;const u=yield r.select((e=>e)),p=null!==(a=null===(i=null==u?void 0:u.staticData)||void 0===i?void 0:i.offer.accountId)&&void 0!==a?a:"";yield r.put({type:Fy,payload:{catalogItem:n.payload.catalogItem,quantity:n.payload.quantity,providerId:p}}),yield*bb("ProcessingState",1),yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:n.payload.catalogItem.instanceGuid,objectData:{catalogItemId:n.payload.catalogItem.catalogItemId,quantity:n.payload.quantity}}});const f=null==u?void 0:u.fulfillmentDetails,h=null!==(l=null===(o=null==u?void 0:u.staticData)||void 0===o?void 0:o.position)&&void 0!==l?l:0,v=function(e,t){return s.eventChannel((n=>e.onEvent(...["DEVICE_PAY_TRANSACTION_DETAILS_READY","DEVICE_PAY_LOADING","DEVICE_PAY_SUCCESS","DEVICE_PAY_FAILURE","DEVICE_PAY_CANCEL"].map((e=>({name:e,source:"partner",callback:i=>{if("DEVICE_PAY_TRANSACTION_DETAILS_READY"===e)!function(e){return"object"==typeof e&&null!==e&&"totalAmount"in e&&"tax"in e&&"shippingFee"in e&&"currency"in e&&"merchantName"in e}(i)?t({level:K,code:"MALFORMED_PAYPAL_DATA",message:`Malformed transaction details received from PayPal: ${JSON.stringify(i)}`}):n({type:"DEVICE_PAY_TRANSACTION_DETAILS_READY",data:i});else if("DEVICE_PAY_FAILURE"===e){const e=function(e){return"object"==typeof e&&null!==e&&"reason"in e&&"string"==typeof e.reason}(i)?i.reason:void 0;n({type:"DEVICE_PAY_FAILURE",reason:e})}else n({type:e})}}))))))}(e,t);yield r.fork(Cb,v,t,h),yield r.put({type:Le,payload:{name:"INITIATE_DEVICE_PAY_EVENT",body:Object.assign(Object.assign({upsellItems:[{cartItemId:n.payload.catalogItem.cartItemId,catalogItemId:n.payload.catalogItem.catalogItemId,title:n.payload.catalogItem.title,quantity:n.payload.quantity,unitPrice:n.payload.catalogItem.price,totalPrice:n.payload.catalogItem.price*n.payload.quantity,currency:null!==(c=n.payload.catalogItem.currency)&&void 0!==c?c:""}],totalUpsellPrice:n.payload.catalogItem.price*n.payload.quantity,currency:null!==(d=n.payload.catalogItem.currency)&&void 0!==d?d:""},f&&{fulfillmentDetails:f}),{paymentDetails:{paymentProvider:"Paypal",paymentMethod:"PAYPAL"}})}})}function*gb(){yield r.put({type:Le,payload:{name:"COMPLETE_DEVICE_PAY_EVENT"}})}function*bb(e,t){yield r.put({type:be,payload:{key:e,value:t}})}const Eb={InitiateTax:function*(){const e=yield r.select((e=>e.selectedItem));e&&(yield r.put({type:Oy,payload:{catalogItem:e}}))}};function*Ib(e,t){yield r.call(e.globalDispatch.bind(e),{type:we,payload:{event:t}})}function*xb(e,t){yield r.all([r.spawn(Ag),r.spawn(fb,e,t),r.spawn(yb,e,t),r.spawn(Ug,e,t),r.takeEvery(xy,eb.bind(null,t)),r.takeEvery(ye,vb),r.takeEvery(Ey,Tg),r.takeLatest(Ly,Mg.bind(null,e,t)),r.takeLatest(Dy,jg.bind(null,t)),r.takeLatest(wy,Og.bind(null,t)),r.takeLatest(Sy,kg.bind(null)),r.takeEvery(Oy,zg.bind(null,e,t)),r.takeLatest(Vy,ub.bind(null,e,t)),r.takeLatest(_y,mb.bind(null,e,t)),r.takeLatest(Py,gb),r.takeEvery(Hy,cb.bind(null,t)),r.takeLatest(Ry,hb.bind(null,t)),r.takeEvery(le,ib.bind(null,e)),r.takeEvery(je,Dv.bind(null,e,t)),r.takeEvery(Ve,nb),r.takeEvery(Iy,Ib.bind(null,e,"selectedCatalogItem")),r.takeEvery(He,Sl.bind(null,e,Eb)),r.takeEvery("*",wl.bind(null,[le,je,He],e))])}Object.assign(Object.assign({},Be),{INITIATE_INSTANT_PURCHASE:Ly,INSTANT_PURCHASE_PARTNER_RESPONSE:Dy,UPSELL_ITEM_INSTANT_PURCHASE_PARTNER_RESPONSE:wy,INSTANT_PURCHASE_WSDK_RESPONSE:Sy});const Lb=(new Di).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=eg({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion},fulfillmentDetails:Xm(a.offerData)}),d=function(e,t,n=eg()){const i=s(),a=l.configureStore({reducer:Qm,devTools:{name:"Instant Purchase"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(xb,e,t),a}(a.gateway,a.logger,c);r.render(e.jsx(t.StrictMode,{children:e.jsxs($i,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Dr,{}),e.jsx(i.Provider,{store:d,children:e.jsx(Ir,{settings:a,dispatch:d.dispatch,children:e.jsx(Jm,{})})})]})}))}}));var Db=Object.freeze({__proto__:null,moduleConnectorBuilder:Lb});const wb=t.createContext(null),Sb=({children:n})=>{var i;const[a,o]=t.useState([]),[r,s]=t.useState(0),[l,c]=t.useState(0),d=Xn();return t.useEffect((()=>{let e=0;const t=a.length,n=setInterval((()=>{e=e+1>=t?0:e+1,s(e)}),l);return()=>clearInterval(n)}),[l,a]),e.jsx(wb.Provider,{value:{images:a,activeIndex:r,duration:l,setImages:o,setActiveIndex:s,setDuration:c},children:e.jsx(Jn,{value:d({data:{"image.title":null===(i=a[r])||void 0===i?void 0:i.title}},"creativeCopy"),children:n})})};function Ab({active:n,duration:i,containerStyles:a,indicatorStyles:o}){const r=t.useRef(null);return t.useEffect((()=>{n&&r.current&&function(e,t){const n="animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype,i=[{width:0},{width:"100%"}];if(n){const n=e.animate(i,{duration:t,iterations:1});return()=>{n.finish()}}}(r.current,i)}),[n]),e.jsx("div",{style:Object.assign({position:"relative",height:"2px",width:"100%",backgroundColor:"#FFFFFF66"},a),children:e.jsx("span",{ref:r,style:Object.assign({animationIterationCount:"infinite",animationFillMode:"forwards",animationTimingFunction:"linear",position:"absolute",top:0,left:0,height:"100%",backgroundColor:"#FFF",width:n?"100%":0},o)})})}function Tb(e){const n=t.useContext(Hi),i=[];return e.forEach((e=>{const t=n(`${e}.src`,"copy"),a=n(`${e}.title`,"copy");if(void 0===t)return;const o=function(e={}){return Object.assign({light:"https://plus.unsplash.com/premium_photo-1675826774817-fe983ceb0475?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80",dark:"https://images.unsplash.com/photo-1679941734238-56628f5991f7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80"},e)}({light:t,title:a});i.push(o)})),i}function Mb({schema:n,testId:i}){const a=JSON.parse(n.data),{styles:o,duration:r,imageKeys:s}=a,l=t.useContext(wb),c=Tb(s);return t.useEffect((()=>{null==l||l.setImages(c),null==l||l.setDuration(r)}),[]),e.jsxs("div",{"data-testid":i,style:Object.assign({position:"relative",flexShrink:1,flexGrow:0,width:"100%"},o.elements.own),children:[t.Children.toArray(c.map(((t,n)=>e.jsx("img",{src:t.light,alt:t.title,style:Object.assign({opacity:n===(null==l?void 0:l.activeIndex)?1:0,position:0===n?"relative":"absolute",display:0===n?"block":"",top:0,width:"100%",height:"100%",maxHeight:"100%",maxWidth:"100%",transition:"opacity 300ms ease-in-out",objectFit:"contain"},o.elements.image)})))),e.jsx("div",{style:Object.assign({display:"flex",gap:"2px",width:"70%",position:"absolute",margin:"0 15%",bottom:"8px",zIndex:20,justifyContent:"center"},o.elements.indicatorWrapper),children:t.Children.toArray(c.map(((t,n)=>e.jsx(Ab,{duration:r,active:n===(null==l?void 0:l.activeIndex),containerStyles:o.elements.indicatorContainer,indicatorStyles:o.elements.indicator}))))})]})}const jb={allowedTags:["em","strong","a","br","u","p","li","ul","ol","span"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[]},allowedSchemes:["http","https"]},Ob=new Map([["&","_;^;_"]]),kb=new RegExp(`<a *(?=${jb.allowedAttributes.a.join("|")}|>)`,"g"),Vb=new RegExp("<span*>","g"),Rb=new RegExp(`<a *(?:(?:${jb.allowedAttributes.a.filter((e=>"href"!==e)).join("|")})="[^"]*")* *href="([^"]+)"`,"g"),Hb=new RegExp("(<br *?>)|(<br *?/>)","g"),_b="<br/>";function Pb(n){const i=Xn(),a=Oi(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Rb,((e,t)=>{const n=t.replaceAll("&",Ob.get("&"));return e.replace(t,n)})).replaceAll(Hb,_b)}(e);return t===u(t,jb)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a);return o?e.jsx(Ba,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0));return a=o,new RegExp("</(p|ul|ol)>").test(a)?e.jsx("div",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(kb,`<a ${i.join(" ")}`).replace(Vb,`<span${(null==t?void 0:t.span)?` class=${t.span}`:""}>`)}}):e.jsx("p",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(kb,`<a ${i.join(" ")}`).replace(Vb,`<span${(null==t?void 0:t.span)?` class=${t.span}`:""}>`)}});var a}}):null}function Nb({schema:n}){const i=wn(),a=fn(zi(),ai()),o=JSON.parse(n.data),[r]=d({loop:!1,align:"start",slidesToScroll:2,containScroll:"trimSnaps"}),{styles:s,body:{tierItems:l}}=o;if(!l||!l.length)return;const c=l.length>2;return e.jsx("div",{className:a`
|
|
187
|
+
`,children:t.Children.toArray(p.map((e=>d(e))))})]})]})})}const Gd={name:"loading-extension",componentFactory:t=>e.jsx(Zd,{data:t}),interceptors:{}};function Bd({linearGradient:n,color1:i,color2:a,color3:o,duration:r,additionalStyles:s,gradientAngle:l}){const c=t.useRef(null);t.useEffect((()=>{const e=()=>{var e;if(null===(e=c.current)||void 0===e?void 0:e.parentElement){const e=c.current.parentElement;requestAnimationFrame((()=>{const t=Array.from(e.children).filter((e=>!e.classList.contains("background-shimmer")));if(t.length>0){const n=t.reduce(((e,t)=>Math.max(e,t.offsetHeight)),0),i=parseInt(e.style.height||"0");n>0&&n!==i&&(e.style.height=`${n}px`)}}))}};let t;const n=()=>{clearTimeout(t),t=setTimeout(e,100)};return window.addEventListener("resize",n),setTimeout(e,100),()=>{window.removeEventListener("resize",n),clearTimeout(t)}}),[]);const d=t.useMemo((()=>`\n @keyframes slideGradient {\n 0% {\n left: -90%;\n opacity: 0;\n }\n 8% {\n left: -90%;\n opacity: 1;\n }\n 22% {\n left: 90%;\n opacity: 1;\n }\n 28% {\n left: 100%;\n opacity: 0;\n }\n 100% {\n left: 100%;\n opacity: 0;\n }\n }\n .background-shimmer {\n position: absolute !important;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n pointer-events: none;\n z-index: 0;\n }\n \n .background-shimmer::after {\n content: '';\n position: absolute;\n top: 0;\n left: -100%;\n right: 0;\n bottom: 0;\n width: 50%;\n background: ${n||`linear-gradient(\n ${l||"to right"},\n transparent 0%,\n ${i||"rgba(217, 217, 217, 0.30)"} 20%,\n ${a||"rgba(217, 217, 217, 0.50)"} 50%,\n ${o||"rgba(217, 217, 217, 0.30)"} 80%,\n transparent 100%\n )`};\n animation: slideGradient ${r||"3.94s"} linear infinite forwards;\n pointer-events: none;\n z-index: 0;\n }\n ${s}\n`),[n,i,a,o,r,s,l]);return e.jsx(Qn,{children:t=>e.jsx(qa,{styles:{},children:t=>{var n;const i=t.classnames;return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:d}),e.jsx("div",{ref:c,className:`${null!==(n=null==i?void 0:i.own)&&void 0!==n?n:""} background-shimmer`})]})}})})}const Ud={name:"shimmer-background-extension",componentFactory:t=>t?e.jsx(Bd,{linearGradient:t.linearGradient,color1:t.color1,color2:t.color2,color3:t.color3,duration:t.duration,additionalStyles:t.additionalStyles}):e.jsx("div",{children:"Could not render Shimmer Background"}),interceptors:{}},zd=1e3;function qd(n){const o=n.data,{minutes:r,seconds:s,timeRemaining:l,restartTimer:c}=function(e){const[n,i]=t.useState(e),a=(new Date).getTime()/zd,o=t.useRef(null),r=()=>{const t=(new Date).getTime()/zd;i(Math.max(Math.floor(e-(t-a)),0))};return t.useEffect((()=>(o.current=setInterval(r,zd),()=>{o.current&&"number"==typeof o.current&&clearInterval(o.current)})),[]),{minutes:Math.floor(n/60).toString(),seconds:Math.floor(Math.min(n%60,59)).toLocaleString("en-US",{minimumIntegerDigits:2,maximumFractionDigits:0,useGrouping:!1}),timeRemaining:n,restartTimer:function(){o.current&&"number"==typeof o.current&&clearInterval(o.current),i(e),o.current=setInterval(r,zd)}}}((null==o?void 0:o.duration)||300),d=i.useSelector((e=>{const t=a.path(["progression","currentGroupIndex"],e);return"number"==typeof t?t:0})),u=i.useDispatch();t.useEffect((()=>{c()}),[d]),t.useEffect((()=>{0===l&&(u({type:Ce,payload:{name:"SignalUserInteraction",action:"TimerExpired",context:"TimerProgression"}}),u({type:"PROGRESSION/PROCESS",payload:{offerProcessStatus:"CONTINUE"}}))}),[r,s]);const p=Ri(),{tabIndex:f,styles:h,isDisabled:v}=b(p);return e.jsx("p",{tabIndex:f,style:Object.assign(Object.assign({},null==o?void 0:o.styles),h),"aria-hidden":v,"data-e2e":"Timer",children:`${r}:${s}`})}const Kd={name:"timer-progression-extension",componentFactory:t=>e.jsx(qd,{data:t}),interceptors:{}};function Wd(t){var n,i,a,o,r;const s=!1===t.isValid&&!!t.error;return e.jsxs("div",{"data-testid":t.testId,children:[e.jsx("label",{className:null===(n=t.classnames)||void 0===n?void 0:n.label,children:t.schema.label}),e.jsx("input",{className:s?`${null===(i=t.classnames)||void 0===i?void 0:i.error}`:`${null===(a=t.classnames)||void 0===a?void 0:a.field}`,type:"text",value:t.value||"",placeholder:t.schema.placeholder,required:"Required"===t.schema.validator,onChange:e=>{var n;let i=e.target.value;t.schema.inputFilter&&(i=function(e,t){if(!t)return e;if("object"==typeof t&&t.pattern){const n=new RegExp(t.pattern,"g");return e.replace(n,"")}return"numeric"===t?e.replace(/[^0-9]/g,""):e}(i,t.schema.inputFilter)),null===(n=t.onChange)||void 0===n||n.call(t,i)},"aria-invalid":!!s,"aria-describedby":s?`${t.testId}-error`:void 0}),s&&e.jsxs("div",{style:{display:"flex",alignItems:"center",flexDirection:"row"},children:[t.schema.errorIcon&&e.jsx("img",{src:t.schema.errorIcon,className:null===(o=t.classnames)||void 0===o?void 0:o.errorIcon,alt:"Error"}),e.jsx("div",{className:null===(r=t.classnames)||void 0===r?void 0:r.errorText,children:t.error})]})]})}function Yd(t){const{schema:n,disabled:i,onClick:a,testId:o,classnames:r}=t,s=[null==r?void 0:r.button,i?"disabled":""].filter(Boolean).join(" ");return e.jsx("button",{type:"button",className:s,onClick:e=>{e.preventDefault(),e.stopPropagation(),a&&a()},disabled:i,"data-testid":o,"data-e2e":"FormButton","aria-label":n.ariaLabel||n.label,style:{cursor:i?"not-allowed":"pointer",pointerEvents:"auto",flexWrap:"wrap",minWidth:"max-content"},children:e.jsx("span",{className:null==r?void 0:r.text,children:n.label})})}const Jd="deliveryAddress",Xd="deliveryAddress-showForm",Qd="deliveryAddress-errorState",eu="deliveryAddress-isValid",tu=0,nu=1,iu=2,au=["AL","Alabama","AK","Alaska","AZ","Arizona","AR","Arkansas","CA","California","CO","Colorado","CT","Connecticut","DE","Delaware","FL","Florida","GA","Georgia","HI","Hawaii","ID","Idaho","IL","Illinois","IN","Indiana","IA","Iowa","KS","Kansas","KY","Kentucky","LA","Louisiana","ME","Maine","MD","Maryland","MA","Massachusetts","MI","Michigan","MN","Minnesota","MS","Mississippi","MO","Missouri","MT","Montana","NE","Nebraska","NV","Nevada","NH","New Hampshire","NJ","New Jersey","NM","New Mexico","NY","New York","NC","North Carolina","ND","North Dakota","OH","Ohio","OK","Oklahoma","OR","Oregon","PA","Pennsylvania","RI","Rhode Island","SC","South Carolina","SD","South Dakota","TN","Tennessee","TX","Texas","UT","Utah","VT","Vermont","VA","Virginia","WA","Washington","WV","West Virginia","WI","Wisconsin","WY","Wyoming","DC","District of Columbia"];function ou(e,t,n){var i;if(!t)return{isValid:!0};switch(t){case"Required":return e.trim()?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.missingLabel)||"This field is required"};case"PhoneNumber":if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"Phone number is required"};return/^[+]?[1-9][\d]{0,15}$/.test(e.replace(/\s/g,""))?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Invalid phone number"};case"Contains":{if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"This field is required"};const t=(null==n?void 0:n.allowedValues)||[];return t.includes(e.trim())?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||`Invalid value. Allowed values: ${t.join(", ")}`}}case"ZipCode":if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"Postal code is required"};return/^\d{5}(-\d{4})?$/.test(e)?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Invalid ZIP code"};case"State":{if(!e.trim())return{isValid:!1,error:(null==n?void 0:n.missingLabel)||"State is required"};const t=(null===(i=null==n?void 0:n.allowedValues)||void 0===i?void 0:i.length)?n.allowedValues:au,a=e.trim().toLowerCase();return t.some((e=>e.toLowerCase()===a))?{isValid:!0}:{isValid:!1,error:(null==n?void 0:n.errorLabel)||"Please select a valid state"}}default:return{isValid:!0}}}function ru(e,t){const n={};return Object.keys(t).forEach((e=>{n[e]={value:"",isValid:!0,error:void 0}})),e&&"object"==typeof e&&Object.keys(t).forEach((t=>{const i=e[t],a=n[t];"string"==typeof i&&a&&(a.value=i)})),n}function su(n){var a,o,r,s;const l=i.useDispatch(),c=n.schema.noGroupBreakpoints||[],d=xn(!0,(e=>{var t;return 0===c.length||!c.includes(null===(t=null==e?void 0:e.breakpoint)||void 0===t?void 0:t.activeBreakpoint)})),u=i.useSelector((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[Jd]})),p=i.useSelector((e=>e.slots||[])),f=p.length>0&&(null===(s=null===(r=null===(o=null===(a=p[0])||void 0===a?void 0:a.offer)||void 0===o?void 0:o.catalogItems)||void 0===r?void 0:r[0])||void 0===s?void 0:s.cartItemId);if(!f)return;const h=Ri(),{tabIndex:v,isDisabled:C,styles:y}=b(h),{fields:m,fieldGroups:g,controls:E}=n.schema,[I,x]=t.useState((()=>ru(u,m))),L=t.useCallback((()=>Object.entries(I).reduce(((e,[t,n])=>(e[t]=n.value,e)),{})),[I]),D=()=>{const e=Object.assign({},I);let t=!0;if(Object.entries(m).forEach((([n,i])=>{var a;const o=(null===(a=I[n])||void 0===a?void 0:a.value)||"",r=ou(o,null==i?void 0:i.validator,i);e[n]={value:o,isValid:r.isValid,error:r.error},r.isValid||(t=!1)})),x(e),t){const e=L();l({type:Oe,payload:{cartItemId:f,formData:e}})}else l({type:be,payload:{key:Qd,value:nu}})},w=()=>{x(ru(u,m)),l({type:be,payload:{key:Xd,value:0}}),l({type:be,payload:{key:Qd,value:tu}})};return e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"data-testid":n.testId,"data-e2e":"Form",className:null==t?void 0:t.own,"aria-hidden":C,tabIndex:v,style:Object.assign({display:"flex",flexDirection:"column"},y),children:[g.map(((i,a)=>{const o=d&&1!==i.fields.length?"row":"column",r=i.fields.length>1?"row"===o?null==t?void 0:t.groupRowWrapper:null==t?void 0:t.groupColumnWrapper:void 0;return e.jsx("div",{style:{display:"flex",flexDirection:o},className:r,children:i.fields.map((i=>{const a=m[i],o=I[i]||{value:"",isValid:!0,error:void 0};return a?e.jsx("div",{style:{flex:"1"},children:e.jsx(Wd,{schema:a,value:o.value,error:o.error,isValid:o.isValid,onChange:e=>((e,t)=>{const n=m[e];let i,a=!0;if((null==n?void 0:n.validateOnChange)&&n.validator){const e=ou(t,n.validator,n);a=e.isValid,i=e.error}x((n=>Object.assign(Object.assign({},n),{[e]:{value:t,isValid:a,error:i}})))})(i,e),testId:`${n.testId}-${i}`,classnames:{label:null==t?void 0:t.fieldLabel,field:null==t?void 0:t.fieldInput,error:null==t?void 0:t.fieldError,errorText:null==t?void 0:t.fieldErrorText,errorIcon:null==t?void 0:t.fieldErrorIcon}})},i):null}))},a)})),((null==E?void 0:E.saveButton)||(null==E?void 0:E.cancelButton))&&e.jsxs("div",{className:null==t?void 0:t.buttonGroup,style:{display:"flex",flexDirection:d?"row":"column",justifyContent:"flex-end",gap:"16px",marginTop:"0px",pointerEvents:"auto"},children:[(null==E?void 0:E.cancelButton)&&e.jsx(Yd,{schema:E.cancelButton,onClick:w,testId:`${n.testId}-cancel`,disabled:!1,classnames:{button:null==t?void 0:t.cancelButton}}),(null==E?void 0:E.saveButton)&&e.jsx(Yd,{schema:E.saveButton,onClick:D,disabled:!1,testId:`${n.testId}-save`,classnames:{button:null==t?void 0:t.saveButton}})]})]})})}function lu(t){const n=wn(),a=Yn(i.useSelector((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[Jd]}))||{},Jd);return e.jsx(ei,{value:a,children:n(t.schema.node,void 0,t.testId)})}const cu="FORMS/UPDATE";function*du(e){yield r.spawn(fu,e),yield r.takeEvery(Oe,uu),yield r.takeEvery(ke,pu)}function*uu(e){const{cartItemId:t,formData:n}=e.payload,i=null!=n?n:yield r.select((e=>{var t;return null===(t=e.forms)||void 0===t?void 0:t[Jd]}));if(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return["firstName","lastName","address1","address2","city","state","postalCode","phoneNumber"].every((e=>void 0===t[e]||"string"==typeof t[e]))}(i)){const e={cartItemId:t,shipping:i,lineItems:yield r.select((e=>{const t=e.globalOfferDataState||{},n=[];return Object.values(t).forEach((e=>{e.cart&&n.push(...e.cart)})),n}))};yield r.put({type:Le,payload:{name:"INITIATE_CART_ITEM_EVENT",body:e}})}}function*pu(e){if(e.payload.success){const t=e.payload.response;if(null==t?void 0:t.success){const{shipping:e,cartItemId:n,totalPrice:i,currencyCode:a,providerData:o}=t;yield r.put({type:Le,payload:{name:"DELIVERY_DETAILS_SENT",body:{shipping:e,itemDetail:{cartItemId:n,currency:a,totalPrice:i,providerData:o}}}}),yield r.put({type:cu,payload:{formId:Jd,formData:e}}),yield*vu(tu)}else yield*vu(nu)}else yield*vu(iu),yield r.put({type:Le,payload:{name:"DELIVERY_DETAILS_SENT",body:{shipping:void 0,itemDetail:void 0}}})}function*fu(e){const t=function(e){return s.eventChannel((t=>{const n=["CART_ITEM_SUCCESS","CART_ITEM_FAILURE"].map((n=>{const i=e.onEvent(n);return i?i.subscribe((e=>{t(e)})):null})).filter(Boolean);return()=>{n.forEach((e=>null==e?void 0:e.unsubscribe()))}}))}(e);try{for(;;){const e=yield r.take(t);yield r.put({type:ke,payload:e})}}catch(e){const t=hc(e,"Error in cart service response listener","CART_SERVICE_RESPONSE_ERROR");yield r.put(t)}finally{(yield r.cancelled())&&t.close()}}function*hu(e,t,n){for(let i=0;i<e;i++)yield r.put({type:rs,payload:{key:t,value:n,offerPositionIndex:i}})}function*vu(e){const t=yield r.select((e=>{var t;return(null===(t=e.slots)||void 0===t?void 0:t.length)||0}));switch(e){case tu:yield r.put({type:be,payload:{key:Qd,value:tu}}),yield r.put({type:be,payload:{key:eu,value:1}}),yield r.put({type:be,payload:{key:Xd,value:0}}),yield*hu(t,eu,1);break;case nu:yield r.put({type:be,payload:{key:Qd,value:nu}}),yield r.put({type:be,payload:{key:eu,value:0}}),yield*hu(t,eu,0);break;case iu:yield r.put({type:be,payload:{key:Qd,value:iu}}),yield r.put({type:be,payload:{key:eu,value:0}}),yield*hu(t,eu,0)}}const Cu={name:"address-form-extension",reducer:{forms:(e,t)=>{if(void 0===e)return{};if(t.type===cu){const{formId:n,formData:i}=t.payload;return Object.assign(Object.assign({},e),{[n]:i})}return e}},sagas:function*(e){yield r.all([r.spawn(du,e.partnerInteractionService)])},componentFactory:t=>{if(!t||"object"!=typeof t)return e.jsx("div",{children:"Could not render Form - invalid data"});if((e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"type"in t&&"edit"===t.type&&"fields"in t&&"object"==typeof t.fields&&"node"in t&&"object"==typeof t.node&&null!==t.node})(t)){const n={fields:t.fields||{},node:t.node};return e.jsx(lu,{schema:n,testId:"edit-form-extension"})}if((e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"type"in t&&"view"===t.type&&"fields"in t&&"object"==typeof t.fields&&null!==t.fields&&"fieldGroups"in t&&Array.isArray(t.fieldGroups)})(t)){const n={fields:t.fields,fieldGroups:t.fieldGroups||[],controls:t.controls,styles:t.styles,noGroupBreakpoints:t.noGroupBreakpoints||[]};return e.jsx(su,{schema:n,testId:"form-extension"})}return e.jsx("div",{children:"Could not render Form - invalid type."})},interceptors:{}},yu="MODULE/ADD_LOADED",mu="MODULE/LOAD",gu="PROGRESSION/INITIALISE",bu="PROGRESSION/NEXT",Eu="PROGRESSION/PREV",Iu="PROGRESSION/UPDATE_GROUP_SIZE",xu="PROGRESSION/PROCESS",Lu="SLOTS/SET",Du="INSTANT_PURCHASE/DISMISS",wu="OFFER_LIFECYCLE",Su="DOMAIN_STATES/SET",Au="OFFER_ENGAGEMENT",Tu="GLOBAL_OFFER_DATA_STATE/SET_CART",ju=Object.assign(Object.assign({},fs),{NEXT_IN_PROGRESSION:bu,PREV_IN_PROGRESSION:Eu,INITIALISE_PROGRESSION:gu,UPDATE_GROUP_SIZE:Iu,SET_SLOTS:Lu,ADD_LOADED_MODULE:yu,SET_DOMAIN_STATE:Su,SET_GLOBAL_OFFER_DATA_CART:Tu}),Mu=Object.assign(Object.assign({},hs),{LOAD_MODULES:mu,DISMISS_INSTANT_PURCHASE:Du,PROCESS_PROGRESSION:xu,OFFER_LIFECYCLE:wu,OFFER_ENGAGEMENT:Au,SET_PARTNER_VALIDATION_STATUS:Te,TRIGGER_ACTION:He});function Ou(e,t){return t<=0||e<=0||t>e?0:Math.ceil(e/t)}function ku(e,t){const n=[];if(t<=0||e<=0||t>e)throw Error(`Could not generate the progression groups with groupSize: ${t} and totalCount: ${e}`);for(let i=0;i<Ou(e,t);i++){const a=[];for(let n=0;n<t;n++)a.push(Math.min(i*t+n,e-1));n.push([...new Set(a)])}return n}const Vu=Symbol("root");function Ru(){return{[Vu]:{layoutMinimized:0}}}const Hu=Object.assign({progression:function(e=null,t){switch(t.type){case gu:if(function(e){const{totalCount:t,currentGroupIndex:n,groupSize:i}=e;return t>=0&&i>=0&&n>=0&&i<=t&&n<Ou(t,i)}(t.payload)){const{totalCount:e,_:n,groupSize:i}=t.payload;return Object.assign(Object.assign({},t.payload),{indexGroups:ku(e,i)})}return null;case Iu:{const{groupSize:n}=t.payload,i=null==e?void 0:e.totalCount;return i&&n<=i&&n>0?Object.assign(Object.assign({},e),{groupSize:n,indexGroups:ku(i,n),currentGroupIndex:0}):null}case bu:{if(!e)return null;const{totalCount:t,groupSize:n,currentGroupIndex:i}=e;return t>0&&n>0&&i>=0?Object.assign(Object.assign({},e),{currentGroupIndex:Math.min(i+1,Ou(t,n)-1)}):null}case Eu:{if(!e)return null;const{totalCount:t,groupSize:n,currentGroupIndex:i}=e;return t>0&&n>0&&i>=0?Object.assign(Object.assign({},e),{currentGroupIndex:Math.max(i-1,0)}):null}default:return e}},slots:function(e=[],t){return t.type===Lu?t.payload:e},module:function(e={loadedModules:[]},t){return t.type===yu?Object.assign(Object.assign({},e),{loadedModules:[...e.loadedModules,t.payload]}):e},domainStates:function(e=Ru(),t){if(t.type===Su){if(t.payload.key&&!isNaN(t.payload.value)){const n=void 0!==t.payload.offerPositionIndex?`module${t.payload.offerPositionIndex}`:Vu;return n===Vu?t.payload.key!==P?e:Object.assign(Object.assign({},e),{[Vu]:Object.assign(Object.assign({},e[Vu]),{[t.payload.key]:t.payload.value})}):Object.assign(Object.assign({},a.assocPath([n,t.payload.key],Number(t.payload.value),e)),{[Vu]:Object.assign({},e[Vu])})}return e}return e},globalOfferDataState:function(e={},t){if(t.type===Tu){if(t.payload.cart){const n=`module${t.payload.offerPositionIndex}`;return Object.assign(Object.assign({},e),{[n]:{cart:t.payload.cart}})}return e}return e}},ks);function _u(e={}){return Object.assign(Object.assign(Object.assign({},function(e={}){return Object.assign({layout:As(),breakpoint:{breakpoints:{default:0},activeBreakpoint:"default",initialised:!1},active:Ts(),attributes:{},fonts:[],signal:{queue:[],processed:[]},serializableCache:js(),settings:{closeOnComplete:!0,closeOnNegativeResponse:"NEVER",allowEscToClose:!1,minimizeOnComplete:!1,explicitCloseOnComplete:!1,bottomsheetVisibleHeight:null},customStates:{root:{}},firedEvents:{root:{}},formStates:{root:{}}},e)}(e)),{progression:null,slots:[],module:{loadedModules:[]},domainStates:Ru(),globalOfferDataState:{}}),e)}function Pu(e){var t;return!!e.progression&&(1===e.progression.groupSize&&e.progression.currentGroupIndex===(null===(t=e.progression)||void 0===t?void 0:t.totalCount)-1)}function Nu(e){return e.progression?{activeGroupIndex:e.progression.currentGroupIndex,totalOffers:e.progression.totalCount,totalGroups:Ou(e.progression.totalCount,e.progression.groupSize),isLast:Pu(e)}:null}function Fu(e,t){const n=e.domainStates[`module${t}`]||{offerComplete:0,checkout:0,layoutMinimized:0},i=e.domainStates[Vu]||{layoutMinimized:0};return Object.assign(Object.assign({},n),{[P]:i[P]})}function $u(e){return Object.values(e.globalOfferDataState).reduce(((e,t)=>{if(t&&"object"==typeof t&&"cart"in t){const n=t.cart;if(Array.isArray(n))return e+n.reduce(((e,t)=>e+("number"==typeof t.quantity?t.quantity:0)),0)}return e}),0)}const Zu=new Map([["spothero","spothero"],["justpark","justpark"],["fanatics","fanatics"],["parkwhiz-up-sell","parkwhiz"],["parkwhiz-up-sell-tm-upsell","parkwhiz"],["ticketmaster-up-sell-hotels","hotels"],["ticketmaster-up-sell","1p"],["ticketmaster-up-sell-in-cart","1p"]]),Gu=["ProviderName","e2e-catalog"],Bu=e=>"string"==typeof e?e.trim():"number"==typeof e&&Number.isFinite(e)?String(e):"",Uu=e=>{if(!(e=>{var t;const n=Bu(null===(t=null==e?void 0:e.creative)||void 0===t?void 0:t.referralCreativeId);return Boolean(n)&&"0"!==n})(e))return;const t=(e=>{for(const t of Gu){const n=Bu(null==e?void 0:e[t]);if(n)return n}})(null==e?void 0:e.metadata);return t?Zu.get(t.toLowerCase()):"advert"};function zu(n){var a;const{config:o,position:r,visible:s,container:l,testId:c}=n,d=Wi(),u=Ri(),p=i.useSelector(ms),f=i.useSelector((e=>function(e,t){return e.globalOfferDataState[`module${t}`]}(e,r))),h=t.useContext(Yi),v=t.useContext(Ji),C=`rokt-${o.layoutVariant.moduleName}-${d}`.toLowerCase(),y=Uu(o.offer),m=((e,t)=>{var n;if("1p"!==e)return;const i=Bu(null===(n=null==t?void 0:t.metadata)||void 0===n?void 0:n.CatalogType);return i?i.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""):void 0})(y,o.offer);return e.jsxs(e.Fragment,{children:[!s&&e.jsx("div",{style:{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",zIndex:"1"},"aria-hidden":"true"}),e.jsx(C,{style:{display:"flex",flexDirection:"column"===l?"column":"row",width:"100%"},slotInstanceGuid:o.instanceGuid,layoutSchema:JSON.stringify(o.layoutVariant.layoutVariantSchema),schemaVersion:h,childLayouts:JSON.stringify(null!==(a=o.layoutVariant.childLayouts)&&void 0!==a?a:[]),offerData:JSON.stringify(o.offer),offerPositionIndex:r,visible:s?"true":"false",container:l,interactivity:u,"data-testid":c,"data-e2e":`OfferSlot-${r}`,"data-e2e-type":y,"data-e2e-subtype":m,inert:!(!(null==v?void 0:v.inert)||s)||void 0,"aria-hidden":(null==v?void 0:v.inert)?void 0:String(!s),"module-component":!0,"plugin-id":d,"active-breakpoint":oe(p),offerState:JSON.stringify(f)})]})}function qu({schema:n,testId:a}){const o=n.styles,r=i.useSelector((e=>e.slots)),s=t.useRef(null),l=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0})),c=Ri(),{tabIndex:d,isDisabled:u,styles:p}=b(c);return r.length&&r[l]?e.jsx(qa,{styles:o,children:({classnames:i})=>e.jsx("div",{ref:s,"data-testid":a,"data-e2e":"OneByOneDistribution",className:null==i?void 0:i.own,tabIndex:d,"aria-hidden":u,style:Object.assign({position:"relative",transition:`height ${n.transition.settings.duration/2}ms ease-in-out`,overflow:"hidden",boxSizing:"content-box"},p),children:t.Children.toArray(r.map(((t,i)=>e.jsx(Mr,{effect:n.transition,visible:i===l,parentElement:s.current,children:e.jsx(zu,{config:t,position:i,visible:i===l,container:"column"})}))))})}):null}const Ku=i.connect((function(e,{schema:t}){var n,i,a;const o=t.startPosition||1;if((null===(n=e.progression)||void 0===n?void 0:n.totalCount)&&(null===(i=e.progression)||void 0===i?void 0:i.groupSize)){const t=Ou(e.progression.totalCount,e.progression.groupSize);let n;n=o>0?o-1:t+o>-1?t+o:0;return{numOfIndicators:t-n>-1?t-n:0,activeIndex:null!==(a=e.progression.currentGroupIndex)&&void 0!==a?a:0,startIndex:n}}return{numOfIndicators:0,activeIndex:0,startIndex:0}}))((function({activeIndex:t,startIndex:n,numOfIndicators:i,schema:a}){const o=Ri(),{tabIndex:r,styles:s,isDisabled:l}=b(o),c=Array(i).fill(a.indicator);return i>1&&(u=i+n-1,(d=t)>=n&&d<=u)?e.jsx(Qn,{children:i=>e.jsx(qa,{styles:a.styles,children:a=>{var o;const d=a.classnames,u=e=>{var n,i;return e===t?`${null==d?void 0:d.indicator} ${(null==d?void 0:d.activeIndicator)?d.activeIndicator:null!==(n=null==d?void 0:d.seenIndicator)&&void 0!==n?n:""}`:e<t?`${null==d?void 0:d.indicator} ${null!==(i=null==d?void 0:d.seenIndicator)&&void 0!==i?i:""}`:null==d?void 0:d.indicator};return e.jsx("div",{className:null!==(o=null==d?void 0:d.own)&&void 0!==o?o:"",style:Object.assign({display:"flex",flexDirection:"row"},s),"data-e2e":"ProgressIndicator",tabIndex:r,"aria-hidden":l,children:m.Children.toArray(c.map(((t,a)=>e.jsx("span",{className:u(a+n),style:{display:"flex"},children:i({state:{indicatorPosition:String(a+1+n)}})(t)}))))})}})}):null;var d,u}));const Wu="partnerValidationUI",Yu="stackedViewableItems";function Ju(n){var o;const r=i.useDispatch(),s=i.useSelector((e=>e.slots)),l=null!==(o=n.schema.viewableItems)&&void 0!==o?o:[],c=_a(l.reduce(((e,t,n)=>Object.assign(Object.assign({},e),{[n]:t.when})),{})),d=a.compose((e=>{var t;return e&&(null===(t=l[e[0]])||void 0===t?void 0:t.value)||s.length}),a.find((([e,t])=>t)),a.toPairs)(c);t.useEffect((()=>{r({type:Jr,payload:{key:Yu,value:String(d)}})}),[d]);const u=s.slice(0,d),p=Ri(),{tabIndex:f,isDisabled:h,styles:v}=b(p);return(null==u?void 0:u.length)>0?e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>e.jsx("div",{"data-testid":n.testId,"data-e2e":"StackedDistribution",className:null==i?void 0:i.own,"aria-hidden":h,tabIndex:f,style:Object.assign({display:"flex",flexDirection:"column"},v),children:t.Children.toArray(u.map(((t,n)=>e.jsx(zu,{config:t,position:n,visible:!0,container:"column"}))))})}):null}function Xu(n){const a=n.schema.styles,o=i.useDispatch(),r=Ri(),s="Backward"===n.schema.direction?"Previous":"Next",{tabIndex:l,styles:c,isDisabled:d}=b(r),u=()=>{o({type:"Backward"===n.schema.direction?ju.PREV_IN_PROGRESSION:ju.NEXT_IN_PROGRESSION})};return e.jsx(qa,{styles:a,children:({classnames:i})=>{var a;return e.jsx("button",{title:s,className:null==i?void 0:i.own,onClick:u,"data-testid":n.testId,"data-e2e":"ProgressControl","data-e2e-direction":`${n.schema.direction}`,disabled:d,"aria-disabled":d,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:s,tabIndex:l,style:Object.assign({cursor:"pointer"},c),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,n.testId?`${n.testId}-child${i}`:void 0))))})})}})}function Qu({schema:n,testId:a}){var o,r,s,l,c,u,p,f,h;const v=i.useSelector((e=>e.progression)),C=null==v?void 0:v.indexGroups[null==v?void 0:v.currentGroupIndex],y=null!==(o=null==v?void 0:v.currentGroupIndex)&&void 0!==o?o:0,m=i.useSelector((e=>e.slots)),g=i.useSelector(Is),E=n.viewableItems.length-1,[I,x]=d({slidesToScroll:null!==(r=n.viewableItems[Math.min(g,E)])&&void 0!==r?r:"auto",containScroll:"trimSnaps"}),L=i.useDispatch(),D=Ri(),{tabIndex:w,isDisabled:S,styles:A}=b(D),T=`${null!==(f=null===(p=null===(u=null===(c=null===(l=null===(s=n.styles)||void 0===s?void 0:s.elements)||void 0===l?void 0:l.own[g])||void 0===c?void 0:c.default)||void 0===u?void 0:u.container)||void 0===p?void 0:p.gap)&&void 0!==f?f:"0"}px`;t.useEffect((()=>{function e(e){var t,n;const i=null!==(t=null==e?void 0:e.selectedScrollSnap())&&void 0!==t?t:0,a=null!==(n=null==e?void 0:e.previousScrollSnap())&&void 0!==n?n:0;i!==y&&(i>a?L({type:ju.NEXT_IN_PROGRESSION}):i<a&&L({type:ju.PREV_IN_PROGRESSION}))}return null!=y&&(null==x||x.on("select",e),null==x||x.scrollTo(y)),()=>{null==x||x.off("select",e)}}),[x,y,L]);const j={overflow:"hidden"},M={backfaceVisibility:"hidden",display:"flex",touchAction:"pan-y",gap:T,alignItems:"stretch"},O=e=>{var t;return null!==(t=null==C?void 0:C.includes(e))&&void 0!==t&&t},k=n.peekThroughSize[Math.min(g,n.peekThroughSize.length-1)],V=k?"Fixed"===(R=k).type?`${R.value}px`:`${R.value}%`:"0px";var R;const H=null!==(h=n.viewableItems[Math.min(E,g)])&&void 0!==h?h:1,_={flex:`0 0 calc(${(e=>"0px"!==e&&"0%"!==e)(V)?`(100% - 2 * ${V} - (${H} + 1) * ${T})/${H}`:`(100% - (${H} - 1) * ${T})/${H}`})`,position:"relative",display:"flex",overflow:"auto"};return(null==m?void 0:m.length)>0?e.jsx(qa,{styles:n.styles,children:({classnames:n})=>e.jsx("div",{ref:I,style:Object.assign(Object.assign({},j),A),"aria-disabled":S,tabIndex:w,className:null==n?void 0:n.own,"data-e2e":"CarouselDistribution","data-testid":a&&`${a}`,children:e.jsx("div",{style:M,"data-testid":a&&`${a}-container`,"data-e2e":"CarouselDistribution-Container",children:t.Children.toArray(m.map(((t,n)=>e.jsx("div",{style:_,"data-testid":a&&`${a}-slide-${n}`,"data-e2e":`CarouselDistribution-Slide-${n}`,children:e.jsx(zu,{config:t,position:n,container:"row",visible:O(n)})}))))})})}):null}const ep=Object.freeze([]);function tp({schema:n,testId:a}){const o=Wi(),r=t.useMemo((()=>fn(o)([{display:"flex",flexDirection:"column"}])),[o]),s=i.useSelector((e=>{var t;return(null===(t=e.progression)||void 0===t?void 0:t.groupSize)||0})),l=i.useSelector((e=>{var t;return(null===(t=e.progression)||void 0===t?void 0:t.indexGroups)||ep})),c=i.useSelector((e=>e.slots||ep)),d=t.useMemo((()=>l.map((e=>e.map((e=>c[e])).filter((e=>null!=e))))),[l,c]),u=t.useRef(null),p=i.useSelector((e=>{var t,n;return null!==(n=null===(t=e.progression)||void 0===t?void 0:t.currentGroupIndex)&&void 0!==n?n:0})),f=Ri(),{tabIndex:h,isDisabled:v,styles:C}=b(f);return d.length?e.jsx(qa,{styles:n.styles,children:({classnames:i})=>e.jsx("div",{ref:u,"data-testid":a,"data-e2e":"GroupedDistribution","aria-disabled":v,tabIndex:h,style:Object.assign({position:"relative",transition:`height ${n.transition.settings.duration/2}ms ease-in-out`,overflow:"hidden",boxSizing:"content-box"},C),children:t.Children.toArray(d.map(((o,l)=>e.jsx(Mr,{effect:n.transition,visible:l===p,parentElement:u.current,containerClassName:[r,null==i?void 0:i.own].filter(Boolean).join(" ")||void 0,children:t.Children.toArray(o.map(((t,n)=>{const i=s*l+n;return e.jsx(zu,{config:t,position:i,visible:l===p,container:"column",testId:a?`${a}-child${i}`:void 0})})))}))))})}):null}const np={action:{CaptureOnly:"CaptureOnly",Url:"Url",Fulfillment:"Fulfillment",ExternalPaymentTrigger:"ExternalPaymentTrigger"},urlBehavior:{newTab:"newTab",roktWebViewSDK:"roktWebViewSDK",self:"self"},signalType:{SignalResponse:"SignalResponse",SignalGatedResponse:"SignalGatedResponse",SignalSecondaryResponse:"SignalSecondaryResponse",SignalOptInResponse:"SignalOptInResponse",SignalOptOutResponse:"SignalOptOutResponse"},conversionType:{Default:"Default",RealTime:"RealTime",RealTimeReferral:"RealTimeReferral"}};function ip(e,t,n=!1){return Error(`Could not translate ${e} with guid: ${t}${n?" for child layout":""}`)}function ap(e,t=!1){var n;try{if(e.responseOptionsMap||t)return Object.assign(Object.assign({},e),{responseOptionsMap:a.mapObjIndexed(op,null!==(n=e.responseOptionsMap)&&void 0!==n?n:{})});{const t=`Creative: ${e.instanceGuid}, did not receive a valid response options map.`;throw new W("NO_CREATIVE_RESPONSE_OPTIONS_MAP",t)}}catch(n){throw n.message?n:ip("Creative",e.instanceGuid,t)}}function op(e){try{let t,n;if(e.urlBehavior&&(t=np.urlBehavior[e.urlBehavior]),e.conversionType&&(n=np.conversionType[e.conversionType]),"External"===e.action){const t=`Creative response with instanceGuid '${e.instanceGuid}' uses legacy action type 'External'. This should be 'ExternalPaymentTrigger'.`;throw new W("LEGACY_EXTERNAL_ACTION_TYPE",t)}return Object.assign(Object.assign({},e),{urlBehavior:t,action:np.action[e.action],signalType:np.signalType[e.signalType],conversionType:n})}catch(t){throw t.message?t:ip("CreativeResponse",e.instanceGuid)}}const rp={UNSPECIFIED:y.Unspecified,OTHER:y.Other,CARD:y.Card,PAYPAL:y.PayPal,APPLE_PAY:y.ApplePay,GOOGLE_PAY:y.GooglePay,AFTERPAY:y.Afterpay};function sp(e){var t;if(e)return Object.assign(Object.assign({},e),{supportedPaymentMethods:null===(t=e.supportedPaymentMethods)||void 0===t?void 0:t.map((e=>{var t;return Object.assign(Object.assign({},e),{type:null!==(t=rp[e.type])&&void 0!==t?t:y.Unspecified})}))})}function lp(e,t,n){try{return JSON.parse(e)}catch(e){throw Error(`Parse JSON failed, invalid JSON file for ${t} with guid ${n}.`)}}function cp(){t.useEffect((()=>{const e=new ResizeObserver(function(e=100){let t;return()=>{t&&clearTimeout(t),t=setTimeout((()=>{var e,n;null===(n=null===(e=window.frameElement)||void 0===e?void 0:e.iFrameResizer)||void 0===n||n.resize(),t=void 0}),e)}}());return e.observe(document.body),()=>{e.disconnect()}}),[])}const dp={OneByOneDistribution:function(t){if("OneByOneDistribution"===t.type)return e.jsx(qu,{schema:t.node})},StackedDistribution:function(t){if("StackedDistribution"===t.type)return e.jsx(Ju,{schema:t.node})},ProgressIndicator:function(t){if("ProgressIndicator"===t.type)return e.jsx(Ku,{schema:t.node})},ProgressControl:function(t){if("ProgressControl"===t.type)return e.jsx(Xu,{schema:t.node})},Overlay:function(t){if("Overlay"===t.type)return e.jsx(Bs,{schema:t.node})},CloseButton:rr,MinimizeButton:function(t){if("MinimizeButton"===t.type)return e.jsx(vs,{schema:t.node})},EscapeHatch:(up=[function(t,n){if(E("CloseButton",t)){const n=JSON.parse(t.node.data);return e.jsx(or,{schema:n.node,action:n.action})}},Po],e=>up.reduce(((t,n)=>void 0===t?n(e):t),void 0)),CarouselDistribution:function(t){if("CarouselDistribution"===t.type)return e.jsx(Qu,{schema:t.node})},GroupedDistribution:function(t){if("GroupedDistribution"===t.type)return e.jsx(tp,{schema:t.node})},BottomSheet:function(t){if("BottomSheet"===t.type)return e.jsx(Il,{schema:t.node})},MinimizableBottomSheet:function(t){if("MinimizableBottomSheet"===t.type)return e.jsx(ml,{schema:t.node})}};var up;function pp(e,t){e({type:Ce,payload:{name:"SignalActivation",parentGuid:t}})}function fp({pageInstanceGuid:n}){var o,r,s,l,c,d,u;const p=i.useSelector((e=>e.layout),a.equals),f=i.useDispatch(),h=i.useSelector((e=>({breakpoint:e.breakpoint,progression:Nu(e),customStates:e.customStates.root,domainStates:e.domainStates[Vu],firedEvents:e.firedEvents.root,formStates:e.formStates.root})),a.equals),v=i.useSelector((e=>e.slots.length)),C=i.useSelector((e=>{var t;const n=Number(null!==(t=e.serializableCache.get(Yu))&&void 0!==t?t:"");return v-n})),y=i.useSelector($u),m=i.useSelector((e=>e.attributes),a.equals);et(Tn(),f),t.useEffect((()=>(p&&document.body.addEventListener("click",pp.bind(null,f,p.instanceGuid),{once:!0}),()=>{p&&document.body.removeEventListener("click",pp.bind(null,f,p.instanceGuid))})),[null==p?void 0:p.instanceGuid]),cp(),t.useEffect((()=>{if(p){const e={type:Ce,payload:{name:"SignalImpression",parentGuid:p.instanceGuid}},t={type:os,payload:{code:"LAYOUT_IMPRESSED"}};f(e),f(t)}}),[p]);const g=t.useCallback((e=>{f({type:Mu.REPORT_ERROR,payload:e})}),[f]),b=i.useSelector((e=>e.breakpoint.initialised)),E=null!==(r=null===(o=h.progression)||void 0===o?void 0:o.activeGroupIndex)&&void 0!==r?r:0,I=null!==(l=null===(s=h.progression)||void 0===s?void 0:s.totalGroups)&&void 0!==l?l:1,x=null!==(d=null===(c=h.progression)||void 0===c?void 0:c.totalGroups)&&void 0!==d?d:v,L=t.useMemo((()=>Yn({})({state:{progression:E+1,maxProgression:I,availableOffersCount:x,selectedCatalogItemQuantity:y,hiddenItemCount:C}})({attribute:m},"rokt")),[E,I,x,y,C,m]),D=t.useMemo((()=>Ir(L,h.formStates)),[L,h.formStates]),w=t.useMemo((()=>br(g)),[g]);return p&&b?e.jsx(Bi,{info:{layoutType:"OuterLayout",pageInstanceGuid:n},children:e.jsx(ei,{value:D,children:e.jsx(Sn,{value:w,overrides:dp,children:e.jsx(In.Provider,{value:h,children:e.jsx(bn.Provider,{value:f,children:e.jsx(ai.Provider,{value:"OUTER",children:e.jsx(Yi.Provider,{value:p.layoutSchemaVersion,children:e.jsxs(pr,{children:[null===(u=p.timers)||void 0===u?void 0:u.map((t=>e.jsx(vr,{timer:t},t.key))),e.jsx(Dn,{children:e=>e(p.layoutSchema)})]})})})})})})})}):null}var hp=Object.freeze({__proto__:null,getDistribution:function e(t){var n;switch(t.type){case"OneByOneDistribution":case"StackedDistribution":case"CarouselDistribution":case"GroupedDistribution":return t;case"Row":case"Column":case"When":case"ZStack":case"FlowRow":case"InlineContainer":case"ScrollableRow":case"ScrollableColumn":case"BottomSheet":case"MinimizableBottomSheet":case"Form":case"ActionButton":case"Overlay":for(const n of t.node.children){const t=e(n);if(t)return t}break;case"EscapeHatch":try{const{name:i,body:a}=JSON.parse(t.node.data);if(("loading-extension"===i||"minimized-bottomsheet-extension"===i)&&(null===(n=null==a?void 0:a.children)||void 0===n?void 0:n.length))for(const t of a.children){const n=e(t);if(n)return n}break}catch(e){break}case"TextInput":case"StaticImage":case"DataImage":case"DataImageCarousel":case"RichText":case"BasicText":case"ProgressIndicator":case"CreativeResponse":case"StaticLink":case"CloseButton":case"MinimizeButton":case"ProgressControl":case"StaticIcon":case"DataIcon":case"SlideStateTrigger":case"ToggleButtonStateTrigger":case"TimerStateTrigger":case"CatalogStackedCollection":case"CatalogCarouselCollection":case"CatalogResponseButton":case"CatalogQuantityOption":case"CatalogRadioGroup":case"CatalogQuantityCounter":case"PartnerEventButtonTrigger":case"CopyToClipboardButton":case"ButtonStateTrigger":case"CatalogCombinedCollection":case"CatalogSelectorsStacked":case"CatalogDevicePayButton":case"IconGroup":case"CatalogDropdown":case"CatalogImageGallery":case"CatalogThumbnailGallery":break;default:!function(e){throw Error(`Could not handle layout: ${JSON.stringify(e)}`)}(t)}},getDistributionViewableItems:function(e){switch(null==e?void 0:e.type){case"CarouselDistribution":case"GroupedDistribution":return e.node.viewableItems;default:return}}}),vp=Object.assign({},hp);function*Cp(e,t){const n=vp.getDistribution(t),i=null==n?void 0:n.type,a=yield r.select(Is),o=function(e=0,t){var n;switch(null==t?void 0:t.type){case"CarouselDistribution":case"GroupedDistribution":{const i=Math.min(t.node.viewableItems.length,e);return null!==(n=t.node.viewableItems[i])&&void 0!==n?n:1}default:return 1}}("number"==typeof a?a:0,n);"OneByOneDistribution"!==i&&"CarouselDistribution"!==i&&"GroupedDistribution"!==i||(yield c.put({type:ju.INITIALISE_PROGRESSION,payload:{currentGroupIndex:0,totalCount:e,groupSize:o}}))}function*yp(e,t){var n,i;const{instanceGuid:o,layoutSchemaVersion:r,outerLayoutSchema:s,slots:l}=t.payload;o?yield c.put({type:Ce,payload:{name:"SignalLoadComplete",parentGuid:o}}):yield c.put({type:as,payload:{level:Sl,code:$l,message:"Layout instance guid does not exist"}}),yield c.put({type:mu,payload:{modules:l.map((e=>e.layoutVariant.moduleName))}}),yield c.put({type:Zr,payload:s.breakpoints}),yield c.put({type:ju.LAYOUT_UPDATE,payload:{instanceGuid:o,layoutSchemaVersion:r,layoutSchema:s.layout,settings:s.settings,timers:null!==(n=s.timers)&&void 0!==n?n:void 0}}),yield c.put({type:ju.SET_SLOTS,payload:l}),a.isNil(s.settings)||(yield c.put({type:ju.SET_SETTINGS,payload:s.settings})),yield*Cp(l.length,s.layout);const d=yield*function*(e,t,n){const i=null==t?void 0:t.enablePartnerValidation,a=["add-to-cart"],o=n.some((e=>a.some((t=>t===e.layoutVariant.moduleName))));if(i&&o)try{yield c.call(e.send,rc.PartnerValidationEvent.OPT_IN_TO_PARTNER_VALIDATION),yield c.spawn(mp,e,rc.PartnerValidationEvent.SHOW_PARTNER_VALIDATION_STATUS,(()=>({type:"ACTIVE/ADD",payload:{id:Wu}})))}catch(e){return yield c.put({type:as,payload:{level:wl,code:Gl,message:"Failed to establish partner validation."}}),"FAILURE"}return"OK"}(e.partner,s.settings,l);"OK"===d&&(yield c.call(_c,e.display,s.display,null===(i=s.settings)||void 0===i?void 0:i.frameControls))}function*mp(e,t,n){const i=s.eventChannel((i=>{const a=e.onEvent(t).subscribe((e=>{i(n(e))}));return()=>{a.unsubscribe()}}));for(;;){const e=yield c.take(i);yield c.put(e)}}function gp(e){return rf(e)}function bp(e,t){return Error(`Migration process from v0_0 to v0_1 failed: could not transform ${e} node. For more details: ${t}`)}const Ep=a.all(a.anyPass([function(e){return"Row"===e.type&&Dp(e.node.children)},function(e){return"Column"===e.type&&Dp(e.node.children)},Tp,jp])),Ip=a.all(a.anyPass([function(e){return"Row"===e.type&&wp(e.node.children)},function(e){return"Column"===e.type&&wp(e.node.children)},jp,Tp,function(e){return"DataImage"===e.type},function(e){return"When"===e.type&&wp(e.node.children)}])),xp=a.all(a.anyPass([function(e){return"Row"===e.type&&Sp(e.node.children)},function(e){return"Column"===e.type&&Sp(e.node.children)},jp,Tp])),Lp=a.all(a.anyPass([function(e){return"Row"===e.type&&Ap(e.node.children)},function(e){return"Column"===e.type&&Ap(e.node.children)},Tp,function(e){return"RichText"===e.type},jp,function(e){return"ProgressIndicator"===e.type},function(e){return"OneByOneDistribution"===e.type},function(e){return"When"===e.type&&Ap(e.node.children)},function(e){return"StaticLink"===e.type&&Ap(e.node.children)},function(e){return"StackedDistribution"===e.type},function(e){return"CloseButton"===e.type&&Ap(e.node.children)}]));function Dp(e){return Ep(e)}function wp(e){return Ip(e)}function Sp(e){return xp(e)}function Ap(e){return Lp(e)}function Tp(e){return"StaticImage"===e.type}function jp(e){return"BasicText"===e.type}const Mp=a.lensPath(["styles","elements","link"]),Op=a.lensPath(["styles","elements","activeIndicator"]),kp=a.lensPath(["styles","elements","indicator"]),Vp=a.lensPath(["styles","elements","seenIndicator"]),Rp=a.lensPath(["focussed"]),Hp=a.lensPath(["hovered"]),_p=a.lensPath(["default"]),Pp=a.lensPath(["pressed"]),Np=e=>{var t;return{text:null!==(t=null==e?void 0:e.text)&&void 0!==t?t:{}}},Fp=a.when(a.hasPath(["styles","elements","link"]),a.pipe(a.over(Mp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default})))),a.over(Mp,a.map(a.when(a.has("focussed"),a.over(Rp,Np)))),a.over(Mp,a.map(a.when(a.has("hovered"),a.over(Hp,Np)))),a.over(Mp,a.map(a.when(a.has("default"),a.over(_p,Np)))),a.over(Mp,a.map(a.when(a.has("pressed"),a.over(Pp,Np)))))),$p=a.pipe(a.when(a.hasPath(["styles","elements","activeIndicator"]),a.over(Op,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))),a.when(a.hasPath(["styles","elements","indicator"]),a.over(kp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))),a.when(a.hasPath(["styles","elements","seenIndicator"]),a.over(Vp,a.map((e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}))))));function Zp(e,t){return e?{elements:{own:e.elements.own.map(t)}}:void 0}const Gp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),Bp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),Up=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),zp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default}),qp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),Kp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),Wp=e=>({focussed:e.focused,hovered:e.hovered,pressed:e.pressed,default:e.default,disabled:e.disabled}),Yp=e=>{switch(e){case"is":return"is";case"is not":return"is-not";case"is below":return"is-below";case"is above":return"is-above";default:throw bp("When",`Invalid condition: ${e}`)}},Jp=e=>{switch(e){case"breakpoint":return"Breakpoint";case"progression":return"Progression";case"position":return"Position";default:throw bp("When",`Invalid target: ${e}`)}},Xp=e=>{const{target:t,condition:n,value:i}=e;return{type:Jp(t),predicate:{condition:Yp(n),value:i}}};function Qp(e){const t={type:"FadeInOut",settings:{duration:e.transition.settings.duration}};return{styles:e.style,transition:t}}function ef(e){const t=e.children.map((e=>rf(e)));if(Dp(t))return Object.assign(Object.assign({},e),{children:t,styles:Zp(e.styles,qp)});throw bp("CloseButton",`Invalid schema: ${JSON.stringify(e)}`)}function tf(e){const t=e.children.map((e=>rf(e)));if(wp(t))return Object.assign(Object.assign({},e),{children:t,styles:Zp(e.styles,Kp)});throw bp("CreativeResponse",`Invalid schema: ${JSON.stringify(e)}`)}function nf(e){const t=e.children.map((e=>rf(e)));if(Sp(t))return Object.assign(Object.assign({},e),{children:t,styles:Zp(e.styles,Wp)});throw bp("StaticLink",`Invalid schema: ${JSON.stringify(e)}`)}const af=e=>({own:e.overlayContainer,wrapper:e.overlayWrapper});function of(e){var t,n;const i=(null===(t=e.styles)||void 0===t?void 0:t.elements)?{elements:af(null===(n=e.styles)||void 0===n?void 0:n.elements)}:void 0,a=e.children.map((e=>rf(e)));if(Ap(a))return Object.assign(Object.assign({},e),{styles:i,children:a});throw bp("Overlay",`Invalid schema: ${JSON.stringify(e)}`)}function rf(e){switch(e.type){case"When":return{type:"When",node:(s=e.node,{predicates:s.predicates.map(Xp),children:s.children.map((e=>rf(e)))})};case"OneByOneDistribution":return{type:e.type,node:Qp(e.node)};case"Overlay":return{type:e.type,node:of(e.node)};case"Column":return{type:e.type,node:(r=e.node,{styles:Zp(r.styles,Gp),children:r.children.map((e=>rf(e)))})};case"Row":return{type:e.type,node:(o=e.node,{styles:Zp(o.styles,Bp),children:o.children.map((e=>rf(e)))})};case"RichText":return{type:e.type,node:(a=e.node,Fp(a))};case"CloseButton":return{type:e.type,node:ef(e.node)};case"CreativeResponse":return{type:e.type,node:tf(e.node)};case"StaticLink":return{type:e.type,node:nf(e.node)};case"StaticImage":return{type:e.type,node:(i=e.node,Object.assign(Object.assign({},i),{styles:Zp(i.styles,Up)}))};case"DataImage":return{type:e.type,node:(n=e.node,Object.assign(Object.assign({},n),{styles:Zp(n.styles,zp)}))};case"ProgressIndicator":return{type:e.type,node:(t=e.node,$p(t))};default:return e}var t,n,i,a,o,r,s}function sf(e){return fh(e)}function lf(e,t){return Error(`Migration process from v0_23 to v1_0 failed: could not transform ${e} node. For more details: ${t}`)}const cf=e=>"scroll"===e||"auto"===e?"visible":e,df=a.lensPath(["elements","own"]),uf=a.lensPath(["transitions","transition","value","own"]),pf=a.lensPath(["elements","wrapper"]),ff=a.lensPath(["transitions","transition","value","wrapper"]),hf=a.lensPath(["elements","indicator"]),vf=a.lensPath(["transitions","transition","value","indicator"]),Cf=a.lensPath(["elements","activeIndicator"]),yf=a.lensPath(["transitions","transition","value","activeIndicator"]),mf=a.lensPath(["elements","seenIndicator"]),gf=a.lensPath(["transitions","transition","value","seenIndicator"]),bf=a.lensPath(["default","container","overflow"]),Ef=a.lensPath(["pressed","container","overflow"]),If=a.lensPath(["hovered","container","overflow"]),xf=a.lensPath(["focussed","container","overflow"]),Lf=a.lensPath(["disabled","container","overflow"]),Df=a.lensPath(["container","overflow"]),wf=a.pipe(a.when(a.hasPath(["default","container","overflow"]),a.over(bf,cf)),a.when(a.hasPath(["pressed","container","overflow"]),a.over(Ef,cf)),a.when(a.hasPath(["hovered","container","overflow"]),a.over(If,cf)),a.when(a.hasPath(["focussed","container","overflow"]),a.over(xf,cf)),a.when(a.hasPath(["disabled","container","overflow"]),a.over(Lf,cf))),Sf=a.when(a.hasPath(["container","overflow"]),a.over(Df,cf)),Af=a.pipe(a.when(a.hasPath(["elements","own"]),a.over(df,a.map(wf))),a.when(a.hasPath(["transitions","transition","value","own"]),a.over(uf,Sf))),Tf=a.when(a.has("transitions"),(e=>{var t;return a.compose(a.omit(["transitions"]),a.assoc("conditionalTransitions",null===(t=e.transitions)||void 0===t?void 0:t.transition))(e)})),jf=a.pipe(Af,Tf),Mf=a.pipe(a.when(a.hasPath(["elements","wrapper"]),a.over(pf,a.map(wf))),a.when(a.hasPath(["transitions","transition","value","wrapper"]),a.over(ff,Sf))),Of=a.pipe(a.when(a.hasPath(["elements","indicator"]),a.over(hf,a.map(wf))),a.when(a.hasPath(["transitions","transition","value","indicator"]),a.over(vf,Sf))),kf=a.pipe(a.when(a.hasPath(["elements","activeIndicator"]),a.over(Cf,a.map(wf))),a.when(a.hasPath(["transitions","transition","value","activeIndicator"]),a.over(yf,Sf))),Vf=a.pipe(a.when(a.hasPath(["elements","seenIndicator"]),a.over(mf,a.map(wf))),a.when(a.hasPath(["transitions","transition","value","seenIndicator"]),a.over(gf,Sf)));function Rf(e){return"StaticImage"===e.type}function Hf(e){return"StaticIcon"===e.type}function _f(e){return"BasicText"===e.type}function Pf(e){return"DataImage"===e.type}function Nf(e){return"DataIcon"===e.type}function Ff(e){return"RichText"===e.type}function $f(e){return"SlideStateTrigger"===e.type}function Zf(e){return"ToggleButtonStateTrigger"===e.type}const Gf=a.all(a.anyPass([function(e){return"Row"===e.type&&Bf(e.node.children)},function(e){return"Column"===e.type&&Bf(e.node.children)},Rf,Hf,Ff,_f,function(e){return"ProgressIndicator"===e.type},function(e){return"OneByOneDistribution"===e.type},function(e){return"When"===e.type&&Bf(e.node.children)},function(e){return"StaticLink"===e.type&&Bf(e.node.children)},function(e){return"StackedDistribution"===e.type},function(e){return"CarouselDistribution"===e.type},function(e){return"GroupedDistribution"===e.type},function(e){return"CloseButton"===e.type&&Bf(e.node.children)},function(e){return"ProgressControl"===e.type&&eh(e.node.children)},function(e){return"ZStack"===e.type&&Bf(e.node.children)},function(e){return"FlowRow"===e.type&&Bf(e.node.children)},$f,Zf]));function Bf(e){return Gf(e)}const Uf=a.pipe(Af,Mf,Tf);function zf(e){const t=e.children.map((e=>fh(e)));if(Bf(t))return Object.assign(Object.assign({},a.omit(["settings"],e)),{children:t,allowBackdropToClose:e.settings.allowBackdropToClose,styles:e.styles?Uf(e.styles):void 0});throw lf("Overlay",`Invalid schema: ${JSON.stringify(e)}`)}function qf(e){const t=e.children.map((e=>fh(e)));if(eh(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("CloseButton",`Invalid schema: ${JSON.stringify(e)}`)}function Kf(e){const t=e.children.map((e=>fh(e)));if(nh(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("CreativeResponse",`Invalid schema: ${JSON.stringify(e)}`)}function Wf(e){const t=e.children.map((e=>fh(e)));if(eh(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("ProgressControl",`Invalid schema: ${JSON.stringify(e)}`)}const Yf=a.pipe(Af,Of,kf,Vf,Tf);const Jf=a.all(a.anyPass([_f,Rf,Hf,Pf,Nf,function(e){return"Row"===e.type&&Xf(e.node.children)},function(e){return"FlowRow"===e.type&&Xf(e.node.children)},function(e){return"Column"===e.type&&Xf(e.node.children)},function(e){return"ZStack"===e.type&&Xf(e.node.children)},function(e){return"When"===e.type&&Xf(e.node.children)}]));function Xf(e){return Jf(e)}const Qf=a.all(a.anyPass([_f,Rf,Hf,function(e){return"Row"===e.type&&eh(e.node.children)},function(e){return"FlowRow"===e.type&&eh(e.node.children)},function(e){return"Column"===e.type&&eh(e.node.children)},function(e){return"ZStack"===e.type&&eh(e.node.children)},function(e){return"When"===e.type&&eh(e.node.children)}]));function eh(e){return Qf(e)}const th=a.all(a.anyPass([_f,Rf,Hf,Pf,Nf,function(e){return"Row"===e.type&&nh(e.node.children)},function(e){return"FlowRow"===e.type&&nh(e.node.children)},function(e){return"Column"===e.type&&nh(e.node.children)},function(e){return"ZStack"===e.type&&nh(e.node.children)},function(e){return"When"===e.type&&nh(e.node.children)}]));function nh(e){return th(e)}function ih(e){const t=e.children.map((e=>fh(e)));if(Xf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("StaticLink",`Invalid schema: ${JSON.stringify(e)}`)}function ah(e){const t=e.children.map((e=>fh(e)));if(nh(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("CatalogResponseButton",`Invalid schema: ${JSON.stringify(e)}`)}function oh(e){return"Row"===e.type&&lh(e.node.children)}function rh(e){return"Column"===e.type&&lh(e.node.children)}const sh=a.all(a.anyPass([_f,Rf,Hf,Pf,Nf,Ff,function(e){return"StaticLink"===e.type},$f,Zf,function(e){return"CatalogResponseButton"===e.type},oh,function(e){return"FlowRow"===e.type&&lh(e.node.children)},rh,function(e){return"ZStack"===e.type&&lh(e.node.children)},function(e){return"When"===e.type&&lh(e.node.children)}]));function lh(e){return sh(e)}const ch=a.anyPass([oh,rh]);function dh(e){const t=fh(e.template);if(function(e){return ch(e)}(t))return Object.assign(Object.assign({},e),{template:t,styles:e.styles?jf(e.styles):void 0});throw lf("CatalogStackedCollection",`Invalid schema: ${JSON.stringify(e)}`)}function uh(e){const t=e.children.map((e=>fh(e)));if(Xf(t))return Object.assign(Object.assign({},e),{children:t,styles:e.styles?jf(e.styles):void 0});throw lf("ToggleButtonStateTrigger",`Invalid schema: ${JSON.stringify(e)}`)}function ph(e){const t=e.transition?{inTransition:e.transition.in,outTransition:e.transition.out}:void 0;return Object.assign(Object.assign({},e),{children:e.children.map((e=>fh(e))),transition:t})}function fh(e){switch(e.type){case"Row":return{type:e.type,node:(m=e.node,Object.assign(Object.assign({},m),{children:m.children.map((e=>fh(e))),styles:m.styles?jf(m.styles):void 0}))};case"When":return{type:e.type,node:ph(e.node)};case"FlowRow":return{type:e.type,node:(y=e.node,Object.assign(Object.assign({},y),{styles:y.styles?jf(y.styles):void 0,children:y.children.map((e=>fh(e)))}))};case"Column":return{type:e.type,node:(C=e.node,Object.assign(Object.assign({},C),{children:C.children.map((e=>fh(e))),styles:C.styles?jf(C.styles):void 0}))};case"ZStack":return{type:e.type,node:(v=e.node,Object.assign(Object.assign({},v),{styles:v.styles?jf(v.styles):void 0,children:v.children.map((e=>fh(e)))}))};case"Overlay":return{type:e.type,node:zf(e.node)};case"ProgressControl":return{type:e.type,node:Wf(e.node)};case"CarouselDistribution":return{type:"CarouselDistribution",node:(h=e.node,Object.assign(Object.assign({},a.omit(["settings"],h)),{viewableItems:h.settings.viewableItems,peekThroughSize:h.settings.peekThroughSize,styles:h.styles?jf(h.styles):void 0}))};case"CloseButton":return{type:"CloseButton",node:qf(e.node)};case"CreativeResponse":return{type:"CreativeResponse",node:Kf(e.node)};case"GroupedDistribution":return{type:"GroupedDistribution",node:(f=e.node,Object.assign(Object.assign({},a.omit(["settings"],f)),{viewableItems:f.settings.viewableItems,transition:f.settings.transition,styles:f.styles?jf(f.styles):void 0}))};case"OneByOneDistribution":return{type:"OneByOneDistribution",node:(p=e.node,Object.assign(Object.assign({},p),{styles:p.styles?jf(p.styles):void 0}))};case"ProgressIndicator":return{type:"ProgressIndicator",node:(d=e.node,Object.assign(Object.assign({},a.omit(["settings"],d)),{startPosition:null===(u=d.settings)||void 0===u?void 0:u.startPosition,styles:d.styles?Yf(d.styles):void 0}))};case"SlideStateTrigger":return{type:"SlideStateTrigger",node:(c=e.node,Object.assign(Object.assign({},c),{styles:c.styles?jf(c.styles):void 0}))};case"StackedDistribution":return{type:"StackedDistribution",node:(l=e.node,Object.assign(Object.assign({viewableItems:[]},l),{styles:l.styles?jf(l.styles):void 0}))};case"StaticLink":return{type:"StaticLink",node:ih(e.node)};case"ToggleButtonStateTrigger":return{type:"ToggleButtonStateTrigger",node:uh(e.node)};case"CatalogResponseButton":return{type:"CatalogResponseButton",node:ah(e.node)};case"CatalogStackedCollection":return{type:"CatalogStackedCollection",node:dh(e.node)};case"RichText":return{type:"RichText",node:(s=e.node,Object.assign(Object.assign({},s),{styles:s.styles?Tf(s.styles):void 0}))};case"DataImage":return{type:"DataImage",node:(r=e.node,Object.assign(Object.assign({},r),{styles:r.styles?Tf(r.styles):void 0}))};case"StaticImage":return{type:"StaticImage",node:(o=e.node,Object.assign(Object.assign({},o),{styles:o.styles?Tf(o.styles):void 0}))};case"DataIcon":return{type:"DataIcon",node:(i=e.node,Object.assign(Object.assign({},i),{styles:i.styles?Tf(i.styles):void 0}))};case"StaticIcon":return{type:"StaticIcon",node:(n=e.node,Object.assign(Object.assign({},n),{styles:n.styles?Tf(n.styles):void 0}))};case"BasicText":return{type:"BasicText",node:(t=e.node,Object.assign(Object.assign({},t),{styles:t.styles?Tf(t.styles):void 0}))};default:return e}var t,n,i,o,r,s,l,c,d,u,p,f,h,v,C,y,m}function hh(e){const t=e.split("."),n=Number(t[0]),i=Number(t[1]);if(t.length<2||Number.isNaN(n)||Number.isNaN(i))throw Error(`Fail to convert version ${e} to a valid version.`);return{major:n,minor:i}}function vh(e,t){return e.major===t.major&&e.minor===t.minor}const Ch=(e,t,n)=>a.allPass([a.lte(e),a.gte(t)])(n);function yh(e,t){return vh(t,{major:0,minor:0})?yh(gp(e),{major:0,minor:1}):function(e,t){return 0===t.major&&Ch(1,23,t.minor)}(0,t)?yh(sf(e),{major:1,minor:0}):e}function mh(e,t){return vh(t,{major:0,minor:0})?mh(function(e){return Object.assign(Object.assign({},e),{layout:gp(e.layout)})}(e),{major:0,minor:1}):function(e,t){return 0===t.major&&Ch(1,23,t.minor)}(0,t)?mh(function(e){return Object.assign(Object.assign({},e),{layout:sf(e.layout)})}(e),{major:1,minor:0}):e}function gh(e,t,n,i){const a=hh(n);if(i){const s=hh(i);if(r=a,(o=s).major<r.major||o.major===r.major&&o.minor<r.minor||vh(s,a))return t(e,s);throw Error(`Could not migrate received layout config, config schema version ${i} is higher than the supported version ${n}.`)}return t(e,hh("0.0"));var o,r}function bh(e){var t;try{return Object.assign(Object.assign({},a.clone(e)),{offer:Object.assign(Object.assign({},a.clone(e.offer)),{creative:ap(e.offer.creative),transactionData:sp(e.offer.transactionData)}),layoutVariant:Object.assign(Object.assign({},a.clone(e.layoutVariant)),{layoutVariantSchema:"string"==typeof e.layoutVariant.layoutVariantSchema?lp(e.layoutVariant.layoutVariantSchema,"LayoutSlotLayoutVariant",e.instanceGuid):e.layoutVariant.layoutVariantSchema,childLayouts:a.map(Eh,null!==(t=e.layoutVariant.childLayouts)&&void 0!==t?t:[])})})}catch(t){throw t.message?t:ip("Slot",e.instanceGuid)}}function Eh(e){return Object.assign(Object.assign({},a.clone(e)),{childLayoutSchema:"string"==typeof e.childLayoutSchema?lp(e.childLayoutSchema,"ChildLayoutRootSchema",e.childLayoutId):e.childLayoutSchema})}function Ih(e){if(e){const t=function(e){try{return Object.assign(Object.assign({},a.clone(e)),{outerLayoutSchema:"string"==typeof e.outerLayoutSchema?lp(e.outerLayoutSchema,"LayoutRootLayoutSchema",e.instanceGuid):e.outerLayoutSchema,slots:a.map(bh,e.slots)})}catch(t){throw t.message?t:ip("LayoutConfig",e.instanceGuid)}}(e);return function(e,t){const{layoutSchemaVersion:n}=e,i=a.lensPath(["outerLayoutSchema"]),o=a.lensPath(["slots"]),r=a.lensPath(["layoutVariant","layoutVariantSchema"]);return a.pipe(a.over(o,a.map(a.over(r,(e=>gh(e,yh,t,n))))),a.over(i,(e=>gh(e,mh,t,n))))(e)}(t,Tl.DCUI_SCHEMA_VERSION)}}const xh=["add-to-cart"];function Lh(e){var t;return(null!==(t=e.offer.catalogItems)&&void 0!==t?t:[]).map((e=>e.cartItemId)).filter((e=>"string"==typeof e))}function*Dh(e){const{cartItemId:t,quantity:n}=e;if(n<=0)return;const i=yield r.select((({slots:e})=>e));if(0===i.length)return;const a=i.filter((e=>xh.some((t=>t===e.layoutVariant.moduleName))));if(0===a.length)return;const o=M(t);if(!a.some((e=>Lh(e).some((e=>M(e)===o)))))return;i.some((e=>Lh(e).some((e=>e===t))))||(yield r.put({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:O(t)}}),yield r.put({type:Le,payload:{name:"UPDATE_CART_ITEM_MESSAGE",body:O(t)}}),yield r.put({type:as,payload:{level:K,code:k,message:`Catalog item not found for cart item id (${t})`}}))}function*wh(e){const t=s.eventChannel((t=>{const n=e.onEvent(ic.V2.PartnerMessage.UpdateCartItem).subscribe((e=>{V(e)&&t(e)}));return()=>{n.unsubscribe()}}));try{for(;;){const e=yield r.take(t);try{yield r.call(Dh,e)}catch(e){yield r.put({type:as,payload:{level:K,code:k,message:null==e?void 0:e.message}})}}}finally{t.close()}}const Sh=a.cond([[a.where({signalType:a.equals("SignalSecondaryResponse")}),function*(e,t){return yield r.put({type:as,payload:{level:Al,code:Nl,message:"DCUI does not support SignalSecondaryResponse creative response signal type.",additionalInformation:{instanceGuid:e.instanceGuid}}}),e.isPositive?"ERROR":"EXPLICIT_DISMISSAL"}],[a.where({isPositive:a.equals(!0)}),function*(e,t,n,i){var a,o;if("url"in e&&e.url){const s=e.instanceGuid;"SignalProductItemResponse"===e.signalType&&(ue(o=i.payload)&&"catalogItemId"in o&&"productSku"in o&&"catalogId"in o&&"accountID"in o&&"string"==typeof o.catalogItemId&&"string"==typeof o.productSku&&"string"==typeof o.catalogId&&"string"==typeof o.accountID)?yield r.put({type:Ce,payload:{name:"SignalProductItemResponse",parentGuid:s,objectData:{catalogItemId:i.payload.catalogItemId,productSku:i.payload.productSku,catalogId:i.payload.catalogId,accountId:i.payload.accountID}}}):yield r.put({type:Ce,payload:{name:j(e.signalType),parentGuid:s,responseActionPayload:{name:"Url",transformedTrafficURL:e.url,creativeInstanceGuid:e.creativeInstanceGuid}}});const l=t.getOverrideLinkNavigation()?"overrideLinkNavigation":null!==(a=e.urlBehavior)&&void 0!==a?a:"newTab",c=yield*function*(e,t,n){try{const i=yield r.call(pc,t),a=Cc(i)?i.ref:void 0;return yield r.call(e.addAdvertiserWindowRef,a,n),Cc(i)||"newTab"!==t.urlBehavior?"SUCCESS":(yield r.put({type:as,payload:{level:Al,code:Fl,message:`Did not receive a window reference opening link ${t.url}`}}),"UNSPECIFIED")}catch(e){return yield r.put({type:as,payload:{level:Al,code:Fl,message:`Errored attempting to open link ${t.url}: ${e.message}`,stack:e.stack}}),"ERROR"}}(t,{url:e.url,urlBehavior:l,external:{partner:n}},s);return"self"===l?"END":c}return yield r.put({type:as,payload:{level:Al,code:Nl,message:"URL response doesn't have a valid url",additionalInformation:{instanceGuid:e.instanceGuid}}}),"ERROR"}],[a.T,function*(){return"EXPLICIT_DISMISSAL"}]]);function*Ah(e){return yield r.put({type:as,payload:{level:Al,code:Nl,message:"DCUI does not support SignalSecondaryResponse creative response signal type.",additionalInformation:{instanceGuid:e.instanceGuid}}}),e.isPositive?"ERROR":"EXPLICIT_DISMISSAL"}function*Th(e,t){let n="IMPLICIT_DISMISSAL";const i=t.payload.offerPositionIndex,a=ue(t.payload)||pe(t.payload)||de(t.payload)?t.payload:t.payload.responseOption;switch(a.action){case"Url":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),a.isPositive&&(yield r.put({type:os,payload:{code:"CREATIVE_RESPONSE",message:"creative positive response",data:{type:a.action,isPositive:a.isPositive,responseInstanceGuid:a.instanceGuid}}}),yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),n="SignalSecondaryResponse"===a.signalType?yield*Ah(a):yield*Sh(a,e.context,e.partner,t);break;case"CaptureOnly":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),a.isPositive&&(yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),n="SignalSecondaryResponse"===a.signalType?yield*Ah(a):yield*function*(e){return yield r.put({type:Ce,payload:{name:j(e.signalType),parentGuid:e.instanceGuid,responseActionPayload:{name:"CaptureOnly",creativeInstanceGuid:e.creativeInstanceGuid}}}),e.isPositive?"SUCCESS":"EXPLICIT_DISMISSAL"}(a);break;case"Fulfillment":yield r.put({type:as,payload:{level:Al,code:"INCORRECTLY_HANDLE_FULFILLMENT_ACTION",message:`Fulfillment action is incorrectly handled by the orchestrator instead of a module with the option ID: ${a.instanceGuid}`}}),n="ERROR";break;case"ExternalPaymentTrigger":if("SignalOptInResponse"===a.signalType){yield r.put({type:Ce,payload:{name:"SignalOptInResponse",parentGuid:a.instanceGuid,responseActionPayload:{name:"ExternalPaymentTrigger"}}});break}yield r.put({type:as,payload:{level:Al,code:"INCORRECTLY_HANDLE_EXTERNAL_ACTION",message:`External action was dispatched as an engagement erroneously. Instance GUID: ${a.instanceGuid}`}}),n="ERROR"}fe(t.payload)||(yield r.put(function(e,t){switch(e){case"SUCCESS":return{type:wu,payload:{event:"Completed",completionReason:"Success",offerPositionIndex:t}};case"UNSPECIFIED":return{type:wu,payload:{event:"Completed",completionReason:"Unspecified",offerPositionIndex:t}};case"ERROR":return{type:wu,payload:{event:"Completed",completionReason:"Error",offerPositionIndex:t}};case"EXPLICIT_DISMISSAL":return{type:wu,payload:{event:"Dismissed",dismissalReason:"Explicit",offerPositionIndex:t}};case"IMPLICIT_DISMISSAL":return{type:wu,payload:{event:"Dismissed",dismissalReason:"Implicit",offerPositionIndex:t}};default:return{type:xu,payload:{offerProcessStatus:"END"}}}}(n,i)))}function jh(e,t,n,i){return s.eventChannel((a=>(i().then((e=>Promise.all([t.getRoktPageInstanceGuid(),(t.getUId||t.getPluginInstanceId)()]).then((([t,n])=>Object.assign(Object.assign({},e),{pageInstanceGuid:t,pluginInstanceId:n}))).catch((()=>e)))).then((({moduleConnectorBuilder:t,pageInstanceGuid:i,pluginInstanceId:o})=>{const r=`rokt-${n}-${o}`.toLowerCase();if(!customElements.get(r)){const o=t.withGatewayFactory(e).withLogger((e=>{a({type:as,payload:{level:e.level,code:e.code,message:e.message,additionalInformation:Object.assign(Object.assign({},e.additionalInformation),{moduleName:n,layoutType:"LayoutVariant",pageInstanceGuid:null!=i?i:"N/A"})}})})).build();customElements.define(r,o)}})).catch((e=>{const t=e&&"object"==typeof e&&"message"in e?e.message:void 0,i=e&&"object"==typeof e&&"stack"in e?e.stack:void 0;a({type:as,payload:{level:z,code:"FAILED_TO_LOAD_MODULE",message:t,additionalInformation:{stack:i,reason:t?void 0:e,moduleName:n}}}),a(s.END)})),()=>{})))}const Mh={"standard-marketing":()=>Promise.resolve().then((function(){return eC})),"add-to-cart":()=>Promise.resolve().then((function(){return Ly})),"instant-purchase":()=>Promise.resolve().then((function(){return Tb})),"layouts-xp-sandbox":()=>Promise.resolve().then((function(){return sE}))};function*Oh(e,t,n){let i=yield r.select((e=>e.module.loadedModules));for(const a of n.payload.modules)i&&!(null==i?void 0:i.includes(a))&&(i=[...i,a],yield r.fork(kh,e,t,a))}function*kh(e,t,n){if(n in Mh){yield r.put({type:yu,payload:n});const i=yield r.call(jh,e,t,n,Mh[n]);yield r.call(_l,i)}else yield r.put({type:as,payload:{level:wl,code:"INVALID_MODULE_NAME",message:`Could not load unknown module ${n}`}})}function*Vh(e){const t=yield r.select((e=>vp.getDistributionViewableItems(e.layout?vp.getDistribution(e.layout.layoutSchema):void 0))),n=yield r.select((n=>{var i;const a=Es(e.payload.activeBreakpoint)(n);return a>=0&&t?null!==(i=t[Math.min(t.length-1,a)])&&void 0!==i?i:1:void 0}));if("number"==typeof n){const e={type:Iu,payload:{groupSize:n}};yield r.put(e)}}const Rh=a.cond([[(e,t,n,i,a)=>"END"===e.offerProcessStatus,a.always({type:qr})],[(e,t,n,i,a)=>!0===e.isNegativeResponse&&"ALWAYS"===i,a.always({type:qr})],[(e,t,n,i,a)=>t.isLastOffer&&n,a.always({type:qr})],[(e,t,n,i,a)=>1===a&&!t.isLastOffer,a.always({type:bu})],[a.T,a.always(void 0)]]);function*Hh(e,t){yield r.put({type:Su,payload:{key:P,value:1}}),t&&(yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:e,dismissalMethod:ns}})),yield r.put({type:Le,payload:{name:"PLACEMENT_COMPLETED"}})}function*_h(e){const t=yield r.select((e=>({exists:null!==e.progression,isLastOffer:Pu(e)}))),n=yield r.select((e=>{var t;return null===(t=e.progression)||void 0===t?void 0:t.groupSize}));var i;null!=(i=t)&&i instanceof Object&&"exists"in i&&"isLastOffer"in i&&t.exists&&(yield*function*(e,t,n){const i=yield r.select((e=>e.settings.closeOnComplete)),a=yield r.select((e=>e.settings.closeOnNegativeResponse)),o=Rh(e,t,"boolean"==typeof i&&i,function(e){return"string"==typeof e?e:"NEVER"}(a),n),s=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid})),l=!0===(yield r.select((e=>e.settings.minimizeOnComplete)))&&null!=s;if(o){if(o.type===qr){if(l&&t.isLastOffer&&null!=s)return void(yield*Hh(s,!0===e.isNegativeResponse));yield r.put({type:Le,payload:{name:"PLACEMENT_COMPLETED"}})}yield r.put(o)}else l&&t.isLastOffer&&null!=s&&(yield*Hh(s,!0===e.isNegativeResponse))}(e.payload,t,n))}function Ph(e){return e.type===wu&&"Interactive"===e.payload.event}function Nh(e){return e.type===wu&&"Interactive"!==e.payload.event}function*Fh(e){switch(e.payload.event){case"Dismissed":yield r.put({type:xu,payload:{offerProcessStatus:"CONTINUE",isNegativeResponse:"Explicit"===e.payload.dismissalReason}});break;case"Completed":yield r.put({type:Su,payload:{key:H,value:a.cond([[a.equals("Error"),a.always(-1)],[a.equals("Success"),a.always(1)],[a.T,a.always(2)]])(e.payload.completionReason),offerPositionIndex:e.payload.offerPositionIndex}}),yield r.put({type:xu,payload:{offerProcessStatus:"CONTINUE"}});break;case"Interactive":yield r.put({type:se,payload:{name:"Interactive",offerPositionIndex:e.payload.offerPositionIndex}}),yield r.put({type:Le,payload:{name:"PLACEMENT_INTERACTIVE"}})}}function*$h(e,t){var n;try{const n=yield r.select((e=>{var t,n,i;return null!==(i=null===(n=null===(t=e.layout)||void 0===t?void 0:t.settings)||void 0===n?void 0:n.enablePartnerValidation)&&void 0!==i&&i}));n&&(yield r.call(e.partner.send,rc.PartnerValidationEvent.SET_PARTNER_VALIDATION_STATUS,{errors:t.payload.errors}))}catch(i){const a=yield r.select((({slots:e})=>{var n,i;return"number"==typeof t.payload.offerPositionIndex?null!==(i=null===(n=e.at(t.payload.offerPositionIndex))||void 0===n?void 0:n.layoutVariant.moduleName)&&void 0!==i?i:"Unknown":"orchestrator"})),o=null!==(n=yield r.call(e.context.getRoktPageInstanceGuid))&&void 0!==n?n:"N/A",s={type:as,payload:{level:K,code:"PARTNER_VALIDATION_UPDATE_FAILED",message:"Failed to update the partner with error status",additionalInformation:{moduleName:a,layoutType:"number"==typeof t.payload.offerPositionIndex?"LayoutVariant":"OuterLayout",pageInstanceGuid:o}}};yield r.put(s)}}function*Zh(e){const t=yield r.select((e=>{var t;return null===(t=e.layout)||void 0===t?void 0:t.instanceGuid}));yield r.put({type:ju.ACTIVE_DELETE,payload:{id:e.payload.id}}),yield r.put({type:qr}),t?(yield r.put({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:t}}),yield r.put({type:Ce,payload:{name:"SignalDismissal",parentGuid:t}})):yield r.put({type:as,payload:{level:Sl,code:$l,message:"ParentGuid does not exist"}})}function*Gh(e){var t;const n=e.payload.action;switch(n.type){case"Close":yield r.put({type:Ve,payload:{id:Re,dismissalMethod:null!==(t=n.action.dismissalMethod)&&void 0!==t?t:void 0}});break;case"SetCustomState":yield r.put({type:be,payload:{key:n.action.key,value:n.action.value}})}}function*Bh(e,t){yield r.all([r.takeEvery(as,Pl.bind(null,e.errorService.raise)),r.spawn(wh,e.partnerInteractionService),r.takeLatest(zr,yp.bind(null,{display:e.displayService,partner:e.partnerInteractionService})),r.takeEvery(mu,Oh.bind(null,t,e.contextService)),r.takeLatest(Au,Th.bind(null,{partner:e.partnerInteractionService,context:e.contextService})),r.takeEvery(xu,_h),r.takeEvery(Nh,Fh),Hl(Ph,Fh),r.takeLatest(Zr,Ql.bind(null,e.displayService)),r.takeLatest(qr,Oc.bind(null,e.contextService)),r.takeLatest(Du,Zh),r.takeLatest(Ve,ld),r.takeEvery(Ce,Nc),r.takeEvery(Se,Fc),Rl(se,rd.bind(null,e.metricsService)),Rl(ts,$c.bind(null,e.rdnService)),r.takeEvery(os,Pc.bind(null,e.errorService.raise)),r.takeLatest(Fr,Vh),r.takeEvery(be,nd),r.takeEvery(ad,od),r.takeEvery(He,Gh),r.takeEvery(Ae,sd.bind(null,{createChildPlugin:e.childPlugin.create,partner:e.partnerInteractionService,context:e.contextService})),r.takeLatest(Te,$h.bind(null,{partner:e.partnerInteractionService,context:e.contextService}))])}var Uh,zh,qh,Kh,Wh,Yh,Jh=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},Xh=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)};const Qh={[Be.SET_CUSTOM_STATE]:ju.SET_CUSTOM_STATE,[Be.SET_DOMAIN_STATE]:ju.SET_DOMAIN_STATE,[Be.SET_GLOBAL_OFFER_DATA_CART]:ju.SET_GLOBAL_OFFER_DATA_CART,[Be.OFFER_LIFECYCLE]:Mu.OFFER_LIFECYCLE,[Be.OFFER_ENGAGEMENT]:Mu.OFFER_ENGAGEMENT,[Be.SET_PARTNER_VALIDATION_STATUS]:Mu.SET_PARTNER_VALIDATION_STATUS,[Be.REGISTER_FORM_FIELD]:ju.REGISTER_FORM_FIELD,[Be.UNREGISTER_FORM_FIELD]:ju.UNREGISTER_FORM_FIELD,[Be.SET_FORM_FIELD_VALUE]:ju.SET_FORM_FIELD_VALUE,[Be.SET_FORM_FIELD_TOUCHED]:ju.SET_FORM_FIELD_TOUCHED,[Be.VALIDATE_FORM_FIELDS]:ju.VALIDATE_FORM_FIELDS};class ev{constructor(e){Uh.add(this),zh.set(this,void 0),Jh(this,zh,e,"f")}getState(e){const t=Xh(this,zh,"f").getState();return{breakpoint:t.breakpoint,progression:Nu(t),customStates:xs(t,e.offerPositionIndex),domainStates:Fu(t,e.offerPositionIndex),firedEvents:Ls(t,e.offerPositionIndex),formStates:ws(t,e.offerPositionIndex)}}dispatch(e,t){Xh(this,zh,"f").dispatch(Xh(this,Uh,"m",Yh).call(this,e,t))}subscribe(e,t){return t(this.getState(e)),Xh(this,zh,"f").subscribe((()=>{t(this.getState(e))}))}}function tv(e,t){const n=s(),i={},a=l.configureStore({reducer:Hu,devTools:{name:"Orchestrator"},preloadedState:Object.assign(Object.assign({},_u()),t),middleware:e=>{return e({thunk:!1,serializableCheck:!1}).concat((t=i,e=>e=>n=>{if("object"==typeof n&&null!==n&&"type"in n){const i=n.type,a=t[`${i}`];return e(a?a(n):n)}return e(n)}),n);var t}}),o=(r=function(e){return new ev(e)}(a),c=e.childPlugin.create,d=e.partnerInteractionService.onEvent,u=()=>a.getState().fonts,(e,t)=>new mi(r,c,e,t,d,u));var r,c,d,u;n.run(Bh,e,o),n.run(Hc,e,Ih);const p={};return Object.assign(Object.assign({},a),{extend:({reducer:t,interceptors:o,sagas:r})=>{t&&(Object.assign(p,t),a.replaceReducer(l.combineReducers(Object.assign(Object.assign({},Hu),p)))),o&&Object.assign(i,o),r&&n.run(r,e)}})}zh=new WeakMap,Uh=new WeakSet,qh=function(e,t,n){return{type:e,payload:Object.assign(Object.assign({},t),{offerPositionIndex:n.offerPositionIndex,creativeInstanceGuid:n.creativeInstanceGuid})}},Kh=function(e,t){return Object.assign(Object.assign({},t),{payload:Object.assign(Object.assign({},t.payload),{offerPositionIndex:e.offerPositionIndex,creativeInstanceGuid:e.creativeInstanceGuid})})},Wh=function(e,t){return t.type===Se?t.payload.signal.parentGuid||(t.payload.signal.parentGuid=e.creativeInstanceGuid):(t.payload.creativeInstanceGuid=e.creativeInstanceGuid,t.payload.parentGuid||(t.payload.parentGuid=e.creativeInstanceGuid)),t},Yh=function(e,t){return function(e){return e.type in Qh}(t)?Xh(this,Uh,"m",qh).call(this,Qh[t.type],t.payload,e):t.type===Ce||t.type===Se?Xh(this,Uh,"m",Wh).call(this,e,t):t.type===we?Xh(this,Uh,"m",Kh).call(this,e,t):t};var nv=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const iv={ctx:new Map([[Kd.name,Kd],[Gd.name,Gd],[Vd.name,Vd],[Ud.name,Ud],[Cu.name,Cu]]),cache:[]};class av{constructor(){this._subscribers=[]}add(e){this._subscribers.push(e)}unsubscribe(){this._subscribers.forEach((e=>e.unsubscribe()))}}const ov=()=>{},rv=(e=ov,t=ov,n=ov)=>"function"!=typeof e?e:{next:e,error:t,complete:n};class sv{constructor(e){this._setupFn=e}subscribe(e,t,n){const i=rv(e,t,n);let a,o=!0;const r={next:e=>{o&&i.next(e)},complete:()=>{o&&(a&&a(),i.complete(),o=!1)},error:e=>{o&&(i.error(e),o=!1)}};a=this._setupFn(r),o||a&&a();const s=new av;return s.add({unsubscribe:()=>{a&&a(),o=!1}}),s}}class lv extends sv{constructor(){super((e=>(this._isComplete&&e.complete(),this._observers.push(e),()=>this._observers=this._observers.filter((t=>t!==e))))),this._observers=[],this._isComplete=!1}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){this._isComplete=!0;for(const e of this._observers)e.complete()}asObservable(){return new sv((e=>{const t=this.subscribe(e);return()=>t.unsubscribe()}))}}const cv={CompletedBeforeEmit:"CompletedBeforeEmit"};var dv=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};class uv{constructor(e,t){this._target=e,this._handler=t}subscribe(e,t,n){const i=e.next?e.next.bind(e):e,a={next:(...e)=>dv(this,void 0,void 0,(function*(){try{yield i(...e)}catch(e){this._handler(e)}})),error:e.error?e.error.bind(e):t,complete:e.complete?e.complete.bind(e):n};return this._target.subscribe(a)}}class pv{constructor(e){this.value=e,this.complete=!1,this.skip=!1}}var fv=function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}l((i=i.apply(e,t||[])).next())}))};const hv={getBreakpointCSSClass:oe},vv="CHILD_LAYOUTS/ADD_LAUNCHED",Cv="DYNAMIC_DATA/ADD";function yv(e={launched:{}},t){if(t.type===vv){const n=t.payload;return n.childLayoutId?a.assocPath(["launched",n.childLayoutId],n.shouldRelaunch,e):e}return e}function mv(e=null,t){return e}function gv(e=null,t){if(t.type===Cv){const n=t.payload;return e?n?a.mergeDeepRight(e,n):e:n}return e}function bv(e,t){var n;return null===(n=e.childLayouts.launched[t])||void 0===n||n}function Ev(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer}function Iv(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.schemaVersion}function xv(e){var t;return null===(t=e.staticData)||void 0===t?void 0:t.position}const Lv=Object.freeze({});function Dv(e){var t;return(null===(t=e.dynamicData)||void 0===t?void 0:t.text)?e.dynamicData.text:Lv}const wv="FAILED_TO_LAUNCH_CHILD_LAYOUT",Sv="DROPPED_CHILD_BEHAVIOR",Av=new Map;function*Tv(e,t,n){var i;if(yield null===(i=r.select(bv,n.payload.childLayoutId))||void 0===i||i){yield r.put({type:vv,payload:{childLayoutId:n.payload.childLayoutId,shouldRelaunch:!1}});const i=yield r.select(Iv),o=yield r.select(Ev),s=yield r.select(xv),l=yield r.select(Dv);try{const c=(a=function(e,t,n,i,a){return{instanceGuid:e.instanceGuid,childLayoutId:e.childLayoutId,childLayoutSchema:e.childLayoutSchema,offer:t,layoutSchemaVersion:n,content:{text:i},globalState:a}}(n.payload,o,i,l,function(e){let t;return e.onGlobalStateChange((e=>{t=null!=t?t:jv(e)}))(),t}(e)),JSON.parse(JSON.stringify(a)));try{const i=yield r.call(e.createChildPlugin,{name:"dcui-child",config:c,targetElementSelector:n.payload.targetElementSelector});yield r.spawn(Ov,e,t,i,{offer:o,offerPositionIndex:s})}catch(e){yield r.call(t,{level:K,code:wv,message:"Could not launch child layout, failed creating plugin."})}}catch(e){yield r.call(t,{level:K,code:wv,message:"Could not launch child layout, failed to make the child layout config serializable."})}}var a}function jv(e){return{progression:e.progression,customStates:e.customStates,domainStates:e.domainStates,firedEvents:e.firedEvents,formStates:e.formStates}}function Mv(e,t){const n=Ye[e.type];return n&&n(e.payload)?e.type===He?Object.assign(Object.assign({},e),{payload:Object.assign(Object.assign({},e.payload),{offer:t.offer,offerPositionIndex:t.offerPositionIndex})}):e:null}function*Ov(e,t,n,i){const o=new Set,l=n.onClose().catch((()=>{}));let c,d;const u=e=>{var t;d=e,n.send(ze,(t=e,{version:1,payload:t})).catch((()=>{d===e&&(d=void 0)}))},p=e.onGlobalStateChange((e=>{c=jv(e),a.equals(c,d)||u(c)})),f=s.eventChannel((e=>{const a=n.onEvent(Ue).subscribe((t=>e({kind:"behavior",envelope:t}))),o=n.onEvent(qe).subscribe((()=>e({kind:"ready"}))),r=n.onEvent(Ke).subscribe((e=>{Je(e)&&function(e){if("object"!=typeof e||null===e)return!1;const t=e;return We(t.requestKey)&&"ApplePay"===t.provider}(e.payload)?function(e,t){var n;const i=null===(n=Av.get(e))||void 0===n?void 0:n.get(t.requestKey);return!!i&&(i(t.provider),!0)}(i.offer.creative.instanceGuid,e.payload)||t({level:K,code:Sv,message:`Child layout device-pay request was dropped: no handler is registered for request key "${e.payload.requestKey}".`}):t({level:K,code:Sv,message:"Child layout device-pay request was dropped: malformed envelope or payload."})}));return()=>{a.unsubscribe(),o.unsubscribe(),r.unsubscribe()}}));try{for(;;){const e=yield r.race({message:r.take(f),closed:r.call((()=>l))});if(void 0===e.message)break;if("ready"!==e.message.kind){if(Je(e.message.envelope)){const n=e.message.envelope.payload,a=Mv(n,i);null!==a?yield r.put(a):o.has(String(null==n?void 0:n.type))||(o.add(String(null==n?void 0:n.type)),yield r.call(t,{level:K,code:Sv,message:`Child layout behavior "${String(null==n?void 0:n.type)}" was dropped: not in the wire contract or malformed payload.`}))}}else void 0!==c&&u(c)}}finally{p(),f.close(),(yield r.cancelled())&&n.close().catch((()=>{}))}}const kv={cursor:"pointer",paddingInline:0,paddingBlock:0};function Vv(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function Rv(t){var n;const i=En(),a=wn(),o=t.schema.responseKey||"positive",r=qi(),s=On(),l=Ri(),{tabIndex:c,styles:d,isDisabled:u}=b(l),p=null===(n=r.responseOptionsMap)||void 0===n?void 0:n[o];return p&&e.jsx(qa,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("button",{type:"button",tabIndex:c,"aria-disabled":u,disabled:u,style:Object.assign(Object.assign({},kv),d),"data-testid":t.testId,"data-e2e":"CatalogItemResponse-standard-marketing",onClick:e=>{e.preventDefault();const t=function(e,t,n){var i,a;return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,catalogItemId:n.catalogItemId,productSku:n.productSku||(null===(i=n.copy)||void 0===i?void 0:i["provider.productSku"])||"",catalogId:n.catalogId||(null===(a=n.copy)||void 0===a?void 0:a["provider.catalogId"])||""})}(s,p,r);i({type:le,payload:t})},className:null==n?void 0:n.own,children:Vv(t.schema.children,a,t.testId)})})}function Hv(n){const i=En(),a=On(),o=ti(),[r,s]=t.useState(!1),l=a.creative.responseOptionsMap.positive,c=a.creative.responseOptionsMap.negative,d=l?o({data:l},"creativeResponse"):o;function u(e){s(e);const t=e?l:c;if(!t||!L(t))return;const n=function(e,t){switch(t.action){case"Fulfillment":{const n=e.creative.fulfillment;if(x(n))return{fulfillment:n,responseOption:t,creativeInstanceGuid:e.creative.instanceGuid,accountID:e.accountId,referralCreativeID:e.creative.referralCreativeId};throw new Error(`Invalid Fulfillment: ${n} with referralCreativeID: ${e.creative.referralCreativeId}`)}case"Url":return Object.assign(Object.assign({},t),{accountID:e.accountId,creativeInstanceGuid:e.creative.instanceGuid,referralCreativeID:e.creative.referralCreativeId,urlBehavior:t.urlBehavior});default:return Object.assign(Object.assign({},t),{creativeInstanceGuid:e.creative.instanceGuid})}}(a,t);i({type:le,payload:n})}return e.jsx(ei,{value:d,children:e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>{var a;return e.jsxs("div",{className:null==i?void 0:i.own,style:{display:"flex",gap:"8px",flexDirection:"left"===n.schema.labelPosition?"row-reverse":"row"},children:[e.jsx("input",{"data-testid":n.testId,type:"checkbox",checked:r,onChange:e=>u(e.target.checked),style:{position:"absolute",opacity:0,width:0,height:0,margin:0,padding:0,overflow:"hidden"}}),e.jsx("div",{"data-e2e":"EscapeHatchCheckbox-standard-marketing",className:r&&(null==i?void 0:i.checkboxChecked)?`${null!==(a=i.checkbox)&&void 0!==a?a:""} ${i.checkboxChecked}`.trim():null==i?void 0:i.checkbox,onClick:()=>u(!r),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:r&&e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"20 6 9 17 4 12"})})}),n.schema.labelTemplate&&e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.labelTemplate.map(((t,i)=>e(t,void 0,re(i,`${n.testId}-label`)))))})]})}})})}const _v={low:"L",medium:"M",quartile:"Q",high:"H"};function Pv(e,t){return!!Array.isArray(e)&&e.some((e=>Object.values(null!=e?e:{}).some((e=>null!=e&&Boolean(t(e))))))}function Nv(e){var t;const n=e=>{var t;return null===(t=e.background)||void 0===t?void 0:t.backgroundColor};return Pv(null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.own,n)||function(e){const t=null==e?void 0:e.conditionalTransitions;return(Array.isArray(t)?t:[t]).map((e=>null==e?void 0:e.value)).filter((e=>null!=e))}(e).some((e=>{var t;return Boolean(n(null!==(t=e.own)&&void 0!==t?t:{}))}))}function Fv(n){var i;const[a,o]=t.useState(void 0),{value:r}=n,s=_v[null!==(i=n.schema.errorCorrectionLevel)&&void 0!==i?i:"medium"];if(t.useEffect((()=>{let e=!1;return import("qrcode-generator").then((({default:t})=>{if(e)return;const n=t(0,s);n.addData(r),n.make();const i=n.getModuleCount();let a="";for(let e=0;e<i;e+=1)for(let t=0;t<i;t+=1)n.isDark(e,t)&&(a+=`M${t+4} ${e+4}h1v1h-1z`);o({moduleCount:i,path:a})})).catch((()=>{e||o(void 0)})),()=>{e=!0}}),[r,s]),!a)return null;const l=a.moduleCount+8,c={};return Nv(n.schema.styles)||(c.backgroundColor="#FFFFFF"),function(e){var t;return Pv(null===(t=null==e?void 0:e.elements)||void 0===t?void 0:t.module,(e=>{var t;return null===(t=e.text)||void 0===t?void 0:t.textColor}))}(n.schema.styles)||(c.color="#101820"),e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:t?t.own:void 0,"data-e2e":"QrCode",role:"img","aria-label":n.schema.a11yLabel?n.resolve(n.schema.a11yLabel):"QR code — scan it with your phone to open this offer",viewBox:`0 0 ${l} ${l}`,width:4*l,height:4*l,shapeRendering:"crispEdges",style:Object.assign({display:"block",maxWidth:"100%",height:"auto",aspectRatio:"1 / 1"},c),children:e.jsx("path",{className:t?t.module:void 0,d:a.path,fill:"currentColor"})})})}function $v(t){var n;const i=On(),a=ti(),o=i.creative.responseOptionsMap[null!==(n=t.schema.responseKey)&&void 0!==n?n:"positive"],r=e=>{if(!e)return;const t=a(e);return t||(o?a({data:o},"creativeResponse")(e):void 0)},s=r(t.schema.value);return s&&function(e){try{return"https:"===new URL(e).protocol}catch(e){return!1}}(s)?e.jsx(Fv,{schema:t.schema,value:s,resolve:r}):null}const Zv={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(Rv,{schema:t.node,testId:n})},EscapeHatch:function(t){if("EscapeHatch"===t.type&&t.node.data){const n=JSON.parse(t.node.data);switch(null==n?void 0:n.type){case"Checkbox":return e.jsx(Hv,{schema:n.node});case"QrCode":return e.jsx($v,{schema:n.node});default:return}}}};function Gv(){const t=ki(),n=i.useSelector(Dv),a=ti(),o=wn(),r=a({state:n},"textContent");return e.jsx(ei,{value:r,children:e.jsx(Sn,{value:o,overrides:Zv,children:e.jsx(Dn,{children:e=>e(t)})})})}const Bv={staticData:mv,dynamicData:gv,childLayouts:yv};function Uv(e={}){return Object.assign({staticData:null,dynamicData:null,childLayouts:{launched:{}}},e)}function zv(e){let t,n,i;return s.eventChannel((a=>(Promise.race([e.onClose().then((()=>"CLOSED")),new Promise((n=>{t=e.onEvent("PLUGIN_TRANSITION_OFFER_SUCCESS").subscribe((()=>{n("SUCCESS")}))})),new Promise((t=>{n=e.onEvent("PLUGIN_TRANSITION_OFFER_CLOSE").subscribe((()=>{t("UNSPECIFIED")}))})),new Promise((e=>{i=e}))]).then((e=>{"END"!==e&&(a(e),a(s.END))})),()=>{null==t||t.unsubscribe(),null==n||n.unsubscribe(),i("END")})))}function qv(e){return"object"==typeof e&&null!==e&&Object.entries(e).every((([e,t])=>"string"==typeof e&&("string"==typeof t||qv(t))))}function*Kv(e,t,n,i,a){for(;;){switch(yield r.take(e)){case"CLOSED":t({type:ye,payload:{event:"Dismissed",dismissalReason:"Implicit"}});break;case"SUCCESS":if((n||i)&&a){yield r.call(a);break}t({type:ye,payload:{event:"Completed",completionReason:"Success"}});break;case"UNSPECIFIED":t({type:ye,payload:{event:"Completed",completionReason:"Unspecified"}})}}}function*Wv(e,t,n){if(ce(n)){const{responseOption:i,fulfillment:a}=n,o=fe(n),s=he(n);yield r.put({type:Ce,payload:{name:"SignalResponse",parentGuid:i.instanceGuid,responseActionPayload:{name:"Fulfillment"}}});const l=yield r.call(e.createChildPlugin.bind(e),a);if("object"==typeof l&&"onClose"in l&&"close"in l){const i=yield r.call(zv,l);if("object"==typeof i&&"take"in i){const a=function(e,t,n,i){if(n.responseOption.rclid)return function*(){yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_CONVERSION",body:{rclid:n.responseOption.rclid,accountID:n.accountID,referralCreativeID:n.referralCreativeID,rewardHandoff:n.responseOption.rewardHandoff}}}),yield r.call(Yv,e,t,i)}}(e,t,n,l);return void(yield r.call(Kv,i,e.globalDispatch.bind(e),o,s,a))}}yield r.call(t,{level:z,code:"UNEXPECTED_NEXT_VALUE_IN_SAGA",message:'Received an unexpected input at a step in the saga "handleFullfillmentResponse" and could not continue.'})}else yield r.call(t,{level:z,code:"INVALID_FULFILLMENT_PAYLOAD",message:`Fulfillment payload is invalid, fulfillment: ${n}`})}function*Yv(e,t,n){const i=function(e){return s.eventChannel((t=>{const n=e.onEvent({name:lc,source:"partner",callback:e=>{qv(e)&&t({eventName:lc,data:e})}},{name:cc,source:"partner",callback:e=>{qv(e)&&t({eventName:cc,data:e})}});return()=>{n()}}))}(e);try{for(;;){const a=yield r.take(i);switch(a.eventName){case lc:yield r.put({type:Le,payload:{name:lc,body:a.data}}),yield r.put({type:Cv,payload:{text:a.data}}),e.globalDispatch({type:ye,payload:{event:"Completed",completionReason:"Success"}});break;case cc:e.globalDispatch({type:ye,payload:{event:"Completed",completionReason:"Error"}}),n&&(yield r.call(n.close.bind(n)));break;default:t({level:z,code:"UNKNOWN_REALTIME_OFFER_FULFILLMENT_EVENT",message:`Unknown event: ${a.eventName}`})}}}catch(e){const n=e;t({level:K,code:"FAILED_TO_PROCESS_REALTIME_OFFER_FULFILLMENT_EVENT",message:null==n?void 0:n.message})}finally{(yield r.cancelled())&&i.close()}}function*Jv(e,t,n){const i=ue(n.payload)||pe(n.payload)||de(n.payload)?n.payload:n.payload.responseOption;switch(yield r.put({type:De,payload:{key:"offerEngaged",value:1}}),i.action){case"Url":yield r.call(e.globalDispatch.bind(e),n),(fe(n.payload)||he(n.payload))&&(yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_REFERRAL",body:{rclid:i.rclid,accountID:i.accountID,referralCreativeID:i.referralCreativeID,referralOnly:he(n.payload),rewardHandoff:i.rewardHandoff}}}),fe(n.payload)&&(yield r.call(Yv,e,t)));break;case"CaptureOnly":case"ExternalPaymentTrigger":yield r.call(e.globalDispatch.bind(e),n);break;case"Fulfillment":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),i.isPositive&&(yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),he(n.payload)&&(yield r.put({type:Le,payload:{name:"REALTIME_OFFER_FULFILLMENT_REFERRAL",body:{rclid:i.rclid,accountID:n.payload.accountID,referralCreativeID:n.payload.referralCreativeID,referralOnly:!0,rewardHandoff:i.rewardHandoff}}})),yield*Wv(e,t,n.payload)}}function*Xv(e,t){yield r.all([r.takeLatest(le,Jv.bind(null,e,t)),r.takeEvery(Me,Tv.bind(null,e,t)),r.takeEvery(He,Ml.bind(null,e,void 0)),r.takeEvery("*",jl.bind(null,[le,Me,He],e))])}Object.assign({},Be);const Qv=(new Ai).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=Uv({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion}}),d=function(e,t,n=Uv()){const i=s(),a=l.configureStore({reducer:Bv,devTools:{name:"Standard Marketing"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(Xv,e,t),a}(a.gateway,a.logger,c);r.render(e.jsx(t.StrictMode,{children:e.jsxs(Bi,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Ar,{}),e.jsx(i.Provider,{store:d,children:e.jsx(Dr,{settings:a,dispatch:d.dispatch,children:e.jsx(Gv,{})})})]})}))}}));var eC=Object.freeze({__proto__:null,moduleConnectorBuilder:Qv});const tC="CART/UPDATE",nC="CATALOG_ITEM/RESPONSE",iC="USER_CREATIVE_RESPONSE_HISTORY/ADD",aC=a.cond([[(e,t)=>0!==t,a.equals],[(e,t)=>!Number.isNaN(e)&&0===t,a.equals],[(e,t)=>Number.isNaN(e)&&0===t,a.F]]);function oC({isChecked:t,isDisabled:n,outerClassname:i,outerCheckedClassname:a,innerClassname:o,innerCheckedClassname:r}){return e.jsx("span",{style:{display:"flex"},children:e.jsx("span",{className:`${i} ${t?a:""}`,tabIndex:n?-1:1,style:{display:"flex",boxSizing:"border-box"},children:e.jsx("span",{className:`${o} ${t?r:""}`,style:{flex:1}})})})}const rC="catalogRadioGroup__label",sC=["Enter","Space"],lC={elements:{own:[],optionContainer:[],radioButtonInner:[{default:{border:{borderRadius:11},background:{backgroundColor:{light:"#FFF"}}}}],radioButtonInnerChecked:[{default:{background:{backgroundColor:{light:"#529ff4"}}}}],radioButtonOuter:[{default:{border:{borderRadius:16,borderColor:{light:"#999"},borderStyle:"solid",borderWidth:"1"},dimension:{width:{type:"fixed",value:16},height:{type:"fixed",value:16}},spacing:{padding:"4"}}}],radioButtonOuterChecked:[]}};function cC(e,t,n){return e.map(a.cond([[a.compose(a.equals("Required"),a.propOr("","type")),({value:e})=>Number.isNaN(n)&&t>0?e.message:""],[a.T,a.always("")]])).filter(a.isNotEmpty)}function dC({schema:n,testId:a}){var o;const r=i.useDispatch(),s=qi(),l=null!==(o=i.useSelector((e=>{var t,n;return s.cartItemId in e.cart?null!==(n=null===(t=e.cart[s.cartItemId])||void 0===t?void 0:t.quantity)&&void 0!==n?n:0:void 0})))&&void 0!==o?o:NaN,c=t.useMemo((()=>cC(n.validations,n.options.length,l)),[n.validations,n.options.length,l]),d=Ri(),{tabIndex:u,styles:p,isDisabled:f}=b(d);t.useEffect((()=>{f||r(uC(c))}),[]);const h=n.options.filter((({quantity:e})=>{var t,n;return e>=(null!==(t=s.minItemCount)&&void 0!==t?t:-1/0)&&e<=(null!==(n=s.maxItemCount)&&void 0!==n?n:1/0)}));function v(e){r({type:nC,payload:{catalogItem:s,quantity:e}});const t=cC(n.validations,n.options.length,e);r(uC(t))}return h.length>0?e.jsx(qa,{styles:n.styles?ae(lC,n.styles):lC,children:({classnames:n,mapperRef:i})=>e.jsx("div",{className:null==n?void 0:n.own,style:Object.assign({display:"flex",flexDirection:"column"},p),children:e.jsx(ii,{value:i(rC),children:t.Children.toArray(h.map(((t,i)=>{var o;const r=aC(l,t.quantity),c=e=>a?`${a}-option${i}${e}`:void 0;return e.jsxs("label",{tabIndex:u,"aria-disabled":f,style:{display:"flex"},className:`${rC} ${null!==(o=null==n?void 0:n.optionContainer)&&void 0!==o?o:""}`,onKeyDown:e=>{r||!sC.includes(e.code)||f||v(t.quantity)},"data-e2e":"CatalogRadioGroup-Option","data-e2e-quantity":`${t.quantity}`,"data-testid":c("Label"),children:[e.jsx("input",{type:"radio",style:{display:"none"},tabIndex:-1,name:s.instanceGuid,value:t.quantity,checked:r,onChange:()=>v(t.quantity),"aria-disabled":f,disabled:f}),e.jsx(oC,{isChecked:r,isDisabled:f,innerClassname:null==n?void 0:n.radioButtonInner,innerCheckedClassname:null==n?void 0:n.radioButtonInnerChecked,outerClassname:null==n?void 0:n.radioButtonOuter,outerCheckedClassname:null==n?void 0:n.radioButtonOuterChecked}),e.jsx(Or,{schema:t,testId:c("Content")})]})})))})})}):null}function uC(e){return{type:Te,payload:{errors:e}}}function pC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function fC(t){const n=i.useDispatch(),a=wn(),o=qi(),r=Ri(),{tabIndex:s,styles:l,isDisabled:c}=b(r);return e.jsx(qa,{styles:t.schema.styles,children:({classnames:i})=>e.jsx("button",{type:"button",tabIndex:s,"aria-disabled":c,disabled:c,style:Object.assign({cursor:"pointer"},l),"data-testid":t.testId,"data-e2e":"CatalogItemResponse",onClick:e=>{e.preventDefault();n({type:nC,payload:{catalogItem:o,quantity:1}})},className:null==i?void 0:i.own,children:pC(t.schema.children,a,t.testId)})})}const hC={allowedTags:["em","strong","a","br","u","p","li","ul","ol","span"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[]},allowedSchemes:["http","https"]},vC=new Map([["&","_;^;_"]]),CC=new RegExp(`<a *(?=${hC.allowedAttributes.a.join("|")}|>)`,"g"),yC=new RegExp(`<a *(?:(?:${hC.allowedAttributes.a.filter((e=>"href"!==e)).join("|")})="[^"]*")* *href="([^"]+)"`,"g"),mC=new RegExp("(<br *?>)|(<br *?/>)","g"),gC=new RegExp(`<ul *(?=${hC.allowedAttributes.ul.join("|")}|>)`,"g"),bC=new RegExp(`<ol *(?=${hC.allowedAttributes.ol.join("|")}|>)`,"g"),EC=new RegExp("<li *(?=>|\\s[^>]*>)","g"),IC="<br/>";function xC(n){const i=ti(),a=Ri(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(yC,((e,t)=>{const n=t.replaceAll("&",vC.get("&"));return e.replace(t,n)})).replaceAll(mC,IC)}(e);return t===u(t,hC)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a);return o?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class="${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0)),a=((null==t?void 0:t.list)?`class="${t.list}"`:"")+' style="list-style-type: none; padding-inline-start: 0px; display: flex; flex-direction: column;"',c=((null==t?void 0:t.listItem)?`class="${t.listItem}"`:"")+' style="display: flex; align-items: flex-start; flex-shrink: 0; flex-grow: 1;"',d=`class="rokt-icon${(null==t?void 0:t.span)?" "+t.span:""}" style="display: inline-block; pointer-events: none; user-select: none;" aria-disabled="true"`,u=o.replace(CC,`<a ${i.join(" ")}`).replace(gC,`<ul ${a}`).replace(bC,`<ol ${a}`).replace(EC,`<li ${c}><span ${d}>Check</span`);return p=o,new RegExp("</(p|ul|ol)>").test(p)?e.jsx("div",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:u}}):e.jsx("p",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:u}});var p}}):null}const LC={internally:"_top",externally:"_blank"};function DC(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:wC(t,a,o)})}function wC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function SC(t){var n,a;const o=LC[t.schema.open],r=wn(),s=qi(),l=Ri(),c=i.useDispatch(),d=null!==(n=s.url)&&void 0!==n?n:"",{tabIndex:u,styles:p,isDisabled:f}=b(l);return Boolean(d)&&(null===(a=t.schema.children)||void 0===a?void 0:a.length)>0?e.jsx(qa,{styles:t.schema.styles,children:({classnames:n,mapperRef:i})=>{var a;return e.jsx("a",{href:d,onClick:()=>{var e;c({type:Ce,payload:{name:"SignalResponse",parentGuid:null!==(e=s.instanceGuid)&&void 0!==e?e:"",responseActionPayload:{name:"Url",transformedTrafficURL:d}}})},"data-testid":t.testId,"data-e2e":"CatalogUrlLink",target:null!=o?o:"_blank",tabIndex:u,"aria-disabled":f,"aria-label":null!==(a=t.schema.a11yLabel)&&void 0!==a?a:void 0,style:Object.assign({cursor:"pointer",textDecoration:"none",display:"block"},p),className:null==n?void 0:n.own,children:(null==n?void 0:n.own)?DC(t.schema.children,null==n?void 0:n.own,i,r,t.testId):wC(t.schema.children,r,t.testId)})}}):null}function AC(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function TC(t){const n=wn(),i=qi(),a=Ri(),{tabIndex:o,styles:r,isDisabled:s}=b(a),l=Ol(i,1),c=En();return e.jsx(qa,{styles:t.schema.styles,children:({classnames:a})=>e.jsx("button",{type:"button",tabIndex:o,"aria-disabled":s,disabled:s,style:Object.assign({cursor:"pointer"},r),"data-testid":t.testId,"data-e2e":"CatalogPartnerEventButton",onClick:()=>{s||(c({type:Ce,payload:{name:"SignalCartItemQuantitySelected",parentGuid:i.instanceGuid,objectData:{quantity:1,preselected:!1}}}),c({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:{oldCartItem:null,cartItem:l}}}))},className:null==a?void 0:a.own,children:AC(t.schema.children,n,t.testId)})})}function jC(e){return Object.values(e.cart).filter((e=>null!==e))}function MC(e,t){const n=e.cart[t];return n||null}function OC(e){const t=function(e){var t,n;const i=null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.catalogItems)&&void 0!==n?n:[];return jC(e).filter((e=>i.find((t=>t.catalogItemId===e.catalogItemId))))}(e);return t.reduce(((e,t)=>e+t.quantity),0)}function kC(e,t){var n,i,a,o;const r=null===(n=e.staticData)||void 0===n?void 0:n.offer;if(r){const n=OC(e),s=MC(e,t.cartItemId),l=(null!==(i=null==r?void 0:r.maxTotalItemsQtyInOffer)&&void 0!==i?i:1/0)-n,c=(null!==(a=t.maxItemCount)&&void 0!==a?a:1/0)-(null!==(o=null==s?void 0:s.quantity)&&void 0!==o?o:0);return Math.min(l,c)}return 0}const VC={is:a.equals,"is-not":a.compose(a.not,a.equals),"is-below":a.lt,"is-above":a.gt};function RC({schema:n,testId:o}){const{children:r,predicates:s}=n,l=ti()(n.cartItemId),c=i.useSelector((e=>{var t;return(null===(t=MC(e,l))||void 0===t?void 0:t.quantity)||0}));return(()=>{const e=s.map((e=>(0,VC[e.condition])(c,e.value)));return a.all(a.equals(!0),e)})()?e.jsx(Dn,{children:e=>t.Children.toArray(r.map(((t,n)=>e(t,void 0,o?`${o}-child-${n}`:`when-catalog-quantity-child-${n}`))))}):null}function HC({schema:n,testId:i}){const a=ti(),o=Ri(),{tabIndex:r,styles:s,isDisabled:l}=b(o),{text:c,highlightedText:d,target:u}=n,p=a(c),f=a(d),h=t.useCallback((()=>{if(l)return;const e=document.querySelector(`[${u.key}="${u.value}"]`);e&&e.scrollIntoView({behavior:"smooth"})}),[u.key,u.value,l]),v=t.useCallback((e=>{e.preventDefault(),e.stopPropagation(),h()}),[h]),C=p.indexOf(f);if(-1===C)return e.jsx(qa,{styles:n.styles,children:({classnames:t})=>e.jsx("span",{"data-testid":i,"data-e2e":"ScrollToTarget",className:null==t?void 0:t.own,style:s,"aria-hidden":l,children:e.jsx("span",{className:null==t?void 0:t.text,children:p})})});const y=p.slice(0,C),m=p.slice(C+f.length);return e.jsx(qa,{styles:n.styles,children:({classnames:t})=>{var a;return e.jsxs("span",{"data-testid":i,"data-e2e":"ScrollToTarget",className:null==t?void 0:t.own,"aria-label":null!==(a=n.a11yLabel)&&void 0!==a?a:void 0,children:[y&&e.jsx("span",{className:null==t?void 0:t.text,style:s,"aria-hidden":l,children:y}),e.jsx("span",{onClick:v,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),h())},className:null==t?void 0:t.highlighted,style:Object.assign({cursor:l?"default":"pointer"},s),role:"button",tabIndex:l?-1:r,"aria-disabled":l,"aria-label":`Click to scroll to element with ${u.key}="${u.value}"`,children:f}),m&&e.jsx("span",{className:null==t?void 0:t.text,style:s,"aria-hidden":l,children:m})]})}})}function _C(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-content${t}`:void 0))))}function PC({schema:n,testId:i}){const a=wn(),[o,r]=t.useState(!1),{children:s,anchor:l,background:c}=n;return e.jsx(qa,{styles:n.styles,children:({classnames:t})=>{var d;return e.jsxs("div",{"data-testid":i,"data-e2e":"Tooltip",style:{position:"relative",display:"inline-block",cursor:"pointer"},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:()=>r(!o),"aria-label":null!==(d=n.a11yLabel)&&void 0!==d?d:void 0,children:[a(l,void 0,i?`${i}-anchor`:void 0),o&&e.jsxs("div",{className:null==t?void 0:t.own,style:{position:"absolute",zIndex:1,bottom:"150%",left:"50%",transform:"translateX(-50%)"},role:"tooltip",children:[_C(s,a,i),c&&e.jsx("div",{style:{position:"absolute",top:"100%",left:"50%",transform:"translateX(-50%)",margin:0,padding:0,lineHeight:0},children:a(c,void 0,i?`${i}-arrow`:void 0)})]})]})}})}function NC(e){var t,n;const i=null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.catalogItems)&&void 0!==n?n:[];return i.length>0?i:null}function FC(e,t){var n,i;return null!==(i=null===(n=NC(e))||void 0===n?void 0:n.find((e=>e.catalogItemId===t)))&&void 0!==i?i:null}function $C(e,t){var n,i;return null!==(i=null===(n=NC(e))||void 0===n?void 0:n.find((e=>e.cartItemId===t)))&&void 0!==i?i:null}function ZC(e){var t;const n=null===(t=NC(e))||void 0===t?void 0:t.filter((e=>e.preSelectedQuantity&&e.preSelectedQuantity>0));return n&&n.length>0?n:null}function GC(e){var t,n;return null!==(n=null===(t=ZC(e))||void 0===t?void 0:t.reduce(((e,t)=>{var n;return e+(null!==(n=t.preSelectedQuantity)&&void 0!==n?n:0)}),0))&&void 0!==n?n:0}function BC(e,t){var n;if(t){const i=FC(e,t);return"true"===(null===(n=null==i?void 0:i.copy)||void 0===n?void 0:n["provider.requireUSDeliveryDetails"])}return!1}const UC=a.compose((e=>e.filter((e=>!a.isNil(e[1]))).map((([e,t])=>({cartItemId:t.cartItemId,quantity:t.quantity})))),a.toPairs,a.prop("cart"));function zC(e){var t,n;return null!==(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.creative)&&void 0!==n?n:null}function qC(t){var n,a,o,r;const s=Ri(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=En(),p=ti()(t.schema.preButtonText),f=i.useSelector((e=>zC(e)));if(!f)return null;const h=null!==(n=f.copy["provider.offerId"])&&void 0!==n?n:"",v=null!==(a=t.schema.title)&&void 0!==a?a:"",C=null!==(r=null!==(o=f.copy["provider.offer.longDescription.copy"])&&void 0!==o?o:f.copy["creative.copy"])&&void 0!==r?r:"";return e.jsxs("span",{style:{display:"inline"},children:[t.schema.preButtonText&&e.jsx("span",{style:{marginRight:"4px",color:"#646464",fontSize:16,fontFamily:"Averta",fontWeight:"400",letterSpacing:.32,lineHeight:"24px",margin:"8px 0 0 0"},children:p}),e.jsx(qa,{styles:t.schema.styles,children:({classnames:n})=>e.jsx("button",{type:"button",tabIndex:l,"aria-disabled":d,disabled:d,style:Object.assign({cursor:"pointer",display:"inline",color:"#024DDF",fontSize:16,fontFamily:"Averta",fontWeight:"400",textDecoration:"underline",background:"none",border:"none",padding:0},c),"data-testid":t.testId,"data-e2e":"CatalogUpsellCreativeButton",onClick:()=>{d||u({type:Le,payload:{name:"UPSELL_CREATIVE_SENT",body:{offerId:h,title:v,description:C}}})},className:null==n?void 0:n.own,children:"Read More"})})]})}const KC={whiteSpace:"pre-line",margin:"8px 0 0 0"};function WC(t,n){return t?e.jsx("span",{className:n,style:KC,children:t}):null}function YC(t,n,i,a,o,r,s){const l=Object.assign({cursor:"pointer",display:"inline",background:"none",border:"none",padding:0},r||{});return e.jsx("button",{type:"button",tabIndex:a,"aria-disabled":o,disabled:o,style:l,"data-testid":s,"data-e2e":"CatalogUpsellCreativeButton",onClick:n,className:i,children:t})}function JC(n){var a,o,r,s,l,c,d,u;const[p,f]=t.useState(!1),h=Ri(),{tabIndex:v,styles:C,isDisabled:y}=b(h),m=En(),g=i.useSelector((e=>zC(e)));if(!g)return null;const E=null!==(a=g.copy["creative.copy"])&&void 0!==a?a:"",I=function(e){let t=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t=t.replace(/(\n[\s]*)+/g,"\n"),t}(E.replace(/<\/?[a-zA-Z][a-zA-Z0-9]*(?:\s+[a-zA-Z][a-zA-Z0-9]*(?:\s*=\s*[^\s>]+)?)*\s*>/g,"").trim());const x=null!==(o=n.schema.sliceLength)&&void 0!==o?o:130,L=null!==(r=g.copy["provider.emitUpsellCreative"])&&void 0!==r&&r,D=I.length>x;let w="";w=D?I.slice(0,x)+"... ":I+" ";const S=null!==(s=g.copy["provider.offerId"])&&void 0!==s?s:"",A=null!==(l=n.schema.title)&&void 0!==l?l:"",T=null!==(c=g.copy["provider.offer.longDescription.copy"])&&void 0!==c?c:E,j=null!==(d=n.schema.expandLabel)&&void 0!==d?d:"Read More",M=null!==(u=n.schema.collapseLabel)&&void 0!==u?u:"Read Less";return L?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("span",{style:{display:"inline"},children:[WC(w,null==t?void 0:t.text),YC(j,(()=>{y||m({type:Le,payload:{name:"UPSELL_CREATIVE_SENT",body:{offerId:S,title:A,description:T}}})}),null==t?void 0:t.own,v,y,C,n.testId)]})}):D?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("span",{style:{display:"inline"},children:[WC(p?I+" ":w,null==t?void 0:t.text),YC(p?M:j,(()=>{y||f(!p)}),null==t?void 0:t.own,v,y,C,n.testId)]})}):e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("span",{style:{display:"inline"},children:WC(I,null==t?void 0:t.text)})})}const XC={host:{CD:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.4286%200C5.1428%200%200%205.1428%200%2011.4286C0%2017.7144%205.1428%2022.8572%2011.4286%2022.8572C17.7144%2022.8572%2022.8572%2017.7144%2022.8572%2011.4286C22.8572%205.1428%2017.7144%200%2011.4286%200ZM11.4286%2020.572C6.4%2020.572%202.2858%2016.4578%202.2858%2011.4292C2.2858%206.4006%206.4%202.2864%2011.4286%202.2864C16.4572%202.2864%2020.5714%206.4006%2020.5714%2011.4292C20.5714%2016.4578%2016.4572%2020.572%2011.4286%2020.572Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.4285%2015.9995C8.91429%2015.9995%206.85709%2013.9423%206.85709%2011.4281C6.85709%2010.7424%206.39999%2010.2852%205.71419%2010.2852C5.02849%2010.2852%204.57129%2010.7423%204.57129%2011.4281C4.57129%2015.1995%207.65709%2018.2853%2011.4285%2018.2853C12.1142%2018.2853%2012.5714%2017.8282%2012.5714%2017.1424C12.5715%2016.4567%2012.1143%2015.9995%2011.4286%2015.9995Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.8283%208.91444C17.1426%207.20014%2015.7711%205.71444%2013.9425%205.02864C13.3711%204.80004%2012.6854%205.14293%2012.4568%205.71434C12.2282%206.28574%2012.4568%206.97144%2013.1425%207.20004C14.2853%207.65722%2015.1997%208.57152%2015.6567%209.71424C15.8853%2010.2856%2016.571%2010.6285%2017.1424%2010.3999C17.7138%2010.1714%2018.0567%209.48564%2017.8281%208.91424Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.02855%209.02876C7.65715%2010.4002%207.65715%2012.5716%209.02855%2013.8288C10.3999%2015.2002%2012.5713%2015.2002%2013.8285%2013.8288C15.1999%2012.4574%2015.1999%2010.286%2013.8285%209.02876C12.5714%207.77166%2010.2857%207.77166%209.02855%209.02876ZM12.2285%2012.2288C11.7715%2012.6859%2011.0856%2012.6859%2010.6286%2012.2288C10.1715%2011.7717%2010.1715%2011.0859%2010.6286%2010.6288C11.0856%2010.1717%2011.7715%2010.1717%2012.2285%2010.6288C12.6856%2011.0859%2012.6856%2011.7717%2012.2285%2012.2288Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"CD"},Album:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11.4286%200C5.1428%200%200%205.1428%200%2011.4286C0%2017.7144%205.1428%2022.8572%2011.4286%2022.8572C17.7144%2022.8572%2022.8572%2017.7144%2022.8572%2011.4286C22.8572%205.1428%2017.7144%200%2011.4286%200ZM11.4286%2020.572C6.4%2020.572%202.2858%2016.4578%202.2858%2011.4292C2.2858%206.4006%206.4%202.2864%2011.4286%202.2864C16.4572%202.2864%2020.5714%206.4006%2020.5714%2011.4292C20.5714%2016.4578%2016.4572%2020.572%2011.4286%2020.572Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.4285%2015.9995C8.91429%2015.9995%206.85709%2013.9423%206.85709%2011.4281C6.85709%2010.7424%206.39999%2010.2852%205.71419%2010.2852C5.02849%2010.2852%204.57129%2010.7423%204.57129%2011.4281C4.57129%2015.1995%207.65709%2018.2853%2011.4285%2018.2853C12.1142%2018.2853%2012.5714%2017.8282%2012.5714%2017.1424C12.5715%2016.4567%2012.1143%2015.9995%2011.4286%2015.9995Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.8283%208.91444C17.1426%207.20014%2015.7711%205.71444%2013.9425%205.02864C13.3711%204.80004%2012.6854%205.14293%2012.4568%205.71434C12.2282%206.28574%2012.4568%206.97144%2013.1425%207.20004C14.2853%207.65722%2015.1997%208.57152%2015.6567%209.71424C15.8853%2010.2856%2016.571%2010.6285%2017.1424%2010.3999C17.7138%2010.1714%2018.0567%209.48564%2017.8281%208.91424Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.02855%209.02876C7.65715%2010.4002%207.65715%2012.5716%209.02855%2013.8288C10.3999%2015.2002%2012.5713%2015.2002%2013.8285%2013.8288C15.1999%2012.4574%2015.1999%2010.286%2013.8285%209.02876C12.5714%207.77166%2010.2857%207.77166%209.02855%209.02876ZM12.2285%2012.2288C11.7715%2012.6859%2011.0856%2012.6859%2010.6286%2012.2288C10.1715%2011.7717%2010.1715%2011.0859%2010.6286%2010.6288C11.0856%2010.1717%2011.7715%2010.1717%2012.2285%2010.6288C12.6856%2011.0859%2012.6856%2011.7717%2012.2285%2012.2288Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Album"},"Club Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0.706018%2017.7206V5.11759C0.706018%203.94806%201.65413%203%202.82361%203C3.84041%203%204.68984%203.71664%204.8944%204.67241C5.22706%204.50562%205.6026%204.4118%206.0001%204.4118C6.8733%204.4118%207.64071%204.86475%208.08009%205.54859C9.39657%206.20445%2010.7011%206.52937%2012.0001%206.52937C13.2991%206.52937%2014.6037%206.20445%2015.9201%205.54859C16.3594%204.86477%2017.1269%204.4118%2018.0001%204.4118C18.3976%204.4118%2018.7731%204.50562%2019.1058%204.67241C19.3103%203.71664%2020.1597%203%2021.1765%203C22.3461%203%2023.2941%203.94812%2023.2941%205.11759V17.7206C23.7334%2018.2183%2024%2018.8721%2024%2019.5881V20.2941C24%2020.6839%2023.684%2020.9999%2023.2941%2020.9999H19.0588C18.6689%2020.9999%2018.3529%2020.6839%2018.3529%2020.2941V19.5881C18.3529%2018.8721%2018.6195%2018.2183%2019.0588%2017.7206V9.11518C18.7378%209.26768%2018.3788%209.353%2017.9999%209.353C17.7478%209.353%2017.5043%209.31519%2017.2752%209.24495C15.531%2010.2548%2013.77%2010.7647%2012%2010.7647C10.23%2010.7647%208.46901%2010.2548%206.72482%209.24495C6.49568%209.31519%206.25224%209.353%206.00006%209.353C5.62116%209.353%205.26216%209.26769%204.94124%209.11518V17.7206C5.38054%2018.2183%205.6471%2018.8721%205.6471%2019.5881V20.2941C5.6471%2020.6839%205.33108%2020.9999%204.94124%2020.9999H0.705858C0.316019%2020.9999%200%2020.6839%200%2020.2941V19.5881C0%2018.8721%200.266559%2018.2183%200.705858%2017.7206H0.706018ZM2.82361%2018.1764C2.04393%2018.1764%201.4119%2018.8084%201.4119%2019.5881H4.23549C4.23549%2018.8084%203.60339%2018.1764%202.82369%2018.1764H2.82361ZM22.5881%2019.5881C22.5881%2018.8084%2021.9561%2018.1764%2021.1764%2018.1764C20.3968%2018.1764%2019.7646%2018.8084%2019.7646%2019.5881H22.5881ZM21.8823%206.17637V5.11755C21.8823%204.72771%2021.5663%204.4117%2021.1764%204.4117C20.7866%204.4117%2020.4706%204.72771%2020.4706%205.11755V6.17637H21.8823ZM21.8823%207.58808H20.4706V16.8537C20.6983%2016.7951%2020.9351%2016.7645%2021.1764%2016.7645C21.4177%2016.7645%2021.6545%2016.7951%2021.8823%2016.8537V7.58808ZM3.52935%206.17637V5.11755C3.52935%204.72771%203.21333%204.4117%202.82349%204.4117C2.43365%204.4117%202.11763%204.72771%202.11763%205.11755V6.17637H3.52935ZM3.52935%207.58808H2.11763V16.8537C2.34537%2016.7951%202.58217%2016.7645%202.82349%2016.7645C3.06481%2016.7645%203.30161%2016.7951%203.52935%2016.8537V7.58808ZM5.99994%207.94104C6.5847%207.94104%207.05876%207.46699%207.05876%206.88223C7.05876%206.29747%206.5847%205.82341%205.99994%205.82341C5.41518%205.82341%204.94112%206.29747%204.94112%206.88223C4.94112%207.46699%205.41518%207.94104%205.99994%207.94104ZM17.9999%207.94104C18.5847%207.94104%2019.0587%207.46699%2019.0587%206.88223C19.0587%206.29747%2018.5847%205.82341%2017.9999%205.82341C17.4151%205.82341%2016.9411%206.29747%2016.9411%206.88223C16.9411%207.46699%2017.4151%207.94104%2017.9999%207.94104ZM11.9999%207.94104C10.8098%207.94104%209.62313%207.71042%208.44293%207.25199C8.38332%207.64744%208.22933%208.01666%208.00067%208.33214C9.34419%209.0148%2010.6755%209.35284%2011.9999%209.35284C13.3243%209.35284%2014.6557%209.0148%2015.999%208.33214C15.7704%208.01668%2015.6164%207.64746%2015.5568%207.25199C14.3766%207.71042%2013.19%207.94104%2011.9998%207.94104H11.9999Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Club Access"},"Lounge Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0.706018%2017.7206V5.11759C0.706018%203.94806%201.65413%203%202.82361%203C3.84041%203%204.68984%203.71664%204.8944%204.67241C5.22706%204.50562%205.6026%204.4118%206.0001%204.4118C6.8733%204.4118%207.64071%204.86475%208.08009%205.54859C9.39657%206.20445%2010.7011%206.52937%2012.0001%206.52937C13.2991%206.52937%2014.6037%206.20445%2015.9201%205.54859C16.3594%204.86477%2017.1269%204.4118%2018.0001%204.4118C18.3976%204.4118%2018.7731%204.50562%2019.1058%204.67241C19.3103%203.71664%2020.1597%203%2021.1765%203C22.3461%203%2023.2941%203.94812%2023.2941%205.11759V17.7206C23.7334%2018.2183%2024%2018.8721%2024%2019.5881V20.2941C24%2020.6839%2023.684%2020.9999%2023.2941%2020.9999H19.0588C18.6689%2020.9999%2018.3529%2020.6839%2018.3529%2020.2941V19.5881C18.3529%2018.8721%2018.6195%2018.2183%2019.0588%2017.7206V9.11518C18.7378%209.26768%2018.3788%209.353%2017.9999%209.353C17.7478%209.353%2017.5043%209.31519%2017.2752%209.24495C15.531%2010.2548%2013.77%2010.7647%2012%2010.7647C10.23%2010.7647%208.46901%2010.2548%206.72482%209.24495C6.49568%209.31519%206.25224%209.353%206.00006%209.353C5.62116%209.353%205.26216%209.26769%204.94124%209.11518V17.7206C5.38054%2018.2183%205.6471%2018.8721%205.6471%2019.5881V20.2941C5.6471%2020.6839%205.33108%2020.9999%204.94124%2020.9999H0.705858C0.316019%2020.9999%200%2020.6839%200%2020.2941V19.5881C0%2018.8721%200.266559%2018.2183%200.705858%2017.7206H0.706018ZM2.82361%2018.1764C2.04393%2018.1764%201.4119%2018.8084%201.4119%2019.5881H4.23549C4.23549%2018.8084%203.60339%2018.1764%202.82369%2018.1764H2.82361ZM22.5881%2019.5881C22.5881%2018.8084%2021.9561%2018.1764%2021.1764%2018.1764C20.3968%2018.1764%2019.7646%2018.8084%2019.7646%2019.5881H22.5881ZM21.8823%206.17637V5.11755C21.8823%204.72771%2021.5663%204.4117%2021.1764%204.4117C20.7866%204.4117%2020.4706%204.72771%2020.4706%205.11755V6.17637H21.8823ZM21.8823%207.58808H20.4706V16.8537C20.6983%2016.7951%2020.9351%2016.7645%2021.1764%2016.7645C21.4177%2016.7645%2021.6545%2016.7951%2021.8823%2016.8537V7.58808ZM3.52935%206.17637V5.11755C3.52935%204.72771%203.21333%204.4117%202.82349%204.4117C2.43365%204.4117%202.11763%204.72771%202.11763%205.11755V6.17637H3.52935ZM3.52935%207.58808H2.11763V16.8537C2.34537%2016.7951%202.58217%2016.7645%202.82349%2016.7645C3.06481%2016.7645%203.30161%2016.7951%203.52935%2016.8537V7.58808ZM5.99994%207.94104C6.5847%207.94104%207.05876%207.46699%207.05876%206.88223C7.05876%206.29747%206.5847%205.82341%205.99994%205.82341C5.41518%205.82341%204.94112%206.29747%204.94112%206.88223C4.94112%207.46699%205.41518%207.94104%205.99994%207.94104ZM17.9999%207.94104C18.5847%207.94104%2019.0587%207.46699%2019.0587%206.88223C19.0587%206.29747%2018.5847%205.82341%2017.9999%205.82341C17.4151%205.82341%2016.9411%206.29747%2016.9411%206.88223C16.9411%207.46699%2017.4151%207.94104%2017.9999%207.94104ZM11.9999%207.94104C10.8098%207.94104%209.62313%207.71042%208.44293%207.25199C8.38332%207.64744%208.22933%208.01666%208.00067%208.33214C9.34419%209.0148%2010.6755%209.35284%2011.9999%209.35284C13.3243%209.35284%2014.6557%209.0148%2015.999%208.33214C15.7704%208.01668%2015.6164%207.64746%2015.5568%207.25199C14.3766%207.71042%2013.19%207.94104%2011.9998%207.94104H11.9999Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Lounge Access"},"Concession Voucher":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Concession Voucher"},"Drink Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Drink Package"},"Meal Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Meal Package"},"Snack Bag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Snack Bag"},"Table Service Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%2021.98C1%2022.54%201.45%2022.99%202.01%2022.99H15C15.56%2022.99%2016.01%2022.54%2016.01%2021.98V21H1V21.98ZM8.5%208.99C4.75%208.99%201%2011%201%2015H16C16%2011%2012.25%208.99%208.5%208.99ZM3.62%2013C4.73%2011.45%207.09%2010.99%208.5%2010.99C9.91%2010.99%2012.27%2011.45%2013.38%2013H3.62ZM1%2017H16V19H1V17ZM18%205V1H16V5H11L11.23%207H20.79L19.39%2021H18V23H19.72C20.56%2023%2021.25%2022.35%2021.35%2021.53L23%205H18Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Table Service Package"},"Fast Lane":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%209.86L18.03%2012L15%2014.14V9.86ZM6%209.86L9.03%2012L6%2014.14V9.86ZM13%206V18L21.5%2012L13%206ZM4%206V18L12.5%2012L4%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Fast Lane"},"Fast Lane Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%209.86L18.03%2012L15%2014.14V9.86ZM6%209.86L9.03%2012L6%2014.14V9.86ZM13%206V18L21.5%2012L13%206ZM4%206V18L12.5%2012L4%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Fast Lane Access"},"Lawn Chair Rental":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43310)%22%3E%3Cpath%20d%3D%22M6.43025%2013.4118C5.48775%2011.6054%204.94157%209.4522%204.94157%207.4118C4.94157%202.7784%207.81537%200%2012.0004%200C16.1854%200%2019.0592%202.7784%2019.0592%207.4118C19.0592%209.4522%2018.513%2011.6054%2017.5705%2013.4118H18.0003C18.3902%2013.4118%2018.7062%2013.7278%2018.7062%2014.1177V16.9413C18.7062%2017.3311%2018.3902%2017.6471%2018.0003%2017.6471H16.8113L18.3275%2023.1053C18.4319%2023.4809%2018.212%2023.8701%2017.8363%2023.9744C17.4607%2024.0788%2017.0716%2023.8588%2016.9673%2023.4832L15.3462%2017.6472H8.65439L7.03329%2023.4832C6.92899%2023.8588%206.53985%2024.0787%206.16423%2023.9744C5.78861%2023.8701%205.56869%2023.4809%205.67305%2023.1053L7.18923%2017.6471H5.64727C5.25743%2017.6471%204.94141%2017.3311%204.94141%2016.9413V14.1177C4.94141%2013.7278%205.25743%2013.4118%205.64727%2013.4118H6.43025ZM6.35337%2014.8235V16.2353H17.2946V14.8235H6.35337ZM10.1576%2013.4118H11.2946V1.444C10.3649%201.53072%209.53867%201.7919%208.84041%202.2165L10.1576%2013.4118ZM13.8434%2013.4118L15.1605%202.2164C14.4623%201.7918%2013.636%201.53062%2012.7063%201.4439V13.4117L13.8434%2013.4118ZM15.2649%2013.4118H15.9478C17.0093%2011.6964%2017.6475%209.4778%2017.6475%207.4118C17.6475%205.72524%2017.2178%204.3634%2016.4467%203.366L15.2649%2013.4118ZM8.73605%2013.4118L7.55417%203.366C6.78315%204.36326%206.35339%205.7252%206.35339%207.4118C6.35339%209.4778%206.99159%2011.6964%208.05315%2013.4118H8.73605Z%22%20fill%3D%22black%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43310%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Lawn Chair Rental"},Lockers:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M3.68618%200C3.31243%200.0391993%202.99805%200.390134%203.00001%200.765875V23.234C3.00001%2023.6351%203.36494%2023.9999%203.76602%2024H20.1073C20.5083%2024%2020.8733%2023.6351%2020.8733%2023.234V0.765875C20.8733%200.364794%2020.5083%200%2020.1073%200H3.68628H3.68618ZM4.5319%201.53189H11.1703V5.61703H4.5319V1.53189ZM12.7025%201.53189H19.3409V5.61703H12.7025V1.53189ZM7.85109%202.2979C7.42809%202.2979%207.08508%202.52648%207.08508%202.80851C7.08508%203.09055%207.42795%203.31913%207.85109%203.31913C8.2741%203.31913%208.61711%203.09054%208.61711%202.80851C8.61711%202.52647%208.27424%202.2979%207.85109%202.2979ZM16.0217%202.2979C15.5987%202.2979%2015.2557%202.52648%2015.2557%202.80851C15.2557%203.09055%2015.5986%203.31913%2016.0217%203.31913C16.4447%203.31913%2016.7877%203.09054%2016.7877%202.80851C16.7877%202.52647%2016.4449%202.2979%2016.0217%202.2979ZM4.5319%207.14898H11.1703V11.2341H4.5319V7.14898ZM12.7025%207.14898H19.3409V11.2341H12.7025V7.14898ZM7.85109%207.91486C7.42809%207.91486%207.08508%208.14345%207.08508%208.42548C7.08508%208.70751%207.42795%208.93609%207.85109%208.93609C8.2741%208.93609%208.61711%208.70751%208.61711%208.42548C8.61711%208.14345%208.27424%207.91486%207.85109%207.91486ZM16.0217%207.91486C15.5987%207.91486%2015.2557%208.14345%2015.2557%208.42548C15.2557%208.70751%2015.5986%208.93609%2016.0217%208.93609C16.4447%208.93609%2016.7877%208.70751%2016.7877%208.42548C16.7877%208.14345%2016.4449%207.91486%2016.0217%207.91486ZM4.5319%2012.7659H11.1703V16.8511H4.5319V12.7659ZM12.7025%2012.7659H19.3409V16.8511H12.7025V12.7659ZM7.85109%2013.532C7.42809%2013.532%207.08508%2013.7605%207.08508%2014.0426C7.08508%2014.3246%207.42795%2014.5532%207.85109%2014.5532C8.2741%2014.5532%208.61711%2014.3246%208.61711%2014.0426C8.61711%2013.7605%208.27424%2013.532%207.85109%2013.532ZM16.0217%2013.532C15.5987%2013.532%2015.2557%2013.7605%2015.2557%2014.0426C15.2557%2014.3246%2015.5986%2014.5532%2016.0217%2014.5532C16.4447%2014.5532%2016.7877%2014.3246%2016.7877%2014.0426C16.7877%2013.7605%2016.4449%2013.532%2016.0217%2013.532ZM4.5319%2018.383H11.1703V22.4682H4.5319V18.383ZM12.7025%2018.383H19.3409V22.4682H12.7025V18.383ZM7.85109%2019.1489C7.42809%2019.1489%207.08508%2019.3775%207.08508%2019.6595C7.08508%2019.9416%207.42795%2020.1701%207.85109%2020.1701C8.2741%2020.1701%208.61711%2019.9416%208.61711%2019.6595C8.61711%2019.3775%208.27424%2019.1489%207.85109%2019.1489ZM16.0217%2019.1489C15.5987%2019.1489%2015.2557%2019.3775%2015.2557%2019.6595C15.2557%2019.9416%2015.5986%2020.1701%2016.0217%2020.1701C16.4447%2020.1701%2016.7877%2019.9416%2016.7877%2019.6595C16.7877%2019.3775%2016.4449%2019.1489%2016.0217%2019.1489Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Lockers"},"Meet & Greet":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.0229%206.7659L17.4552%203.25191C16.9486%202.1161%2015.6155%201.60419%2014.4797%202.11078C14.2824%202.1961%2014.1065%202.31341%2013.9518%202.44673L13.8079%202.12145C13.5732%201.5882%2013.1413%201.18294%2012.5974%200.97497C12.0535%200.766997%2011.4616%200.783003%2010.9337%201.01763L10.7897%201.08162C10.6244%201.15627%2010.4751%201.24692%2010.3418%201.35357C9.75522%200.516377%208.64073%200.180449%207.67029%200.607042L7.52631%200.671031C6.4545%201.15095%205.95859%202.3934%206.39583%203.47062C6.24652%203.50261%206.09189%203.55061%205.94789%203.61459L5.80392%203.67858C4.71077%204.16915%204.21485%205.45428%204.70545%206.5528L6.77976%2011.208C6.5398%2011.176%206.29451%2011.1707%206.04923%2011.208C5.37735%2011.304%204.78544%2011.6613%204.38019%2012.1998C3.54834%2013.3143%203.77229%2014.8873%204.87076%2015.73C5.22271%2016.0339%205.84125%2016.6098%206.08122%2016.9031C7.03039%2018.0816%208.34216%2019.5639%2010.1019%2020.6144C11.4296%2021.4089%2012.7681%2021.8035%2014.1066%2021.8035C15.1464%2021.8035%2016.1863%2021.5635%2017.2261%2021.0836C19.3431%2020.1024%2020.6762%2018.8333%2021.3%2017.207C22.0252%2015.314%2021.9826%2013.2716%2021.172%2011.4533L19.0229%206.7659ZM19.7161%2016.6149C19.2522%2017.8253%2018.2337%2018.7638%2016.5061%2019.5637C13.504%2020.9555%2010.5231%2019.7397%207.39295%2015.8524C6.97168%2015.3352%206.05451%2014.53%205.94785%2014.4447L5.89986%2014.4074C5.71856%2014.2741%205.60125%2014.0768%205.56926%2013.8475C5.53727%2013.6182%205.59059%2013.3995%205.72923%2013.2182C5.86254%2013.0369%206.06518%2012.9196%206.28912%2012.8876C6.51307%2012.8557%206.73706%2012.909%206.91834%2013.0476L8.01682%2013.8155C8.06481%2013.8581%208.12346%2013.9008%208.18212%2013.9328L10.2724%2015.3992C10.6564%2015.6658%2011.1789%2015.5752%2011.4509%2015.1912C11.7175%2014.8073%2011.6269%2014.2847%2011.2429%2014.0128L9.25394%2012.621L6.24116%205.87015C6.13452%205.62486%206.24116%205.33689%206.48645%205.23026L6.63042%205.16627C6.74774%205.11294%206.88106%205.10761%207.00369%205.1556C7.12632%205.2036%207.22232%205.29425%207.27564%205.41156L9.79242%2011.0533C9.98439%2011.4799%2010.4803%2011.6719%2010.9069%2011.4799C11.3335%2011.2879%2011.5255%2010.792%2011.3335%2010.3654L8.8167%204.72369C8.7687%204.61171%208.70472%204.50506%208.64073%204.40908C8.63006%204.37175%208.6194%204.33443%208.6034%204.30243L7.96351%202.86801C7.85686%202.62272%207.96351%202.33475%208.2088%202.22812L8.35277%202.16413C8.59806%202.05748%208.88602%202.16413%208.99266%202.40941L9.64854%203.88117C9.65921%203.90783%209.66987%203.93983%209.68054%203.96649C9.68587%203.98249%209.69654%203.99315%209.70187%204.00382L12.4694%2010.2162C12.608%2010.5308%2012.9173%2010.7174%2013.2426%2010.7174C13.3599%2010.7174%2013.4719%2010.6961%2013.5838%2010.6427C14.0104%2010.4508%2014.2024%209.95487%2014.0104%209.52827L11.2056%203.23608C11.1256%203.00147%2011.2323%202.74016%2011.4669%202.63885L11.6109%202.57486C11.7282%202.52154%2011.8615%202.51621%2011.9841%202.5642C12.1068%202.61219%2012.2028%202.70284%2012.2561%202.82015L15.3062%209.66157C15.4448%209.97618%2015.7541%2010.1628%2016.0794%2010.1628C16.1967%2010.1628%2016.3086%2010.1415%2016.4206%2010.0882C16.8472%209.89619%2017.0392%209.40028%2016.8472%208.97369L14.9436%204.70253C14.9382%204.60654%2014.9169%204.50523%2014.8742%204.41458C14.7463%204.13196%2014.8742%203.79601%2015.1622%203.66806C15.4448%203.54008%2015.7807%203.66806%2015.9087%203.956L17.3644%207.21404L19.6254%2012.1784C20.2493%2013.5649%2020.2813%2015.1432%2019.716%2016.615L19.7161%2016.6149Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M23.9404%205.0861C23.1939%203.22509%2022.0047%201.54549%2020.4956%200.212248C20.1436%20-0.0970379%2019.6104%20-0.065049%2019.3011%200.286901C18.9918%200.63885%2019.0238%201.17208%2019.3758%201.48136C20.6875%202.63849%2021.7219%204.09962%2022.3672%205.71521C22.5005%206.04582%2022.8151%206.24847%2023.151%206.24847C23.2577%206.24847%2023.3643%206.22714%2023.4656%206.18981C23.9029%206.00851%2024.1108%205.51793%2023.9402%205.08599L23.9404%205.0861Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M1.87979%204.62782C1.44252%204.46785%200.957277%204.69181%200.791986%205.12907C0.00812386%207.25136%20-0.199849%209.55494%200.194755%2011.7998C0.269408%2012.2104%200.621349%2012.4984%201.0266%2012.4984C1.07459%2012.4984%201.12259%2012.4931%201.17591%2012.4877C1.63449%2012.4077%201.94378%2011.9705%201.86378%2011.5119C1.52251%209.56555%201.69848%207.56584%202.38102%205.72091C2.54099%205.27298%202.31703%204.78773%201.87978%204.62776L1.87979%204.62782Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Meet & Greet"},"Merch Voucher":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Merch Voucher"},Blanket:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Blanket"},"Clear Bag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Clear Bag"},"Ear Plugs":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.41%209.41L10.58%200.58C10.21%200.21%209.7%200%209.17%200H2C0.9%200%200%200.9%200%202V9.17C0%209.7%200.21%2010.21%200.59%2010.58L9.42%2019.41C10.2%2020.19%2011.47%2020.19%2012.25%2019.41L19.42%2012.24C20.2%2011.46%2020.2%2010.2%2019.41%209.41ZM10.83%2018L2%209.17V2H9.17L18%2010.83L10.83%2018Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M4.5%206C5.32843%206%206%205.32843%206%204.5C6%203.67157%205.32843%203%204.5%203C3.67157%203%203%203.67157%203%204.5C3%205.32843%203.67157%206%204.5%206Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Ear Plugs"},"Reserved Lawn Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%2219.3988%22%20height%3D%2219.3988%22%20rx%3D%222%22%20stroke%3D%22black%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M6.80859%2011.1856L8.75394%2013.131L15.0763%206.80859%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E"},title:"Reserved Lawn Access"},"Lawn Access":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%2219.3988%22%20height%3D%2219.3988%22%20rx%3D%222%22%20stroke%3D%22black%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M6.80859%2011.1856L8.75394%2013.131L15.0763%206.80859%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E"},title:"Lawn Access"},"Room Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43328)%22%3E%3Cpath%20d%3D%22M4.23493%2022.5879V0.70586C4.23493%200.31602%204.55095%200%204.94079%200H19.0584C19.4482%200%2019.7642%200.31602%2019.7642%200.70586V22.5879H21.176C21.5659%2022.5879%2021.8819%2022.904%2021.8819%2023.2938C21.8819%2023.6836%2021.5659%2023.9997%2021.176%2023.9997H2.82305C2.43321%2023.9997%202.11719%2023.6836%202.11719%2023.2938C2.11719%2022.904%202.43321%2022.5879%202.82305%2022.5879H4.23493ZM5.64665%2022.5879H18.3526V1.41186H5.64665V22.5879ZM8.11725%2016.2351C7.53249%2016.2351%207.05843%2015.761%207.05843%2015.1762C7.05843%2014.5915%207.53249%2014.1174%208.11725%2014.1174C8.70201%2014.1174%209.17607%2014.5915%209.17607%2015.1762C9.17607%2015.761%208.70201%2016.2351%208.11725%2016.2351Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43328%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Room Package"},"Hotel Package":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43328)%22%3E%3Cpath%20d%3D%22M4.23493%2022.5879V0.70586C4.23493%200.31602%204.55095%200%204.94079%200H19.0584C19.4482%200%2019.7642%200.31602%2019.7642%200.70586V22.5879H21.176C21.5659%2022.5879%2021.8819%2022.904%2021.8819%2023.2938C21.8819%2023.6836%2021.5659%2023.9997%2021.176%2023.9997H2.82305C2.43321%2023.9997%202.11719%2023.6836%202.11719%2023.2938C2.11719%2022.904%202.43321%2022.5879%202.82305%2022.5879H4.23493ZM5.64665%2022.5879H18.3526V1.41186H5.64665V22.5879ZM8.11725%2016.2351C7.53249%2016.2351%207.05843%2015.761%207.05843%2015.1762C7.05843%2014.5915%207.53249%2014.1174%208.11725%2014.1174C8.70201%2014.1174%209.17607%2014.5915%209.17607%2015.1762C9.17607%2015.761%208.70201%2016.2351%208.11725%2016.2351Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43328%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Hotel Package"},"Special Entry":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%2010V6C22%204.9%2021.1%204%2020%204H4C2.9%204%202.01%204.9%202.01%206V10C3.11%2010%204%2010.9%204%2012C4%2013.1%203.11%2014%202%2014V18C2%2019.1%202.9%2020%204%2020H20C21.1%2020%2022%2019.1%2022%2018V14C20.9%2014%2020%2013.1%2020%2012C20%2010.9%2020.9%2010%2022%2010ZM20%208.54C18.81%209.23%2018%2010.53%2018%2012C18%2013.47%2018.81%2014.77%2020%2015.46V18H4V15.46C5.19%2014.77%206%2013.47%206%2012C6%2010.52%205.2%209.23%204.01%208.54L4%206H20V8.54ZM9.07%2016L12%2014.12L14.93%2016L14.04%2012.64L16.73%2010.44L13.26%2010.23L12%207L10.73%2010.22L7.26%2010.43L9.95%2012.63L9.07%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Special Entry"},"VIP (Club Access)":{url:{light:"data:image/svg+xml,%3Csvg%20id%3D%22svg%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%2C%200%2C%20400%2C400%22%3E%3Cg%20id%3D%22svgg%22%3E%3Cpath%20id%3D%22path0%22%20d%3D%22M127.284%202.284%20C%20122.707%206.861%2C122.931%207.515%2C142.578%2046.858%20C%20152.246%2066.218%2C160.156%2082.202%2C160.156%2082.379%20C%20160.156%2082.556%2C148.467%2082.832%2C134.180%2082.993%20C%20110.222%2083.262%2C107.866%2083.411%2C103.869%2084.905%20C%2089.581%2090.247%2C78.880%20101.687%2C75.843%20114.865%20C%2074.334%20121.415%2C74.731%20364.437%2C76.260%20369.585%20C%2080.378%20383.456%2C90.005%20393.536%2C103.444%20398.048%20L%20109.260%20400.000%20200.000%20400.000%20L%20290.740%20400.000%20296.556%20398.048%20C%20309.995%20393.536%2C319.622%20383.456%2C323.740%20369.585%20C%20325.269%20364.437%2C325.666%20121.415%2C324.157%20114.865%20C%20321.120%20101.687%2C310.419%2090.247%2C296.131%2084.905%20C%20292.134%2083.411%2C289.778%2083.262%2C265.820%2082.993%20C%20251.533%2082.832%2C239.844%2082.556%2C239.844%2082.379%20C%20239.844%2082.202%2C247.754%2066.218%2C257.422%2046.858%20C%20277.069%207.515%2C277.293%206.861%2C272.716%202.284%20C%20269.810%20-0.623%2C264.649%20-0.910%2C261.389%201.654%20C%20259.955%202.783%2C252.970%2015.939%2C239.407%2043.060%20L%20219.528%2082.812%20200.000%2082.813%20L%20180.472%2082.813%20160.593%2043.060%20C%20147.030%2015.939%2C140.045%202.783%2C138.611%201.654%20C%20135.351%20-0.910%2C130.190%20-0.623%2C127.284%202.284%20M210.156%20101.162%20C%20210.156%20101.371%2C208.495%20104.886%2C206.464%20108.974%20L%20202.772%20116.406%20199.072%20116.406%20C%20173.512%20116.406%2C165.725%20152.824%2C188.850%20164.209%20C%20212.555%20175.878%2C237.344%20145.033%2C219.822%20125.671%20C%20218.776%20124.515%2C219.260%20123.182%2C224.581%20112.556%20L%20230.505%20100.728%20260.370%20100.950%20L%20290.234%20101.172%20293.988%20103.089%20C%20299.166%20105.735%2C304.113%20111.266%2C306.136%20116.670%20L%20307.813%20121.152%20307.813%20241.797%20L%20307.813%20362.441%20306.130%20366.939%20C%20303.859%20373.007%2C298.007%20378.859%2C291.939%20381.130%20L%20287.441%20382.813%20200.000%20382.813%20L%20112.559%20382.813%20108.061%20381.130%20C%20101.993%20378.859%2C96.141%20373.007%2C93.870%20366.939%20L%2092.188%20362.441%2092.188%20241.797%20L%2092.188%20121.152%2093.855%20116.694%20C%2096.391%20109.917%2C101.738%20104.660%2C108.984%20101.819%20C%20111.304%20100.910%2C210.156%20100.267%2C210.156%20101.162%20M111.085%20201.949%20C%20106.488%20205.817%2C107.455%20213.384%2C112.874%20215.955%20C%20116.828%20217.832%2C283.172%20217.832%2C287.126%20215.955%20C%20292.545%20213.384%2C293.512%20205.817%2C288.915%20201.949%20L%20286.599%20200.000%20200.000%20200.000%20L%20113.401%20200.000%20111.085%20201.949%20M129.151%20234.336%20C%20123.363%20237.866%2C123.429%20238.534%2C133.552%20278.778%20C%20142.423%20314.050%2C142.739%20314.912%2C147.360%20316.437%20C%20150.456%20317.459%2C154.489%20316.440%2C156.606%20314.100%20C%20158.207%20312.331%2C174.956%20246.412%2C174.982%20241.775%20C%20175.021%20234.984%2C168.951%20231.161%2C162.779%20234.090%20C%20159.140%20235.816%2C158.610%20237.106%2C154.232%20254.883%20C%20152.141%20263.369%2C150.237%20270.313%2C150.000%20270.313%20C%20149.763%20270.313%2C147.859%20263.369%2C145.768%20254.883%20C%20140.432%20233.216%2C137.313%20229.360%2C129.151%20234.336%20M196.340%20233.956%20C%20191.395%20236.106%2C191.406%20236.016%2C191.409%20275.157%20C%20191.412%20315.013%2C191.333%20314.448%2C197.205%20316.386%20C%20201.050%20317.655%2C205.098%20316.270%2C207.089%20313.005%20C%20209.182%20309.572%2C209.436%20241.395%2C207.370%20237.400%20C%20205.360%20233.513%2C200.702%20232.059%2C196.340%20233.956%20M230.691%20233.315%20C%20229.739%20233.524%2C228.069%20234.754%2C226.980%20236.048%20L%20225.000%20238.401%20225.000%20275.000%20L%20225.000%20311.599%20226.949%20313.915%20C%20229.460%20316.900%2C233.421%20317.714%2C237.051%20315.991%20C%20241.521%20313.870%2C242.188%20311.349%2C242.188%20296.562%20L%20242.188%20283.594%20248.408%20283.594%20C%20276.277%20283.594%2C285.819%20247.936%2C261.194%20235.813%20C%20256.098%20233.305%2C237.625%20231.792%2C230.691%20233.315%20M254.051%20251.864%20C%20261.580%20256.797%2C257.796%20265.499%2C247.812%20266.214%20L%20242.188%20266.616%20242.188%20258.201%20L%20242.188%20249.786%20247.140%20250.184%20C%20249.865%20250.402%2C252.974%20251.159%2C254.051%20251.864%20M112.751%20334.073%20C%20107.448%20336.688%2C106.549%20344.234%2C111.085%20348.051%20L%20113.401%20350.000%20200.000%20350.000%20L%20286.599%20350.000%20288.915%20348.051%20C%20293.512%20344.183%2C292.545%20336.616%2C287.126%20334.045%20C%20283.186%20332.175%2C116.544%20332.202%2C112.751%20334.073%20%22%20stroke%3D%22none%22%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"},title:"VIP (Club Access)"},"VIP Club Access":{url:{light:"data:image/svg+xml,%3Csvg%20id%3D%22svg%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%2C%200%2C%20400%2C400%22%3E%3Cg%20id%3D%22svgg%22%3E%3Cpath%20id%3D%22path0%22%20d%3D%22M127.284%202.284%20C%20122.707%206.861%2C122.931%207.515%2C142.578%2046.858%20C%20152.246%2066.218%2C160.156%2082.202%2C160.156%2082.379%20C%20160.156%2082.556%2C148.467%2082.832%2C134.180%2082.993%20C%20110.222%2083.262%2C107.866%2083.411%2C103.869%2084.905%20C%2089.581%2090.247%2C78.880%20101.687%2C75.843%20114.865%20C%2074.334%20121.415%2C74.731%20364.437%2C76.260%20369.585%20C%2080.378%20383.456%2C90.005%20393.536%2C103.444%20398.048%20L%20109.260%20400.000%20200.000%20400.000%20L%20290.740%20400.000%20296.556%20398.048%20C%20309.995%20393.536%2C319.622%20383.456%2C323.740%20369.585%20C%20325.269%20364.437%2C325.666%20121.415%2C324.157%20114.865%20C%20321.120%20101.687%2C310.419%2090.247%2C296.131%2084.905%20C%20292.134%2083.411%2C289.778%2083.262%2C265.820%2082.993%20C%20251.533%2082.832%2C239.844%2082.556%2C239.844%2082.379%20C%20239.844%2082.202%2C247.754%2066.218%2C257.422%2046.858%20C%20277.069%207.515%2C277.293%206.861%2C272.716%202.284%20C%20269.810%20-0.623%2C264.649%20-0.910%2C261.389%201.654%20C%20259.955%202.783%2C252.970%2015.939%2C239.407%2043.060%20L%20219.528%2082.812%20200.000%2082.813%20L%20180.472%2082.813%20160.593%2043.060%20C%20147.030%2015.939%2C140.045%202.783%2C138.611%201.654%20C%20135.351%20-0.910%2C130.190%20-0.623%2C127.284%202.284%20M210.156%20101.162%20C%20210.156%20101.371%2C208.495%20104.886%2C206.464%20108.974%20L%20202.772%20116.406%20199.072%20116.406%20C%20173.512%20116.406%2C165.725%20152.824%2C188.850%20164.209%20C%20212.555%20175.878%2C237.344%20145.033%2C219.822%20125.671%20C%20218.776%20124.515%2C219.260%20123.182%2C224.581%20112.556%20L%20230.505%20100.728%20260.370%20100.950%20L%20290.234%20101.172%20293.988%20103.089%20C%20299.166%20105.735%2C304.113%20111.266%2C306.136%20116.670%20L%20307.813%20121.152%20307.813%20241.797%20L%20307.813%20362.441%20306.130%20366.939%20C%20303.859%20373.007%2C298.007%20378.859%2C291.939%20381.130%20L%20287.441%20382.813%20200.000%20382.813%20L%20112.559%20382.813%20108.061%20381.130%20C%20101.993%20378.859%2C96.141%20373.007%2C93.870%20366.939%20L%2092.188%20362.441%2092.188%20241.797%20L%2092.188%20121.152%2093.855%20116.694%20C%2096.391%20109.917%2C101.738%20104.660%2C108.984%20101.819%20C%20111.304%20100.910%2C210.156%20100.267%2C210.156%20101.162%20M111.085%20201.949%20C%20106.488%20205.817%2C107.455%20213.384%2C112.874%20215.955%20C%20116.828%20217.832%2C283.172%20217.832%2C287.126%20215.955%20C%20292.545%20213.384%2C293.512%20205.817%2C288.915%20201.949%20L%20286.599%20200.000%20200.000%20200.000%20L%20113.401%20200.000%20111.085%20201.949%20M129.151%20234.336%20C%20123.363%20237.866%2C123.429%20238.534%2C133.552%20278.778%20C%20142.423%20314.050%2C142.739%20314.912%2C147.360%20316.437%20C%20150.456%20317.459%2C154.489%20316.440%2C156.606%20314.100%20C%20158.207%20312.331%2C174.956%20246.412%2C174.982%20241.775%20C%20175.021%20234.984%2C168.951%20231.161%2C162.779%20234.090%20C%20159.140%20235.816%2C158.610%20237.106%2C154.232%20254.883%20C%20152.141%20263.369%2C150.237%20270.313%2C150.000%20270.313%20C%20149.763%20270.313%2C147.859%20263.369%2C145.768%20254.883%20C%20140.432%20233.216%2C137.313%20229.360%2C129.151%20234.336%20M196.340%20233.956%20C%20191.395%20236.106%2C191.406%20236.016%2C191.409%20275.157%20C%20191.412%20315.013%2C191.333%20314.448%2C197.205%20316.386%20C%20201.050%20317.655%2C205.098%20316.270%2C207.089%20313.005%20C%20209.182%20309.572%2C209.436%20241.395%2C207.370%20237.400%20C%20205.360%20233.513%2C200.702%20232.059%2C196.340%20233.956%20M230.691%20233.315%20C%20229.739%20233.524%2C228.069%20234.754%2C226.980%20236.048%20L%20225.000%20238.401%20225.000%20275.000%20L%20225.000%20311.599%20226.949%20313.915%20C%20229.460%20316.900%2C233.421%20317.714%2C237.051%20315.991%20C%20241.521%20313.870%2C242.188%20311.349%2C242.188%20296.562%20L%20242.188%20283.594%20248.408%20283.594%20C%20276.277%20283.594%2C285.819%20247.936%2C261.194%20235.813%20C%20256.098%20233.305%2C237.625%20231.792%2C230.691%20233.315%20M254.051%20251.864%20C%20261.580%20256.797%2C257.796%20265.499%2C247.812%20266.214%20L%20242.188%20266.616%20242.188%20258.201%20L%20242.188%20249.786%20247.140%20250.184%20C%20249.865%20250.402%2C252.974%20251.159%2C254.051%20251.864%20M112.751%20334.073%20C%20107.448%20336.688%2C106.549%20344.234%2C111.085%20348.051%20L%20113.401%20350.000%20200.000%20350.000%20L%20286.599%20350.000%20288.915%20348.051%20C%20293.512%20344.183%2C292.545%20336.616%2C287.126%20334.045%20C%20283.186%20332.175%2C116.544%20332.202%2C112.751%20334.073%20%22%20stroke%3D%22none%22%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"},title:"VIP Club Access"},Audio:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%203V13.55C11.41%2013.21%2010.73%2013%2010%2013C7.79%2013%206%2014.79%206%2017C6%2019.21%207.79%2021%2010%2021C12.21%2021%2014%2019.21%2014%2017V7H18V3H12Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Audio"},Visual:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%205V19H5V5H19ZM19%203H5C3.9%203%203%203.9%203%205V19C3%2020.1%203.9%2021%205%2021H19C20.1%2021%2021%2020.1%2021%2019V5C21%203.9%2020.1%203%2019%203ZM14.14%2011.86L11.14%2015.73L9%2013.14L6%2017H18L14.14%2011.86Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Visual"},"Award Show":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%205H17V3H7V5H5C3.9%205%203%205.9%203%207V8C3%2010.55%204.92%2012.63%207.39%2012.94C8.02%2014.44%209.37%2015.57%2011%2015.9V19H7V21H17V19H13V15.9C14.63%2015.57%2015.98%2014.44%2016.61%2012.94C19.08%2012.63%2021%2010.55%2021%208V7C21%205.9%2020.1%205%2019%205ZM5%208V7H7V10.82C5.84%2010.4%205%209.3%205%208ZM12%2014C10.35%2014%209%2012.65%209%2011V5H15V11C15%2012.65%2013.65%2014%2012%2014ZM19%208C19%209.3%2018.16%2010.4%2017%2010.82V7H19V8Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Award Show"},Charity:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Charity"},Benefit:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Benefit"},Exhibit:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_2907_21067)%22%3E%3Cpath%20d%3D%22M14.932%2021.9999H4.31806C3.89173%2021.9999%203.49663%2021.8072%203.2341%2021.4709C2.97199%2021.1352%202.88061%2020.7055%202.98401%2020.292L3.32776%2018.917C3.48116%2018.3033%204.02973%2017.875%204.66181%2017.875H14.5884C15.2205%2017.875%2015.769%2018.3033%2015.9224%2018.917L16.2662%2020.292C16.3696%2020.7056%2016.2783%2021.1353%2016.0161%2021.4709C15.7536%2021.8073%2015.3585%2021.9999%2014.9321%2021.9999H14.932ZM4.66162%2019.2499L4.31787%2020.6249H14.9336L14.5882%2019.2499H4.66162Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M11.6875%2019.25H7.5625C7.18287%2019.25%206.875%2018.9425%206.875%2018.5625V11.6875C6.875%2010.1708%208.10863%208.9375%209.625%208.9375C11.1414%208.9375%2012.375%2010.1708%2012.375%2011.6875V18.5625C12.375%2018.9425%2012.0671%2019.25%2011.6875%2019.25ZM8.25%2017.875H11V11.6875C11%2010.9295%2010.3833%2010.3125%209.625%2010.3125C8.86668%2010.3125%208.25%2010.9295%208.25%2011.6875V17.875Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M5.96643%2014.5552C5.02985%2014.5552%204.17957%2013.9127%203.95801%2012.964L2.71994%207.59971C2.59569%207.06196%202.68772%206.50873%202.97976%206.04145C3.27145%205.57553%203.72835%205.24989%204.26618%205.125L12.3033%203.2693C12.4816%203.22898%2012.6676%203.25928%2012.8223%203.3566C12.9771%203.45328%2013.0869%203.60704%2013.1281%203.78492L14.9842%2011.8281C15.0252%2012.0054%2014.9939%2012.1927%2014.8969%2012.3471C14.8002%2012.5015%2014.6462%2012.6117%2014.4686%2012.6526L11.8425%2013.2575C11.4709%2013.3434%2011.1037%2013.1118%2011.0181%2012.7419C10.9329%2012.3719%2011.1637%2012.0027%2011.5337%2011.9174L13.4899%2011.4669L11.943%204.76387L4.57629%206.46515C4.20632%206.55037%203.97474%206.92104%204.05995%207.29029L5.29767%2012.6533C5.38289%2013.0186%205.75558%2013.2455%206.12245%2013.1622L7.40916%2012.8668C7.78176%2012.7816%208.14801%2013.0132%208.2333%2013.3832C8.31823%2013.7531%208.08728%2014.1217%207.7173%2014.207L6.43161%2014.5024C6.27584%2014.5386%206.12009%2014.5554%205.96669%2014.5554L5.96643%2014.5552Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M14.9844%2013.2014C14.3584%2013.2014%2013.791%2012.7703%2013.6444%2012.1352L11.7894%204.09674C11.7072%203.73887%2011.7689%203.37036%2011.9633%203.05876C12.158%202.74724%2012.4625%202.53032%2012.8203%202.44775L14.1597%202.13823C14.8969%201.96972%2015.6381%202.43099%2015.8089%203.16948L17.6639%2011.2079C17.7461%2011.5658%2017.6844%2011.9343%2017.49%2012.2459C17.2953%2012.5574%2016.9911%2012.7743%2016.6333%2012.8569L15.2935%2013.1664C15.1901%2013.1899%2015.0864%2013.2014%2014.9844%2013.2014L14.9844%2013.2014ZM14.4688%203.47828L13.1294%203.7878L14.9843%2011.8262L16.3238%2011.5167H16.3248L14.4688%203.47828Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M2.87696%2013.987C1.93802%2013.987%201.08675%2013.3405%200.867259%2012.3877L0.193216%209.46651C0.0693229%208.93004%200.161992%208.37682%200.454044%207.90961C0.746094%207.4424%201.20263%207.11669%201.73938%206.99316L3.2074%206.65407C3.38465%206.61375%203.57163%206.64404%203.7264%206.74137C3.88116%206.83805%203.99095%206.9918%204.0322%207.16969L5.32462%2012.7703C5.40984%2013.1403%205.17932%2013.5095%204.80937%2013.5948L3.34105%2013.9339C3.18557%2013.9695%203.03024%2013.9869%202.87712%2013.9869L2.87696%2013.987ZM2.84681%208.1486L2.04852%208.33329C1.86927%208.37426%201.71724%208.48304%201.61983%208.63873C1.52251%208.79442%201.49164%208.97839%201.53289%209.15772L2.20736%2012.079C2.24832%2012.2576%202.35675%2012.4099%202.51244%2012.5073C2.66813%2012.6046%202.85319%2012.6362%203.03179%2012.5939L3.83008%2012.41L2.84681%208.1486Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M15.1389%204.0106C14.9408%204.0106%2014.7445%203.92538%2014.6085%203.7608C14.3668%203.46804%2014.4082%203.03499%2014.7009%202.79335L17.8912%200.157572C18.1836%20-0.0847766%2018.6176%20-0.0425183%2018.859%200.249524C19.1007%200.542289%2019.0594%200.975341%2018.7667%201.21697L15.5763%203.85276C15.4484%203.95882%2015.293%204.01053%2015.1389%204.01053V4.0106Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.3127%2013.0917C21.2593%2013.0917%2021.205%2013.0857%2021.1508%2013.0722L16.8322%2012.0302C16.463%2011.9417%2016.236%2011.5704%2016.325%2011.201C16.4139%2010.8317%2016.7862%2010.6021%2017.1544%2010.6941L21.473%2011.7361C21.8423%2011.8247%2022.0692%2012.196%2021.9802%2012.5654C21.9043%2012.8803%2021.6227%2013.0917%2021.3125%2013.0917L21.3127%2013.0917Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.6078%205.53595C17.4101%205.53595%2017.2134%205.45072%2017.0774%205.28615C16.8357%204.9941%2016.8767%204.56034%2017.1694%204.3187L18.3544%203.33915C18.6468%203.09745%2019.0802%203.13842%2019.3226%203.43111C19.5643%203.72316%2019.5233%204.15692%2019.2306%204.39856L18.0456%205.37811C17.9174%205.48417%2017.7623%205.53587%2017.6079%205.53587L17.6078%205.53595Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.7455%207.41178C18.4326%207.41178%2018.1496%207.19694%2018.0764%206.87869C17.9909%206.50872%2018.2215%206.1402%2018.5913%206.05426L19.9311%205.74473C20.2981%205.65808%2020.6703%205.88975%2020.7555%206.26036C20.8411%206.63033%2020.6105%206.99884%2020.2406%207.08479L18.9009%207.39431C18.8488%207.40642%2018.7968%207.41179%2018.7454%207.41179L18.7455%207.41178Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.0403%209.95683C19.9869%209.95683%2019.9326%209.95082%2019.8784%209.93735L18.384%209.57685C18.0147%209.48826%2017.7878%209.11701%2017.8767%208.74763C17.966%208.37904%2018.3373%208.14943%2018.7062%208.24075L20.2006%208.60126C20.5699%208.68984%2020.7968%209.06109%2020.7079%209.43047C20.632%209.74537%2020.3504%209.95684%2020.0401%209.95684L20.0403%209.95683Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M10.3125%2012.375C10.3125%2012.7547%2010.0047%2013.0625%209.625%2013.0625C9.2453%2013.0625%208.9375%2012.7547%208.9375%2012.375C8.9375%2011.9953%209.2453%2011.6875%209.625%2011.6875C10.0047%2011.6875%2010.3125%2011.9953%2010.3125%2012.375Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_2907_21067%22%3E%3Crect%20width%3D%2222%22%20height%3D%2222%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Exhibit"},"Fan Experiences":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22.178%2013.0986C22.4745%2012.6261%2022.631%2012.0848%2022.631%2011.529C22.631%209.90206%2021.3076%208.57822%2019.6806%208.57822C18.0537%208.57822%2016.7298%209.90198%2016.7298%2011.529C16.7298%2012.0847%2016.8864%2012.6258%2017.1829%2013.0986C16.8431%2013.5024%2016.5514%2013.9821%2016.3117%2014.5293C15.8205%2013.2349%2015.1277%2012.1763%2014.3061%2011.4771C14.9672%2010.8574%2015.381%209.97688%2015.381%208.99932C15.381%207.12386%2013.861%205.60352%2011.9852%205.60352C10.1097%205.60352%208.5898%207.12376%208.5898%208.99932C8.5898%209.97722%209.0034%2010.8578%209.66448%2011.4771C8.85066%2012.1702%208.16238%2013.2169%207.67198%2014.4961C7.43542%2013.9628%207.14956%2013.4937%206.81674%2013.0988C7.11354%2012.6263%207.2701%2012.085%207.2701%2011.5292C7.2701%209.90222%205.94634%208.57838%204.3193%208.57838C2.69212%208.57838%201.3685%209.90214%201.3685%2011.5292C1.3685%2012.0849%201.52506%2012.626%201.82154%2013.0988C0.914438%2014.1769%200.344278%2015.8212%200.255758%2017.6256C0.245914%2017.8256%200.319508%2018.0235%200.457638%2018.1682C0.595762%2018.313%200.789678%2018.3962%200.989898%2018.3962H23.0099C23.2101%2018.3962%2023.404%2018.3128%2023.5422%2018.1682C23.6803%2018.0235%2023.7539%2017.8256%2023.7443%2017.6256C23.6555%2015.8213%2023.0854%2014.1768%2022.178%2013.0986ZM1.08598%2017.57C1.19692%2015.721%201.87394%2014.0586%202.86388%2013.2154L2.94146%2013.1496L2.86708%2013.0797C2.43348%2012.6733%202.19458%2012.1229%202.19458%2011.5293C2.19458%2010.3578%203.14762%209.40451%204.31938%209.40451C5.49086%209.40451%206.44398%2010.3579%206.44398%2011.5293C6.44398%2012.1229%206.20508%2012.6733%205.77148%2013.0797L5.6971%2013.1496L5.77468%2013.2154C6.4264%2013.7707%206.9528%2014.6957%207.26132%2015.8056C7.12109%2016.3662%207.01468%2016.9566%206.94828%2017.5702L1.08598%2017.57ZM14.4166%2014.7854C14.1673%2015.3843%2012.3156%2017.139%2012.1048%2017.3368L11.9842%2017.4515L11.8631%2017.3368C11.6527%2017.1384%209.80214%2015.3827%209.55394%2014.7826C9.2766%2014.1122%209.59636%2013.3389%2010.2681%2013.0607C10.9132%2012.7954%2011.7156%2013.1242%2011.9857%2013.765C12.2664%2013.1016%2013.0161%2012.7784%2013.7027%2013.0618C14.3747%2013.3415%2014.6942%2014.1142%2014.4166%2014.7854ZM17.0224%2017.57C16.9576%2016.9756%2016.8562%2016.4034%2016.7224%2015.8585C17.0299%2014.7159%2017.5578%2013.7835%2018.2248%2013.2153L18.3024%2013.1495L18.228%2013.0796C17.7944%2012.6732%2017.5557%2012.1228%2017.5557%2011.5292C17.5557%2010.3578%2018.5088%209.40443%2019.6805%209.40443C20.8523%209.40443%2021.8051%2010.3578%2021.8051%2011.5292C21.8051%2012.1228%2021.5665%2012.6732%2021.1329%2013.0796L21.0585%2013.1495L21.1361%2013.2153C22.1259%2014.0585%2022.8033%2015.7209%2022.914%2017.5699L17.0224%2017.57Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.5%22/%3E%3C/svg%3E"},title:"Fan Experiences"},Festival:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.55755%203.76462L9.77959%204.42462L10.1576%203.8786L10.8476%203.9086L10.4156%203.34462L10.6136%202.70266L9.9716%202.90063L9.40754%202.47461L9.43754%203.15859L8.8916%203.53663L9.55755%203.76462Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M0.684018%209.82388L1.06206%2010.3699L1.29002%209.7099L1.95002%209.48194L1.404%209.1039L1.44001%208.41992L0.876034%208.85196L0.233994%208.65392L0.43204%209.29596L0%209.85994L0.684018%209.82388Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M3.1142%2021.3688C3.22623%2021.5262%203.4071%2021.62%203.60022%2021.6209H15.6002C15.7933%2021.62%2015.9742%2021.5262%2016.0862%2021.3688C16.1994%2021.2128%2016.2306%2021.0119%2016.1702%2020.8288C15.6723%2019.3698%2015.5003%2017.8196%2015.6662%2016.2868C15.6898%2016.0724%2015.5973%2015.8618%2015.4233%2015.7342C15.2495%2015.6066%2015.0208%2015.5814%2014.8233%2015.6682C14.6259%2015.7549%2014.4898%2015.9404%2014.4662%2016.1548C14.31%2017.5849%2014.4219%2019.0316%2014.7962%2020.4208H12.3962C12.1218%2019.1331%2011.989%2017.8194%2012.0002%2016.5028C12.0002%2016.3436%2011.937%2016.191%2011.8245%2016.0785C11.7119%2015.966%2011.5594%2015.9028%2011.4002%2015.9028C11.2411%2015.9028%2011.0885%2015.966%2010.9759%2016.0785C10.8634%2016.191%2010.8002%2016.3436%2010.8002%2016.5028C10.7841%2017.8177%2010.9048%2019.1308%2011.1602%2020.4208H8.04021C8.29771%2019.1209%208.41833%2017.7978%208.40021%2016.4728C8.40021%2016.3136%208.33701%2016.161%208.22451%2016.0485C8.11193%2015.936%207.95935%2015.8728%207.80021%2015.8728C7.64107%2015.8728%207.48849%2015.936%207.37591%2016.0485C7.26341%2016.161%207.20021%2016.3136%207.20021%2016.4728C7.2156%2017.7991%207.08482%2019.1232%206.81021%2020.4208H4.41021C4.78247%2019.0313%204.89239%2017.5846%204.73419%2016.1548C4.71059%2015.9404%204.5745%2015.7549%204.37709%2015.6682C4.17959%2015.5814%203.95091%2015.6066%203.77709%2015.7342C3.60318%2015.8618%203.51061%2016.0724%203.53419%2016.2868C3.70012%2017.8195%203.52809%2019.3698%203.03021%2020.8288C2.96982%2021.0119%203.00107%2021.2128%203.1142%2021.3688Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.1376%2012.6204C18.1311%2012.4226%2018.0337%2012.2389%2017.8736%2012.1225C15.0232%2010.2542%2012.3944%208.06828%2010.0376%205.60648C9.9194%205.49422%209.76268%205.43164%209.59964%205.43164C9.4366%205.43164%209.27988%205.49422%209.16168%205.60648C6.80488%208.06828%204.17588%2010.2543%201.32568%2012.1225C1.1656%2012.2389%201.06818%2012.4226%201.0617%2012.6204C1.02732%2013.3408%201.27936%2014.0454%201.7628%2014.5804C2.24616%2015.1155%202.92162%2015.4376%203.6417%2015.4765C4.43428%2015.4615%205.1721%2015.0692%205.62764%2014.4204C6.07436%2015.0787%206.81818%2015.4729%207.61366%2015.4729C8.4092%2015.4729%209.15304%2015.0787%209.59968%2014.4204C10.0463%2015.0787%2010.7901%2015.4729%2011.5857%2015.4729C12.3812%2015.4729%2013.125%2015.0787%2013.5717%2014.4204C14.0356%2015.0556%2014.7713%2015.4356%2015.5577%2015.4465C16.2723%2015.4076%2016.9431%2015.0897%2017.4257%2014.5611C17.9082%2014.0325%2018.1639%2013.3357%2018.1377%2012.6204ZM7.19958%2012.0204C8.24716%2010.8424%209.06154%209.47624%209.59958%207.99444C10.1376%209.47624%2010.952%2010.8424%2011.9996%2012.0204H7.19958ZM13.7276%2012.0204C12.5012%2011.0271%2011.5558%209.73004%2010.9856%208.25844C12.4414%209.60992%2013.9826%2010.8666%2015.5996%2012.0204H13.7276ZM8.16558%208.25844H8.16566C7.6002%209.7264%206.6637%2011.0226%205.44766%2012.0204H3.5997C5.20846%2010.8657%206.7415%209.60904%208.1897%208.25844H8.16558Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M5.39995%205.56484C5.43276%205.69796%205.51026%205.81586%205.61941%205.89882C5.72863%205.98179%205.86293%206.02484%205.99995%206.02085H6.14394C6.30558%205.98695%206.44604%205.88796%206.53238%205.74717C6.61863%205.60639%206.64308%205.43623%206.59995%205.27685C6.29589%204.00021%205.64363%202.83305%204.71573%201.90505C3.78777%200.977152%202.62053%200.324891%201.34393%200.0208315C1.18456%20-0.0222925%201.01439%200.00215971%200.873613%200.0884095C0.732831%200.174738%200.633853%200.315209%200.599933%200.476849C0.556809%200.636225%200.581261%200.806389%200.667511%200.947169C0.753839%201.08795%200.894311%201.18693%201.05595%201.22085C2.10861%201.47717%203.07055%202.01795%203.83675%202.78405C4.60285%203.55015%205.14363%204.51216%205.39995%205.56484Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M0.0303734%206.21264C0.0746694%206.36952%200.180841%206.5017%200.324593%206.57866C0.468345%206.65562%200.637254%206.67077%200.792414%206.62062C1.48257%206.37132%202.23819%206.37132%202.92841%206.62062C3.55857%206.87484%204.03801%207.40296%204.23045%208.0546C4.27756%208.16592%204.35717%208.26046%204.45889%208.32578C4.56061%208.39109%204.67967%208.42414%204.80045%208.42062C4.86545%208.41898%204.93006%208.4089%204.99249%208.39062C5.14936%208.34632%205.28155%208.24015%205.35851%208.0964C5.43547%207.95265%205.45062%207.78374%205.40046%207.62858C5.24687%207.14304%204.98828%206.69718%204.64296%206.32288C4.29764%205.9485%203.87414%205.65476%203.4025%205.46264C2.44476%205.11662%201.3961%205.11662%200.438499%205.46264C0.284359%205.50709%200.154519%205.61147%200.0777994%205.75232C0.00115944%205.89326%20-0.0158725%206.05904%200.0305335%206.21264L0.0303734%206.21264Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M15.8277%205.46306C15.3561%205.65517%2014.9326%205.94892%2014.5873%206.3233C14.242%206.6976%2013.9834%207.14346%2013.8298%207.629C13.7688%207.78384%2013.7749%207.95704%2013.8466%208.1072C13.9183%208.25736%2014.0491%208.37102%2014.2078%208.42102C14.2715%208.42922%2014.336%208.42922%2014.3998%208.42102C14.5256%208.42133%2014.6483%208.38211%2014.7506%208.30891C14.8528%208.23571%2014.9295%208.13219%2014.9698%208.01305C15.1622%207.36133%2015.6417%206.83329%2016.2718%206.57899C16.962%206.32977%2017.7176%206.32977%2018.4078%206.57899C18.6115%206.64758%2018.8363%206.60235%2018.9975%206.46032C19.1587%206.31821%2019.2319%206.10094%2019.1895%205.89032C19.147%205.67962%2018.9955%205.50758%2018.7919%205.439C17.8313%205.1008%2016.7827%205.10932%2015.8279%205.46306H15.8277Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M19.2%209.85994L18.768%209.29596L18.966%208.65392L18.324%208.85196L17.76%208.41992L17.796%209.1039L17.25%209.48194L17.91%209.7099L18.138%2010.3699L18.51%209.82388L19.2%209.85994Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M17.856%200.0209578C16.5793%200.325018%2015.4122%200.977278%2014.4842%201.90518C13.5563%202.83314%2012.904%204.00038%2012.5999%205.27698C12.5568%205.43635%2012.5813%205.60652%2012.6675%205.7473C12.7538%205.88808%2012.8943%205.98706%2013.056%206.02098H13.1999C13.337%206.02496%2013.4713%205.98192%2013.5805%205.89895C13.6896%205.81598%2013.7671%205.69809%2013.7999%205.56497C14.0563%204.51231%2014.597%203.55037%2015.3631%202.78417C16.1292%202.01807%2017.0913%201.47729%2018.1439%201.22097C18.3583%201.16948%2018.5289%201.00761%2018.5916%200.796286C18.6542%200.584886%2018.5993%200.356206%2018.4475%200.196286C18.2958%200.0363639%2018.0704%20-0.0305141%2017.856%200.0209739L17.856%200.0209578Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Festival"},Lecture:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2021%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5318%200.300781H3.94785C3.31137%200.300781%202.70089%200.553681%202.25081%201.00374C1.80073%201.45382%201.54785%202.06428%201.54785%202.70078V10.3808C1.54785%2011.0173%201.80075%2011.6277%202.25081%2012.0778C2.70089%2012.5279%203.31135%2012.7808%203.94785%2012.7808H17.5318C18.1683%2012.7808%2018.7788%2012.5279%2019.2289%2012.0778C19.679%2011.6277%2019.9319%2011.0173%2019.9319%2010.3808V2.70078C19.9319%202.0643%2019.679%201.45382%2019.2289%201.00374C18.7788%200.553661%2018.1684%200.300781%2017.5318%200.300781ZM10.4999%207.59678C9.93337%207.59678%209.39009%207.3717%208.98945%206.97116C8.58891%206.57054%208.36383%206.02726%208.36383%205.46076C8.36383%204.89426%208.58891%204.351%208.98945%203.95036C9.39007%203.54982%209.93335%203.32474%2010.4999%203.32474C11.0664%203.32474%2011.6096%203.54982%2012.0103%203.95036C12.4108%204.35098%2012.6359%204.89426%2012.6359%205.46076C12.6359%206.02726%2012.4108%206.57052%2012.0103%206.97116C11.6096%207.3717%2011.0664%207.59678%2010.4999%207.59678ZM10.4999%208.55678C11.3976%208.55826%2012.2629%208.89296%2012.9281%209.496C13.5931%2010.099%2014.0107%2010.9274%2014.0999%2011.8208H6.89993C6.98915%2010.9274%207.40673%2010.099%208.07181%209.496C8.73689%208.89296%209.60221%208.55826%2010.5%208.55678H10.4999ZM18.9718%2010.3808C18.9718%2010.7626%2018.8201%2011.129%2018.5501%2011.399C18.28%2011.669%2017.9137%2011.8208%2017.5318%2011.8208H15.0599C14.9922%2010.9903%2014.6995%2010.194%2014.2132%209.51736C13.727%208.84072%2013.0655%208.30954%2012.2999%207.98072C13.0122%207.4665%2013.4726%206.67392%2013.5662%205.80032C13.6598%204.9268%2013.378%204.05462%2012.7908%203.40112C12.2036%202.74762%2011.3664%202.3744%2010.4878%202.3744C9.60925%202.3744%208.77207%202.7476%208.18497%203.40112C7.59787%204.05464%207.31591%204.92682%207.40951%205.80032C7.50318%206.67392%207.96357%207.4665%208.67591%207.98072C7.91481%208.3129%207.25825%208.84564%206.77631%209.52196C6.29443%2010.1983%206.00537%2010.9928%205.93991%2011.8208H3.94787C3.56599%2011.8208%203.19975%2011.669%202.92967%2011.399C2.65959%2011.129%202.50787%2010.7626%202.50787%2010.3808V2.70076C2.50787%202.31888%202.65959%201.95256%202.92967%201.68256C3.19975%201.41248%203.56599%201.26076%203.94787%201.26076H17.5319C17.9138%201.26076%2018.28%201.41248%2018.5501%201.68256C18.8202%201.95256%2018.9719%202.31888%2018.9719%202.70076L18.9718%2010.3808Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M20.1481%2016.8841C20.1559%2016.0485%2019.7328%2015.2678%2019.0284%2014.8183C18.3241%2014.3687%2017.4377%2014.3136%2016.683%2014.6725C15.9284%2015.0314%2015.4119%2015.7536%2015.3162%2016.5838C15.2204%2017.4139%2015.559%2018.2348%2016.2121%2018.756C15.3108%2019.2876%2014.7548%2020.2536%2014.748%2021.3V21.9C14.748%2022.2183%2014.8745%2022.5235%2015.0995%2022.7485C15.3246%2022.9736%2015.6298%2023.1%2015.948%2023.1H19.5C19.8183%2023.1%2020.1236%2022.9736%2020.3486%2022.7485C20.5736%2022.5235%2020.7%2022.2183%2020.7%2021.9V21.3C20.6933%2020.2536%2020.1374%2019.2876%2019.2361%2018.756C19.809%2018.3032%2020.1447%2017.6142%2020.148%2016.8839L20.1481%2016.8841ZM17.7241%2015.4201C18.1124%2015.4201%2018.4848%2015.5743%2018.7594%2015.8489C19.0339%2016.1234%2019.1881%2016.4958%2019.1881%2016.8841C19.1881%2017.2723%2019.0339%2017.6448%2018.7594%2017.9193C18.4848%2018.1938%2018.1124%2018.3481%2017.7241%2018.3481C17.3358%2018.3481%2016.9635%2018.1938%2016.689%2017.9193C16.4144%2017.6448%2016.2601%2017.2723%2016.2601%2016.8841C16.2601%2016.4958%2016.4144%2016.1234%2016.689%2015.8489C16.9635%2015.5743%2017.3358%2015.4201%2017.7241%2015.4201ZM19.7401%2021.9001C19.7401%2021.9637%2019.7148%2022.0248%2019.6698%2022.0698C19.6248%2022.1148%2019.5638%2022.1401%2019.5001%2022.1401H15.9481C15.8156%2022.1401%2015.7081%2022.0326%2015.7081%2021.9001V21.3001C15.7081%2020.5798%2016.0924%2019.9143%2016.7162%2019.5541C17.3399%2019.1941%2018.1084%2019.1941%2018.7322%2019.5541C19.3559%2019.9143%2019.7401%2020.5798%2019.7401%2021.3001V21.9001Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M1.4998%2023.1002H5.0518C5.37%2023.1002%205.67524%2022.9738%205.90032%2022.7487C6.12532%2022.5237%206.2518%2022.2185%206.2518%2021.9002V21.3002C6.24501%2020.2538%205.68906%2019.2878%204.78774%2018.7562C5.31478%2018.3356%205.64282%2017.7145%205.69306%2017.0421C5.7433%2016.3697%205.51119%2015.7068%205.05252%2015.2126C4.59384%2014.7184%203.95002%2014.4375%203.2758%2014.4375C2.6015%2014.4375%201.95776%2014.7184%201.49908%2015.2126C1.0404%2015.7068%200.808305%2016.3697%200.858545%2017.0421C0.908785%2017.7146%201.23674%2018.3356%201.76378%2018.7562C0.862465%2019.2878%200.306605%2020.2538%200.299805%2021.3002V21.9002C0.299805%2022.2185%200.426211%2022.5237%200.651285%2022.7487C0.876285%2022.9738%201.18152%2023.1002%201.4998%2023.1002ZM3.27582%2015.4202C3.6641%2015.4202%204.03644%2015.5744%204.31098%2015.849C4.58558%2016.1235%204.7398%2016.4959%204.7398%2016.8842C4.7398%2017.2724%204.58559%2017.6449%204.31098%2017.9194C4.03644%2018.1939%203.6641%2018.3482%203.27582%2018.3482C2.88754%2018.3482%202.51512%2018.1939%202.24058%2017.9194C1.96604%2017.6449%201.81182%2017.2724%201.81182%2016.8842C1.81182%2016.4959%201.96604%2016.1235%202.24058%2015.849C2.51512%2015.5744%202.88754%2015.4202%203.27582%2015.4202ZM1.25982%2021.3002C1.25982%2020.5799%201.64404%2019.9144%202.26778%2019.5542C2.89154%2019.1942%203.66004%2019.1942%204.28378%2019.5542C4.90754%2019.9144%205.29182%2020.5799%205.29182%2021.3002V21.9002C5.29182%2021.9639%205.26651%2022.0249%205.22151%2022.0699C5.17651%2022.1149%205.11542%2022.1402%205.05183%2022.1402H1.49982C1.36725%2022.1402%201.25982%2022.0328%201.25982%2021.9002V21.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M7.52344%2021.3002V21.9002C7.52344%2022.2185%207.64984%2022.5237%207.87492%2022.7487C8.1%2022.9738%208.40516%2023.1002%208.72344%2023.1002H12.2754C12.5937%2023.1002%2012.8989%2022.9738%2013.124%2022.7487C13.349%2022.5237%2013.4754%2022.2185%2013.4754%2021.9002V21.3002C13.4686%2020.2538%2012.9128%2019.2878%2012.0115%2018.7562C12.5384%2018.3356%2012.8665%2017.7145%2012.9167%2017.0421C12.9669%2016.3697%2012.7348%2015.7068%2012.2762%2015.2126C11.8175%2014.7184%2011.1737%2014.4375%2010.4994%2014.4375C9.82514%2014.4375%209.1814%2014.7184%208.72272%2015.2126C8.26404%2015.7068%208.03194%2016.3697%208.08218%2017.0421C8.13242%2017.7146%208.46046%2018.3356%208.98742%2018.7562C8.0861%2019.2878%207.53024%2020.2538%207.52344%2021.3002ZM10.4994%2015.4202C10.8877%2015.4202%2011.2601%2015.5744%2011.5347%2015.849C11.8092%2016.1235%2011.9634%2016.4959%2011.9634%2016.8842C11.9634%2017.2724%2011.8092%2017.6449%2011.5347%2017.9194C11.2601%2018.1939%2010.8877%2018.3482%2010.4994%2018.3482C10.1112%2018.3482%209.73882%2018.1939%209.4642%2017.9194C9.18966%2017.6449%209.03544%2017.2724%209.03544%2016.8842C9.03544%2016.4959%209.18965%2016.1235%209.4642%2015.849C9.7388%2015.5744%2010.1112%2015.4202%2010.4994%2015.4202ZM8.48344%2021.3002C8.48344%2020.5799%208.86774%2019.9144%209.49148%2019.5542C10.1152%2019.1942%2010.8837%2019.1942%2011.5075%2019.5542C12.1312%2019.9144%2012.5155%2020.5799%2012.5155%2021.3002V21.9002C12.5155%2021.9639%2012.4902%2022.0249%2012.4452%2022.0699C12.4002%2022.1149%2012.3392%2022.1402%2012.2755%2022.1402H8.72352C8.59102%2022.1402%208.48352%2022.0328%208.48352%2021.9002L8.48344%2021.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3C/svg%3E"},title:"Lecture"},Seminar:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2021%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5318%200.300781H3.94785C3.31137%200.300781%202.70089%200.553681%202.25081%201.00374C1.80073%201.45382%201.54785%202.06428%201.54785%202.70078V10.3808C1.54785%2011.0173%201.80075%2011.6277%202.25081%2012.0778C2.70089%2012.5279%203.31135%2012.7808%203.94785%2012.7808H17.5318C18.1683%2012.7808%2018.7788%2012.5279%2019.2289%2012.0778C19.679%2011.6277%2019.9319%2011.0173%2019.9319%2010.3808V2.70078C19.9319%202.0643%2019.679%201.45382%2019.2289%201.00374C18.7788%200.553661%2018.1684%200.300781%2017.5318%200.300781ZM10.4999%207.59678C9.93337%207.59678%209.39009%207.3717%208.98945%206.97116C8.58891%206.57054%208.36383%206.02726%208.36383%205.46076C8.36383%204.89426%208.58891%204.351%208.98945%203.95036C9.39007%203.54982%209.93335%203.32474%2010.4999%203.32474C11.0664%203.32474%2011.6096%203.54982%2012.0103%203.95036C12.4108%204.35098%2012.6359%204.89426%2012.6359%205.46076C12.6359%206.02726%2012.4108%206.57052%2012.0103%206.97116C11.6096%207.3717%2011.0664%207.59678%2010.4999%207.59678ZM10.4999%208.55678C11.3976%208.55826%2012.2629%208.89296%2012.9281%209.496C13.5931%2010.099%2014.0107%2010.9274%2014.0999%2011.8208H6.89993C6.98915%2010.9274%207.40673%2010.099%208.07181%209.496C8.73689%208.89296%209.60221%208.55826%2010.5%208.55678H10.4999ZM18.9718%2010.3808C18.9718%2010.7626%2018.8201%2011.129%2018.5501%2011.399C18.28%2011.669%2017.9137%2011.8208%2017.5318%2011.8208H15.0599C14.9922%2010.9903%2014.6995%2010.194%2014.2132%209.51736C13.727%208.84072%2013.0655%208.30954%2012.2999%207.98072C13.0122%207.4665%2013.4726%206.67392%2013.5662%205.80032C13.6598%204.9268%2013.378%204.05462%2012.7908%203.40112C12.2036%202.74762%2011.3664%202.3744%2010.4878%202.3744C9.60925%202.3744%208.77207%202.7476%208.18497%203.40112C7.59787%204.05464%207.31591%204.92682%207.40951%205.80032C7.50318%206.67392%207.96357%207.4665%208.67591%207.98072C7.91481%208.3129%207.25825%208.84564%206.77631%209.52196C6.29443%2010.1983%206.00537%2010.9928%205.93991%2011.8208H3.94787C3.56599%2011.8208%203.19975%2011.669%202.92967%2011.399C2.65959%2011.129%202.50787%2010.7626%202.50787%2010.3808V2.70076C2.50787%202.31888%202.65959%201.95256%202.92967%201.68256C3.19975%201.41248%203.56599%201.26076%203.94787%201.26076H17.5319C17.9138%201.26076%2018.28%201.41248%2018.5501%201.68256C18.8202%201.95256%2018.9719%202.31888%2018.9719%202.70076L18.9718%2010.3808Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M20.1481%2016.8841C20.1559%2016.0485%2019.7328%2015.2678%2019.0284%2014.8183C18.3241%2014.3687%2017.4377%2014.3136%2016.683%2014.6725C15.9284%2015.0314%2015.4119%2015.7536%2015.3162%2016.5838C15.2204%2017.4139%2015.559%2018.2348%2016.2121%2018.756C15.3108%2019.2876%2014.7548%2020.2536%2014.748%2021.3V21.9C14.748%2022.2183%2014.8745%2022.5235%2015.0995%2022.7485C15.3246%2022.9736%2015.6298%2023.1%2015.948%2023.1H19.5C19.8183%2023.1%2020.1236%2022.9736%2020.3486%2022.7485C20.5736%2022.5235%2020.7%2022.2183%2020.7%2021.9V21.3C20.6933%2020.2536%2020.1374%2019.2876%2019.2361%2018.756C19.809%2018.3032%2020.1447%2017.6142%2020.148%2016.8839L20.1481%2016.8841ZM17.7241%2015.4201C18.1124%2015.4201%2018.4848%2015.5743%2018.7594%2015.8489C19.0339%2016.1234%2019.1881%2016.4958%2019.1881%2016.8841C19.1881%2017.2723%2019.0339%2017.6448%2018.7594%2017.9193C18.4848%2018.1938%2018.1124%2018.3481%2017.7241%2018.3481C17.3358%2018.3481%2016.9635%2018.1938%2016.689%2017.9193C16.4144%2017.6448%2016.2601%2017.2723%2016.2601%2016.8841C16.2601%2016.4958%2016.4144%2016.1234%2016.689%2015.8489C16.9635%2015.5743%2017.3358%2015.4201%2017.7241%2015.4201ZM19.7401%2021.9001C19.7401%2021.9637%2019.7148%2022.0248%2019.6698%2022.0698C19.6248%2022.1148%2019.5638%2022.1401%2019.5001%2022.1401H15.9481C15.8156%2022.1401%2015.7081%2022.0326%2015.7081%2021.9001V21.3001C15.7081%2020.5798%2016.0924%2019.9143%2016.7162%2019.5541C17.3399%2019.1941%2018.1084%2019.1941%2018.7322%2019.5541C19.3559%2019.9143%2019.7401%2020.5798%2019.7401%2021.3001V21.9001Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M1.4998%2023.1002H5.0518C5.37%2023.1002%205.67524%2022.9738%205.90032%2022.7487C6.12532%2022.5237%206.2518%2022.2185%206.2518%2021.9002V21.3002C6.24501%2020.2538%205.68906%2019.2878%204.78774%2018.7562C5.31478%2018.3356%205.64282%2017.7145%205.69306%2017.0421C5.7433%2016.3697%205.51119%2015.7068%205.05252%2015.2126C4.59384%2014.7184%203.95002%2014.4375%203.2758%2014.4375C2.6015%2014.4375%201.95776%2014.7184%201.49908%2015.2126C1.0404%2015.7068%200.808305%2016.3697%200.858545%2017.0421C0.908785%2017.7146%201.23674%2018.3356%201.76378%2018.7562C0.862465%2019.2878%200.306605%2020.2538%200.299805%2021.3002V21.9002C0.299805%2022.2185%200.426211%2022.5237%200.651285%2022.7487C0.876285%2022.9738%201.18152%2023.1002%201.4998%2023.1002ZM3.27582%2015.4202C3.6641%2015.4202%204.03644%2015.5744%204.31098%2015.849C4.58558%2016.1235%204.7398%2016.4959%204.7398%2016.8842C4.7398%2017.2724%204.58559%2017.6449%204.31098%2017.9194C4.03644%2018.1939%203.6641%2018.3482%203.27582%2018.3482C2.88754%2018.3482%202.51512%2018.1939%202.24058%2017.9194C1.96604%2017.6449%201.81182%2017.2724%201.81182%2016.8842C1.81182%2016.4959%201.96604%2016.1235%202.24058%2015.849C2.51512%2015.5744%202.88754%2015.4202%203.27582%2015.4202ZM1.25982%2021.3002C1.25982%2020.5799%201.64404%2019.9144%202.26778%2019.5542C2.89154%2019.1942%203.66004%2019.1942%204.28378%2019.5542C4.90754%2019.9144%205.29182%2020.5799%205.29182%2021.3002V21.9002C5.29182%2021.9639%205.26651%2022.0249%205.22151%2022.0699C5.17651%2022.1149%205.11542%2022.1402%205.05183%2022.1402H1.49982C1.36725%2022.1402%201.25982%2022.0328%201.25982%2021.9002V21.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3Cpath%20d%3D%22M7.52344%2021.3002V21.9002C7.52344%2022.2185%207.64984%2022.5237%207.87492%2022.7487C8.1%2022.9738%208.40516%2023.1002%208.72344%2023.1002H12.2754C12.5937%2023.1002%2012.8989%2022.9738%2013.124%2022.7487C13.349%2022.5237%2013.4754%2022.2185%2013.4754%2021.9002V21.3002C13.4686%2020.2538%2012.9128%2019.2878%2012.0115%2018.7562C12.5384%2018.3356%2012.8665%2017.7145%2012.9167%2017.0421C12.9669%2016.3697%2012.7348%2015.7068%2012.2762%2015.2126C11.8175%2014.7184%2011.1737%2014.4375%2010.4994%2014.4375C9.82514%2014.4375%209.1814%2014.7184%208.72272%2015.2126C8.26404%2015.7068%208.03194%2016.3697%208.08218%2017.0421C8.13242%2017.7146%208.46046%2018.3356%208.98742%2018.7562C8.0861%2019.2878%207.53024%2020.2538%207.52344%2021.3002ZM10.4994%2015.4202C10.8877%2015.4202%2011.2601%2015.5744%2011.5347%2015.849C11.8092%2016.1235%2011.9634%2016.4959%2011.9634%2016.8842C11.9634%2017.2724%2011.8092%2017.6449%2011.5347%2017.9194C11.2601%2018.1939%2010.8877%2018.3482%2010.4994%2018.3482C10.1112%2018.3482%209.73882%2018.1939%209.4642%2017.9194C9.18966%2017.6449%209.03544%2017.2724%209.03544%2016.8842C9.03544%2016.4959%209.18965%2016.1235%209.4642%2015.849C9.7388%2015.5744%2010.1112%2015.4202%2010.4994%2015.4202ZM8.48344%2021.3002C8.48344%2020.5799%208.86774%2019.9144%209.49148%2019.5542C10.1152%2019.1942%2010.8837%2019.1942%2011.5075%2019.5542C12.1312%2019.9144%2012.5155%2020.5799%2012.5155%2021.3002V21.9002C12.5155%2021.9639%2012.4902%2022.0249%2012.4452%2022.0699C12.4002%2022.1149%2012.3392%2022.1402%2012.2755%2022.1402H8.72352C8.59102%2022.1402%208.48352%2022.0328%208.48352%2021.9002L8.48344%2021.3002Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.6%22/%3E%3C/svg%3E"},title:"Seminar"},Party:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.132%2015.48L5.53203%208.88002C5.43602%208.784%205.31601%208.73603%205.19601%208.76002C5.07601%208.76002%204.95601%208.80798%204.85999%208.904C4.81202%208.95197%204.78796%208.97603%204.76398%209.04799L0.035976%2020.352C-0.011992%2020.472%20-0.011992%2020.592%200.035976%2020.712C0.083944%2020.832%200.17996%2020.928%200.275976%2020.976C0.323944%2020.9999%200.395976%2021.0239%200.468008%2021.0239H0.564024L0.588008%2020.9999H0.635976L12.012%2016.2239C12.132%2016.176%2012.204%2016.08%2012.252%2015.96C12.2999%2015.84%2012.2999%2015.72%2012.228%2015.6C12.2039%2015.552%2012.1799%2015.528%2012.132%2015.48L12.132%2015.48ZM2.00403%2018.096L2.91607%2019.0081L1.35607%2019.656L2.00403%2018.096ZM8.43603%2016.7041L6.61205%2017.448L3.54005%2014.4L4.28403%2012.5761L8.43603%2016.7041Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M7.06836%209.00037L6.90039%209.16841L7.57243%209.84045L7.7404%209.67248C8.3404%209.07248%208.74836%208.30452%208.9404%207.46448C9.10837%206.69652%209.08438%205.8805%208.86837%205.13648L8.79634%204.89648L7.8843%205.18444L7.95633%205.40046C8.14836%206.00046%208.14836%206.64842%208.02836%207.24842C7.88437%207.89632%207.54836%208.5203%207.06836%209.0003V9.00037Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M6.99639%203.76806L7.45242%205.25602L8.58037%204.2L10.0924%204.56L9.73242%203.04796L10.7884%201.92L9.30048%201.46398L8.82039%200L7.69243%201.05602L6.18039%200.69602L6.54039%202.20806L5.48438%203.33602L6.99639%203.76806Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.1158%2012.2152L15.8758%2012.1432C15.1319%2011.9272%2014.3158%2011.9032%2013.5478%2012.0712C12.7078%2012.2632%2011.9399%2012.6712%2011.3398%2013.2712L11.1719%2013.4391L11.8439%2014.1112L12.0119%2013.9432C12.4919%2013.4632%2013.0919%2013.1272%2013.7639%2012.9832C14.3639%2012.8392%2015.0119%2012.8632%2015.6119%2013.0552L15.8279%2013.1273L16.1158%2012.2152Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.0124%2012.192L19.5245%2011.736L19.0684%2010.248L17.9405%2011.3041L16.4284%2010.9441L16.7884%2012.4561L15.7324%2013.5841L17.2204%2014.0401L17.6764%2015.528L18.8044%2014.472L20.3164%2014.832L19.9564%2013.32L21.0124%2012.192Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M13.2604%207.75298L13.7164%209.24094L14.8444%208.18492L16.3564%208.54492L15.9964%207.03288L17.0525%205.90492L15.5645%205.4489L15.1085%203.96094L13.9805%205.01696L12.4685%204.65696L12.8285%206.169L11.7725%207.29696L13.2604%207.75298Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7696%208.90602L9.83375%2011.8418L9.17188%2011.1799L12.1077%208.24414L12.7696%208.90602Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Party"},Gala:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.132%2015.48L5.53203%208.88002C5.43602%208.784%205.31601%208.73603%205.19601%208.76002C5.07601%208.76002%204.95601%208.80798%204.85999%208.904C4.81202%208.95197%204.78796%208.97603%204.76398%209.04799L0.035976%2020.352C-0.011992%2020.472%20-0.011992%2020.592%200.035976%2020.712C0.083944%2020.832%200.17996%2020.928%200.275976%2020.976C0.323944%2020.9999%200.395976%2021.0239%200.468008%2021.0239H0.564024L0.588008%2020.9999H0.635976L12.012%2016.2239C12.132%2016.176%2012.204%2016.08%2012.252%2015.96C12.2999%2015.84%2012.2999%2015.72%2012.228%2015.6C12.2039%2015.552%2012.1799%2015.528%2012.132%2015.48L12.132%2015.48ZM2.00403%2018.096L2.91607%2019.0081L1.35607%2019.656L2.00403%2018.096ZM8.43603%2016.7041L6.61205%2017.448L3.54005%2014.4L4.28403%2012.5761L8.43603%2016.7041Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M7.06836%209.00037L6.90039%209.16841L7.57243%209.84045L7.7404%209.67248C8.3404%209.07248%208.74836%208.30452%208.9404%207.46448C9.10837%206.69652%209.08438%205.8805%208.86837%205.13648L8.79634%204.89648L7.8843%205.18444L7.95633%205.40046C8.14836%206.00046%208.14836%206.64842%208.02836%207.24842C7.88437%207.89632%207.54836%208.5203%207.06836%209.0003V9.00037Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M6.99639%203.76806L7.45242%205.25602L8.58037%204.2L10.0924%204.56L9.73242%203.04796L10.7884%201.92L9.30048%201.46398L8.82039%200L7.69243%201.05602L6.18039%200.69602L6.54039%202.20806L5.48438%203.33602L6.99639%203.76806Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.1158%2012.2152L15.8758%2012.1432C15.1319%2011.9272%2014.3158%2011.9032%2013.5478%2012.0712C12.7078%2012.2632%2011.9399%2012.6712%2011.3398%2013.2712L11.1719%2013.4391L11.8439%2014.1112L12.0119%2013.9432C12.4919%2013.4632%2013.0919%2013.1272%2013.7639%2012.9832C14.3639%2012.8392%2015.0119%2012.8632%2015.6119%2013.0552L15.8279%2013.1273L16.1158%2012.2152Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M21.0124%2012.192L19.5245%2011.736L19.0684%2010.248L17.9405%2011.3041L16.4284%2010.9441L16.7884%2012.4561L15.7324%2013.5841L17.2204%2014.0401L17.6764%2015.528L18.8044%2014.472L20.3164%2014.832L19.9564%2013.32L21.0124%2012.192Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M13.2604%207.75298L13.7164%209.24094L14.8444%208.18492L16.3564%208.54492L15.9964%207.03288L17.0525%205.90492L15.5645%205.4489L15.1085%203.96094L13.9805%205.01696L12.4685%204.65696L12.8285%206.169L11.7725%207.29696L13.2604%207.75298Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7696%208.90602L9.83375%2011.8418L9.17188%2011.1799L12.1077%208.24414L12.7696%208.90602Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Gala"},Sightseeing:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209C5%2014.25%2012%2022%2012%2022C12%2022%2019%2014.25%2019%209C19%205.13%2015.87%202%2012%202ZM7%209C7%206.24%209.24%204%2012%204C14.76%204%2017%206.24%2017%209C17%2011.88%2014.12%2016.19%2012%2018.88C9.92%2016.21%207%2011.85%207%209Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M12%2011.5C13.3807%2011.5%2014.5%2010.3807%2014.5%209C14.5%207.61929%2013.3807%206.5%2012%206.5C10.6193%206.5%209.5%207.61929%209.5%209C9.5%2010.3807%2010.6193%2011.5%2012%2011.5Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Sightseeing"},Facility:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%202C8.13%202%205%205.13%205%209C5%2014.25%2012%2022%2012%2022C12%2022%2019%2014.25%2019%209C19%205.13%2015.87%202%2012%202ZM7%209C7%206.24%209.24%204%2012%204C14.76%204%2017%206.24%2017%209C17%2011.88%2014.12%2016.19%2012%2018.88C9.92%2016.21%207%2011.85%207%209Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M12%2011.5C13.3807%2011.5%2014.5%2010.3807%2014.5%209C14.5%207.61929%2013.3807%206.5%2012%206.5C10.6193%206.5%209.5%207.61929%209.5%209C9.5%2010.3807%2010.6193%2011.5%2012%2011.5Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Facility"},"Test Event":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%203H18V1H16V3H8V1H6V3H5C3.9%203%203%203.9%203%205V19C3%2020.1%203.9%2021%205%2021H19C20.1%2021%2021%2020.1%2021%2019V5C21%203.9%2020.1%203%2019%203ZM19%2019H5V9H19V19ZM5%207V5H19V7H5ZM10.56%2017.46L16.49%2011.53L15.43%2010.47L10.56%2015.34L8.45%2013.23L7.39%2014.29L10.56%2017.46Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Test Event"},Virtual:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%2018C21.1%2018%2021.99%2017.1%2021.99%2016L22%206C22%204.9%2021.1%204%2020%204H4C2.9%204%202%204.9%202%206V16C2%2017.1%202.9%2018%204%2018H0V20H24V18H20ZM4%206H20V16H4V6Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Virtual"},"Added Value Vouchers":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2018%22%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M1.75999%207.39859C2.04178%207.40225%202.33865%207.46781%202.63413%207.6099H2.63441L7.74291%2010.0648C7.98508%209.5053%208.56743%209.11906%209.22345%209.13793H9.22444L12.1587%209.22759C12.8777%209.22759%2013.4204%209.05477%2014.1064%208.85629C14.7942%208.65739%2015.6122%208.44212%2016.743%208.44212C17.6747%208.44212%2018.9303%208.72363%2019.9529%209.06996V8.43111C19.9529%208.35978%2019.9671%208.28831%2019.9945%208.22248C20.0218%208.15651%2020.0623%208.09604%2020.1127%208.04557C20.1632%207.99511%2020.2237%207.95465%2020.2897%207.92731C20.3556%207.89996%2020.427%207.88572%2020.4983%207.88572H23.4545C23.5258%207.88572%2023.5973%207.89996%2023.6632%207.92717C23.7292%207.95451%2023.7897%207.99497%2023.8401%208.04543C23.8906%208.0959%2023.9311%208.15637%2023.9584%208.22234C23.9858%208.28831%2024%208.35964%2024%208.43111V16.5442C24%2016.6156%2023.9858%2016.687%2023.9584%2016.753C23.9311%2016.819%2023.8906%2016.8794%2023.8401%2016.9299C23.7897%2016.9804%2023.7292%2017.0208%2023.6632%2017.0482C23.5973%2017.0755%2023.5259%2017.0896%2023.4545%2017.0896H20.4983C20.427%2017.0896%2020.3555%2017.0754%2020.2897%2017.048C20.2237%2017.0207%2020.1632%2016.9802%2020.1127%2016.9298C20.0623%2016.8793%2020.0218%2016.8188%2019.9945%2016.7529C19.9671%2016.6869%2019.9529%2016.6156%2019.9529%2016.5442V15.8462C16.3618%2015.2107%2014.2262%2016.2933%2010.9914%2016.2933H10.9905C10.3218%2016.2933%209.62019%2015.9658%208.74255%2015.5105C7.86492%2015.0551%206.86094%2014.4438%205.8453%2013.7881C3.81428%2012.4768%201.73389%2010.9833%200.650194%2010.2493C0.649912%2010.249%200.64963%2010.249%200.64949%2010.2493C0.278045%209.99827%200.0553151%209.6033%200.0100618%209.21183C-0.0351878%208.8201%200.0744846%208.43595%200.292696%208.11878C0.592811%207.68278%201.14002%207.39069%201.75999%207.39859ZM1.68556%208.46049C1.44%208.45697%201.29384%208.58792%201.19106%208.73721C1.11282%208.85096%201.08153%208.9846%201.09337%209.08652C1.10521%209.18843%201.13707%209.26258%201.26028%209.34561C1.26056%209.3459%201.26084%209.3459%201.26112%209.34561C2.37589%2010.1008%204.43737%2011.5808%206.43674%2012.8716C7.43646%2013.5171%208.41983%2014.1141%209.24464%2014.542C10.0693%2014.9698%2010.785%2015.2019%2010.9918%2015.2023C13.9193%2015.2023%2016.2078%2014.1231%2019.9522%2014.7392V14.2695C19.9514%2014.1975%2019.9649%2014.1255%2019.9918%2014.0588C20.0187%2013.9921%2020.0591%2013.9308%2020.1097%2013.8795C20.1603%2013.8283%2020.221%2013.7873%2020.2874%2013.7595C20.3538%2013.7317%2020.4257%2013.7174%2020.4977%2013.7174C20.5698%2013.7174%2020.6417%2013.7319%2020.7081%2013.7595C20.7744%2013.7873%2020.8352%2013.8283%2020.8858%2013.8795C20.9364%2013.9306%2020.9767%2013.992%2021.0037%2014.0588C21.0306%2014.1255%2021.0441%2014.1976%2021.0433%2014.2695V15.9986H21.316V8.97604H21.0433V10.7025C21.0441%2010.7743%2021.0306%2010.8465%2021.0037%2010.9132C20.9767%2010.9799%2020.9364%2011.0412%2020.8858%2011.0925C20.8352%2011.1437%2020.7745%2011.1847%2020.7081%2011.2125C20.6417%2011.2402%2020.5698%2011.2546%2020.4977%2011.2546C20.4258%2011.2546%2020.3538%2011.2401%2020.2874%2011.2125C20.221%2011.1847%2020.1603%2011.1437%2020.1097%2011.0925C20.0591%2011.0413%2020.0187%2010.98%2019.9918%2010.9132C19.9649%2010.8465%2019.9514%2010.7743%2019.9522%2010.7025V10.2295C18.9893%209.8743%2017.5152%209.53247%2016.7423%209.53247C15.7458%209.53247%2015.079%209.70995%2014.4087%209.90377C13.7383%2010.0976%2013.0507%2010.3179%2012.1526%2010.3179C12.1471%2010.3179%2012.1414%2010.3179%2012.1359%2010.3177L9.1916%2010.2277C8.91516%2010.2198%208.71359%2010.4375%208.71359%2010.6398C8.71359%2010.8464%208.9053%2011.0397%209.22812%2011.052C9.22896%2011.052%209.22981%2011.0522%209.23065%2011.0522L14.8321%2011.2922C14.9041%2011.2948%2014.9757%2011.3108%2015.0414%2011.3404C15.1071%2011.37%2015.1668%2011.4128%2015.2158%2011.4655C15.2649%2011.5183%2015.3035%2011.5809%2015.3284%2011.6485C15.3534%2011.716%2015.3648%2011.7886%2015.3617%2011.8607C15.3586%2011.9327%2015.3411%2012.004%2015.3104%2012.0693C15.2798%2012.1346%2015.2361%2012.1935%2015.1827%2012.2418C15.1292%2012.2902%2015.0661%2012.3278%2014.9982%2012.3518C14.9302%2012.3758%2014.8575%2012.386%2014.7856%2012.382L9.1863%2012.142H9.1839C8.5972%2012.1186%208.04745%2011.7924%207.78455%2011.2948L2.16145%208.59251H2.16117C1.96974%208.50046%201.81383%208.46183%201.68515%208.46014L1.68556%208.46049ZM22.9088%208.97672H22.4069V15.9993H22.9088V8.97672Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M10.5527%203.40826C10.624%203.40939%2010.6952%203.42462%2010.7606%203.45281C10.8261%203.48114%2010.8859%203.52245%2010.9357%203.57362C10.9854%203.62479%2011.0249%203.68583%2011.0513%203.75222C11.0776%203.81847%2011.0907%203.89008%2011.0898%203.96141V5.26239H12.3906C12.4628%205.26098%2012.5352%205.27437%2012.6023%205.30116C12.6694%205.32794%2012.731%205.36811%2012.7826%205.41872C12.8341%205.46932%2012.8754%205.53022%2012.9033%205.5969C12.9312%205.66344%2012.9457%205.73561%2012.9457%205.80793C12.9457%205.8801%2012.9312%205.95228%2012.9033%206.01895C12.8754%206.08549%2012.8341%206.14653%2012.7826%206.19714C12.7312%206.24774%2012.6694%206.28792%2012.6023%206.3147C12.5352%206.34148%2012.4628%206.35473%2012.3906%206.35346H11.0898V7.65444C11.0906%207.72633%2011.0771%207.79851%2011.0501%207.86518C11.0232%207.93186%2010.9829%207.99318%2010.9323%208.04449C10.8817%208.09566%2010.8209%208.13669%2010.7545%208.16445C10.6881%208.19222%2010.6162%208.2066%2010.5442%208.2066C10.4723%208.2066%2010.4003%208.19208%2010.3339%208.16445C10.2675%208.13668%2010.2067%208.09566%2010.1561%208.04449C10.1055%207.99332%2010.0652%207.932%2010.0383%207.86518C10.0114%207.7985%209.99784%207.72633%209.99868%207.65444V6.35346H8.6977C8.62553%206.35487%208.55307%206.34148%208.48597%206.3147C8.41887%206.28792%208.35727%206.24774%208.30568%206.19714C8.25423%206.14653%208.21292%206.08563%208.18501%206.01895C8.1571%205.95242%208.14258%205.88024%208.14258%205.80793C8.14258%205.73575%208.1571%205.66358%208.18501%205.5969C8.21292%205.53036%208.25423%205.46932%208.30568%205.41872C8.35713%205.36811%208.41887%205.32794%208.48597%205.30116C8.55307%205.27437%208.62553%205.26112%208.6977%205.26239H9.99868V3.96141C9.99769%203.88868%2010.0114%203.8158%2010.0387%203.74842C10.0661%203.68103%2010.1071%203.61929%2010.1585%203.56784C10.21%203.51639%2010.2719%203.47551%2010.3393%203.44816C10.4066%203.42081%2010.4797%203.40714%2010.5522%203.40827L10.5527%203.40826Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.32163%205.99026e-05C8.39296%200.00118763%208.46415%200.0164119%208.52955%200.0446061C8.5951%200.0729402%208.65487%200.114244%208.70463%200.165416C8.7544%200.216587%208.79387%200.277624%208.82023%200.344018C8.84659%200.41027%208.8597%200.481881%208.85871%200.553211V1.07424H9.37959C9.45176%201.07283%209.52422%201.08622%209.59132%201.113C9.65842%201.13979%209.72002%201.17996%209.77162%201.23057C9.82307%201.28117%209.86437%201.34207%209.89228%201.40875C9.92019%201.47528%209.93472%201.54746%209.93472%201.61977C9.93472%201.69195%209.9202%201.76412%209.89228%201.8308C9.86437%201.89734%209.82307%201.95838%209.77162%202.00898C9.72016%202.05959%209.65842%202.09976%209.59132%202.12655C9.52422%202.15333%209.45176%202.16658%209.37959%202.16531H8.85871V2.68349C8.85956%202.75538%208.84602%202.82755%208.8191%202.89423C8.79217%202.9609%208.75186%203.02222%208.70125%203.07354C8.65065%203.12471%208.58989%203.16573%208.52349%203.1935C8.45709%203.22127%208.38521%203.23565%208.31317%203.23565C8.24128%203.23565%208.16925%203.22127%208.10285%203.1935C8.03646%203.16573%207.9757%203.12471%207.92509%203.07354C7.87449%203.02237%207.83417%202.96105%207.80725%202.89423C7.78032%202.82755%207.76679%202.75537%207.76764%202.68349V2.16531H7.24946C7.17729%202.16672%207.10483%202.15333%207.03773%202.12655C6.97063%202.09976%206.90903%202.05959%206.85744%202.00898C6.80598%201.95838%206.76468%201.89748%206.73677%201.8308C6.70886%201.76426%206.69434%201.69209%206.69434%201.61977C6.69434%201.5476%206.70886%201.47542%206.73677%201.40875C6.76468%201.34221%206.80598%201.28117%206.85744%201.23057C6.90889%201.17996%206.97063%201.13979%207.03773%201.113C7.10483%201.08622%207.17729%201.07297%207.24946%201.07424H7.76764V0.553211C7.76665%200.480474%207.78032%200.407592%207.80767%200.340214C7.83502%200.272832%207.87604%200.21109%207.92749%200.159637C7.97894%200.108184%208.04083%200.0673054%208.10821%200.0399586C8.17559%200.0126114%208.24861%20-0.00106161%208.32121%206.43078e-05L8.32163%205.99026e-05Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.7826%205.99026e-05C12.8539%200.00118763%2012.9251%200.0164119%2012.9905%200.0446061C13.056%200.0729402%2013.1158%200.114244%2013.1656%200.165416C13.2153%200.216587%2013.2548%200.277624%2013.2812%200.344018C13.3075%200.41027%2013.3206%200.481881%2013.3196%200.553211V1.07424H13.8405C13.9127%201.07283%2013.9852%201.08622%2014.0523%201.113C14.1194%201.13979%2014.181%201.17996%2014.2326%201.23057C14.284%201.28117%2014.3253%201.34207%2014.3532%201.40875C14.3811%201.47528%2014.3957%201.54746%2014.3957%201.61977C14.3957%201.69195%2014.3811%201.76412%2014.3532%201.8308C14.3253%201.89734%2014.284%201.95838%2014.2326%202.00898C14.1811%202.05959%2014.1194%202.09976%2014.0523%202.12655C13.9852%202.15333%2013.9127%202.16658%2013.8405%202.16531H13.3196V2.68349C13.3205%202.75538%2013.307%202.82755%2013.28%202.89423C13.2531%202.9609%2013.2128%203.02222%2013.1622%203.07354C13.1116%203.12471%2013.0508%203.16573%2012.9844%203.1935C12.918%203.22127%2012.8461%203.23565%2012.7741%203.23565C12.7022%203.23565%2012.6302%203.22127%2012.5638%203.1935C12.4974%203.16573%2012.4366%203.12471%2012.386%203.07354C12.3354%203.02237%2012.2951%202.96105%2012.2682%202.89423C12.2413%202.82755%2012.2277%202.75537%2012.2286%202.68349V2.16531H11.7104C11.6382%202.16672%2011.5658%202.15333%2011.4987%202.12655C11.4316%202.09976%2011.37%202.05959%2011.3184%202.00898C11.2669%201.95838%2011.2256%201.89748%2011.1977%201.8308C11.1698%201.76426%2011.1553%201.69209%2011.1553%201.61977C11.1553%201.5476%2011.1698%201.47542%2011.1977%201.40875C11.2256%201.34221%2011.2669%201.28117%2011.3184%201.23057C11.3698%201.17996%2011.4316%201.13979%2011.4987%201.113C11.5658%201.08622%2011.6382%201.07297%2011.7104%201.07424H12.2286V0.553211C12.2276%200.480474%2012.2413%200.407592%2012.2686%200.340214C12.296%200.272832%2012.337%200.21109%2012.3884%200.159637C12.4399%200.108184%2012.5018%200.0673054%2012.5691%200.0399586C12.6365%200.0126114%2012.7095%20-0.00106161%2012.7821%206.43078e-05L12.7826%205.99026e-05Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"},title:"Added Value Vouchers"},Membership:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.7524%206.19235L8.80845%206.02438C8.64048%206.0004%208.47243%205.90438%208.40049%205.73642L7.65651%203.93642C7.48854%203.55244%206.93651%203.55244%206.76855%203.93642L6.02457%205.73642C5.95254%205.90439%205.80855%206.02438%205.61661%206.02438L3.67263%206.19235C3.24059%206.21633%203.07263%206.74439%203.40865%207.03235L4.89661%208.30439C5.04059%208.42439%205.08864%208.59235%205.04059%208.78439L4.56043%2010.6803C4.46442%2011.0883%204.92043%2011.4243%205.28043%2011.2083L6.96043%2010.2003C7.10442%2010.1043%207.29645%2010.1043%207.46441%2010.2003L9.14441%2011.2083C9.50441%2011.4243%209.96043%2011.1123%209.86441%2010.6803L9.40839%208.78431C9.36042%208.61634%209.43238%208.42431%209.55238%208.30431L11.0403%207.03227C11.3284%206.76829%2011.1604%206.24031%2010.7524%206.19235Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.52%200H2.28C1.00796%200%200%201.03204%200%202.28V12.792C0%2014.064%201.03204%2015.072%202.28%2015.072H20.52C21.792%2015.072%2022.8%2014.04%2022.8%2012.792V2.304C22.8%201.03204%2021.768%200%2020.52%200ZM21.312%2012.816C21.312%2013.272%2020.952%2013.632%2020.496%2013.632H2.28002C1.824%2013.632%201.464%2013.272%201.464%2012.816V2.304C1.464%201.84798%201.824%201.48798%202.28002%201.48798H20.52C20.976%201.48798%2021.336%201.84798%2021.336%202.304V12.816H21.312Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%203.4082H13.2957C12.8878%203.4082%2012.5518%203.74422%2012.5518%204.15218C12.5518%204.56014%2012.8878%204.89616%2013.2957%204.89616H18.7197C19.1277%204.89616%2019.4637%204.56014%2019.4637%204.15218C19.4397%203.74422%2019.1037%203.4082%2018.6958%203.4082H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%206.81641H13.2957C12.8878%206.81641%2012.5518%207.15243%2012.5518%207.56039C12.5518%207.96835%2012.8878%208.30437%2013.2957%208.30437H18.7197C19.1277%208.30437%2019.4637%207.96835%2019.4637%207.56039C19.4637%207.15243%2019.1037%206.81641%2018.6958%206.81641H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%2010.2246H13.2957C12.8878%2010.2246%2012.5518%2010.5606%2012.5518%2010.9686C12.5518%2011.3765%2012.8878%2011.7126%2013.2957%2011.7126H18.7197C19.1277%2011.7126%2019.4637%2011.3765%2019.4637%2010.9686C19.4397%2010.5606%2019.1037%2010.2246%2018.6958%2010.2246H18.6957Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Membership"},"Fan Club Membership":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2016%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.7524%206.19235L8.80845%206.02438C8.64048%206.0004%208.47243%205.90438%208.40049%205.73642L7.65651%203.93642C7.48854%203.55244%206.93651%203.55244%206.76855%203.93642L6.02457%205.73642C5.95254%205.90439%205.80855%206.02438%205.61661%206.02438L3.67263%206.19235C3.24059%206.21633%203.07263%206.74439%203.40865%207.03235L4.89661%208.30439C5.04059%208.42439%205.08864%208.59235%205.04059%208.78439L4.56043%2010.6803C4.46442%2011.0883%204.92043%2011.4243%205.28043%2011.2083L6.96043%2010.2003C7.10442%2010.1043%207.29645%2010.1043%207.46441%2010.2003L9.14441%2011.2083C9.50441%2011.4243%209.96043%2011.1123%209.86441%2010.6803L9.40839%208.78431C9.36042%208.61634%209.43238%208.42431%209.55238%208.30431L11.0403%207.03227C11.3284%206.76829%2011.1604%206.24031%2010.7524%206.19235Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M20.52%200H2.28C1.00796%200%200%201.03204%200%202.28V12.792C0%2014.064%201.03204%2015.072%202.28%2015.072H20.52C21.792%2015.072%2022.8%2014.04%2022.8%2012.792V2.304C22.8%201.03204%2021.768%200%2020.52%200ZM21.312%2012.816C21.312%2013.272%2020.952%2013.632%2020.496%2013.632H2.28002C1.824%2013.632%201.464%2013.272%201.464%2012.816V2.304C1.464%201.84798%201.824%201.48798%202.28002%201.48798H20.52C20.976%201.48798%2021.336%201.84798%2021.336%202.304V12.816H21.312Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%203.4082H13.2957C12.8878%203.4082%2012.5518%203.74422%2012.5518%204.15218C12.5518%204.56014%2012.8878%204.89616%2013.2957%204.89616H18.7197C19.1277%204.89616%2019.4637%204.56014%2019.4637%204.15218C19.4397%203.74422%2019.1037%203.4082%2018.6958%203.4082H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%206.81641H13.2957C12.8878%206.81641%2012.5518%207.15243%2012.5518%207.56039C12.5518%207.96835%2012.8878%208.30437%2013.2957%208.30437H18.7197C19.1277%208.30437%2019.4637%207.96835%2019.4637%207.56039C19.4637%207.15243%2019.1037%206.81641%2018.6958%206.81641H18.6957Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M18.6957%2010.2246H13.2957C12.8878%2010.2246%2012.5518%2010.5606%2012.5518%2010.9686C12.5518%2011.3765%2012.8878%2011.7126%2013.2957%2011.7126H18.7197C19.1277%2011.7126%2019.4637%2011.3765%2019.4637%2010.9686C19.4397%2010.5606%2019.1037%2010.2246%2018.6958%2010.2246H18.6957Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Fan Club Membership"},Subscription:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2023%2021%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M12.873%200.0130555C7.06499%20-0.274905%202.24099%204.23705%201.95299%209.94905H0.729011C0.152991%209.94905%20-0.183029%2010.573%200.105031%2011.053L2.64903%2015.205C2.93699%2015.6611%203.60903%2015.6611%203.89699%2015.205L6.44099%2011.053C6.72895%2010.573%206.39302%209.94905%205.81701%209.94905H4.42497C4.68903%205.65305%208.31297%202.26906%2012.705%202.46106C16.809%202.62902%2020.217%206.06105%2020.337%2010.1891C20.481%2014.7251%2016.833%2018.4451%2012.345%2018.4451C10.521%2018.4451%208.74497%2017.8211%207.32897%2016.669C7.13694%2016.5011%206.84897%2016.5251%206.68101%2016.717L5.67305%2017.845C5.48102%2018.037%205.50508%2018.3729%205.72102%2018.541C7.59306%2020.077%209.92102%2020.917%2012.369%2020.917C18.273%2020.917%2023.049%2015.997%2022.809%2010.021C22.569%204.69318%2018.201%200.276855%2012.873%200.0130555Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12.8359%200.762135C7.45124%200.495167%202.9697%204.67827%202.70204%209.98682L2.66613%2010.6991H0.767729L3.27301%2014.7879L5.77829%2010.6991H3.62746L3.67638%209.90304C3.96489%205.20931%207.92638%201.502%2012.7367%201.71173C17.2327%201.8963%2020.9547%205.64466%2021.0866%2010.1663C21.2436%2015.1275%2017.2538%2019.1951%2012.345%2019.1951C10.4386%2019.1951%208.57866%2018.5718%207.06344%2017.4146L6.4177%2018.1372C8.11647%2019.4515%2010.1904%2020.167%2012.369%2020.167C17.8475%2020.167%2022.2816%2015.6013%2022.0597%2010.0528C21.836%205.10961%2017.7742%201.00664%2012.8359%200.762135ZM22.809%2010.021C23.049%2015.997%2018.273%2020.917%2012.369%2020.917C9.92102%2020.917%207.59306%2020.077%205.72102%2018.541C5.50508%2018.3729%205.48102%2018.037%205.67305%2017.845L6.68101%2016.717C6.84897%2016.5251%207.13694%2016.5011%207.32897%2016.669C8.74497%2017.8211%2010.521%2018.4451%2012.345%2018.4451C16.833%2018.4451%2020.481%2014.7251%2020.337%2010.1891C20.217%206.06105%2016.809%202.62902%2012.705%202.46106C8.57199%202.28038%205.11914%205.26635%204.50622%209.19905C4.4678%209.44552%204.44054%209.6957%204.42497%209.94905H5.81701C6.39302%209.94905%206.72895%2010.573%206.44099%2011.053L3.89699%2015.205C3.60903%2015.6611%202.93699%2015.6611%202.64903%2015.205L0.105031%2011.053C-0.183029%2010.573%200.152991%209.94905%200.729011%209.94905H1.95299C2.24099%204.23705%207.06499%20-0.274905%2012.873%200.0130555C18.201%200.276855%2022.569%204.69318%2022.809%2010.021Z%22%20fill%3D%22white%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8971%204.52539H11.8171C11.6011%204.52539%2011.4332%204.69336%2011.4332%204.90937V5.86937L11.3132%205.89335C9.9452%206.20539%209.03316%207.47734%209.15316%208.89336C9.29714%2010.3094%2010.5692%2011.4134%2012.0332%2011.4134H12.7532C13.0171%2011.4134%2013.2571%2011.5334%2013.4252%2011.7254C13.5932%2011.9174%2013.6892%2012.1814%2013.6652%2012.4214C13.6172%2012.8774%2013.1852%2013.2374%2012.6812%2013.2374H11.7212C11.4572%2013.2374%2011.2172%2013.0454%2011.1452%2012.7814C11.0972%2012.6134%2010.9532%2012.4935%2010.7612%2012.4935H9.65724C9.53724%2012.4935%209.44122%2012.5414%209.36928%2012.6135C9.29725%2012.6855%209.27326%2012.8055%209.27326%2012.9014C9.39326%2013.9814%2010.2093%2014.8694%2011.2893%2015.0614L11.3853%2015.0854V16.0214C11.3853%2016.2374%2011.5532%2016.4054%2011.7693%2016.4054H12.8493C13.0653%2016.4054%2013.2332%2016.2374%2013.2332%2016.0214L13.2332%2015.0134L13.3292%2014.9894C14.5052%2014.7014%2015.3692%2013.7174%2015.4892%2012.5654C15.5612%2011.7734%2015.2971%2011.0054%2014.7692%2010.4054C14.2412%209.82938%2013.4971%209.49336%2012.7052%209.49336H11.8652C11.6012%209.49336%2011.3612%209.37335%2011.1931%209.18131C11.0252%208.98928%2010.9292%208.7253%2010.9531%208.46131C11.0011%208.0053%2011.4331%207.64529%2011.9371%207.64529H12.8971C13.1611%207.64529%2013.4011%207.83733%2013.4731%208.10132C13.5211%208.26928%2013.6652%208.41335%2013.8571%208.41335H14.9611C15.0811%208.41335%2015.1771%208.36539%2015.2491%208.29335C15.3211%208.22132%2015.3691%208.10132%2015.3451%208.00539C15.2251%206.92539%2014.4091%206.03743%2013.3291%205.84539L13.2331%205.82141V4.88539C13.2812%204.69336%2013.1131%204.52539%2012.8971%204.52539Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Subscription"},"Premier (Movie?)":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M21.4944%205.1192L16.3752%200C15.9697%200.4082%2015.4181%200.63774%2014.8428%200.63774C14.2674%200.63774%2013.7159%200.4082%2013.3104%200L0%2013.296C0.40812%2013.7015%200.63774%2014.253%200.63774%2014.8284C0.63774%2015.4037%200.40814%2015.9553%200%2016.3608L5.1264%2021.4872C5.53186%2021.079%206.08344%2020.8494%206.65874%2020.8494C7.23414%2020.8494%207.7857%2021.079%208.19116%2021.4872L21.4944%208.18396C21.0862%207.7785%2020.8566%207.22692%2020.8566%206.65154C20.8566%206.07622%2021.0862%205.52466%2021.4944%205.1192ZM19.956%207.6728L7.6872%2019.9416H7.68712C7.41376%2019.6756%207.04736%2019.5267%206.66594%2019.5267C6.28446%2019.5267%205.91804%2019.6756%205.6447%2019.9416L1.5647%2015.8496V15.8497C1.83306%2015.5775%201.98352%2015.2107%201.98352%2014.8285C1.98352%2014.4462%201.83305%2014.0794%201.5647%2013.8073C1.5647%2013.8073%201.5647%2013.7929%201.57908%2013.7857L13.8191%201.5457C13.8191%201.5457%2013.8335%201.53132%2013.8406%201.53132L13.8407%201.53124C14.111%201.80312%2014.4785%201.956%2014.8619%201.956C15.2453%201.956%2015.6128%201.80311%2015.8831%201.53124L19.9751%205.61124H19.9751C19.6983%205.88164%2019.5407%206.25116%2019.5371%206.63812C19.5335%207.025%2019.6842%207.39742%2019.9559%207.67288L19.956%207.6728Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M3.58594%2013.8166L4.60758%2012.7949L8.69918%2016.8865L7.67754%2017.9082L3.58594%2013.8166Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.3834%2010.6052L12.8634%209.01398V9.0139C12.8808%208.95914%2012.8833%208.9007%2012.8706%208.84461C12.858%208.78851%2012.8306%208.7368%2012.7913%208.69476C12.7491%208.65508%2012.697%208.62734%2012.6406%208.61422C12.5841%208.60117%2012.5252%208.60328%2012.4698%208.62031L10.8786%209.10031L9.54656%208.21953C9.4957%208.18719%209.4371%208.16883%209.37687%208.16633C9.31663%208.16375%209.25679%208.17719%209.20335%208.20516C9.09741%208.26492%209.02882%208.37414%209.02093%208.49556L8.93452%2010.1371L7.62656%2011.1667C7.53031%2011.2441%207.48047%2011.3655%207.49453%2011.4884C7.50383%2011.5537%207.53422%2011.6144%207.58094%2011.6611C7.61344%2011.6952%207.65383%2011.7208%207.69859%2011.7355L9.23703%2012.2612L9.75547%2013.7996L9.7554%2013.7995C9.77555%2013.8431%209.80313%2013.883%209.83696%2013.9171C9.8843%2013.9644%209.94586%2013.9948%2010.0122%2014.0035C10.1341%2014.0173%2010.2547%2013.9674%2010.3313%2013.8716L11.3609%2012.5516L13.0025%2012.4651H13.0026C13.125%2012.4545%2013.234%2012.3834%2013.293%2012.2755C13.3208%2012.2234%2013.3341%2012.1647%2013.3316%2012.1055C13.3291%2012.0465%2013.3108%2011.9891%2013.2786%2011.9395L12.3834%2010.6052Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8018%204.60367L13.8234%203.58203L17.915%207.67363L16.8934%208.69527L12.8018%204.60367Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Premier (Movie?)"},"Souvenir Ticket":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M21.4944%205.1192L16.3752%200C15.9697%200.4082%2015.4181%200.63774%2014.8428%200.63774C14.2674%200.63774%2013.7159%200.4082%2013.3104%200L0%2013.296C0.40812%2013.7015%200.63774%2014.253%200.63774%2014.8284C0.63774%2015.4037%200.40814%2015.9553%200%2016.3608L5.1264%2021.4872C5.53186%2021.079%206.08344%2020.8494%206.65874%2020.8494C7.23414%2020.8494%207.7857%2021.079%208.19116%2021.4872L21.4944%208.18396C21.0862%207.7785%2020.8566%207.22692%2020.8566%206.65154C20.8566%206.07622%2021.0862%205.52466%2021.4944%205.1192ZM19.956%207.6728L7.6872%2019.9416H7.68712C7.41376%2019.6756%207.04736%2019.5267%206.66594%2019.5267C6.28446%2019.5267%205.91804%2019.6756%205.6447%2019.9416L1.5647%2015.8496V15.8497C1.83306%2015.5775%201.98352%2015.2107%201.98352%2014.8285C1.98352%2014.4462%201.83305%2014.0794%201.5647%2013.8073C1.5647%2013.8073%201.5647%2013.7929%201.57908%2013.7857L13.8191%201.5457C13.8191%201.5457%2013.8335%201.53132%2013.8406%201.53132L13.8407%201.53124C14.111%201.80312%2014.4785%201.956%2014.8619%201.956C15.2453%201.956%2015.6128%201.80311%2015.8831%201.53124L19.9751%205.61124H19.9751C19.6983%205.88164%2019.5407%206.25116%2019.5371%206.63812C19.5335%207.025%2019.6842%207.39742%2019.9559%207.67288L19.956%207.6728Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M3.58594%2013.8166L4.60758%2012.7949L8.69918%2016.8865L7.67754%2017.9082L3.58594%2013.8166Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.3834%2010.6052L12.8634%209.01398V9.0139C12.8808%208.95914%2012.8833%208.9007%2012.8706%208.84461C12.858%208.78851%2012.8306%208.7368%2012.7913%208.69476C12.7491%208.65508%2012.697%208.62734%2012.6406%208.61422C12.5841%208.60117%2012.5252%208.60328%2012.4698%208.62031L10.8786%209.10031L9.54656%208.21953C9.4957%208.18719%209.4371%208.16883%209.37687%208.16633C9.31663%208.16375%209.25679%208.17719%209.20335%208.20516C9.09741%208.26492%209.02882%208.37414%209.02093%208.49556L8.93452%2010.1371L7.62656%2011.1667C7.53031%2011.2441%207.48047%2011.3655%207.49453%2011.4884C7.50383%2011.5537%207.53422%2011.6144%207.58094%2011.6611C7.61344%2011.6952%207.65383%2011.7208%207.69859%2011.7355L9.23703%2012.2612L9.75547%2013.7996L9.7554%2013.7995C9.77555%2013.8431%209.80313%2013.883%209.83696%2013.9171C9.8843%2013.9644%209.94586%2013.9948%2010.0122%2014.0035C10.1341%2014.0173%2010.2547%2013.9674%2010.3313%2013.8716L11.3609%2012.5516L13.0025%2012.4651H13.0026C13.125%2012.4545%2013.234%2012.3834%2013.293%2012.2755C13.3208%2012.2234%2013.3341%2012.1647%2013.3316%2012.1055C13.3291%2012.0465%2013.3108%2011.9891%2013.2786%2011.9395L12.3834%2010.6052Z%22%20fill%3D%22black%22/%3E%0A%20%20%3Cpath%20d%3D%22M12.8018%204.60367L13.8234%203.58203L17.915%207.67363L16.8934%208.69527L12.8018%204.60367Z%22%20fill%3D%22black%22/%3E%0A%3C/svg%3E"},title:"Souvenir Ticket"},Team:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6.4004%204.80078C4.6333%204.80078%203.2002%206.2336%203.2002%208.00078C3.2002%209.76812%204.63324%2011.2008%206.4004%2011.2008C8.1675%2011.2008%209.6004%209.7682%209.6004%208.00078C9.6004%206.23368%208.16758%204.80078%206.4004%204.80078ZM6.4004%209.60078C5.51672%209.60078%204.80032%208.88438%204.80032%208.0007C4.80032%207.11702%205.51672%206.40062%206.4004%206.40062C7.28408%206.40062%208.00024%207.11702%208.00024%208.0007C8.00024%208.88438%207.28406%209.60078%206.4004%209.60078Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M9.6%2012.8008H3.2C1.4329%2012.8008%200%2014.2338%200%2016.001V19.201H12.8V16.001C12.8%2014.2346%2011.3672%2012.8008%209.6%2012.8008ZM11.2001%2017.6008H1.60008V16.0009C1.60008%2015.1173%202.31626%2014.4009%203.19992%2014.4009H9.59992C10.4836%2014.4009%2011.2%2015.1173%2011.2%2016.0009L11.2001%2017.6008Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M12.7996%200C11.0325%200%209.59961%201.43282%209.59961%203.2C9.59961%204.9671%2011.0324%206.4%2012.7996%206.4C14.5667%206.4%2015.9998%204.96718%2015.9998%203.2C15.9998%201.4329%2014.5668%200%2012.7996%200ZM12.7996%204.8C11.9159%204.8%2011.1998%204.0836%2011.1998%203.19992C11.1998%202.31624%2011.9159%201.59984%2012.7996%201.59984C13.6833%201.59984%2014.3997%202.31648%2014.3997%203.19992C14.3997%204.08336%2013.6833%204.8%2012.7996%204.8Z%22%20fill%3D%22black%22/%3E%3Cpath%20d%3D%22M16.0002%208.00012H11.2002V9.6002H16.0002C16.8839%209.6002%2017.6%2010.3164%2017.6%2011.2003V12.8001H13.6002V14.4002H19.2002V11.2002C19.2002%209.4338%2017.7674%208%2016.0002%208L16.0002%208.00012Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Team"},"Tribute Band":{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43246)%22%3E%3Cpath%20d%3D%22M10.4849%209.95774L10.7916%209.65102C11.436%209.00446%2012.2864%208.68188%2013.1352%208.68188C13.9834%208.68188%2014.8323%209.00446%2015.4774%209.64954L15.507%209.67978C15.7143%209.8922%2015.8886%2010.1269%2016.0268%2010.376C16.1773%2010.6446%2016.2874%2010.9297%2016.3566%2011.2206C16.4545%2011.6302%2016.6684%2011.978%2016.9606%2012.23C17.2523%2012.4821%2017.6274%2012.6426%2018.0471%2012.6786C18.5605%2012.7232%2019.0688%2012.8572%2019.5455%2013.0789C20.0049%2013.2921%2020.4347%2013.588%2020.8127%2013.9653C21.6831%2014.8357%2022.1181%2015.9807%2022.1181%2017.1233C22.1181%2018.2666%2021.6831%2019.4109%2020.8149%2020.2791L18.9565%2022.1374C18.091%2022.9877%2016.9592%2023.4133%2015.8273%2023.4133C14.6846%2023.4133%2013.5405%2022.9784%2012.6715%2022.1101C12.2927%2021.7306%2011.9969%2021.3008%2011.7838%2020.8421C11.5613%2020.3662%2011.4281%2019.8571%2011.3834%2019.3424C11.3474%2018.9233%2011.1862%2018.5474%2010.9348%2018.2559C10.6828%2017.9635%2010.3351%2017.749%209.92538%2017.6518L9.90522%2017.6467C9.62154%2017.5776%209.34289%2017.4689%209.08084%2017.3221C8.82092%2017.1766%208.57616%2016.9937%208.35654%2016.7742L8.32772%2016.7453C7.70062%2016.1038%207.3874%2015.2664%207.3874%2014.4305C7.3874%2013.5809%207.70998%2012.7313%208.35506%2012.0861L8.66318%2011.7787L5.09118%208.20671L4.70024%208.59843C4.51305%208.78562%204.20922%208.78562%204.02126%208.59843L0.962657%205.53983C0.775469%205.35264%200.775469%205.04881%200.962657%204.86085L3.56766%202.25585C3.75484%202.06866%204.05868%202.06866%204.24664%202.25585L7.30524%205.31445C7.49242%205.50164%207.49242%205.80547%207.30524%205.99343L6.91352%206.38437L10.4855%209.95637L10.4849%209.95774ZM21.6753%2010.4459C21.5054%2010.4459%2021.3563%2010.4978%2021.2541%2010.5813C21.09%2010.7145%2021.0943%2010.8881%2021.2556%2011.0199L21.2721%2011.0342C21.3736%2011.1099%2021.5148%2011.1559%2021.6746%2011.1559C21.8431%2011.1559%2021.9914%2011.1041%2022.0937%2011.0199C22.1693%2010.9579%2022.2168%2010.8802%2022.2168%2010.801C22.2168%2010.721%2022.17%2010.6425%2022.0951%2010.5821C21.9914%2010.4985%2021.843%2010.446%2021.6746%2010.446L21.6753%2010.4459ZM21.1324%209.57548C21.3009%209.51791%2021.4845%209.48619%2021.6753%209.48619C22.0713%209.48619%2022.4349%209.62158%2022.7013%209.83971C22.9944%2010.0809%2023.1773%2010.4207%2023.1773%2010.8009C23.1773%2011.1825%2022.9951%2011.5224%2022.7013%2011.7621C22.4349%2011.9802%2022.0706%2012.1156%2021.6753%2012.1156C21.2952%2012.1156%2020.9445%2011.9903%2020.681%2011.7858L20.6493%2011.7621C20.3563%2011.5223%2020.1734%2011.1825%2020.1734%2010.8009V7.1785L19.619%207.49818C19.39%207.62919%2019.0977%207.55076%2018.9667%207.32177C18.8356%207.09279%2018.9141%206.80053%2019.1431%206.66943L20.4153%205.93505C20.6443%205.80404%2020.9366%205.88247%2021.0677%206.11146C21.1109%206.1863%2021.131%206.26841%2021.131%206.34982L21.1324%209.57548ZM11.7204%205.16048C11.5505%205.16048%2011.4014%205.21236%2011.2992%205.29587C11.1372%205.42767%2011.138%205.60329%2011.2992%205.73439C11.4015%205.81791%2011.5498%205.86978%2011.7204%205.86978C11.8904%205.86978%2012.0394%205.81791%2012.1416%205.73439C12.2165%205.67322%2012.2633%205.59471%2012.2633%205.51479C12.2633%205.43487%2012.2165%205.35636%2012.1416%205.29519C12.0393%205.21168%2011.8904%205.1598%2011.7204%205.1598V5.16048ZM11.1775%204.2893C11.346%204.23243%2011.5296%204.20071%2011.7204%204.20071C12.115%204.20071%2012.4778%204.3361%2012.745%204.55423C13.0402%204.79469%2013.2223%205.13525%2013.2223%205.51541C13.2223%205.89557%2013.0401%206.23611%2012.745%206.47659C12.4779%206.69401%2012.115%206.83011%2011.7204%206.83011C11.3259%206.83011%2010.963%206.69472%2010.6959%206.47659C10.4006%206.23613%2010.2185%205.89557%2010.2185%205.51541V1.89461L9.66629%202.21359C9.43731%202.34609%209.14425%202.26828%209.01183%202.03937C8.87933%201.81039%208.95714%201.51733%209.18605%201.38491L10.4583%200.650532C10.6873%200.518032%2010.9803%200.595844%2011.1128%200.82475C11.1567%200.900374%2011.1775%200.983188%2011.1768%201.06451L11.1775%204.29011L11.1775%204.2893ZM16.0613%205.87048C16.2521%205.87048%2016.435%205.9022%2016.6035%205.9583V2.7333C16.6057%202.65197%2016.6259%202.57056%2016.6691%202.49494C16.8001%202.26596%2017.0931%202.18752%2017.3214%202.31853L18.5937%203.05291C18.8226%203.18393%2018.9011%203.47697%2018.7701%203.70525C18.639%203.93423%2018.346%204.01267%2018.1177%203.88166L17.5633%203.56198V7.18438C17.5633%207.56454%2017.3812%207.90438%2017.0874%208.14484C16.821%208.36374%2016.4574%208.49906%2016.0621%208.49906C15.6675%208.49906%2015.3047%208.36367%2015.0375%208.14554C14.7423%207.90508%2014.5602%207.56452%2014.5602%207.18436C14.5602%206.8035%2014.7424%206.46366%2015.0375%206.22318C15.3046%206.00576%2015.6675%205.86966%2016.0621%205.86966L16.0613%205.87048ZM16.4804%206.96634C16.3781%206.88283%2016.2298%206.83025%2016.0613%206.83025C15.8914%206.83025%2015.7423%206.88213%2015.6401%206.96564C15.5653%207.02681%2015.5184%207.10533%2015.5184%207.18524C15.5184%207.26516%2015.5652%207.34368%2015.6401%207.40484C15.7424%207.48836%2015.8907%207.54023%2016.0613%207.54023C16.2298%207.54023%2016.3781%207.48835%2016.4804%207.40414C16.6366%207.28031%2016.6452%207.11328%2016.4991%206.98008L16.4804%206.9657V6.96634ZM6.28579%205.65594L3.90539%203.27554L1.97937%205.20156L4.35977%207.58196C5.00203%206.9404%205.64431%206.2982%206.28579%205.65594ZM5.76883%207.53008L13.786%2015.5473C13.853%2015.4624%2013.925%2015.3795%2014.0034%2015.301C14.082%2015.2225%2014.1647%2015.1491%2014.2504%2015.0821L6.23381%207.06554L5.76865%207.5307L5.76883%207.53008ZM14.1712%2017.2141C14.1712%2017.6619%2014.3419%2018.1091%2014.6817%2018.4503C15.0222%2018.7902%2015.4701%2018.9608%2015.9179%2018.9608C16.365%2018.9608%2016.8121%2018.7902%2017.1528%2018.4496C17.4933%2018.1091%2017.6639%2017.6612%2017.6639%2017.2148C17.6639%2016.7684%2017.4933%2016.3205%2017.1528%2015.9799C16.8136%2015.6387%2016.3658%2015.4687%2015.9179%2015.4687C15.4715%2015.4687%2015.0237%2015.6394%2014.6831%2015.9799C14.354%2016.3083%2014.1719%2016.7496%2014.1719%2017.2148L14.1712%2017.2141ZM13.3238%2016.4422L9.34001%2012.4584L9.03329%2012.7658C8.57539%2013.2237%208.34641%2013.8279%208.34641%2014.4319C8.34641%2015.0266%208.56743%2015.6207%209.00883%2016.075L9.03328%2016.1002C9.18883%2016.2557%209.36164%2016.3854%209.54524%2016.4875C9.72954%2016.5905%209.9261%2016.6668%2010.1291%2016.7165L10.1457%2016.7201C10.7541%2016.8648%2011.2747%2017.1881%2011.6577%2017.6324C12.0415%2018.0766%2012.2848%2018.6396%2012.3388%2019.2625C12.3742%2019.6664%2012.4785%2020.066%2012.6527%2020.4396C12.8198%2020.801%2013.0516%2021.1381%2013.3468%2021.4339C14.0279%2022.1143%2014.928%2022.4557%2015.828%2022.4557C16.7172%2022.4557%2017.6064%2022.123%2018.2846%2021.4585L20.1365%2019.6045C20.8176%2018.9248%2021.1582%2018.0248%2021.1582%2017.1249C21.1582%2016.225%2020.8177%2015.3249%2020.1365%2014.6437C19.8405%2014.3492%2019.5036%2014.1167%2019.1443%2013.9496C18.7706%2013.7761%2018.3703%2013.671%2017.9649%2013.6357C17.3421%2013.5817%2016.7798%2013.3384%2016.3348%2012.9546C15.8913%2012.5716%2015.568%2012.051%2015.4226%2011.4426C15.3729%2011.2324%2015.2959%2011.03%2015.19%2010.8414C15.0928%2010.6672%2014.9704%2010.5023%2014.8249%2010.3525L14.8005%2010.3295C14.3433%209.87079%2013.7384%209.64258%2013.1344%209.64258C12.5303%209.64258%2011.9262%209.87156%2011.469%2010.3288L11.1609%2010.6362L15.1447%2014.62C15.3959%2014.5451%2015.6566%2014.5076%2015.9165%2014.5076C16.607%2014.5076%2017.2997%2014.7719%2017.8289%2015.3011C18.3581%2015.8281%2018.6223%2016.5208%2018.6223%2017.2134C18.6223%2017.9061%2018.3581%2018.5987%2017.8296%2019.1272C17.3018%2019.6549%2016.6085%2019.9199%2015.9158%2019.9199C15.2246%2019.9199%2014.5327%2019.6557%2014.0042%2019.1272C13.4743%2018.5966%2013.2093%2017.9046%2013.2093%2017.2134C13.2093%2016.9535%2013.2467%2016.6936%2013.3216%2016.4415L13.3238%2016.4422Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%220.3%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43246%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Tribute Band"},Campsite:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43282)%22%3E%3Cpath%20d%3D%22M13.8935%203.91369C13.745%203.70328%2013.5035%203.57812%2013.2461%203.57812H12.9474C12.6927%203.58071%2012.4548%203.70561%2012.3079%203.91369L1.11133%2019.7929L2.40888%2020.7073L5.05146%2016.9707V21.4129C5.05146%2021.6231%205.13499%2021.8247%205.28363%2021.9734C5.43236%2022.1221%205.63399%2022.2056%205.84423%2022.2056H20.3784C20.5887%2022.2056%2020.7903%2022.1221%2020.939%2021.9734C21.0877%2021.8247%2021.1712%2021.6231%2021.1712%2021.4129V16.968L23.8138%2020.7046L25.1113%2019.7903L13.8935%203.91369ZM14.5304%2020.6201H11.6711V16.6034C11.6711%2016.0927%2011.9436%2015.6206%2012.3859%2015.3652C12.8283%2015.1099%2013.3733%2015.1099%2013.8156%2015.3652C14.2579%2015.6206%2014.5305%2016.0926%2014.5305%2016.6034L14.5304%2020.6201ZM6.62641%2014.7192L12.308%206.6514V13.6965C11.6703%2013.8708%2011.1074%2014.2495%2010.706%2014.7747C10.3044%2015.2999%2010.0865%2015.9424%2010.0855%2016.6034V20.6201H6.62637L6.62641%2014.7192ZM19.5751%2020.6227L16.1159%2020.6228V16.6034C16.115%2015.9424%2015.897%2015.3%2015.4954%2014.7748C15.094%2014.2496%2014.5311%2013.8709%2013.8935%2013.6966V6.65149L19.575%2014.7193L19.5751%2020.6227Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43282%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Campsite"},Camping:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23clip0_357_43282)%22%3E%3Cpath%20d%3D%22M13.8935%203.91369C13.745%203.70328%2013.5035%203.57812%2013.2461%203.57812H12.9474C12.6927%203.58071%2012.4548%203.70561%2012.3079%203.91369L1.11133%2019.7929L2.40888%2020.7073L5.05146%2016.9707V21.4129C5.05146%2021.6231%205.13499%2021.8247%205.28363%2021.9734C5.43236%2022.1221%205.63399%2022.2056%205.84423%2022.2056H20.3784C20.5887%2022.2056%2020.7903%2022.1221%2020.939%2021.9734C21.0877%2021.8247%2021.1712%2021.6231%2021.1712%2021.4129V16.968L23.8138%2020.7046L25.1113%2019.7903L13.8935%203.91369ZM14.5304%2020.6201H11.6711V16.6034C11.6711%2016.0927%2011.9436%2015.6206%2012.3859%2015.3652C12.8283%2015.1099%2013.3733%2015.1099%2013.8156%2015.3652C14.2579%2015.6206%2014.5305%2016.0926%2014.5305%2016.6034L14.5304%2020.6201ZM6.62641%2014.7192L12.308%206.6514V13.6965C11.6703%2013.8708%2011.1074%2014.2495%2010.706%2014.7747C10.3044%2015.2999%2010.0865%2015.9424%2010.0855%2016.6034V20.6201H6.62637L6.62641%2014.7192ZM19.5751%2020.6227L16.1159%2020.6228V16.6034C16.115%2015.9424%2015.897%2015.3%2015.4954%2014.7748C15.094%2014.2496%2014.5311%2013.8709%2013.8935%2013.6966V6.65149L19.575%2014.7193L19.5751%2020.6227Z%22%20fill%3D%22black%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_357_43282%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"},title:"Camping"},"All Parking Sub-Categories":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"All Parking Sub-Categories"},"Car Service":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Car Service"},"Ferry Pass":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Ferry Pass"},"Oversized Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Oversized Parking"},Parking:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Parking"},"Parking & a Shuttle":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Parking & a Shuttle"},"Premier Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Premier Parking"},"Premium Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Premium Parking"},"Rockstar Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Rockstart Parking"},"Valet Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Valet Parking"},"VIP Parking":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.92%206.01C18.72%205.42%2018.16%205%2017.5%205H6.5C5.84%205%205.29%205.42%205.08%206.01L3%2012V20C3%2020.55%203.45%2021%204%2021H5C5.55%2021%206%2020.55%206%2020V19H18V20C18%2020.55%2018.45%2021%2019%2021H20C20.55%2021%2021%2020.55%2021%2020V12L18.92%206.01ZM6.85%207H17.14L18.22%2010.11H5.77L6.85%207ZM19%2017H5V12H19V17Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M7.5%2016C8.32843%2016%209%2015.3284%209%2014.5C9%2013.6716%208.32843%2013%207.5%2013C6.67157%2013%206%2013.6716%206%2014.5C6%2015.3284%206.67157%2016%207.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3Cpath%20d%3D%22M16.5%2016C17.3284%2016%2018%2015.3284%2018%2014.5C18%2013.6716%2017.3284%2013%2016.5%2013C15.6716%2013%2015%2013.6716%2015%2014.5C15%2015.3284%2015.6716%2016%2016.5%2016Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"VIP Parking"},Donation:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%203C14.76%203%2013.09%203.81%2012%205.09C10.91%203.81%209.24%203%207.5%203C4.42%203%202%205.42%202%208.5C2%2012.28%205.4%2015.36%2010.55%2020.04L12%2021.35L13.45%2020.03C18.6%2015.36%2022%2012.28%2022%208.5C22%205.42%2019.58%203%2016.5%203ZM12.1%2018.55L12%2018.65L11.9%2018.55C7.14%2014.24%204%2011.39%204%208.5C4%206.5%205.5%205%207.5%205C9.04%205%2010.54%205.99%2011.07%207.36H12.94C13.46%205.99%2014.96%205%2016.5%205C18.5%205%2020%206.5%2020%208.5C20%2011.39%2016.86%2014.24%2012.1%2018.55Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Donation"},Transportation:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%205H3C1.9%205%201%205.89%201%207V16H3C3%2017.66%204.34%2019%206%2019C7.66%2019%209%2017.66%209%2016H15C15%2017.66%2016.34%2019%2018%2019C19.66%2019%2021%2017.66%2021%2016H23V11L17%205ZM15%207H16L19%2010H15V7ZM9%207H13V10H9V7ZM3%207H7V10H3V7ZM6%2017.25C5.31%2017.25%204.75%2016.69%204.75%2016C4.75%2015.31%205.31%2014.75%206%2014.75C6.69%2014.75%207.25%2015.31%207.25%2016C7.25%2016.69%206.69%2017.25%206%2017.25ZM18%2017.25C17.31%2017.25%2016.75%2016.69%2016.75%2016C16.75%2015.31%2017.31%2014.75%2018%2014.75C18.69%2014.75%2019.25%2015.31%2019.25%2016C19.25%2016.69%2018.69%2017.25%2018%2017.25ZM21%2014H20.22C19.67%2013.39%2018.88%2013%2018%2013C17.12%2013%2016.33%2013.39%2015.78%2014H8.22C7.67%2013.39%206.89%2013%206%2013C5.11%2013%204.33%2013.39%203.78%2014H3V12H21V14Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Transportation"},"Shuttle Pass":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%205H3C1.9%205%201%205.89%201%207V16H3C3%2017.66%204.34%2019%206%2019C7.66%2019%209%2017.66%209%2016H15C15%2017.66%2016.34%2019%2018%2019C19.66%2019%2021%2017.66%2021%2016H23V11L17%205ZM15%207H16L19%2010H15V7ZM9%207H13V10H9V7ZM3%207H7V10H3V7ZM6%2017.25C5.31%2017.25%204.75%2016.69%204.75%2016C4.75%2015.31%205.31%2014.75%206%2014.75C6.69%2014.75%207.25%2015.31%207.25%2016C7.25%2016.69%206.69%2017.25%206%2017.25ZM18%2017.25C17.31%2017.25%2016.75%2016.69%2016.75%2016C16.75%2015.31%2017.31%2014.75%2018%2014.75C18.69%2014.75%2019.25%2015.31%2019.25%2016C19.25%2016.69%2018.69%2017.25%2018%2017.25ZM21%2014H20.22C19.67%2013.39%2018.88%2013%2018%2013C17.12%2013%2016.33%2013.39%2015.78%2014H8.22C7.67%2013.39%206.89%2013%206%2013C5.11%2013%204.33%2013.39%203.78%2014H3V12H21V14Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Shuttle Pass"},Undefined:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23%209.6V5.2C23%203.99%2022.01%203%2020.8%203H3.2C1.99%203%201.011%203.99%201.011%205.2V9.6C2.221%209.6%203.2%2010.59%203.2%2011.8C3.2%2013.01%202.221%2014%201%2014V18.4C1%2019.61%201.99%2020.6%203.2%2020.6H20.8C22.01%2020.6%2023%2019.61%2023%2018.4V14C21.79%2014%2020.8%2013.01%2020.8%2011.8C20.8%2010.59%2021.79%209.6%2023%209.6ZM20.8%207.994C19.491%208.753%2018.6%2010.183%2018.6%2011.8C18.6%2013.417%2019.491%2014.847%2020.8%2015.606V18.4H3.2V15.606C4.509%2014.847%205.4%2013.417%205.4%2011.8C5.4%2010.172%204.52%208.753%203.211%207.994L3.2%205.2H20.8V7.994ZM8.777%2016.2L12%2014.132L15.223%2016.2L14.244%2012.504L17.203%2010.084L13.386%209.853L12%206.3L10.603%209.842L6.786%2010.073L9.745%2012.493L8.777%2016.2Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Undefined"},"Coat Check":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M21.6003%2018.2011L13.0003%2011.7511V10.8411C14.6503%2010.3511%2015.8003%208.67113%2015.4303%206.79113C15.1703%205.48113%2014.1303%204.39113%2012.8203%204.09113C10.5403%203.57113%208.50026%205.30113%208.50026%207.50113H10.5003C10.5003%206.67113%2011.1703%206.00113%2012.0003%206.00113C12.8303%206.00113%2013.5003%206.67113%2013.5003%207.50113C13.5003%208.34113%2012.8103%209.02113%2011.9703%209.00113C11.4303%208.99113%2011.0003%209.45113%2011.0003%209.99113V11.7511L2.40026%2018.2011C1.63026%2018.7811%202.04026%2020.0011%203.00026%2020.0011H21.0003C21.9603%2020.0011%2022.3703%2018.7811%2021.6003%2018.2011ZM6.00026%2018.0011L12.0003%2013.5011L18.0003%2018.0011H6.00026Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Coat Check"},"Bag Check":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M21.6003%2018.2011L13.0003%2011.7511V10.8411C14.6503%2010.3511%2015.8003%208.67113%2015.4303%206.79113C15.1703%205.48113%2014.1303%204.39113%2012.8203%204.09113C10.5403%203.57113%208.50026%205.30113%208.50026%207.50113H10.5003C10.5003%206.67113%2011.1703%206.00113%2012.0003%206.00113C12.8303%206.00113%2013.5003%206.67113%2013.5003%207.50113C13.5003%208.34113%2012.8103%209.02113%2011.9703%209.00113C11.4303%208.99113%2011.0003%209.45113%2011.0003%209.99113V11.7511L2.40026%2018.2011C1.63026%2018.7811%202.04026%2020.0011%203.00026%2020.0011H21.0003C21.9603%2020.0011%2022.3703%2018.7811%2021.6003%2018.2011ZM6.00026%2018.0011L12.0003%2013.5011L18.0003%2018.0011H6.00026Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Bag Check"},Photo:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M14.12%204L15.95%206H20V18H4V6H8.05L9.88%204H14.12ZM15%202H9L7.17%204H4C2.9%204%202%204.9%202%206V18C2%2019.1%202.9%2020%204%2020H20C21.1%2020%2022%2019.1%2022%2018V6C22%204.9%2021.1%204%2020%204H16.83L15%202ZM12%209C13.65%209%2015%2010.35%2015%2012C15%2013.65%2013.65%2015%2012%2015C10.35%2015%209%2013.65%209%2012C9%2010.35%2010.35%209%2012%209ZM12%207C9.24%207%207%209.24%207%2012C7%2014.76%209.24%2017%2012%2017C14.76%2017%2017%2014.76%2017%2012C17%209.24%2014.76%207%2012%207Z%22%20fill%3D%22%23262626%22/%3E%3C/svg%3E"},title:"Photo"},Souvenir:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.9998%2011.7998C24.0075%2010.9607%2023.7886%2010.135%2023.3661%209.41005C22.9438%208.6849%2022.3336%208.0872%2021.5999%207.67989V6.99991C21.5999%205.93904%2021.1784%204.92174%2020.4283%204.17158C19.6781%203.42143%2018.6608%203%2017.6%203H6.40021C5.33934%203%204.32204%203.42142%203.57189%204.17158C2.82173%204.92175%202.4003%205.93904%202.4003%206.99991V7.67989C1.42423%208.23325%200.676411%209.11506%200.289814%2010.1684C-0.0966046%2011.2216%20-0.0966046%2012.378%200.289814%2013.4312C0.676411%2014.4846%201.42423%2015.3663%202.4003%2015.9197V16.5997C2.4003%2017.6606%202.82172%2018.6779%203.57189%2019.4281C4.32205%2020.1782%205.33934%2020.5996%206.40021%2020.5996H17.6C18.6608%2020.5996%2019.6781%2020.1782%2020.4283%2019.4281C21.1784%2018.6779%2021.5999%2017.6606%2021.5999%2016.5997V15.9197C22.3336%2015.5124%2022.9437%2014.9148%2023.3661%2014.1896C23.7886%2013.4646%2024.0075%2012.6389%2023.9998%2011.7998ZM6.40021%204.59996H17.6C18.2366%204.59996%2018.8469%204.85281%2019.2971%205.3028C19.747%205.75297%2019.9999%206.36331%2019.9999%206.99991V7.11187C18.8524%206.9208%2017.6748%207.16312%2016.6961%207.79185L15.32%208.66379C15.0779%208.82128%2014.855%209.00646%2014.6561%209.21591C14.0617%208.33127%2013.0658%207.80077%2012.0001%207.80077C10.9344%207.80077%209.93851%208.33127%209.34405%209.21591C9.14513%209.00645%208.92227%208.82128%208.68016%208.66379L7.3041%207.7999C6.32643%207.16832%205.14881%206.92312%204.00027%207.11187V6.99991C4.00027%206.36331%204.25311%205.75299%204.70311%205.3028C5.15328%204.85281%205.76361%204.59996%206.40021%204.59996ZM10.4001%2010.9998C10.4001%2010.4282%2010.7051%209.9%2011.2001%209.61416C11.6951%209.32845%2012.3051%209.32845%2012.8001%209.61416C13.295%209.90004%2013.6%2010.4283%2013.6%2010.9998V12.5998C13.6%2013.1714%2013.295%2013.6996%2012.8001%2013.9854C12.3051%2014.2711%2011.6951%2014.2711%2011.2001%2013.9854C10.7051%2013.6996%2010.4001%2013.1713%2010.4001%2012.5998V10.9998ZM3.20028%209.03986C3.66583%208.78219%204.18828%208.64469%204.72025%208.63987C5.32202%208.64255%205.91058%208.81737%206.4163%209.14377L7.79236%2010.0157C8.39967%2010.4057%208.76679%2011.078%208.76679%2011.7997C8.76679%2012.5215%208.39966%2013.1938%207.79218%2013.5836L6.4483%2014.4557C5.72832%2014.9468%204.83728%2015.1178%203.98656%2014.9282C3.13606%2014.7388%202.40177%2014.2054%201.95858%2013.455C1.5152%2012.7049%201.40234%2011.8045%201.6468%2010.968C1.89108%2010.1315%202.47087%209.43354%203.24836%209.03977ZM17.6%2018.9999H6.40021C5.76361%2018.9999%205.15329%2018.747%204.70311%2018.297C4.25311%2017.8469%204.00027%2017.2365%204.00027%2016.5999V16.496C4.26347%2016.553%204.53113%2016.5878%204.80025%2016.5999C5.69417%2016.5774%206.5629%2016.2999%207.3041%2015.7999L8.68016%2014.928C8.9223%2014.7707%209.14515%2014.5853%209.34405%2014.3761C9.93851%2015.2605%2010.9344%2015.791%2012.0001%2015.791C13.0658%2015.791%2014.0617%2015.2605%2014.6561%2014.3761C14.855%2014.5853%2015.0779%2014.7707%2015.32%2014.928L16.6961%2015.7999C17.4539%2016.2903%2018.3373%2016.5514%2019.2399%2016.5519C19.4946%2016.5508%2019.7487%2016.5294%2019.9999%2016.4879V16.5999C19.9999%2017.2365%2019.747%2017.8468%2019.2971%2018.297C18.8469%2018.747%2018.2366%2018.9999%2017.6%2018.9999ZM20.7999%2014.56C20.3074%2014.835%2019.7492%2014.9707%2019.1855%2014.9525C18.6217%2014.9341%2018.0735%2014.7625%2017.6%2014.4561L16.2239%2013.5841C15.6166%2013.1941%2015.2493%2012.5218%2015.2493%2011.8001C15.2493%2011.0783%2015.6166%2010.406%2016.2239%2010.0162L17.6%209.14427C18.1055%208.81767%2018.6941%208.64285%2019.296%208.64019C19.828%208.64502%2020.3504%208.78251%2020.816%209.04019C21.4772%209.40482%2021.9854%209.995%2022.2484%2010.7028C22.5113%2011.4106%2022.5113%2012.1896%2022.2484%2012.8974C21.9854%2013.6052%2021.4772%2014.1954%2020.816%2014.5601Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Souvenir"},"Souvenir Tag":{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.9998%2011.7998C24.0075%2010.9607%2023.7886%2010.135%2023.3661%209.41005C22.9438%208.6849%2022.3336%208.0872%2021.5999%207.67989V6.99991C21.5999%205.93904%2021.1784%204.92174%2020.4283%204.17158C19.6781%203.42143%2018.6608%203%2017.6%203H6.40021C5.33934%203%204.32204%203.42142%203.57189%204.17158C2.82173%204.92175%202.4003%205.93904%202.4003%206.99991V7.67989C1.42423%208.23325%200.676411%209.11506%200.289814%2010.1684C-0.0966046%2011.2216%20-0.0966046%2012.378%200.289814%2013.4312C0.676411%2014.4846%201.42423%2015.3663%202.4003%2015.9197V16.5997C2.4003%2017.6606%202.82172%2018.6779%203.57189%2019.4281C4.32205%2020.1782%205.33934%2020.5996%206.40021%2020.5996H17.6C18.6608%2020.5996%2019.6781%2020.1782%2020.4283%2019.4281C21.1784%2018.6779%2021.5999%2017.6606%2021.5999%2016.5997V15.9197C22.3336%2015.5124%2022.9437%2014.9148%2023.3661%2014.1896C23.7886%2013.4646%2024.0075%2012.6389%2023.9998%2011.7998ZM6.40021%204.59996H17.6C18.2366%204.59996%2018.8469%204.85281%2019.2971%205.3028C19.747%205.75297%2019.9999%206.36331%2019.9999%206.99991V7.11187C18.8524%206.9208%2017.6748%207.16312%2016.6961%207.79185L15.32%208.66379C15.0779%208.82128%2014.855%209.00646%2014.6561%209.21591C14.0617%208.33127%2013.0658%207.80077%2012.0001%207.80077C10.9344%207.80077%209.93851%208.33127%209.34405%209.21591C9.14513%209.00645%208.92227%208.82128%208.68016%208.66379L7.3041%207.7999C6.32643%207.16832%205.14881%206.92312%204.00027%207.11187V6.99991C4.00027%206.36331%204.25311%205.75299%204.70311%205.3028C5.15328%204.85281%205.76361%204.59996%206.40021%204.59996ZM10.4001%2010.9998C10.4001%2010.4282%2010.7051%209.9%2011.2001%209.61416C11.6951%209.32845%2012.3051%209.32845%2012.8001%209.61416C13.295%209.90004%2013.6%2010.4283%2013.6%2010.9998V12.5998C13.6%2013.1714%2013.295%2013.6996%2012.8001%2013.9854C12.3051%2014.2711%2011.6951%2014.2711%2011.2001%2013.9854C10.7051%2013.6996%2010.4001%2013.1713%2010.4001%2012.5998V10.9998ZM3.20028%209.03986C3.66583%208.78219%204.18828%208.64469%204.72025%208.63987C5.32202%208.64255%205.91058%208.81737%206.4163%209.14377L7.79236%2010.0157C8.39967%2010.4057%208.76679%2011.078%208.76679%2011.7997C8.76679%2012.5215%208.39966%2013.1938%207.79218%2013.5836L6.4483%2014.4557C5.72832%2014.9468%204.83728%2015.1178%203.98656%2014.9282C3.13606%2014.7388%202.40177%2014.2054%201.95858%2013.455C1.5152%2012.7049%201.40234%2011.8045%201.6468%2010.968C1.89108%2010.1315%202.47087%209.43354%203.24836%209.03977ZM17.6%2018.9999H6.40021C5.76361%2018.9999%205.15329%2018.747%204.70311%2018.297C4.25311%2017.8469%204.00027%2017.2365%204.00027%2016.5999V16.496C4.26347%2016.553%204.53113%2016.5878%204.80025%2016.5999C5.69417%2016.5774%206.5629%2016.2999%207.3041%2015.7999L8.68016%2014.928C8.9223%2014.7707%209.14515%2014.5853%209.34405%2014.3761C9.93851%2015.2605%2010.9344%2015.791%2012.0001%2015.791C13.0658%2015.791%2014.0617%2015.2605%2014.6561%2014.3761C14.855%2014.5853%2015.0779%2014.7707%2015.32%2014.928L16.6961%2015.7999C17.4539%2016.2903%2018.3373%2016.5514%2019.2399%2016.5519C19.4946%2016.5508%2019.7487%2016.5294%2019.9999%2016.4879V16.5999C19.9999%2017.2365%2019.747%2017.8468%2019.2971%2018.297C18.8469%2018.747%2018.2366%2018.9999%2017.6%2018.9999ZM20.7999%2014.56C20.3074%2014.835%2019.7492%2014.9707%2019.1855%2014.9525C18.6217%2014.9341%2018.0735%2014.7625%2017.6%2014.4561L16.2239%2013.5841C15.6166%2013.1941%2015.2493%2012.5218%2015.2493%2011.8001C15.2493%2011.0783%2015.6166%2010.406%2016.2239%2010.0162L17.6%209.14427C18.1055%208.81767%2018.6941%208.64285%2019.296%208.64019C19.828%208.64502%2020.3504%208.78251%2020.816%209.04019C21.4772%209.40482%2021.9854%209.995%2022.2484%2010.7028C22.5113%2011.4106%2022.5113%2012.1896%2022.2484%2012.8974C21.9854%2013.6052%2021.4772%2014.1954%2020.816%2014.5601Z%22%20fill%3D%22black%22/%3E%3C/svg%3E"},title:"Souvenir Tag"}},tm1:{CABANA:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.3564%207.75H21V18H23V19.5H21V23H19.5V19.5H4.5V23H3V19.5H1V18H3V7.75H1.76367L5.15039%201.25H18.2764L22.3564%207.75ZM8.47852%207.75C8.39861%207.9001%208.29232%208.09313%208.14648%208.34082C7.66431%209.15975%206.73804%2010.6276%204.95898%2013.2656L9.25781%2017.75H4.5V18H19.5V17.75H14.7422L19.041%2013.2656C17.262%2010.6276%2016.3357%209.15975%2015.8535%208.34082C15.7077%208.09313%2015.6014%207.9001%2015.5215%207.75H8.47852ZM4.75%2016.25H5.74316L4.75%2015.2139V16.25ZM18.2568%2016.25H19.25V15.2139L18.2568%2016.25ZM4.75%207.75V10.8838C5.76239%209.35538%206.37719%208.37466%206.75098%207.75H4.75ZM17.249%207.75C17.6228%208.37466%2018.2376%209.35538%2019.25%2010.8838V7.75H17.249ZM4.23633%206.25H19.6445L17.4473%202.75H6.06055L4.23633%206.25Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Cabana"},CAMPSITE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2021%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.5303%201.5293L11.7695%203.28906L21.4531%2019.5273H22V20.999H0V19.5273H0.546875L10.2295%203.28906L8.46973%201.5293L9.53027%200.46875L11%201.93848L12.4697%200.46875L13.5303%201.5293ZM2.24316%2019.5273H5.2832L11%2011.7305L16.7168%2019.5273H19.7568L11%204.94336L2.24316%2019.5273ZM7.1416%2019.5273H10.25V15.2881L7.1416%2019.5273ZM11.75%2019.5273H14.8574L11.75%2015.29V19.5273Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Campsite"},CHAIR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cg%20clip-path%3D%22url%28%23clip0_1097_31326%29%22%3E%20%3Cpath%20d%3D%22M17%2011.3076H19V9.31445H18.333V7.31934H22V9.31445H21V18.2109H13V22.2822H15V24.2773H9V22.2822H11V18.2109H3V9.31445H2V7.31934H5.66699V9.31445H5V11.3076H7V1H17V11.3076ZM5%2016.2158H19V13.3027H17V13.3037H7V13.3027H5V16.2158ZM9%2011.3076H15V2.99512H9V11.3076Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fg%3E%20%3Cdefs%3E%20%3CclipPath%20id%3D%22clip0_1097_31326%22%3E%20%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%20%3C%2Fdefs%3E%3C%2Fsvg%3E"},title:"Chair"},CLOTHING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17.4062%203.40234L23.0361%207.90625L19.126%2013.1191L18.25%2012.3887V18.3486L14.8105%2021.7881H5.75V12.3887L4.87402%2013.1191L0.963867%207.90625L6.59375%203.40234L9%202.19922L11.1768%204.28809H12.8232L15%202.19922L17.4062%203.40234ZM13.1768%205.78809H10.8232L9%203.87598L7.40625%204.67285L3.03613%208.16895L5.12598%2010.9561L7.51953%208.96191L8.48047%2010.1143L7.25%2011.1387V20.2881H14.1895L16.75%2017.7266V11.1387L15.5195%2010.1143L16.4805%208.96191L18.874%2010.9561L20.9639%208.16895L16.5938%204.67285L15%203.87598L13.1768%205.78809Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Clothing"},CONTENT_ONLY:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M19%2023H5V1H19V23ZM6.44824%2021.4648H9V20.25H15V21.4648H17.5518V18.9072H6.44824V21.4648ZM6.44824%2017.3721H17.5518V5.60449H6.44824V17.3721ZM6.44824%204.06934H17.5518V2.53516H6.44824V4.06934Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Content Only"},CRUISE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M15%209.25H16.75V15.2646L18.9229%2016.7139L18.6963%2017.2783L17.208%2021H23V22.5H1V21H6.79199L5.30371%2017.2783L5.07715%2016.7139L7.25%2015.2646V9.25H9V3H15V9.25ZM11.25%2021V18.3242L8.09473%2020.2178L8.40723%2021H11.25ZM6.92188%2017.2861L7.5293%2018.8066L11.25%2016.5742V14.4004L6.92188%2017.2861ZM12.75%2016.5547L16.542%2018.623L17.0771%2017.2861L12.75%2014.4014V16.5547ZM8.75%2014.2646L12%2012.0986L15.25%2014.2646V10.75H8.75V14.2646ZM10.6367%209.25H13.3633V6.75H10.6367V9.25ZM10.6367%205.25H13.3633V4.55566H10.6367V5.25ZM15.9814%2020.0254L12.75%2018.2627V21H15.5918L15.9814%2020.0254Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Cruise"},DIGITAL_MUSIC_OR_VIDEO:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M12%201C18.0751%201%2023%205.92487%2023%2012C23%2018.0751%2018.0751%2023%2012%2023C5.92487%2023%201%2018.0751%201%2012C1%205.92487%205.92487%201%2012%201ZM12%202.5C6.75329%202.5%202.5%206.75329%202.5%2012C2.5%2017.2467%206.75329%2021.5%2012%2021.5C17.2467%2021.5%2021.5%2017.2467%2021.5%2012C21.5%206.75329%2017.2467%202.5%2012%202.5ZM16.8721%2011.3486V12.6514L9.87207%2016.6514L8.75%2016V8L9.87207%207.34863L16.8721%2011.3486Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Digital Music or Video"},DONATION:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M6.17856%201.5625L12%205.9144L17.8214%201.5625L23%205.4776V12.9018L12%2022.496L1%2012.9018V5.4776L6.17856%201.5625ZM17.8164%203.4391L12%207.7872L6.18363%203.4391L2.5%206.224V12.2198L12%2020.5056L21.5%2012.2198V6.224L17.8164%203.4391Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Donation"},FACILITY_TOUR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.4072%202.67188L22.4014%204.12207L17.75%205.57715V7.04297H18.3076L23%209.08008V20.6387L19.2119%2023H4.78809L1%2020.6387V9.08008L3.25%208.10254V1.72363L4.22754%201L9.40723%202.67188L9.40137%204.12207L4.75%205.57715V7.45117L5.69238%207.04297H16.25V1.72363L17.2275%201L22.4072%202.67188ZM2.5%2019.7891L5.21191%2021.4805H9.25V19.9609H5.34277L2.5%2018.7002V19.7891ZM10.75%2021.4805H13.75V16.9209H10.75V21.4805ZM18.8008%2019.8975L18.5%2019.9609H15.25V21.4805H18.7881L21.5%2019.7891V18.7002L18.8008%2019.8975ZM18.8008%2016.8574L18.5%2016.9209H15.25V18.4414H18.3428L21.5%2017.041V15.6611L18.8008%2016.8574ZM2.5%2017.041L5.65723%2018.4414H9.25V16.9209H5.34277L2.5%2015.6611V17.041ZM18.5908%2013.5059L18%2013.6289H5.69238L2.5%2012.2422V14.002L5.65723%2015.4014H18.3428L21.5%2014.002V12.2422L18.5908%2013.5059ZM2.5%2010.083V10.5889L6%2012.1084H18L21.5%2010.5889V10.083L18%208.5625H6L2.5%2010.083ZM4.75%203.98633L6.6748%203.38477L4.75%202.76367V3.98633ZM17.75%203.98633L19.6748%203.38477L17.75%202.76367V3.98633Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Facility Tour"},FAN_CLUB_MEMBERSHIP:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M23%2016.7666L19.9521%2019.7393L15.6484%2019.75H1V4.25H23V16.7666ZM2.5%2018.25H3.5V15.5918L5.02246%2014.25H8.97754L10.5%2015.5918V18.25H11.5V5.75H2.5V18.25ZM5%2016.2686V18.25H9V16.2686L8.41113%2015.75H5.58887L5%2016.2686ZM13%2018.25H15.6465L19.3408%2018.2412L21.5%2016.1338V5.75H13V18.25ZM18.7197%2014.25H14V12.75H18.7197V14.25ZM7%207.5C8.51878%207.5%209.75%208.73122%209.75%2010.25C9.75%2011.7688%208.51878%2013%207%2013C5.48122%2013%204.25%2011.7688%204.25%2010.25C4.25%208.73122%205.48122%207.5%207%207.5ZM20.25%2011.75H14V10.25H20.25V11.75ZM7%209C6.30964%209%205.75%209.55964%205.75%2010.25C5.75%2010.9404%206.30964%2011.5%207%2011.5C7.69036%2011.5%208.25%2010.9404%208.25%2010.25C8.25%209.55964%207.69036%209%207%209Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Fan Club Membership"},FAST_LANE_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M18.2959%206.95898H23L13.0195%2023L11.6807%2022.4688L13.5%2012.5H10L12.8057%201H20.2471L18.2959%206.95898ZM11.874%2010.9316H15.2295L12.8018%2021.8564L20.3408%208.44922H16.2646L18.2158%202.49023H13.9473L11.874%2010.9316ZM11.9375%2015.5H1V14H12.1904L11.9375%2015.5ZM9%2012.5H2V11H9.375L9%2012.5ZM9.72266%209.49023H1V8H10.0938L9.72266%209.49023Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Fast Lane Access"},HAPPY_HOUR_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M13.6523%2013.7549L6%2017.499L4.67871%2020.5566L6.60352%2021.4316L6.03418%2022.6816L1%2020.3936L1.56836%2019.1436L3.42578%2019.9873L4.67871%2016.999L2.62109%208.99902L13.6523%2013.7549ZM18.9736%2013.999L20.2256%2016.9873L22.083%2016.1436L22.6523%2017.3936L17.6172%2019.6816L17.0488%2018.4316L18.9736%2017.5566L17.6523%2014.499L10%2010.7549L21.0312%205.99902L18.9736%2013.999ZM5.62988%2016.4482L7.01953%2015.7119L5.3125%2014.9756L5.62988%2016.4482ZM4.95703%2013.3271L8.57617%2014.8887L10.4775%2013.8809L4.52344%2011.3145L4.95703%2013.3271ZM16.6318%2012.7119L18.0225%2013.4482L18.3398%2011.9756L16.6318%2012.7119ZM13.1748%2010.8809L15.0762%2011.8887L18.6943%2010.3271L19.1279%208.31445L13.1748%2010.8809ZM9.86426%207.72266L9.0957%209.00879L6.0918%207.21387L6.85938%205.92773L9.86426%207.72266ZM15.3525%204.92383L13.5312%207.91211L12.252%207.13281L14.0742%204.14453L15.3525%204.92383ZM11.7734%207.28809L10.3193%207.64746L9.47949%204.25L10.9336%203.89062L11.7734%207.28809Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Happy Hour Package"},HOTEL:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M20%204.11133V10H21L23%2012V22H21.5V19H2.5V22H1V12L3%2010H4V4.11133L5.4541%202H18.5459L20%204.11133ZM2.5%2012.6211V17.5H21.5V12.6211L20.3789%2011.5H3.62109L2.5%2012.6211ZM5.5%204.57812V10H7V7.22266L7.90918%206H16.0908L17%207.22266V10H18.5V4.57812L17.7578%203.5H6.24219L5.5%204.57812ZM8.5%207.71875V10H15.5V7.71875L15.3369%207.5H8.66309L8.5%207.71875Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Hotel"},LIMOUSINE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%0A%20%20%3Cpath%20d%3D%22M20.2734%206.75H23V9.75H21.7607L22.5859%2010.7812L22.75%2010.9873V18.25H20.75V21.25H14.25V18.25H9.75V21.25H3.25V18.25H1.25V10.9873L1.41406%2010.7812L2.23828%209.75H1V6.75H3.77637L5.09473%202H19.0859L20.2734%206.75ZM4.75%2019.75H8.25V18.25H4.75V19.75ZM15.75%2019.75H19.25V18.25H15.75V19.75ZM2.75%2011.4512V17H21.25V11.4512L12%209.75L2.75%2011.4512ZM10.5%2016H9V12H10.5V16ZM12.75%2016H11.25V12H12.75V16ZM15%2016H13.5V12H15V16ZM8%2015.75H3V11.75H8V15.75ZM21%2015.75H16V11.75H21V15.75ZM4.29395%2014.292H6.70605V13.208H4.29395V14.292ZM17.2939%2014.292H19.7061V13.208H17.2939V14.292ZM4.72266%208.9502L4.58594%209.75L11.25%208.53516V7.75H12.75V8.53418L19.5%209.75L19.2725%208.93164L17.915%203.5H6.23535L4.72266%208.9502ZM2.4668%208.46387H3.2666L3.31836%208.39941L3.41895%208.03613H2.4668V8.46387ZM20.6875%208.4082L20.7324%208.46387H21.5332V8.03613H20.5947L20.6875%208.4082Z%22%20fill%3D%22%23121212%22/%3E%0A%3C/svg%3E"},title:"Limousine"},LISTENING_DEVICE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M19%2023H5V1H19V23ZM6.44824%2021.4648H9V20.25H15V21.4648H17.5518V18.9072H6.44824V21.4648ZM6.44824%2017.3721H17.5518V5.60449H6.44824V17.3721ZM6.44824%204.06934H17.5518V2.53516H6.44824V4.06934Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Listening Device"},LOCKER:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19%2021H18V23H5V21H4V1H19V21ZM6.55957%2021.3633H16.4404V21H6.55957V21.3633ZM5.5%209.375L7.75%2010.126V13.4639L5.5%2014.5879V19.4619L17.5%2019.5V2.53809H5.5V9.375ZM16%2018.5H7V17H16V18.5ZM16%2016.5H7V15H16V16.5ZM5.5%2012.9111L6.25%2012.5361V11.207L5.5%2010.957V12.9111ZM16.75%207.75H6.25V3.25H16.75V7.75ZM7.75%206.25H15.25V4.75H7.75V6.25Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Locker"},LOUNGE_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.75%2010.25H13.75V19.75H12V20.25H17.75V14.75H14V13.25H16.707L16.1348%209.25H20.8652L20.293%2013.25H23V14.75H19.25V20.25H23V21.75H1V20.25H3V19.75H1.25V10.25H2.25V6.25H12.75V10.25ZM4%2020.25H11V19.75H4V20.25ZM2.75%2018.25H12.25V11.75H11.2119V16.6729H3.78809V11.75H2.75V18.25ZM5.28809%2015.1729H9.71191V14.2119H5.28809V15.1729ZM18.1504%2012.75H18.8496L19.1357%2010.75H17.8643L18.1504%2012.75ZM3.75%2010.25H5.28809V12.7119H9.71191V10.25H11.25V7.75H3.75V10.25Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Lounge Access"},LUXURY_CAMPING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12.4492%201.32324L22.6826%208.69629L21.7832%209.93652L21.291%209.58203V15.6943H23V20H19V22H5V20H1V15.6943H2.70898V9.58203L2.2168%209.93652L1.31738%208.69629L11.5508%201.32324L12%201L12.4492%201.32324ZM6.82617%2020V20.6152H17.1738V20H6.82617ZM2.53516%2018.4697H21.4648V17.2246H2.53516V18.4697ZM4.24316%208.47559V15.6943H4.86621V9.06152H11.2324V3.44043L4.24316%208.47559ZM6.40137%2015.6943H8.46582L11.1475%2010.5918H6.40137V15.6943ZM10.1982%2015.6943H11.2324V13.7256L10.1982%2015.6943ZM12.7676%2015.6943H13.8018L12.7676%2013.7256V15.6943ZM15.5342%2015.6943H17.876L17.8203%2010.5918H12.8525L15.5342%2015.6943ZM12.7676%209.06152H19.3398L19.4102%2015.6943H19.7568V8.47559L12.7676%203.44043V9.06152Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Luxury Camping"},MEAL_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.9717%200.433594L15.7334%205.71973H22V7.21973H21.1973L20.1973%2020.9697H13.333L12%2021.9697H3.5L1%2020.0947V16.9697H14.5V19.4697H18.8027L19.6934%207.21973H11.3066L11.4336%208.96973H12L14.5%2010.8447V13.9697H1V10.8447L3.5%208.96973H9.92969L9.80273%207.21973H9V5.71973H14.1523L12.8223%201.72754L10.835%202.71875L10.165%201.37695L12.9258%200L13.9717%200.433594ZM2.5%2019.3447L4%2020.4697H11.5L13%2019.3447V18.4697H2.5V19.3447ZM15%2016.2197H0V14.7197H15V16.2197ZM2.5%2011.5947V12.4697H13V11.5947L11.5%2010.4697H4L2.5%2011.5947Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Meal Package"},MEET_AND_GREET:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.5%204C10.5%204.42401%2010.6335%204.74965%2010.9419%205.05809C11.2503%205.36653%2011.576%205.5%2012%205.5C12.424%205.5%2012.7497%205.36653%2013.0581%205.05809C13.3665%204.74965%2013.5%204.42401%2013.5%204C13.5%203.57599%2013.3665%203.25035%2013.0581%202.94191C12.7497%202.63347%2012.424%202.5%2012%202.5C11.576%202.5%2011.2503%202.63347%2010.9419%202.94191C10.6335%203.25035%2010.5%203.57599%2010.5%204ZM12%207C11.175%207%2010.4687%206.70625%209.88125%206.11875C9.29375%205.53125%209%204.825%209%204C9%203.175%209.29375%202.46875%209.88125%201.88125C10.4687%201.29375%2011.175%201%2012%201C12.825%201%2013.5312%201.29375%2014.1188%201.88125C14.7063%202.46875%2015%203.175%2015%204C15%204.825%2014.7063%205.53125%2014.1188%206.11875C13.5312%206.70625%2012.825%207%2012%207ZM6%2023L7.5%2012.75L1%209.75L3%205L9.5%208H14.5L21%205L23%209.75L16.5%2012.75L18%2023H13L12%2016.5L11%2023H6ZM3.7803%207.0122L2.94514%208.9957L9.14653%2011.8579L7.73549%2021.5H9.71312L10.5174%2016.2719H13.4826L14.2869%2021.5H16.2645L14.8535%2011.8579L21.0549%208.9957L20.2197%207.0122L14.8295%209.5H9.17054L3.7803%207.0122Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Meet And Greet"},MERCHANDISE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17.4062%203.40234L23.0361%207.90625L19.126%2013.1191L18.25%2012.3887V18.3486L14.8105%2021.7881H5.75V12.3887L4.87402%2013.1191L0.963867%207.90625L6.59375%203.40234L9%202.19922L11.1768%204.28809H12.8232L15%202.19922L17.4062%203.40234ZM13.1768%205.78809H10.8232L9%203.87598L7.40625%204.67285L3.03613%208.16895L5.12598%2010.9561L7.51953%208.96191L8.48047%2010.1143L7.25%2011.1387V20.2881H14.1895L16.75%2017.7266V11.1387L15.5195%2010.1143L16.4805%208.96191L18.874%2010.9561L20.9639%208.16895L16.5938%204.67285L15%203.87598L13.1768%205.78809Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Merchandise"},MISCELLANEOUS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M23%2023H1V1H23V23ZM2.53516%2021.4648H11.25V12.75H2.53516V21.4648ZM12.75%2021.4648H21.4648V12.75H12.75V21.4648ZM10%2017L7%2020L4%2017L7%2014L10%2017ZM20%2014V20H16.752L14%2017.248V14H20ZM15.3711%2015.4033V16.5L17.5%2018.5H18.7197V15.4033H15.3711ZM6.0791%2017L7%2017.9209L7.9209%2017L7%2016.0791L6.0791%2017ZM2.53516%2011.25H11.25V2.53516H2.53516V11.25ZM12.75%2011.25H21.4648V2.53516H12.75V11.25ZM7%204C8.65625%204%2010%205.34254%2010%207C10%208.65746%208.65625%2010%207%2010C5.34375%2010%204%208.65746%204%207C4%205.34254%205.34375%204%207%204ZM17.7598%206.24023H20V7.75977H17.7598V10H16.2402V7.75977H14V6.24023H16.2402V4H17.7598V6.24023ZM7%205.54199C6.19366%205.54199%205.54102%206.1954%205.54102%207C5.54102%207.8046%206.19366%208.45801%207%208.45801C7.80634%208.45801%208.45898%207.8046%208.45898%207C8.45898%206.1954%207.80634%205.54199%207%205.54199Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Miscellaneous"},NFT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2018%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.75%2018.9541L14.9443%2022H0.25V0H17.75V18.9541ZM1.75%2015.875H6.08398C6.236%2015.2859%206.59741%2014.7721%207.10059%2014.4307C7.60372%2014.0893%208.21438%2013.9429%208.81738%2014.0195C9.42037%2014.0963%209.97512%2014.3912%2010.377%2014.8477C10.7786%2015.3042%2011%2015.8917%2011%2016.5C11%2017.1083%2010.7786%2017.6958%2010.377%2018.1523C9.97512%2018.6088%209.42037%2018.9037%208.81738%2018.9805C8.21438%2019.0571%207.60372%2018.9107%207.10059%2018.5693C6.59742%2018.2279%206.236%2017.7141%206.08398%2017.125H1.75V20.5H14.2861L16.25%2018.3682V6.125H12.917C12.765%206.71408%2012.4035%207.22783%2011.9004%207.56934C11.3973%207.91076%2010.7866%208.05702%2010.1836%207.98047C9.58045%207.9038%209.02594%207.6089%208.62402%207.15234C8.22211%206.69578%208%206.10848%208%205.5C8%204.89152%208.22211%204.30422%208.62402%203.84766C9.02594%203.3911%209.58045%203.0962%2010.1836%203.01953C10.7866%202.94298%2011.3973%203.08924%2011.9004%203.43066C12.4035%203.77215%2012.765%204.21658%2012.917%204.80566H16.25V1.5H1.75V15.875ZM8.49414%2015.25C8.24711%2015.25%208.0052%2015.3236%207.7998%2015.4609C7.5946%2015.5983%207.43432%2015.7932%207.33984%2016.0215C7.24531%2016.2499%207.22134%2016.5017%207.26953%2016.7441C7.31777%2016.9865%207.43674%2017.2091%207.61133%2017.3838C7.78587%2017.5584%208.00798%2017.6773%208.25%2017.7256C8.49212%2017.7738%208.74358%2017.7497%208.97168%2017.6553C9.19988%2017.5607%209.39499%2017.3999%209.53223%2017.1943C9.66947%2016.9888%209.74316%2016.7472%209.74316%2016.5C9.74316%2016.1685%209.61118%2015.8506%209.37695%2015.6162C9.14275%2015.3819%208.82532%2015.25%208.49414%2015.25ZM10.75%204.27441C10.5078%204.22621%2010.2565%204.25023%2010.0283%204.34473C9.8001%204.43934%209.60501%204.6001%209.46777%204.80566C9.33053%205.01122%209.25684%205.25277%209.25684%205.5C9.25684%205.83152%209.38882%206.14937%209.62305%206.38379C9.85722%206.61814%2010.1747%206.74994%2010.5059%206.75C10.7529%206.75%2010.9948%206.67641%2011.2002%206.53906C11.4054%206.40174%2011.5657%206.20679%2011.6602%205.97852C11.7547%205.75011%2011.7796%205.49833%2011.7314%205.25586C11.6833%205.01357%2011.5641%204.79094%2011.3896%204.61621C11.2151%204.44147%2010.9922%204.32269%2010.75%204.27441Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"NFT"},OVERSIZED_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Oversized Parking"},PARK_AND_RIDE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Park And Ride"},PHYSICAL_MUSIC_OR_VIDEO:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M23%2023H1V1H23V23ZM2.53516%2021.4648H3V2.53516H2.53516V21.4648ZM4.5%2021.4648H21.4648V2.53516H4.5V21.4648ZM13%204C17.4183%204%2021%207.58172%2021%2012C21%2016.4183%2017.4183%2020%2013%2020C8.58172%2020%205%2016.4183%205%2012C5%207.58172%208.58172%204%2013%204ZM14.2959%209.29688C15.3033%209.78069%2016%2010.8078%2016%2012C16%2013.6569%2014.6569%2015%2013%2015C11.3431%2015%2010%2013.6569%2010%2012C10%2010.8081%2010.6962%209.78085%2011.7031%209.29688L9.92188%206.32812C7.91222%207.42107%206.54883%209.55144%206.54883%2012C6.54883%2015.5631%209.43687%2018.4512%2013%2018.4512C14.2729%2018.4512%2015.4602%2018.0827%2016.46%2017.4463C18.2585%2016.3013%2019.4512%2014.29%2019.4512%2012C19.4512%209.55113%2018.0872%207.42095%2016.0771%206.32812L14.2959%209.29688ZM13%2010.2861C12.0532%2010.2861%2011.2861%2011.0532%2011.2861%2012C11.2861%2012.9468%2012.0532%2013.7139%2013%2013.7139C13.9468%2013.7139%2014.7139%2012.9468%2014.7139%2012C14.7139%2011.0532%2013.9468%2010.2861%2013%2010.2861ZM13%205.54883C12.4241%205.54883%2011.8662%205.62505%2011.335%205.7666L13%208.54102L14.6641%205.7666C14.1331%205.62521%2013.5755%205.54883%2013%205.54883Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Physical Music Or Video"},POSTERS_AND_PRINTS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18.1904%205.99316H23V15.9785H19.2295L19.7988%2020.8125L16.4844%2023L5.40137%2022.918H4.15625L4.97461%2015.9785H1V5.99316H6.07031V1H18.1904V5.99316ZM5.84277%2021.4238L16.0381%2021.499L18.2012%2020.0713L17.3555%2012.8926H16.0195L16.5283%2017.9756H7.58789L7.99512%2012.8926H6.84863L5.84277%2021.4238ZM12.2998%2020.4717H7.2998L7.45605%2018.9736H12.2998V20.4717ZM9.21289%2016.4775H14.8711L14.5215%2012.9824H9.49219L9.21289%2016.4775ZM13.5%2013.9814L13.5996%2015.4795H10.4004L10.5%2013.9814H13.5ZM2.5%2014.4805H5.15137L5.33789%2012.8926H3.65039V11.3955H20.3496V12.8926H18.8662L19.0527%2014.4805H21.5V7.49023H2.5V14.4805ZM7.15039%2010.2363H3.65039V8.73926H7.15039V10.2363ZM9.65039%2010.2363H8.15039V8.73926H9.65039V10.2363ZM7.57031%205.99316H16.6904V2.49805H7.57031V5.99316Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Posters And Prints"},PREMIER_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%2011.1768H20.2012L23%2013.8545V18.332H20.0791C19.7475%2019.58%2018.6122%2020.5%2017.2598%2020.5C15.9075%2020.4999%2014.7731%2019.5799%2014.4414%2018.332H8.95898C8.62732%2019.58%207.49203%2020.5%206.13965%2020.5C4.74206%2020.4998%203.57425%2019.5179%203.28809%2018.2061L1%2017.1904V11.7861L3.29785%207H13.7236L17.8438%2011.1768ZM6.13965%2016.1641C5.35496%2016.1642%204.71973%2016.7995%204.71973%2017.582C4.71987%2018.3645%205.35505%2018.9998%206.13965%2019C6.92439%2019%207.55943%2018.3646%207.55957%2017.582C7.55957%2016.7994%206.92448%2016.1641%206.13965%2016.1641ZM17.2598%2016.1641C16.475%2016.1642%2015.8398%2016.7994%2015.8398%2017.582C15.84%2018.3645%2016.4751%2018.9999%2017.2598%2019C18.0445%2019%2018.6795%2018.3646%2018.6797%2017.582C18.6797%2016.7994%2018.0446%2016.1641%2017.2598%2016.1641ZM2.5%2016.2148L3.38867%2016.6094C3.7897%2015.4761%204.86897%2014.6642%206.13965%2014.6641C7.49221%2014.6641%208.62749%2015.5838%208.95898%2016.832H14.4414C14.7729%2015.5839%2015.9073%2014.6642%2017.2598%2014.6641C18.6123%2014.6641%2019.7476%2015.5838%2020.0791%2016.832H21.5V14.4951L19.5986%2012.6768H17.2168L17.207%2012.667H2.5V16.2148ZM13.54%2015.2549H11.0898V13.7549H13.54V15.2549ZM2.96094%2011.167H9.7002V8.5H4.24219L2.96094%2011.167ZM11.2002%2011.167H15.7275L13.0967%208.5H11.2002V11.167ZM21.0205%205.77539L22.8848%206.06152L23%206.43652L21.6504%207.81738L21.9697%209.76758L21.667%2010L20%209.0791L18.333%2010L18.0303%209.76758L18.3496%207.81738L17%206.43652L17.1152%206.06152L18.9795%205.77539L19.8125%204H20.1875L21.0205%205.77539Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Premier Parking"},PRIVATE_RESTROOM_OR_SHOWERS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17%204H15.4443V2.51758H4.55566V16.25H6.25V15H7.75V19H6.25V17.75H4.55566V23H3V1H17V4ZM13.75%2015H12.25V13H13.75V15ZM16.75%2015H15.25V13H16.75V15ZM19.75%2015H18.25V13H19.75V15ZM13.75%2012H12.25V10H13.75V12ZM16.75%2012H15.25V10H16.75V12ZM19.75%2012H18.25V10H19.75V12ZM13.75%209H12.25V7H13.75V9ZM16.75%209H15.25V7H16.75V9ZM19.75%209H18.25V7H19.75V9ZM21%205.75H11V4.25H21V5.75Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Private Restroom Or Showers"},REGULAR_PARKING:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Regular Parking"},RESTAURANT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M13.9717%200.433594L15.7334%205.71973H22V7.21973H21.1973L20.1973%2020.9697H13.333L12%2021.9697H3.5L1%2020.0947V16.9697H14.5V19.4697H18.8027L19.6934%207.21973H11.3066L11.4336%208.96973H12L14.5%2010.8447V13.9697H1V10.8447L3.5%208.96973H9.92969L9.80273%207.21973H9V5.71973H14.1523L12.8223%201.72754L10.835%202.71875L10.165%201.37695L12.9258%200L13.9717%200.433594ZM2.5%2019.3447L4%2020.4697H11.5L13%2019.3447V18.4697H2.5V19.3447ZM15%2016.2197H0V14.7197H15V16.2197ZM2.5%2011.5947V12.4697H13V11.5947L11.5%2010.4697H4L2.5%2011.5947Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Restaurant"},SOUVENIR_TICKET:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.9189%2014.9727H16.4033V3.49707H3.5166V20.0557H10.5918V21.5527H2V2H17.9189V14.9727ZM16.9795%2016.9033L19.6914%2015.002L21%2015.7236V18.1338H18.1572L20.0098%2021.0088L18.8945%2021.5L16.9258%2018.4443L14.957%2021.5L13.8418%2021.0088L15.6943%2018.1338H13V15.7236L14.3125%2015L16.9795%2016.9033ZM10.2344%2018.4375H4.86523V16.9414H10.2344V18.4375ZM14.2627%2017.0889H15.3057L14.2627%2016.3447V17.0889ZM18.668%2017.0889H19.7363V16.3398L18.668%2017.0889ZM12.3828%2015.7207H4.86523V14.2246H12.3828V15.7207ZM15.0195%2012.8721H4.91309V6.07422H15.0195V12.8721ZM6.42871%2011.375H13.5039V7.57031H6.42871V11.375ZM12.3291%2010.2217H7.60352V8.72461H12.3291V10.2217Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Souvenir Ticket"},SPECIAL_ENTRY:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M23%2016.7666L19.9521%2019.7393L15.6484%2019.75H1V4.25H23V16.7666ZM2.5%2018.25H3.5V15.5918L5.02246%2014.25H8.97754L10.5%2015.5918V18.25H11.5V5.75H2.5V18.25ZM5%2016.2686V18.25H9V16.2686L8.41113%2015.75H5.58887L5%2016.2686ZM13%2018.25H15.6465L19.3408%2018.2412L21.5%2016.1338V5.75H13V18.25ZM18.7197%2014.25H14V12.75H18.7197V14.25ZM7%207.5C8.51878%207.5%209.75%208.73122%209.75%2010.25C9.75%2011.7688%208.51878%2013%207%2013C5.48122%2013%204.25%2011.7688%204.25%2010.25C4.25%208.73122%205.48122%207.5%207%207.5ZM20.25%2011.75H14V10.25H20.25V11.75ZM7%209C6.30964%209%205.75%209.55964%205.75%2010.25C5.75%2010.9404%206.30964%2011.5%207%2011.5C7.69036%2011.5%208.25%2010.9404%208.25%2010.25C8.25%209.55964%207.69036%209%207%209Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Special Entry"},SPORTS_FACILITY_TOUR:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M22.4072%202.67188L22.4014%204.12207L17.75%205.57715V7.04297H18.3076L23%209.08008V20.6387L19.2119%2023H4.78809L1%2020.6387V9.08008L3.25%208.10254V1.72363L4.22754%201L9.40723%202.67188L9.40137%204.12207L4.75%205.57715V7.45117L5.69238%207.04297H16.25V1.72363L17.2275%201L22.4072%202.67188ZM2.5%2019.7891L5.21191%2021.4805H9.25V19.9609H5.34277L2.5%2018.7002V19.7891ZM10.75%2021.4805H13.75V16.9209H10.75V21.4805ZM18.8008%2019.8975L18.5%2019.9609H15.25V21.4805H18.7881L21.5%2019.7891V18.7002L18.8008%2019.8975ZM18.8008%2016.8574L18.5%2016.9209H15.25V18.4414H18.3428L21.5%2017.041V15.6611L18.8008%2016.8574ZM2.5%2017.041L5.65723%2018.4414H9.25V16.9209H5.34277L2.5%2015.6611V17.041ZM18.5908%2013.5059L18%2013.6289H5.69238L2.5%2012.2422V14.002L5.65723%2015.4014H18.3428L21.5%2014.002V12.2422L18.5908%2013.5059ZM2.5%2010.083V10.5889L6%2012.1084H18L21.5%2010.5889V10.083L18%208.5625H6L2.5%2010.083ZM4.75%203.98633L6.6748%203.38477L4.75%202.76367V3.98633ZM17.75%203.98633L19.6748%203.38477L17.75%202.76367V3.98633Z%22%20fill%3D%22%23121212%22%2F%3E%20%3C%2Fsvg%3E"},title:"Sports Facility Tour"},SPORTS_FAN_EXPERIENCE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6%201C8.76142%201%2011%203.23858%2011%206C11%206.26581%2010.9784%206.52666%2010.9385%206.78125C12.0219%206.28049%2013.228%206%2014.5%206C19.1944%206.00002%2023%209.80559%2023%2014.5C22.9999%2019.1943%2019.1943%2022.9999%2014.5%2023C9.80571%2023%206.00014%2019.1943%206%2014.5C6.00001%2013.2281%206.28054%2012.0219%206.78125%2010.9385C6.52666%2010.9784%206.26581%2011%206%2011C3.23858%2011%201%208.76142%201%206C1%203.23858%203.23858%201%206%201ZM14.5%207.5C12.2606%207.50002%2010.2686%208.55312%208.9873%2010.1895L10.3965%2011.8057L10.0215%2015.1934L7.75586%2016.3691C8.57393%2019.3271%2011.2818%2021.4999%2014.5%2021.5C16.5877%2021.5%2018.4617%2020.5853%2019.7441%2019.1357L18.5078%2017.8281L18.9141%2013.7412L21.374%2013.1777C20.7556%209.94424%2017.9137%207.50004%2014.5%207.5ZM16.4688%2017.8311L14.8643%2020.4619L11.4141%2019.2295L11.251%2016.6592L14.1807%2015.6162L16.4688%2017.8311ZM17.4746%209.47656L17.8301%2012.7139L14.5918%2013.6748L12.3193%2011.4727L14.1689%208.49219L17.4746%209.47656ZM9.20996%204.60645C8.99498%204.5846%208.74246%204.57997%208.48145%204.61719C8.14241%204.66559%207.80366%204.78285%207.50684%205.01367C7.21463%205.241%206.92033%205.61139%206.71191%206.23633C6.42785%207.08842%206.01815%207.71035%205.52539%208.1416C5.03109%208.57409%204.49016%208.78222%203.99805%208.86426C3.99551%208.86468%203.99277%208.86384%203.99023%208.86426C4.55913%209.26417%205.25178%209.5%206%209.5C7.933%209.5%209.5%207.933%209.5%206C9.5%205.50449%209.39567%205.03362%209.20996%204.60645ZM6%202.5C4.067%202.5%202.5%204.067%202.5%206C2.5%206.47274%202.59379%206.92357%202.76367%207.33496C2.77484%207.30671%202.77716%207.30325%202.77734%207.30273L2.77539%207.30176L2.77441%207.30078L2.7793%207.30273C2.788%207.30583%202.80454%207.31213%202.82812%207.31934C2.87579%207.3339%202.95025%207.3545%203.04395%207.37207C3.235%207.40788%203.48738%207.42887%203.75195%207.38477C4.00976%207.34174%204.2815%207.23634%204.53711%207.0127C4.79414%206.7878%205.07224%206.40994%205.28809%205.7627C5.5796%204.88826%206.03553%204.25788%206.58691%203.8291C7.06253%203.45938%207.57788%203.26303%208.05664%203.16797C7.47926%202.74795%206.76863%202.5%206%202.5ZM19.5%201C20.8807%201%2022%202.11929%2022%203.5C22%204.88071%2020.8807%206%2019.5%206C18.1193%206%2017%204.88071%2017%203.5C17%202.11929%2018.1193%201%2019.5%201Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Sports Fan Experience"},TICKET_PACKAGE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.2344%203.96289L23%205.17871L20.2705%2020.543L20.0195%2020.7217C19.2339%2021.2782%2018.6798%2021.6662%2018.043%2022.1123C17.737%2022.3266%2017.4115%2022.554%2017.0322%2022.8203L16.7764%2023L8.52539%2021.5186L4.8584%2022.3008L1%204.11133L15.6064%201L16.2344%203.96289ZM18.9229%2016.6309L17.0928%2019.6943L12.4209%2020.6895L16.4268%2021.4082C16.7025%2021.2147%2016.9498%2021.0411%2017.1855%2020.876C17.7502%2020.4804%2018.2471%2020.1329%2018.9004%2019.6709L21.2578%206.39551L16.5723%205.55273L18.9229%2016.6309ZM2.78125%205.27051L6.01465%2020.5156L16.1406%2018.3584L17.3311%2016.3662L14.4502%202.78516L2.78125%205.27051ZM13.499%2016.1631L6.64258%2017.624L6.33008%2016.1523L13.1875%2014.6914L13.499%2016.1631ZM15.3232%2012.6963L6.01855%2014.6787L4.66504%208.29883L13.9707%206.31738L15.3232%2012.6963ZM6.44629%209.45801L7.17578%2012.8936L13.542%2011.5371L12.8135%208.10254L6.44629%209.45801ZM12.3057%2010.7754L7.99609%2011.6934L7.68359%2010.2207L11.9932%209.30273L12.3057%2010.7754Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Ticket Package"},TRANSPORTATION:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.8438%209.42676H20.2012L23%2012.1045V16.582H20.0791C19.7475%2017.83%2018.6122%2018.75%2017.2598%2018.75C15.9075%2018.7499%2014.7731%2017.8299%2014.4414%2016.582H8.95898C8.62732%2017.83%207.49203%2018.75%206.13965%2018.75C4.74206%2018.7498%203.57425%2017.7679%203.28809%2016.4561L1%2015.4404V10.0361L3.29785%205.25H13.7236L17.8438%209.42676ZM6.13965%2014.4141C5.35496%2014.4142%204.71973%2015.0495%204.71973%2015.832C4.71987%2016.6145%205.35505%2017.2498%206.13965%2017.25C6.92439%2017.25%207.55943%2016.6146%207.55957%2015.832C7.55957%2015.0494%206.92448%2014.4141%206.13965%2014.4141ZM17.2598%2014.4141C16.475%2014.4142%2015.8398%2015.0494%2015.8398%2015.832C15.84%2016.6145%2016.4751%2017.2499%2017.2598%2017.25C18.0445%2017.25%2018.6795%2016.6146%2018.6797%2015.832C18.6797%2015.0494%2018.0446%2014.4141%2017.2598%2014.4141ZM2.5%2014.4648L3.38867%2014.8594C3.7897%2013.7261%204.86897%2012.9142%206.13965%2012.9141C7.49221%2012.9141%208.62749%2013.8338%208.95898%2015.082H14.4414C14.7729%2013.8339%2015.9073%2012.9142%2017.2598%2012.9141C18.6123%2012.9141%2019.7476%2013.8338%2020.0791%2015.082H21.5V12.7451L19.5986%2010.9268H17.2168L17.207%2010.917H2.5V14.4648ZM13.54%2013.5049H11.0898V12.0049H13.54V13.5049ZM2.96094%209.41699H9.7002V6.75H4.24219L2.96094%209.41699ZM11.2002%209.41699H15.7275L13.0967%206.75H11.2002V9.41699Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Transportation"},TRAVEL_TICKET_PACKAGES:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M16.2344%203.96289L23%205.17871L20.2705%2020.543L20.0195%2020.7217C19.2339%2021.2782%2018.6798%2021.6662%2018.043%2022.1123C17.737%2022.3266%2017.4115%2022.554%2017.0322%2022.8203L16.7764%2023L8.52539%2021.5186L4.8584%2022.3008L1%204.11133L15.6064%201L16.2344%203.96289ZM18.9229%2016.6309L17.0928%2019.6943L12.4209%2020.6895L16.4268%2021.4082C16.7025%2021.2147%2016.9498%2021.0411%2017.1855%2020.876C17.7502%2020.4804%2018.2471%2020.1329%2018.9004%2019.6709L21.2578%206.39551L16.5723%205.55273L18.9229%2016.6309ZM2.78125%205.27051L6.01465%2020.5156L16.1406%2018.3584L17.3311%2016.3662L14.4502%202.78516L2.78125%205.27051ZM13.499%2016.1631L6.64258%2017.624L6.33008%2016.1523L13.1875%2014.6914L13.499%2016.1631ZM15.3232%2012.6963L6.01855%2014.6787L4.66504%208.29883L13.9707%206.31738L15.3232%2012.6963ZM6.44629%209.45801L7.17578%2012.8936L13.542%2011.5371L12.8135%208.10254L6.44629%209.45801ZM12.3057%2010.7754L7.99609%2011.6934L7.68359%2010.2207L11.9932%209.30273L12.3057%2010.7754Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Travel Ticket Packages"},UPGRADE:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M11%200C17.0751%200%2022%204.92487%2022%2011C22%2017.0751%2017.0751%2022%2011%2022C4.92487%2022%200%2017.0751%200%2011C4.83193e-08%204.92487%204.92487%204.83208e-08%2011%200ZM11%201.4043C5.70042%201.4043%201.4043%205.70042%201.4043%2011C1.4043%2016.2996%205.70042%2020.5957%2011%2020.5957C16.2996%2020.5957%2020.5957%2016.2996%2020.5957%2011C20.5957%205.70042%2016.2996%201.4043%2011%201.4043ZM14%2018.5H8V17H14V18.5ZM16%208.51074L14.8291%209.56641L11.8281%206.8584V16H10.1719V6.8584L7.1709%209.56641L6%208.51074L11%204L16%208.51074Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Upgrade"},UPSELL_BUNDLES:{url:{light:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M5.12109%2011.583H18.5645L21.5645%208.58301L22.625%209.64355L20%2012.2686V21.833H4V12.583L1%209.58301L2.06055%208.52246L5.12109%2011.583ZM5.5%2020.583L11%2020.5479V13.083H5.5V20.583ZM12.5%2020.5371L18.5%2020.5V13.083H12.5V20.5371ZM9.91699%206.51465L11.5898%206.75879L11.6934%207.0791L10.4814%208.25586L10.7686%209.91992L10.4971%2010.1182L9%209.33301L7.50391%2010.1182L7.23145%209.91992L7.51855%208.25586L6.30664%207.0791L6.41016%206.75879L8.08398%206.51465L8.83203%205H9.16797L9.91699%206.51465ZM16.917%206.51465L18.5898%206.75879L18.6934%207.0791L17.4814%208.25586L17.7686%209.91992L17.4971%2010.1182L16%209.33301L14.5039%2010.1182L14.2314%209.91992L14.5186%208.25586L13.3066%207.0791L13.4102%206.75879L15.084%206.51465L15.832%205H16.168L16.917%206.51465ZM13.917%201.93164L15.5898%202.17578L15.6934%202.49609L14.4814%203.67285L14.7686%205.33691L14.4971%205.53516L13%204.75L11.5039%205.53516L11.2314%205.33691L11.5186%203.67285L10.3066%202.49609L10.4102%202.17578L12.084%201.93164L12.832%200.416992H13.168L13.917%201.93164Z%22%20fill%3D%22%23121212%22%2F%3E%3C%2Fsvg%3E"},title:"Upsell Bundles"},VIP_LAWN_ACCESS:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2211%22%20fill%3D%22white%22%20stroke%3D%22black%22/%3E%3Cpath%20d%3D%22M14.042%209.25391L17.7695%209.7793L18%2010.4678L15.3008%2012.998L15.9404%2016.5742L15.334%2017L12%2015.3125L8.66602%2017L8.05957%2016.5742L8.69922%2012.998L6%2010.4678L6.23047%209.7793L9.95801%209.25391L11.626%206H12.374L14.042%209.25391Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"VIP Lawn Access"},VIP_TICKET_PACKAGES:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2211%22%20fill%3D%22white%22%20stroke%3D%22black%22/%3E%3Cpath%20d%3D%22M14.042%209.25391L17.7695%209.7793L18%2010.4678L15.3008%2012.998L15.9404%2016.5742L15.334%2017L12%2015.3125L8.66602%2017L8.05957%2016.5742L8.69922%2012.998L6%2010.4678L6.23047%209.7793L9.95801%209.25391L11.626%206H12.374L14.042%209.25391Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"VIP Ticket Packages"},VOUCHER:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23%2017.5654L19.9189%2020.75H1V3.25H23V17.5654ZM2.5%2019.25H7.75V12.4336L5.66211%2016.3525L4.33789%2015.6475L6.87305%2010.8896H2.5V19.25ZM12.6621%2015.6475L11.3379%2016.3525L9.25%2012.4336V19.25H19.2832L21.5%2016.959V10.8896H10.127L12.6621%2015.6475ZM2.5%209.38965H4V7.09863L5.55859%206.05957L7.75%207.95117V4.75H2.5V9.38965ZM5.5%209.38965H7.12012L5.5%207.99121V9.38965ZM10.3428%209.38965H12V7.9834L10.3428%209.38965ZM9.25%208.34961L11.9453%206.0625L13.5%207.09863V9.38965H21.5V4.75H9.25V8.34961Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Voucher"},DEFAULT:{url:{light:"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.69824%203.61621L10.4053%201.38379L23.0391%2012.6406L14.0693%2023.0693L1.31152%2011.6289L3.64551%204.68457L1.12207%202.18262L2.17773%201.11719L4.69824%203.61621ZM5.86328%204.77051L7.05273%205.94922C7.48383%205.69671%207.98483%205.5498%208.52051%205.5498C10.1275%205.55002%2011.4297%206.85295%2011.4297%208.45996C11.4296%2010.0669%2010.1274%2011.3699%208.52051%2011.3701C6.91341%2011.3701%205.61044%2010.067%205.61035%208.45996C5.61035%207.93374%205.75082%207.44057%205.99512%207.01465L4.83301%205.86133L3.04785%2011.1709L13.9307%2020.9307L20.9404%2012.7793L10.0947%203.11621L5.86328%204.77051ZM8.52051%207.0498C8.41042%207.0498%208.30302%207.06305%208.2002%207.08691L9.14844%208.02734L8.0918%209.09277L7.14355%208.15332C7.12168%208.25199%207.11035%208.3547%207.11035%208.45996C7.11044%209.23861%207.74184%209.87012%208.52051%209.87012C9.29899%209.8699%209.9296%209.23848%209.92969%208.45996C9.92969%207.68137%209.29905%207.05002%208.52051%207.0498Z%22%20fill%3D%22%23121212%22/%3E%3C/svg%3E"},title:"Default"}}},QC={host:"Undefined",tm1:"DEFAULT"};function ey(e,t){var n,i,a;if(null==e||"string"!=typeof e)return;const o=XC[t];if(!o)return;const r=null!==(n=o[e])&&void 0!==n?n:o[QC[t]];return(null===(i=null==r?void 0:r.url)||void 0===i?void 0:i.light)?{url:r.url.light,title:null!==(a=r.title)&&void 0!==a?a:e}:void 0}function ty({schema:t,testId:n}){var i;const a=ti(),o=t.value;if(null==o||""===o)return null;const r=ey(a(o),null!==(i=t.iconSet)&&void 0!==i?i:"host");if(!r)return null;const s={type:"StaticImage",node:{url:{light:r.url},title:r.title}};return e.jsx(Dn,{children:e=>e(s,void 0,n?`${n}-mapped-icon`:void 0)})}function ny(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:a(t,void 0,o)})}function iy(e,t,n){return t(e,void 0,n)}function ay(t){var n;const{schema:a,testId:o}=t,{a11yInputLabel:r,styles:s,showInputField:l,buttons:c,forcedUpsellText:d}=a,{increment:u,decrement:p,a11yIncrementLabel:f,a11yDecrementLabel:h}=c||{},v=i.useDispatch(),C=qi(),y=wn(),m=ti(),g=Ri(),{tabIndex:E,styles:I,isDisabled:x}=b(g),L=i.useSelector((e=>function(e,t){var n,i,a;const o=FC(e,t);return Boolean(o&&(null!==(n=o.preSelectedQuantity)&&void 0!==n?n:0)>0&&o.preSelectedQuantity===(null!==(i=o.minItemCount)&&void 0!==i?i:0)&&o.preSelectedQuantity===(null!==(a=o.maxItemCount)&&void 0!==a?a:0))}(e,C.catalogItemId))),D=i.useSelector((e=>MC(e,C.cartItemId))),w=i.useSelector((e=>kC(e,C))),S=(null==D?void 0:D.quantity)||0,A=b(x||S<=(null!==(n=C.minItemCount)&&void 0!==n?n:0)?"DISABLED":g),T=b(x||w<=0?"DISABLED":g),j=b(x||L||w<=0&&0===S?"DISABLED":g),M=e=>{var t;const n=e.target.value;if(0===n.length)O(null!==(t=C.minItemCount)&&void 0!==t?t:0);else{const e=Number(n);!Number.isNaN(e)&&e>=0&&O(e)}},O=e=>{x||v({type:nC,payload:{catalogItem:C,quantity:e}})};return e.jsx(qa,{styles:s,children:({classnames:t,mapperRef:n})=>e.jsx("div",{className:null==t?void 0:t.own,style:Object.assign({display:"flex",flexDirection:"row"},I),children:L&&d?e.jsx(io,{schema:d,isInline:!1,testId:o?`${o}-forced-upsell-text`:void 0}):e.jsxs(e.Fragment,{children:[p?e.jsx("button",{className:null==t?void 0:t.decrementButton,style:Object.assign(Object.assign({},A.styles),{cursor:A.isDisabled?"not-allowed":"pointer",pointerEvents:"auto"}),onClick:e=>{e.preventDefault(),O(S-1)},tabIndex:A.tabIndex,"aria-label":h||void 0,disabled:A.isDisabled,"data-testid":o?`${o}-decrement-button`:void 0,children:e.jsx(ei,{value:m,children:(null==t?void 0:t.decrementButton)?ny(p,t.decrementButton,n,y,o):iy(p,y,o)})}):null,l?e.jsx("input",{type:"text",className:null==t?void 0:t.input,style:Object.assign(Object.assign({},j),{cursor:j.isDisabled?"not-allowed":"auto",caretColor:j.isDisabled?"transparent":"auto",pointerEvents:"auto",outline:"none"}),value:S,onChange:M,"aria-label":r||void 0,tabIndex:E,disabled:j.isDisabled,"data-testid":o?`${o}-input`:void 0}):e.jsx("p",{className:null==t?void 0:t.input,style:I,"data-testid":o?`${o}-quantity-text`:void 0,children:S}),u?e.jsx("button",{className:null==t?void 0:t.incrementButton,style:Object.assign(Object.assign({},T.styles),{cursor:T.isDisabled?"not-allowed":"pointer",pointerEvents:"auto"}),onClick:e=>{e.preventDefault(),O(S+1)},tabIndex:T.tabIndex,"aria-label":f||void 0,disabled:T.isDisabled,"data-testid":o?`${o}-increment-button`:void 0,children:e.jsx(ei,{value:m,children:(null==t?void 0:t.incrementButton)?ny(u,t.incrementButton,n,y,o):iy(u,y,o)})}):null]})})})}const oy={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(fC,{schema:t.node,testId:n})},EscapeHatch:function(t,n){if("EscapeHatch"===t.type&&t.node.data){const i=JSON.parse(t.node.data);switch(null==i?void 0:i.type){case"InsuranceRichText":return e.jsx(xC,{schema:i.node});case"CatalogUrlLink":return e.jsx(SC,{schema:i.node});case"CatalogPartnerEventButton":return e.jsx(TC,{schema:i.node});case"ReadMoreText":return e.jsx(qC,{schema:i.node});case"ReadMoreTextContainer":return e.jsx(JC,{schema:i.node});case"WhenCatalogQuantity":return e.jsx(RC,{schema:i.node,testId:n});case"ScrollToTarget":return e.jsx(HC,{schema:i.node,testId:n});case"Tooltip":return e.jsx(PC,{schema:i.node,testId:n});case"MappedIcon":return e.jsx(ty,{schema:i.node,testId:n});default:return}}},CatalogRadioGroup:function(t){if("CatalogRadioGroup"===t.type)return e.jsx(dC,{schema:t.node})},CatalogQuantityCounter:function(t){if("CatalogQuantityCounter"===t.type)return e.jsx(ay,{schema:t.node})}};function ry(){const t=ki(),n=wn();return e.jsx(Sn,{value:n,overrides:oy,children:e.jsx(Dn,{children:e=>e(t)})})}function sy(e){return e.reduce(((e,t)=>(e[t.cartItemId]=function(e={}){return Object.assign({cartItemId:"cartItemId",catalogItemId:"catalogItemId",name:"Catalog Title",description:"This is a catalog item",unitPrice:10,totalPrice:10,quantity:1,currency:"USD",linkedProductId:void 0,quantityMustBeSynchronized:void 0,providerData:""},e)}({cartItemId:t.cartItemId,quantity:t.quantity}),e)),{})}const ly={cart:function(e=sy([]),t){if(t.type===tC){const{catalogItem:n,quantity:i}=t.payload,a=n.cartItemId,o=Ol(n,i);return Object.assign(Object.assign({},e),{[a]:o})}return e},userCreativeResponseHistory:function(e=[],t){return t.type===iC?e.concat(t.payload.responseId):e},staticData:mv,childLayouts:yv};const cy="INVALID_PARTNER_MESSAGE",dy="MISCONFIGURED_CATALOG_ITEM";function*uy(e){var t,n;const i=yield r.select(ZC),a=yield r.select(GC),o=yield r.select((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.maxTotalItemsQtyInOffer}));if(Cy(a)&&Cy(o)&&a>o)yield r.call(e,{level:K,code:dy,message:`Catalog items preselected quantities (${a}) exceeds the maximum allowed quantity (${o}) for this offer`});else if(i&&Array.isArray(i))for(const a of i){const i=null!==(t=a.preSelectedQuantity)&&void 0!==t?t:0,o=null!==(n=a.maxItemCount)&&void 0!==n?n:1/0;i>o?yield r.call(e,{level:K,code:dy,message:`Preselected quantity (${i}) is greater than maxItemCount (${o}) for catalog item (${a.instanceGuid})`}):yield*vy(a,i,!0)}}function*py(e,t,n){const{catalogItem:i,quantity:a}=n.payload;if(yield*vy(i,a,!1)){const n=yield r.select((e=>{var t,n,i;const a=null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.responseOptionsMap.positive,o=e.userCreativeResponseHistory.at(-1),r=null===(n=e.staticData)||void 0===n?void 0:n.offer.creative.responseOptionsMap.negative;if(a&&o&&a.id===o&&"SignalGatedResponse"===(null==r?void 0:r.signalType))return function(e,t){var n;switch(e.action){case"Fulfillment":{const i=null==t?void 0:t.creative.fulfillment;return x(i)?{type:le,payload:{fulfillment:i,responseOption:e,accountID:null!==(n=null==t?void 0:t.accountId)&&void 0!==n?n:""}}:`Could not get fulfillment for response (instanceGuid: ${e.instanceGuid})`}case"Url":return(null==t?void 0:t.accountId)?{type:le,payload:Object.assign(Object.assign({},e),{accountID:t.accountId})}:`Could not get accountId for response (instanceGuid: ${e.instanceGuid})`;default:return{type:le,payload:e}}}(r,null===(i=e.staticData)||void 0===i?void 0:i.offer)}));null!=(o=n)&&"object"==typeof o&&"type"in o&&"payload"in o&&"object"==typeof o.payload?yield r.call(e.globalDispatch,n):function(e){return"string"==typeof e}(n)&&(yield r.call(t,{level:K,code:"INVALID_RESPONSE_OBJECT",message:n}))}var o}function*fy(e,t){const n=function(e,t){return s.eventChannel((n=>{const i=e.onEvent({name:ic.V2.PartnerMessage.UpdateCartItem,source:"partner",callback:e=>{V(e)?n(e):t({level:K,code:cy,message:`Invalid UpdateCartItemPartnerMessageBody: ${JSON.stringify(e)}`})}});return()=>{i()}}))}(e,t);try{for(;;){const e=yield r.take(n);yield r.call(hy,e)}}catch(e){const n=e;t({level:K,code:k,message:null==n?void 0:n.message})}finally{(yield r.cancelled())&&n.close()}}function*hy(e){const{cartItemId:t,quantity:n}=e,i=yield r.select($C,t);var a;null!==(a=i)&&"object"==typeof a&&"catalogItemId"in a&&"price"in a&&(yield*vy(i,n,!1))}function*vy(e,t,n){var i;const a=yield r.select(MC,e.cartItemId),o=yield r.select(kC,e),s=Cy(o)?o:0,l=yy(a)?a.quantity:0;if(t!==l&&t>=(null!==(i=e.minItemCount)&&void 0!==i?i:0)&&t-l<=s){yield r.put({type:tC,payload:{catalogItem:e,quantity:t}});const i=yield r.select(MC,e.cartItemId);!yy(i)&&yy(a)&&(a.quantity=0,a.totalPrice=0);const o=yield r.select(UC);yield r.put({type:je,payload:{cart:o}}),yield r.put({type:Ce,payload:{name:"SignalCartItemQuantitySelected",parentGuid:e.instanceGuid,objectData:{quantity:t,preselected:n}}}),yield r.put({type:Le,payload:{name:"V2_CART_ITEM_UPDATED",body:{oldCartItem:a,cartItem:i}}}),yield r.put({type:Le,payload:{name:"UPDATE_CART_ITEM_MESSAGE",body:{oldCartItem:a,cartItem:i}}});return(yield r.select(BC,e.catalogItemId))&&(yield r.put({type:Oe,payload:{cartItemId:e.cartItemId}})),!0}return!1}function Cy(e){return"number"==typeof e}function yy(e){return null!=e&&"object"==typeof e&&"cartItemId"in e&&"quantity"in e&&"unitPrice"in e}function*my(){const e=yield r.select(jC);for(const t of e){if(yield r.select(BC,t.catalogItemId)){const e=yield r.select(FC,t.catalogItemId);e&&(yield r.put({type:tC,payload:{catalogItem:e,quantity:0}}))}}const t=yield r.select(UC);yield r.put({type:je,payload:{cart:t}})}function*gy(e){const t=function(e){return s.eventChannel((t=>{const n=e.onEvent({name:"CART_ITEM_SUCCESS",source:"partner",callback:e=>{t(e)}},{name:"CART_ITEM_FAILURE",source:"partner",callback:e=>{t(e)}});return()=>{n()}}))}(e);try{for(;;){(yield r.take(t)).success||(yield r.call(my))}}finally{(yield r.cancelled())&&t.close()}}function*by(e,t){var n;yield r.put({type:iC,payload:{responseId:(n=t.payload,ce(n)?n.responseOption.id:n.id)}}),yield r.call(e.globalDispatch.bind(e),t)}function*Ey(e,t){yield r.all([r.spawn(uy.bind(null,t)),r.spawn(fy.bind(null,e,t)),r.spawn(gy.bind(null,e)),r.takeLatest(nC,py.bind(null,e,t)),r.takeLatest(le,by.bind(null,e)),r.takeEvery(Me,Tv.bind(null,e,t)),r.takeEvery(He,Ml.bind(null,e,void 0)),r.takeEvery("*",jl.bind(null,[le,Me,He],e))])}function Iy(e){return"object"==typeof e&&null!==e&&"cartItemId"in e&&"quantity"in e}Object.assign(Object.assign({},Be),{CATALOG_ITEM_RESPONSE:nC});const xy=(new Ai).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=function(e){return"object"==typeof e&&null!==e&&"cart"in e&&Array.isArray(e.cart)&&e.cart.every(Iy)}(a.offerState)?a.offerState:{cart:[]},d=function(e={}){return Object.assign({cart:sy([]),userCreativeResponseHistory:[],staticData:null,childLayouts:{launched:{}}},e)}({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion},cart:sy(c.cart)}),u=function(e,t,n){const i=s(),a=l.configureStore({reducer:ly,devTools:{name:"Add To Cart"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(Ey,e,t),a}(a.gateway,a.logger,d);r.render(e.jsx(t.StrictMode,{children:e.jsxs(Bi,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Ar,{}),e.jsx(i.Provider,{store:u,children:e.jsx(Dr,{settings:a,dispatch:u.dispatch,children:e.jsx(ry,{})})})]})}))}}));var Ly=Object.freeze({__proto__:null,moduleConnectorBuilder:xy});const Dy="CATALOG/TRIGGER_SELECT_ITEM",wy="CATALOG/SET_SELECTED_ITEM",Sy="CHECKOUT_LIFECYCLE",Ay="INSTANT_PURCHASE/INITIATE",Ty="INSTANT_PURCHASE/PARTNER_RESPONSE",jy="INSTANT_PURCHASE/UPSELL_ITEM_PARTNER_RESPONSE",My="INSTANT_PURCHASE/WSDK_RESPONSE",Oy="INSTANT_PURCHASE/SET_OFFER_LIFECYCLE_EVENT",ky="INSTANT_PURCHASE/PUSH_TAX_AND_SHIPPING",Vy="INSTANT_PURCHASE/MARK_TAX_AND_SHIPPING_PENDING",Ry="INSTANT_PURCHASE/SET_ACTIVE_TAX_AND_SHIPPING_KEY",Hy="INSTANT_PURCHASE/INITIATE_TAX_AND_SHIPPING",_y="INSTANT_PURCHASE/SET_PURCHASE_ID",Py="DEVICE_PAY/INITIATE",Ny="DEVICE_PAY/RESPONSE",Fy="DEVICE_PAY/AVAILABLE",$y="PAYPAL/INITIATE",Zy="PAYPAL/CONFIRM",Gy="PAYPAL/TRANSACTION_DETAILS_READY",By="PAYPAL/SET_PURCHASE_CONTEXT",Uy="DEVICE_PAY/REQUEST_CONSUMED";function zy(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:qy(t,a,o)})}function qy(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}function Ky(n){const a=n.schema.validatorTriggerConfig,o=i.useDispatch(),r=wn(),s=Ri(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=qi(),p=Yn(u,"catalogItem"),f=aa(),h=ge(n.schema.requestKey)?n.schema.requestKey:void 0,v=xn(0,(e=>{var t;return h&&null!==(t=e.customStates[h])&&void 0!==t?t:null})),C=i.useSelector((e=>{var t,n,i,a;return null!==(a=null!==(t=e.selectedItem)&&void 0!==t?t:null===(i=null===(n=e.staticData)||void 0===n?void 0:n.offer.catalogItems)||void 0===i?void 0:i[0])&&void 0!==a?a:null})),y=null===C||C.instanceGuid===u.instanceGuid&&C.catalogItemId===u.catalogItemId,m=t.useRef(!1),g="requestKey"in n.schema;function E(){let e=!0;if(a&&(e=f.validateFieldKeys(a.validatorFieldKeys)),e){o({type:Ay,payload:{catalogItem:u,quantity:1}})}else o({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:"CatalogResponseButton",parentGuid:u.instanceGuid}})}const I=t.useRef(E);return I.current=E,t.useEffect((()=>{h&&(1===v?y&&!m.current&&(m.current=!0,o({type:be,payload:{key:h,value:0}}),d||I.current()):m.current=!1)}),[o,d,y,h,v]),g?null:e.jsx(qa,{styles:n.schema.styles,children:({classnames:t,mapperRef:i})=>e.jsx("button",{type:"button",tabIndex:l,"aria-disabled":d,disabled:d,style:Object.assign({cursor:"pointer"},c),"data-testid":n.testId,"data-e2e":"CatalogItemResponse",onClick:e=>{e.preventDefault(),E()},className:null==t?void 0:t.own,children:e.jsx(ei,{value:p,children:(null==t?void 0:t.own)?zy(n.schema.children,t.own,i,r,n.testId):qy(n.schema.children,r,n.testId)})})})}const Wy=["ArrowDown","ArrowUp","Enter","Escape","Tab"];function Yy(n){const a=n.schema.validatorFieldConfig,o=n.schema.disableProgrammaticFocus||!1,r=On(),s=wn(),l=t.useMemo((()=>r.catalogItems||[]),[r]),c=Ri(),{styles:d,isDisabled:u}=b(c),p=t.useRef(null),f=t.useRef([]),[h,v]=t.useState(!1),[y,m]=t.useState(-1),g=i.useDispatch(),E=aa(),I=i.useSelector((e=>e.selectedItem)),x=t.useRef(I),[L,D]=t.useState(I?l.indexOf(I):-1);function w(){return!!x.current}const S=t.useMemo((()=>ra({required:w},a)),[a]);function A(t,i,a,o){return t?function(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:a(t,void 0,o)})}(i,t,a,s,o||n.testId):function(e,t,n){return t(e,void 0,n)}(i,s,o||n.testId)}function T(){return!a||E.getFieldKeyValidity(a.validationFieldKey)}function j(){u||(h?O():M())}function M(){u||v(!0)}function O(){u||v(!1)}function k(e,t){var n;V(e)||(m(l.indexOf(e)),O(),g({type:Dy,payload:{catalogItem:e}}),g({type:Ce,payload:{name:"SignalUserInteraction",action:"DropDownItemSelected",context:"CatalogDropDown",parentGuid:e.instanceGuid}}),x.current=e,a&&a.validateOnChange&&E.validateFieldKeys([a.validationFieldKey]),D(t),null===(n=p.current)||void 0===n||n.focus())}function V(e){return(e.inventoryStatus||C.Unknown)===C.OutOfStock}function R(e){const t=[null==e?void 0:e.dropDownSelectedElement];return T()||t.push((null==e?void 0:e.dropDownContainerErrorStyles)||""),t.join(" ")}oa(null==a?void 0:a.validationFieldKey,S),t.useEffect((()=>{var e;if(!o)if(h)if(-1===L)null===(e=p.current)||void 0===e||e.focus();else{const e=f.current[L];e&&e.focus()}else m(L)}),[h,o,L]),t.useEffect((()=>{var e;null===(e=f.current[y])||void 0===e||e.focus()}),[y]);const H={elements:{own:[{default:{background:{backgroundColor:{light:"#ffffff"}},dimension:{width:{type:"percentage",value:100}}}}]}};function _(e){var t;if(!u&&Wy.includes(e.key))switch(e.key){case"ArrowDown":{e.preventDefault();const t=y+1;t<l.length&&m(t);break}case"ArrowUp":{e.preventDefault();const t=y-1;t>=0&&m(t);break}case"Enter":if(e.preventDefault(),h){const e=l[y];if(void 0===e)return;k(e,y)}else M();break;case"Tab":h&&O();break;case"Escape":e.preventDefault(),h&&(O(),null===(t=p.current)||void 0===t||t.focus())}}let P=null;return I&&(P=Yn(I,"catalogItem")),l.length>1?e.jsx(qa,{styles:n.schema.styles?ae(H,n.schema.styles):H,children:({classnames:t,mapperRef:i})=>e.jsxs("div",{className:null==t?void 0:t.dropDownContainer,children:[e.jsxs("div",{ref:p,className:null==t?void 0:t.own,onKeyDown:_,onClick:j,onBlur:e=>{var t;(null===(t=p.current)||void 0===t?void 0:t.contains(e.relatedTarget))||h&&O()},"data-e2e":"DropDown","data-testid":n.testId?`${n.testId}-drop-down-container`:void 0,"aria-disabled":u,style:Object.assign({position:"relative"},d),tabIndex:0,children:[e.jsx("div",{className:R(t),"aria-disabled":u,"data-testid":n.testId?`${n.testId}-drop-down-selected-element`:void 0,style:Object.assign({cursor:"pointer"},d),title:P?P(n.schema.closedTemplateTitle||""):"",children:I&&P?e.jsx(ei,{value:P,children:A(null==t?void 0:t.dropDownSelectedElement,n.schema.closedTemplate,i)}):A(null==t?void 0:t.dropDownSelectedElement,n.schema.closedDefaultTemplate,i)}),h&&e.jsx("ul",{className:null==t?void 0:t.dropDownListContainer,onClick:e=>e.stopPropagation(),"data-testid":n.testId?`${n.testId}-drop-down-list-container`:void 0,tabIndex:-1,style:Object.assign({listStyle:"none",padding:0,zIndex:9999,position:"absolute",top:"100%",left:0,right:0,overflowX:"hidden",overflowY:"auto"},d),children:l.map(((a,o)=>{const r=Yn(Object.assign(Object.assign({},a),{isSelected:o===L}),"catalogItem");return e.jsx("li",{ref:e=>function(e,t){f.current[t]=e}(e,o),className:null==t?void 0:t.dropDownListElement,onClick:e=>{e.stopPropagation(),u||k(a,o)},tabIndex:-1,"data-e2e":"DropDownItem","data-testid":n.testId?`${n.testId}-drop-down-item-${o}`:void 0,"aria-disabled":V(a),style:Object.assign({cursor:V(a)?"not-allowed":"pointer",display:"flex",opacity:V(a)?.5:1},d),title:r(n.schema.openTemplateTitle||""),children:e.jsx(ei,{value:r,children:A(null==t?void 0:t.dropDownSelectedElement,n.schema.openTemplate,i)})},a.catalogItemId)}))})]}),!T()&&n.schema.requiredSelectionErrorTemplate?A(null==t?void 0:t.errorContentContainerStyles,n.schema.requiredSelectionErrorTemplate,i,"dropdown-required-selection-error"):null]})}):null}function Jy(n){const a=n.schema.styles,o=i.useDispatch(),r=i.useSelector((e=>e.staticData)),s=Ri(),{tabIndex:l,styles:c,isDisabled:d}=b(s),u=t.useContext(na),p=()=>{var e;const{validatorTriggerConfig:t}=n.schema;if(u&&t){if(!u.validateFieldKeys(t.validatorFieldKeys))return}o({type:Ce,payload:{name:"SignalUserInteraction",action:"CheckoutStepChanged",context:n.schema.targetStep,parentGuid:null==r?void 0:r.offer.creative.instanceGuid}}),o({type:Sy,payload:{event:"Checkout",targetStep:n.schema.targetStep,offerPositionIndex:null!==(e=null==r?void 0:r.position)&&void 0!==e?e:0,data:n.schema.data}})};return e.jsx(qa,{styles:a,children:({classnames:i})=>{var a;return e.jsx("button",{title:n.schema.targetStep,className:null==i?void 0:i.own,onClick:p,"data-testid":n.testId,"data-e2e":"CheckoutStateButtonTrigger",disabled:d,"aria-disabled":d,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:n.schema.targetStep,tabIndex:l,style:Object.assign({cursor:"pointer"},c),children:e.jsx(Dn,{children:e=>t.Children.toArray(n.schema.children.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})}})}const Xy=/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{3})$/;function Qy(t){const n=ti(),i=Ri(),{schema:a,testId:o}=t,r=n(a.value),{tabIndex:s,styles:l,isDisabled:c}=b(i);return"string"==typeof(d=r)&&Xy.test(d)?e.jsx(qa,{styles:a.styles,children:({classnames:t})=>e.jsx("div",{"aria-hidden":c,className:null==t?void 0:t.own,"data-e2e":"ColorSwatch","data-testid":o,style:Object.assign({backgroundColor:r},l),tabIndex:s})}):null;var d}function em(e){return{name:e,styles:{elements:{own:[{default:{text:{fontSize:28},border:{borderColor:{light:"#131317"},borderRadius:50,borderStyle:"solid",borderWidth:"2"},spacing:{padding:"4"}}}]}}}}const tm=em("ChevronLeft"),nm=em("ChevronRight"),im={backgroundColor:"#9197A7",borderRadius:12,height:"12px",width:"12px"},am={backgroundColor:"#9197A7",borderRadius:9,height:"9px",width:"9px",margin:"0px 1.5px"},om={backgroundColor:"#000000ff",borderRadius:12,height:"12px",width:"12px"},rm={backgroundColor:"#00000000",borderRadius:22,height:"22px",width:92,gap:8};function sm(n){const{schema:a,testId:o}=n,r=a.scrollGradientLength||36,s=a.navigationStrategy||"thumbnailList",l=a.mainImageMinWidth,c=a.mainImageMaxWidth,d=a.mainImageMinHeight,u=a.mainImageMaxHeight,p=i.useDispatch(),f=qi(),h=t.useMemo((()=>Object.values(f.images||{})),[f]),v=h.length>1?1:0,C=t.useMemo((()=>v?[h.at(-1),...h,h.at(0)].filter((e=>void 0!==e)):h),[h,v]),[y,m]=t.useState({left:r,right:r}),[g,E]=t.useState(v),I=t.useRef(g),x=t.useRef([]),[L,D]=t.useState(0),w=t.useRef(L),S=t.useRef(null),A=t.useRef([]),[T,j]=t.useState(!1),[M,O]=t.useState(!1),[k,V]=t.useState(null),R=t.useRef(null),[H,_]=t.useState(!1),[P,N]=t.useState(!0),F=t.useRef(null),$=t.useCallback((()=>{const e=x.current[I.current],t=R.current;if(!e||!t)return;const n=e.querySelector("img");if(!n)return;const i=t.getBoundingClientRect(),a=n.getBoundingClientRect();0!==a.width&&0!==a.height&&V({top:a.top-i.top,left:a.left-i.left,width:a.width,height:a.height})}),[]),Z=Ri(),{styles:G,isDisabled:B,tabIndex:U}=b(Z),z=t.useRef(null),q=t.useRef(null),K=t.useRef(null),W=t.useRef({startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}),Y=t.useCallback((e=>{if(null===e)return;const{scrollLeft:t,scrollWidth:n,clientWidth:i}=e,a=n-i-t;m({left:t<r?t:r,right:a<r?a:r})}),[r]),J=t.useCallback((()=>{const e=S.current;e&&"thumbnailList"===s&&j(e.scrollWidth>e.clientWidth)}),[s]);function X(e,t){A.current[t]=e}function Q(e,t,n="smooth"){if(!e||!t)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect(),o=a.left+a.width/2,r=i.left+t.clientWidth/2,s=t.scrollLeft+(o-r),l=t.scrollWidth-t.clientWidth;t.scrollTo({left:Math.max(0,Math.min(l,s)),behavior:n})}t.useEffect((()=>{ae(v),oe(0),"thumbnailList"===s?(Q(A.current[0]||null,S.current,"instant"),Y(S.current),J()):W.current={startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}}),[f.catalogItemId,v,s,h,Y,J]),t.useEffect((()=>{const e=R.current;if(!e)return;const t=new ResizeObserver($);return t.observe(e),()=>t.disconnect()}),[$]),t.useEffect((()=>{function e(e){const t=S.current;t&&0!==e.deltaY&&(e.preventDefault(),t.scrollLeft+=e.deltaY)}const t=new ResizeObserver((()=>{J(),Y(n)})),n=S.current;if(n)return Y(n),t.observe(n),"thumbnailList"===s&&n.addEventListener("wheel",e,{passive:!1}),()=>{t.disconnect(),"thumbnailList"===s&&n.removeEventListener("wheel",e)}}),[]);const ee={display:"flex",position:"absolute",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",cursor:B?"not-allowed":"pointer",pointerEvents:"auto",zIndex:1};function te(e){p({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogImageGallery",parentGuid:f.instanceGuid}})}function ne(){null!==F.current?(N(!1),ae(F.current),F.current=null,requestAnimationFrame((()=>{requestAnimationFrame((()=>{N(!0),$()}))}))):$(),O(!1)}function ie(e,t){if(M)return;te(t);const n=g+e,i=L+e;let a=n,o=i;0===n?(a=C.length-2,o=h.length-1):n===C.length-1&&(a=1,o=0),O(!0),"paginationIndicator"===s&&function(e,t,n){if(t===e){const e=n>0&&W.current.stopIndex<h.length-1,t=n<0&&W.current.startIndex>0;(e||t)&&2===W.current.activeIndex?(W.current.startIndex+=n,W.current.stopIndex+=n):W.current.activeIndex+=n}else W.current=0===t?{startIndex:0,stopIndex:Math.min(4,h.length-1),activeIndex:0}:{startIndex:Math.max(0,h.length-5),stopIndex:h.length-1,activeIndex:4}}(i,o,e),n!==a&&(F.current=a),ae(n),Q(A.current[o]||null,S.current,"smooth"),oe(o)}function ae(e){E(e),I.current=e}function oe(e){D(e),w.current=e}function re(){z.current=null,q.current=null,K.current=null}function se(e){"paginationIndicator"===s&&null===z.current&&(z.current=e.pointerId,q.current=e.clientX,K.current=e.clientY)}function le(e){if(null===z.current||null===q.current||null===K.current)return;const t=Math.abs(e.clientX-q.current),n=Math.abs(e.clientY-K.current);t<10&&n<10||t<n&&re()}function ce(e){if(null===z.current||null===q.current)return;const t=q.current-e.clientX;Math.abs(t)>30&&(t<0?ie(-1,"MainImageSwipeRight"):ie(1,"MainImageSwipeLeft")),re()}function de(t){return H&&1===v?e.jsxs(e.Fragment,{children:[e.jsx("button",{style:Object.assign(Object.assign({},ee),{left:"5%"}),className:null==t?void 0:t.scrollIconButton,onClick:()=>ie(-1,"MainImageScrollIconLeftClick"),"data-testid":"main-image-scroll-left-button",children:e.jsx(po,{schema:a.leftScrollIconTemplate||tm})}),e.jsx("button",{style:Object.assign(Object.assign({},ee),{right:"5%"}),className:null==t?void 0:t.scrollIconButton,onClick:()=>ie(1,"MainImageScrollIconRightClick"),"data-testid":"main-image-scroll-right-button",children:e.jsx(po,{schema:a.rightScrollIconTemplate||nm})})]}):null}function ue(n){return 1===v?e.jsx("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"95%",left:"50%",transform:"translateX(-50%) translateY(-95%)",zIndex:1,pointerEvents:"none"},children:e.jsx("div",{ref:S,className:null==n?void 0:n.paginationIndicatorContainer,style:Object.assign({display:"flex",flexWrap:"nowrap",flexDirection:"row",alignItems:"center",justifyContent:"center",overflow:"auto",scrollbarWidth:"none"},(null==n?void 0:n.paginationIndicatorContainer)?{}:rm),"data-testid":`${o}-pagination-indicator-container`,children:t.Children.toArray(h.map(((t,i)=>{const a=function(e,t){return e===L?{className:null==t?void 0:t.paginationActiveIndicator,defaultStyles:(null==t?void 0:t.paginationActiveIndicator)?{}:om}:e!==W.current.startIndex&&e!==W.current.stopIndex||0===e||e===h.length-1?{className:null==t?void 0:t.paginationIndicator,defaultStyles:(null==t?void 0:t.paginationIndicator)?{}:im}:{className:null==t?void 0:t.paginationMinimizedIndicator,defaultStyles:(null==t?void 0:t.paginationMinimizedIndicator)?{}:am}}(i,n);return e.jsx("div",{style:{display:"flex"},ref:e=>X(e,i),"data-testid":`${o}-pagination-indicator-wrapper-${i}`,children:e.jsx("span",{className:a.className,style:a.defaultStyles,"data-testid":`${o}-pagination-indicator-${i}`},`${o}-pagination-indicator-${i}`)})})))})}):null}function pe(n){return"thumbnailList"===s?e.jsx("div",{ref:S,onScroll:e=>Y(e.currentTarget),className:null==n?void 0:n.thumbnailList,style:Object.assign(Object.assign({},G),{display:"flex",overflow:"auto",justifyContent:T?"flex-start":"center",scrollbarWidth:"none",scrollBehavior:"smooth",maskImage:T?`linear-gradient(to right, transparent 0, black ${y.left}px, black calc(100% - ${y.right}px), transparent 100%)`:void 0}),children:t.Children.toArray(h.map(((t,i)=>e.jsx("div",{style:{flexShrink:0,aspectRatio:a.thumbnailAspectRatio||a.imageAspectRatio||"1 / 1",overflow:"hidden"},children:e.jsx("img",{ref:e=>X(e,i),src:t.light,alt:t.alt,title:t.title,className:i===L?null==n?void 0:n.selectedThumbnailImage:null==n?void 0:n.thumbnailImage,loading:"lazy",style:Object.assign(Object.assign({},G),{cursor:B?"not-allowed":"pointer",pointerEvents:"auto",objectFit:"cover"}),"data-testid":`${o}-thumbnail-${i}`,"data-e2e":"CatalogImageGallery-thumbnail",tabIndex:U,onClick:()=>function(e){if(M)return;const t=v?e+1:e;t!==g&&(te("ThumbnailClick"),O(!0),oe(e),ae(t),Q(A.current[e]||null,S.current,"smooth"))}(i)})}))))}):null}return h.length>0?e.jsx(qa,{styles:a.styles,children:({classnames:n})=>e.jsx("div",{className:null==n?void 0:n.own,style:{minWidth:0},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%"},children:[e.jsxs("div",{onMouseOver:()=>_(!0),onMouseOut:()=>_(!1),onPointerDown:se,onPointerMove:le,onPointerUp:ce,onPointerCancel:re,onLostPointerCapture:re,ref:R,style:{position:"relative",touchAction:"pan-y",width:"100%",aspectRatio:a.imageAspectRatio||"1 / 1",overflow:"hidden",minWidth:l,maxWidth:c,minHeight:d,maxHeight:u},"data-testid":`${o}-main-image-container`,children:[e.jsx("div",{style:{display:"flex",width:100*C.length+"%",height:"100%",transform:`translateX(calc(-${g} / ${C.length} * 100%))`,transition:P?"transform 0.35s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"transform"},onTransitionEnd:ne,children:t.Children.toArray(C.map(((t,i)=>e.jsx("div",{ref:e=>function(e,t){x.current[t]=e}(e,i),style:{display:"flex",alignItems:"center",justifyContent:"center",width:100/C.length+"%",overflow:"hidden"},children:e.jsx("img",{src:t.light,alt:t.alt,title:t.title,className:null==n?void 0:n.mainImage,loading:"lazy",onLoad:$,style:Object.assign(Object.assign({},G),{maxWidth:"100%",maxHeight:"100%",width:"auto",height:"auto",display:"block"}),"data-testid":`${o}-main-image-${i}`,"data-e2e":"CatalogImageGallery-mainImage"})},`${t.light}-${i}`))))}),k&&"thumbnailList"===s&&e.jsx("div",{style:{position:"absolute",top:k.top,left:k.left,width:k.width,height:k.height,pointerEvents:"none",zIndex:1},children:de(n)}),"paginationIndicator"===s&&ue(n)]}),e.jsx("div",{style:{width:"100%",maxWidth:null==k?void 0:k.width},children:pe(n)})]})})}):null}const lm={size:48,radius:18,stroke:4,duration:.6,primaryColor:"#5F5F5F",secondaryColor:"#CFCFCF",primaryRotation:-50,secondaryRotation:45,arcFraction:1/3.5,mode:"segmented"},cm={elements:{own:[{default:{container:{justifyContent:"center",alignItems:"center"},dimension:{width:{type:"percentage",value:100}}}}],spinner:[{default:{container:{justifyContent:"center",alignItems:"center"}}}]}};function dm(t){const{config:n}=t.schema,i=Object.assign(Object.assign({},lm),n),a=i.radius,o=i.size/2,r="segmented"!==i.mode?(()=>{var e;const t=2*Math.PI*a,n=t*(null!==(e=i.arcFraction)&&void 0!==e?e:1/3.5);return{arc:n,gap:t-n}})():null,s={container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%"},spinner:{display:"block",animation:"segmented"===i.mode?`spinner-rotate ${i.duration}s linear infinite`:`spin ${i.duration}s ease-in-out infinite`,transformOrigin:"segmented"===i.mode?`${o}px ${o}px`:"center center"}};return e.jsx(qa,{styles:t.schema.styles?ae(cm,t.schema.styles):cm,children:({classnames:n})=>e.jsxs("div",{className:null==n?void 0:n.own,"data-testid":t.testId,"data-e2e":"LoadingSpinner",style:s.container,children:[e.jsx("svg",{width:i.size,height:i.size,viewBox:`0 0 ${i.size} ${i.size}`,role:"img","aria-label":"Loading","data-testid":`${t.testId}-loading-spinner-svg`,children:"segmented"===i.mode?e.jsxs("g",{className:null==n?void 0:n.spinner,style:s.spinner,"data-testid":`${t.testId}-segmented-svg-group`,children:[e.jsx("path",{d:`M ${o} ${o-a} A ${a} ${a} 0 0 1 ${o+a} ${o}`,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),e.jsx("path",{d:`M ${o+a} ${o} A ${a} ${a} 0 0 1 ${o} ${o+a}`,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),i.secondaryColor&&e.jsxs(e.Fragment,{children:[e.jsx("path",{d:`M ${o} ${o+a} A ${a} ${a} 0 0 1 ${o-a} ${o}`,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"}),e.jsx("path",{d:`M ${o-a} ${o} A ${a} ${a} 0 0 1 ${o} ${o-a}`,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeLinecap:"butt"})]})]}):e.jsxs("g",{className:null==n?void 0:n.spinner,style:s.spinner,"data-testid":`${t.testId}-dashed-svg-group`,children:[e.jsx("circle",{cx:o,cy:o,r:a,fill:"none",stroke:i.primaryColor,strokeWidth:i.stroke,strokeDasharray:`${null==r?void 0:r.arc} ${null==r?void 0:r.gap}`,strokeDashoffset:"0",strokeLinecap:"butt",transform:`rotate(${i.primaryRotation} ${o} ${o})`}),i.secondaryColor&&e.jsx("circle",{cx:o,cy:o,r:a,fill:"none",stroke:i.secondaryColor,strokeWidth:i.stroke,strokeDasharray:`${null==r?void 0:r.arc} ${null==r?void 0:r.gap}`,strokeDashoffset:"0",strokeLinecap:"butt",transform:`rotate(${i.secondaryRotation} ${o} ${o})`})]})}),e.jsx("style",{children:"\n /* Animation for dashed circle mode */\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n \n /* Animation for segmented mode (default) */\n @keyframes spinner-rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n "})]})})}const um=new Map;function pm(n){const a=1e3*n.schema.durationInSeconds,o=n.schema.format||"M:SS",r=n.schema.key,s=n.testId,l=i.useDispatch(),[c,d]=t.useState(a),u=t.useRef(null),p=t.useRef(null),f=i.useSelector((e=>e.staticData));function h(){const e=Math.ceil(c/1e3);if("S"===o)return e;{const t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${String(n).padStart(2,"0")}`}}return t.useEffect((()=>(p.current=requestAnimationFrame((function e(t){u.current||(u.current=function(e,t){const n=um.get(e);return void 0!==n?n:(um.set(e,t),t)}(r,t));const n=t-u.current,i=Math.max(a-n,0);d(i),i>0?p.current=requestAnimationFrame(e):(f&&l({type:Ce,payload:{name:"SignalDismissal",parentGuid:f.offer.creative.instanceGuid,dismissalMethod:"OfferLifecycleTimer"}}),l({type:ye,payload:{event:"Dismissed",dismissalReason:"Implicit"}}))})),()=>{p.current&&cancelAnimationFrame(p.current)})),[a,l,f,r]),e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>n.isInline?e.jsx("span",{className:null==t?void 0:t.own,"data-testid":s||"","data-e2e":"OfferLifecycleTimer",children:h()}):e.jsx("p",{className:null==t?void 0:t.own,"data-testid":s||"","data-e2e":"OfferLifecycleTimer",children:h()})})}const fm={allowedTags:["em","strong","a","br","u","p","li","ul","ol","s","span","h1","h2","h3","h4","h5","h6","div","b"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[],h3:[],div:[],b:[]},allowedSchemes:["http","https"]},hm=new Map([["&","_;^;_"]]),vm=new RegExp(`<a *(?=${fm.allowedAttributes.a.join("|")}|>)`,"g"),Cm=new RegExp('<a [^>]*href="([^"]+)"',"g"),ym=new RegExp("(<br *?>)|(<br *?/>)","g"),mm="<br/>";function gm(n){const i=ti(),a=Ri(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Cm,((e,t)=>{const n=t.replaceAll("&",hm.get("&"));return e.replace(t,n)})).replaceAll(ym,mm)}(e);return t===u(t,fm)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e.trim()?e:""}),[n.schema.value,i]);function r(e){let t=o.replace(vm,`<a ${e.join(" ")}`);return n.schema.removePTagBaseStyles&&(t=o.replaceAll("<p",'<p style="margin: revert"')),t}const{tabIndex:s,styles:l,isDisabled:c}=b(a),{setRef:d,maskStyle:p}=st("vertical",lt(n.schema.styles));return o?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",c?'tabindex="-1"':"",c?"style=\"pointer-events: 'none'; user-select: none;\"":"",c?'aria-disabled="true"':""].filter((e=>e.length>0)),a=Object.assign(Object.assign({},l),p);return u=o,new RegExp("</(p|ul|ol)>").test(u)?e.jsx("div",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}}):n.isInline?e.jsx("span",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}}):e.jsx("p",{ref:d,tabIndex:s,style:a,"aria-hidden":c,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:r(i)}});var u}}):null}function bm(n){var a,o;const{schema:r}=n,[s,l]=t.useState(!1),[c,d]=t.useState(!1),[u,p]=t.useState(!1),[f,h]=t.useState(!1),[v,C]=t.useState(0),y=Ri(),m=i.useDispatch(),{tabIndex:g,isDisabled:E}=b(y),I=ti(),x=t.useRef(null),L=t.useRef(null),D=r.lineHeight*r.lineLimit,w=(null===(a=r.linearGradientConfig)||void 0===a?void 0:a.linearGradientHeight)||D-r.lineHeight,S=qi();function A(){const e=r.linearGradientConfig;return e?{background:`linear-gradient(to bottom, ${e.linearColorStart} ${w}px, ${e.linearColorStop||"transparent"})`,backgroundClip:"text",color:"transparent"}:{}}function T(){const e={overflow:"hidden",textOverflow:"clip"};return f?Object.assign(Object.assign(Object.assign({},e),s?{}:A()),{transition:"height 0.3s ease",height:s?`${v}px`:`${D}px`}):!s&&u?Object.assign(Object.assign(Object.assign(Object.assign({},e),r.linearGradientConfig?{}:{display:"-webkit-box",WebkitLineClamp:r.lineLimit,lineClamp:r.lineLimit,WebkitBoxOrient:"vertical"}),A()),r.linearGradientConfig?{height:`${D}px`}:{}):e}return t.useEffect((()=>{const e=x.current;if(!e)return;const t=()=>{p(e.scrollHeight>D),C(e.scrollHeight)};l(!1),d(!1),h(!1),p(!1),t();const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect(),L.current&&cancelAnimationFrame(L.current)}}),[null===(o=x.current)||void 0===o?void 0:o.innerText,D]),e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"aria-hidden":E,"data-testid":n.testId,"data-e2e":"ReadMoreTextContainer",className:null==t?void 0:t.own,children:[e.jsx("div",{ref:x,"data-testid":`${n.testId}-content-container`,className:null==t?void 0:t.contentContainer,style:T(),onTransitionEnd:()=>{L.current=requestAnimationFrame((()=>{h(!1),L.current=null})),d((e=>!e))},children:e.jsx(gm,{schema:{value:r.value,removePTagBaseStyles:!0}})}),u&&e.jsx("button",{onClick:()=>{m({type:Ce,payload:{name:"SignalUserInteraction",action:s?"CollapseReadMoreText":"ExpandReadMoreText",context:"ReadMoreTextContainer",parentGuid:S.instanceGuid}}),h(!0),L.current=requestAnimationFrame((()=>{l((e=>!e)),L.current=null}))},tabIndex:g,className:null==t?void 0:t.expansionButton,style:{background:"none",cursor:"pointer"},children:I(c?r.collapseLabel:r.expandLabel)})]})})}const Em="CustomStateValidationTriggerButton";function Im(n){var a;const o=i.useDispatch(),r=n.schema,s=r.validatorTriggerConfig,l=n.schema.styles,c=Ri(),{styles:d,isDisabled:u}=b(c),p=aa(),f=qi(),h=ti(),v=null!==(a=r.children)&&void 0!==a?a:[],C=r.requestKey?h(r.requestKey):void 0,y=function(e){return e&&0!==e?e:1}(r.requestValue),m=xn(0,(e=>{var t;return C&&null!==(t=e.customStates[C])&&void 0!==t?t:null})),g=t.useRef(!1),E=Boolean(C)&&0===v.length;function I(){let e=!0;s&&(e=p.validateFieldKeys(s.validatorFieldKeys)),e?(o({type:Ce,payload:{name:"SignalUserInteraction",action:"OfferProgression",context:Em,parentGuid:f.instanceGuid}}),o({type:be,payload:{key:r.customStateKey,value:r.customStateValue}})):o({type:Ce,payload:{name:"SignalUserInteraction",action:"ValidationTriggerFailed",context:Em,parentGuid:f.instanceGuid}})}return t.useEffect((()=>{C&&(m===y?g.current||(g.current=!0,o({type:be,payload:{key:C,value:0}}),I()):g.current=!1)}),[C,m,y,o]),e.jsx(qa,{styles:l,children:({classnames:i})=>{var a;return e.jsx("button",{className:null==i?void 0:i.own,onClick:I,"data-testid":n.testId,"data-e2e":"CustomStateValidationTriggerButton",disabled:u,"aria-disabled":u,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:"","aria-hidden":E||void 0,hidden:E,tabIndex:E?-1:void 0,style:Object.assign({cursor:"pointer"},d),children:e.jsx(Dn,{children:e=>t.Children.toArray(v.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})}})}function xm(n){var a;const o=n.schema.emitInstantPurchaseDismissalRdnEvent,r=i.useDispatch(),s=ti(),l=i.useSelector((e=>e.staticData)),c=i.useSelector((e=>e.offerLifecycleEvent)),d=Ri(),{tabIndex:u,styles:p,isDisabled:f}=b(d),h=null!==(a=n.schema.children)&&void 0!==a?a:[],v=n.schema.requestKey?s(n.schema.requestKey):void 0,C=function(e){return e&&0!==e?e:1}(n.schema.requestValue),y=xn(0,(e=>{var t;return v&&null!==(t=e.customStates[v])&&void 0!==t?t:null})),m=t.useRef(!1),g=Boolean(v)&&0===h.length;function E(){o?(r({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:(null==l?void 0:l.offer.creative.instanceGuid)||""}}),r({type:ye,payload:{event:"Dismissed",dismissalReason:"Explicit"}})):r({type:ye,payload:c})}return t.useEffect((()=>{v&&(y===C?m.current||(m.current=!0,r({type:be,payload:{key:v,value:0}}),E()):m.current=!1)}),[v,y,C,r]),e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>e.jsx("button",{className:null==i?void 0:i.own,onClick:E,"data-testid":n.testId,"data-e2e":"DismissInstantPurchaseButton",disabled:f,"aria-disabled":f,"aria-label":n.schema.a11yLabel||"","aria-hidden":g||void 0,hidden:g||void 0,tabIndex:g?-1:u,style:Object.assign({cursor:"pointer"},p),children:e.jsx(Dn,{children:e=>t.Children.toArray(h.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})})}function Lm(n){const[i,a]=t.useState(!0);return t.useEffect((()=>{if(n.schema.duration>0){const e=setTimeout((()=>a(!1)),n.schema.duration);return()=>clearTimeout(e)}}),[n.schema.duration]),i?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"Snackbar",children:n.schema.message})}):null}function Dm(n){var a,o;const{validatorFieldConfig:r,checkboxColor:s}=n.schema,l=null!==(a=n.schema.checkboxScale)&&void 0!==a?a:1,[c,d]=t.useState(null!==(o=n.schema.value)&&void 0!==o&&o),u=t.useRef(c),p=aa(),f=i.useDispatch(),h=qi();function v(){return u.current}const C=t.useMemo((()=>ra({required:v},r)),[r]);function y(){return!r||p.getFieldKeyValidity(r.validationFieldKey)}function m(e,t){const n=[e];return y()||n.push(t),n.join(" ")}function g(e){return m(null==e?void 0:e.checkbox,null==e?void 0:e.checkboxError)}function b(e){return m(null==e?void 0:e.label,null==e?void 0:e.labelError)}function E(i,a){return e.jsx(Dn,{children:e=>t.Children.toArray(i.map(((t,i)=>e(t,void 0,re(i,`${n.testId}-${a}`)))))})}return oa(null==r?void 0:r.validationFieldKey,C),e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>{return e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsxs("div",{className:(i=t,m(null==i?void 0:i.own,null==i?void 0:i.checkboxContainerError)),style:{display:"flex",gap:"8px",flexDirection:"row"},children:[e.jsx("input",{"data-testid":n.testId,className:g(t),type:"checkbox",checked:c,onChange:e=>{return t=e.target.checked,u.current=t,r&&r.validateOnChange&&p.validateFieldKeys([r.validationFieldKey]),f({type:Ce,payload:{name:"SignalUserInteraction",action:t?"CheckboxChecked":"CheckboxUnchecked",context:"Checkbox",parentGuid:h.instanceGuid}}),void d(t);var t},style:Object.assign(Object.assign({},s?{accentColor:s}:{}),{transform:`scale(${l})`})}),n.schema.labelTemplate&&e.jsx("div",{className:b(t),children:E(n.schema.labelTemplate,"label")})]}),!y()&&n.schema.errorContentTemplate&&e.jsx("div",{className:null==t?void 0:t.errorContent,children:E(n.schema.errorContentTemplate,"error-content")})]});var i}})}function wm(n){const{discountThreshold:i,styles:a,children:o}=n.schema,r=qi(),s=function(){if(0===r.originalPrice)return 0;const e=100*(1-r.price/r.originalPrice);return Math.abs(e-Math.round(e))<1e-9?Math.round(e):Math.floor(e)}(),l=ti(),c=(d={label:String(s)},l({data:d},"discountLabel"));var d;return e.jsx(qa,{styles:a,children:({classnames:a})=>e.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"8px",alignItems:"center",justifyContent:"flex-start"},children:[r.price<r.originalPrice&&e.jsx("span",{className:null==a?void 0:a.originalPrice,children:r.originalPriceFormatted}),s>=i&&e.jsx(ei,{value:c,children:e.jsx(Dn,{children:e=>t.Children.toArray(o.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})]})})}function Sm(n){const{discountThreshold:i,children:a,styles:o}=n.schema,r=qi(),s=function(){if(0===r.originalPrice)return 0;const e=100*(1-r.price/r.originalPrice);return Math.abs(e-Math.round(e))<1e-9?Math.round(e):Math.floor(e)}(),l=ti(),c=(d={label:String(s)},l({data:d},"discountLabel"));var d;return e.jsx(qa,{styles:o,children:({classnames:o})=>e.jsx("div",{className:null==o?void 0:o.own,children:s>=i&&e.jsx(ei,{value:c,children:e.jsx(Dn,{children:e=>t.Children.toArray(a.map(((t,i)=>e(t,void 0,re(i,n.testId)))))})})})})}function Am(t,n){if("EscapeHatch"===t.type&&t.node.data){const i=JSON.parse(t.node.data);switch(null==i?void 0:i.type){case"TempCatalogDiscountCalloutTag":return e.jsx(wm,{schema:i.node});case"CatalogDiscountCalloutTag":return e.jsx(Sm,{schema:i.node});case"CatalogDropDown":return e.jsx(Yy,{schema:i.node});case"Checkbox":return e.jsx(Dm,{schema:i.node});case"CheckoutStateButtonTrigger":return e.jsx(Jy,{schema:i.node});case"ColorSwatch":return e.jsx(Qy,{schema:i.node});case"CatalogImageGallery":return e.jsx(sm,{schema:i.node});case"CustomStateValidationTriggerButton":return e.jsx(Im,{schema:i.node});case"DismissInstantPurchaseButton":return e.jsx(xm,{schema:i.node});case"LoadingSpinner":return e.jsx(dm,{schema:i.node});case"OfferLifecycleTimer":return e.jsx(pm,{schema:i.node,isInline:null!=n&&n});case"ReadMoreTextContainer":return e.jsx(bm,{schema:i.node});case"Snackbar":return e.jsx(Lm,{schema:i.node});default:return}}}function Tm(n){const a=wn(),o=Zi(),r=ti(),s=En(),l=On().catalogItems||[],c=i.useSelector((e=>e.selectedItem))||l[0];return t.useEffect((()=>{c&&s({type:Ce,payload:{name:"SignalImpression",parentGuid:null==c?void 0:c.instanceGuid}})}),[c,s]),c||console.log("The experience response returned an empty catalog item set, preventing CatalogCombinedCollection from rendering. This behavior is a known QA issue that occurs when Selector is bypassed."),c?e.jsx(qa,{styles:n.schema.styles,children:({classnames:i})=>{return e.jsx("div",{"data-testid":n.testId,"data-e2e":"CatalogCombinedCollection",className:null==i?void 0:i.own,style:{display:"flex",flexDirection:"column"},children:t.Children.toArray(e.jsx(ia,{children:e.jsx(zi,{context:c,children:e.jsx(Fi,{value:o(c),children:e.jsx(ei,{value:(s=c,r({data:s},"catalogItem")),children:a(n.schema.template,void 0,n.testId?`${n.testId}-child`:"")})})})}))});var s}}):null}function jm(t,n,i){if("RichText"===t.type)return e.jsx(gm,{schema:t.node,testId:n,isInline:null!=i&&i})}const Mm={BasicText:(e,t)=>ao(e,t,!0),RichText:(e,t)=>jm(e,t,!0),StaticLink:(e,t)=>bo(e,t,!0),EscapeHatch:e=>Am(e,!0)};function Om(n){const i=wn();return e.jsx(Sn,{value:i,overrides:Mm,children:e.jsx(Dn,{children:i=>e.jsx(qa,{styles:n.schema.styles,children:({classnames:a})=>{var o;return e.jsx("div",{className:null==a?void 0:a.own,"data-testid":n.testId,"aria-label":null!==(o=n.schema.a11yLabel)&&void 0!==o?o:void 0,children:t.Children.toArray(n.schema.children.map(((e,t)=>i(e,void 0,re(t,n.testId)))))})}})})})}const km={applePay:{provider:"ApplePay",responseKey:"applePay",paymentMethodType:y.ApplePay,layoutPaymentMethodType:"APPLE_PAY",displayName:"Apple Pay"},afterpay:{provider:"Afterpay",responseKey:"afterpay",paymentMethodType:y.Afterpay,layoutPaymentMethodType:"AFTERPAY",displayName:"Afterpay"}},Vm=["applePay","afterpay"].map((e=>km[e]));function Rm(e){var t;return!0===(null===(t=e.devicePayAvailability)||void 0===t?void 0:t.applePay)}function Hm(e){var t;return!0===(null===(t=e.devicePayAvailability)||void 0===t?void 0:t.afterpay)}function _m(e){var t,n,i,a;const o=null!==(i=null===(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.transactionData)||void 0===n?void 0:n.supportedPaymentMethods)&&void 0!==i?i:[];if(0===o.length)return!1;const r=null!==(a=e.devicePayAvailability)&&void 0!==a?a:{};return o.every((e=>{const t=Vm.find((t=>t.paymentMethodType===e.type));return void 0!==t&&!1===r[t.responseKey]}))}function Pm(e){var t;const{activeCacheKey:n,cache:i}=e.taxAndShipping;return n&&null!==(t=i[n])&&void 0!==t?t:{isPending:!0}}const Nm="CatalogDevicePayButton",Fm={elements:{own:[],errorText:[{default:{spacing:{margin:"6 0 0 20"},text:{textColor:{light:"#D92D20"},fontSize:12,fontFamily:"inherit",fontWeight:"400",lineHeight:16.5,letterSpacing:.064}}}]}};function $m(n){const a=i.useDispatch(),o=wn(),r=i.useSelector(Rm),s=i.useSelector(Hm),l=xn(0,(e=>{var t;return null!==(t=e.customStates[Ie])&&void 0!==t?t:null})),c="ApplePay"===n.schema.provider&&1===l,d=t.useRef(null);t.useEffect((()=>{var e;c&&(null===(e=d.current)||void 0===e||e.focus())}),[c]);const u=We(n.schema.requestKey)?n.schema.requestKey:void 0,p="requestKey"in n.schema;t.useEffect((()=>{p||a(r?{type:be,payload:{key:xe,value:0}}:{type:be,payload:{key:xe,value:1}})}),[r,p,a]);const f=Ri(),{tabIndex:h,styles:v,isDisabled:C}=b(f),y=qi(),m=Yn(y,"catalogItem"),g=aa();t.useEffect((()=>{p&&!u&&a({type:Ce,payload:{name:"SignalUserInteraction",action:"DevicePayRequestRejectedInvalidKey",context:Nm,parentGuid:y.instanceGuid}})}),[y.instanceGuid,a,p,u]);const E="ApplePay"===n.schema.provider?r:"Afterpay"!==n.schema.provider||s,I=i.useSelector((e=>e.offerLifecycleEvent)),x=i.useSelector((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.instanceGuid})),L=i.useSelector((e=>{var t,n,i,a;return null!==(a=null!==(t=e.selectedItem)&&void 0!==t?t:null===(i=null===(n=e.staticData)||void 0===n?void 0:n.offer.catalogItems)||void 0===i?void 0:i[0])&&void 0!==a?a:null})),D=null===L||L.instanceGuid===y.instanceGuid&&L.catalogItemId===y.catalogItemId,w=xn(0,(e=>{var t;return u&&null!==(t=e.customStates[u])&&void 0!==t?t:null})),S=i.useSelector((e=>{var t;return u&&null!==(t=e.devicePayRequests[u])&&void 0!==t?t:0})),A=xn(0,(e=>{var t;return null!==(t=e.customStates[Ee])&&void 0!==t?t:null})),T=t.useRef(!1);t.useEffect((()=>{0===A&&(T.current=!1)}),[A]);const j=t.useRef(Date.now()),M=Math.max(S,j.current),O=kr(n.schema),k="ApplePay"===n.schema.provider?(V=n.schema.styles)?ae(Fm,V):Fm:n.schema.styles;var V;const R=e=>{a({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:Nm,parentGuid:y.instanceGuid}})},H=()=>{var e;return!n.schema.validatorTriggerConfig||g.validateFieldKeys(null!==(e=n.schema.validatorTriggerConfig.validatorFieldKeys)&&void 0!==e?e:[])?(a({type:Py,payload:{catalogItem:y,quantity:1,paymentProvider:n.schema.provider}}),!0):(R("ValidationTriggerFailed"),!1)},_=e=>{e.preventDefault(),H()},P=t.useRef((()=>{}));return P.current=e=>{e===n.schema.provider&&("Completed"!==(null==I?void 0:I.event)&&"Dismissed"!==(null==I?void 0:I.event)?T.current||0!==A?R("DevicePayRequestIgnoredInFlight"):E?(R("DevicePayRequested"),T.current=!0,H()||(T.current=!1)):R("DevicePayRequestIgnoredUnavailable"):R("DevicePayRequestIgnoredOfferClosed"))},t.useEffect((()=>{if(u&&x&&D)return function(e,t,n){var i;const a=null!==(i=Av.get(e))&&void 0!==i?i:new Map;return Av.set(e,a),a.set(t,n),()=>{a.get(t)===n&&(a.delete(t),0===a.size&&Av.delete(e))}}(x,u,(e=>P.current(e)))}),[x,D,u]),t.useEffect((()=>{u&&(!Number.isFinite(w)||w<=0||w<=M||(a({type:Uy,payload:{requestKey:u,requestValue:w}}),P.current(n.schema.provider)))}),[u,w,M,a]),p?null:("ApplePay"!==n.schema.provider||r)&&("Afterpay"!==n.schema.provider||s)?e.jsx(qa,{styles:k,children:({classnames:t,mapperRef:i})=>{var a;return"ApplePay"===n.schema.provider?e.jsxs(e.Fragment,{children:[e.jsx(Rr,{ref:d,buttonStyle:O,className:null==t?void 0:t.own,disabled:C,onClick:_,tabIndex:h}),c?e.jsx(_r,{className:null==t?void 0:t.errorText,message:n.schema.errorMessage}):null]}):e.jsx("button",{type:"button",className:null==t?void 0:t.own,onClick:_,"data-testid":n.testId,"data-e2e":"CatalogDevicePayButton",disabled:C,"aria-disabled":C,"aria-label":null!==(a=n.schema.a11yLabel)&&void 0!==a?a:`Pay with ${n.schema.provider}`,tabIndex:h,style:Object.assign({cursor:"pointer"},v),children:e.jsx(ei,{value:m,children:(null==t?void 0:t.own)?Zm(n.schema.children,t.own,i,o,n.testId):Gm(n.schema.children,o,n.testId)})})}}):null}function Zm(t,n,i,a,o){return e.jsx(ii,{value:i(n),children:Gm(t,a,o)})}function Gm(e,n,i){return t.Children.toArray(e.map(((e,t)=>n(e,void 0,i?`${i}-child${t}`:void 0))))}const Bm=t.createContext(null),Um=Bm.Provider;const zm=["ArrowDown","ArrowUp","Enter","Escape","Tab"];function qm(e,t){const n=[e?"rokt-icon":"",t].filter(Boolean);return n.length?n.join(" "):void 0}function Km(n){var a,o;const{validatorFieldConfig:r,a11yLabel:s,placeholderValue:l,iconName:c}=n.schema,d=function(){const e=t.useContext(Bm);if(!e)throw new Error("CatalogDropdown must be rendered inside a DropdownOptionsProvider");return e}(),u=i.useDispatch(),p=Ri(),{styles:f,isDisabled:h}=b(p),v=t.useRef(null),C=t.useRef([]),[y,m]=t.useState(!1),[g,E]=t.useState(-1),I=aa(),x=t.useRef(null!==(a=d.selectedValue)&&void 0!==a?a:null);x.current=null!==(o=d.selectedValue)&&void 0!==o?o:null;const L=null!==d.selectedValue;function D(e){var t;return!!e.outOfStock||!L&&(null!==(t=e.disabled)&&void 0!==t&&t)}const w=t.useMemo((()=>d.options.map((e=>({key:e.value,label:e.label,disabled:D(e),isSelected:e.value===d.selectedValue})))),[d,L]),S=t.useMemo((()=>w.findIndex((e=>e.isSelected))),[w]),A=t.useMemo((()=>{var e;const t=w.find((e=>e.isSelected));return null!==(e=null==t?void 0:t.label)&&void 0!==e?e:null}),[w]),T=t.useMemo((()=>{if(!r)return;const e=r.validationFieldKey,t=d.attributeId;return t?`${e}-${t}`:e}),[r,d.attributeId]);function j(){return null!==x.current}const M=t.useMemo((()=>{if(!r)return[];const e={Required:j};return r.validators.map((t=>e[t.type])).filter((e=>void 0!==e))}),[r]),O=t.useMemo((()=>{if(!r)return;const e=r.validators.find((e=>"Required"===e.type));return null==e?void 0:e.value.message}),[r]);function k(){h||(y?R():V())}function V(){h||m(!0)}function R(){h||m(!1)}function H(e){var t;const n=w[e];n&&!n.disabled&&(E(e),R(),x.current=n.key,d.onSelect(n.key),u({type:Ce,payload:{name:"SignalUserInteraction",action:"DropDownItemSelected",context:"CatalogDropDown"}}),(null==r?void 0:r.validateOnChange)&&T&&I.validateFieldKeys([T]),null===(t=v.current)||void 0===t||t.focus())}function _(e){var t;if(!h&&zm.includes(e.key))switch(e.key){case"ArrowDown":{e.preventDefault();const t=g+1;t<w.length&&E(t);break}case"ArrowUp":{e.preventDefault();const t=g-1;t>=0&&E(t);break}case"Enter":e.preventDefault(),y?H(g):V();break;case"Tab":y&&R();break;case"Escape":e.preventDefault(),y&&(R(),null===(t=v.current)||void 0===t||t.focus())}}oa(T,M),t.useEffect((()=>{var e,t;y?-1===S?null===(e=v.current)||void 0===e||e.focus():null===(t=C.current[S])||void 0===t||t.focus():E(S)}),[y,S]),t.useEffect((()=>{var e;null===(e=C.current[g])||void 0===e||e.focus()}),[g]);const P=t.useCallback(((e,t)=>{C.current[t]=e}),[]),N=!(!T||I.getFieldKeyValidity(T)),F=d.placeholderLabel||l||"Select an option",$=c||"▾";return w.length<=1?null:e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsxs("div",{"data-testid":n.testId?`${n.testId}-container`:void 0,"data-errored":N?"true":void 0,style:{display:"flex",flexDirection:"column"},children:[e.jsxs("div",{ref:v,className:null==t?void 0:t.own,onKeyDown:_,onClick:k,onBlur:e=>{var t;(null===(t=v.current)||void 0===t?void 0:t.contains(e.relatedTarget))||y&&R()},"data-e2e":"CatalogDropdown","data-testid":n.testId,"data-errored":N?"true":void 0,"aria-label":s||void 0,"aria-expanded":y,"aria-haspopup":"listbox","aria-disabled":h,"aria-controls":n.testId?`${n.testId}-option-list`:void 0,role:"combobox",style:Object.assign({position:"relative"},f),tabIndex:0,children:[e.jsxs("div",{className:null==t?void 0:t.head,"data-testid":n.testId?`${n.testId}-head`:void 0,"data-errored":N?"true":void 0,style:Object.assign({cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between"},f),children:[e.jsx("span",{children:null!=A?A:F}),e.jsx("span",{className:qm(c,null==t?void 0:t.icon),"data-testid":n.testId?`${n.testId}-icon`:void 0,"aria-hidden":"true",style:{transform:y?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease",display:"inline-flex"},children:$})]}),y&&e.jsx("ul",{className:null==t?void 0:t.optionList,role:"listbox","data-testid":n.testId?`${n.testId}-option-list`:void 0,tabIndex:-1,style:Object.assign({listStyle:"none",padding:0,margin:0,zIndex:9999,position:"absolute",top:"100%",left:0,right:0,overflowX:"hidden",overflowY:"auto"},f),children:w.map(((i,a)=>e.jsx("li",{ref:e=>P(e,a),className:null==t?void 0:t.option,role:"option","aria-selected":i.isSelected,"aria-disabled":i.disabled,"data-selected":i.isSelected?"true":void 0,onClick:e=>{e.stopPropagation(),h||H(a)},tabIndex:-1,"data-e2e":"CatalogDropdownOption","data-testid":n.testId?`${n.testId}-option-${a}`:void 0,style:Object.assign({cursor:i.disabled?"not-allowed":"pointer",display:"flex",opacity:i.disabled?.5:1},f),children:i.label},i.key)))})]}),N&&e.jsx("div",{className:null==t?void 0:t.error,"data-testid":n.testId?`${n.testId}-error`:void 0,"data-errored":"true",role:"alert",children:O})]})})}function Wm(n){const a=On(),o=t.useMemo((()=>a.catalogItems||[]),[a]),r=a.catalogItemGroup,s=wn(),l=i.useDispatch(),c=t.useMemo((()=>{var e;return null!==(e=null==r?void 0:r.attributes)&&void 0!==e?e:[]}),[null==r?void 0:r.attributes]),d=i.useSelector((e=>e.selectedItem)),[u,p]=t.useState({});t.useEffect((()=>{d&&0!==c.length&&p((e=>{if(Object.keys(e).length>0)return e;const t=function(e,t){const n={};for(const i of e){const e=i.options.find((e=>e.catalogItemIds.includes(t)));e&&(n[i.attributeId]=e.label)}return n}(c,d.catalogItemId);return Object.keys(t).length>0?t:e}))}),[d,c]);const f=t.useMemo((()=>function(e,t){let n=null;for(const i of e){const e=t[i.attributeId];if(!e)continue;const a=i.options.find((t=>t.label===e));if(!a)continue;const o=new Set(a.catalogItemIds);if(null===n)n=o;else{const e=n;n=new Set(Array.from(e).filter((e=>o.has(e))))}}return n}(c,u)),[c,u]);t.useEffect((()=>{if(!f||0===f.size)return;const e=o.find((e=>f.has(e.catalogItemId)));e&&l({type:Dy,payload:{catalogItem:e}})}),[f,o,l]);const h=t.useCallback(((e,t)=>{p((n=>Object.assign(Object.assign({},n),{[e]:t})))}),[]);return 0===c.length?null:e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>e.jsx("div",{className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"CatalogSelectorsStacked",style:{display:"flex",flexDirection:"column"},children:c.map((t=>{var i;return e.jsx(Ym,{attribute:t,catalogItems:o,eligibleItemIds:f,selectedValue:null!==(i=u[t.attributeId])&&void 0!==i?i:null,onSelect:h,mapper:s,template:n.schema.default,testId:n.testId},t.attributeId)}))})})}function Ym({attribute:n,catalogItems:i,eligibleItemIds:a,selectedValue:o,onSelect:r,mapper:s,template:l,testId:c}){const d=t.useMemo((()=>n.options.map((e=>{const t=null!==a&&!e.catalogItemIds.some((e=>a.has(e))),n=function(e,t){const n=t.filter((t=>e.includes(t.catalogItemId)));return n.length>0&&n.every((e=>(e.inventoryStatus||C.Unknown)===C.OutOfStock))}(e.catalogItemIds,i);return{label:e.label,value:e.label,disabled:t,outOfStock:n}}))),[n.options,a,i]),u=t.useCallback((e=>{r(n.attributeId,e)}),[r,n.attributeId]),p=t.useMemo((()=>({options:d,selectedValue:o,onSelect:u,placeholderLabel:n.label,attributeId:n.attributeId})),[d,o,u,n.label,n.attributeId]);return e.jsx(Um,{value:p,children:e.jsx("div",{"data-testid":c?`${c}-attribute-${n.attributeId}`:void 0,children:s(l,void 0,c?`${c}-${n.attributeId}`:void 0)})})}function Jm(e){const n=function(e){return`catalogGalleryIndex_${e}`}(e),a=i.useDispatch();return[xn(0,(e=>{var t;return null!==(t=e.customStates[n])&&void 0!==t?t:null})),t.useCallback((e=>{a({type:be,payload:{key:n,value:e}})}),[a,n])]}function Xm(n){var a;const{schema:o,testId:r}=n,s=null!==(a=o.showIndicators)&&void 0!==a&&a,l=i.useDispatch(),c=qi(),d=t.useMemo((()=>Object.values(c.images||{})),[c]),u=d.length>1,p=u?1:0,f=t.useMemo((()=>u?[d.at(-1),...d,d.at(0)].filter((e=>void 0!==e)):d),[d,u]),[h,v]=Jm(c.instanceGuid),C=u?h+1:h,y=t.useRef(C);y.current=C;const m=t.useRef(null),g=t.useRef([]),[E,I]=t.useState(!1),[x,L]=t.useState(!1),D=Ri(),{styles:w,isDisabled:S}=b(D),A=t.useRef(null),T=t.useRef(null),j=t.useRef(null),M=t.useRef(null);function O(e,t,n="smooth"){if(!e||!t)return;const i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),o=t.scrollLeft+(i.left-a.left);t.scrollTo({left:o,behavior:n})}!function(){const e=t.useRef(null);t.useEffect((()=>{const t=m.current;if(!t)return;let n=0,i=t.scrollLeft;const a=()=>{var o;const r=t.scrollLeft;r===i?n++:(n=0,i=r),n>=5?(null!==e.current&&(cancelAnimationFrame(e.current),e.current=null),null===(o=A.current)||void 0===o||o.call(A)):e.current=requestAnimationFrame(a)};return a(),()=>{null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)}}),[A.current])}(),t.useEffect((()=>{const e=p;v(0),O(g.current[e]||null,m.current,"instant")}),[c.catalogItemId,p,d,v]);const k=t.useRef(null);t.useEffect((()=>{E?k.current=h:(k.current=null,O(g.current[C]||null,m.current,"smooth"))}),[h]),t.useEffect((()=>{const e=m.current;if(!e)return;const t=new ResizeObserver((()=>{O(g.current[y.current]||null,e,"instant")}));return t.observe(e),()=>t.disconnect()}),[]);const V=t.useCallback((e=>{l({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogImageGallery",parentGuid:c.instanceGuid}})}),[l,c.instanceGuid]),R=t.useCallback(((e,t)=>{if(E)return;V(t);const n=C+e;let i=h+e;0===n?i=d.length-1:n===f.length-1&&(i=0),I(!0),O(g.current[n]||null,m.current,"smooth"),v(i);const a=0===n||n===f.length-1,o=()=>{if(I(!1),null!==k.current){const e=k.current;k.current=null;const t=u?e+1:e;O(g.current[t]||null,m.current,"smooth")}};if(a){const e=u?i+1:i;A.current=()=>{O(g.current[e]||null,m.current,"instant"),o()}}else A.current=()=>{o()}}),[E,C,h,d.length,f.length,u,v,V]);function H(){T.current=null,j.current=null,M.current=null}function _(e){null===T.current&&(T.current=e.pointerId,j.current=e.clientX,M.current=e.clientY)}function P(e){if(null===T.current||null===j.current)return;const t=j.current-e.clientX;Math.abs(t)>30&&(t<0?R(-1,"MainImageSwipeRight"):R(1,"MainImageSwipeLeft")),H()}function N(t){if(!u)return null;const n=Object.assign({display:"flex",position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1,border:"none",cursor:S?"not-allowed":"pointer"},x?{opacity:1}:{}),i=e=>e.stopPropagation();return e.jsxs(e.Fragment,{children:[o.backwardIcon&&e.jsx("button",{style:Object.assign(Object.assign({},n),{left:0}),className:null==t?void 0:t.controlButton,onPointerDown:i,onClick:()=>R(-1,"MainImageScrollIconLeftClick"),"aria-label":"Previous image","data-testid":`${r}-control-backward`,children:o.backwardIcon}),o.forwardIcon&&e.jsx("button",{style:Object.assign(Object.assign({},n),{right:0}),className:null==t?void 0:t.controlButton,onPointerDown:i,onClick:()=>R(1,"MainImageScrollIconRightClick"),"aria-label":"Next image","data-testid":`${r}-control-forward`,children:o.forwardIcon})]})}function F(t){return s&&u?e.jsx("div",{style:{display:"flex",position:"absolute",bottom:0,left:"50%",transform:"translateX(-50%)"},children:e.jsx("div",{className:null==t?void 0:t.progressIndicatorContainer,style:{display:"flex",flexDirection:"row",alignItems:"center"},"data-testid":`${r}-indicator-container`,children:d.map(((n,i)=>{const a=i<h,o=i===h?null==t?void 0:t.activeIndicator:a?null==t?void 0:t.seenIndicator:null==t?void 0:t.indicator;return e.jsx("span",{className:o,"data-testid":`${r}-indicator-${i}`},`indicator-${i}`)}))})}):null}function $(e){if(null===T.current||null===j.current||null===M.current)return;const t=Math.abs(e.clientX-j.current),n=Math.abs(e.clientY-M.current);t<10&&n<10||t<n&&H()}return 0===d.length?null:e.jsx(qa,{styles:o.styles,children:({classnames:t})=>{var n;return e.jsx("div",{className:null==t?void 0:t.own,"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,children:e.jsxs("div",{onMouseOver:()=>L(!0),onMouseOut:()=>L(!1),onPointerDown:_,onPointerMove:$,onPointerUp:P,onPointerCancel:H,onLostPointerCapture:H,style:{position:"relative",touchAction:"pan-y"},"data-testid":`${r}-main-image-container`,children:[N(t),F(t),e.jsx("div",{ref:m,style:{display:"-webkit-box",overflow:"hidden",scrollBehavior:"smooth"},children:f.map(((n,i)=>e.jsx("div",{ref:e=>function(e,t){g.current[t]=e}(e,i),children:e.jsx("img",{src:n.light,alt:n.alt,title:n.title,className:null==t?void 0:t.mainImage,loading:"lazy",style:Object.assign(Object.assign({},w),{display:"block"}),"data-testid":`${r}-main-image-${i}`,"data-e2e":"CatalogImageGallery-mainImage"})},`${n.light}-${i}`)))})]})})}})}function Qm(n){var a;const{schema:o,testId:r}=n,s="row"===(null!==(a=o.direction)&&void 0!==a?a:"row"),l=i.useDispatch(),c=qi(),d=t.useMemo((()=>Object.values(c.images||{})),[c]),[u,p]=Jm(c.instanceGuid),{ref:f,setRef:h,hasOverflow:v,maskStyle:C}=st(s?"horizontal":"vertical",lt(o.styles)),y=t.useRef([]),m=Ri(),{styles:g,isDisabled:E,tabIndex:I}=b(m);const x=t.useCallback(((e,t,n="smooth")=>{if(!e||!t)return;const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();if(s){const e=a.left+a.width/2,o=i.left+t.clientWidth/2,r=t.scrollLeft+(e-o),s=t.scrollWidth-t.clientWidth;t.scrollTo({left:Math.max(0,Math.min(s,r)),behavior:n})}else{const e=a.top+a.height/2,o=i.top+t.clientHeight/2,r=t.scrollTop+(e-o),s=t.scrollHeight-t.clientHeight;t.scrollTo({top:Math.max(0,Math.min(s,r)),behavior:n})}}),[s]);t.useEffect((()=>{x(y.current[u]||null,f.current,"instant")}),[c.catalogItemId,d]),t.useEffect((()=>{x(y.current[u]||null,f.current,"smooth")}),[u]),t.useEffect((()=>{if(!s)return;const e=f.current;if(e)return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t);function t(e){f.current&&0!==e.deltaY&&(e.preventDefault(),f.current.scrollLeft+=e.deltaY)}}),[]);const L=t.useCallback((e=>{l({type:Ce,payload:{name:"SignalUserInteraction",action:e,context:"CatalogThumbnailGallery",parentGuid:c.instanceGuid}})}),[l,c.instanceGuid]),D=t.useCallback((e=>{L("ThumbnailClick"),p(e),x(y.current[e]||null,f.current,"smooth")}),[L,p,x]);return 0===d.length?null:e.jsx(qa,{styles:o.styles,children:({classnames:t})=>{var n,i;const a=d.map(((n,i)=>e.jsx("img",{ref:e=>function(e,t){y.current[t]=e}(e,i),src:n.light,alt:n.alt,title:n.title,className:null==t?void 0:t.thumbnail,loading:"lazy",style:Object.assign(Object.assign({},g),{flexShrink:0,objectFit:"cover",cursor:E?"not-allowed":"pointer",pointerEvents:"auto"}),role:"button","aria-label":`View image ${i+1}`,"data-selected":i===u?"true":"false","data-testid":`${r}-thumbnail-${i}`,"data-e2e":"CatalogThumbnailGallery-thumbnail",tabIndex:I,onClick:()=>D(i),onKeyDown:e=>function(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),D(t))}(e,i)},`thumbnail-${i}`)));return s?e.jsx("div",{ref:h,className:null==t?void 0:t.own,"aria-label":null!==(n=o.a11yLabel)&&void 0!==n?n:void 0,style:Object.assign({display:"flex",flexDirection:"row",overflow:"auto",justifyContent:v?"flex-start":void 0,scrollbarWidth:"none",scrollBehavior:"smooth",contain:"inline-size",alignSelf:"stretch"},C),children:a}):e.jsx("div",{className:null==t?void 0:t.own,"aria-label":null!==(i=o.a11yLabel)&&void 0!==i?i:void 0,style:Object.assign({display:"flex",flexDirection:"column",contain:"size",alignSelf:"stretch"},C),children:e.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",flex:1,minHeight:0,overflow:"auto",justifyContent:v?"flex-start":void 0,scrollbarWidth:"none",scrollBehavior:"smooth"},children:a})})}})}const eg={CatalogResponseButton:function(t,n){if("CatalogResponseButton"===t.type)return e.jsx(Ky,{schema:t.node,testId:n})},CatalogDevicePayButton:function(t,n){if("CatalogDevicePayButton"===t.type)return e.jsx($m,{schema:t.node,testId:n})},CatalogCombinedCollection:function(t,n){if("CatalogCombinedCollection"===t.type)return e.jsx(Tm,{schema:t.node,testId:n})},EscapeHatch:Am,RichText:jm,InlineContainer:function(t,n){if("InlineContainer"===t.type)return e.jsx(Om,{schema:t.node,testId:n})},CatalogDropdown:function(t,n){const i=t;if("CatalogDropdown"===i.type)return e.jsx(Km,{schema:i.node,testId:n})},CatalogSelectorsStacked:function(t,n){const i=t;if("CatalogSelectorsStacked"===i.type)return e.jsx(Wm,{schema:i.node,testId:n})},CatalogImageGallery:function(t,n){if("CatalogImageGallery"===t.type)return e.jsx(Xm,{schema:t.node,testId:n})},CatalogThumbnailGallery:function(t,n){if("CatalogThumbnailGallery"===t.type)return e.jsx(Qm,{schema:t.node,testId:n})}};function tg(){var t,n,a,o,r;const s=i.useSelector(Pm),l=ki(),c=wn(),d=i.useSelector(Dv),u=ti(),p=null===(t=s.taxAndShippingData)||void 0===t?void 0:t.taxAndShippingPricing,f=u({state:d},"textContent")({state:{taxAndShippingData:{isPending:s.isPending,taxAmount:null!==(n=null==p?void 0:p.taxAmount)&&void 0!==n?n:"",shippingAmount:null!==(a=null==p?void 0:p.shippingAmount)&&void 0!==a?a:"",totalAmount:null!==(o=null==p?void 0:p.totalAmount)&&void 0!==o?o:"",taxStatus:null!==(r=null==p?void 0:p.taxStatus)&&void 0!==r?r:"UNAVAILABLE"}}});return e.jsx(Sn,{value:c,overrides:eg,children:e.jsx(ei,{value:f,children:e.jsx(Dn,{children:e=>e(l)})})})}function ng(e){var t,n,i,a,o,r;const{creative:s,transactionData:l}=e,c=null==l?void 0:l.shippingAddress;if(!s.copy&&!c)return null;const d=e=>s.copy&&s.copy[`ppu.${e}`]||"";return{shippingAttributes:{address1:null!==(t=null==c?void 0:c.address1)&&void 0!==t?t:d("shippingAddress1"),address2:null!==(n=null==c?void 0:c.address2)&&void 0!==n?n:d("shippingAddress2"),city:null!==(i=null==c?void 0:c.city)&&void 0!==i?i:d("shippingCity"),state:null!==(a=null==c?void 0:c.state)&&void 0!==a?a:d("shippingState"),country:null!==(o=null==c?void 0:c.country)&&void 0!==o?o:d("shippingCountry"),postalCode:null!==(r=null==c?void 0:c.zip)&&void 0!==r?r:d("shippingZipcode")}}}const ig={staticData:mv,selectedItem:(e=null,t)=>t.type===wy?t.payload:e,dynamicData:gv,childLayouts:yv,fulfillmentDetails:(e=null,t)=>"INSTANT_PURCHASE/SET_FULFILLMENT_DETAILS"===t.type?t.payload:e,offerLifecycleEvent:(e=null,t)=>t.type===Oy?t.payload:e,devicePayAvailability:(e=null,t)=>{var n;if(t.type===Fy){const i=null===(n=t.payload)||void 0===n?void 0:n.response;if("object"!=typeof i||null===i)return e;const a={};for(const e of Vm){const t=i[e.responseKey];"boolean"==typeof t&&(a[e.responseKey]=t)}return 0===Object.keys(a).length?e:Object.assign(Object.assign({},null!=e?e:{}),a)}return e},devicePayRequests:(e={},t)=>{var n,i,a;if(t.type===Uy){const o=null===(n=t.payload)||void 0===n?void 0:n.requestKey,r=null===(i=t.payload)||void 0===i?void 0:i.requestValue;return ge(o)&&("number"==typeof r&&isFinite(r))?r<=(null!==(a=e[o])&&void 0!==a?a:0)?e:Object.assign(Object.assign({},e),{[o]:r}):e}return e},paypalTransactionDetails:(e=null,t)=>t.type===Gy?t.payload:e,paypalPurchaseContext:(e=null,t)=>t.type===By?t.payload:e,taxAndShipping:(e={activeCacheKey:null,cache:{}},t)=>{var n;switch(t.type){case Vy:{const{cacheKey:n}=t.payload;return{activeCacheKey:n,cache:Object.assign(Object.assign({},e.cache),{[n]:{isPending:!0}})}}case ky:{const{cacheKey:i,taxAndShippingEntry:a}=t.payload;return{activeCacheKey:null!==(n=e.activeCacheKey)&&void 0!==n?n:i,cache:Object.assign(Object.assign({},e.cache),{[i]:a})}}case Ry:{const{cacheKey:n}=t.payload;return Object.assign(Object.assign({},e),{activeCacheKey:n})}default:return e}},purchaseId:(e=null,t)=>t.type===_y?t.payload:e};function ag(e={}){return Object.assign({staticData:null,selectedItem:null,dynamicData:null,childLayouts:{launched:{}},fulfillmentDetails:null,offerLifecycleEvent:null,devicePayAvailability:null,devicePayRequests:{},paypalTransactionDetails:null,paypalPurchaseContext:null,taxAndShipping:{activeCacheKey:null,cache:{}},purchaseId:null},e)}function og(e,t){const n=[...t].sort(((e,t)=>e.catalogItemId.localeCompare(t.catalogItemId))).map((e=>e.catalogItemId)).join(":");return`${i=e,["address1","address2","city","state","country","countryCode","postalCode"].map((e=>{var t;return(null!==(t=i[e])&&void 0!==t?t:"").toLowerCase().replace(/\s/g,"")})).join("")}:${n}`;var i}const rg="INVALID_RESPONSE_OBJECT",sg="MISSING_APP_STATE_IN_INSTANT_PURCHASE_MODULE",lg="MISSING_PAYMENT_REF_IN_INSTANT_PURCHASE_MODULE",cg="MISSING_STATIC_DATA_IN_INSTANT_PURCHASE_MODULE",dg="MISSING_CATALOG_ITEMS",ug="MALFORMED_INSTANT_PURCHASE_PARTNER_DATA",pg="INSTANT_PURCHASE_PARTNER_CHANNEL_ERROR",fg="DEVICE_PAY_CHANNEL_ERROR",hg="DEVICE_PAY_CANCELLED",vg="DEVICE_PAY_UNKNOWN_FAILURE",Cg="MALFORMED_DEVICE_PAY_DATA";var yg;!function(e){e.REQUEST_TIME_OUT="REQUEST_TIME_OUT",e.REQUEST_FAILED="REQUEST_FAILED"}(yg||(yg={}));function mg(e,t){return s.eventChannel((n=>e.onEvent({name:oc.PartnerMessage.CartItemInstantPurchaseResponse,source:"partner",callback:e=>{var i;t({level:q,code:"SHOPPABLE_ADS_LEGACY_PARTNER_RESPONSE",message:`Received legacy partner response for first party Shoppable Ads\n ${JSON.stringify(e)}`}),Dg(i=e)&&Array.isArray(i.upsellItems)&&i.upsellItems.every((e=>Dg(e)&&wg(e,"cartItemId","string")&&wg(e,"name","string")&&wg(e,"unitPrice","number")&&wg(e,"quantity","number")))&&wg(i,"totalUpsellPrice","number")&&Sg(i)?n(e):t({level:K,code:ug,message:`Malformed data received from partner\n ${e}`})}})))}function gg(e,t){return s.eventChannel((n=>e.onEvent(...["INSTANT_PURCHASE_SUCCESS","INSTANT_PURCHASE_FAILURE"].map((e=>({name:e,source:"partner",callback:e=>{var i;Dg(i=e)&&wg(i,"timestamp","string")&&wg(i,"sessionId","string")?n(e):t({level:K,code:"MALFORMED_INSTANT_PURCHASE_WSDK_DATA",message:`Malformed data received from wsdk\n ${e}`})}}))))))}function bg(e,t){return s.eventChannel((n=>e.onEvent({name:oc.V2.PartnerMessage.UpsellItemInstantPurchaseResponse,source:"partner",callback:e=>{var i;t({level:K,code:"SHOPPABLE_ADS_PARTNER_RESPONSE",message:`Received partner response for first party Shoppable Ads\n ${JSON.stringify(e)}`}),Dg(i=e)&&Array.isArray(i.upsellItems)&&i.upsellItems.every((e=>Dg(e)&&wg(e,"sku","string")&&wg(e,"quantity","number")))&&wg(i,"totalPrice","number")&&Sg(i)?n(e):t({level:K,code:ug,message:`Malformed data received from partner\n ${e}`})}})))}function Eg(e,t){return s.eventChannel((n=>e.onEvent({name:"INSTANT_PURCHASE_TAX_AND_SHIPPING_RESPONSE",source:"partner",callback:e=>{var i;Dg(i=e)&&wg(i,"cacheKey","string")&&wg(i,"timestamp","string")&&wg(i,"sessionId","string")?n(e):t({level:K,code:"MALFORMED_TAX_AND_SHIPPING_DATA",message:`Malformed tax and shipping data received\n ${JSON.stringify(e)}`})}})))}function*Ig(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:Ty,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:pg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase partner channel"})}finally{e.close()}}function*xg(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:My,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:"INSTANT_PURCHASE_WSDK_CHANNEL_ERROR",message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase WSDK channel"})}finally{e.close()}}function*Lg(e,t){var n;try{for(;;){const t=yield r.take(e);if(t){yield r.put({type:jy,payload:t});break}}}catch(e){yield r.call(t,{level:K,code:pg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in instant-purchase partner channel"})}finally{e.close()}}function Dg(e){return"object"==typeof e&&null!==e}function wg(e,t,n){return t in e&&typeof e[t]===n}function Sg(e){return wg(e,"currency","string")&&wg(e,"paid","boolean")&&wg(e,"success","boolean")}const Ag="Unknown failure reason";function Tg(e,t,n){return{name:"SignalCartItemInstantPurchase",parentGuid:e.instanceGuid,objectData:Object.assign({catalogItemId:e.catalogItemId,quantity:t,initiatedBy:B.DCUI},n&&{purchaseId:n})}}function jg(e,t,n,i,a){return{name:"SignalCartItemInstantPurchaseFailure",parentGuid:e.instanceGuid,objectData:Object.assign({catalogItemId:e.catalogItemId,quantity:t,failureReason:i,providerId:n},a&&{purchaseId:a})}}const Mg=6e4;function*Og(){var e,t,n,i;const a=yield r.select((e=>e)),o=null!==(t=null===(e=null==a?void 0:a.staticData)||void 0===e?void 0:e.offer.catalogItems)&&void 0!==t?t:[];if(1===o.length&&o[0])return void(yield*Fg(o[0]));const s=null===(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer)||void 0===i?void 0:i.creative.copy["provider.defaultCatalogItemId"],l=o.find((e=>e.catalogItemId===s));l&&l.inventoryStatus!==C.OutOfStock&&(yield*Fg(l))}function*kg(e){const{catalogItem:t}=e.payload;yield*Fg(t)}function*Vg(e,t,n){var i,a,o,s,l;const c=yield r.select((e=>e)),d=(null===(o=null===(a=null===(i=null==c?void 0:c.staticData)||void 0===i?void 0:i.offer)||void 0===a?void 0:a.creative)||void 0===o?void 0:o.copy)||{},u=null===(s=null==c?void 0:c.staticData)||void 0===s?void 0:s.offer.transactionData,p="boolean"==typeof(null==u?void 0:u.isPartnerManagedPurchase)?u.isPartnerManagedPurchase:"true"===d["ppu.partnerManagedPurchase"],f=(null==u?void 0:u.confirmationRef)||d["ppu.confirmationref"]||"",{catalogItem:h,quantity:v}=n.payload,C=Ol(h,v);if(C){yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:h.instanceGuid,objectData:{catalogItemId:h.catalogItemId,quantity:v}}});const n=c?null===(l=Pm(c).taxAndShippingData)||void 0===l?void 0:l.taxAndShippingPricing:void 0,i=n&&parseFloat(n.totalAmount.replace(/[^0-9.]/g,""))||C.totalPrice;yield*Bg("ProcessingState",1),p?yield*function*(e,t,n,i,a,o){const s=null!=e?e:t.catalogItemId,l={upsellItems:[{sku:s,quantity:t.quantity,unitPrice:t.unitPrice,totalPrice:t.totalPrice||0,currency:t.currency}],totalPrice:i,currency:t.currency,orderConfirmationId:n};yield r.fork(Pg,a,o),yield r.put({type:Le,payload:{name:"UPSELL_ITEM_INSTANT_PURCHASE",body:l}})}(h.productSku,C,f,i,e,t):yield*function*(e,t,n){var i;const a=yield r.select((e=>e));if(!a)return yield r.call(n,{level:K,code:sg,message:"App state is not set within Redux store."}),void(yield*Ug());if(!a.staticData)return yield r.call(n,{level:K,code:cg,message:"App state is not configured with static data."}),void(yield*Ug());const o=(null===(i=a.staticData.offer.transactionData)||void 0===i?void 0:i.partnerPaymentReference)||a.staticData.offer.creative.copy["ppu.partnerPaymentReference"];if(!o)return yield r.call(n,{level:K,code:lg,message:"Partner payment reference is not set within transaction data or creative copy."}),void(yield*Ug());const s={upsellItems:[{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,quantity:e.quantity,unitPrice:e.unitPrice,totalPrice:e.totalPrice,currency:e.currency}],totalUpsellPrice:e.totalPrice,currency:e.currency,paymentDetails:{partnerPaymentReference:o}};a.fulfillmentDetails&&(s.fulfillmentDetails=a.fulfillmentDetails);a.purchaseId&&(s.identifiers={purchase_id:a.purchaseId});yield r.fork(Ng,t,n),yield r.put({type:Le,payload:{name:"INITIATE_INSTANT_PURCHASE_EVENT",body:s}})}(C,e,t)}else yield r.call(t,{level:K,code:rg,message:`Unable to translate catalog item with ID ${h.catalogItemId} to cart item for instant purchase transaction.`}),yield*Ug()}function*Rg(e,t){const n=yield r.select((e=>e.staticData));if(!n)return yield r.call(e,{level:K,code:cg,message:"App state is not configured with static data."}),void(yield*Gg("Error"));if(!n.offer.catalogItems)return yield r.call(e,{level:K,code:dg,message:"No catalog items found within offer data."}),void(yield*Gg("Error"));const i={accountId:n.offer.accountId,catalogItems:n.offer.catalogItems};let a,o;t.payload.success?(a=Tg,o="Success"):(a=(e,n)=>jg(e,n,i.accountId.toString(),t.payload.reason||Ag),o="Unspecified"),yield*function*(e,t,n,i){const a=[];for(const i of e.upsellItems){const e=$g(i,t.catalogItems);void 0===e?a.push(i):yield r.put({type:Ce,payload:n(e,i.quantity)})}a.length>0&&(yield*function*(e,t){const n=JSON.stringify(e,null,"\t").replaceAll('"',"");yield r.call(t,{level:K,code:rg,message:`Unable to map cart items to catalog items in the instant purchase partner response: ${n}.`})}(a,i))}(t.payload,i,a,e),yield*Gg(o)}function*Hg(e,t){const n=yield r.select((e=>e.staticData));if(!n)return yield r.call(e,{level:K,code:cg,message:"App state is not configured with static data."}),void(yield*Ug());if(!n.offer.catalogItems)return yield r.call(e,{level:K,code:dg,message:"No catalog items found within offer data."}),void(yield*Ug());const i={accountId:n.offer.accountId,catalogItems:n.offer.catalogItems};let a;a=t.payload.success?Tg:(e,n)=>jg(e,n,i.accountId.toString(),t.payload.reason||Ag),yield*function*(e,t,n,i){const a=[];for(const i of e.upsellItems){const e=Zg(i,t.catalogItems);void 0===e?a.push(i):yield r.put({type:Ce,payload:n(e,i.quantity)})}a.length>0&&(yield*function*(e,t){const n=JSON.stringify(e,null,"\t").replaceAll('"',"");yield r.call(t,{level:K,code:rg,message:`Unable to map upsell items to catalog items in the instant purchase partner response: ${n}.`})}(a,i))}(t.payload,i,a,e),t.payload.success?yield*zg(1,{event:"Completed",completionReason:"Success"}):yield*Ug()}function*_g(e){e.payload.response&&e.payload.response.success?yield*zg(1,{event:"Completed",completionReason:"Success"}):yield*Ug()}function*Pg(e,t){const n=bg(e,t),i=mg(e,t),{timeout:a}=yield r.race({channel:r.call(Lg,n,t),legacyChannel:r.call(Ig,i,t),timeout:r.delay(Mg)});a&&(yield r.call(t,{level:K,code:"INSTANT_PURCHASE_PARTNER_RESPONSE_TIMEOUT",message:"Instant-purchase partner response timed out after 60000ms"}),n.close(),i.close(),yield*zg(2,{event:"Completed",completionReason:"Unspecified"}))}function*Ng(e,t){const n=gg(e,t),{timeout:i}=yield r.race({channel:r.call(xg,n,t),timeout:r.delay(Mg)});i&&(yield r.call(t,{level:K,code:"INSTANT_PURCHASE_WSDK_RESPONSE_TIMEOUT",message:"Instant-purchase wsdk response timed out after 60000ms"}),n.close(),yield*zg(2,{event:"Completed",completionReason:"Unspecified"}))}function*Fg(e){var t,n,i,a;yield r.put({type:wy,payload:e}),void 0===(null===(t=e.copy)||void 0===t?void 0:t["provider.pricing.totalPrice"])?yield r.put({type:Hy,payload:{catalogItem:e}}):yield r.call(qg,e);const o={title:null!==(n=e.title)&&void 0!==n?n:"",description:null!==(i=e.description)&&void 0!==i?i:"",price:null!==(a=e.priceFormatted)&&void 0!==a?a:""};e.copy&&Object.entries(e.copy).forEach((([e,t])=>{o[`copy.${e}`]=t})),yield r.put({type:Cv,payload:{text:o}})}function $g(e,t){return t.find((t=>t.catalogItemId===e.catalogItemId))}function Zg(e,t){if(e.sku)return t.find((t=>t.catalogItemId===e.sku||t.productSku===e.sku))}function*Gg(e){yield*Bg("ProcessingState",0),yield r.put({type:ye,payload:{event:"Completed",completionReason:e}})}function*Bg(e,t){yield r.put({type:be,payload:{key:e,value:t}})}function*Ug(){yield*zg(2,{event:"Completed",completionReason:"Error"})}function*zg(e,t){yield r.put({type:Oy,payload:t}),yield*Bg("ProcessingState",0),yield r.put({type:De,payload:{key:H,value:e}})}function*qg(e){var t;const n=null!==(t=e.copy)&&void 0!==t?t:{},i=n["provider.pricing.shippingFees"],a=n["provider.pricing.salesTax"],o=n["provider.pricing.totalPrice"];if(!i||!a||!o)return;const s=yield r.select((e=>{var t,n;return null!==(n=null===(t=e.fulfillmentDetails)||void 0===t?void 0:t.shippingAttributes)&&void 0!==n?n:{}})),l=og(s,[e]);yield r.put({type:Ry,payload:{cacheKey:l}}),yield r.put({type:ky,payload:{cacheKey:l,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{taxAndShippingPricing:{shippingAmount:i,taxAmount:a,totalAmount:o}}}}})}const Kg=new Set;function*Wg(e,t){const n=Eg(e,t);try{for(;;){const{response:e,offerEnd:t}=yield r.race({response:r.take(n),offerEnd:r.take(ye)});if(t)break;e&&(yield r.call(Jg,e))}}finally{n.close()}}function*Yg(e,t,n){var i,a,o;const s=yield r.select((e=>e.fulfillmentDetails)),l=null!==(i=null==s?void 0:s.shippingAttributes)&&void 0!==i?i:{};if(!!!(l.address1&&l.city&&l.state&&l.country&&l.postalCode))return;const c=[n.payload.catalogItem],d=og(l,c);if(yield r.call(eb,d))return void(yield r.put({type:Ry,payload:{cacheKey:d}}));if(Kg.has(d))return;Kg.add(d),yield r.put({type:Vy,payload:{cacheKey:d}});const u=c.map(tb),p=null!==(o=null===(a=c[0])||void 0===a?void 0:a.currency)&&void 0!==o?o:"USD",f=u.reduce(((e,t)=>e+t.totalPrice),0);yield r.put({type:Le,payload:{name:"INSTANT_PURCHASE_INITIATE_TAX_AND_SHIPPING_EVENT",body:{cacheKey:d,totalUpsellPrice:f,currency:p,upsellItems:u,fulfillmentDetails:{shippingAttributes:l}}}}),yield r.spawn(Qg,d,t)}function*Jg(e){var t,n;const{response:i,cacheKey:a}=e,o=null==i?void 0:i.response;if(!o||!a)return;if(!o.success||!o.paymentDetails||"UNAVAILABLE"===o.paymentDetails.taxStatus)return void(yield*function*(e){Kg.delete(e),yield r.put({type:ky,payload:{cacheKey:e,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{error:yg.REQUEST_FAILED}}}}),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Error"}}),yield r.put({type:De,payload:{key:H,value:2}})}(a));Kg.delete(a),yield r.put({type:ky,payload:{cacheKey:a,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{taxAndShippingPricing:Xg(o.paymentDetails)}}}});const s=null!==(n=null===(t=o.identifiers)||void 0===t?void 0:t.purchase_id)&&void 0!==n?n:null;yield r.put({type:_y,payload:s})}function Xg(e){const t=e=>{const t=String(e);return t.startsWith("$")?t:`$${t}`};return{taxAmount:t(e.tax),shippingAmount:t(e.shippingCost),totalAmount:t(e.totalAmount),taxStatus:e.taxStatus}}function*Qg(e,t){var n;yield r.delay(3e4);(null===(n=(yield r.select((e=>e.taxAndShipping))).cache[e])||void 0===n?void 0:n.isPending)&&(yield r.call(t,{level:K,code:"TAX_AND_SHIPPING_REQUEST_TIMEOUT",message:"Instant-purchase tax and shipping timed out after 30000ms"}),Kg.delete(e),yield r.put({type:ky,payload:{cacheKey:e,taxAndShippingEntry:{isPending:!1,taxAndShippingData:{error:yg.REQUEST_TIME_OUT}}}}))}function*eb(e){var t;const n=(yield r.select((e=>e.taxAndShipping))).cache[e];return!!n&&(!!n.isPending||!(null===(t=n.taxAndShippingData)||void 0===t?void 0:t.error))}function tb(e){var t;const n=e.preSelectedQuantity?e.preSelectedQuantity:1;return{cartItemId:e.cartItemId,catalogItemId:e.catalogItemId,title:e.title,quantity:n,unitPrice:e.price,totalPrice:e.price*n,currency:null!==(t=e.currency)&&void 0!==t?t:"USD"}}const nb=["Success","Unspecified","Error"],ib=["Implicit","Explicit"];function*ab(e,t){if("Checkout"!==t.payload.event)return;yield r.put({type:De,payload:{key:_,value:ob(t.payload),offerPositionIndex:t.payload.offerPositionIndex}});const n=t.payload.data;if(n){const i="Completed"===n.event;if("Completed"===n.event||"Dismissed"===n.event){(i?nb.includes(n.reason):ib.includes(n.reason))?yield r.put({type:ye,payload:Object.assign(Object.assign({event:n.event},i?{completionReason:n.reason}:{dismissalReason:n.reason}),{offerPositionIndex:t.payload.offerPositionIndex})}):yield r.call(e,{level:K,code:"CHECKOUT_BUTTON_INVALID_OFFERLIFECYCLE",message:`Misconfigured offer lifecycle payload in handleCheckoutLifecycle: ${n}.`})}else yield r.call(e,{level:K,code:"CHECKOUT_BUTTON_UNKNOWN_EVENT",message:`Unknown event type in checkout lifecycle: ${JSON.stringify(n)}`})}}function ob(e){var t;return null!==(t={ViewOffer:0,ViewTransactionDetails:1,EditPayment:2,EditShipping:3,EditPaymentAndShipping:4,CostBreakdown:5,Confirmation:6,CloseOffer:7}[e.targetStep])&&void 0!==t?t:0}function*rb(){const e=yield r.select((e=>{var t;return null===(t=e.staticData)||void 0===t?void 0:t.offer.creative.instanceGuid}));e&&(yield r.put({type:Ce,payload:{name:"SignalInstantPurchaseDismissal",parentGuid:e}}))}function*sb(e,t){yield r.call(e.globalDispatch.bind(e),t)}function*lb(e,t,n){yield r.put({type:Ce,payload:{name:"SignalUserInteraction",parentGuid:e,action:t,context:n}})}function*cb(e){yield r.put({type:be,payload:{key:Ee,value:e}})}function*db(e,t){for(;;){const n=yield r.take(e);yield*lb(t.catalogItem.instanceGuid,n.interaction,t.paymentProvider)}}function ub(e,t){return s.eventChannel((n=>e.onEvent({name:"DEVICE_PAY_AVAILABLE",source:"partner",callback:e=>{!function(e){if(!("object"==typeof e&&null!==e&&"success"in e&&"boolean"==typeof e.success&&"sessionId"in e&&"string"==typeof e.sessionId&&"timestamp"in e&&"string"==typeof e.timestamp&&"response"in e&&"object"==typeof e.response&&null!==e.response))return!1;const t=e.response;let n=!1;for(const e of Vm){const i=t[e.responseKey];if(void 0!==i){if("boolean"!=typeof i)return!1;n=!0}}return n}(e)?t({level:K,code:Cg,message:`Malformed data received from wsdk for device pay available: ${JSON.stringify(e)}`}):n(e)}})))}function*pb(e,t){var n;try{for(;;){const t=yield r.take(e);t&&(yield r.put({type:Fy,payload:t}),"boolean"==typeof t.response.applePay&&(yield r.put({type:be,payload:{key:"applePayAvailable",value:t.response.applePay?1:0}})))}}catch(e){yield r.call(t,{level:K,code:fg,message:null!==(n=e.message)&&void 0!==n?n:"Unknown error in device-pay-available channel"})}finally{e.close()}}function*fb(e,t){var n;const i=Vm.find((e=>!1===t.payload.response[e.responseKey]));if(!i)return;yield r.call(e,{level:K,code:"DEVICE_PAY_NOT_AVAILABLE",message:`${i.displayName} is not available on this device.`}),yield r.put({type:Ce,payload:{name:"SignalUserInteraction",action:"DevicePayUnavailable",context:`${i.displayName.replace(/\s+/g,"")}Failed`}});if(!(yield r.select(_m)))return;const a=yield r.select((e=>{var t,n,i;return null!==(i=null===(n=null===(t=e.staticData)||void 0===t?void 0:t.offer.transactionData)||void 0===n?void 0:n.supportedPaymentMethods)&&void 0!==i?i:[]}));if(1===(null==a?void 0:a.length)&&(null===(n=a[0])||void 0===n?void 0:n.type)===y.ApplePay)return;const o=yield r.select((e=>e.offerLifecycleEvent));if("Dismissed"===(null==o?void 0:o.event)||"Completed"===(null==o?void 0:o.event))return;const s={event:"Dismissed",dismissalReason:"Implicit"};yield r.put({type:Oy,payload:s}),yield r.put({type:ye,payload:s})}function*hb(e,t,n,i){var a,o;i&&(yield r.fork(db,i,n));try{const{response:t,timeout:i,dismissal:a}=yield r.race({response:r.take(e),timeout:r.delay(36e4),dismissal:r.take((e=>{var t;return e.type===ye&&"Dismissed"===(null===(t=e.payload)||void 0===t?void 0:t.event)}))});t?yield r.put({type:Ny,payload:t,context:n}):i?yield r.put({type:Ny,payload:{success:!1,timestamp:(new Date).toISOString(),sessionId:"",error:{code:"DEVICE_PAY_RESPONSE_TIMEOUT",message:"No device-pay response before the timeout"}},context:n}):a&&(yield r.put({type:Ny,payload:{success:!1,cancelled:!0,timestamp:(new Date).toISOString(),sessionId:"",error:{code:hg,message:"Offer dismissed while device pay was active"}},context:n}))}catch(e){yield r.call(t,{level:K,code:fg,message:null!==(a=e.message)&&void 0!==a?a:"Unknown error in device-pay channel"}),yield r.put({type:Ny,payload:{success:!1,timestamp:(new Date).toISOString(),sessionId:"",error:{code:fg,message:null!==(o=e.message)&&void 0!==o?o:"Unknown error in device-pay channel"}},context:n})}finally{e.close(),null==i||i.close()}}function*vb(e,t,n){var i,a,o,l,c,d,u,p;const{catalogItem:f,quantity:h,paymentProvider:v}=n.payload;if("Paypal"===v)return void(yield r.put({type:$y,payload:{catalogItem:f,quantity:h}}));const C=yield r.select((e=>e)),y=null!==(a=null===(i=null==C?void 0:C.staticData)||void 0===i?void 0:i.offer.accountId)&&void 0!==a?a:"",m=Ol(f,h);if(!m)return yield r.call(t,{level:K,code:rg,message:`Unable to translate catalog item with ID ${f.catalogItemId} to cart item for device pay transaction.`}),yield r.put({type:Ce,payload:jg(f,h,y,"DEVICE_PAY_INVALID_CART_ITEM_MAPPING")}),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Error"}}),yield*cb(0),void(yield r.put({type:De,payload:{key:"offerComplete",value:2}}));const g=C?null===(o=Pm(C).taxAndShippingData)||void 0===o?void 0:o.taxAndShippingPricing:void 0,b=g&&parseFloat(g.totalAmount)||m.totalPrice,E="Afterpay"===v?function(e){if(e)return Object.assign(Object.assign(Object.assign({address1:e.address1},void 0!==e.address2&&{address2:e.address2}),{city:e.city,state:e.state,country:e.country}),void 0!==e.zip&&{postalCode:e.zip})}(null===(c=null===(l=null==C?void 0:C.staticData)||void 0===l?void 0:l.offer.transactionData)||void 0===c?void 0:c.shippingAddress):void 0,I=(x=v,Vm.find((e=>e.provider===x)));var x;const L=null!==(p=null===(u=null===(d=null==C?void 0:C.staticData)||void 0===d?void 0:d.offer.transactionData)||void 0===u?void 0:u.supportedPaymentMethods)&&void 0!==p?p:[],D=void 0!==I&&L.some((e=>e.type===I.paymentMethodType));I?D||(yield r.call(t,{level:K,code:"DEVICE_PAY_PROVIDER_UNSUPPORTED",message:`Device pay provider ${v} is not in transactionData.supportedPaymentMethods — omitting paymentMethod from INITIATE_DEVICE_PAY_EVENT.`})):yield r.call(t,{level:K,code:"DEVICE_PAY_PROVIDER_UNMAPPED",message:`Device pay provider ${v} has no entry in DEVICE_PAY_PROVIDERS — omitting paymentMethod from INITIATE_DEVICE_PAY_EVENT.`});const w=function(e,t){return s.eventChannel((n=>e.onEvent(...["DEVICE_PAY_SUCCESS","DEVICE_PAY_FAILURE","DEVICE_PAY_CANCEL"].map((e=>({name:e,source:"partner",callback:e=>{var i;"object"==typeof(i=e)&&null!==i&&"success"in i&&"boolean"==typeof i.success&&"timestamp"in i&&"string"==typeof i.timestamp&&"sessionId"in i&&"string"==typeof i.sessionId&&(!("retryable"in i)||"boolean"==typeof i.retryable)?n(e):t({level:K,code:Cg,message:`Malformed data received from wsdk for device pay: ${JSON.stringify(e)}`})}}))))))}(e,t),S=function(e){return s.eventChannel((t=>e.onEvent({name:"DEVICE_PAY_INTERACTION",source:"partner",callback:e=>{(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return!0===t.success&&"string"==typeof t.interaction&&"string"==typeof t.timestamp&&"string"==typeof t.sessionId})(e)&&t(e)}})))}(e);yield r.fork(hb,w,t,{catalogItem:f,quantity:h,providerId:y,paymentProvider:v},S),yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:f.instanceGuid,objectData:{catalogItemId:f.catalogItemId,quantity:h}}}),yield r.put({type:be,payload:{key:Ie,value:0}}),yield*cb(1),yield r.put({type:Le,payload:{name:"INITIATE_DEVICE_PAY_EVENT",body:Object.assign({upsellItems:[{cartItemId:m.cartItemId,catalogItemId:m.catalogItemId,title:f.title,quantity:m.quantity,unitPrice:m.unitPrice,totalPrice:m.totalPrice,currency:m.currency}],totalUpsellPrice:b,currency:m.currency,paymentDetails:Object.assign({paymentProvider:v},I&&D?{paymentMethod:I.layoutPaymentMethodType}:{})},E?{fulfillmentDetails:{shippingAttributes:E}}:{})}})}function*Cb(e,t,n,i,a){yield r.put({type:Ce,payload:jg(e,t,n,null!=i?i:Ag,a)}),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Error"}}),yield*cb(0),yield r.put({type:De,payload:{key:"offerComplete",value:2}})}function*yb(e,t){var n,i;const a=yield r.select((e=>e)),o=(null!==(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer.catalogItems)&&void 0!==i?i:[])[0];if(!(null==o?void 0:o.providerData))return void(yield r.call(t,{level:K,code:"MISSING_DEVICE_PAY_PROVIDER_DATA",message:"No provider data found on the first catalog item for device pay preparation."}));let s;try{s=JSON.parse(o.providerData)}catch(e){return void(yield r.call(t,{level:K,code:Cg,message:`Failed to parse providerData for catalog item ${o.catalogItemId}.`}))}const l=s.stripeAccountId,c=s.merchantName,d=s.countryCode,u={stripeAccountId:"string"==typeof l?l:void 0,merchantName:"string"==typeof c?c:void 0,countryCode:"string"==typeof d?d:void 0,currency:o.currency},p=ub(e,t);yield r.fork(pb,p,t),yield r.put({type:Le,payload:{name:"PREPARE_DEVICE_PAY_EVENT",body:u}})}function*mb(e,t){var n,i,a;const{payload:{success:o,response:s,error:l,cancelled:c,retryable:d,purchaseId:u},context:{catalogItem:p,quantity:f,providerId:h,paymentProvider:v}}=t;return c?(yield*lb(p.instanceGuid,"DevicePayCancelled",v),yield r.put({type:Ce,payload:jg(p,f,h,hg,u)}),void(yield*cb(0))):o||!0!==d?void(o?s&&s.success?(yield*function*(e,t,n){yield r.put({type:Ce,payload:Tg(e,t,n)}),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Success"}}),yield*cb(0),yield r.put({type:De,payload:{key:"offerComplete",value:1}})}(p,f,u),yield*lb(p.instanceGuid,"DevicePaySucceeded",v)):(yield*Cb(p,f,h,null!==(n=null==s?void 0:s.reason)&&void 0!==n?n:vg,u),yield*lb(p.instanceGuid,"DevicePayFailed",v)):(yield r.call(e,{level:K,code:rg,message:`Device pay response is not successful: ${JSON.stringify(l)}`}),yield*Cb(p,f,h,null!==(a=null!==(i=null==l?void 0:l.code)&&void 0!==i?i:null==l?void 0:l.message)&&void 0!==a?a:vg,u),yield*lb(p.instanceGuid,"DevicePayFailed",v))):(yield*lb(p.instanceGuid,"DevicePayRetryableFailure",v),yield r.put({type:Ce,payload:jg(p,f,h,"DEVICE_PAY_RETRYABLE_DECLINE",u)}),yield*cb(0),void(yield r.put({type:be,payload:{key:Ie,value:1}})))}function*gb(e){"Dismissed"===e.payload.event&&(yield r.put({type:Le,payload:{name:"ABORT_DEVICE_PAY_EVENT"}}),yield*cb(0))}function*bb(e,t,n){var i,a;try{for(;;){const t=yield r.take(e);if(t)switch(t.type){case"DEVICE_PAY_TRANSACTION_DETAILS_READY":yield r.put({type:Gy,payload:t.data}),yield r.put({type:Sy,payload:{event:"Checkout",targetStep:"ViewTransactionDetails",offerPositionIndex:n}});break;case"DEVICE_PAY_LOADING":yield r.put({type:Sy,payload:{event:"Checkout",targetStep:"Confirmation",offerPositionIndex:n}}),yield r.put({type:Zy});break;case"DEVICE_PAY_SUCCESS":{yield*Lb("ProcessingState",0),yield r.put({type:"PAYPAL/SUCCESS"});const e=yield r.select((e=>e.paypalPurchaseContext));return e&&(yield r.put({type:Ce,payload:Tg(e.catalogItem,e.quantity)})),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Success"}}),void(yield r.put({type:De,payload:{key:"offerComplete",value:1}}))}case"DEVICE_PAY_FAILURE":{yield*Lb("ProcessingState",0),yield r.put({type:"PAYPAL/FAILURE"});const e=yield r.select((e=>e.paypalPurchaseContext));return e&&(yield r.put({type:Ce,payload:jg(e.catalogItem,e.quantity,e.providerId,null!==(i=t.reason)&&void 0!==i?i:Ag)})),yield r.put({type:Oy,payload:{event:"Completed",completionReason:"Error"}}),void(yield r.put({type:De,payload:{key:"offerComplete",value:2}}))}case"DEVICE_PAY_CANCEL":return yield*Lb("ProcessingState",0),yield r.put({type:"PAYPAL/CANCEL"}),void(yield r.put({type:Sy,payload:{event:"Checkout",targetStep:"ViewOffer",offerPositionIndex:n}}))}}}catch(e){yield r.call(t,{level:K,code:"PAYPAL_CHANNEL_ERROR",message:null!==(a=e.message)&&void 0!==a?a:"Unknown error in PayPal event channel"})}finally{e.close()}}function*Eb(e,t){var n,i;const a=yield r.select((e=>e));(null!==(i=null===(n=null==a?void 0:a.staticData)||void 0===n?void 0:n.offer.catalogItems)&&void 0!==i?i:[])[0]?yield r.put({type:Le,payload:{name:"PREPARE_DEVICE_PAY_EVENT",body:{paymentProvider:"Paypal"}}}):yield r.call(t,{level:K,code:"MISSING_PAYPAL_CATALOG_ITEM",message:"No catalog items found for PayPal preparation."})}function*Ib(e,t,n){var i,a,o,l,c,d;const u=yield r.select((e=>e)),p=null!==(a=null===(i=null==u?void 0:u.staticData)||void 0===i?void 0:i.offer.accountId)&&void 0!==a?a:"";yield r.put({type:By,payload:{catalogItem:n.payload.catalogItem,quantity:n.payload.quantity,providerId:p}}),yield*Lb("ProcessingState",1),yield r.put({type:Ce,payload:{name:"SignalCartItemInstantPurchaseInitiated",parentGuid:n.payload.catalogItem.instanceGuid,objectData:{catalogItemId:n.payload.catalogItem.catalogItemId,quantity:n.payload.quantity}}});const f=null==u?void 0:u.fulfillmentDetails,h=null!==(l=null===(o=null==u?void 0:u.staticData)||void 0===o?void 0:o.position)&&void 0!==l?l:0,v=function(e,t){return s.eventChannel((n=>e.onEvent(...["DEVICE_PAY_TRANSACTION_DETAILS_READY","DEVICE_PAY_LOADING","DEVICE_PAY_SUCCESS","DEVICE_PAY_FAILURE","DEVICE_PAY_CANCEL"].map((e=>({name:e,source:"partner",callback:i=>{if("DEVICE_PAY_TRANSACTION_DETAILS_READY"===e)!function(e){return"object"==typeof e&&null!==e&&"totalAmount"in e&&"tax"in e&&"shippingFee"in e&&"currency"in e&&"merchantName"in e}(i)?t({level:K,code:"MALFORMED_PAYPAL_DATA",message:`Malformed transaction details received from PayPal: ${JSON.stringify(i)}`}):n({type:"DEVICE_PAY_TRANSACTION_DETAILS_READY",data:i});else if("DEVICE_PAY_FAILURE"===e){const e=function(e){return"object"==typeof e&&null!==e&&"reason"in e&&"string"==typeof e.reason}(i)?i.reason:void 0;n({type:"DEVICE_PAY_FAILURE",reason:e})}else n({type:e})}}))))))}(e,t);yield r.fork(bb,v,t,h),yield r.put({type:Le,payload:{name:"INITIATE_DEVICE_PAY_EVENT",body:Object.assign(Object.assign({upsellItems:[{cartItemId:n.payload.catalogItem.cartItemId,catalogItemId:n.payload.catalogItem.catalogItemId,title:n.payload.catalogItem.title,quantity:n.payload.quantity,unitPrice:n.payload.catalogItem.price,totalPrice:n.payload.catalogItem.price*n.payload.quantity,currency:null!==(c=n.payload.catalogItem.currency)&&void 0!==c?c:""}],totalUpsellPrice:n.payload.catalogItem.price*n.payload.quantity,currency:null!==(d=n.payload.catalogItem.currency)&&void 0!==d?d:""},f&&{fulfillmentDetails:f}),{paymentDetails:{paymentProvider:"Paypal",paymentMethod:"PAYPAL"}})}})}function*xb(){yield r.put({type:Le,payload:{name:"COMPLETE_DEVICE_PAY_EVENT"}})}function*Lb(e,t){yield r.put({type:be,payload:{key:e,value:t}})}const Db={InitiateTax:function*(){const e=yield r.select((e=>e.selectedItem));e&&(yield r.put({type:Hy,payload:{catalogItem:e}}))}};function*wb(e,t){yield r.call(e.globalDispatch.bind(e),{type:we,payload:{event:t}})}function*Sb(e,t){yield r.all([r.spawn(Og),r.spawn(yb,e,t),r.spawn(Eb,e,t),r.spawn(Wg,e,t),r.takeEvery(Sy,ab.bind(null,t)),r.takeEvery(ye,gb),r.takeEvery(Dy,kg),r.takeLatest(Ay,Vg.bind(null,e,t)),r.takeLatest(Ty,Rg.bind(null,t)),r.takeLatest(jy,Hg.bind(null,t)),r.takeLatest(My,_g.bind(null)),r.takeEvery(Hy,Yg.bind(null,e,t)),r.takeLatest(Py,vb.bind(null,e,t)),r.takeLatest($y,Ib.bind(null,e,t)),r.takeLatest(Zy,xb),r.takeEvery(Fy,fb.bind(null,t)),r.takeLatest(Ny,mb.bind(null,t)),r.takeEvery(le,sb.bind(null,e)),r.takeEvery(Me,Tv.bind(null,e,t)),r.takeEvery(Ve,rb),r.takeEvery(wy,wb.bind(null,e,"selectedCatalogItem")),r.takeEvery(He,Ml.bind(null,e,Db)),r.takeEvery("*",jl.bind(null,[le,Me,He],e))])}Object.assign(Object.assign({},Be),{INITIATE_INSTANT_PURCHASE:Ay,INSTANT_PURCHASE_PARTNER_RESPONSE:Ty,UPSELL_ITEM_INSTANT_PURCHASE_PARTNER_RESPONSE:jy,INSTANT_PURCHASE_WSDK_RESPONSE:My});const Ab=(new Ai).withAppFactory((function(a){var o;if(a.rootElement){const r=n.createRoot(a.rootElement),c=ag({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion},fulfillmentDetails:ng(a.offerData)}),d=function(e,t,n=ag()){const i=s(),a=l.configureStore({reducer:ig,devTools:{name:"Instant Purchase"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(Sb,e,t),a}(a.gateway,a.logger,c);r.render(e.jsx(t.StrictMode,{children:e.jsxs(Bi,{info:{referralCreativeId:(null===(o=a.offerData.creative.referralCreativeId)||void 0===o?void 0:o.toString())||"N/A"},children:[e.jsx(Ar,{}),e.jsx(i.Provider,{store:d,children:e.jsx(Dr,{settings:a,dispatch:d.dispatch,children:e.jsx(tg,{})})})]})}))}}));var Tb=Object.freeze({__proto__:null,moduleConnectorBuilder:Ab});const jb=t.createContext(null),Mb=({children:n})=>{var i;const[a,o]=t.useState([]),[r,s]=t.useState(0),[l,c]=t.useState(0),d=ti();return t.useEffect((()=>{let e=0;const t=a.length,n=setInterval((()=>{e=e+1>=t?0:e+1,s(e)}),l);return()=>clearInterval(n)}),[l,a]),e.jsx(jb.Provider,{value:{images:a,activeIndex:r,duration:l,setImages:o,setActiveIndex:s,setDuration:c},children:e.jsx(ei,{value:d({data:{"image.title":null===(i=a[r])||void 0===i?void 0:i.title}},"creativeCopy"),children:n})})};function Ob({active:n,duration:i,containerStyles:a,indicatorStyles:o}){const r=t.useRef(null);return t.useEffect((()=>{n&&r.current&&function(e,t){const n="animate"in e&&"onfinish"in Animation.prototype&&"oncancel"in Animation.prototype&&"finish"in Animation.prototype,i=[{width:0},{width:"100%"}];if(n){const n=e.animate(i,{duration:t,iterations:1});return()=>{n.finish()}}}(r.current,i)}),[n]),e.jsx("div",{style:Object.assign({position:"relative",height:"2px",width:"100%",backgroundColor:"#FFFFFF66"},a),children:e.jsx("span",{ref:r,style:Object.assign({animationIterationCount:"infinite",animationFillMode:"forwards",animationTimingFunction:"linear",position:"absolute",top:0,left:0,height:"100%",backgroundColor:"#FFF",width:n?"100%":0},o)})})}function kb(e){const n=t.useContext(Ni),i=[];return e.forEach((e=>{const t=n(`${e}.src`,"copy"),a=n(`${e}.title`,"copy");if(void 0===t)return;const o=function(e={}){return Object.assign({light:"https://plus.unsplash.com/premium_photo-1675826774817-fe983ceb0475?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80",dark:"https://images.unsplash.com/photo-1679941734238-56628f5991f7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=200&q=80"},e)}({light:t,title:a});i.push(o)})),i}function Vb({schema:n,testId:i}){const a=JSON.parse(n.data),{styles:o,duration:r,imageKeys:s}=a,l=t.useContext(jb),c=kb(s);return t.useEffect((()=>{null==l||l.setImages(c),null==l||l.setDuration(r)}),[]),e.jsxs("div",{"data-testid":i,style:Object.assign({position:"relative",flexShrink:1,flexGrow:0,width:"100%"},o.elements.own),children:[t.Children.toArray(c.map(((t,n)=>e.jsx("img",{src:t.light,alt:t.title,style:Object.assign({opacity:n===(null==l?void 0:l.activeIndex)?1:0,position:0===n?"relative":"absolute",display:0===n?"block":"",top:0,width:"100%",height:"100%",maxHeight:"100%",maxWidth:"100%",transition:"opacity 300ms ease-in-out",objectFit:"contain"},o.elements.image)})))),e.jsx("div",{style:Object.assign({display:"flex",gap:"2px",width:"70%",position:"absolute",margin:"0 15%",bottom:"8px",zIndex:20,justifyContent:"center"},o.elements.indicatorWrapper),children:t.Children.toArray(c.map(((t,n)=>e.jsx(Ob,{duration:r,active:n===(null==l?void 0:l.activeIndex),containerStyles:o.elements.indicatorContainer,indicatorStyles:o.elements.indicator}))))})]})}const Rb={allowedTags:["em","strong","a","br","u","p","li","ul","ol","span"],allowedAttributes:{a:["href","target"],strong:[],em:[],br:[],u:[],p:[],ol:[],ul:[],li:[],span:[]},allowedSchemes:["http","https"]},Hb=new Map([["&","_;^;_"]]),_b=new RegExp(`<a *(?=${Rb.allowedAttributes.a.join("|")}|>)`,"g"),Pb=new RegExp("<span*>","g"),Nb=new RegExp(`<a *(?:(?:${Rb.allowedAttributes.a.filter((e=>"href"!==e)).join("|")})="[^"]*")* *href="([^"]+)"`,"g"),Fb=new RegExp("(<br *?>)|(<br *?/>)","g"),$b="<br/>";function Zb(n){const i=ti(),a=Ri(),o=t.useMemo((()=>{const e=i(n.schema.value);if(!function(e){const t=function(e){return e.replaceAll(Nb,((e,t)=>{const n=t.replaceAll("&",Hb.get("&"));return e.replace(t,n)})).replaceAll(Fb,$b)}(e);return t===u(t,Rb)}(e))throw new W("FAILED_SANITISING_HTML","Invalid HTML tags");return e}),[n.schema.value,i]),{tabIndex:r,styles:s,isDisabled:l}=b(a);return o?e.jsx(qa,{styles:n.schema.styles,children:({classnames:t})=>{const i=[(null==t?void 0:t.link)?`class = "${null==t?void 0:t.link}"`:"",l?'tabindex="-1"':"",l?"style=\"pointer-events: 'none'; user-select: none;\"":"",l?'aria-disabled="true"':""].filter((e=>e.length>0));return a=o,new RegExp("</(p|ul|ol)>").test(a)?e.jsx("div",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(_b,`<a ${i.join(" ")}`).replace(Pb,`<span${(null==t?void 0:t.span)?` class=${t.span}`:""}>`)}}):e.jsx("p",{tabIndex:r,style:s,"aria-hidden":l,className:null==t?void 0:t.own,"data-testid":n.testId,"data-e2e":"RichText",dangerouslySetInnerHTML:{__html:o.replace(_b,`<a ${i.join(" ")}`).replace(Pb,`<span${(null==t?void 0:t.span)?` class=${t.span}`:""}>`)}});var a}}):null}function Gb({schema:n}){const i=wn(),a=fn(Wi(),si()),o=JSON.parse(n.data),[r]=d({loop:!1,align:"start",slidesToScroll:2,containScroll:"trimSnaps"}),{styles:s,body:{tierItems:l}}=o;if(!l||!l.length)return;const c=l.length>2;return e.jsx("div",{className:a`
|
|
188
188
|
position: relative;
|
|
189
189
|
`,"data-testid":"ProductTierCarousel",children:e.jsx("div",Object.assign({},c&&{ref:r},{className:a`
|
|
190
190
|
width: 100%;
|
|
@@ -223,24 +223,24 @@
|
|
|
223
223
|
background-color: ${(null===(d=null==s?void 0:s.primaryColor)||void 0===d?void 0:d.light)||"#F9FAFB"};
|
|
224
224
|
color: #f9fafb;
|
|
225
225
|
}
|
|
226
|
-
`,children:t.Children.toArray(n.map((e=>i(e))))})})))})}))})}const
|
|
227
|
-
${
|
|
228
|
-
`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M14.2951 18L15.7051 16.59L11.1251 12L15.7051 7.41L14.2951 6L8.29508 12L14.2951 18Z",fill:"#ffffff"})})})}function
|
|
229
|
-
${
|
|
230
|
-
`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z",fill:"#ffffff"})})})}function
|
|
226
|
+
`,children:t.Children.toArray(n.map((e=>i(e))))})})))})}))})}const Bb=(e,t)=>`\n position: absolute;\n top: 0;\n ${t?"right: 0;":"left: 0;"}\n bottom: 0;\n opacity: 0;\n z-index: 10;\n padding: 0 16px;\n transition: opacity 200ms ease-in-out;\n pointer-events: ${e?"none":"auto"};\n background: linear-gradient(${t?"":"-"}90deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.70) 100%);\n &:hover {\n opacity: ${e?0:1};\n }\n`;function Ub({disabled:t,onClick:n}){const i=fn(Wi(),si());return e.jsx("button",{onClick:n,disabled:t,className:i`
|
|
227
|
+
${Bb(t)}
|
|
228
|
+
`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M14.2951 18L15.7051 16.59L11.1251 12L15.7051 7.41L14.2951 6L8.29508 12L14.2951 18Z",fill:"#ffffff"})})})}function zb({disabled:t,onClick:n}){const i=fn(Wi(),si());return e.jsx("button",{onClick:n,disabled:t,className:i`
|
|
229
|
+
${Bb(t,!0)}
|
|
230
|
+
`,children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:e.jsx("path",{d:"M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z",fill:"#ffffff"})})})}function qb(e){const n=t.useContext(Ni);return e.map((e=>({src:n(`${e}.link.src`,"copy"),open:n(`${e}.link.open`,"copy")})))}function Kb(e){return{type:"StaticImage",node:{url:e,styles:{elements:{own:[{default:{border:{borderRadius:5,borderWidth:"0"},dimension:{width:{type:"percentage",value:100}}}}]}}}}}function Wb(e,t){return{type:"CreativeResponse",node:{responseKey:"positive",styles:{elements:{own:[{default:{spacing:{padding:"0"},background:{backgroundColor:{light:"#F9FAFB"}},border:{borderWidth:"0"}}}]}},children:t?[Kb(t)]:[]}}}function Yb({schema:n}){var i,a;const o=wn(),r=fn(Wi(),si()),s=function(e){try{return JSON.parse(e.data)}catch(e){return null}}(n),[l,c]=[kb((null===(i=null==s?void 0:s.body)||void 0===i?void 0:i.imageKeys)||[]),qb((null===(a=null==s?void 0:s.body)||void 0===a?void 0:a.imageKeys)||[])],u=On(),p=u.creative.responseOptionsMap.positive,{carousel:f,styles:h}=(null==s?void 0:s.body)||{},v=(null==f?void 0:f.slidesToScroll)||3,C=(null==f?void 0:f.aspectRatio)||"1/1",y=!(null==f?void 0:f.disabled)&&Array.isArray(l)&&l.length>2,m=y?l:null==l?void 0:l.slice(0,v),[g,b]=d({loop:!1,align:"start",slidesToScroll:v,containScroll:"trimSnaps"}),{prevBtnDisabled:E,nextBtnDisabled:I,onPrevButtonClick:x,onNextButtonClick:L}=function(e){const[n,i]=t.useState(!0),[a,o]=t.useState(!0);return t.useEffect((()=>{if(!e)return;const t=()=>{i(!e.canScrollPrev()),o(!e.canScrollNext())};t(),e.on("reInit",t).on("select",t)}),[e]),{prevBtnDisabled:n,nextBtnDisabled:a,onPrevButtonClick:e?e.scrollPrev:void 0,onNextButtonClick:e?e.scrollNext:void 0}}(b);return s&&m&&m.length&&p?e.jsxs("div",{"data-testid":"product-catalog-carousel",className:r`
|
|
231
231
|
position: relative;
|
|
232
232
|
margin: 8px 0;
|
|
233
233
|
${h||""}
|
|
234
|
-
`,children:[y?e.jsx(
|
|
234
|
+
`,children:[y?e.jsx(Ub,{onClick:x,disabled:E}):null,e.jsx("div",Object.assign({},y&&{ref:g},{className:r`
|
|
235
235
|
width: 100%;
|
|
236
236
|
margin: auto;
|
|
237
237
|
overflow: hidden;
|
|
238
238
|
`,children:e.jsx("div",{className:r`
|
|
239
239
|
display: flex;
|
|
240
240
|
gap: 16px;
|
|
241
|
-
`,children:t.Children.toArray(m.map(((t,n)=>{var i,a;const s=Object.assign(Object.assign({},p),{url:null===(i=null==c?void 0:c[n])||void 0===i?void 0:i.src}),l=Object.assign(Object.assign({},u),{creative:Object.assign(Object.assign({},u.creative),{responseOptionsMap:Object.assign(Object.assign({},u.creative.responseOptionsMap),{positive:s})})});return e.jsx(
|
|
241
|
+
`,children:t.Children.toArray(m.map(((t,n)=>{var i,a;const s=Object.assign(Object.assign({},p),{url:null===(i=null==c?void 0:c[n])||void 0===i?void 0:i.src}),l=Object.assign(Object.assign({},u),{creative:Object.assign(Object.assign({},u.creative),{responseOptionsMap:Object.assign(Object.assign({},u.creative.responseOptionsMap),{positive:s})})});return e.jsx(Mn,{context:l,children:e.jsx("div",{"data-testid":"carousel-item",className:r`
|
|
242
242
|
min-width: 0;
|
|
243
243
|
overflow: hidden;
|
|
244
244
|
aspect-ratio: ${C};
|
|
245
245
|
${y?"flex: 0 0 33%;":`width: ${100/v}%;`}
|
|
246
|
-
`,children:o((null===(a=null==c?void 0:c[n])||void 0===a?void 0:a.src)?
|
|
246
|
+
`,children:o((null===(a=null==c?void 0:c[n])||void 0===a?void 0:a.src)?Wb(c[n],t):Kb(t))})})})))})})),y?e.jsx(zb,{onClick:L,disabled:I}):null]}):null}function Jb({schema:t}){const n=JSON.parse(t.data),{styles:i,content:a,smallFontSize:o,largeFontSize:r}=n,s=ti(),l=`\n @keyframes textAnimation {\n 0% { transform: scale(1); }\n 42% { transform: scale(1.2); } /* 800ms out of 1900ms cycle */\n 60% { transform: scale(1.2); }\n 100% { transform: scale(1); }\n }\n\n .animated-text {\n font-size: ${o}px;\n animation: textAnimation 1.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;\n }\n `;return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:l}),e.jsx("p",{style:Object.assign({},i),className:"animated-text",children:s(a)})]})}const Xb={EscapeHatch:function(t){if("EscapeHatch"===t.type&&t.node.data){const n=JSON.parse(t.node.data);switch(null==n?void 0:n.type){case"ImageCarousel":return e.jsx(Vb,{schema:t.node});case"RichText":return e.jsx(Zb,{schema:n.node});case"ProductTierCarousel":return e.jsx(Gb,{schema:t.node});case"ProductCatalogCarousel":return e.jsx(Yb,{schema:t.node});case"TextAnimate":return e.jsx(Jb,{schema:t.node});default:return}}}};function Qb(){const t=ki(),n=wn();return e.jsx(Mb,{children:e.jsx(Sn,{value:n,overrides:Xb,children:e.jsx(Dn,{children:e=>e(t)})})})}const eE={staticData:mv,childLayouts:yv};function tE(e={}){return Object.assign({staticData:null,childLayouts:{launched:{}}},e)}function nE(e){let t,n,i;return s.eventChannel((a=>(Promise.race([e.onClose().then((()=>"CLOSED")),new Promise((n=>{t=e.onEvent("PLUGIN_TRANSITION_OFFER_SUCCESS").subscribe((()=>{n("SUCCESS")}))})),new Promise((t=>{n=e.onEvent("PLUGIN_TRANSITION_OFFER_CLOSE").subscribe((()=>{t("UNSPECIFIED")}))})),new Promise((e=>{i=e}))]).then((e=>{"END"!==e&&(a(e),a(s.END))})),()=>{null==t||t.unsubscribe(),null==n||n.unsubscribe(),i("END")})))}function*iE(e,t){for(;;){switch(yield r.take(e)){case"CLOSED":t({type:ye,payload:{event:"Dismissed",dismissalReason:"Implicit"}});break;case"SUCCESS":t({type:ye,payload:{event:"Completed",completionReason:"Success"}});break;case"UNSPECIFIED":t({type:ye,payload:{event:"Completed",completionReason:"Unspecified"}})}}}function*aE(e,t,n){const i=ue(n.payload)||pe(n.payload)||de(n.payload)?n.payload:n.payload.responseOption;switch(i.action){case"Url":case"CaptureOnly":yield r.call(e.globalDispatch.bind(e),n);break;case"Fulfillment":yield r.put({type:Le,payload:{name:"OFFER_ENGAGEMENT"}}),i.isPositive&&(yield r.put({type:Le,payload:{name:"POSITIVE_ENGAGEMENT"}})),yield*function*(e,t,n){if(ce(n)){const{responseOption:i,fulfillment:a}=n;yield r.put({type:Ce,payload:{name:"SignalResponse",parentGuid:i.instanceGuid,responseActionPayload:{name:"Fulfillment"}}});const o=yield r.call(e.createChildPlugin.bind(e),a);if("object"==typeof o&&"onClose"in o){const t=yield r.call(nE,o);if("object"==typeof t&&"take"in t)return void(yield r.call(iE,t,e.globalDispatch.bind(e)))}yield r.call(t,{level:z,code:"UNEXPECTED_NEXT_VALUE_IN_SAGA",message:'Received an unexpected input at a step in the saga "handleFullfillmentResponse" and could not continue.'})}else yield r.call(t,{level:z,code:"INVALID_FULFILLMENT_PAYLOAD",message:`Fulfillment payload is invalid, fulfillment: ${n}`})}(e,t,n.payload)}}function*oE(e,t){yield r.all([r.takeLatest(le,aE.bind(null,e,t)),r.takeEvery(Me,Tv.bind(null,e,t)),r.takeEvery(He,Ml.bind(null,e,void 0)),r.takeEvery("*",jl.bind(null,[le,Me,He],e))])}Object.assign({},Be);const rE=(new Ai).withAppFactory((function(a){if(a.rootElement){const o=n.createRoot(a.rootElement),r=tE({staticData:{offer:a.offerData,position:a.offerPositionIndex,schemaVersion:a.schemaVersion}}),c=function(e,t,n=tE()){const i=s(),a=l.configureStore({reducer:eE,devTools:{name:"layouts-xp-sandbox"},preloadedState:n,middleware:e=>e({thunk:!1}).concat(i)});return i.run(oE,e,t),a}(a.gateway,a.logger,r);o.render(e.jsx(t.StrictMode,{children:e.jsxs(Bi,{info:{layoutType:"LayoutVariant",referralCreativeId:String(a.offerData.creative.referralCreativeId)||"N/A"},children:[e.jsx(Ar,{}),e.jsx(i.Provider,{store:c,children:e.jsx(Dr,{settings:a,dispatch:c.dispatch,children:e.jsx(Qb,{})})})]})}))}}));var sE=Object.freeze({__proto__:null,moduleConnectorBuilder:rE});exports.BehaviorSubject=class extends lv{constructor(e){super(),this._lastValue=e}subscribe(e,t,n){const i=rv(e,t,n);return i.next(this._lastValue),super.subscribe(i)}next(e){return this._lastValue=e,super.next(e)}getValue(){return this._lastValue}},exports.CatchSubscriber=uv,exports.DisplayPreset={FULLSCREEN:"DisplayPreset.FULLSCREEN",EMBEDDED:"DisplayPreset.EMBEDDED",ATTACHED:"DisplayPreset.ATTACHED"},exports.ErrorLevel={ERROR:"ERROR",INFO:"INFO",WARNING:"WARNING"},exports.FirstValueFromError=cv,exports.Observable=sv,exports.ReplaySubject=class extends lv{constructor(e=-1){super(),this._buffer=[],this._error=null,this._bufferLength=e}subscribe(e,t,n){const i=rv(e,t,n);let a=!0;return this._buffer.filter((e=>(e===this._error&&(a=!1),a))).forEach((e=>i.next(e))),this._error&&i.error(this._error),i.error=e=>{this._error=e,t(e)},super.subscribe(i)}next(e){this._error||this._addToBuffer(e),super.next(e)}error(e){this._error=e,this._addToBuffer(e),super.error(e)}_addToBuffer(e){-1!==this._bufferLength&&this._buffer.length===this._bufferLength?(this._buffer.shift(),this._buffer.push(e)):this._buffer.push(e)}},exports.Subject=lv,exports.Subscription=av,exports.addCatchToSubscriber=function(e,t){return new uv(e,t)},exports.combineLatest=(...e)=>new sv((t=>{if(!e.length)return t.complete(),ov;const n=new av,i=new Array(e.length),a=new Array(e.length),o=e=>!i.includes(void 0)&&t.next(e);for(let t=0;t<e.length;t++){const r=e[t].subscribe((e=>{a[t]=e,i[t]=!0,o(a)}));n.add(r)}return()=>n.unsubscribe()})),exports.dcuiUtils=hv,exports.filter=e=>t=>(!1===e(t.value)&&(t.skip=!0),t),exports.first=e=>t=>(e?!0===e(t.value)?t.complete=!0:t.skip=!0:t.complete=!0,t),exports.firstValueFrom=(e,t)=>{let n;const i="object"==typeof t;return new Promise(((a,o)=>{n=e.subscribe(a,o,(()=>{i?a(t.defaultValue):o(new Error(cv.CompletedBeforeEmit))}))})).then((e=>(n.unsubscribe(),e))).catch((e=>{throw n.unsubscribe(),e}))},exports.fromEvent=(e,t)=>new sv((n=>{const i=e=>n.next(e);return e.addEventListener(t,i),()=>e.removeEventListener(t,i)})),exports.fromPromise=function(e){return new sv((t=>{e.then((e=>{t.next(e),t.complete()}),(e=>t.error(e)))}))},exports.init=function(a,o){return nv(this,void 0,void 0,(function*(){const{pluginId:r,pageInstanceGuid:s}=yield function(e){return Promise.allSettled([(e.contextService.getUId||e.contextService.getPluginInstanceId)(),e.contextService.getRoktPageInstanceGuid()]).then((([e,t])=>({pluginId:"fulfilled"===e.status?e.value:R.pluginId,pageInstanceGuid:"fulfilled"===t.status?t.value:R.pageInstanceGuid}))).catch((()=>R))}(o),l=n.createRoot(a),c=tv(o);l.render(e.jsxs(t.StrictMode,{children:[e.jsx(Ar,{}),e.jsx(Xi,{children:e.jsx(i.Provider,{store:c,children:e.jsxs(Ki.Provider,{value:r,children:[e.jsx(Xl,{}),e.jsx(An.Provider,{value:a,children:e.jsx(Ro,{extensions:iv,extendStore:c.extend.bind(c),children:e.jsx(fp,{pageInstanceGuid:s})})})]})})})]}))}))},exports.lastValueFrom=(e,t)=>new Promise(((n,i)=>{let a;"object"==typeof t&&(a=t.defaultValue),e.subscribe((e=>a=e),(e=>i(e)),(()=>n(a)))})),exports.map=e=>t=>{const n=e(t.value);return new pv(n)},exports.merge=(...e)=>new sv((t=>{const n=new av;let i=0;for(const a of e)n.add(a.subscribe((e=>t.next(e)),(e=>t.error(e)),(()=>{i+=1,i>=e.length&&t.complete()})));return()=>n.unsubscribe()})),exports.noop=ov,exports.normaliseToObserver=rv,exports.of=(...e)=>new sv((t=>{for(const n of e)t.next(n)})),exports.pipe=e=>(...t)=>new sv((n=>{const i=e.subscribe((e=>fv(void 0,void 0,void 0,(function*(){try{let i=new pv(e);for(const e of t){const t=e(i);if(i=t.then?yield t:t,!0===i.skip||!0===i.complete)break}if(i.skip)return;n.next(i.value),!0===i.complete&&n.complete()}catch(e){n.error(e)}}))),(e=>n.error(e)),(()=>n.complete()));return()=>i.unsubscribe()})),exports.tap=e=>t=>(e(t.value),t);
|