PageSourceSearch

https://www.samesfordcc.com/static/ws/content-cta/bundle.3b9170fe95970235538190de410de4f0.js

js samesfordcc.com collected 2026-09-24 12:19:53 UTC 51,813 bytes, 2 lines download raw bytes

1(()=>{var e={973(e,t,n){e.exports={...n(174)}},369(e,t,n){"use strict";n.d(t,{Z:()=>o,i:()=>i});const i="SET_HOVER",o="SET_WIDGET_INFO"},737(e,t,n){"use strict";n.d(t,{A:()=>o});var i=n(369);const o={hover:function(e={},t){return!t.error&&t.payload&&t.type===i.i?t.payload:e},widgetInfo:function(e={},t){return!t.error&&t.payload&&t.type===i.Z?t.payload:e}}},174(e){"use strict";e.exports=DDC.WsmCommonData}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=ReactDOM,t=React;var i=n.n(t);const o=ReactRedux;var r=n(973);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}class s extends i().Component{constructor(e){super(e),this.renderDelegate=this.renderDelegate.bind(this)}renderDelegate({labels:e}){const{HeadingTag:t,headingText:n,widgetId:o,toggleCollapse:r,showIcon:s,headingClasses:c,iconClasses:l}=this.props,d=[...l];let u={};if(r){const e="ddc-icon-expand";d.push(e),d.push("icon-style-collapse"),u={role:"button","data-toggle":"collapse","data-target":`#${o}-collapse`,"data-expand-icon-class":`${e}`,"data-collapse-icon-class":"ddc-icon-collapse","aria-expanded":"false","aria-controls":`${o}-collapse`}}return i().createElement(t,a({className:c.join(" ")},u),s&&i().createElement(i().Fragment,null,i().createElement("i",{className:d.join(" ")})," "),e.getHTML(n))}render(){return this.props.headingText&&"FALSE"!==this.props.headingText.toUpperCase()?i().createElement(r.Common,{render:this.renderDelegate}):null}}s.defaultProps={HeadingTag:"h3",headingText:""};const c=s,l=e=>{const{id:t,children:n,toggleCollapse:o}=e;return o?i().createElement("div",{id:`${t}-collapse`,className:"collapse collapse-content"},n):n};l.defaultProps={toggleCollapse:!1};const d=l;var u=n(174),g=n(369);function p(e=!1){return{type:g.i,payload:{isHovered:e}}}const h="ddc-icon-",m="spot",f=(e,t,n,i)=>{const o={...e},{schema:r,integration:a,location:s}=t,{attributes:c}=r,l=(e=>"object"==typeof e?Object.keys(e):[])(c);o.wiapiDataAttr={"data-modified-by":a,"data-content-source":"Web Integration API","data-page-location":s},Object.keys(r).forEach(e=>{switch(e){case"href":o.url=r[e];break;case"target":o.enableOpenNewWindow="_blank"===r[e];break;case"onclick":o.wiapiOnClick=r[e];break;case"attributes":l.forEach(e=>{switch(e){case"data-title":o.dialogWindowTitleLabel=c[e];break;case"data-width":o.dialogWindowWidth=c[e];break;case"data-href":o.url=c[e];break;default:o.wiapiDataAttr={...o.wiapiDataAttr,[e]:c[e]}}})}});if(l.some(e=>["data-title","data-width","data-href"].includes(e))){if("MOBILE"===n&&!1===o.enableDialogWindow){const e=document.querySelector(`[data-widget-id='${i}'] a`);window.DDC.mobile.slidein.init(e)}o.enableDialogWindow=!0,o.enableOpenNewWindow=!1,delete o.wiapiOnClick}else o.enableDialogWindow=!1,r.onclick&&(o.url="#",o.enableOpenNewWindow=!1);return o},w=({element:e,elementCTA:t,url:n="",elementType:i,result:o,windowId:r,ariaLabel:a="",reactElementText:s=""}={})=>{const c={element:e,elementCTA:t,result:o,widgetId:r,dataToExcludeFromWidgetUserEvent:{url:n,ariaLabel:a,elementType:i,reactElementText:s}},{window:l}=globalThis;return((e,t)=>{const n={event:"widgetUserEvent",action:"clicked",widgetState:"default",fieldValue:void 0,formId:void 0,formEventId:void 0,value:void 0,widgetName:"ws-content-cta"};return t&&t.DDC?t.DDC.fireTrackingEvent({...n,...e}):null})(c,l)},b=()=>"undefined"!=typeof window&&window.newrelic&&"object"==typeof window.newrelic,y=(e,t={})=>{!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;b()&&window.newrelic.addPageAction(e,t)}(e,t)},k=HTMLReactParser;var T=n.n(k);const v=e=>{const{window:t}=globalThis;return void 0!==t&&t.DDC&&t.DDC.dataLayer&&t.DDC.dataLayer.dealership?t.DDC.dataLayer.dealership[e]:""},C={"{{city}}":()=>v("city"),"{{dealer}}":()=>v("dealershipName"),"{{address}}":()=>v("address1"),"{{state}}":()=>v("stateProvince")},x=e=>((e,t,n)=>n.split(e).map(e=>((e,t)=>e?"function"==typeof e?e():e:t)(t[e],e)).join(""))(/({{[a-z_0-9]+}})/gi,C,e),E=(e="")=>new RegExp("^[A-Z0-9_]+$","g").test(e),D=(e="")=>E(e)?"ALIAS":((e="")=>new RegExp("^(?:[a-z]+:)?//","i").test(e))(e)?"ABSOLUTE":"RELATIVE",A=(e,t="")=>"ALIAS"===D(t)?e.has(t)?e.get(t):"/404.htm":t||"/404.htm",I=(e=!1,t="",n="")=>e&&t?t:n,S=/^((?:https?:)?\/\/)pictures(?:-np)?\.dealer\.com(?=[/:?#]|$)/,P=e=>
1!e||!String(e).trim(),O=/(?:^|\/\/)(pictures|images|static)(-np)?\.([a-z0-9-]+\.)*dealer\.com(?=[/:?#]|$)/,L=e=>!!e&&(O.test(e)||e.startsWith("/static/")),M=(e="width",t="DESKTOP",n=0,i=0,o=!1)=>{let r="width"===e.toLowerCase().trim()?i:n;return o&&(!n&&i||i&&n!==i?r=i:!i&&n?r=n:(n!==i||0===i&&0===n)&&(r="DESKTOP"===t?192:160)),r},W=(e="",t="")=>{if(((e="",t="")=>{const n=t.split("=");return new RegExp(`.*[?&]${n[0]}=.*`).test(e)})(e,t)||!t)return e;const n=e&&e.includes("?")?"&":"?";return`${e}${n}${t}`},R=(e,t=0)=>{const n={src:"",parentWidth:0};return t>0&&(L(e)?(n.parentWidth=t,n.src=W(e,`impolicy=downsize_bkpt&w=${t}`)):n.src=e),n},N=(e="")=>"true"===e.toLowerCase().trim(),z=(e=0)=>parseInt(e,10)||0,H=(e="")=>e&&(0===e.indexOf(h)?e:`${h}${e}`),F=(e,t,n,i={},o,r,a={},s=!1,c=!1,l="")=>{const d=((e={})=>Object.keys(e).reduce((t,n)=>{if(null!==e[n]&&"object"==typeof e[n])throw new Error(`The property '${n}' is of type 'Object' that cannot be trimmed`);return t[n]=e[n].trim(),t},{}))(i),u={...d,imageUrl:(g=d.imageUrl,p=l,P(g)||P(p)?g:g.replace(S,(e,t)=>t+p)),enableClickable:N(d.enableClickable),enableOpenNewWindow:N(d.enableOpenNewWindow),enableDialogWindow:N(d.enableDialogWindow),showIcon:N(d.showIcon),showImage:N(d.showImage),showHeading:N(d.showHeading),showContent:N(d.showContent),showButton:N(d.showButton),foregroundImageCircle:N(d.foregroundImageCircle),foregroundImageHeight:z(d.foregroundImageHeight),foregroundImageWidth:z(d.foregroundImageWidth),iconName:H(d.iconName)};var g,p;let h={...u,enableContentOverflowHidden:!0,url:A(o,u.url),alias:E(u.url)?u.url:"",backgroundWrapperWidth:"w-100",backgroundWrapperClasses:"",contentWrapperWidth:"w-100",headingElement:u.headingElement||"h2",headingClasses:"",foregroundImageHeight:M("height",e,u.foregroundImageHeight,u.foregroundImageWidth,u.foregroundImageCircle),foregroundImageWidth:M("width",e,u.foregroundImageHeight,u.foregroundImageWidth,u.foregroundImageCircle),widgetTransitionProperty:"transition-property-background-color transition-property-text-color",widgetTransitionTimingFunction:"transition-timing-function-standard",widgetTransitionDuration:"transition-duration-lg",backgroundTransitionProperty:"transition-property-background-color",backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-lg",headingTransitionProperty:"",headingTransitionTimingFunction:"",headingTransitionDuration:"",contentWrapperTransitionProperty:"",contentWrapperTransitionTimingFunction:"",contentWrapperTransitionDuration:"",buttonTransitionProperty:"",buttonTransitionTimingFunction:"",buttonTransitionDuration:"",contentTransitionProperty:"",contentTransitionTimingFunction:"",contentTransitionDuration:"",contentWrapperFlexDisplay:"flex-column",contentWrapperClasses:"h-100",isPriorityContent:s,flagRenderATF:c,deviceType:e};const w={widgetBackgroundColor:I(t,h.widgetBackgroundColorHover,h.widgetBackgroundColor),textColor:I(t,h.textColorHover,h.textColor),backgroundColor:I(t,h.backgroundColorHover,h.backgroundColor),backgroundGradient:I(t,h.backgroundGradientHover,h.backgroundGradient)},b={widgetAlignment:"align-items-center",widgetJustify:"",widgetMargin:"",enableClickable:!1,showIcon:!1,showImage:!0,showHeading:!0,showContent:!0,showButton:!0,textAlignment:"text-center",imageLocation:"background",backgroundColor:"",backgroundColorHover:"",backgroundGradient:"",backgroundGradientHover:"",iconType:"system",iconMargin:"",iconPadding:"",iconAlignment:"",spotIconMargin:"",spotIconPadding:"",spotIconAlignment:"",foregroundImageMargin:"",foregroundImagePadding:"",foregroundImageAlignment:"",foregroundImageCircle:!1,headingPadding:"",headingAlignment:"",headingMargin:"mt-0",contentMargin:"",contentPadding:"",contentAlignment:"",buttonAlignment:"align-self-center",buttonMargin:""};switch(Object.keys(a).length>0&&(h=f(h,a,e,r)),n){case"icon-heading-content-cta-centered":return{...h,...b,enableClickable:""!==d.url,widgetPadding:h.widgetPadding||"p-5",widgetJustify:"justify-content-center",imageUrl:"",showIcon:!0,iconMargin:"m-0",headingMargin:h.headingMargin||"mt-6 mx-0 mb-4",contentMargin:h.contentMargin||"mt-0 mx-0 mb-4",buttonMargin:"m-0"};case"spot-icon-heading-content-cta-centered":return{...h,...b,enableClickable:""!==d.url,widgetPadding:h.widgetPadding||"p-5",
1widgetJustify:"justify-content-center",imageUrl:"",showIcon:!0,iconType:m,headingMargin:h.headingMargin||"mt-6 mx-0 mb-4",contentMargin:h.contentMargin||"mt-0 mx-0 mb-4",buttonMargin:"m-0"};case"image-heading-content-cta-centered":return{...h,...b,widgetPadding:"p-5",widgetJustify:"justify-content-center",imageLocation:"foreground",foregroundImageCircle:!0,foregroundImageHeight:M("height",e,u.foregroundImageHeight,u.foregroundImageWidth,!0),foregroundImageWidth:M("width",e,u.foregroundImageHeight,u.foregroundImageWidth,!0),foregroundImageMargin:"mt-0 mx-0 mb-5",headingMargin:"mt-0 mx-0 mb-4",contentMargin:"mt-0 mx-0 mb-4",buttonMargin:"m-0"};case"background-image-zoom-heading":{const n="DESKTOP"===e?{backgroundTransitionProperty:"transition-property-transform scale-"+(t?"110":"100"),backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-xl"}:null;return{...h,...b,...n,widgetPadding:"p-5",enableClickable:!0,showContent:!1,showButton:!1,headingMargin:"mt-auto mb-0",headingColor:"text-white",backgroundColor:"bg-black",backgroundGradient:"linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%)"}}case"background-image-zoom-icon-heading":{const n="DESKTOP"===e?{backgroundTransitionProperty:"transition-property-transform scale-"+(t?"110":"100"),backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-xl"}:null;return{...h,...b,...n,widgetJustify:"justify-content-center",widgetPadding:"p-5",enableClickable:!0,showContent:!1,showIcon:!0,showButton:!1,iconSize:h.iconSize||"icon-size-7",iconColor:h.iconColor||"text-primary-300",headingMargin:"mt-3 mx-0 mb-0",headingColor:h.headingColor||"text-white",backgroundColor:h.backgroundColor||"bg-black",backgroundGradient:h.backgroundGradient||"linear-gradient(rgba(0,0,0,.6) 0%, rgba(0,0,0,.6) 100%)"}}case"heading-left-image-right-zoom":{const n="DESKTOP"===e?{backgroundTransitionProperty:"transition-property-transform scale-"+(t?"105":"100"),backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-xl"}:null;return{...h,...b,...n,widgetJustify:"justify-content-center",widgetPadding:"p-5",widgetBackgroundColor:t?h.widgetBackgroundColorHover||"bg-light":h.widgetBackgroundColor||"",enableClickable:!0,showContent:!1,showButton:!1,backgroundWrapperWidth:"w-50",contentWrapperWidth:"w-50",imageLocation:"background-left",textColor:t?h.textColorHover||"text-primary":h.textColor||"text-body",headingClasses:"centered-border-bottom-sm",headingMargin:"m-0",headingTransitionProperty:"transition-property-after-transform scale-after-"+(t?"150-100":"100"),headingTransitionTimingFunction:"transition-timing-function-after-standard",headingTransitionDuration:"transition-duration-after-md"}}case"image-left-zoom-heading-right":{const n="DESKTOP"===e?{backgroundTransitionProperty:"transition-property-transform scale-"+(t?"105":"100"),backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-xl"}:null;return{...h,...b,...n,widgetPadding:"p-5",widgetJustify:"justify-content-center",widgetBackgroundColor:t?h.widgetBackgroundColorHover||"bg-light":h.widgetBackgroundColor||"",enableClickable:!0,showContent:!1,showButton:!1,backgroundWrapperWidth:"w-50",contentWrapperWidth:"w-50",imageLocation:"background-right",textColor:t?h.textColorHover||"text-primary":h.textColor||"text-body",headingClasses:"centered-border-bottom-sm",headingMargin:"m-0",headingTransitionProperty:"transition-property-after-transform scale-after-"+(t?"150-100":"100"),headingTransitionTimingFunction:"transition-timing-function-after-standard",headingTransitionDuration:"transition-duration-after-md"}}case"background-zoom-hover-rollup":{const n="DESKTOP"===e?{backgroundTransitionProperty:"transition-property-transform scale-"+(t?"110":"100"),backgroundTransitionTimingFunction:"transition-timing-function-standard",backgroundTransitionDuration:"transition-duration-xl"}:null;let i;
1return i="DESKTOP"===e?{contentWrapperTransitionProperty:t?"translate-up-10":"translate-down-0",buttonTransitionProperty:t?"opacity-100":"opacity-0",widgetPadding:"p-0",headingColor:"text-white",headingMargin:"m-2",buttonSize:h.buttonSize||"btn-xsmall",buttonMargin:"mt-3"}:{contentTransitionProperty:"opacity-0",buttonTransitionProperty:"opacity-100",showContent:!1,widgetPadding:"p-6",headingColor:"text-white",headingMargin:"m-4",buttonSize:h.buttonSize||"btn-small"},{...h,...b,...n,...i,contentWrapperTransitionTimingFunction:"transition-timing-function-standard",contentWrapperTransitionDuration:"transition-duration-xl",buttonTransitionTimingFunction:"transition-timing-function-standard",buttonTransitionDuration:"transition-duration-xl",enableClickable:!0,showButton:!0,buttonStyle:"btn-default btn-inverse",contentColor:"text-white",contentMargin:"m-0",widgetJustify:"justify-content-end",contentSize:"h4",backgroundColor:"bg-black",backgroundGradient:"linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%)"}}case"light-icon-link-cta":{const n="MOBILE"===e?{contentWrapperFlexDisplay:"flex-column",iconMargin:h.iconMargin||"m-0",headingElement:"h5"}:{contentWrapperFlexDisplay:"flex-row",iconMargin:h.iconMargin||"mr-4",headingElement:"h4"};return{...h,...b,...n,imageUrl:"",showContent:!1,showButton:!1,showIcon:!0,enableClickable:!0,widgetPadding:h.widgetPadding,widgetJustify:"justify-content-center",widgetTransitionTimingFunction:"transition-timing-function-standard",iconColor:I(t,"text-primary-900","text-primary-700"),iconPadding:"p-0",iconSize:h.iconSize||"icon-size-6",iconTransitionProperty:"transition-property-text-color",iconTransitionDuration:"transition-duration-lg",textColor:I(t,"text-primary-700","text-primary-500"),headingMargin:"m-0",headingTransitionProperty:"transition-property-text-color",headingTransitionDuration:"transition-duration-lg"}}case"dark-icon-link-cta-float":{const n="MOBILE"===e?{contentWrapperFlexDisplay:"flex-column",iconMargin:h.iconMargin||"m-0",headingElement:"h5"}:{contentWrapperFlexDisplay:"flex-row",iconMargin:h.iconMargin||"mr-4",headingElement:"h4"};return{...h,...b,...n,imageUrl:"",showContent:!1,showButton:!1,showIcon:!0,enableClickable:!0,widgetJustify:"justify-content-center",widgetTransitionProperty:I(t,"translate-up-spacers-2","transition-property-transform translate-0"),widgetTransitionDuration:"transition-duration-lg",widgetTransitionTimingFunction:"transition-timing-function-standard",iconColor:I(t,"text-neutral-0",h.iconColor||"text-primary-200"),iconPadding:"p-0",iconSize:h.iconSize||"icon-size-6",iconTransitionProperty:"transition-property-text-color",iconTransitionDuration:"transition-duration-lg",textColor:"text-neutral-0",headingMargin:"m-0",headingTransitionProperty:"transition-property-text-color",headingTransitionDuration:"transition-duration-lg"}}case"top-image-heading-content-cta":return{...h,...b,imageLocation:"top",contentWrapperClasses:"",backgroundWrapperWidth:"w-100",backgroundWrapperClasses:"flex-grow-1"};default:return{...h,...w}}},$=(...e)=>[...new Set(e)].filter(e=>e).join(" ")||null,B=(e,t)=>{let n=null;return e?n="dialog":"MOBILE"===t&&(n="slidein-disabled"),n},j=(e,t,n,...i)=>{const o=["cta","d-flex","position-relative",...i];return"background-right"===n||"background-left"===n?(o.push("flex-row"),"background-right"===n&&o.push("flex-row-reverse")):o.push("flex-column"),e&&(o.push("pointer","text-no-decoration"),t&&o.push("hover")),$.apply(void 0,o)};const U=["responsive-image","d-none"],_=(e,t,n,i,o,r,a,s,...c)=>{const l=[...c];if("foreground"===e?(l.push("cta-foreground"),l.push(n),l.push(i),l.push(o),t&&l.push("img-circle")):(l.push(r),l.push("cta-background","h-100","w-100"),"background"===e&&l.push("position-absolute")),a&&s){const e=l.filter(e=>!e.includes("lazy"));return $.apply(void 0,e)}return $.apply(void 0,l)},q=(e,t,n,i,o,r,a,s,c,l)=>{const d={};let u=n&&" "!==n?n:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";return e?(l||(u=((e,t,n,i)=>{if("foreground"===i&&L(e)){const i=t&&n?"downsize_crop":"downsize";if(!t)return e;let r=`${e}${o=e,o&&o.includes("?")?"&":"?"}impolicy=${i}`;return t&&(r=`${r}&h=${t}`),n&&(r=`${r}&w=${n}`),r}return e||null;var o})(n,s,c,t)),i&&(d.backgroundPosition=i),o&&(d.backgroundSize=o),"foreground"===t?(d.flex="none",s&&(d.height=`${s}px`),c&&(d.width=`${c}px`),n&&(d.backgroundImage=`url('${u}')`,d.backgroundRepeat="no-repeat")):(r&&n?d.backgroundImage=`${r}, url('${u}')`:r?d.backgroundImage=r:n&&(d.backgroundImage=`url('${u}')`),a&&(d.backgroundRepeat=a))):r&&(d.backgroundImage=r),d};function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},G.apply(null,arguments)}const V=e=>{const{showImage:n,imageLocation:o,imageUrl:r,imagePosition:a,imageSize:s,backgroundColor:c,backgroundGradient:l,backgroundRepeat:d,backgroundTransitionProperty:u,backgroundTransitionTimingFunction:g,backgroundTransitionDuration:p,backgroundWidthMultiplier:h,foregroundImageCircle:m,foregroundImageHeight:f,foregroundImageWidth:w,foregroundImageMargin:b,foregroundImagePadding:y,foregroundImageAlignment:k,isPriorityContent:T,flagRenderATF:v,deviceType:C}
1=e,x=(0,t.useRef)(),E=parseInt(("DESKTOP"===C?640:410)*parseFloat(h),10),D=R(r,E),[A,I]=(0,t.useState)(()=>{const e="foreground"===o?r:D.src,t="foreground"===o?r:D.src;return T?t:e}),[S,P]=(0,t.useState)([]),O=((e,t)=>"foreground"!==t&&L(e))(A,o),M=!1===n&&"foreground"!==o&&(""!==c||""!==l);(0,t.useEffect)(()=>{if(T||!O)return;window?.addEventListener("load",()=>{P(document.querySelectorAll(".lazy-widgets-content-cta-image"));const e=x?.current?.parentElement?.clientWidth,t=parseInt(e*parseFloat(h),10);I(R(r,t).src)});const e=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){const n=t.target,i=n.children[0];i&&i.getAttribute("data-src")&&(i.setAttribute("src",`${i.getAttribute("data-src")}`),n.style.backgroundImage=((e,t)=>{const{backgroundImage:n}=e.style,i=n.replace(/url\(.+\)/,`url("${t}")`);return i!==n?i:n})(n,`${i.getAttribute("data-src")}`),n.setAttribute("data-lazy-initialized",!0),i.classList.remove("lazy-widgets-content-cta-image"),i.removeAttribute("data-src"),e.unobserve(n))}})});S.length>0&&S.forEach(t=>{e.observe(t.closest("div"))})},[h,O,o,r,T,S,S.length,D.src]);return n||M?i().createElement("div",{ref:x,className:_(o,m,b,y,k,c,T,v,u,g,p),style:q(n,o,A,a,s,l,d,f,w,O),"data-testid":"background"},O&&i().createElement("img",G({alt:"",hidden:!0,role:"presentation","data-width-multiplier":h,"data-testid":"background-image"},(({isPriorityContent:e,resizeImageUrl:t,classList:n})=>({...{...e?{}:{"data-src":t}},src:e?t:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",className:[e?"":"lazy-widgets-content-cta-image",...n].join(" ")}))({isPriorityContent:T&&v,resizeImageUrl:A,classList:U})))):null};V.defaultProps={imageLocation:"",imageUrl:"",imagePosition:"",imageSize:"",backgroundColor:"",backgroundGradient:"",backgroundRepeat:"",backgroundTransitionProperty:"",backgroundTransitionTimingFunction:"",backgroundTransitionDuration:"",backgroundWidthMultiplier:"1",foregroundImageCircle:!1,foregroundImageHeight:0,foregroundImageWidth:0,foregroundImageMargin:"",foregroundImagePadding:"",foregroundImageAlignment:"",isPriorityContent:!1,deviceType:""};const K=V,J=({showIcon:e,iconName:t,iconSize:n,iconColor:o,iconMargin:r,iconPadding:a,iconAlignment:s,iconTransitionProperty:c,iconTransitionDuration:l})=>e&&""!==t?i().createElement("i",{className:$("ddc-icon","line-height-reset",t,n,o,r,a,s,c,l),"aria-hidden":"true","data-testid":"icon"}):null;J.defaultProps={iconSize:"",iconColor:"",iconMargin:"",iconPadding:"",iconAlignment:"",iconTransitionProperty:"",iconTransitionDuration:""};const Y=J;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},X.apply(null,arguments)}const Z=({windowId:e,deviceType:n,target:o,url:r,wiapiOnClick:a,isClickableDivElement:s,isHovered:c,enableDialogWindow:l,dialogWindowWidth:d,dialogWindowTitleText:u,buttonTransitionProperty:g,buttonTransitionTimingFunction:p,buttonTransitionDuration:h,showButton:m,buttonText:f,buttonStyle:b,buttonSize:y,buttonMargin:k,buttonAlignment:T,wiapiDataAttr:v})=>{const C=(0,t.useRef)();return m&&r&&""!==f?i().createElement("a",X({ref:C,href:r,target:o||null,id:`${e}-button`,"data-modal":l?"true":null,className:$("btn",B(l,n),b,y,k,T,g,p,h,I(c,"hover","")),"data-title":l&&u?u:null,"data-testid":"button","data-width":l&&d?d:null,onClick:t=>{(({event:e,isClickableDivElement:t,element:n,elementCTA:i,result:o,windowId:r,wiapiOnClick:a})=>{e.stopPropagation(),(t||a)&&e.preventDefault(),w({element:n,elementCTA:i,url:o,elementType:"button",result:`Navigated to ${o}`,windowId:r}),a&&a()})({event:t,isClickableDivElement:s,element:"ws-content-cta button",elementCTA:"string"==typeof f?f:C?.current?.textContent,result:r,windowId:e,wiapiOnClick:a})}},v),f):null};Z.defaultProps={target:"",enableDialogWindow:!1,dialogWindowWidth:"",dialogWindowTitleText:"",buttonTransitionProperty:"",buttonTransitionTimingFunction:"",buttonTransitionDuration:"",buttonStyle:"",buttonSize:"",buttonMargin:"",buttonAlignment:"",wiapiOnClick:null,wiapiDataAttr:{}};const Q=Z,ee=({showContent:e,contentText:t,contentSize:n,contentColor:o,contentMargin:r,contentPadding:a,c
1ontentAlignment:s,contentTransitionProperty:c,contentTransitionTimingFunction:l,contentTransitionDuration:d})=>e&&""!==t?i().createElement("p",{className:$(n,o,r,a,s,c,l,d),"data-testid":"content-test"},t):null;ee.defaultProps={contentSize:"",contentColor:"",contentMargin:"",contentPadding:"",contentAlignment:"",contentTransitionProperty:"",contentTransitionTimingFunction:"",contentTransitionDuration:""};const te=ee,ne=({showHeading:e,headingText:t,headingMargin:n,headingPadding:o,headingAlignment:r,headingElement:a,headingSize:s,headingColor:c,headingClasses:l,headingTransitionProperty:d,headingTransitionTimingFunction:u,headingTransitionDuration:g,windowId:p})=>{if(e&&""!==t){const e=a;return i().createElement(e,{"data-testid":"heading",id:`${p}-heading`,className:$(l,s,c,n,o,r,d,u,g)},t)}return null};ne.defaultProps={headingMargin:"",headingPadding:"",headingAlignment:"",headingElement:"",headingSize:"",headingColor:"",headingClasses:"",headingTransitionProperty:"",headingTransitionTimingFunction:"",headingTransitionDuration:""};const ie=ne;var oe=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],re={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",
1nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode
1-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function ae(e,n){const{key:i,level:o,...r}=n;switch(e.nodeType){case 1:return t.createElement(function(e){if(/[a-z]+[A-Z]+[a-z]+/.test(e))return e;return e.toLowerCase()}(e.nodeName),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute("class");t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case"class":break;case"style":n[e.name]="string"!=typeof(t=e.value)?{}:t.split(/ ?; ?/).reduce((e,t)=>{const[n,i]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,""):e.trim());if(n&&i){const t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`);let o=i.trim();Number.isNaN(Number(i))||(o=Number(i)),e[n.startsWith("-")?n:t]=o}return e},{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[re[e.name]||e.name]=!0;break;default:n[re[e.name]||e.name]=e.value}var t})}return n}(e,i),se(e.childNodes,o,r));case 3:{const t=e.nodeValue?.toString()??"";if(!r.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;const n=e.parentNode.nodeName.toLowerCase();return oe.includes(n)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return se(e.childNodes,o,n)}}function se(e,t,n){const i=[...e].map((e,i)=>le(e,{...n,index:i,level:t+1})).filter(Boolean);return i.length?i:null}function ce(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:i=!1,selector:o="body > *",type:r="text/html"}=t;try{const a=(new DOMParser).parseFromString(e,r);if(n){const{childNodes:e}=a.body;return i?e:[...e].map(e=>le(e,t))}const s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return i?s:le(s,t)}catch(e){0}return null}(e,t):e instanceof Node?le(e,t):null}function le(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:n=[],index:i=0,level:o=0,randomKey:r}=t;let a=e,s=`${o}-${i}`;const c=[];return r&&0===o&&(s=`${function(e=6){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let i=e;i>0;--i)n+=t[Math.round(61*Math.random())];return n}()}-${s}
1`),Array.isArray(n)&&n.forEach(t=>{t.condition(a,s,o)&&("function"==typeof t.pre&&(a=t.pre(a,s,o),a instanceof Node||(a=e)),"function"==typeof t.post&&c.push(t.post(a,s,o)))}),c.length?c:ae(a,{key:s,level:o,...t})}var de=Object.defineProperty,ue=(e,t,n)=>((e,t,n)=>t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),ge="react-inlinesvg",pe={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function he(e){return e[Math.floor(Math.random()*e.length)]}function me(){return!("undefined"==typeof window||!window.document?.createElement)}function fe(){return function(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="<svg />";const t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"undefined"!=typeof window&&null!==window}async function we(e,t){const n=await fetch(e,t),i=n.headers.get("content-type"),[o]=(i??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(e=>o.includes(e)))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function be(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}var ye,ke=class{constructor(){ue(this,"cacheApi"),ue(this,"cacheStore"),ue(this,"subscribers",[]),ue(this,"isReady",!1),this.cacheStore=new Map;let e=ge,t=!1;me()&&(e=window.REACT_INLINESVG_CACHE_NAME??ge,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then(e=>{this.cacheApi=e}).catch(e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===pe.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==pe.LOADING){if(!n?.content){this.cacheStore.set(e,{content:"",status:pe.LOADING});try{const n=await we(e,t);this.cacheStore.set(e,{content:n,status:pe.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:pe.FAILED}),t}}}else await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:pe.IDLE}),await this.fetchAndAddToInternalCache(e,t)})}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===pe.LOADED)return;if(n?.status===pe.LOADING)return void await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:pe.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});this.cacheStore.set(e,{content:"",status:pe.LOADING});const i=await(this.cacheApi?.match(e));if(i){const t=await i.text();return void this.cacheStore.set(e,{content:t,status:pe.LOADED})}try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),i=await(n?.text())??"";this.cacheStore.set(e,{content:i,status:pe.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:pe.FAILED}),t}}async handleLoading(e,t){for(let t=0;t<10;t++){if(this.cacheStore.get(e)?.status!==pe.LOADING)return;await be(.1)}await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function Te(e){const n=(0,t.useRef)(void 0);return(0,t.useEffect)(()=>{n.current=e}),n.current}function ve(e){const{baseURL:t,content:n,description:i,handleError:o,hash:r,preProcessor:a,title:s,uniquifyIDs:c=!1}=e;try{const e=function(e,t){if(t)return t(e);return e}(n,a),o=ce(e,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const l=Ce(o,{baseURL:t,hash:r,uniquifyIDs:c});if(i){const e=l.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=i,l.prepend(t)}if(void 0!==s){const e=l.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),s){const e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=s,l.prepend(e)}}return l}catch(e){return o(e)}}function Ce(e,t){const{baseURL:n="",hash:i,uniquifyIDs:o}=t,r=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];
1return o?([...e.children].forEach(e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map(e=>{const t=e,o=/url\((.*?)\)/.exec(e.value);return o?.[1]&&(t.value=e.value.replace(o[0],`url(${n}${o[1]}__${i})`)),t});r.forEach(e=>{const n=t.find(t=>t.name===e);var o,r;n&&(o=e,r=n.value,!a.includes(o)||!r||r.includes("#"))&&(n.value=`${n.value}__${i}`)})}return e.children.length?Ce(e,t):e}),e):e}function xe(e){const{cacheRequests:n=!0,children:i=null,description:o,fetchOptions:r,innerRef:a,loader:s=null,onError:c,onLoad:l,src:d,title:u,uniqueHash:g}=e,[p,h]=(0,t.useReducer)((e,t)=>({...e,...t}),{content:"",element:null,isCached:n&&ye.isCached(e.src),status:pe.IDLE}),{content:m,element:f,isCached:w,status:b}=p,y=Te(e),k=Te(p),T=(0,t.useRef)(g??function(e){const t="abcdefghijklmnopqrstuvwxyz",n=`${t}${t.toUpperCase()}1234567890`;let i="";for(let t=0;t<e;t++)i+=he(n);return i}(8)),v=(0,t.useRef)(!1),C=(0,t.useRef)(!1),x=(0,t.useCallback)(e=>{v.current&&(h({status:"Browser does not support SVG"===e.message?pe.UNSUPPORTED:pe.FAILED}),c?.(e))},[c]),E=(0,t.useCallback)((e,t=!1)=>{v.current&&h({content:e,isCached:t,status:pe.LOADED})},[]),D=(0,t.useCallback)(async()=>{const e=await we(d,r);E(e)},[r,E,d]),A=(0,t.useCallback)(()=>{try{const n=ce(ve({...e,handleError:x,hash:T.current,content:m}));if(!n||!(0,t.isValidElement)(n))throw new Error("Could not convert the src to a React element");h({element:n,status:pe.READY})}catch(e){x(e)}},[m,x,e]),I=(0,t.useCallback)(async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(d);let t;if(e?t=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):d.includes("<svg")&&(t=d),t)E(t);else try{if(n){const e=await ye.get(d,r);E(e,!0)}else await D()}catch(e){x(e)}},[n,D,r,x,E,d]),S=(0,t.useCallback)(async()=>{v.current&&h({content:"",element:null,isCached:!1,status:pe.LOADING})},[]);(0,t.useEffect)(()=>{if(v.current=!0,me()&&!C.current){try{if(b===pe.IDLE){if(!fe())throw new Error("Browser does not support SVG");if(!d)throw new Error("Missing src");S()}}catch(e){x(e)}return C.current=!0,()=>{v.current=!1}}},[]),(0,t.useEffect)(()=>{if(me()&&y&&y.src!==d){if(!d)return void x(new Error("Missing src"));S()}},[x,S,y,d]),(0,t.useEffect)(()=>{b===pe.LOADED&&A()},[b,A]),(0,t.useEffect)(()=>{me()&&y&&y.src===d&&(y.title===u&&y.description===o||A())},[o,A,y,d,u]),(0,t.useEffect)(()=>{if(k)switch(b){case pe.LOADING:k.status!==pe.LOADING&&I();break;case pe.LOADED:k.status!==pe.LOADED&&A();break;case pe.READY:k.status!==pe.READY&&l?.(d,w)}},[I,A,w,l,k,d,b]);const P=function(e,...t){const n={};for(const i in e)({}).hasOwnProperty.call(e,i)&&(t.includes(i)||(n[i]=e[i]));return n}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return me()?f?(0,t.cloneElement)(f,{ref:a,...P}):[pe.UNSUPPORTED,pe.FAILED].includes(b)?i:s:s}function Ee(e){ye||(ye=new ke);const{loader:n}=e,[i,o]=(0,t.useState)(ye.isReady);return(0,t.useEffect)(()=>{i||ye.onReady(()=>{o(!0)})},[i]),i?t.createElement(xe,{...e}):n}const De=({showIcon:e,spotIconName:t,spotIconSize:n,spotIconMargin:o,spotIconPadding:r,spotIconAlignment:a})=>e&&t&&n?i().createElement(Ee,{src:`/static/assets/icons/spot/${t}.svg`,"aria-hidden":"true",height:n,width:n,loader:i().createElement("div",{style:{width:`${n}px`,height:`${n}px`}}),className:$(o,r,a)}):null;De.defaultProps={spotIconMargin:"",spotIconPadding:"",spotIconAlignment:""};const Ae=De;function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ie.apply(null,arguments)}const Se=({widgetConfiguration:e,windowId:t,deviceType:n,isClickableDivElement:o,isHovered:r,headingText:a,contentText:s,buttonText:c,dialogWindowTitleText:l,target:d})=>{const{widgetAlignment:u,widgetJustify:g,widgetMargin:p,widgetPadding:h,textAlignment:f,contentWrapperWidth:w,contentWrapperTransitionProperty:b,contentWrapperTransitionTimingFunction:y,contentWrapperTransitionDuration:k,buttonTransitionProperty:T,buttonTransitionTimingFunction:v,buttonTransitionDuration:C,textColor:x,imageLocation:E,enableContentOverflowHidden:D,contentWrapperFlexDisplay:A,contentWrapperClasses:I,iconType:S}=e,P=S===m?Ae:Y;return i().createElement("div",{style:D?{overflow:"hidden"}:null,className:$("cta-content","d-flex",A,I,"position-relative",u,g,p,h,f,x,w,b,y,k),"data-testid":"content-wrapper"},i().createElement(P,e),"foreground"===E&&i().createElement(K,e),i().createElement(ie,Ie({},e,{windowId:t,headingText:a})),i().createElement(te,Ie({},e,{contentText:s})),i().createElement(Q,Ie({},e,{windowId:t,deviceType:n,isClickableDivElement:o,isHovered:r,target:d,dialogWindowTitleText:l,buttonText:c,buttonTransitionProperty:T,buttonTransitionTimingFunction:v,buttonTransitionDuration:C})))};
1Se.defaultProps={headingText:"",contentText:"",buttonText:"",dialogWindowTitleText:""};const Pe=Se;function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Oe.apply(null,arguments)}const Le=(e=null)=>{const t={};return e&&(t.height=e),t},Me=()=>{const e=(0,u.useFlags)(),t=e["ws-content-cta-render-atf"],n=e["cloudfront-pictures-hostname"]||"",a=(0,r.usePrefs)(),{url:s,urlParams:c,displayStyle:l}=a,d=(0,r.useLabels)(),g=(0,r.useSitemap)(),h=(0,o.useDispatch)(),{hover:{isHovered:m},widgetInfo:{deviceType:f,windowId:b,isPriorityContent:k}}=(0,o.useSelector)(e=>e),[v,C]=i().useState(!1),[D,I]=i().useState(),S={eventName:"wsContentCTALatencyTracking",eventStart:0,totalRenderTime:0};v||(S.eventStart=Date.now());i().useEffect(()=>{(()=>{const e=((e="",t="")=>t.includes("SERVICE_LEAD")||t.includes("SCHEDULE_SERVICE")||e.includes("service")&&(e.includes("schedule")||e.includes("appointment"))?"schedule-service":"unknown")(A(g,(s||"").trim()),E(s)?s:""),t=({detail:{location:t}={}})=>{e===t&&I({location:t,...window.DDC.PrivateAPI.getPageLevelModifications(t)})};window.addEventListener("wiapiPageModificationUpdate",t),window.DDC.PrivateAPI&&"function"==typeof window.DDC.PrivateAPI.getPageLevelModifications&&window.DDC.PrivateAPI.getPageLevelModifications(e)&&t({detail:{location:e}})})(),S.totalRenderTime=Date.now()-S.eventStart,C(!0),e["ws-content-cta-latency-tracking"]&&y(S.eventName,S)},[]);const P=F(f,m,l,a,g,b,D,k,t,n),{widgetHeight:O,dialogWindowWidth:L,enableDialogWindow:M,enableOpenNewWindow:W,enableClickable:R,url:N,wiapiOnClick:z,showButton:H,imageLocation:U,headingLabel:_,contentLabel:q,buttonLabel:G,accessibleDescription:V,dialogWindowTitleLabel:J,widgetBackgroundColor:Y,widgetTransitionProperty:X,widgetTransitionTimingFunction:Z,widgetTransitionDuration:Q,backgroundWrapperWidth:ee,backgroundWrapperClasses:te,wiapiDataAttr:ne}=P,ie=c&&"/404.htm"!==N?`${N}${((e,t)=>{try{if(!e)return"";const n=decodeURIComponent(e),i=new URLSearchParams(n.split(",").map(e=>e.trim().split("="))).toString();return`${t.includes("?")?"&":"?"}${i}`}catch(e){return""}})(c,N)}`:N;P.url=ie;const oe=R&&""!==ie,re=oe&&!H,ae=oe&&re,se=M&&(ae||re),ce=re?"a":"div",le=W&&!M?"_blank":"",de=_&&d.getHTML(_),ue=d.get(J),ge=d.get(V);return i().createElement(ce,Oe({className:j(R,m,U,Y,X,Z,Q,B(se,f)),style:Le(O),href:re?ie:null,"aria-label":ge||null,"aria-labelledby":ge?null:`${b}-heading ${b}-button`,role:ae?"button":null,"data-href":se?ie:null,"data-modal":se?"true":null,"data-title":se&&ue?ue:null,"data-width":se&&L?L:null,target:re&&le?le:null,onClick:oe?e=>(({event:e,url:t,enableOpenNewWindow:n,elementCTA:i,windowId:o,isClickableModal:r,wiapiOnClick:a,ariaLabel:s="",isAnchor:c,reactElementText:l})=>{e.preventDefault(),w({element:"ws-content-cta Call to action",elementCTA:i,url:t,elementType:c?"anchor":"notAnchorNorButton",result:`Navigated to ${t}`,windowId:o,ariaLabel:s,reactElementText:l}),a?a?.():r||(n?window.open(t):window.location.href=t)})({event:e,url:ie,enableOpenNewWindow:W,elementCTA:d.get(G),windowId:b,isClickableModal:se,wiapiOnClick:z,ariaLabel:ge,isAnchor:re,reactElementText:"string"==typeof de?.props?.children?de?.props?.children:""}):null,onMouseEnter:()=>R&&h(p(!0)),onMouseLeave:()=>R&&h(p(!1))},re&&ne),"foreground"!==U&&i().createElement("div",{className:$(ee,te),style:{overflow:"hidden"}},i().createElement(K,P)),i().createElement(Pe,{widgetConfiguration:P,windowId:b,deviceType:f,isClickableElement:ae,isHovered:m,imageLocation:U,headingText:de,contentText:q&&(pe=d.get(q),((e,t,n)=>e(t(n)))(T(),x,pe)),buttonText:G&&d.getHTML(G),dialogWindowTitleText:ue,target:le}));var pe},We=(e,t,n)=>{const i=["ddc-content",t];return e&&i.push(e),n&&i.push("collapse-container"),i},Re=(e,t,n)=>{const i=[],{widgetHeading:o,headingIconClasses:r,headingIconSize:a,headingIconStyle:s}=e;return o&&t&&(i.push("ddc-icon"),n||i.push(`ddc-icon-${s}`),a&&i.push(`ddc-icon-size-${a}`),r&&i.push(r)),i},Ne=(e,t,n)=>{const i=[],{headingSize:o,headingStyles:r,headingClasses:a}=e;return i.push("widget-heading"),"MOBILE"===t&&i.push("ddc-heading"),a&&i.push(a),o&&i.push(o),r&&i.push(`ddc-heading-${r}`),n&&i.push("collapse-heading"),i},ze=({outputWrapperDiv:e,store:t,widgetId:n,widgetName:r})=>{const a=t.getState(),s=a.prefs||{},l=s.widgetHeading&&"true"===s.toggleCollapse||!1,u=!!s.headingIconStyle||l;const g=i().createElement(o.Provider,{store:t},i().createElement(c,{HeadingTag:s.headingTag,headingText:s.widgetHeading,widgetId:n,toggleCollapse:l,showIcon:u,headingClasses:Ne(s,a.requestData.deviceType,l),iconClasses:Re(s,u,l)}),i().createElement(d,{id:n,toggleCollapse:l},i().createElement(Me,null)));if(e){if(!r)throw new Error("widgetName is required if outputWrapperDiv is true.");return i().createElement("div",{id:`${n}-app-root`,className:We(s.widgetClasses,r,l).join(" "),"data-widget-name":r,"data-widget-id":n},g)}return g},He=RTK;const Fe=[],$e={requestData:function(e={},t=null){return!t.error&&t.payload&&"WS_SCRIPTS_SET_REQUEST_DATA"===t.type?t.payload:e},prefs:function(e={},t=null){return t.error||void 0===t.payload||"WS_SCRIPTS_SET_PREFS"!==t.type?e:t.payload},labels:function(e={},t=null){return t.error||void 0===t.payload||"WS_SCRIPTS_ADD_LABELS"!==t.type?e:{...e,...t.payload}},sitemap:function(e={}
1,t=null){return t.error||void 0===t.payload||"WS_SCRIPTS_ADD_SITEMAP"!==t.type?e:{...e,...t.payload}},flags:function(e={},t=null){return t.error||void 0===t.payload||"WS_SCRIPTS_SET_FEATURE_FLAGS"!==t.type?e:t.payload}};function Be(e){const[t,i]=(()=>{let e={},t={};const i=[];try{e=n(737).A,i.push("../reducers")}catch(e){}try{t=Object(function(){var e=new Error("Cannot find module '../features'");throw e.code="MODULE_NOT_FOUND",e}()),i.push("../features")}catch(e){}return[{...e,...t},i]})();return(0,He.configureStore)({reducer:{...t,...$e},middleware:e=>e().concat(Fe),preloadedState:e})}const je={};(()=>{const t=(n="ws-content-cta",window.DDC&&window.DDC.WS&&window.DDC.WS.state&&window.DDC.WS.state[n]?window.DDC.WS.state[n]:{});var n;Object.keys(t).forEach(n=>{const i=Be(((e,t)=>{let n=e[t];return"string"==typeof n&&(n=JSON.parse(n)),n})(t,n));je[n]=i,(0,e.hydrate)(React.createElement(ze,{outputWrapperDiv:!1,store:i,widgetId:n}),document.getElementById(`${n}-app-root`)),delete t[n]})})()})()})();
2//# sourceMappingURL=bundle.3b9170fe95970235538190de410de4f0.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.