1System.register(["react/jsx-runtime","@vp/ubik-fragment-react","react","@vp/swan","@vp/price-platform","@vp/tracking","@vp/ubik-context","react-dom","@vp/mcs-react-tools"],(function(en){"use strict";var P,b,L,Ke,fe,j,H,$e,Se,Ze,Je,Qe,et,tt,nt,rt,Q,at,it,Ae,ot,K,st,lt,ct,ut,dt,xe,ft,pt,gt,ht,vt,Ie;return{setters:[function(g){P=g.jsxs,b=g.jsx,L=g.Fragment},function(g){Ke=g.clientMount},function(g){fe=g.default,j=g.useState,H=g.useEffect,$e=g.useCallback,Se=g.useRef,Ze=g.createContext,Je=g.useContext},function(g){Qe=g.SwanProvider,et=g.SwanHead,tt=g.SWAN_STYLE_KEY_MAP,nt=g.getRootClassNames,rt=g.AlertBox,Q=g.Typography,at=g.Span,it=g.Link,Ae=g.Button,ot=g.Icon,K=g.getTokenCssVar,st=g.Box,lt=g.AdaptiveCarousel,ct=g.AdaptiveCarouselSlide,ut=g.FlexBox},function(g){dt=g.OfferDetails},function(g){xe=g.getTracking},function(g){ft=g.trackRuntimeEvent,pt=g.useUserContext,gt=g.track},function(g){ht=g.createPortal},function(g){vt=g.ContentfulContextProvider,Ie=g.DebugSection}],execute:(function(){var g=(e=>(e.HOLIDAY="holiday",e.HOLIDAY_GREEN="holiday-green",e.DISCOUNT="discount",e.HOLIDAY_BEIGE="holiday-beige",e.INVERSE="inverse",e.STANDARD="standard",e))(g||{}),d=(e=>(e.deDE="de-de",e.esES="es-es",e.fiFI="fi-fi",e.nlNL="nl-nl",e.itIT="it-it",e.svSE="sv-se",e.nbNO="nb-no",e.ptPT="pt-pt",e.daDK="da-dk",e.enUS="en-us",e.frCA="fr-ca",e.esUS="es-us",e.enCA="en-ca",e.nlBE="nl-be",e.enIE="en-ie",e.frBE="fr-be",e.frFR="fr-fr",e.frCH="fr-ch",e.deAT="de-at",e.deCH="de-ch",e.itCH="it-ch",e.enAU="en-au",e.enNZ="en-nz",e.enSG="en-sg",e.enIN="en-in",e.enGB="en-gb",e))(d||{});function tn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F={},ee={},Oe={},U={},W={},Me={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Me);var v={},G=v&&v.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),te=v&&v.__assign||function(){return te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},te.apply(this,arguments)};Object.defineProperty(v,"__esModule",{value:!0}),v.cloneNode=v.hasChildren=v.isDocument=v.isDirective=v.isComment=v.isText=v.isCDATA=v.isTag=v.Element=v.Document=v.CDATA=v.NodeWithChildren=v.ProcessingInstruction=v.Comment=v.Text=v.DataNode=v.Node=void 0;var A=Me,De=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),Ne(this,t)},e})();v.Node=De;var pe=(function(e){G(t,e);function t(n){var r=e.call(this)||this;return r.data=n,r}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(n){this.data=n}
vendor: 4,815 bytes, line 1
1,enumerable:!1,configurable:!0}),t})(De);v.DataNode=pe;var mt=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Text,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(pe);v.Text=mt;var Et=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Comment,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(pe);v.Comment=Et;var yt=(function(e){G(t,e);function t(n,r){var a=e.call(this,r)||this;return a.name=n,a.type=A.ElementType.Directive,a}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(pe);v.ProcessingInstruction=yt;var ge=(function(e){G(t,e);function t(n){var r=e.call(this)||this;return r.children=n,r}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var n;return(n=this.children[0])!==null&&n!==void 0?n:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(n){this.children=n},enumerable:!1,configurable:!0}),t})(De);v.NodeWithChildren=ge;var bt=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.CDATA,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(ge);v.CDATA=bt;var Tt=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Root,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(ge);v.Document=Tt;var _t=(function(e){G(t,e);function t(n,r,a,s){a===void 0&&(a=[]),s===void 0&&(s=n==="script"?A.ElementType.Script:n==="style"?A.ElementType.Style:A.ElementType.Tag);var u=e.call(this,a)||this;return u.name=n,u.attribs=r,u.type=s,u}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(n){this.name=n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var n=this;return Object.keys(this.attribs).map(function(r){var a,s;return{name:r,value:n.attribs[r],namespace:(a=n["x-attribsNamespace"])===null||a===void 0?void 0:a[r],prefix:(s=n["x-attribsPrefix"])===null||s===void 0?void 0:s[r]}})},enumerable:!1,configurable:!0}),t})(ge);v.Element=_t;function Ct(e){return(0,A.isTag)(e)}v.isTag=Ct;function Rt(e){return e.type===A.ElementType.CDATA}v.isCDATA=Rt;function kt(e){return e.type===A.ElementType.Text}v.isText=kt;function wt(e){return e.type===A.ElementType.Comment}v.isComment=wt;function St(e){return e.type===A.ElementType.Directive}v.isDirective=St;function At(e){return e.type===A.ElementType.Root}v.isDocument=At;function nn(e){return Object.prototype.hasOwnProperty.call(e,"children")}v.hasChildren=nn;function Ne(e,t){t===void 0&&(t=!1);var n;if(kt(e))n=new mt(e.data);else if(wt(e))n=new Et(e.data);else if(Ct(e)){var r=t?Pe(e.children):[],a=new _t(e.name,te({},e.attribs),r);r.forEach(function(i){return i.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=te({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=te({},e["x-attribsPrefix"])),n=a}else if(Rt(e)){var r=t?Pe(e.children):[],s=new bt(r);r.forEach(function(c){return c.parent=s}),n=s}else if(At(e)){var r=t?Pe(e.children):[],u=new Tt(r);r.forEach(function(c){return c.parent=u}),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else if(St(e)){var o=new yt(e.name,e.data);e["x-name"]!=null&&(o["x-name"]=e["x-name"],o["x-publicId"]=e["x-publicId"],o["x-systemId"]=e["x-systemId"]),n=o}else throw new Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}v.cloneNode=Ne;function Pe(e){for(var t=e.map(function(r){return Ne(r,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}(function(e){var t=W&&W.__createBinding||(Object.create?(function(o,i,c,l){l===void 0&&(l=c);var h=Object.getOwnPropertyDescriptor(i,c);(!h||("get"in h?!i.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return i[c]}}),Object.defineProperty(o,l,h)}):(function(o,i,c,l){l===void 0&&(l=c),o[l]=i[c]})),n=W&&W.__exportStar||function(o,i){for(var c in o)c!=="default"&&!Object.prototype.hasOwnProperty.call(i,c)&&t(i,o,c)};
1Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=Me,a=v;n(v,e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=(function(){function o(i,c,l){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof c=="function"&&(l=c,c=s),typeof i=="object"&&(c=i,i=void 0),this.callback=i??null,this.options=c??s,this.elementCB=l??null}return o.prototype.onparserinit=function(i){this.parser=i},o.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(i){this.handleCallback(i)},o.prototype.onclosetag=function(){this.lastNode=null;var i=this.tagStack.pop();this.options.withEndIndices&&(i.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(i)},o.prototype.onopentag=function(i,c){var l=this.options.xmlMode?r.ElementType.Tag:void 0,h=new a.Element(i,c,void 0,l);this.addNode(h),this.tagStack.push(h)},o.prototype.ontext=function(i){var c=this.lastNode;if(c&&c.type===r.ElementType.Text)c.data+=i,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var l=new a.Text(i);this.addNode(l),this.lastNode=l}},o.prototype.oncomment=function(i){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=i;return}var c=new a.Comment(i);this.addNode(c),this.lastNode=c},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var i=new a.Text(""),c=new a.CDATA([i]);this.addNode(c),i.parent=c,this.lastNode=i},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(i,c){var l=new a.ProcessingInstruction(i,c);this.addNode(l)},o.prototype.handleCallback=function(i){if(typeof this.callback=="function")this.callback(i,this.dom);else if(i)throw i},o.prototype.addNode=function(i){var c=this.tagStack[this.tagStack.length-1],l=c.children[c.children.length-1];this.options.withStartIndices&&(i.startIndex=this.parser.startIndex),this.options.withEndIndices&&(i.endIndex=this.parser.endIndex),c.children.push(i),l&&(i.prev=l,l.next=i),i.parent=c,this.lastNode=null},o})();e.DomHandler=u,e.default=u})(W);var xt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,n){return t[n.toLowerCase()]=n,t},{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")})(xt),Object.defineProperty(U,"__esModule",{value:!0}),U.formatAttributes=It,U.hasOpenTag=on,U.escapeSpecialCharacters=sn,U.revertEscapedCharacters=Ot,U.formatDOM=Mt;var he=W,ne=xt;function rn(e){return ne.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function It(e){for(var t={},n=0,r=e.length;n<r;n++){var a=e[n];t[a.name]=a.value}return t}function an(e){e=e.toLowerCase();var t=rn(e);return t||e}function on(e,t){var n="<"+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;var a=e[r+n.length];return a===">"||a===" "||a===" "||a===` 2`||a==="\r"||a==="/"}function sn(e){return e.replace(ne.CARRIAGE_RETURN_REGEX,ne.CARRIAGE_RETURN_PLACEHOLDER)}function Ot(e){return e.replace(ne.CARRIAGE_RETURN_PLACEHOLDER_REGEX,ne.CARRIAGE_RETURN)}function Mt(e,t,n){var r,a,s,u;t===void 0&&(t=null);for(var o=[],i,c=0,l=e.length;c<l;c++){var h=e[c];switch(h.nodeType){case 1:{var O=an(h.nodeName);
2i=new he.Element(O,It(h.attributes)),i.children=Mt(O==="template"?h.content.childNodes:h.childNodes,i);break}case 3:i=new he.Text(Ot((r=h.nodeValue)!==null&&r!==void 0?r:""));break;case 8:i=new he.Comment((a=h.nodeValue)!==null&&a!==void 0?a:"");break;default:continue}var w=(s=o[c-1])!==null&&s!==void 0?s:null;w&&(w.next=i),i.parent=t,i.prev=w,i.next=null,o.push(i)}return n&&(i=new he.ProcessingInstruction(n.substring(0,n.indexOf(" ")).toLowerCase(),n),i.next=(u=o[0])!==null&&u!==void 0?u:null,i.parent=t,o.unshift(i),o[1]&&(o[1].prev=o[0])),o}Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.default=dn;var re=U,Dt="html",ve="head",$="body",ln=/<([a-zA-Z]+[0-9]?)/,me=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Le=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},Nt=typeof window=="object"&&window.DOMParser;if(typeof Nt=="function"){var cn=new Nt,un="text/html";Le=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),cn.parseFromString(e,un)},me=Le}if(typeof document=="object"&&document.implementation){var Ee=document.implementation.createHTMLDocument();me=function(e,t){if(t){var n=Ee.documentElement.querySelector(t);return n&&(n.innerHTML=e),Ee}return Ee.documentElement.innerHTML=e,Ee}}var ye=typeof document=="object"&&document.createElement("template"),je;ye&&ye.content&&(je=function(e){return ye.innerHTML=e,ye.content.childNodes});var Pt=function(){return document.createDocumentFragment().childNodes};function dn(e){var t,n,r,a,s,u;e=(0,re.escapeSpecialCharacters)(e);var o=ln.exec(e),i=(t=o?.[1])===null||t===void 0?void 0:t.toLowerCase();switch(i){case Dt:{var c=Le(e);if(!(0,re.hasOpenTag)(e,ve)){var l=c.querySelector(ve);(n=l?.parentNode)===null||n===void 0||n.removeChild(l)}if(!(0,re.hasOpenTag)(e,$)){var l=c.querySelector($);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return c.querySelectorAll(Dt)}case ve:case $:{var h=me(e).querySelectorAll(i);return(0,re.hasOpenTag)(e,$)&&(0,re.hasOpenTag)(e,ve)?(s=(a=h[0].parentNode)===null||a===void 0?void 0:a.childNodes)!==null&&s!==void 0?s:Pt():h}default:{if(je)return je(e);var l=me(e,$).querySelector($);return(u=l?.childNodes)!==null&&u!==void 0?u:Pt()}}}var fn=ee&&ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
2Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=vn;var pn=fn(Oe),gn=U,hn=/<(![a-zA-Z\s]+)>/;function vn(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=hn.exec(e),n=t?t[1]:void 0;return(0,gn.formatDOM)((0,pn.default)(e),null,n)}var be={},D={},Te={},mn=0;Te.SAME=mn;var En=1;Te.CAMELCASE=En,Te.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
2-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const Lt=0,B=1,_e=2,Ce=3,Fe=4,jt=5,Ft=6;function yn(e){return k.hasOwnProperty(e)?k[e]:null}function S(e,t,n,r,a,s,u){this.acceptsBooleans=t===_e||t===Ce||t===Fe,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=u}const k={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{k[e]=new S(e,Lt,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{k[e]=new S(e,B,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{k[e]=new S(e,_e,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{k[e]=new S(e,_e,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{k[e]=new S(e,Ce,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{k[e]=new S(e,Ce,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{k[e]=new S(e,Fe,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{k[e]=new S(e,Ft,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{k[e]=new S(e,jt,!1,e.toLowerCase(),null,!1,!1)});const He=/[\-\:]([a-z])/g,Ue=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{const t=e.replace(He,Ue);k[t]=new S(t,B,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e
2=>{const t=e.replace(He,Ue);k[t]=new S(t,B,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(He,Ue);k[t]=new S(t,B,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{k[e]=new S(e,B,!1,e.toLowerCase(),null,!1,!1)});const bn="xlinkHref";k[bn]=new S("xlinkHref",B,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{k[e]=new S(e,B,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:Tn,SAME:_n,possibleStandardNames:Ht}=Te,Cn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Rn=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Cn+"]*$")),kn=Object.keys(Ht).reduce((e,t)=>{const n=Ht[t];return n===_n?e[t]=t:n===Tn?e[t.toLowerCase()]=t:e[t]=n,e},{});D.BOOLEAN=Ce,D.BOOLEANISH_STRING=_e,D.NUMERIC=jt,D.OVERLOADED_BOOLEAN=Fe,D.POSITIVE_NUMERIC=Ft,D.RESERVED=Lt,D.STRING=B,D.getPropertyInfo=yn,D.isCustomAttribute=Rn,D.possibleStandardNames=kn;var ae={},ie={},Ut=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,wn=/\n/g,Sn=/^\s*/,An=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,xn=/^:\s*/,In=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,On=/^[;\s]*/,Mn=/^\s+|\s+$/g,Dn=` 3`,Gt="/",Bt="*",Y="",Nn="comment",Pn="declaration";function Ln(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function a(y){var p=y.match(wn);p&&(n+=p.length);var E=y.lastIndexOf(Dn);r=~E?y.length-E:r+y.length}function s(){var y={line:n,column:r};return function(p){return p.position=new u(y),c(),p}}function u(y){this.start=y,this.end={line:n,column:r},this.source=t.source}u.prototype.content=e;function o(y){var p=new Error(t.source+":"+n+":"+r+": "+y);if(p.reason=y,p.filename=t.source,p.line=n,p.column=r,p.source=e,!t.silent)throw p}
3function i(y){var p=y.exec(e);if(p){var E=p[0];return a(E),e=e.slice(E.length),p}}function c(){i(Sn)}function l(y){var p;for(y=y||[];p=h();)p!==!1&&y.push(p);return y}function h(){var y=s();if(!(Gt!=e.charAt(0)||Bt!=e.charAt(1))){for(var p=2;Y!=e.charAt(p)&&(Bt!=e.charAt(p)||Gt!=e.charAt(p+1));)++p;if(p+=2,Y===e.charAt(p-1))return o("End of comment missing");var E=e.slice(2,p-2);return r+=2,a(E),e=e.slice(p),r+=2,y({type:Nn,comment:E})}}function O(){var y=s(),p=i(An);if(p){if(h(),!i(xn))return o("property missing ':'");var E=i(In),M=y({type:Pn,property:zt(p[0].replace(Ut,Y)),value:E?zt(E[0].replace(Ut,Y)):Y});return i(On),M}}function w(){var y=[];l(y);for(var p;p=O();)p!==!1&&(y.push(p),l(y));return y}return c(),w()}function zt(e){return e?e.replace(Mn,Y):Y}var jn=Ln,Fn=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=Un;const Hn=Fn(jn);function Un(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Hn.default)(e),a=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:o}=s;a?t(u,o,s):o&&(n=n||{},n[u]=o)}),n}var Re={};Object.defineProperty(Re,"__esModule",{value:!0}),Re.camelCase=void 0;var Gn=/^--[a-zA-Z0-9_-]+$/,Bn=/-([a-z])/g,zn=/^[^-]+$/,Vn=/^-(webkit|moz|ms|o|khtml)-/,Xn=/^-(ms)-/,Wn=function(e){return!e||zn.test(e)||Gn.test(e)},Yn=function(e,t){return t.toUpperCase()},Vt=function(e,t){return"".concat(t,"-")},qn=function(e,t){return t===void 0&&(t={}),Wn(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Xn,Vt):e=e.replace(Vn,Vt),e.replace(Bn,Yn))};Re.camelCase=qn;var Kn=Be&&Be.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},$n=Kn(ie),Zn=Re;function Ge(e,t){var n={};return!e||typeof e!="string"||(0,$n.default)(e,function(r,a){r&&a&&(n[(0,Zn.camelCase)(r,t)]=a)}),n}Ge.default=Ge;var Be=Ge;(function(e){var t=ae&&ae.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=s,e.setStyleProp=o;var n=fe,r=t(Be),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function s(l,h){return l.includes("-")?!a.has(l):!!(h&&typeof h.is=="string")}var u={reactCompat:!0};function o(l,h){if(typeof l=="string"){if(!l.trim()){h.style={};return}try{h.style=(0,r.default)(l,u)}catch{h.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var i=function(l){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(l.name)};e.canTextBeChildOfNode=i;var c=function(l){return l};e.returnFirstArg=c})(ae),Object.defineProperty(be,"__esModule",{value:!0}),be.default=tr;var oe=D,Xt=ae,Jn=["checked","value"],Qn=["input","select","textarea"],er={reset:!0,submit:!0};function tr(e,t){e===void 0&&(e={});var n={},r=!!(e.type&&er[e.type]);for(var a in e){var s=e[a];if((0,oe.isCustomAttribute)(a)){n[a]=s;continue}var u=a.toLowerCase(),o=Wt(u);if(o){var i=(0,oe.getPropertyInfo)(o);switch(Jn.includes(o)&&Qn.includes(t)&&!r&&(o=Wt("default"+u)),n[o]=s,i?.type){case oe.BOOLEAN:n[o]=!0;break;case oe.OVERLOADED_BOOLEAN:s===""&&(n[o]=!0);break}continue}Xt.PRESERVE_CUSTOM_ATTRIBUTES&&(n[a]=s)}return(0,Xt.setStyleProp)(e.style,n),n}function Wt(e){return oe.possibleStandardNames[e]}var se={},nr=se&&se.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(se,"__esModule",{value:!0}),se.default=Yt;var ze=fe,rr=nr(be),le=ae,ar={cloneElement:ze.cloneElement,createElement:ze.createElement,isValidElement:ze.isValidElement};function Yt(e,t){var n,r,a,s,u;t===void 0&&(t={});for(var o=[],i=typeof t.replace=="function",c=(n=t.transform)!==null&&n!==void 0?n:le.returnFirstArg,l=(r=t.library)!==null&&r!==void 0?r:ar,h=l.cloneElement,O=l.createElement,w=l.isValidElement,y=e.length,p=0;p<y;p++){var E=e[p];if(i){var M=(a=t.replace)===null||a===void 0?void 0:a.call(t,E,p);if(w(M)){y>1&&(M=h(M,{key:(s=M.key)!==null&&s!==void 0?s:p})),o.push(c(M,E,p));continue}}if(E.type==="text"){var Z=!E.data.trim().length;if(Z&&E.parent&&!(0,le.canTextBeChildOfNode)(E.parent)||t.trim&&Z)continue;o.push(c(E.data,E,p));continue}var N=E,I={};ir(N)?((0,le.setStyleProp)(N.attribs.style,N.attribs),I=N.attribs):N.attribs&&(I=(0,rr.default)(N.attribs,N.name));var q=void 0;switch(E.type){case"script":case"style":E.children[0]&&(I.dangerouslySetInnerHTML={__html:E.children[0].data});break;case"tag":E.name==="textarea"&&E.children[0]?I.defaultValue=E.children[0].data:!((u=E.children)===null||u===void 0)&&u.length&&(q=Yt(E.children,t));break;default:continue}y>1&&(I.key=p),o.push(c(O(E.name,I,q),E,p))}return o.length===1?o[0]:o}function ir(e){return le.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,le.isCustomComponent)(e.name,e.attribs)}(function(e){var t=F&&F.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};
3Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=o;var n=t(ee);e.htmlToDOM=n.default;var r=t(be);e.attributesToProps=r.default;var a=t(se);e.domToReact=a.default;var s=W;Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return s.Text}});var u={lowerCaseAttributeNames:!1};function o(i,c){var l;if(typeof i!="string")throw new TypeError("First argument must be a string");return i?(0,a.default)((0,n.default)(i,(l=c?.htmlparser2)!==null&&l!==void 0?l:u),c):[]}})(F);var qt=tn(F),or=qt.default||qt;const ke=(e,t,n)=>{const{eventName:r,properties:a}=e,s=xe();if(s&&r)s.track(r,a);else{const u={once:!0};window.addEventListener("trackingReady",()=>{const o=xe();o&&o.track(r,a)},u)}},sr=({visible:e,message:t,anchorRef:n})=>{const[r,a]=j(!1);H(()=>{a(!0)},[]);const s=$e(()=>n?.current?.closest("dialog[open]")??document.body,[n]);return r?ht(P(Qe,{children:[b(et,{styleSheetKeys:[tt.alertBox]}),b("div",{className:nt(),style:{position:"fixed",top:"var(--swan-sem-space-5)",left:"50%",transform:"translateX(-50%)",minWidth:"250px",width:"fit-content",zIndex:9999,background:"transparent"},children:b(rt,{skin:"success",toast:!0,dismissed:!e,onRequestDismiss:()=>{},children:t})})]}),s()):null},lr=2e3,cr=({content:e,preceedingWord:t,copyIcon:n,currentSlideIndicator:r,message:a,uniqueId:s,triggerId:u,trailingNode:o})=>{const[i,c]=j("copy"),[l,h]=j(!1),O=Se(null),w=Se(null),y=new RegExp("\\p{Emoji_Presentation}","gu"),p=[],[E,M]=j(null);if(H(()=>(M({origin:window.location.origin,href:window.location.href}),()=>{w.current&&clearTimeout(w.current)}),[]),t&&n){const m=new RegExp(t,"g");e=e.includes(t)&&t!==""?e.replace(m,t+' <span class="code-text"></span>'):e}const Z=()=>{if(n&&i==="copy"){const f=n.split(":")[1];navigator.clipboard.writeText(f),c("check"),h(!0),ke({eventName:"Coupon Copied",properties:{category:"Coupons",label:f,coupon_name:f,...s&&r==="M"&&{coupon_id:s}}}),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{c("copy"),h(!1),w.current=null},lr)}},N=(m,f,_)=>{m.preventDefault();const C=`${window.location.pathname};${f};Promo Bar;${_}`,R=`${_}:${r}`;if(ke({eventName:"Navigation Clicked",properties:{label:"Content:Promo Bar",eventDetail:C,navigationDetail:R,...s&&r==="M"&&{uniqueId:s}}}),u){const x=a.viewEventData?.pageZone;ft(u,{navigationDetail:R,...typeof x=="string"&&{pageZone:x}})}setTimeout(()=>{window.location.href=f},300)},I={replace:m=>{try{if(m.type==="text"){const f=m.data;if(typeof f=="string"&&y.test(f)){const T=f.match(y)?.[0];if(T){const[C,R]=f.split(T);return P(L,{children:[C&&b(L,{children:C}),b(at,{"aria-hidden":"true",children:T}),R&&b(L,{children:R})]})}}}}catch(f){console.error("Error reading domNode.data:",f)}if(m instanceof F.Element){const f=m,_=f.attribs&&F.attributesToProps(f.attribs);if(f.name==="p"){const T=!f.next||f.next.type!=="tag";return P("span",{style:{display:"inline"},..._,children:[F.domToReact(f.children,I),T&&o&&P(L,{children:[b(Q,{as:"span",fontSkin:"body-small",children:" | "}),o]})]})}if(f.name==="a"&&_?.href){let T="";try{const x=we=>we.map(X=>X.type==="text"?X.data??"":X instanceof F.Element?x(X.children):"").join("");T=x(f.children)}catch(x){console.error("Error reading link text:",x)}let C=_.href;if(E)try{if(new URL(C,E.origin).searchParams.get("askUserToLogin")==="true"){const X=new URL(E.href),J=new URL(X.href);J.searchParams.set("askUserToLogin","true"),C=J.toString()}}catch(x){console.warn("Error updating href:",x)}const R=b(it,{..._,id:u,href:C,fontSkin:"body-small","aria-label":T,onClick:x=>N(x,C,T),children:F.domToReact(f.children,I)});return o?(p.push(R),b(L,{})):R}if(f.name==="span"&&f.attribs.class==="code-text")return P("span",{ref:O,style:{cursor:"pointer"},children:[i&&b(Ae,{type:"button",skin:"unstyled",onClick:Z,"aria-label":i==="copy"?"Copy coupon code":"Coupon code copied",children:b(ot,{size:"standard",iconType:i,"aria-hidden":"true"})}),b(sr,{visible:l,message:"Copied",anchorRef:O})]})}return m}},q=o?e.replace(/\s*\|\s*(?=<a\b)/gi," "):e,Ye=or(q,I),qe=q.includes("<p"),Qt=o&&p.length>0;return P("span",{style:{display:"inline"},children:[b(Q,{as:"span",fontSkin:"body-small-bold",children:Ye}),!qe&&o&&P(L,{children:[b(Q,{as:"span",fontSkin:"body-small",children:" | "}),o]}),Qt&&P(L,{children:[b(Q,{as:"span",fontSkin:"body-small",children:" | "}),p.map((m,f)=>b(fe.Fragment,{children:m},`cta-link-${f}`))]})]})},ur={midnight:{code:"#2f3a53",mode:{dark:!0,standard:!1},displayName:"Midnight"},warmWhite:{code:"#f6f6ec",mode:{dark:!1,standard:!0},displayName:"Warn White"},white:{code:"#ffffff",mode:{dark:!1,standard:!0},displayName:"White"},vistaBlue:{code:"#6fd0f5",mode:{dark:!1,standard:!0},displayName:"Vista Blue"},mediumBlue:{code:"#2BA8E0",mode:{dark:!1,standard:!0},displayName:"Medium Blue"},deepBlue:{code:"#006196",mode:{dark:!1,standard:!0},displayName:"Deep Blue"},black900:{code:"#000000",mode:{dark:!0,standard:!1},displayName:"Black"}},dr={holiday:{code:"#9a0202",mode:{dark:!0,standard:!1},displayName:"Holiday"},green2:{code:"#06462e",mode:{dark:!0,standard:!1},displayName:"Green2"},green1:{code:"#50af60",mode:{dark:!1,standard:!0},displayName:"Green1"},red1:{code:"#8b0d13",mode:{dark:!0,standard:!1},displayName:"Red1"},red2:{code:"#8b0d13",mode:{dark:!0,standard:!1},displayName:"Red2"},beige1:{code:"#ede3cf",mode:{dark:!1,standard:!0},displayName:"Beige1"},grey950:{code:"#1D1D1D",mode:{dark:!0,standard:!1},displayName:"Grey950"}},fr=Object.assign(Object.assign(Object.assign({},{rum:{code:"#c94b2f",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Rum"},talavera:{code:"#2b3b55",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Talavera"},atlantic:{code:"#16618c",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Atlantic"},kingfisher:{code:"#017eb4",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Kingfisher"},rio:{code:"#99d3f3",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Rio"},caspian:{code:"#204949",mode:{dark:!0,standard:!1}
3,deprecated:!0,displayName:"Caspian"},celtic:{code:"#046240",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Celtic"},emerald:{code:"#0a806b",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Emerald"},mediumGreen:{code:"#318643",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Medium Green"},opal:{code:"#c0e6df",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Opal"},black900:{code:"#000000",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Black"},graphite:{code:"#313131",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Graphite"},mediumGrey:{code:"#dfdfdf",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Medium Grey"},platinum:{code:"#efefef",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Platinum"}}),ur),dr),pr=({spaceId:e,explanation:t,selectedEntries:n})=>{const r=typeof window<"u"?window.location.search:"",a=n??[];return b(vt,{space:e??"",children:a.length===0?b(Ie,{contentfulMetadata:{contentful_id:"",contentfulName:""},availability:{},search:r,explanation:t}):a.map((s,u)=>b(Ie,{contentfulMetadata:{contentful_id:s.contentful_id,contentfulName:s.contentfulName},availability:{experiment:s.pageContext.experiment,campaign:s.pageContext.campaign,treatment:s.pageContext.treatment},search:r,explanation:u===a.length-1?t:void 0},s.contentful_id))})},Ve=()=>typeof window>"u";var Kt="3.3.27";function gr(){let e=window?.tracking?.visit();if(e)return e;const t=document.cookie.split(";").find(n=>n.trim().startsWith("visit"));return t&&(e=t.split("=")[1].trim()),e}function hr(){const e=async r=>await fetch(vr(window.location.hostname),{method:"POST",body:r,headers:{"Content-Type":"application/json"}}),t={},n=Math.random().toString(36).substring(2,15);return{log:async(...r)=>{try{const a=r.reduce((s,u)=>{const o=typeof u=="string"?u:u.message;if(t[o])return s;t[o]=!0;let i={};return typeof u=="string"?i.message=u:i={...u},s.push(i),s},new Array);if(a.length===0)return;await e(JSON.stringify([{common:{attributes:{host:window.location.href,agent:window.navigator.userAgent,serviceName:"ab-reader",visit:gr(),version:Kt,logtype:"browser",logsId:n}},logs:a}]))}catch(a){console.error("ab-reader failed sending logs",JSON.stringify(a))}}}}function vr(e){let t="https://nrlogger-prod.cf-exp.vpsvc.com?partition=exp";return(e==="localhost"||e.startsWith("staging"))&&(t="https://nrlogger-dev.cf-exp.vpsvc.com?partition=exp"),t}const mr=()=>window?.abReader||{getVariation:()=>null,getAllExperiments:()=>[],checkFeature:()=>null,isAvailable:()=>!1,getTestUserId:()=>null,fireImpression:()=>!1,fireFeatureImpression:()=>!1},Er=hr();let $t=()=>{};const yr=e=>{$t=e},Xe="ab-script-loaded",br=(e,t,n=!1)=>
3{if(Ve())return!1;const r="";return window.abReaderInitialized?!0:(n||ce({message:`Library not initialized before using method ${e}${r}.`}),!1)},Tr=(e,t,n)=>{try{return e()}catch(r){ce({message:`ab-reader library failed when calling ${t}.`,error:JSON.stringify(r)})}return n},_r=(e,t,n)=>Cr(()=>mr().fireImpression(e,t,n||null,Kt),"fireImpression"),Cr=(e,t)=>{Ve()&&ce({message:`${t} called serverside. `,error:"Tracking is not available."});const n=()=>Tr(e,t,!1),r=async()=>{n(),window.removeEventListener(Xe,r)};return Rr(t,void 0,!0)?n():(window.abReaderInitialized||$t(),window.addEventListener(Xe,r),!1)},Rr=(e,t,n=!1)=>{if(!br(e,t,n))return!1;const r="";return window.abReader===void 0?(n||ce({message:`ab-reader library not ready before using method ${e}${r}.`}),!1):!0},z={logs:[]};function ce(e){const t=async()=>{z.logs.length!==0&&(Er.log(...z.logs),z.logs=[],z.timeoutId=void 0)};z.logs.push(e),z.timeoutId&&clearTimeout(z.timeoutId),z.timeoutId=window.setTimeout(()=>{t()},1e3)}yr(()=>{if(Ve()||window.abReaderInitialized)return;const e=document.createElement("script");e.type="application/javascript",e.async=!0,e.src=kr(window.location.hostname),e.onload=()=>window.dispatchEvent(new CustomEvent(Xe)),document.head.appendChild(e),window.abReaderInitialized=!0});function kr(e){let t="https://wexp.exp.vpsvc.com/experimentation/ab-lib/ab-reader.js";try{const n=e.match(/vistaprint\.[a-z]{2,3}(\.[a-z]{2,3})?/);return n&&n[0]&&(t=`https://www.${n[0]}/experimentation/ab-lib/ab-reader.js`),(e==="localhost"||e.startsWith("staging.vistaprint"))&&(t="https://staging.vistaprint.com/experimentation/ab-lib/ab-reader.js"),t}catch{return ce({message:`There was an error trying to get the script source for the following hostname: '${e}'`}),t}}var wr="N\xE6ste besked",Sr="Forrige besked",Ar="Tilbudsdetaljer",xr={nextMessage:wr,previousMessage:Sr,offerDetail:Ar},Ir="N\xE4chste Nachricht",Or="Vorherige Nachricht",Mr="Angebotsdetails",Dr={nextMessage:Ir,previousMessage:Or,offerDetail:Mr},Nr="Next message",Pr="Previous message",Lr="Offer details",jr={nextMessage:Nr,previousMessage:Pr,offerDetail:Lr},Fr="Mensaje siguiente",Hr="Mensaje anterior",Ur="Detalles de la oferta",Gr={nextMessage:Fr,previousMessage:Hr,offerDetail:Ur},Br="Siguiente mensaje",zr="Mensaje anterior",Vr="Detalles de la oferta",Xr={nextMessage:Br,previousMessage:zr,offerDetail:Vr},Wr="Seuraava viesti",Yr="Edellinen viesti",qr="Tarjouksen tiedot",Kr={nextMessage:Wr,previousMessage:Yr,offerDetail:qr},$r="N\xE4sta meddelande",Zr="Prochain message",Jr="D\xE9tails de l'offre",Qr={nextMessage:$r,previousMessage:Zr,offerDetail:Jr},ea="Message suivant",ta="Message pr\xE9c\xE9dent",na="D\xE9tails de l\u2019offre",ra={nextMessage:ea,previousMessage:ta,offerDetail:na},aa="Messaggio successivo",ia="Messaggio precedente",oa="Dettagli dell'offerta",sa={nextMessage:aa,previousMessage:ia,offerDetail:oa},la="Neste melding",ca="Forrige melding",ua="Tilbudsdetaljer",da={nextMessage:la,previousMessage:ca,offerDetail:ua},fa="Volgende bericht",pa="Vorige bericht",ga="Aanbiedingsdetails",ha={nextMessage:fa,previousMessage:pa,offerDetail:ga},va="Mensagem seguinte",ma="Mensagem anterior",Ea="Detalhes da oferta",ya={nextMessage:va,previousMessage:ma,offerDetail:Ea},ba="Messaggio successivo",Ta="Messaggio precedente",_a="Erbjudandedetaljer",Ca={nextMessage:ba,previousMessage:Ta,offerDetail:_a};const ue={[d.daDK]:xr,[d.deDE]:Dr,[d.enIE]:jr,[d.esES]:Gr,[d.esUS]:Xr,[d.fiFI]:Kr,[d.frCA]:Qr,[d.frFR]:ra,[d.itIT]:sa,[d.nbNO]:da,[d.nlNL]:ha,[d.ptPT]:ya,[d.svSE]:Ca},de={[d.frBE]:[d.frFR,d.enIE],[d.frCA]:[d.frFR,d.enIE],[d.nlBE]:[d.nlNL,d.enIE],[d.deAT]:[d.deDE,d.enIE],[d.deCH]:[d.deDE,d.enIE],[d.itCH]:[d.itIT,d.enIE],[d.frCH]:[d.frFR,d.enIE],[d.enAU]:[d.enIE],[d.enCA]:[d.enIE],[d.esUS]:[d.enIE],[d.enIN]:[d.enIE],[d.enNZ]:[d.enAU,d.enIE],[d.enSG]:[d.enAU,d.enIE],default:[d.enIE]};class V{locale=d.esUS;constructor(t=d.enIE){if(t&&V.instances[t])return V.instances[t];const n=(t&&t in ue?t:void 0)??de?.default?.[0]??d.enIE;this.locale=n,V.instances[t]=this}static instances={};setLocale(t){return V.instances[t]?V.instances[t]:new V(t)}translate(t){const n=this.getTranslation(this.locale,t);return n!==null?n:this.getFallbackTranslation(t)||t}getTranslation(t,n){const r=ue?.[t];return r&&typeof r=="object"&&n in r?r[n]:null}getAllTexts(){if(ue[this.locale])return ue[this.locale];const t=de[this.locale]||de.default;if(t)for(const n of t){const r=ue[n];if(r!==null)return r}}getFallbackTranslation(t){const n=de[this.locale]||de.default;if(n)for(const r of n){const a=this.getTranslation(r,t);if(a!==null)return a}return null}}const We={},Ra=(e=d.enIE)=>(e=e.toLowerCase(),We[e]||(We[e]=new V(e)),We[e]),Zt=Ze(void 0),ka=({defaultLocale:e=d.enIE,children:t})=>{const[n,r]=j(e),a=Ra(n),s=u=>{r(u)};return b(Zt.Provider,{value:{locale:n,translate:u=>a.translate(u)??u,setLocale:s},children:t})},wa=()=>{const e=Je(Zt);if(!e)throw new Error("useI18n must be used within an I18nProvider");return e},Sa={[g.STANDARD]:"grey100",[g.DISCOUNT]:"green100",[g.HOLIDAY]:"red1",[g.HOLIDAY_GREEN]:"green2",[g.HOLIDAY_BEIGE]:"beige1",[g.INVERSE]:"inverse"},Jt={...fr,grey100:{code:"#f8f8f8",mode:{dark:!1,standard:!0}},green100:{code:"#e7f3f0",mode:{dark:!1,standard:!0}},inverse:{code:K("SwanSemColorBgStandard"),mode:{dark:!0,standard:!1}}},Aa=({data:e,pageType:t})=>{const{translate:n}=wa(),[r,a]=j(!1),[s,u]=j(!1),[o,i]=j([]),l=pt().locale;H(()=>{const m=window.location.search,f=new URLSearchParams(m);u(f.get("debugPage")==="true")},[]),H(()=>{a(!0)},[e]);const{messages:h,promoAnatomyEnabled:O,spaceId:w,explanation:y,selectedEntries:p}=e,E=O===!0,M=e.promobarConfiguration?.tracking!=="none";H(()=>
3{if(r&&h){const m=h.filter(f=>f?.content);m.length>0&&i(m)}},[h,r]);const Z=(m,f)=>{const _=f.some(R=>R.couponCode&&R.content),T=f.some(R=>R.source==="map");let C=m;return _&&C--,T&&C--,C},N=(m,f,_)=>m.couponCode?"view_promoBarMessage_C":m.source==="map"?"view_promoBarMessage_M":`view_promoBarMessage_R${Z(f,_)+1}`,I=m=>{if(!r||!M)return;const f=o[m];if(!f||!f?.content)return;const _=N(f,m,o);ke({eventName:"Message Displayed",properties:{eventDetail:_,...f.uniqueId&&f.source==="map"&&{uniqueId:f.uniqueId}}});const T=f.viewEventData?.viewTriggerId;typeof T=="string"&>({triggerId:T,eventType:"view",eventData:{subtype:"personalization"}})};H(()=>{r&&M&&h.forEach(m=>{if(m.abTestServerData&&t){const f=m.abTestServerData;_r(f.experimentKey,f.variationKey,{pageName:t})}})},[r]),H(()=>{o.length>0&&I(0)},[r,o]);const q=m=>{I(m)},Ye=(m,f,_)=>{ke({eventName:"Offer Details Clicked",properties:{category:"Coupons",label:n("offerDetail"),coupon_id:m,..._&&f==="map"&&{uniqueId:_}}})},qe=(m,f)=>{if(m?.couponCode)return"C";if(m?.source==="map")return"M";{const _=h.some(R=>R.couponCode&&R.content),T=h.some(R=>R.source==="map");let C=f;return _&&C--,T&&C--,`R${C+1}`}};return P(L,{children:[b(st,{style:{contain:"paint"},children:b(lt,{slidesToShow:1,"aria-label":"sitewide-promobar-carou
3sel",className:"sitewide-promobar-carousel coupon-test_selectable-text",skin:"promo-bar",onSlideChange:r?m=>q(m-1):void 0,children:(m=>{let f=0;return h.map((T,C)=>{const{skin:R,content:x,copyIcon:we}=T;if(!T.content||m&&f>0)return;const X=Sa[R],J=Jt[X]??Jt.grey100;return f++,b(ct,{darkMode:J.mode.dark,children:b(ut,{id:T.contentfulId,style:{minHeight:60,height:"100%",paddingLeft:"20px",paddingRight:"20px",backgroundColor:J.code},alignItems:"center",justifyContent:"center",textAlign:"center",darkMode:J.mode.dark,children:b("span",{style:{display:"inline"},children:b(cr,{content:x,copyIcon:we,currentSlideIndicator:qe(T,C),message:T,uniqueId:T.uniqueId,triggerId:T.triggerId,trailingNode:E&&T.couponId?b(dt,{couponID:T.couponId,locale:l??"en-us",tenant:"vistaprint",onOpen:()=>Ye(T.couponId,T.source,T.uniqueId),trigger:({onOpen:Ia})=>b(Ae,{type:"button",skin:"unstyled",onClick:Ia,"aria-label":n("offerDetail"),style:{display:"inline",padding:0,fontFamily:K("SwanSemFontFamilyPrimary"),fontSize:K("SwanSemFontSizeSmall"),fontWeight:K("SwanBaseFontWeightRegular"),lineHeight:"150%",color:K("SwanSemColorFgStandard"),background:"transparent",border:"none",letterSpacing:"inherit",textDecoration:"underline",whiteSpace:"nowrap",cursor:"pointer"},children:n("offerDetail")})}):void 0})})})},C)}).filter(T=>T)})(!r)})}),r&&s&&b(pr,{spaceId:w,explanation:y,selectedEntries:p})]})},xa=({data:e,pageType:t,locale:n})=>!e||e.messages.length===0||t&&e.excludedPageTypes.includes(t)?null:b(ka,{defaultLocale:n,children:b(Aa,{data:e,pageType:t??""})}),Pa=en("mount",async(e,t,n)=>Ke(b(xa,{...t}),e,n))})}})); 4//# sourceMappingURL=fragment-sitewide-comms-bar-koAh9N3A.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.