/*! For license information please see react.js.LICENSE.txt */ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=336)}([function(e,t,n){"use strict";var r,o=SyntaxError,a=Function,i=TypeError,l=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var s=function(){throw new i},c=u?function(){try{return s}catch(e){try{return u(arguments,"callee").get}catch(e){return s}}}():s,f=n(53)(),p=n(133)(),d=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),m={},h="undefined"!=typeof Uint8Array&&d?d(Uint8Array):r,y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&d?d(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(e){var b=d(d(e));y["%Error.prototype%"]=b}var g=function e(t){var n;if("%AsyncFunction%"===t)n=l("async function () {}");else if("%GeneratorFunction%"===t)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=l("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&d&&(n=d(o.prototype))}return y[t]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n(25),k=n(135),w=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),O=S.call(Function.call,String.prototype.replace),x=S.call(Function.call,String.prototype.slice),E=S.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,j=function(e,t){var n,r=e;if(k(v,r)&&(r="%"+(n=v[r])[0]+"%"),k(y,r)){var a=y[r];if(a===m&&(a=g(r)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,P,(function(e,t,n,o){r[r.length]=n?O(o,T,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",a=j("%"+r+"%",t),l=a.name,s=a.value,c=!1,f=a.alias;f&&(r=f[0],C(n,w([0,1],f)));for(var p=1,d=!0;p=n.length){var g=u(s,m);s=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:s[m]}else d=k(s,m),s=s[m];d&&!c&&(y[l]=s)}}return s}},function(e,t,n){"use strict";e.exports=n(98)},,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(26),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},,,,,function(e,t,n){"use strict";var r=n(131),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,l=Object.defineProperty,u=n(34)(),s=l&&u,c=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===a.call(o)&&r())&&(s?l(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},f=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var l=0;le.displayName||e.name||"Component";t.HOCWrapper=e=>(t,...n)=>{if(t instanceof Function){const n=t,r=t=>i.createElement(e,o({},t,{children:n}));for(const e in n)r[e]=n[e];return r.displayName=`Fusion${l(e)}(${l(n)})`,r.propTypes=o({},n.propTypes||{},{},e.propTypes||{}),r}{const r=t;return i.createElement(e,o({},r,{children:r.render||r.children||n}))}}},function(e,t,n){(function(e,n){var r="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",i="[object AsyncFunction]",l="[object Function]",u="[object GeneratorFunction]",s="[object Null]",c="[object Object]",f="[object Proxy]",p="[object Undefined]",d=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[a]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h[l]=h["[object Map]"]=h["[object Number]"]=h[c]=h["[object RegExp]"]=h["[object Set]"]=h["[object String]"]=h["[object WeakMap]"]=!1;var y="object"==typeof e&&e&&e.Object===Object&&e,b="object"==typeof self&&self&&self.Object===Object&&self,g=y||b||Function("return this")(),v=t&&!t.nodeType&&t,S=v&&"object"==typeof n&&n&&!n.nodeType&&n,k=S&&S.exports===v,w=k&&y.process,C=function(){try{var e=S&&S.require&&S.require("util").types;return e||w&&w.binding&&w.binding("util")}catch(e){}}(),O=C&&C.isTypedArray;var x,E,P,T=Array.prototype,j=Function.prototype,_=Object.prototype,A=g["__core-js_shared__"],R=j.toString,N=_.hasOwnProperty,I=(x=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",F=_.toString,z=R.call(Object),L=RegExp("^"+R.call(N).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=k?g.Buffer:void 0,D=g.Symbol,B=g.Uint8Array,$=M?M.allocUnsafe:void 0,W=(E=Object.getPrototypeOf,P=Object,function(e){return E(P(e))}),H=Object.create,U=_.propertyIsEnumerable,K=T.splice,V=D?D.toStringTag:void 0,Y=function(){try{var e=ve(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=M?M.isBuffer:void 0,Q=Math.max,G=Date.now,X=ve(g,"Map"),J=ve(Object,"create"),Z=function(){function e(){}return function(t){if(!Ae(t))return{};if(H)return H(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},te.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ne.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(X||te),string:new ee}},ne.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},ne.prototype.get=function(e){return ge(this,e).get(e)},ne.prototype.has=function(e){return ge(this,e).has(e)},ne.prototype.set=function(e,t){var n=ge(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},re.prototype.clear=function(){this.__data__=new te,this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},re.prototype.get=function(e){return this.__data__.get(e)},re.prototype.has=function(e){return this.__data__.has(e)},re.prototype.set=function(e,t){var n=this.__data__;if(n instanceof te){var r=n.__data__;if(!X||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ne(r)}return n.set(e,t),this.size=n.size,this};var se,ce=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var l=a[se?i:++r];if(!1===t(o[l],l,o))break}return e};function fe(e){return null==e?void 0===e?p:s:V&&V in Object(e)?function(e){var t=N.call(e,V),n=e[V];try{e[V]=void 0;var r=!0}catch(e){}var o=F.call(e);r&&(t?e[V]=n:delete e[V]);return o}(e):function(e){return F.call(e)}(e)}function pe(e){return Re(e)&&fe(e)==a}function de(e){return!(!Ae(e)||function(e){return!!I&&I in e}(e))&&(je(e)?L:d).test(function(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function me(e){if(!Ae(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ke(e),n=[];for(var r in e)("constructor"!=r||!t&&N.call(e,r))&&n.push(r);return n}function he(e,t,n,r,o){e!==t&&ce(t,(function(a,i){if(o||(o=new re),Ae(a))!function(e,t,n,r,o,a,i){var l=we(e,n),u=we(t,n),s=i.get(u);if(s)return void ae(e,n,s);var f=a?a(l,u,n+"",e,t,i):void 0,p=void 0===f;if(p){var d=Ee(u),m=!d&&Te(u),h=!d&&!m&&Ne(u);f=u,d||m||h?Ee(l)?f=l:Re(S=l)&&Pe(S)?f=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(be);function Oe(e,t){return e===t||e!=e&&t!=t}var xe=pe(function(){return arguments}())?pe:function(e){return Re(e)&&N.call(e,"callee")&&!U.call(e,"callee")},Ee=Array.isArray;function Pe(e){return null!=e&&_e(e.length)&&!je(e)}var Te=q||function(){return!1};function je(e){if(!Ae(e))return!1;var t=fe(e);return t==l||t==u||t==i||t==f}function _e(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ae(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Re(e){return null!=e&&"object"==typeof e}var Ne=O?function(e){return function(t){return e(t)}}(O):function(e){return Re(e)&&_e(e.length)&&!!h[fe(e)]};function Ie(e){return Pe(e)?oe(e,!0):me(e)}var Fe,ze=(Fe=function(e,t,n){he(e,t,n)},ye((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=Fe.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!Ae(n))return!1;var r=typeof t;return!!("number"==r?Pe(n)&&Se(t,n.length):"string"==r&&t in n)&&Oe(n[t],e)}(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n{const a=(...t)=>e(...t),i=`${t}.isRequired`;return a.type=t,a.args=n,a.tag=r=>{const l=(...e)=>a(...e);return l.type=t,l.args=n,l.tags=r,!o&&e.isRequired&&((l.isRequired=(...t)=>e.isRequired(...t)).type=i,l.isRequired.args=n,l.isRequired.tags=r),l},!o&&e.isRequired&&(a.isRequired=r(e.isRequired,i,n,!0)),a},o=(e,t)=>n=>{const o=e(n);return r(o,t,n)};e.exports={taggable:(e,t)=>e.isRequired?r(e,t):o(e,t),taggableComplex:o,taggablePrimitive:r}},function(e,t,n){"use strict";const{useContext:r}=n(1),o=n(19),a=Symbol("prop-prefix"),i=["content_elements"],l="undefined"!=typeof window;function u(e,...t){return Object.assign(e instanceof Array?[]:{},e,...t)}function s(e){return e?e.id||e._id:null}function c(e,...t){const n=t.filter((e=>!!e)),r=n.length?o({},e,...n):e;return l&&Fusion.isAdmin?u(r,{[a]:e[a]}):r}const f=(e,t)=>`${t?`${t}.`:""}${e}`;function p(e,t){return e instanceof Object?Object.keys(e).map((n=>`${n}=${f(e[n],t)}`)).join(";"):f(e,t)}e.exports={applyLocalEdits:function(e,t,n){const r=s(e),o=function(e,t){const n=s(e);return n?t?`${t}:${n}`:n:null}(e,n),f=function(e){if(e&&l&&Fusion.isAdmin){const t=s(e);return u(e,...i.map((n=>{if(e&&e[n])return{[n]:e[n].map((e=>u(e,{[a]:`${t}.${n}.${s(e)}`})))}})),{[a]:t})}return e}(e);if(!t||!t[r]&&!t[o])return f;const p=u(t&&t[o],t&&t[r]),d=u(...i.map((e=>{const t=p[e];return delete p[e],t&&{[e]:t}}))),m=u(...i.map((e=>{const t=f&&f[e];if(t&&d[e])return{[e]:t.map((t=>function(e,t){const n=s(e);return c(e,t&&t[n])}(t,d[e])))}})));return c(f,p,m)},useEditableContent:function(){const{id:e}=r(Fusion.contexts.component);return l&&Fusion.isAdmin?{editableField:t=>({"data-feature":e,"data-field-editable":p(t),contentEditable:"true"}),editableContent:(t,n)=>({"data-feature":e,"data-content-editable":p(n,t&&t[a]),contentEditable:"true"}),searchableField:(t,n="image",r={})=>({"data-feature":e,"data-field-editable":p(t),contentEditable:"true","data-searchable":"true","data-searchable-type":n,"data-content-source":null==r?void 0:r.contentSource}),searchableContent:(t,n,r="image")=>{return{"data-feature":e,"data-content-editable":(o=n,i=t&&t[a],o instanceof Object?Object.keys(o).map((e=>`${f(e,i)}=${o[e]}`)).join(";"):f(o,i)),contentEditable:"true","data-searchable":"true","data-searchable-type":r};var o,i}}:{editableField:()=>({}),editableContent:()=>({}),searchableField:()=>({}),searchableContent:()=>({})}}}},function(e,t,n){"use strict";var r=n(134);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r=n(25),o=n(0),a=n(136),i=o("%TypeError%"),l=o("%Function.prototype.apply%"),u=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(u,l),c=o("%Object.defineProperty%",!0),f=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=s(r,u,arguments);return a(t,1+f(0,e.length-(arguments.length-1)),!0)};var p=function(){return s(r,l,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},,,function(e,t,n){e.exports=n(104)()},,function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const{getXArcPbSegmentId:a}=n(115),{HOCWrapper:i}=n(18),{useAppContext:l,withAppContext:u}=n(116),{useComponentContext:s,withComponentContext:c}=n(50),{ContextComponent:f,withContext:p}=n(32),d=()=>function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;tObject.assign((n=>{const r=e();return(0,l.createElement)(t,a({},n,{},r))}),{displayName:`withContext(${t.displayName||t.name})`,propTypes:t.propTypes})},t.ContextComponent=function(e){var t;return Object.assign((t=>{let{children:n}=t,o=r(t,["children"]);const i=(Array.isArray(n)?n:[n]).filter((e=>Boolean(e))),u=e();return(0,l.createElement)(l.Fragment,{},i.map(((e,t)=>(0,l.createElement)(e,a({key:t},u,{},o)))))}),{displayName:`ContextComponent(${null!==(t=e.name)&&void 0!==t?t:""})`})}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){const{collection:t,props:n={}}=e;return"features"===t&&(n.variants?Object.keys(n.variants):[]).length>0}Object.defineProperty(t,"__esModule",{value:!0}),t.sendEventConfirmation=t.modifyNodeWithVariants=t.componentHasTest=t.getTestIds=t.fetchVariantsToRender=void 0,t.fetchVariantsToRender=async function(e=[]){if(!e.length)return{};const t=`/bandito/v2/api/variants?ids=${e.map((e=>e.trim())).join(",")}`;try{var n;const r=await window.fetch(t);if(200!==r.status)throw new Error(`Fetching Bandito variants failed with status code ${r.status}`);const o=null!==(n=await r.json())&&void 0!==n?n:[];return e.reduce(((e,t)=>(e[t]=function(e,t){const n=e.find((e=>e._id===t));return n?n.winner:null}(o,t),e)),{})}catch(e){return Fusion.isAdmin&&console.warn("Error fetching winning variants:",e instanceof Error?e.message:String(e)),{}}},t.getTestIds=function(e){return e.filter(a).map((({props:e={}})=>e.id)).filter((e=>e))},t.componentHasTest=function(e,t={}){return t.hasOwnProperty(e)},t.modifyNodeWithVariants=function(e={},t={}){var n;const a=e.id;if(!a||!t[a])return e;const i=t[a];if(!(null===(n=e.variants)||void 0===n?void 0:n[i]))return e;const l=e.variants[i];return function(e){for(var t=1;t1)for(var n=1;n(t,n,r)=>t[n]?e(t,n,r):new Error(`${n} is required on ${r}`)},function(e,t,n){"use strict";e.exports=n(110)},function(e,t,n){"use strict";var r=n(48),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),h=u(n),y=0;y=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const i=n(1),{useContext:l}=i,{applyLocalEdits:u}=n(24),{HOCWrapper:s}=n(18),{componentHasTest:c,sendEventConfirmation:f}=n(33),{ContextComponent:p,withContext:d}=n(32),m=()=>{const{editedGlobalContents:e,variantMap:t,props:n={}}=l(Fusion.contexts.app),i=l(Fusion.contexts.component),{localEdits:s,variants:p}=i,d=a(i,["localEdits","variants"]);return function(e){for(var t=1;t{const{id:e,isVariant:n=e}=d;return c(e,t)?f({eventType:"clicked",testId:e,variantId:n}):Promise.resolve(null)}})},h=s(p(m));e.exports.ComponentContext=h,e.exports.useComponentContext=m,e.exports.withComponentContext=d(m)},function(e,t,n){"use strict";const{applyLocalEdits:r}=n(24),o=e=>e;e.exports=(e,t,n)=>(a,i)=>{const{name:l,filter:u,inherit:s,staticMode:c}=a;if(s||a.global){const e=n();return{cached:e,fetched:Promise.resolve(e)}}const f=a.sourceName||a.source||a.contentService;if(!f)return{fetched:Promise.resolve()};const p=a.query||a.contentConfigValues||a.key,{cached:d,fetched:m}=e({source:f,query:p,filter:u,staticMode:c},i),h=a.transform||o,y=e=>r(h(e),t,l);return{cached:y(d),fetched:m.then(y)}}},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(54);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(0)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},function(e,t,n){"use strict";var r=n(0),o=n(8),a=r("%TypeError%"),i=n(139),l=n(57),u=n(145),s=n(146),c=n(147),f=n(164),p=n(60),d=n(165),m=o("String.prototype.split"),h=Object("a"),y="a"!==h[0]||!(0 in h);e.exports=function(e){var t,n=f(this),r=y&&d(this)?m(this,""):n,o=c(r);if(!s(e))throw new a("Array.prototype.forEach callback must be a function");arguments.length>1&&(t=arguments[1]);for(var h=0;h{const n=String(e),r=String(t);return nr?1:0};function o(e,t,n,a){let i,l=n;"function"!=typeof l&&(l=(e,t)=>{i=t});const{value:u,onValue:s}=function(e,t,n){let r=e,o=n;return"function"==typeof o?(r=o(t,r),o="object"==typeof r?o:void 0):"function"==typeof r&&(r=void 0),{value:r,onValue:o}}(e,a,t);return null===u||"object"!=typeof u?function(e,t,n){let r,o=null;try{r=JSON.stringify(t)}catch(e){o=e}n(o,r)}(0,u,l):function(e,t,n,o){const a=Object.keys(t),i=t instanceof Array;let l=null,u=0;const s=[],c=()=>{const e=i?`[${s.map((e=>null===e?"null":e)).join(",")}]`:`{${s.sort(r).filter(Boolean).join(",")}}`;o(null,e)},f=(e,t,n)=>null!==l?null:null!==e?(l=e,void o(e)):(s[n]=void 0===t?null:t,++u!==a.length?null:void c()),p=(r,o)=>{const a=void 0===t[r]?null:t[r];return e(a,n,((e,t)=>f(e,t,o)),r)},d=(r,o)=>void 0===t[r]?f(null,null):e(t[r],n,((e,t)=>{const n=void 0===t?null:`"${String(r)}":${String(t)}`;return f(e,n,o)}),r);if(0!==a.length)return a.map(i?p:d);c()}(o,u,s,l),i}t.stringify=o,t.normalize=function(e,t,n,r){const a=o(e,t,n,r);if(void 0!==a)return JSON.parse(a)}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;const i=a(n(1));t.Message=e=>i.default.createElement("div",function(e){for(var t=1;t{const r=n.id.substr(`${o.Static.EntryComponent.prefix}:`.length);n.getAttribute("data-persistent-entry")||delete this.staticElements[r];const a=e.getElementById(`${o.Static.ExitComponent.prefix}:${r}`);if(a){if(!this.staticElements[r]){const e=[];let o=n.nextSibling;for(;o&&o!==a;)e.push(t?window.document.importNode(o,!0):o),o=o.nextSibling;o?this.staticElements[r]=e:console.error("Error: Engine cannot reach the exit element due to invalid HTML or JS within the Static component with id:",r)}a.parentElement.removeChild(a)}else console.error("Error: Engine cannot find the exit element within the Static component with id:",r);n.parentElement.removeChild(n)})),this.lazyElements={};const r=e.querySelectorAll("div[data-fusion-lazy-id]");Array.prototype.slice.call(r).forEach((e=>{const t=e.getAttribute("data-fusion-lazy-id");this.lazyElements[t]=e.innerHTML}))}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t{const[m,h]=c(t),y=o({},t,{variantMap:m.variantMap}),b=p(!0);return f((()=>{h((e=>o({},m,{variantMap:n&&r||e.variantMap})))}),[t,n,r]),f((()=>{if(b.current)b.current=!1;else if(!n&&s(a)){const e=l(m.props.renderables);i(e).then((e=>{0!==Object.keys(e).length&&(h((t=>o({},t,{variantMap:e}))),Object.keys(e).forEach((t=>{const n=e[t];u({eventType:"served",testId:t,variantId:n})})))}))}}),[t.props.renderables,n,a]),React.createElement(e,d?y:m)}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t{switch(e.status){case 200:return e.json();case 304:return t.data;default:return e.text().then((e=>{throw new Error(e)}))}})).catch((e=>(console.error(e),t&&t.data)))}function f({source:e,query:t,filter:n,staticMode:r},o){if(r&&!Fusion.isAdmin)return{fetched:Promise.resolve()};const a=s(t),i=Fusion.contentCache&&Fusion.contentCache[e];if(i){const t=i[a];if(t){const r=+new Date;return{cached:t.data,fetched:t.expires{const t=window.location.pathname,n=Fusion.contextPath?t.match(`^${Fusion.contextPath}(/.*)`):null,r=n?n[1]:t,a={arcSite:Fusion.arcSite,contextPath:Fusion.contextPath,deployment:i(Fusion.deployment),getProperties:Fusion.getProperties,globalContent:Fusion.globalContent,globalContentConfig:Fusion.globalContentConfig,isAdmin:!!Fusion.isAdmin,outputType:Fusion.outputType,requestUri:Fusion.requestUri||r+window.location.search,siteProperties:Fusion.getProperties(Fusion.arcSite),template:Fusion.template};return{editedGlobalContents:{},eventListeners:{},getContent:f,props:Object.assign({},a,l(o({tree:e,metas:Fusion.metas},a))),variantMap:{}}}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.props)));const n=e.key||e.props.id,o=t===l.Fragment?{key:n}:t instanceof Function?a({key:n},e.props):{key:n,"data-fusion-collection":e.collection,"data-fusion-type":e.type};return l.createElement(Fusion.contexts.app.Consumer,{key:n},(n=>{const a=c(o,n.variantMap),{localEdits:i}=a,u=r(a,["localEdits"]);return l.createElement(Fusion.contexts.component.Provider,{key:o.key,value:a},l.createElement(t,u,this.createChildren(e)))}))}getErrorElement(e){const{collection:t,type:n,props:r,message:o}=e;return l.createElement(u,{key:r.id,id:r.id,"data-fusion-collection":t,"data-fusion-type":n,"data-fusion-name":r.name,"data-fusion-message":`${o} [${t}:${n}]`})}}},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(1),o=n(99);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n