PageSourceSearch

https://www.urbanarmorgear.com/_next/static/immutable/chunks/3jg9gdoeh38r7.js

js urbanarmorgear.com collected 2026-09-24 10:46:56 UTC 362,071 bytes, 4,448 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e9b3fc3e-b8d7-3764-b246-c3b02d7d0af8")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8224,(e,t,a)=>{"use strict";t.exports=TypeError},52493,(e,t,a)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,l=r&&Map.prototype.forEach,n="function"==typeof Set&&Set.prototype,d=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=n&&d&&"function"==typeof d.get?d.get:null,c=n&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,g=Object.prototype.toString,x=Function.prototype.toString,h=String.prototype.match,y=String.prototype.slice,v=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,j=RegExp.prototype.test,S=Array.prototype.concat,k=Array.prototype.join,$=Array.prototype.slice,C=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,B="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I?"object":"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||j.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-C(-e):C(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return v.call(o,a,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,a,"$&_")}var O={},A=O.custom,F=_(A)?A:null,E={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function W(e,t,a){var r=E[a.quoteStyle||t];return r+e+r}function G(e){return!B||!("object"==typeof e&&(B in e||void 0!==e[B]))}function V(e){return"[object Array]"===q(e)&&G(e)}function U(e){return"[object RegExp]"===q(e)&&G(e)}
2function _(e){if(I)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!N)return!1;try{return N.call(e),!0}catch(e){}return!1}t.exports=function t(a,r,o,n){var d,g,b,j,C,P=r||{};if(z(P,"quoteStyle")&&!z(E,P.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(z(P,"maxStringLength")&&("number"==typeof P.maxStringLength?P.maxStringLength<0&&P.maxStringLength!==1/0:null!==P.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var A=!z(P,"customInspect")||P.customInspect;if("boolean"!=typeof A&&"symbol"!==A)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(P,"indent")&&null!==P.indent&&"	"!==P.indent&&!(parseInt(P.indent,10)===P.indent&&P.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(P,"numericSeparator")&&"boolean"!=typeof P.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var H=P.numericSeparator;if(void 0===a)return"undefined";if(null===a)return"null";if("boolean"==typeof a)return a?"true":"false";if("string"==typeof a)return function e(t,a){if(t.length>a.maxStringLength){var r=t.length-a.maxStringLength;return e(y.call(t,0,a.maxStringLength),a)+("... "+r)+" more character"+(r>1?"s":"")}var o=L[a.quoteStyle||"single"];return o.lastIndex=0,W(v.call(v.call(t,o,"\\$1"),/[\x00-\x1f]/g,Y),"single",a)}(a,P);if("number"==typeof a){if(0===a)return 1/0/a>0?"0":"-0";var et=String(a);return H?M(a,et):et}if("bigint"==typeof a){var ea=String(a)+"n";return H?M(a,ea):ea}var er=void 0===P.depth?5:P.depth;if(void 0===o&&(o=0),o>=er&&er>0&&"object"==typeof a)return V(a)?"[Array]":"[Object]";var eo=function(e,t){var a;if("	"===e.indent)a="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;a=k.call(Array(e.indent+1)," ")}return{base:a,prev:k.call(Array(t+1),a)}}(P,o);if(void 0===n)n=[];else if(K(n,a)>=0)return"[Circular]";function ei(e,a,r){if(a&&(n=$.call(n)).push(a),r){var i={depth:P.depth};return z(P,"quoteStyle")&&(i.quoteStyle=P.quoteStyle),t(e,i,o+1,n)}return t(e,P,o+1,n)}if("function"==typeof a&&!U(a)){var el=function(e){if(e.name)return e.name;var t=h.call(x.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(a),en=ee(a,ei);return"[Function"+(el?": "+el:" (anonymous)")+"]"+(en.length>0?" { "+k.call(en,", ")+" }":"")}if(_(a)){var ed=I?v.call(String(a),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(a);return"object"!=typeof a||I?ed:Z(ed)}if((es=a)&&"object"==typeof es&&("u">typeof HTMLElement&&es instanceof HTMLElement||"string"==typeof es.nodeName&&"function"==typeof es.getAttribute)){for(var es,ec,eu="<"+w.call(String(a.nodeName)),ep=a.attributes||[],ef=0;ef<ep.length;ef++){eu+=" "+ep[ef].name+"="+W((ec=ep[ef].value,v.call(String(ec),/"/g,"&quot;")),"double",P)}return eu+=">",a.childNodes&&a.childNodes.length&&(eu+="..."),eu+="</"+w.call(String(a.nodeName))+">"}if(V(a)){if(0===a.length)return"[]";var em=ee(a,ei);return eo&&!function(e){for(var t=0;t<e.length;t++)if(K(e[t],"\n")>=0)return!1;return!0}(em)?"["+J(em,eo)+"]":"[ "+k.call(em,", ")+" ]"}if("[object Error]"===q(d=a)&&G(d)){var eg=ee(a,ei);return"cause"in Error.prototype||!("cause"in a)||T.call(a,"cause")?0===eg.length?"["+String(a)+"]":"{ ["+String(a)+"] "+k.call(eg,", ")+" }":"{ ["+String(a)+"] "+k.call(S.call("[cause]: "+ei(a.cause),eg),", ")+" }"}if("object"==typeof a&&A){if(F&&"function"==typeof a[F]&&O)return O(a,{depth:er-o});else if("symbol"!==A&&"function"==typeof a.inspect)return a.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(a)){var ex=[];return l&&l.call(a,function(e,t){ex.push(ei(t,a,!0)+" => "+ei(e,a))}),Q("Map",i.call(a),ex,eo)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(a)){var eh=[];return c&&c.call(a,function(e){eh.push(ei(e,a))}),Q("Set",s.call(a),eh,eo)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(a))return X("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(a))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(a))return X("WeakRef");if("[object Number]"===q(g=a)&&G(g))return Z(ei(Number(a)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(a))return Z(ei(R.call(a)));if("[object Boolean]"===q(b=a)&&G(b))return Z(m.call(a));if("[object String]"===q(j=a)&&G(j))return Z(ei(String(a)));if("u">typeof window&&a===window)return"{ [object Window] }";if("u">typeof globalThis&&a===globalThis||a===e.g)return"{ [object globalThis] }";if(!("[object Date]"===q(C=a)&&G(C))&&!U(a)){var ey=ee(a,ei),ev=D?D(a)===Object.prototype:a instanceof Object||a.constructor===Object,eb=a instanceof Object?"":"null prototype",ew=!ev&&B&&Object(a)===a&&B 
2in a?y.call(q(a),8,-1):eb?"Object":"",ej=(ev||"function"!=typeof a.constructor?"":a.constructor.name?a.constructor.name+" ":"")+(ew||eb?"["+k.call(S.call([],ew||[],eb||[]),": ")+"] ":"");return 0===ey.length?ej+"{}":eo?ej+"{"+J(ey,eo)+"}":ej+"{ "+k.call(ey,", ")+" }"}return String(a)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return H.call(e,t)}function q(e){return g.call(e)}function K(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,r=e.length;a<r;a++)if(e[a]===t)return a;return -1}function Y(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function Z(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Q(e,t,a,r){return e+" ("+t+") {"+(r?J(a,r):k.call(a,", "))+"}"}function J(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+k.call(e,","+a)+"\n"+t.prev}function ee(e,t){var a,r=V(e),o=[];if(r){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=z(e,i)?t(e[i],e):""}var l="function"==typeof P?P(e):[];if(I){a={};for(var n=0;n<l.length;n++)a["$"+l[n]]=l[n]}for(var d in e)if(z(e,d)&&(!r||String(Number(d))!==d||!(d<e.length)))if(I&&a["$"+d]instanceof Symbol)continue;else j.call(/[^\w$]/,d)?o.push(t(d,e)+": "+t(e[d],e)):o.push(d+": "+t(e[d],e));if("function"==typeof P)for(var s=0;s<l.length;s++)T.call(e,l[s])&&o.push("["+t(l[s])+"]: "+t(e[l[s]],e));return o}},491455,(e,t,a)=>{"use strict";var r=e.r(52493),o=e.r(8224),i=function(e,t,a){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,a||(r.next=e.next,e.next=r),r},l=function(e,t){if(e){var a=i(e,t);return a&&a.value}},n=function(e,t,a){var r=i(e,t);r?r.value=a:e.next={key:t,next:e.next,value:a}},d=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var a=d(e,t);return a&&e&&!e.next&&(e=void 0),!!a},get:function(t){return l(e,t)},has:function(t){var a;return!!(a=e)&&!!i(a,t)},set:function(t,a){e||(e={next:void 0}),n(e,t,a)}};return t}},608435,(e,t,a)=>{"use strict";t.exports=Object},639857,(e,t,a)=>{"use strict";t.exports=Error},974660,(e,t,a)=>{"use strict";t.exports=EvalError},930575,(e,t,a)=>{"use strict";t.exports=RangeError},265756,(e,t,a)=>{"use strict";t.exports=ReferenceError},143e3,(e,t,a)=>{"use strict";t.exports=SyntaxError},420570,(e,t,a)=>{"use strict";t.exports=URIError},860410,(e,t,a)=>{"use strict";t.exports=Math.abs},692069,(e,t,a)=>{"use strict";t.exports=Math.floor},400315,(e,t,a)=>{"use strict";t.exports=Math.max},869897,(e,t,a)=>{"use strict";t.exports=Math.min},755752,(e,t,a)=>{"use strict";t.exports=Math.pow}
2,156056,(e,t,a)=>{"use strict";t.exports=Math.round},280407,(e,t,a)=>{"use strict";t.exports=Number.isNaN||function(e){return e!=e}},159532,(e,t,a)=>{"use strict";var r=e.r(280407);t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},267359,(e,t,a)=>{"use strict";t.exports=Object.getOwnPropertyDescriptor},593892,(e,t,a)=>{"use strict";var r=e.r(267359);if(r)try{r([],"length")}catch(e){r=null}t.exports=r},123775,(e,t,a)=>{"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}t.exports=r},651739,(e,t,a)=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),a=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(a))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},130949,(e,t,a)=>{"use strict";var r="u">typeof Symbol&&Symbol,o=e.r(651739);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},675672,(e,t,a)=>{"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},343264,(e,t,a)=>{"use strict";t.exports=e.r(608435).getPrototypeOf||null},277018,(e,t,a)=>{"use strict";var r=Object.prototype.toString,o=Math.max,i=function(e,t){for(var a=[],r=0;r<e.length;r+=1)a[r]=e[r];for(var o=0;o<t.length;o+=1)a[o+e.length]=t[o];return a},l=function(e,t){for(var a=[],r=t||0,o=0;r<e.length;r+=1,o+=1)a[o]=e[r];return a},n=function(e,t){for(var a="",r=0;r<e.length;r+=1)a+=e[r],r+1<e.length&&(a+=t);return a};t.exports=function(e){var t,a=this;if("function"!=typeof a||"[object Function]"!==r.apply(a))throw TypeError("Function.prototype.bind called on incompatible "+a);for(var d=l(arguments,1),s=o(0,a.length-d.length),c=[],u=0;u<s;u++)c[u]="$"+u;if(t=Function("binder","return function ("+n(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var r=a.apply(this,i(d,arguments));return Object(r)===r?r:this}return a.apply(e,i(d,arguments))}),a.prototype){var p=function(){};p.prototype=a.prototype,t.prototype=new p,p.prototype=null}return t}},932672,(e,t,a)=>{"use strict";var r=e.r(277018);t.exports=Function.prototype.bind||r},600358,(e,t,a)=>{"use strict";t.exports=Function.prototype.call},102215,(e,t,a)=>{"use strict";t.exports=Function.prototype.apply},130637,(e,t,a)=>{"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},256450,(e,t,a)=>{"use strict";var r=e.r(932672),o=e.r(102215),i=e.r(600358);t.exports=e.r(130637)||r.call(i,o)},943569,(e,t,a)=>{"use strict";var r=e.r(932672),o=e.r(8224),i=e.r(600358),l=e.r(256450);t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return l(r,i,e)}},190482,(e,t,a)=>{"use strict";var r,o=e.r(943569),i=e.r(593892);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var l=!!r&&i&&i(Object.prototype,"__proto__"),n=Object,d=n.getPrototypeOf;t.exports=l&&"function"==typeof l.get?o([l.get]):"function"==typeof d&&function(e){return d(null==e?e:n(e))}},942527,(e,t,a)=>{"use strict";var r=e.r(675672),o=e.r(343264),i=e.r(190482);t.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},705843,(e,t,a)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty;t.exports=e.r(932672).call(r,o)},578586,(e,t,a)=>{"use strict";var r=e.r(608435),o=e.r(639857),i=e.r(974660),l=e.r(930575),n=e.r(265756),d=e.r(143e3),s=e.r(8224),c=e.r(420570),u=e.r(860410),p=e.r(692069),f=e.r(400315),m=e.r(869897),g=e.r(755752),x=e.r(156056),h=e.r(159532),y=Function,v=function(e){try{return y('"use strict"; return ('+e+").constructor;")()}catch(e){}},b=e.r(593892),w=e.r(123775),j=function(){throw new s},S=b?function(){try{return arguments.callee,j}catch(e){try{return b(arguments,"callee").get}catch(e){return j}}}():j,k=e.r(130949)(),$=e.r(942527),C=e.r(343264),R=e.r(675672),P=e.r(102215),N=e.r(600358),I={},B="u">typeof Uint8Array&&$?$(Uint8Array):void 0,T={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":k&&$?$([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"u"<typeof Atomics?void 0:Atomics,"%BigInt%":"u"<typeof BigInt?void 0:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"u"<typeof Float16Array?void 0:Float16Array,"%Float32Array%":"u"<typeof Float32Array?void 0:Float32Array,"%Float64Array%":"u"<typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":I,"%Int8Array%":"u"<typeof Int8Array?void 0:Int8Array,"%Int16Array%":"u"<typeof Int16Array?void 0:Int16Array,"%Int32Array%":"u"<typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":k&&$?$($([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"u"<typeof Map?void 0:Map,"%MapIteratorPrototype%":"u">typeof Map&&k&&$?$(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?void 0:Promise,"%Proxy%":"u"<typeof Proxy?void 0:Proxy,"%RangeError%":l,"%ReferenceError%":n,"%Reflect%":"u"<typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?void 0:Set,"%SetIteratorPrototype%":"u">typeof Set&&k&&$?$(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&$?$(""[Symbol.iterator]()):void 0,"%Symbol%":k?Symbol:void 0,"%SyntaxError%":d,"%ThrowTypeError%":S,"%TypedArray%":B,"%TypeError%":s,"%Uint8Array%":"u"<typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?void 0:Uint32Array,"%URIError%":c,"%WeakMap%":"u"<typeof WeakMap?void 0:WeakMap,"%WeakRef%":"u"<typeof WeakRef?void 0:WeakRef,"%WeakSet%":"u"<typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":P,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":C,"%Math.abs%":u,"%Math.floor%":p,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":x,"%Math.sign%":h,"%Reflect.getPrototypeOf%":R};if($)try{null.error}catch(e){var D=$($(e));T["%Error.prototype%"]=D}var M=function e(t){var a;if("%AsyncFunction%"===t)a=v("async function () {}");else if("%GeneratorFunction%"===t)a=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=v("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(a=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&$&&(a=$(o.prototype))}return T[t]=a,a},O={__proto__:null,"%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"]},A=e.r(932672),F=e.r(705843),E=A.call(N,Array.prototype.concat),L=A.call(P,Array.prototype.splice),W=A.call(N,String.prototype.replace),G=A.call(N,String.prototype.slice),V=A.call(N,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,H=function(e){var t=G(e,0,1),a=G(e,-1);if("%"===t&&"%"!==a)throw new d("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new d("invalid intrinsic syntax, expected opening `%`");var r=[];return W(e,U,function(e,t,a,o){r[r.length]=a?W(o,_,"$1"):t||e}),r},z=function(e,t){var a,r=e;if(F(O,r)&&(r="%"+(a=O[r])[0]+"%"),F(T,r)){var o=T[r];if(o===I&&(o=M(r)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:r,value:o}}throw new d("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===V(/^%?[^%]*%?$/,e))throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=H(e),r=a.length>0?a[0]:"",o=z("%"+r+"%",t),i=o.name,l=o.value,n=!1,c=o.alias;c&&(r=c[0],L(a,E([0,1],c)));for(var u=1,p=!0;u<a.length;u+=1){var f=a[u],m=G(f,0,1),g=G(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new d("property names with quotes must have matching quotes");if("constructor"!==f&&p||(n=!0),r+="."+f,F(T,i="%"+r+"%"))l=T[i];else if(null!=l){if(!(f in l)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(b&&u+1>=a.length){var x=b(l,f);l=(p=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:l[f]}else p=F(l,f),l=l[f];p&&!n&&(T[i]=l)}}return l}},325887,(e,t,a)=>{"use strict";var r=e.r(578586),o=e.r(943569),i=o([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var a=r(e,!!t);return"function"==typeof a&&i(e,".prototype.")>-1?o([a]):a}},274923,(e,t,a)=>{"use strict";var r=e.r(578586),o=e.r(325887),i=e.r(52493),l=e.r(8224),n=r("%Map%",!0),d=o("Map.prototype.get",!0),s=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),u=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);t.exports=!!n&&function(){var e,t={assert:function(e){if(!t.has(e))throw new l("Side channel does not contain "+i(e))},delete:function(t){if(e){var a=u(e,t);return 0===p(e)&&(e=void 0),a}return!1},get:function(t){if(e)return d(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,a){e||(e=new n),s(e,t,a)}};return t}},34711,(e,t,a)=>{"use strict";var r=e.r(578586),o=e.r(325887),i=e.r(52493),l=e.r(274923),n=e.r(8224),d=r("%WeakMap%",!0),s=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),u=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);t.exports=d?function(){var e,t,a={assert:function(e){if(!a.has(e))throw new n("Side channel does not contain "+i(e))}
2,delete:function(a){if(d&&a&&("object"==typeof a||"function"==typeof a)){if(e)return p(e,a)}else if(l&&t)return t.delete(a);return!1},get:function(a){return d&&a&&("object"==typeof a||"function"==typeof a)&&e?s(e,a):t&&t.get(a)},has:function(a){return d&&a&&("object"==typeof a||"function"==typeof a)&&e?u(e,a):!!t&&t.has(a)},set:function(a,r){d&&a&&("object"==typeof a||"function"==typeof a)?(e||(e=new d),c(e,a,r)):l&&(t||(t=l()),t.set(a,r))}};return a}:l},189196,(e,t,a)=>{"use strict";var r=e.r(8224),o=e.r(52493),i=e.r(491455),l=e.r(274923),n=e.r(34711)||l||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+(e&&Object(e)===e?"the given object key":o(e)))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,a){e||(e=n()),e.set(t,a)}};return t}},762541,(e,t,a)=>{"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:i}},451113,(e,t,a)=>{"use strict";var r=e.r(762541),o=e.r(189196),i=e.r(123775),l=Object.prototype.hasOwnProperty,n=Array.isArray,d=o(),s=function(e,t){return d.set(e,t),e},c=function(e){return d.has(e)},u=function(e){return d.get(e)},p=function(e,t){d.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),m=function(e){for(;e.length>1;){var t=e.pop(),a=t.obj[t.prop];if(n(a)){for(var r=[],o=0;o<a.length;++o)void 0!==a[o]&&(r[r.length]=a[o]);t.obj[t.prop]=r}}},g=function(e,t){for(var a=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(a[r]=e[r]);return a},x=function(e,t,a){"__proto__"===t&&i?i(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a};t.exports={arrayToObject:g,assign:function(e,t){return Object.keys(t).reduce(function(e,a){return x(e,a,t[a]),e},e)},combine:function(e,t,a,r,o){if(c(e)){if(o)throw RangeError("Array limit exceeded. Only "+a+" element"+(1===a?"":"s")+" allowed in an array.");var i=u(e)+1;return e[i]=t,p(e,i),e}var l=[].concat(e,t);if(l.length>a){if(o)throw RangeError("Array limit exceeded. Only "+a+" element"+(1===a?"":"s")+" allowed in an array.");return s(g(l,{plainObjects:r}),l.length-1)}return l},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],a=o(),r=0;r<t.length;++r)for(var i=t[r],l=i.obj[i.prop],n=Object.keys(l),d=0;d<n.length;++d){var s=n[d],c=l[s];"object"!=typeof c||null===c||a.has(c)||(t[t.length]={obj:l,prop:s},a.set(c,!0))}return m(t),e},decode:function(e,t,a){var r=e.replace(/\+/g," ");if("iso-8859-1"===a)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,a,o,i){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===a)return escape(l).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var n="",d=0;d<l.length;d+=1024){var s=l.length>=1024?l.slice(d,d+1024):l;if(d+1024<l.length){var c=s.charCodeAt(s.length-1);c>=55296&&c<=56319&&(s=s.slice(0,-1),d-=1)}for(var u=[],p=0;p<s.length;++p){var m=s.charCodeAt(p);if(45===m||46===m||95===m||126===m||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||i===r.RFC1738&&(40===m||41===m)){u[u.length]=s.charAt(p);continue}if(m<128){u[u.length]=f[m];continue}if(m<2048){u[u.length]=f[192|m>>6]+f[128|63&m];continue}if(m<55296||m>=57344){u[u.length]=f[224|m>>12]+f[128|m>>6&63]+f[128|63&m];continue}p+=1,m=65536+((1023&m)<<10|1023&s.charCodeAt(p)),u[u.length]=f[240|m>>18]+f[128|m>>12&63]+f[128|m>>6&63]+f[128|63&m]}n+=u.join("")}return n},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:s,maybeMap:function(e,t){if(n(e)){for(var a=[],r=0;r<e.length;r+=1)a[a.length]=t(e[r]);return a}return t(e)},merge:function e(t,a,r){if(!a)return t;if("object"!=typeof a&&"function"!=typeof a){if(n(t)){var o=t.length;if(r&&"number"==typeof r.arrayLimit&&o>=r.arrayLimit){if(r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");return s(g(t.concat(a),r),o)}t[o]=a}else if(!t||"object"!=typeof t)return[t,a];else if(c(t)){var i=u(t)+1;t[i]=a,p(t,i)}else{if(r&&r.strictMerge)return[t,a];(r&&(r.plainObjects||r.allowPrototypes)||!l.call(Object.prototype,a))&&(t[a]=!0)}return t}if(!t||"object"!=typeof t){if(c(a)){for(var d=Object.keys(a),f=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<d.length;m++)f[parseInt(d[m],10)+1]=a[d[m]];return s(f,u(a)+1)}var h=[t].concat(a);if(r&&"number"==typeof r.arrayLimit&&h.length>r.arrayLimit){if(r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");return s(g(h,r),h.length-1)}return h}var y=t;
2if(n(t)&&!n(a)&&(y=g(t,r)),n(t)&&n(a)){if(a.forEach(function(a,o){if(l.call(t,o)){var i=t[o];i&&"object"==typeof i&&a&&"object"==typeof a?t[o]=e(i,a,r):t[t.length]=a}else t[o]=a}),r&&"number"==typeof r.arrayLimit&&t.length>r.arrayLimit){if(r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");return s(g(t,r),t.length-1)}return t}return Object.keys(a).reduce(function(t,o){var i=a[o];if(l.call(t,o)?x(t,o,e(t[o],i,r)):x(t,o,i),c(a)&&!c(t)&&s(t,u(a)),c(t)){var n=parseInt(o,10);String(n)===o&&n>=0&&n>u(t)&&p(t,n)}return t},y)}}},160573,(e,t,a)=>{"use strict";var r=e.r(189196),o=e.r(451113),i=e.r(762541),l=Object.prototype.hasOwnProperty,n={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},d=Array.isArray,s=Array.prototype.push,c=function(e,t){s.apply(e,d(t)?t:[t])},u=Date.prototype.toISOString,p=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},m={},g=function e(t,a,i,l,n,s,u,p,g,x,h,y,v,b,w,j,S,k){for(var $,C,R=t,P=k,N=0,I=!1;void 0!==(P=P.get(m))&&!I;){var B=P.get(t);if(N+=1,void 0!==B)if(B===N)throw RangeError("Cyclic object value");else I=!0;void 0===P.get(m)&&(N=0)}if("function"==typeof x?R=x(a,R):R instanceof Date?R=v(R):"comma"===i&&d(R)&&(R=o.maybeMap(R,function(e){return e instanceof Date?v(e):e})),null===R){if(s)return w(g&&!j?g(a,f.encoder,S,"key",b):a);R=""}if("string"==typeof($=R)||"number"==typeof $||"boolean"==typeof $||"symbol"==typeof $||"bigint"==typeof $||o.isBuffer(R))return g?[w(j?a:g(a,f.encoder,S,"key",b))+"="+w(g(R,f.encoder,S,"value",b))]:[w(a)+"="+w(String(R))];var T=[];if(void 0===R)return T;if("comma"===i&&d(R))j&&g&&(R=o.maybeMap(R,function(e){return null==e?e:g(e)})),C=[{value:R.length>0?R.join(",")||null:void 0}];else if(d(x))C=x;else{var D=Object.keys(R);C=h?D.sort(h):D}var M=p?String(a).replace(/\./g,"%2E"):String(a),O=l&&d(R)&&1===R.length?M+"[]":M;if(n&&d(R)&&0===R.length)return O+"[]";for(var A=0;A<C.length;++A){var F=C[A],E="object"==typeof F&&F&&void 0!==F.value?F.value:R[F];if(!u||null!==E){var L=y&&p?String(F).replace(/\./g,"%2E"):String(F),W=d(R)?"function"==typeof i?i(O,L):O:O+(y?"."+L:"["+L+"]");k.set(t,N);var G=r();G.set(m,k),c(T,e(E,W,i,l,n,s,u,p,"comma"===i&&j&&d(R)?null:g,x,h,y,v,b,w,j,S,G))}}return T},x=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,a=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!l.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var o=i.formatters[r],s=f.filter;if(("function"==typeof e.filter||d(e.filter))&&(s=e.filter),t=e.arrayFormat in n?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:t,charset:a,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:s,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var a,o=e,i=x(t);"function"==typeof i.filter?o=(0,i.filter)("",o):d(i.filter)&&(a=i.filter);var l=[];
2if("object"!=typeof o||null===o)return"";var s=n[i.arrayFormat],u="comma"===s&&i.commaRoundTrip;a||(a=Object.keys(o)),i.sort&&a.sort(i.sort);for(var p=r(),f=0;f<a.length;++f){var m=a[f];if(null!=m){var h=o[m];i.skipNulls&&null===h||c(l,g(h,m,s,u,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}}var y=l.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B"+i.delimiter:v+="utf8=%E2%9C%93"+i.delimiter),y.length>0?v+y:""}},205544,(e,t,a)=>{"use strict";var r=e.r(451113),o=Object.prototype.hasOwnProperty,i=Array.isArray,l={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},n=function(e,t,a,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1){if(r&&t.throwOnLimitExceeded)for(var o=0,i=e.indexOf(",");i>-1;){if((o+=1)>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");i=e.indexOf(",",i+1)}return e.split(",")}if(t.throwOnLimitExceeded&&a>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},d=function(e,t){var a={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;d=d.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=t.parameterLimit===1/0?void 0:t.parameterLimit,c=d.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==s?s+1:s);if(t.throwOnLimitExceeded&&void 0!==s&&c.length>s)throw RangeError("Parameter limit exceeded. Only "+s+" parameter"+(1===s?"":"s")+" allowed.");var u=-1,p=t.charset;if(t.charsetSentinel)for(f=0;f<c.length;++f)0===c[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[f]?p="utf-8":"utf8=%26%2310003%3B"===c[f]&&(p="iso-8859-1"),u=f,f=c.length);for(f=0;f<c.length;++f)if(f!==u){var f,m,g,x=c[f],h=x.indexOf("]="),y=-1===h?x.indexOf("="):h+1;if(-1===y?(m=t.decoder(x,l.decoder,p,"key"),g=t.strictNullHandling?null:""):null!==(m=t.decoder(x.slice(0,y),l.decoder,p,"key"))&&(g=r.maybeMap(n(x.slice(y+1),t,i(a[m])?a[m].length:0,-1===x.indexOf("[]=")),function(e){return t.decoder(e,l.decoder,p,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=String(g).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),x.indexOf("[]=")>-1&&(g=i(g)?[g]:g),t.comma&&i(g)&&g.length>t.arrayLimit&&(g=r.combine([],g,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)),null!==m){var v=o.call(a,m);v&&("combine"===t.duplicates||x.indexOf("[]=")>-1)?a[m]=r.combine(a[m],g,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded):v&&"last"!==t.duplicates||(a[m]=g)}}return a},s=function(e,t,a,o){var i=0;if(e.length>0&&"[]"===e[e.length-1]){var l=e.slice(0,-1).join("");i=Array.isArray(t)&&t[l]?t[l].length:0}for(var d=o?t:n(t,a,i),s=e.length-1;s>=0;--s){var c,u=e[s];if("[]"===u&&a.parseArrays)c=r.isOverflow(d)?d:a.allowEmptyArrays&&(""===d||a.strictNullHandling&&null===d)?[]:r.combine([],d,a.arrayLimit,a.plainObjects,a.throwOnLimitExceeded);else{c=a.plainObjects?{__proto__:null}:{};var p="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,f=a.decodeDotInKeys?p.replace(/%2E/g,"."):p,m=parseInt(f,10),g=!isNaN(m)&&u!==f&&String(m)===f&&m>=0&&a.parseArrays;if(a.parseArrays||""!==f)if(g&&m<a.arrayLimit)(c=[])[m]=d;else if(g&&a.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+a.arrayLimit+" element"+(1===a.arrayLimit?"":"s")+" allowed in an array.");else g?(c[m]=d,r.markOverflow(c,m)):"__proto__"!==f&&(c[f]=d);else c={0:d}}d=c}return d},c=function(e,t){var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,a)&&!t.allowPrototypes)return;return[a]}var r=[],i=a.indexOf("["),l=i>=0?a.slice(0,i):a;if(l){if(!t.plainObjects&&o.call(Object.prototype,l)&&!t.allowPrototypes)return;r[r.length]=l}for(var n=a.length,d=i,s=0;d>=0&&s<t.depth;){for(var c=1,u=d+1,p=-1;u<n&&p<0;
2){var f=a.charCodeAt(u);91===f?c+=1:93===f&&0==(c-=1)&&(p=u),u+=1}if(p<0)return r[r.length]="["+a.slice(d)+"]",r;var m=a.slice(d,p+1),g=m.slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,g)&&!t.allowPrototypes)return;r[r.length]=m,s+=1,d=a.indexOf("[",p+1)}if(d>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");r[r.length]="["+a.slice(d)+"]"}return r},u=function(e,t,a,r){if(e){var o=c(e,a);if(o)return s(o,t,a,r)}},p=function(e){if(!e)return l;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?l.charset:e.charset,a=void 0===e.duplicates?l.duplicates:e.duplicates;if("combine"!==a&&"first"!==a&&"last"!==a)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||l.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:l.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:l.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:l.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:l.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:l.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:l.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:l.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:l.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:l.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:l.depth,duplicates:a,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:l.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:l.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:l.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:l.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:l.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:l.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};t.exports=function(e,t){var a=p(t);if(""===e||null==e)return a.plainObjects?{__proto__:null}:{};for(var o="string"==typeof e?d(e,a):e,i=a.plainObjects?{__proto__:null}:{},l=Object.keys(o),n=0;n<l.length;++n){var s=l[n],c=u(s,o[s],a,"string"==typeof e);i=r.merge(i,c,a)}return!0===a.allowSparse?i:r.compact(i)}},644169,(e,t,a)=>{"use strict";var r=e.r(160573),o=e.r(205544);t.exports={formats:e.r(762541),parse:o,stringify:r}},832618,e=>{"use strict";var t=e.i(843476),a=e.i(864232),r=e.i(556693),o=e.i(667265),i=e.i(988623),l=e.i(508097),n=e.i(897727),d=e.i(747539);e.i(479410),e.i(563044);var s=e.i(294566),c=e.i(315011),u=e.i(624220),p=e.i(987521),f=e.i(245733),m=e.i(116664),g=e.i(926113),x=e.i(994232),h=e.i(816637),y=e.i(433717),v=e.i(534039),b=e.i(718970),w=e.i(844304),j=e.i(722266),S=e.i(348419),k=e.i(340213),$=e.i(604829),C=e.i(572852),R=e.i(745409),P=e.i(7955),N=e.i(3058),I=e.i(426943),B=e.i(702364),T=e.i(887073),D=e.i(835981),M=e.i(211726),O=e.i(237233),A=e.i(35993),F=e.i(9065),E=e.i(960410),L=e.i(229153),W=e.i(739730),G=e.i(540589),V=e.i(271645),U=e.i(155487),_=e.i(108004),H=e.i(642624),z=e.i(383417),q=e.i(221466);let K=B.default.div`
3  display: flex;
4  flex-direction: column;
5  padding: 24px 20px 40px;
6
7  @media ${f.default.laptop} {
8    padding: 8px 0 40px;
9  }
10`,Y=B.default.h2`
11  ${g.h4Styles}
12  margin: 0 0 8px 0;
13  color: ${m.default.black};
14`,Z=B.default.p`
15  ${g.paragraphStyles}
16  margin: 0 0 24px 0;
17  color: ${m.default.mediumDarkGray};
18`,X=B.default.div`
19  ${g.smallcapsBold13Styles}
20  margin: 24px 0 8px 0;
21  color: ${m.default.black};
22`,Q=B.default.div`
23  display: grid;
24  grid-template-columns: repeat(3, 1fr);
25  gap: 12px;
26
27  @media ${f.default.laptop} {
28    grid-template-columns: repeat(4, 1fr);
29  }
30`,J=(0,B.default)("button",{shouldForwardProp:e=>!e.startsWith("$")})`
31  display: flex;
32  flex-direction: column;
33  padding: 0;
34  border: none;
35  background: none;
36  cursor: ${({$soldOut:e})=>e?"not-allowed":"pointer"};
37`,ee=(0,B.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
38  position: relative;
39  padding: 4px;
40  background-color: ${m.default.backgroundGray};
41  border: 2px solid transparent;
42
43  /* ImageHelper sizes itself off the container width (padding-bottom aspect
44     trick); without an explicit width it collapses to a thin bar. */
45  .image-helper-container {
46    width: 100%;
47
48    img {
49      object-fit: contain;
50      opacity: ${({$soldOut:e})=>e?.4:1};
51    }
52  }
53
54  &:hover {
55    background-color: ${({$soldOut:e})=>e?m.default.backgroundGray:m.default.backgroundGrayHover};
56  }
57`,et=B.default.div`
58  ${g.smallcapsBold13Styles}
59  position: absolute;
60  top: 50%;
61  left: 50%;
62  z-index: 1;
63  transform: translate(-50%, -50%);
64  padding: 4px 8px;
65  background-color: ${m.default.black};
66  color: ${m.default.offWhite};
67  white-space: nowrap;
68`,ea=(0,B.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
69  ${g.body14Styles}
70  margin-top: 4px;
71  text-align: center;
72  color: ${({$soldOut:e})=>e?m.default.mediumGray:m.default.black};
73`,er=B.default.div`
74  ${g.paragraphStyles}
75  margin-top: 8px;
76  color: ${m.default.mediumDarkGray};
77`,eo=e=>{let t=e.productName||"",a=e.customPrintDesign?.name||t.split(" - ").pop()?.trim()||"",r=t.split(/\s+Case\b/i)[0]?.trim()||"";return r&&a?`${r} ${a}`:a||t},ei=({availableCaseSkus:e,caseProducts:a,description:r,heading:o,inventoryReady:i,isOpen:l,onRequestClose:n,onSelect:d})=>{let s=(0,b.useT)(),[c,u]=V.default.useState(""),p=V.default.useMemo(()=>{let e=new Map;return a.forEach(t=>
77(t.variants||[]).forEach(t=>{let a=t.device?.name;a&&t.shopifyVariantId&&!e.has(a)&&e.set(a,{brand:t.device?.brand?.name||"",device:a})})),Array.from(e.values()).map(e=>({brand:e.brand,device:e.device,onClick:()=>u(e.device)}))},[a]),f=V.default.useMemo(()=>c?a.map(e=>{let t=(e.variants||[]).find(e=>e.device?.name===c&&e.shopifyVariantId);return t?{cp:e,variant:t}:null}).filter(Boolean):[],[a,c]);return(0,t.jsx)(z.default,{contentLabel:o||"Choose your case",isOpen:l,onRequestClose:n,children:(0,t.jsxs)(K,{"data-component":"CaseSelectorModal",children:[(0,t.jsx)(Y,{children:o||s("Choose Your Case")}),r&&(0,t.jsx)(Z,{children:r}),(0,t.jsx)(X,{children:s("1. Select your phone")}),(0,t.jsx)(q.default,{currentDevice:c,devices:p}),c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(X,{children:s("2. Choose your design")}),i?f.length>0?(0,t.jsx)(Q,{children:f.map(({cp:a,variant:r})=>{let o=r.images?.[0]?.url||a.featuredImage?.url||"",i=!!(r.sku&&e.has(r.sku));return(0,t.jsxs)(J,{$soldOut:!i,"aria-disabled":!i,"data-component":"CaseSelectorModal-Design",onClick:i?()=>{r.sku&&e.has(r.sku)&&(d({caseProductId:a.sys?.id||"",caseProductName:a.productName||"",contentfulVariantId:r.sys?.id||"",label:eo(a),deviceName:c,image:r.images?.[0]?.url||a.featuredImage?.url||"",price:r.price||"",productSlug:a.slug||"",shopifyVariantId:r.shopifyVariantId||"",sku:r.sku||""}),n())}:void 0,type:"button",children:[(0,t.jsxs)(ee,{$soldOut:!i,children:[(0,t.jsx)(H.default,{alt:eo(a),src:o}),!i&&(0,t.jsx)(et,{children:s("Sold Out")})]}),(0,t.jsx)(ea,{$soldOut:!i,children:eo(a)})]},a.sys?.id)})}):(0,t.jsx)(er,{children:s("No designs are available for this phone.")}):(0,t.jsx)(er,{children:s("Checking availability...")})]})]})})},el=B.default.div`
78  display: flex;
79  flex-direction: row;
80  align-items: center;
81  margin-top: 20px;
82
83  &:hover {
84    cursor: pointer;
85  }
86`,en=V.default.forwardRef((e,a)=>(0,t.jsx)(el,{ref:a,...e,"data-component":"BundleBox-RatingsRow"}));en.displayName="RatingsRow";let ed=(0,B.default)(p.default)`
87  margin-right: 8px;
88`,es=B.default.div`
89  ${g.subtextStyles}
90  color: ${m.default.mediumDarkGray};
91`,ec=V.default.forwardRef((e,a)=>(0,t.jsx)(es,{ref:a,...e,"data-component":"BundleBox-RatingsText"}));ec.displayName="RatingsText";let eu=B.default.div`
92  display: flex;
93  flex-direction: column;
94  padding-top: 42px;
95  background-color: ${m.default.offWhite};
96  border-bottom: 1px solid ${m.default.dividerLineGray};
97
98  @media ${f.default.laptop} {
99    flex-direction: row;
100    gap: calc(1 / 12 * 100vw);
101    padding: 38px calc(0.5 / 12 * 100vw) 0;
102    border-bottom: none;
103  }
104`,ep=V.default.forwardRef((e,a)=>(0,t.jsx)(eu,{ref:a,...e,"data-component":"BundleBox-Hero"}));ep.displayName="Hero";let ef=B.default.div`
105  display: flex;
106  flex-direction: column;
107
108  @media ${f.default.laptop} {
109    width: calc(5 / 12 * 100vw);
110    flex-shrink: 0;
111  }
112`,em=V.default.forwardRef((e,a)=>(0,t.jsx)(ef,{ref:a,...e,"data-component":"BundleBox-ImagesCol"}));em.displayName="ImagesCol";let eg=B.default.div`
113  display: flex;
114  flex-direction: column;
115  margin: 32px 20px;
116
117  @media ${f.default.laptop} {
118    width: calc(5 / 12 * 100vw);
119    flex-shrink: 0;
120    margin: 0;
121  }
122`,ex=V.default.forwardRef((e,a)=>(0,t.jsx)(eg,{ref:a,...e,"data-component":"BundleBox-InfoCol"}));ex.displayName="InfoCol";let eh=B.default.div`
123  margin: 0 20px 40px;
124`,ey=(0,B.default)("button",{shouldForwardProp:e=>!e.startsWith("$")})`
125  ${g.paragraphStyles}
126  margin-top: 24px;
127  padding: 16px 24px;
128  width: 100%;
129  border: 1px solid ${m.default.black};
130  background-color: ${({$primary:e})=>e?m.default.black:"transparent"};
131  color: ${({$primary:e})=>e?m.default.offWhite:m.default.black};
132  cursor: pointer;
133`,ev=B.default.button`
134  ${g.paragraphStyles}
135  margin-top: 12px;
136  padding: 16px 24px;
137  width: 100%;
138  border: 1px solid ${m.default.black};
139  background-color: ${m.default.black};
140  color: ${m.default.offWhite};
141  cursor: pointer;
142
143  &:disabled {
144    background-color: ${m.default.mediumGray};
145    border-color: ${m.default.mediumGray};
146    cursor: not-allowed;
147  }
148`,eb=B.default.div`
149  display: flex;
150  margin-top: 8px;
151`,ew=B.default.div`
152  ${g.subtextStyles}
153  margin-right: 20px;
154  color: ${m.default.mediumGray};
155`,ej=B.default.div`
156  ${g.paragraphStyles}
157  margin: 24px 0 8px 0;
158  color: ${m.default.mediumDarkGray};
159`,eS=B.default.div`
160  ${g.paragraphStyles}
161  color: ${m.default.mediumDarkGray};
162`,ek=B.default.div`
163  display: flex;
164  align-items: center;
165  gap: 12px;
166  padding: 12px;
167  border: 1px solid ${m.default.lightGray};
168`,e$=B.default.img`
169  width: 56px;
170  height: 56px;
171  object-fit: contain;
172  background-color: ${m.default.backgroundGray};
173`,eC=B.default.div`
174  display: flex;
175  flex-direction: column;
176`,eR=B.default.div`
177  ${g.paragraphStyles}
178  font-weight: 600;
179  color: ${m.default.black};
180`,eP=B.default.div`
181  ${g.paragraphStyles}
182  color: ${m.default.mediumDarkGray};
183`,eN=B.default.div`
184  ${g.paragraphStyles}
185  margin-top: 8px;
186  color: ${m.default.mediumDarkGray};
187`,eI=[],eB=(0,U.connect)(e=>({cartLineItems:e.checkout.data?.lines?.edges||eI,customerLocation:e.customer.customerLocation,customerLocationFetched:e.customer.customerLocationFetched}),e=>({addBundleToCart:e.checkout.addBundleToCart}))(({addBundleToCart:e,customerLocation:p,customerLocationFetched:f,data:m,location:g})=>{let B=(0,b.useT)(),U=m.contentfulProduct,H=m.collabConfig,z=V.default.useMemo(()=>m.caseProducts||[],[m.caseProducts]),[q,K]=V.default.useState(!1),[Y,Z]=V.default.useState(null),X=V.default.useMemo(()=>({...U||{},variants:U?.variants?.filter(e=>!e.carrierVariant).map($.formatContentfulVariant)}),[U]),Q=m.contentfulGlobalSettings?.countryProhibitedProducts,{blocked:J,message:ee}=(0,F.useNotAvailableInCountry)({customerCountryCode:p?.customerCountryCode,fetched:f,initial:m?.countryBlock,productSlug:X?.slug,rules:Q}),et=(0,y.useMarket)(),{formatPrice:ea}=(0,x.useFormatPrice)(),er="US"===et?p?.customerCountryCode||"US":et,eo=V.default.useMemo(()=>X.variants||[],[X]),el=V.default.useMemo(()=>(0,G.uniq)(eo.map(e=>
187e.sku).filter(Boolean)),[eo]),{inventoryData:es}=(0,h.default)(el,el),{currencyCode:eu,currentVariant:ef,fallbackVariant:eg,price:eI,retailPrice:eB}=(0,L.usePdpVariantState)({customerCountryCode:er,inventoryData:es,mode:"SOPDP",variants:eo}),eT=ef||eg,eD=m?.availabilityBySku||{},{availabilityData:eM,inventoryReady:eO}=(0,E.usePdpAvailability)({currentSku:eT?.sku,currentVariant:eT,customerCountryCode:p?.customerCountryCode,initialIsAvailable:eD[String(eT?.sku||"")],inventoryData:es,mode:"SOPDP"}),eA=Object.prototype.hasOwnProperty.call(eD,String(eT?.sku||""))||eO,eF=!!f&&Object.keys(es).length>0&&!eM.isAvailable,eE=V.default.useMemo(()=>(0,G.uniq)(z.flatMap(e=>e.variants||[]).map(e=>e.sku).filter(Boolean)),[z]),{inventoryData:eL}=(0,h.default)(eE),eW=!!f&&Object.keys(eL).length>0,eG=V.default.useMemo(()=>{let e=new Set;return Object.keys(eL).length&&z.forEach(t=>(t.variants||[]).forEach(t=>{if(!t.sku)return;let{isAvailable:a}=(0,k.default)(er,t.sku,eL,{mode:"SOPDP",variantAvailability:t.availability});a&&e.add(t.sku)})),e},[z,eL,er]);V.default.useEffect(()=>{Y?.sku&&eW&&!eG.has(Y.sku)&&Z(null)},[Y,eG,eW]);let eV=(0,R.renderRichText)((0,N.resolveProductDescription)(eT,X),I.withFinePrint,B),eU=(X.images||[]).map(e=>e?.url).filter(Boolean),e_=eT?.sku,eH=eT?.upc,ez=(0,$.getDecodedShopifyProductId)((0,W.get)(X,"shopifyProduct.shopifyProductId","")),{avgRating:eq,
187numReviews:eK,reviews:eY}=(0,_.useProductReviews)(String(ez),{per_page:20}),eZ=V.default.useMemo(()=>(0,_.extractReviewTags)(eY),[eY]),eX=(0,w.useModalParam)("reviews"),eQ=eX.isOpen,[eJ,e0]=V.default.useState(!1),[e1,e2]=V.default.useState(!1),[e4,e6]=V.default.useState(!1),[e3,e5]=V.default.useState(void 0),e8=X?.installationText,e9=X?.installationMedias||[],e7=X?.installationImage,te=!!e8&&!!(e9.length||e7),tt=(0,W.get)(eT,"resourcesText")||X?.resourcesText,ta=(0,W.get)(eT,"resourcesMedia")||X?.resourcesMedia,tr=!!tt||ta,to=p?.customerStateCode==="CA"&&(0,W.get)(eT,"showProp65Warning",!1),ti=a.default,tl=(0,v.getOriginForMarket)(et),tn=`${tl}/products/${X?.slug}/`,td=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{price:ea(eI,eu),productName:X?.productName,retailPrice:eB?ea(eB,eu):void 0}),(e_||eH)&&(0,t.jsxs)(eb,{children:[e_&&(0,t.jsxs)(ew,{children:["SKU: ",e_]}),eH&&(0,t.jsxs)(ew,{children:["UPC: ",eH]})]}),(0,t.jsxs)(en,{onClick:()=>eX.open(),children:[(0,t.jsx)(ed,{stars:Math.round(eq)}),(0,t.jsxs)(ec,{children:[eK," ",B("Reviews")]})]})]});return(0,t.jsxs)(ti,{data:m,isPDP:!0,location:g,children:[eT&&(0,t.jsx)(u.ProductSchema,{availability:eA?eM?.isAvailable?"InStock":"OutOfStock":void 0,brand:"Urban Armor Gear",description:X?.seoDescription||"",image:(0,S.resolveProductSchemaImages)(X.images,X.variants),name:X?.productName||"",price:eI?String(eI).replace(/[$,]/g,"").trim():"0",priceCurrency:eu,rating:eq?Number(eq):m?.serverRating?.rating,reviewCount:eK?Number(eK):m?.serverRating?.reviewCount,sku:String(eT?.sku||""),url:tn}),eT&&(0,t.jsx)(s.BreadcrumbSchema,{items:(0,c.buildProductBreadcrumbItems)(X,tl,tn)}),(0,t.jsx)(T.Content,{children:(0,t.jsxs)(ep,{children:[(0,t.jsx)(C.MobileOnly,{children:(0,t.jsx)(eh,{children:td})}),(0,t.jsx)(em,{children:(0,t.jsx)(n.default,{currentVariant:{images:eT?.images||[],name:eT?.name},imageGalleryMuxVideos:X?.imageGalleryMuxVideos||[],images:eU,lifestyleMuxVideos:X?.lifestyleMuxVideos||[],logoOverHero:X?.renderLogoOverProductHero?X?.logos?.[0]:void 0,productName:X?.productName})}),(0,t.jsxs)(ex,{children:[(0,t.jsx)(C.DesktopOnly,{children:td}),(0,t.jsx)(ej,{children:B("Design:")}),Y?(0,t.jsxs)(ek,{"data-component":"BundleBox-SelectedCase",children:[Y.image&&(0,t.jsx)(e$,{alt:"",src:`${Y.image}${Y.image.includes("?")?"&":"?"}w=112&fm=webp&q=70`}),(0,t.jsxs)(eC,{children:[(0,t.jsx)(eR,{children:Y.label}),(0,t.jsx)(eP,{children:Y.deviceName})]})]}):(0,t.jsx)(eS,{children:B("Choose your case to add to cart")}),(0,t.jsx)(ey,{$primary:!Y,"data-component":"BundleBox-ChooseCase",onClick:()=>K(!0),type:"button",children:B(Y?"Change Your Case":"Choose Your Case")}),(0,t.jsx)(ev,{"data-component":"BundleBox-AddToCart",disabled:J||!Y||eF,onClick:()=>{!eT||!Y||J||eF||Y.sku&&!eG.has(Y.sku)||e({boxProduct:{brand:X?.brand?.name||"Urban Armor Gear",builtInMagnet:!!X?.builtInMagnet,color:eT.color||"",compareAtPrice:eB,contentfulProductId:X?.sys?.id||"",contentfulVariantId:eT.contentfulVariantId||"",customPrint:!!X?.customPrint,device:eT.deviceName||X?.device?.name||"",deviceType:X?.device?.type?.name||"",image:(0,j.ensureHttps)(eU[0]||("string"==typeof eT.images?.[0]?eT.images[0]:eT.images?.[0]?.url)||""),marketPrices:eT.marketPrices||{},price:eI,productName:X?.productName||"",productSlug:X?.slug||"",shopifyProductId:X?.shopifyProduct?.shopifyProductId||"",shopifyVariantId:eT.variantId||"",sku:eT.sku||"",variantDevice:eT.deviceName||"",variantName:eT.name||""},caseProduct:{brand:"",builtInMagnet:!1,color:"",contentfulProductId:Y.caseProductId,contentfulVariantId:Y.contentfulVariantId,customPrint:!0,device:Y.deviceName,image:(0,j.ensureHttps)(Y.image),marketPrices:{},price:Y.price,productName:Y.caseProductName,productSlug:Y.productSlug,shopifyProductId:"",shopifyVariantId:Y.shopifyVariantId,sku:Y.sku,variantDevice:Y.deviceName,variantName:Y.caseProductName}})},type:"button",children:J?B(ee||"This product is not available in your country."):eF?X?.outOfStockButtonText||B("Sold Out"):B("Add Box Set to Cart")}),H?.bundleNote&&Y&&(0,t.jsx)(eN,{children:H.bundleNote}),(0,t.jsx)(O.default,{description:eV}),(0,t.jsx)(M.default,{avgRating:eq,installationContent:te?(0,t.jsx)(D.default,{image:e7,medias:e9,text:e8?(0,R.renderRichText)(e8||P.emptyRichText,I.withFinePrint,B):void 0}):void 0,numReviews:eK,pdpLinks:(0,W.get)(X,"pdpLinks",[])||[],prop65Text:(0,R.renderRichText)((0,W.get)(m,"contentfulGlobalSettings.prop65Text",P.emptyRichText),I.withFinePrint,B),resourcesContent:tr?(0,t.jsx)(t.Fragment,{children:!!ta&&(0,t.jsx)(A.default,{media:ta,text:tt?(0,R.renderRichText)(tt||P.emptyRichText,I.withFinePrint,B):void 0})}):void 0,setShowReviews:e=>e?eX.open():eX.close(),showProp65Button:!!to,specs:(0,W.get)(eT,"specs.productSpecification")??(0,W.get)(X,"specs.productSpecification")??[],specSheets:(0,W.get)(eT,"specSheets")??(0,W.get)(X,"specSheets")??[]}),(0,t.jsx)(ei,{availableCaseSkus:eG,caseProducts:z,description:H?.modalDescription,heading:H?.modalHeading,inventoryReady:eW,isOpen:q,onRequestClose:()=>K(!1),onSelect:e=>{Z(e)}})]})]})}),(0,t.jsx)(o.default,{avgRating:eq,isOpen:eQ,numReviews:eK,onClickWriteReview:()=>{eX.close(),e0(!0),e2(!1)},onRequestClose:()=>{eX.close(),e0(!1),e2(!1)},onRequestOpenReviewImageGallery:e=>{e6(!0),e5("string"==typeof e?parseInt(e,10):e)},productId:ez,reviews:eY,slideFromRight:!0,tags:eZ}),(0,t.jsx)(l.default,{backToReviews:()=>{eX.open(),e0(!1),e2(!1)},isOpen:eJ,onRequestClose:()=>{eX.close(),e0(!1),e2(!1)},onSubmit:()=>{eX.close(),e0(!1),e2(!0)},productId:ez,productTitle:String((0,W.get)(X,"productName")??"")}),(0,t.jsx)(i.default,{isOpen:e1,onRequestClose:()=>{eX.close(),e0(!1),e2(!1)}}),(0,t.jsx)(r.default,{initialImage:e3,isOpen:e4,onRequestClose:()=>{e6(!1),e5(void 0)},reviews:eY})]})});e.s(["default",0,function({data:e,location:a}){return(0,t.jsx)(eB,{data:e,location:a})}],832618)},574109,e=>{"use strict";var t=e.i(843476),a=e.i(722266),r=e.i(303424),o=e.i(864232),i=e.i(556693),l=e.i(667265),n=e.i(988623),d=e.i(508097),s=e.i(668427);e.i(479410),e.i(563044);var c=e.i(294566),u=e.i(315011),p=e.i(624220),f=e.i(192722),m=e.i(245733);let g=new Set(["U1110051C3131","U1110051C4343","U1110061C3131","U1110061C4343"]);
187var x=e.i(18566),h=e.i(107374),y=e.i(65369),v=e.i(999647),b=e.i(994232),w=e.i(433717),j=e.i(534039),S=e.i(816637),k=e.i(351970),$=e.i(388158),C=e.i(807555),R=e.i(340213),P=e.i(604829),N=e.i(852810),I=e.i(745409),B=e.i(997578),T=e.i(348419),D=e.i(7955),M=e.i(162059),O=e.i(3058),A=e.i(426943),F=e.i(184131),E=e.i(702364),L=e.i(887073),W=e.i(702563),G=e.i(78188),V=e.i(835981),U=e.i(211726),_=e.i(237233),H=e.i(35993),z=e.i(921675),q=e.i(894704),K=e.i(9065),Y=e.i(576588),Z=e.i(960410),X=e.i(408089),Q=e.i(229153),J=e.i(365550),ee=e.i(844304),et=e.i(271645),ea=e.i(718970),er=e.i(169109),eo=e.i(739730),ei=e.i(553908),el=e.i(829025),en=e.i(892365),ed=e.i(683462),es=e.i(540589),ec=e.i(343894),eu=e.i(155487),ep=e.i(108004),ef=e.i(854885);let em=e=>{let t=e?.name;if("string"!=typeof t||!t.trim())return;let a=e?.slug;return{name:t,slug:"string"==typeof a&&a.trim()?a.trim():void 0}};var eg=e.i(304295),ex=e.i(632221),eh=e.i(84418),ey=e.i(272064),ev=e.i(299658),eb=e.i(116664),ew=e.i(926113);let ej=E.default.div`
188  display: flex;
189  height: 86px;
190  padding: 0 20px;
191  align-items: center;
192  border-bottom: solid 1px ${eb.default.dividerLineGray};
193
194  @media ${m.default.laptop} {
195    height: 202px;
196    padding: 0 calc(0.5 / 12 * 100vw);
197    border: none;
198  }
199`,eS=et.default.forwardRef((e,a)=>(0,t.jsx)(ej,{ref:a,...e,"data-component":"common-Headers"}));eS.displayName="Headers";let ek=E.default.div`
200  display: none;
201
202  @media ${m.default.laptop} {
203    ${ew.h5Styles}
204    display: block;
205    padding: 0 0 36px calc(0.5 / 12 * 100vw);
206  }
207`,e$=et.default.forwardRef((e,a)=>(0,t.jsx)(ek,{ref:a,...e,"data-component":"common-DesktopHeader"}));e$.displayName="DesktopHeader";let eC=E.default.div`
208  display: none;
209
210  @media ${m.default.laptop} {
211    display: block;
212    width: 100%;
213    height: 1px;
214    padding: 0 calc(0.5 / 12 * 100vw - 16px);
215    background-color: ${eb.default.dividerLineGray};
216  }
217`,eR=et.default.forwardRef((e,a)=>(0,t.jsx)(eC,{ref:a,...e,"data-component":"common-DesktopDivider"}));eR.displayName="DesktopDivider";let eP=`
218  ${ew.smallcapsRegular13Styles}
219  font-size: 11px;
220  color: ${eb.default.mediumDarkGray};
221  line-height: 19px;
222  letter-spacing: 1px;
223`,eN=E.default.button`
224  display: flex;
225  padding: 0 16px 0 2px;
226  align-items: center;
227  transform: translateX(-16px);
228  background-color: transparent;
229  border: none;
230
231  @media ${m.default.laptop} {
232    height: 32px;
233    transform: none;
234    transition: background-color ${ev.default.medium} ${ev.cubicBezier};
235    background-color: transparent;
236    border: 1px solid ${eb.default.dividerLineGray};
237    border-radius: 2px;
238
239    &:hover {
240      transition: background-color ${ev.default.quick} ${ev.cubicBezier};
241      background-color: ${eb.default.dividerLineGray};
242      cursor: pointer;
243    }
244  }
245`,eI=et.default.forwardRef((e,a)=>(0,t.jsx)(eN,{ref:a,...e,"data-component":"common-BreadcrumbContainer"}));eI.displayName="BreadcrumbContainer";let eB=E.default.div`
246  width: 24px;
247  height: 24px;
248  transform: rotate(180deg);
249`,eT=et.default.forwardRef((e,a)=>(0,t.jsx)(eB,{ref:a,...e,"data-component":"common-BreadcrumbIcon"}));eT.displayName="BreadcrumbIcon";let eD=E.default.span`
250  ${ew.smallcapsBold14Styles};
251  margin-left: 2px;
252  padding-top: 4px;
253
254  @media ${m.default.laptop} {
255    ${eP}
256    display: flex;
257    padding-top: 3px;
258  }
259`,eM=et.default.forwardRef((e,a)=>(0,t.jsx)(eD,{ref:a,...e,"data-component":"common-BreadcrumbText"}));eM.displayName="BreadcrumbText";let eO=({label:e,onClick:a})=>(0,t.jsxs)(eI,{onClick:a,children:[(0,t.jsx)(eT,{children:(0,t.jsx)(ey.Cameron,{})}),(0,t.jsx)(eM,{children:e})]}),eA=E.default.div`
260  ${eP}
261  display: flex;
262  height: 32px;
263  margin-left: 26px;
264  align-items: center;
265  color: ${eb.default.mediumGray};
266  opacity: 0.5;
267`;et.default.forwardRef((e,a)=>(0,t.jsx)(eA,{ref:a,...e,"data-component":"common-CurrentBreadcrumb"})).displayName="CurrentBreadcrumb";var eF=e.i(822397),eE=e.i(108487),eL=e.i(572852);let eW=`
268  opacity: 1;
269  transform: translateX(0);
270  transition: opacity ${ev.default.quick} ${ev.cubicBezier},
271    transform ${ev.default.medium} ${ev.cubicBezier};
272`,eG=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
273  position: fixed;
274  top: 0;
275  right: 0;
276  bottom: 0;
277  width: 100%;
278  max-width: calc(100% - 72px);
279  opacity: 0;
280  transform: translateX(100%);
281  transition:
282    opacity ${ev.default.medium} ${ev.cubicBezier},
283    transform ${ev.default.quick} ${ev.cubicBezier};
284  will-change: opacity, transform;
285  background-color: ${eb.default.offWhite};
286  cursor: default;
287  ${({$isOpen:e})=>e?eW:""}
288
289  @media ${m.default.laptop} {
290    max-width: calc(5 / 12 * 100vw);
291  }
292`,eV=et.default.forwardRef((e,a)=>(0,t.jsx)(eG,{ref:a,...e,"data-component":"LanguageSelector-Container"}));eV.displayName="Container";let eU=E.default.div`
293  overflow: hidden;
294
295  .menu-item-button-container {
296    color: ${eb.default.black};
297
298    svg {
299      stroke: ${eb.default.black};
300    }
301  }
302
303  @media ${m.default.laptop} {
304    padding: 0 calc(0.5 / 12 * 100vw - 16px);
305
306    .menu-item-button-container {
307      height: 64px;
308      padding: 0 6px 0 16px;
309    }
310  }
311`,e_=et.default.forwardRef((e,a)=>(0,t.jsx)(eU,{ref:a,...e,"data-component":"LanguageSelector-Languages"}));e_.displayName="Languages";let eH=({isOpen:e,languages:a=[],onRequestClose:r})=>{let o=(0,ea.useT)(),i=et.default.useRef(null);(0,eE.default)({isOpen:e,modalRef:i,onRequestClose:r});let l=a.map(({language:e,onClick:t})=>({label:e,onClick:t}));return(0,t.jsx)(eh.default,{$isOpen:e,children:(0,t.jsxs)(eV,{$isOpen:e,ref:i,children:[(0,t.jsx)(eS,{children:(0,t.jsx)(eL.MobileOnly,{children:(0,t.jsx)(eO,{label:o("Back"),onClick:r})})}),(0,t.jsx)(e$,{children:"All Languages"}),(0,t.jsxs)(e_,{children:[(0,t.jsx)(eR,{}),l.map(e=>(0,t.jsx)(eF.default,{...e},e.label))]})]})})};var ez=e.i(827262),eq=e.i(123355),eK=e.i(897727),eY=e.i(747539);let eZ=`
312  opacity: 1;
313  transform: translateX(0);
314  transition: opacity ${ev.default.quick} ${ev.cubicBezier},
315    transform ${ev.default.medium} ${ev.cubicBezier};
316`,eX=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
317  position: fixed;
318  top: 0;
319  right: 0;
320  bottom: 0;
321  width: 100%;
322  max-width: calc(100% - 72px);
323  opacity: 0;
324  transform: translateX(100%);
325  transition:
326    opacity ${ev.default.medium} ${ev.cubicBezier},
327    transform ${ev.default.quick} ${ev.cubicBezier};
328  will-change: opacity, transform;
329  background-color: ${eb.default.offWhite};
330  cursor: default;
331  ${({$isOpen:e})=>e?eZ:""}
332
333  @media ${m.default.laptop} {
334    max-width: calc(5 / 12 * 100vw);
335  }
336`,eQ=et.default.forwardRef((e,a)=>(0,t.jsx)(eX,{ref:a,...e,"data-component":"SizeSelector-Container"}));eQ.displayName="Container";let eJ=E.default.div`
337  overflow: hidden;
338
339  .menu-item-button-container {
340    color: ${eb.default.black};
341
342    svg {
343      stroke: ${eb.default.black};
344    }
345  }
346
347  @media ${m.default.laptop} {
348    padding: 0 calc(0.5 / 12 * 100vw - 16px);
349
350    .menu-item-button-container {
351      height: 64px;
352      padding: 0 6px 0 16px;
353    }
354  }
355`,e0=et.default.forwardRef((e,a)=>(0,t.jsx)(eJ,{ref:a,...e,"data-component":"SizeSelector-Sizes"}));e0.displayName="Sizes";let e1=({isOpen:e=!1,onRequestClose:a,sizes:r=[]})=>{let o=(0,ea.useT)(),i=et.default.useRef(null);(0,eE.default)({isOpen:!!(e&&a),modalRef:i,onRequestClose:a||(()=>{})});let l=r.map(({onClick:e,size:t})=>({label:t,onClick:e}));return(0,t.jsx)(eh.default,{$isOpen:e,children:(0,t.jsxs)(eQ,{$isOpen:e,ref:i,children:[(0,t.jsx)(eS,{children:(0,t.jsx)(eL.MobileOnly,{children:(0,t.jsx)(eO,{label:o("Back"),onClick:a})})}),(0,t.jsx)(e$,{children:"All Sizes"}),(0,t.jsxs)(e0,{children:[(0,t.jsx)(eR,{}),l.map(e=>(0,t.jsx)(eF.default,{...e},e.label))]})]})})};var e2=e.i(987521),e4=e.i(82248),e6=e.i(953352),e3=e.i(566149),e5=e.i(560523),e8=e.i(63232);let e9=E.default.div``,e7=et.default.forwardRef((e,a)=>(0,t.jsx)(e9,{ref:a,...e,"data-component":"ShippingBlock-Container"}));e7.displayName="Container";let te=E.default.div``,tt=et.default.forwardRef((e,a)=>(0,t.jsx)(te,{ref:a,...e,"data-component":"ShippingBlock-LeftOnTablet"}));tt.displayName="LeftOnTablet";let ta=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
356  display: flex;
357  width: 100%;
358  height: 0;
359  border: solid 1px ${eb.default.dividerLineGray};
360  opacity: 0;
361  pointer-events: none;
362  ${({$showForm:e})=>e&&`
363    height: initial;
364    margin-top: 40px;
365    opacity: 1;
366    pointer-events: initial;
367  `}
368`,tr=et.default.forwardRef((e,a)=>(0,t.jsx)(ta,{ref:a,...e,"data-component":"ShippingBlock-ZipCodeForm"}));
368tr.displayName="ZipCodeForm";let to=E.default.input`
369  ${ew.body14Styles}
370  height: 48px;
371  width: 50%;
372  padding: 0 16px;
373  color: ${eb.default.mediumGray};
374  border: none;
375  border-right: solid 1px ${eb.default.dividerLineGray};
376  &:active {
377    outline: none;
378  }
379  &:focus {
380    outline: none;
381  }
382
383  ::-webkit-input-placeholder {
384    color: ${eb.default.mediumGray};
385  }
386  ::-moz-placeholder {
387    color: ${eb.default.mediumGray};
388  }
389  :-ms-input-placeholder {
390    color: ${eb.default.mediumGray};
391  }
392  :-moz-placeholder {
393    color: ${eb.default.mediumGray};
394  }
395
396  &::-webkit-inner-spin-button,
397  &::-webkit-outer-spin-button {
398    -webkit-appearance: none;
399    margin: 0;
400  }
401`,ti=et.default.forwardRef((e,a)=>(0,t.jsx)(to,{ref:a,...e,"data-component":"ShippingBlock-Input"}));ti.displayName="Input";let tl=E.default.div`
402  width: 50%;
403
404  .text-button {
405    padding: 3px 0 0 0;
406    color: ${eb.default.offBlack};
407    background: transparent;
408
409    @media ${m.default.laptop} {
410      transition: background-color ${ev.default.medium} ${ev.cubicBezier};
411
412      &:active {
413        outline: none;
414      }
415
416      &:focus {
417        outline: none;
418      }
419
420      &:hover {
421        transition: background-color ${ev.default.quick} ${ev.cubicBezier};
422        background-color: ${eb.default.dividerLineGray};
423        cursor: pointer;
424      }
425    }
426  }
427`,tn=et.default.forwardRef((e,a)=>(0,t.jsx)(tl,{ref:a,...e,"data-component":"ShippingBlock-TextButtonWrapper"}));tn.displayName="TextButtonWrapper";let td=E.default.div`
428  display: flex;
429  margin: 40px 0 4px;
430  flex-wrap: wrap;
431  align-items: center;
432`,ts=et.default.forwardRef((e,a)=>(0,t.jsx)(td,{ref:a,...e,"data-component":"ShippingBlock-DeliveryTextWrapper"}));ts.displayName="DeliveryTextWrapper";let tc=E.default.div`
433  display: flex;
434  width: 20px;
435  height: 16px;
436  margin-right: 12px;
437`,tu=et.default.forwardRef((e,a)=>(0,t.jsx)(tc,{ref:a,...e,"data-component":"ShippingBlock-IconWrapper"}));tu.displayName="IconWrapper";let tp=E.default.div`
438  display: flex;
439  flex-wrap: wrap;
440`,tf=et.default.forwardRef((e,a)=>(0,t.jsx)(tp,{ref:a,...e,"data-component":"ShippingBlock-ShippingRow"}));tf.displayName="ShippingRow";let tm=E.default.div`
441  margin-right: 14px;
442`,tg=et.default.forwardRef((e,a)=>(0,t.jsx)(tm,{ref:a,...e,"data-component":"ShippingBlock-ShippingTextWrapper"}));tg.displayName="ShippingTextWrapper";let tx=E.default.div`
443  height: 32px;
444`,th=et.default.forwardRef((e,a)=>(0,t.jsx)(tx,{ref:a,...e,"data-component":"ShippingBlock-ShippingTextMargin"}));th.displayName="ShippingTextMargin";let ty=E.default.div`
445  position: relative;
446`,tv=et.default.forwardRef((e,a)=>(0,t.jsx)(ty,{ref:a,...e,"data-component":"ShippingBlock-ChangeZipButtonWrapper"}));tv.displayName="ChangeZipButtonWrapper";let tb=E.default.button`
447  ${ew.body14Styles}
448  padding: 14px;
449  color: ${eb.default.mediumGray};
450  transform: translate(-14px, -10px);
451  background-color: transparent;
452  border: none;
453
454  &:active {
455    outline: none;
456  }
457
458  &:focus {
459    outline: none;
460  }
461
462  &:hover {
463    cursor: pointer;
464  }
465`,tw=et.default.forwardRef((e,a)=>(0,t.jsx)(tb,{ref:a,...e,"data-component":"ShippingBlock-ChangeZipButton"}));tw.displayName="ChangeZipButton";let tj=E.default.div`
466  ${ew.body16MainStyles}
467  display: flex;
468  margin-top: 10px;
469  align-content: center;
470  justify-content: center;
471  color: ${eb.default.brandOrange};
472
473  @media ${m.default.laptop} {
474    ${ew.body14Styles}
475    justify-content: flex-start;
476    color: ${eb.default.brandOrange};
477  }
478`,tS=et.default.forwardRef((e,a)=>(0,t.jsx)(tj,{ref:a,...e,"data-component":"ShippingBlock-OutOfStockMessage"}));tS.displayName="OutOfStockMessage";let tk=e=>{let a=(0,ea.useT)(),[r,o]=et.default.useState(!1),[i,l]=et.default.useState(""),n=()=>{e.onUpdateZipCode&&i&&e.onUpdateZipCode(i.toString()),o(!1)};et.default.useEffect(()=>{l(e.invalidShippingData?"":e.customerZipCode),e.customerLocationFetched&&e.customerZipCode&&!e.hideZipCodeForm&&o(!1)},[e.customerLocationFetched,e.customerZipCode,e.hideZipCodeForm,e.invalidShippingData]);let d=!!(r&&e.enableFenixEstimates&&!e.hideZipCodeForm),s=!!(e.enableFenixEstimates&&!e.hideZipCodeForm&&e.shippingDataLoaded),c=!!e.shippingText||s;return(0,t.jsx)(e7,{children:(0,t.jsxs)(tt,{children:[e.enableFenixEstimates&&!e.hideZipCodeForm&&(0,t.jsxs)(tr,{$showForm:d,children:[(0,t.jsx)(ti,{id:"zipCodeInput",onChange:({target:{value:e}})=>{l(e)},onKeyDown:e=>{"Escape"===e.key&&(e.currentTarget.blur(),o(!1)),"Enter"===e.key&&e.currentTarget&&n()},placeholder:a("Zip Code"),type:"number",value:i}),(0,t.jsx)(tn,{children:(0,t.jsx)(e8.default,{onClick:n,text:a("Check Delivery")})})]}),e.enableFenixEstimates&&!d&&e.deliveryText?(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(ts,{children:[(0,t.jsx)(tu,{children:(0,t.jsx)(ey.Shipping,{})}),e.deliveryText]})}):(0,t.jsx)(th,{}
478),!d&&c&&(0,t.jsxs)(tf,{children:[!!e.shippingText&&(0,t.jsx)(tg,{children:e.shippingText}),s&&(0,t.jsx)(tv,{children:(0,t.jsx)(tw,{onClick:()=>{o(!0);let e=document.getElementById("zipCodeInput");e&&(e.focus(),e.select())},children:a("Change Zip")})})]}),e.outOfStockMessage&&(0,t.jsx)(tS,{children:e.outOfStockMessage})]})})};var t$=e.i(642778),tC=e.i(475439),tR=e.i(641044),tP=e.i(61006),tN=e.i(421634),tI=e.i(452587);let tB=E.default.div`
479  width: 100%;
480`,tT=et.default.forwardRef((e,a)=>(0,t.jsx)(tB,{ref:a,...e,"data-component":"DeviceDropdown-Container"}));tT.displayName="Container";let tD=E.default.div`
481  display: flex;
482  width: 100%;
483  gap: 8px;
484`,tM=et.default.forwardRef((e,a)=>(0,t.jsx)(tD,{ref:a,...e,"data-component":"DeviceDropdown-DropdownRow"}));tM.displayName="DropdownRow";let tO=E.default.div`
485  position: relative;
486  flex: 1;
487  min-width: 0;
488`,tA=et.default.forwardRef((e,a)=>(0,t.jsx)(tO,{ref:a,...e,"data-component":"DeviceDropdown-DropdownWrapper"}));tA.displayName="DropdownWrapper";let tF=E.default.button`
489  ${ew.body14Styles}
490  display: flex;
491  width: 100%;
492  height: 48px;
493  padding: 0 12px;
494  align-items: center;
495  justify-content: space-between;
496  background: ${eb.default.offWhite};
497  border: 1px solid ${eb.default.black};
498  border-radius: 2px;
499  cursor: pointer;
500  color: ${eb.default.black};
501  font-weight: 400;
502
503  &:focus {
504    outline: none;
505  }
506`,tE=et.default.forwardRef((e,a)=>(0,t.jsx)(tF,{ref:a,...e,"data-component":"DeviceDropdown-DropdownButton"}));tE.displayName="DropdownButton";let tL=E.default.span`
507  overflow: hidden;
508  text-overflow: ellipsis;
509  white-space: nowrap;
510  margin-right: 8px;
511`,tW=et.default.forwardRef((e,a)=>(0,t.jsx)(tL,{ref:a,...e,"data-component":"DeviceDropdown-DropdownButtonText"}));tW.displayName="DropdownButtonText";let tG=E.default.div`
512  flex-shrink: 0;
513  width: 20px;
514  height: 20px;
515  transform: rotate(90deg);
516`,tV=et.default.forwardRef((e,a)=>(0,t.jsx)(tG,{ref:a,...e,"data-component":"DeviceDropdown-ChevronIcon"}));tV.displayName="ChevronIcon";let tU=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
517  position: absolute;
518  top: 100%;
519  left: 0;
520  right: 0;
521  z-index: 100;
522  transition: opacity ${ev.default.medium} ${ev.cubicBezier};
523  opacity: ${e=>+!!e.$isOpen};
524  visibility: ${e=>e.$isOpen?"visible":"hidden"};
525  pointer-events: ${e=>e.$isOpen?"initial":"none"};
526  max-height: 280px;
527  overflow-y: auto;
528  background: ${eb.default.offWhite};
529  border: 1px solid ${eb.default.black};
530  border-top: none;
531  border-radius: 0 0 2px 2px;
532  box-shadow: 0px 4px 12px ${eb.default.black04};
533`,t_=et.default.forwardRef((e,a)=>(0,t.jsx)(tU,{ref:a,...e,"data-component":"DeviceDropdown-DropdownList"}));t_.displayName="DropdownList";let tH=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
534  ${ew.body14Styles}
535  position: relative;
536  padding: 12px 12px 12px 32px;
537  cursor: pointer;
538  font-weight: ${e=>e.$isActive?600:400};
539  color: ${eb.default.black};
540  background-color: ${e=>e.$isActive?eb.default.dividerLineGray:"transparent"};
541
542  &:hover {
543    background-color: ${eb.default.dividerLineGray};
544  }
545`,tz=et.default.forwardRef((e,a)=>(0,t.jsx)(tH,{ref:a,...e,"data-component":"DeviceDropdown-DropdownItem"}));tz.displayName="DropdownItem";let tq=E.default.div`
546  position: absolute;
547  top: 10px;
548  left: 8px;
549  display: flex;
550  align-items: center;
551  width: 20px;
552  height: 20px;
553`,tK=et.default.forwardRef((e,a)=>(0,t.jsx)(tq,{ref:a,...e,"data-component":"DeviceDropdown-IconWrapper"}));tK.displayName="IconWrapper";let tY=({currentBrand:e,currentDevice:a,currentDeviceId:r,devices:o})=>{let i=(0,ea.useT)(),l=et.default.useRef(null),[n,d]=(0,et.useState)(e),[s,c]=(0,et.useState)(!1),[u,p]=(0,et.useState)(!1),f=et.default.useMemo(()=>(0,es.uniq)((0,tI.sortBy)(o.map(e=>e.brand))),[o]);et.default.useEffect(()=>{e&&d(e)},[e]);let m=et.default.useMemo(()=>n?o.filter(e=>e.brand===n):o,[n,o]);return et.default.useEffect(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&(c(!1),p(!1))};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,t.jsx)(tT,{ref:l,children:(0,t.jsxs)(tM,{children:[(0,t.jsxs)(tA,{children:[(0,t.jsxs)(tE,{onClick:e=>{e.stopPropagation(),c(!s),p(!1)},children:[(0,t.jsx)(tW,{children:n?i(n):i("Brand")}),(0,t.jsx)(tV,{children:(0,t.jsx)(ey.Chevron,{strokeColor:eb.default.black})})]}),(0,t.jsx)(t_,{$isOpen:s,children:f.map(e=>(0,t.jsxs)(tz,{$isActive:n===e,onClick:t=>{t.stopPropagation(),d(e),c(!1)},children:[n===e&&(0,t.jsx)(tK,{children:(0,t.jsx)(ey.Check,{})}),i(e)]},e))})]}),(0,t.jsxs)(tA,{children:[(0,t.jsxs)(tE,{onClick:e=>{e.stopPropagation(),p(!u),c(!1)},children:[(0,t.jsx)(tW,{children:a?i(a):i("Device")}),(0,t.jsx)(tV,{children:(0,t.jsx)(ey.Chevron,{strokeColor:eb.default.black})})]}),(0,t.jsx)(t_,{$isOpen:u,children:m.map(e=>{let a=e.id===r;return(0,t.jsxs)(tz,{$isActive:a,onClick:a?void 0:t=>{p(!1),e.onClick(t)},children:[a&&(0,t.jsx)(tK,{children:(0,t.jsx)(ey.Check,{})}),i(e.device)]},e.id)})})]})]})})},tZ=E.default.div`
554  display: flex;
555  width: 100%;
556  height: auto;
557  flex-direction: column;
558
559  @media ${m.default.laptop} {
560    flex-direction: column-reverse;
561  }
562`,tX=et.default.forwardRef((e,a)=>(0,t.jsx)(tZ,{ref:a,...e,"data-component":"ProductForm-Container"}));tX.displayName="Container";let tQ=E.default.div`
563  width: 100%;
564  height: 1px;
565  transform: translateY(-1px);
566  background-color: ${eb.default.dividerLineGray};
567  z-index: 1;
568`,tJ=et.default.forwardRef((e,a)=>(0,t.jsx)(tQ,{ref:a,...e,"data-component":"ProductForm-Divider"}));tJ.displayName="Divider";let t0=E.default.div`
569  display: flex;
570  width: 100%;
571  flex-direction: column;
572  flex-wrap: wrap;
573  align-items: flex-start;
574  justify-content: space-between;
575  z-index: 2;
576
577  @media ${m.default.laptop} {
578    justify-content: flex-start;
579    overflow: hidden;
580    overflow-x: auto;
581  }
582`,t1=et.default.forwardRef((e,a)=>(0,t.jsx)(t0,{ref:a,...e,"data-component":"ProductForm-Variant"}));t1.displayName="Variant";let t2=E.default.div`
583  position: relative;
584  width: 100%;
585  margin-bottom: 8px;
586  padding-top: 16px;
587`,t4=et.default.forwardRef((e,a)=>(0,t.jsx)(t2,{ref:a,...e,"data-component":"ProductForm-Devices"}));t4.displayName="Devices";let t6=(0,E.default)("a",{shouldForwardProp:e=>!e.startsWith("$")})`
588  display: flex;
589  width: 100%;
590  height: 56px;
591  flex-direction: row;
592  align-items: center;
593  justify-content: space-between;
594  height: auto;
595  min-height: 56px;
596  margin-top: 4px;
597  padding: 0 12px;
598  border: 1px solid ${eb.default.lightGray};
599  cursor: pointer;
600  ${({$canClick:e})=>e?"":"cursor: initial"}
601`;et.default.forwardRef((e,a)=>(0,t.jsx)(t6,{ref:a,...e,"data-component":"ProductForm-DeviceButton"})).displayName="DeviceButton";let t3=E.default.div`
602  ${ew.body16MainStyles}
603  display: flex;
604  flex-wrap: wrap;
605  opacity: 0.9;
606  font-weight: 400;
607  color: ${eb.default.black};
608`;et.default.forwardRef((e,a)=>(0,t.jsx)(t3,{ref:a,...e,"data-component":"ProductForm-DeviceButtonText"})).displayName="DeviceButtonText";let t5=E.default.div`
609  ${ew.paragraphStyles}
610  margin-bottom: 8px;
611  color: ${eb.default.mediumDarkGray};
612`,t8=et.default.forwardRef((e,a)=>(0,t.jsx)(t5,{ref:a,...e,"data-component":"ProductForm-SelectText"}));t8.displayName="SelectText";let t9=`
613  display: flex;
614  width: 100%;
615  height: 56px;
616  flex-direction: row;
617  align-items: center;
618  justify-content: space-between;
619  border-bottom: 1px solid ${eb.default.dividerLineGray};
620  cursor: pointer;
621`,t7=`
622  ${ew.body16MainStyles}
623  opacity: 0.9;
624`,ae=`
625  ${ew.body16MainStyles}
626  color: ${eb.default.mediumDarkGray};
627  opacity: 0.9;
628`,at=E.default.div`
629  height: 32px;
630  width: 32px;
631  transform: rotate(90deg);
632`,aa=et.default.forwardRef((e,a)=>(0,t.jsx)(at,{ref:a,...e,"data-component":"ProductForm-ChevronIcon"}));aa.displayName="ChevronIcon";let ar=(0,E.default)("a",{shouldForwardProp:E.isForwardableProp})`
633  ${t9}
634  height: auto;
635  min-height: 56px;
636  ${({$canClick:e})=>e?"":"cursor: initial"}
637`,ao=et.default.forwardRef((e,a)=>(0,t.jsx)(ar,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceButton"}));ao.displayName="ClickableDeviceButton";let ai=E.default.div`
638  ${t7}
639  display: flex;
640  flex-wrap: wrap;
641`,al=et.default.forwardRef((e,a)=>(0,t.jsx)(ai,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceButtonText"}));al.displayName="ClickableDeviceButtonText";let an=E.default.button`
642  ${t7}
643  flex-wrap: wrap;
644  display: flex;
645  padding: 0;
646  border: none;
647  background-color: transparent;
648  outline: none;
649
650  &:hover {
651    cursor: pointer;
652  }
653
654  &:focus {
655    outline: none;
656  }
657
658  &:active {
659    outline: none;
660  }
661`,ad=et.default.forwardRef((e,a)=>(0,t.jsx)(an,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceButtonTextButton"}));ad.displayName="ClickableDeviceButtonTextButton";let as=E.default.a`
662  ${t7}
663  align-items: center;
664  justify-content: space-between;
665  flex-wrap: wrap;
666  display: flex;
667  width: 100%;
668  padding: 0;
669  border: none;
670  background-color: transparent;
671  outline: none;
672  text-align: left;
673
674  &:hover {
675    cursor: pointer;
676  }
677
678  &:focus {
679    outline: none;
680  }
681
682  &:active {
683    outline: none;
684  }
685`,ac=et.default.forwardRef((e,a)=>(0,t.jsx)(as,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceButtonTextLink"}));ac.displayName="ClickableDeviceButtonTextLink";let au=E.default.div`
686  padding: 20px;
687`,ap=et.default.forwardRef((e,a)=>(0,t.jsx)(au,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceTextWrapper"}));ap.displayName="ClickableDeviceTextWrapper";let af=(0,E.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
688  ${t7}
689  flex-shrink: 0;
690  width: ${({$twoColumn:e})=>e?"50%":"100%"};
691  margin: 8px 0;
692  font-size: 14px;
693  line-height: 16px;
694`,am=et.default.forwardRef((e,a)=>(0,t.jsx)(af,{ref:a,...e,"data-component":"ProductForm-ClickableDeviceText"}));am.displayName="ClickableDeviceText";let ag=(0,E.default)("a",{shouldForwardProp:e=>!e.startsWith("$")})`
695  ${t9}
696  ${({$canClick:e})=>e?"":"cursor: initial"}
697`,ax=et.default.forwardRef((e,a)=>(0,t.jsx)(ag,{ref:a,...e,"data-component":"ProductForm-Button"}));ax.displayName="Button";let ah=E.default.div`
698  display: flex;
699`,ay=et.default.forwardRef((e,a)=>(0,t.jsx)(ah,{ref:a,...e,"data-component":"ProductForm-ButtonTextWrapper"}));ay.displayName="ButtonTextWrapper";let av=E.default.div`
700  ${t7}
701`,ab=et.default.forwardRef((e,a)=>(0,t.jsx)(av,{ref:a,...e,"data-component":"ProductForm-ButtonText"}));ab.displayName="ButtonText";let aw=E.default.div`
702  ${ae}
703  margin-right: 8px;
704`,aj=et.default.forwardRef((e,a)=>(0,t.jsx)(aw,{ref:a,...e,"data-component":"ProductForm-ButtonLightText"}));aj.displayName="ButtonLightText";let aS=E.default.div`
705  display: flex;
706  width: 100%;
707  flex-direction: column;
708  align-items: flex-start;
709`,ak=et.default.forwardRef((e,a)=>(0,t.jsx)(aS,{ref:a,...e,"data-component":"ProductForm-ColorWrapper"}));ak.displayName="ColorWrapper";let a$=E.default.div`
710  display: flex;
711  padding: 16px 0;
712  flex-shrink: 0;
713  align-items: center;
714`,aC=et.default.forwardRef((e,a)=>(0,t.jsx)(a$,{ref:a,...e,"data-component":"ProductForm-ColorTextWrapper"}));aC.displayName="ColorTextWrapper";let aR=E.default.div`
715  padding: 4px 0 16px 3px;
716
717  @media ${m.default.laptop} {
718    padding-left: 5px;
719  }
720`,aP=et.default.forwardRef((e,a)=>(0,t.jsx)(aR,{ref:a,...e,"data-component":"ProductForm-SwatchWra
720pper"}));aP.displayName="SwatchWrapper";let aN=(0,E.default)(tC.default)`
721  width: auto;
722`,aI=e=>{let a,r,o,i,l,n=(0,ea.useT)(),d=(e,t)=>`${e}|${t.slug||t.name}`,s=et.default.useMemo(()=>e.productsInSeries.filter(t=>t.productSlug!==e.slug),[e.productsInSeries,e.slug]),c=(a=e.productsInSeries.filter(({customPrint:e})=>!e),r=[],o=new Set,a.forEach(({brand:t,device:a,devices:i,productSlug:l,variants:n})=>{[a,...i||[]].filter(e=>!!e?.name).forEach(i=>{let s,c=d(l,i);if(o.has(c))return;o.add(c);let u=i.name,p=i.type?.name||a?.type?.name;if(p?.toLowerCase()==="watches"&&n&&n.length>0){let e=Array.from(new Set(n.map(e=>e?.size?.size).filter(e=>!!e))).filter(e=>!u.includes(e));e.length>0&&(u=`${u} (size: ${e.join(", ")})`)}r.push({brand:t.name,device:u,id:c,onClick:(s=i.slug,t=>{if(t.stopPropagation(),l===e.slug){s&&e.onSelectDevice?.(s);return}window.location.href=(0,tP.getProductURL)(l,void 0,void 0,s?{deviceSlug:s}:void 0)}),productSlug:l})})}),(0,tI.sortBy)(r,"device").reverse()),u=d(e.slug,{name:e.device||"",slug:e.selectedDeviceSlug}),[p,f]=et.default.useState(void 0),m=(i=e.variants.filter(({language:e})=>!!e),(0,ec.uniqBy)(i,"language").map(({language:t})=>({language:t,onClick:a=>{a.stopPropagation();let r=(0,eo.get)(e,"currentVariant.color"),o=r&&e.variants.findIndex(({color:e,language:a})=>e===r&&a===t);"number"==typeof o&&o<0&&(o=e.variants.findIndex(({language:e})=>e===t)),f(t),"number"==typeof o&&e.onVariantChange(o),e.onRequestCloseLanguageSelector&&e.onRequestCloseLanguageSelector()}}))),g=m&&m.length>1,x=e.variants.map((t,a)=>({...(0,el.pick)(t,["name","language","size","hexString","swatchImage","isUnavailable"]),onClick:()=>e.onVariantChange(a)})),[h,y]=et.default.useState(void 0),v=(l=e.variants.filter(({size:e})=>!!e),(0,ec.uniqBy)(l,"size").map(({size:t})=>({onClick:a=>{a.stopPropagation();let r=(0,eo.get)(e,"currentVariant.color"),o=r&&e.variants.findIndex(({color:e,size:a})=>e===r&&a===t);"number"==typeof o&&o<0&&(o=e.variants.findIndex(({size:e})=>e===t)),y(t),"number"==typeof o&&e.onVariantChange(o),e.onRequestCloseSizeSelector&&e.onRequestCloseSizeSelector()},size:t}))),b=v&&v.length>1;et.default.useEffect(()=>{f((0,eo.get)(m,"0.language")),y((0,eo.get)(v,"0.size"))},[]),et.default.useEffect(()=>{if(e.currentVariant&&e.currentVariant.language&&e.currentVariant.language!==p){let t=m.find(({language:t})=>t===e.currentVariant.language);t&&f(t.language)}if(e.currentVariant&&e.currentVariant.size&&e.currentVariant.size!==h){let t=v.find(({size:t})=>t===e.currentVariant.size);t&&y(t.size)}},[e.currentVariant]);let w=e=>e.map(e=>(0,tN.omit)(e,["language","size"])),j=w(p?x.filter(({language:e})=>e===p):h?x.filter(({size:e})=>e===h):x),S=!!(e.multipleDevices&&e.deviceNames?.length)&&e.deviceNames,[k,$]=et.default.useState(null),C=!!k;return(0,t.jsxs)(tX,{children:[(0,t.jsx)(eL.DesktopOnly,{children:(0,t.jsx)(tJ,{})}),(0,t.jsxs)(t1,{children:[p&&(0,t.jsxs)(ax,{$canClick:g,onClick:t=>{g&&(t.stopPropagation(),m.length>0&&e.onClickLanguageSelector&&e.onClickLanguageSelector(m))},children:[(0,t.jsxs)(ay,{children:[(0,t.jsx)(aj,{children:n("Language:")}),(0,t.jsx)(ab,{children:n(p)})]}),g&&(0,t.jsx)(aa,{children:(0,t.jsx)(ey.Chevron,{strokeColor:eb.default.black})})]}),h&&(0,t.jsxs)(ax,{$canClick:b,onClick:t=>{b&&(t.stopPropagation(),v.length>0&&e.onClickSizeSelector&&e.onClickSizeSelector(v))},children:[(0,t.jsxs)(ay,{children:[(0,t.jsx)(aj,{children:n("Size:")}),(0,t.jsx)(ab,{children:n(h)})]}),b&&(0,t.jsx)(aa,{children:(0,t.jsx)(ey.Chevron,{strokeColor:eb.default.black})})]}),(0,t.jsxs)(ak,{children:[(0,t.jsxs)(aC,{children:[(0,t.jsx)(aj,{children:n("Color:")}),(0,t.jsx)(ab,{children:e.currentVariant.color&&n(e.currentVariant.color)})]}),(0,t.jsx)(aP,{children:(0,t.jsx)(aN,{activeSwatchName:e.currentVariant.name,colors:j,size:"24px"})})]})]}),(0,t.jsx)(eL.MobileOnly,{children:(0,t.jsx)(tJ,{})}),!e.hideDeviceSelector&&s.length>0&&(0,t.jsxs)(t4,{children:[(0,t.jsxs)(t8,{children:[n("Device:")," ",n(e.brand)," | ",e.device&&n(e.device)]}),(0,t.jsx)(tY,{currentBrand:e.brand,currentDevice:e.device||"",currentDeviceId:u,devices:c})]}),0===s.length&&(0,t.jsx)(ao,{$canClick:!1,as:"span",children:e.multipleDevices?e.useDeviceAnchor?(0,t.jsxs)(ac,{href:"#deviceAnchorLink",children:[(0,t.jsxs)(ay,{children:[(0,t.jsx)(aj,{children:n("Device:")}),(0,t.jsx)(ab,{children:n(e.deviceAnchorLabel)})]}),(0,t.jsx)(aa,{children:(0,t.jsx)(ey.Chevron,{strokeColor:eb.default.black})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ad,{onClick:e=>{$(e.currentTarget)},children:(0,t.jsxs)(ay,{children:[(0,t.jsx)(aj,{children:n("Device:")}),(0,t.jsx)(ab,{children:S&&`${n(S[0])} ${n("(click to show all ({count}) devices)").replace("{count}",String(S.length))}`})]})}),(0,t.jsx)(tR.default,{anchorEl:k,anchorOrigin:{horizontal:"left",vertical:"bottom"},id:C?"simple-popover":void 0,onClose:()=>{$(null)},open:C,transformOrigin:{horizontal:"left",vertical:"top"},children:(0,t.jsx)(ap,{children:S&&S.map(e=>(0,t.jsx)(am,{$twoColumn:!1,children:n(e)},e))})})]}):(0,t.jsx)(al,{children:(0,t.jsxs)(ay,{children:[(0,t.jsx)(aj,{children:n("Device:")}),(0,t.jsx)(ab,{children:e.device&&n(e.device)})]})})})]})},aB=E.default.div`
723  position: relative;
724  display: flex;
725  flex-direction: column;
726  padding-top: 42px;
727  background-color: ${eb.default.offWhite};
728  border-bottom: 1px solid ${eb.default.dividerLineGray};
729
730  @media ${m.default.laptop} {
731    flex-direction: row;
732    gap: calc(1 / 12 * 100vw);
733    padding: 38px calc(0.5 / 12 * 100vw) 0;
734    border-bottom: none;
735  }
736`,aT=et.default.forwardRef((e,a)=>(0,t.jsx)(aB,{ref:a,...e,"data-component":"ProductBlock-Container"}));aT.displayName="Container";let aD=E.default.div`
737  display: flex;
738  flex-direction: column;
739  margin: 0;
740
741  @media ${m.default.laptop} {
742    width: calc(5 / 12 * 100vw);
743    flex-shrink: 0;
744  }
745`,aM=et.default.forwardRef((e,a)=>(0,t.jsx)(aD,{ref:a,...e,"data-component":"ProductBlock-Images"}));aM.displayName="Images";let aO=E.default.div`
746  @media ${m.default.laptop} {
747    flex-direction: column;
748    flex-shrink: 0;
749    display: flex;
750    width: calc(5 / 12 * 100vw);
751  }
752`,aA=et.default.forwardRef((e,a)=>(0,t.jsx)(aO,{ref:a,...e,"data-component":"ProductBlock-FormWrapper"}));aA.displayName="FormWrapper";let aF=E.default.div`
753  display: flex;
754  flex-direction: column;
755  margin: 32px 20px;
756
757  @media ${m.default.laptop} {
758    width: 100%;
759    margin: 0;
760  }
761`,aE=et.default.forwardRef((e,a)=>(0,t.jsx)(aF,{ref:a,...e,"data-component":"ProductBlock-Form"}));aE.displayName="Form";let aL=E.default.div`
762  margin: 0 20px 40px;
763
764  @media ${m.default.laptop} {
765    margin: 0 0 32px 0;
766  }
767`,aW=et.default.forwardRef((e,a)=>(0,t.jsx)(aL,{ref:a,...e,"data-component":"ProductBlock-ProductTitleWrapper"}));aW.displayName="ProductTitleWrapper";let aG=E.default.div`
768  display: flex;
769  flex-direction: column;
770`,aV=et.default.forwardRef((e,a)=>(0,t.jsx)(aG,{ref:a,...e,"data-component":"ProductBlock-CartButtonAndTextWrapper"}));
770aV.displayName="CartButtonAndTextWrapper";let aU=E.default.div``,a_=et.default.forwardRef((e,a)=>(0,t.jsx)(aU,{ref:a,...e,"data-component":"ProductBlock-ActionButtonWrapper"}));a_.displayName="ActionButtonWrapper";let aH=(0,E.default)(ex.default)`
771  margin-top: 24px;
772
773  @media ${m.default.mobileOnly} {
774    height: 56px;
775  }
776
777  @media ${m.default.laptop} {
778    margin-top: 32px;
779  }
780`,az=E.default.div`
781  display: flex;
782  flex-direction: row;
783  align-items: center;
784  margin-top: 20px;
785
786  &:hover {
787    cursor: pointer;
788  }
789`,aq=et.default.forwardRef((e,a)=>(0,t.jsx)(az,{ref:a,...e,"data-component":"ProductBlock-RatingsRow"}));aq.displayName="RatingsRow";let aK=(0,E.default)(e2.default)`
790  margin-right: 8px;
791`,aY=E.default.div`
792  ${ew.subtextStyles}
793  color: ${eb.default.mediumDarkGray};
794`,aZ=et.default.forwardRef((e,a)=>(0,t.jsx)(aY,{ref:a,...e,"data-component":"ProductBlock-RatingsText"}));aZ.displayName="RatingsText";let aX=E.default.div`
795  display: flex;
796  margin-top: 8px;
797`,aQ=et.default.forwardRef((e,a)=>(0,t.jsx)(aX,{ref:a,...e,"data-component":"ProductBlock-SkuUpcContainer"}));aQ.displayName="SkuUpcContainer";let aJ=E.default.div`
798  ${ew.subtextStyles}
799  margin-right: 20px;
800  color: ${eb.default.mediumGray};
801`,a0=et.default.forwardRef((e,a)=>(0,t.jsx)(aJ,{ref:a,...e,"data-component":"ProductBlock-SkuUpcNumber"}));a0.displayName="SkuUpcNumber";let a1=E.default.div`
802  width: 100%;
803  margin-top: 32px;
804`,a2=E.default.div`
805  width: 100%;
806
807  .sl_header {
808    font-family: "Interstate Bold", Helvetica, Arial, sans-serif !important;
809    text-transform: uppercase !important;
810  }
811  .sl_content_row {
812    font-family: "Avenir Roman", Helvetica, Arial, sans-serif !important;
813  }
814`,a4=et.default.forwardRef((e,a)=>(0,t.jsx)(a2,{ref:a,...e,"data-component":"ProductBlock-StoreLocatorContainer"}));a4.displayName="StoreLocatorContainer";let a6=et.default.forwardRef((e,a)=>(0,t.jsx)(a1,{ref:a,...e,"data-component":"ProductBlock-DiscountAndUpsellBlockWrapper"}));a6.displayName="DiscountAndUpsellBlockWrapper";let a3=e=>{let{formatPrice:r}=(0,b.useFormatPrice)(),o=(0,ea.useT)(),i=et.default.useRef(null),[l,n]=et.default.useState(!1),[d,s]=et.default.useState([]),c=()=>{n(!1)},[u,p]=et.default.useState(!1),[f,m]=et.default.useState([]),g=()=>{p(!1)},{showOutOfStockModal:x,openOutOfStockModal:h,closeOutOfStockModal:w}=e,[j,S]=et.default.useState(!1),k=String(t$.default.get(e,"currentVariant.outOfStockMessage")??""),{onAddProductToCart:$}=(0,v.default)(),{elevarOnAddToCart:C}=(0,y.default)(),[R,N]=et.default.useState({}),I=et.default.useRef(e.bundleSaveVariantSelections);et.default.useEffect(()=>{let t=I.current||{},a=e.bundleSaveVariantSelections||{};I.current=a,Object.keys(a).forEach(e=>{if(!t[e]){let t=parseInt(e.split("-")[0],10);N(a=>({...a,[t]:e}))}})},[e.bundleSaveVariantSelections]);let B=et.default.useRef(null),[T,D]=et.default.useState(!1);return et.default.useEffect(()=>{if(!B.current)return;let t=(0,e6.getStoreLocatorProductId)(e.currentVariant.variantId);window.storeLocatorsConfig={allowDuplicateStores:!0,buyNowLinks:!1,customerId:e6.STORE_LOCATOR_CUSTOMER_ID,format:"rows",maxStores:3,noLocations:"implode",productIds:[String(t)],showStoreDistance:!0,showStoreLogo:!0,showStoreNames:!0,showStoreQuantity:!0,storelocators_url:"https://www.urbanarmorgear.com/store-locator"};let a=null,r=null;return T||((a=document.createElement("link")).rel="stylesheet",a.href="//cdn.storelocators.com/rpi/css/rpi-stable.css",document.head.appendChild(a),(r=document.createElement("script")).src="//cdn.storelocators.com/rpi/js/rpi-stable.js",r.defer=!0,document.head.appendChild(r),D(!0)),()=>{a&&a.parentNode&&a.parentNode.removeChild(a),r&&r.parentNode&&r.parentNode.removeChild(r)}},[]),et.default.useEffect(()=>{if(!T)return;let t=(0,e6.getStoreLocatorProductId)(e.currentVariant.variantId);try{window.sl_set_settings&&window.sl_refresh&&(window.sl_set_settings({productIds:[String(t)]}),window.sl_refresh())}catch(e){console.warn("Store locator update failed:",e)}},[e.currentVariant.variantId,T]),(0,t.jsxs)(aT,{ref:i,children:[(0,t.jsx)(eH,{isOpen:l,languages:d,onRequestClose:c}),(0,t.jsx)(e1,{isOpen:u,onRequestClose:g,sizes:f}),(0,t.jsx)(eL.MobileOnly,{children:(0,t.jsxs)(aW,{children:[(0,t.jsx)(eY.default,{currencyCode:e.currencyCode,price:e.price,productName:e.productName,retailPrice:e.retailPrice}),(0,t.jsxs)(aQ,{children:[e.currentVariant.sku&&(0,t.jsxs)(a0,{children:["SKU: ",e.currentVariant.sku]}),e.currentVariant.upc&&(0,t.jsxs)(a0,{children:["UPC: ",e.currentVariant.upc]})]}),(0,t.jsxs)(aq,{onClick:()=>e.onClickRatings?.("mobile"),children:[(0,t.jsx)(aK,{stars:Math.round(e.avgRating)}),(0,t.jsxs)(aZ,{children:[e.numReviews," ",o("Reviews")]})]})]})}),(0,t.jsx)(aM,{children:(0,t.jsx)(eK.default,{currentVariant:e.currentVariant||e.fallbackVariant,deviceName:e.device,imageGalleryMuxVideos:e.imageGalleryMuxVideos,images:e.images,lifestyleMuxVideos:e.lifestyleMuxVideos,logoOverHero:e.logoOverHero,productName:e.productName})}),(0,t.jsxs)(aA,{children:[(0,t.jsxs)(aE,{children:[(0,t.jsx)(eL.DesktopOnly,{children:(0,t.jsxs)(aW,{children:[(0,t.jsx)(eY.default,{price:e.price,productName:e.productName,retailPrice:e.retailPrice}),(0,t.jsxs)(aQ,{children:[e.currentVariant.sku&&(0,t.jsxs)(a0,{children:["SKU: ",e.currentVariant.sku]}),e.currentVariant.upc&&(0,t.jsxs)(a0,{children:["UPC: ",e.currentVariant.upc]})]}),(0,t.jsxs)(aq,{onClick:()=>e.onClickRatings?.("desktop"),children:[(0,t.jsx)(aK,{stars:Math.round(e.avgRating)}),(0,t.jsxs)(aZ,{children:[e.numReviews," ",o("Reviews")]})]})]})}),(0,t.jsx)(aI,{brand:e.brand,currentVariant:e.currentVariant||e.fallbackVariant,device:e.device,deviceAnchorLabel:e.deviceAnchorLabel,deviceNames:e.deviceNames,hideDeviceSelector:e.hideDeviceSelector,multipleDevices:e.multipleDevices,onClickLanguageSelector:e=>{s(e),n(!0)},onClickSizeSelector:e=>{m(e),p(!0)},onRequestCloseLanguageSelector:c,onRequestCloseSizeSelector:g,onSelectDevice:e.onSelectDevice,onVariantChange:e.setActiveVariant,productsInSeries:e.productsInSeries,selectedDeviceSlug:e.selectedDeviceSlug,slug:e.slug,useDeviceAnchor:e.useDeviceAnchor,variants:e.variants}),(0,t.jsxs)(aV,{children:[(0,t.jsx)(a_,{ref:e.headerRef,children:(0,t.jsx)(()=>
814{if(e.notAvailableInCountry)return(0,t.jsx)(aH,{className:"notAvailable",disabled:!0,hideDash:!0,text:e.notAvailableInCountryText?o(e.notAvailableInCountryText):o("This product is not available in your country.")});if(e.showNotifySignup)return(0,t.jsx)(aH,{className:"outOfStock",onClick:h,text:o("NOTIFY ME WHEN AVAILABLE")});if(e.notAvailable)return(0,t.jsx)(aH,{className:"notAvailable",disabled:!0,hideDash:!0,text:e.notAvailableButtonText?o(e.notAvailableButtonText):o("Not Available")});if(e.loadingInventory)return(0,t.jsx)(aH,{className:"addToCart",disabled:!0,text:o("Loading")});if(e.isAvailable)return(0,t.jsx)(aH,{className:"addToCart",disabled:!e.isAvailable,hideDash:!0,onClick:t=>{t.preventDefault(),t.stopPropagation(),e.addToCart()},text:(0,e3.resolveAddToCartLabel)({atcMessage:e.currentVariant?.atcMessage,defaultVerb:o("ADD TO CART"),isAvailable:e.isAvailable,t:o})??o("ADD TO CART")});else if(e.outOfStockButtonText)return(0,t.jsx)(aH,{className:"outOfStock",disabled:!0,hideDash:!0,text:o(e.outOfStockButtonText)});else return(0,t.jsx)(aH,{className:"outOfStock",onClick:h,text:o("NOTIFY ME WHEN AVAILABLE")})},{})}),!e.notAvailableInCountry&&(0,t.jsx)(tk,{customerLocationFetched:e.customerLocationFetched,customerZipCode:e.customerZipCode,deliveryText:e.deliveryText,enableFenixEstimates:e.enableFenixEstimates,hideZipCodeForm:e.hideZipCodeForm,invalidShippingData:e.invalidShippingData,onUpdateZipCode:e.onUpdateZipCode,outOfStockMessage:k,shippingDataLoaded:e.shippingDataLoaded,shippingText:e.shippingText}),(0,t.jsx)(e5.default,{}),!e.notAvailableInCountry&&e.showDiscountBlock&&e.automaticDiscounts.map((i,l)=>{let n=("string"==typeof i.id?i.id:"").replace("gid://shopify/DiscountAutomaticNode/",""),d=e?.globalData?.automaticDiscounts?.find(e=>e.discountId===n);if(!d||e.discountProducts[l]&&0===e.discountProducts[l].length||d&&"flat discount"===d.type)return null;let s=e.bogoTypeByIndex?.[l],c=s?d[`pdpMessage${s}`]:void 0,u=s?d[`select${s}Message`]:void 0,p=s?d[`select${"X"===s?"Y":"X"}Image`]:void 0,f=new Set((e.inStockSkus||[]).map(String)),m=e.discountInventoryLoaded&&f.size>0,g=(e.discountProducts[l]||[]).filter(e=>{if(!m)return!0;let t=e.variants||[];return 0===t.length||t.some(e=>{let t=String(e.sku||"");return!t||f.has(t)})}),x=e.discountProductsIdMap[l]?.toString()||"",h=[],y=new Map,v=new Map;g.forEach((e,t)=>{if(e.customPrint){let a=e.productName||"",r=a.indexOf(" - "),o=r>-1?a.slice(0,r).trim():a,i=o.toLowerCase(),l=y.get(i);l?l.products.push(e):y.set(i,{displayName:o,firstIndex:t,products:[e]})}else{let a=e.device?.type?.name||"";if(a){let r=a.toLowerCase(),o=v.get(r);o?o.products.push({originalIndex:t,product:e}):v.set(r,{firstIndex:t,menuLabel:e.device?.type?.menuLabel||a,products:[{originalIndex:t,product:e}]})}else h.push({originalIndex:t,product:e})}});let b=(t,a)=>{let r=`${l}-${t}`,i=e.bundleSaveVariantSelections?.[r],n=(a.variants?.length||0)>1,d=a.variants?.[0],s=d?.color,c=("object"==typeof s?s?.name:s)||d?.name||"";return i?{currencyCode:a.currencyCode||e.currencyCode||"USD",id:r,needsSelection:!1,onOpenSelector:()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,x,a.sys?.id)},price:(parseFloat(String(i.price||"0"))||a.productPrice)??null,productImage:String(i.image||"")||a.productImage||"",productName:String(i.productName||"")||a.productName||"",slug:a.slug||"",variantLabel:n?`${o("Color:")} ${i.color?.name||i.color||i.variantName||c}`:void 0}:{currencyCode:a.currencyCode||e.currencyCode||"USD",id:r,needsSelection:!1,onOpenSelector:()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,x,a.sys?.id)},price:a.productPrice??null,productImage:a.productImage||"",productName:a.productName||"",slug:a.slug||"",variantLabel:n?`${o("Color:")} ${c}`:void 0}},w=h.map(({originalIndex:e,product:t})=>b(e,t));v.forEach(({menuLabel:t,products:a},r)=>
814{if(1===a.length)return void w.push(b(a[0].originalIndex,a[0].product));let i=`${l}-dt-${r}`,n=e.bundleSaveVariantSelections?.[i],d=a[0].product;if(n){let r=n.variants?.length>1,s=n.color?.name||n.color||n.variantName||"",c=()=>{e.openDeviceTypeGroupSelector&&e.openDeviceTypeGroupSelector(l,x,a[0].product.device?.type?.name||"",t)};w.push({currencyCode:d.currencyCode||e.currencyCode||"USD",id:i,needsSelection:!1,onChange:c,onOpenSelector:c,price:parseFloat(String(n.price||"0"))||(d.productPrice??null),productImage:String(n.image||"")||d.productImage||"",productName:String(n.productName||"")||d.productName||"",slug:String(n.productSlug||"")||d.slug||"",variantLabel:r?`${o("Color:")} ${s}`:void 0})}else w.push({currencyCode:d.currencyCode||e.currencyCode||"USD",id:i,needsSelection:!1,onOpenSelector:()=>{e.openDeviceTypeGroupSelector&&e.openDeviceTypeGroupSelector(l,x,a[0].product.device?.type?.name||"",t)},pendingSelection:!0,price:d.productPrice??null,productImage:d.productImage||"",productName:t,slug:d.slug||"",variantLabel:o("Choose")})}),y.forEach(({displayName:t,firstIndex:a,products:r})=>{if(e.pdpDeviceSlug&&!r.some(t=>t.variants?.some(t=>{if(t.device?.slug!==e.pdpDeviceSlug)return!1;let a=String(t.sku||"");return!a||!(f.size>0)||f.has(a)})))return;let i=`${l}-cp-${a}`,n=e.bundleSaveVariantSelections?.[i];if(n){let a=String(n.productName||t),d=a.includes(" - ")?a.split(" - ").slice(1).join(" - ").trim():a,s=()=>{e.openCustomPrintSelector&&e.openCustomPrintSelector(l,x,t)};w.push({currencyCode:r[0]?.currencyCode||e.currencyCode||"USD",id:i,needsSelection:!1,onChange:s,onOpenSelector:s,price:parseFloat(String(n.price||"0"))||(r[0]?.productPrice??null),productImage:String(n.image||"")||r[0]?.productImage||"",productName:a,slug:String(n.productSlug||"")||r[0]?.slug||"",variantLabel:`${o("Design:")} ${d}`})}else w.push({currencyCode:r[0]?.currencyCode||e.currencyCode||"USD",id:i,needsSelection:!1,onOpenSelector:()=>{e.openCustomPrintSelector&&e.openCustomPrintSelector(l,x,t)},pendingSelection:!0,price:r[0]?.productPrice??null,productImage:r[0]?.productImage||"",productName:t,slug:r[0]?.slug||"",variantLabel:o("Choose Design")})}),0===w.length&&u&&w.push({currencyCode:e.currencyCode||"USD",id:`${l}-select`,needsSelection:!0,onOpenSelector:()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,x)},pendingSelection:!0,price:null,productImage:p?.url?(0,a.ensureHttps)(p.url):"",productName:u,selectorImage:p?.url?(0,a.ensureHttps)(p.url):void 0,selectorLabel:u,slug:""});let j="Y"===s,S=i.discountPercentage??null,k=e.priceNumeric??0,I=j&&S&&k>0?S/100*k:0,B=I>0?`Save ${r(I,e.currencyCode||"USD")} on this accessory when bundled`:void 0;return(0,t.jsx)(a6,{children:(0,t.jsx)(eg.default,{currencyCode:e.currencyCode||"USD",discountPercentage:j?null:S,headline:c||"",items:w,onAddToCart:()=>(t=>{let r=R[t];if(!r)return;let o=e.bundleSaveVariantSelections?.[r];if(o){e.addDiscountedProductToCart({cartProduct:o}),C({brand:"Urban Armor Gear",device:String(o.device||""),deviceType:String(o.deviceType||""),image:String(o.image||""),list:"upsell",price:String(o.price||""),productId:String(o.shopifyProductId||""),productName:String(o.productName||""),quantity:"1",sku:String(o.sku||""),variantId:String(o.shopifyVariantId||""),variantName:String(o.variantName||"")},"upsell"),$({device:String(o.device||""),deviceType:String(o.deviceType||""),price:String(o.price||""),productId:String(o.shopifyProductId||""),productName:String(o.productName||""),quantity:1,sku:String(o.sku||""),variantName:String(o.variantName||"")});return}if(r.includes("-cp-")||r.includes("-dt-"))return;let i=parseInt(r.split("-")[1],10),l=e.discountProducts[t];if(!l||!l[i])return;let n=l[i];if(n.variants&&n.variants.length>=1){let t=n.variants[0];if(n.customPrint&&e.pdpDeviceSlug){let a=n.variants.find(t=>t.device?.slug===e.pdpDeviceSlug);a&&(t=a)}let r=(0,P.formatContentfulVariant)(t),o=r.images?.[0]||{},[i]=("string"==typeof o?o:o.url||"").split("?");e.addDiscountedProductToCart({cartProduct:{brand:n.brand?.name,color:r.color,compareAtPrice:r.compareAtPrice,contentfulProductId:n.sys?.id,contentfulUpsellProductId:void 0,contentfulVariantId:r.contentfulVariantId,customPrint:n.customPrint,device:n.device?.name,deviceType:n.device?.type?.name,image:(0,a.ensureHttps)(i),language:n.language,marketPrices:r.marketPrices,price:r.price,productName:n.productName,productSlug:n.slug,productSubType:n.productSubType?.slug,quantity:1,requiresUpsellProduct:n.requiresUpsellProduct,shopifyProductId:n.shopifyProduct?.shopifyProductId,shopifyVariantId:r.variantId,size:r.size,sku:r.sku,variantDevice:r.deviceName,variantName:r.name}}),C({brand:"Urban Armor Gear",device:n.device?.name||"",deviceType:n.device?.type?.name||"",image:(0,a.ensureHttps)(i),list:"upsell",price:r.price||"",productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:"1",sku:r.sku||"",variantId:r.variantId||"",variantName:r.name||""},"upsell"),$({device:n.device?.name||"",deviceType:n.device?.type?.name||"",price:r.price||"",productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:1,sku:r.sku||"",variantName:r.name||""})}})(l),onSelectItem:e=>{N(t=>({...t,[l]:e}))},perItemBundleHint:B,selectedItemId:R[l]??null})},l)}),!e.notAvailableInCountry&&!e.showDiscountBlock&&e.upsellProduct&&(0,t.jsx)(a6,{children:(0,t.jsx)(e4.default,{buttonText:e.upsellProduct?.variants&&e.upsellProduct.variants.length>1?o("Add"):o("ADD TO CART"),callout:e.upsellCallout||"",currencyCode:e.upsellProduct.displayableCurrencyCode,image:e.upsellProduct.productImage||"",onClick:()=>{e.upsellProduct?.variants&&e.upsellProduct.variants.length>1?e.openVariantSelector():e.upsellProduct?.variants&&e.upsellProduct.variants[0]?.onAddToCart&&e.upsellProduct.variants[0].onAddToCart(1)},price:e.upsellProduct.productPrice||"",productName:e.upsellProduct.productName||"",slug:e.upsellProduct.slug||""})})]}),(0,t.jsx)(a4,{ref:B,children:(0,t.jsx)("div",{id:"storelocators_rpi"})})]}),e.children]}),(0,t.jsx)(ez.default,{isOpen:x,onRequestClose:w,showSuccess:()=>{S(!0),w()},variantId:e.currentVariant.variantId}),(0,t.jsx)(eq.default,{isOpen:j,onRequestClose:()=>{S(!1)}})]})},a5=E.default.div`
815  width: 100%;
816  padding-left: 20px;
817
818  @media ${m.default.laptop} {
819    padding-left: calc(1 / 12 * 100vw);
820  }
821`,a8=et.default.forwardRef((e,a)=>(0,t.jsx)(a5,{ref:a,...e,"data-component":"ProductDetails-MaestraWidgetContainerSmall"}));a8.displayName="MaestraWidgetContainerSmall";let a9=E.default.div`
822  width: 100%;
823`,a7=et.default.forwardRef((e,a)=>(0,t.jsx)(a9,{ref:a,...e,"data-component":"ProductDetails-MaestraWidgetContainerLarge"}));a7.displayName="MaestraWidgetContainerLarge";let re=E.default.div``,rt=et.default.forwardRef((e,a)=>(0,t.jsx)(re,{ref:a,...e,"data-component":"ProductDetails-MaestraWidget"}));rt.displayName="MaestraWidget";let ra=[],rr=(0,eu.connect)(e=>({automaticDiscounts:e.discounts.automaticDiscounts,cartLineItems:e.checkout.data?.lines?.edges||ra,customerEmail:e.customer.data?.emailAddress?.emailAddress||"",customerLocation:e.customer.customerLocation,customerLocationFetched:e.customer.customerLocationFetched,discountedProductsData:e.discounts.discountedProductsData,discountedProductsInventoryData:e.discounts.discountedProductsInventoryData,discountedProductsInventoryFetched:e.discounts.discountedProductsInventoryFetched}),e=>({addToCart:e.checkout.addToCart,fetchDiscountInventoryForProduct:e.discounts.fetchDiscountInventoryForProduct,updateCustomerZipCode:e.customer.updateCustomerZipCode}))(({addToCart:e,automaticDiscounts:m,cartLineItems:E,customerEmail:eu,customerLocation:eg,customerLocationFetched:ex,data:eh,discountedProductsData:ey,discountedProductsInventoryData:ev,discountedProductsInventoryFetched:eb,fetchDiscountInventoryForProduct:ew,location:ej,updateCustomerZipCode:eS})=>{let ek=(0,ea.useT)(),{data:e$}=(0,h.useBaseContext)(),eC=e$?.globalData||{menuItems:[]},eR=(0,ee.useModalParam)("reviews"),[eP,eN]=(0,et.useState)(!1),eI=()=>eN(!0),eB=eR.isOpen,[eT,eD]=(0,et.useState)(!1),[eM,eO]=(0,et.useState)(!1),[eA,eF]=(0,et.useState)(!1),[eE,eL]=(0,et.useState)({}),[eW,eG]=(0,et.useState)(-1),[eV,eU]=(0,et.useState)(!1),[e_,eH
823]=(0,et.useState)(null),[ez,eq]=(0,et.useState)({}),eK=eh.contentfulProduct,eY=et.default.useMemo(()=>({...eK||{},variants:eK?.variants?.filter(e=>!e.carrierVariant).map(P.formatContentfulVariant)}),[eK]),eZ=(0,eo.get)(eY,"shopifyProduct.shopifyProductId",""),eX=(0,P.getDecodedShopifyProductId)(eZ),eQ=(eh.relatedProductsBySeries||[]).filter(e=>!!e.variants&&Array.isArray(e.variants)&&e.variants.length>0),eJ=(0,ei.map)(eQ,e=>({productName:e.productName,productSlug:e.slug,...(0,el.pick)(e,["brand","customPrint","device","devices","series","variants"])})),e0=eh.contentfulGlobalSettings?.countryProhibitedProducts,{blocked:e1,message:e2}=(0,K.useNotAvailableInCountry)({customerCountryCode:eg?.customerCountryCode,fetched:ex,initial:eh?.countryBlock,productSlug:eY?.slug,rules:e0}),e4=m.some(({customerBuysProducts:e})=>e?.includes((0,k.decodeShopifyId)(eZ)||"")),e6=m.some(({customerGetsProducts:e})=>e?.includes((0,k.decodeShopifyId)(eZ)||"")),e3=et.default.useMemo(()=>{if(eY.upsell&&eY.upsellCallout){let e=eY.upsell;return(0,en.reject)(e.variants||[],e=>!e.images)}return[]},[eY.upsell]),e5=et.default.useMemo(()=>eY.variants||[],[eY]),e8=et.default.useMemo(()=>(0,es.uniq)(e5?.map(e=>e.sku)),[e5]),e9=et.default.useMemo(()=>{let e=e=>(e??[]).map(e=>"string"==typeof e?e:e?.sku).filter(Boolean);return(0,es.uniq)([...e(e8),...e(e3)])},[e8,e3]),{inventoryData:e7}=(0,S.default)(e9,e8),te=(0,w.useMarket)(),{formatPrice:tt}=(0,b.useFormatPrice)(),ta="US"===te?eg?.customerCountryCode||"US":te,{currencyCode:tr,currentVariant:to,fallbackVariant:ti,price:tl,retailPrice:tn,setActiveVariant:td,validVariantsByStock:ts}=(0,Q.usePdpVariantState)({customerCountryCode:ta,inventoryData:e7,variants:e5}),tc=eh?.availabilityBySku||{},{isPrimary:tu}=(0,B.resolveDomainCountry)(),{availabilityData:tp,inventoryReady:tf,shippingMessage:tm}=(0,Z.usePdpAvailability)({currentSku:to?.sku,currentVariant:to,customerCountryCode:eg?.customerCountryCode,initialIsAvailable:tc[String(to?.sku||"")],inventoryData:e7,mode:"PDP"}),tg=Object.prototype.hasOwnProperty.call(tc,String(to?.sku||""))||tf,tx=(({customerCountryCode:e,isPrimary:t,sku:a})=>t&&(!e||"US"===e)&&!("string"==typeof a&&g.has(a.trim())))({customerCountryCode:eg?.customerCountryCode,isPrimary:tu,sku:to?.sku}),th=et.default.useMemo(()=>eh.contentfulGlobalSettings?.fenixShippingMethods||L.DEFAULT_FENIX_METHODS,[eh]),{deliveryText:ty,fenixData:tv,shippingText:tb}=(0,X.usePdpShipping)({availabilityIsAvailable:tp?.isAvailable,currentSku:to?.sku,customerZipCode:eg?.customerZipCode,enableFenixEstimates:tx,fenixArgs:{shippingMethods:th,variants:eY?.variants},shippingMessage:tm}),tw=ex&&eg&&e7&&Object.keys(e7)?.length>0,tj=(0,q.useMultipleDevicesString)(eY),{deviceSlug:tS,selectDevice:tk}=function(e="device"){let[t,a]=(0,et.useState)(null);return(0,et.useEffect)(()=>{let t=()=>{let t=window.location.search||"",r=t&&"u">typeof URLSearchParams&&new URLSearchParams(t).get(e)?.trim()||null;a(e=>e===r?e:r)};return t(),window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)},[e]),{deviceSlug:t,selectDevice:(0,et.useCallback)(t=>{let r=(t||"").trim();if(!r)return;let o=new URLSearchParams(window.location.search||"");o.get(e)?.trim()===r?a(e=>e===r?e:r):(o.set(e,r),window.history?.replaceState({},"",`?${o.toString()}`),a(r))},[e])}}(),t$=et.default.useMemo(()=>{let e,t,a,r;return e=em((0,ef.default)(eY,"device")),t=(0,ef.default)(eY,"devices",[])||[],a=[],r=new Set,[e,...t.map(em)].forEach(e=>{if(!e)return;let t=(e.slug||e.name).toLowerCase();r.has(t)||(r.add(t),a.push(e))}),a},[eY]),tC=et.default.useMemo(()=>(function(e,t){let a=t?.trim();if(a){let t=e.find(e=>e.slug===a);if(t)return t}return e[0]})(t$,tS),[t$,tS]),tR=String(tC?.name||(0,eo.get)(eY,"device.name")||""),tP=et.default.useMemo(()=>((0,ef.default)(eY,"devices",[])||[]).map(e=>em(e)?.name).filter(e=>!!e),[eY]),{onAddProductToCart:tN}=(0,v.default)(),{elevarOnAddToCart:tI}=(0,y.default)();(0,Y.usePdpAnalytics)({availabilityData:tp,currentVariant:to,customerCountryCode:te,customerEmail:eu||"",deviceName:tR,inventoryLoaded:!!tw,productData:eY}),et.default.useEffect(()=>{let e=(0,F.getLocalStorage)(x.RECENTLY_VIEWED_PRODUCTS_KEY)||[],t=(0,eo.get)(eY,"variants.0.images.0",""),[r]=(("string"==typeof t?t:t?.url||"")||"").split("?"),o={compareAtPrice:(0,N.getMarketAmount)(to,te,"compareAtPrice")||void 0,image:(0,a.ensureHttps)(r),marketPrices:{[te]:{compareAtPrice:null,price:{amount:(0,N.getMarketAmount)(to,te,"price")??0,currencyCode:tr}}},price:(0,N.getMarketAmount)(to,te,"price")??0,productName:eY?.productName,productSlug:eY?.slug};try{(0,F.writeLocalStorage)(x.RECENTLY_VIEWED_PRODUCTS_KEY,(0,ed.slice)((0,ec.uniqBy)([o,...e],"productSlug"),0,6))}catch(e){if(e?.name==="QuotaExceededError")try{(0,F.writeLocalStorage)(x.RECENTLY_VIEWED_PRODUCTS_KEY,[o])}catch(e){e?.name==="QuotaExceededError"&&console.error("Local storage quota exceeded while trying to write recently viewed products.")}}},[]),et.default.useEffect(()=>{eY?.sys?.id&&ey&&ew(eY.sys.id)},[eY?.sys?.id,ey,ew]);let tB=et.default.useCallback(()=>{let t=to?.variantId;if(!t)return;let r=(0,eo.get)(to,"images.0",""),[o]=(("string"==typeof r?r:r?.url||"")||"").split("?");e({cartProduct:{brand:(0,eo.get)(eY,"brand.name"),builtInMagnet:(0,eo.get)(eY,"builtInMagnet",!1),bundleProduct:(0,eo.get)(eY,"bundleProduct",!1),color:to?.color,compareAtPrice:tn,contentfulProductId:eY?.sys?.id,contentfulUpsellProductId:(0,eo.get)(eY,"upsell.sys.id"),contentfulVariantId:to?.contentfulVariantId,device:tR,deviceType:(0,eo.get)(eY,"device.type.n
823ame"),image:(0,a.ensureHttps)(o),language:eY?.language,marketPrices:to?.marketPrices,price:tl,productName:eY?.productName,productSlug:eY?.slug,productSubType:(0,eo.get)(eY,"productSubType.slug"),requiresUpsellProduct:eY?.requiresUpsellProduct,shopifyProductId:(0,eo.get)(eY,"shopifyProduct.shopifyProductId"),shopifyVariantId:t,size:to?.size,sku:to?.sku,variantDevice:to?.deviceName,variantName:to?.name}}),tN({device:String(tR||""),deviceType:String((0,eo.get)(eY,"device.type.name")||""),price:String(tl),productId:String((0,eo.get)(eY,"shopifyProduct.shopifyProductId")||""),productName:String(eY?.productName||""),quantity:1,sku:String(to?.sku||""),variantName:String(to?.name||"")});let i=((0,F.getLocalStorage)(x.SELECTED_PRODUCTS_KEY)||{})[(0,eo.get)(eY,"shopifyProduct.shopifyProductId")]||"direct";tI({brand:"Urban Armor Gear",device:String(tR??""),deviceType:String((0,eo.get)(eY,"device.type.name")??""),image:(0,a.ensureHttps)(o),list:i,price:String(tl),productId:String((0,eo.get)(eY,"shopifyProduct.shopifyProductId")??""),productName:String(eY?.productName??""),quantity:"1",sku:String(to?.sku??""),variantId:t,variantName:String(to?.name??"")},i)},[e,eY,to,tl,tn,tR,tN,tI]),{allDiscountProductsIndexIdMap:tT,automaticDiscountData:tD,discountProducts:tM,upsellProduct:tO}=(0,z.useDiscountAndUpsellProducts)({addToCart:e,automaticDiscountData:eh.contentfulGlobalSettings?.automaticDiscounts||[],automaticDiscounts:m.map(e=>({...e,id:e.id||""})),customerCountryCode:eg?.customerCountryCode||"US",deviceName:tR,discountedProductsData:ey,elevarOnAddToCart:tI,mode:"PDP",onAddProductToCart:tN,productData:eY,shopifyProductId:eZ}),tA=et.default.useMemo(()=>{let e=eg?.customerCountryCode||"US",t={...e7||{},...ev||{}},a=new Set(Object.entries(ey).filter(([,e])=>e.customPrint).map(([e])=>e)),r=[...(0,er.flatten)(Object.entries(ey).filter(([e])=>!a.has(e)).map(([,e])=>e.variants)),...tO?.variants||[]],o=[];return r.forEach(({sku:a})=>{(0,eo.get)(t,`${a}.${S.INVENTORY_ITEM_TRACKED}`,!0)&&(0,R.default)(e,a,t).isAvailable&&o.push(a)}),o},[e7,ey,ev,tO,ex,eg]),tF=et.default.useMemo(()=>{let e=eg?.customerCountryCode||"US",t={...e7||{},...ev||{}},a=(0,er.flatten)(Object.values(ey).filter(e=>e.customPrint).map(e=>e.variants));if(0===a.length)return[];let r=[];return a.forEach(({sku:a})=>{(0,eo.get)(t,`${a}.${S.INVENTORY_ITEM_TRACKED}`,!0)&&(0,R.default)(e,a,t,{mode:"SOPDP"}).isAvailable&&r.push(a)}),r},[e7,ey,ev,ex,eg]),tE=et.default.useMemo(()=>[...tA,...tF],[tA,tF]),tL=et.default.useMemo(()=>m?.map(e=>e.customerBuysProducts?.includes((0,k.decodeShopifyId)(eZ)||"")?"X":e.customerGetsProducts?.includes((0,k.decodeShopifyId)(eZ)||"")?"Y":void 0),[m,eZ]),tW=et.default.useCallback((e,t)=>{let a=t.replace("gid://shopify/DiscountAutomaticNode/",""),r=tD?.find(({discountId:e})=>e===a),o=tL?.[e],i=r?{...r}:{};o&&(i._bogoType=o),eL(i),eG(e)},[tL,tD,eG,eL]),tG=et.default.useCallback(()=>{eG(-1),eH(null)},[eG]),tV=et.default.useCallback((e,t,a)=>{eH({groupIndex:e,singleProductId:a}),tW(e,t)},[tW]),tU=et.default.useCallback((e,t,a)=>{eH({customPrintBaseName:a,groupIndex:e}),tW(e,t)},[tW]),t_=et.default.useCallback((e,t,a,r)=>{eH({deviceTypeMenuLabel:r,deviceTypeName:a,groupIndex:e}),tW(e,t)},[tW]),tH=et.default.useCallback(e=>{if(!e_)return;let{customPrintBaseName:t,deviceTypeName:a,groupIndex:r}=e_,o=e.cartProduct;if(t){let e=(tM[r]||[]).findIndex(e=>{if(!e.customPrint)return!1;let a=String(e.productName||""),r=a.indexOf(" - ");return(r>-1?a.slice(0,r).trim():a).toLowerCase()===t.toLowerCase()}),a=`${r}-cp-${e>=0?e:0}`;eq(e=>({...e,[a]:o}))}else if(a){let e=`${r}-dt-${a.toLowerCase()}`;eq(t=>({...t,[e]:o}))}else{let e=(tM[r]||[]).findIndex(e=>e.sys?.id===o.contentfulProductId);e<0&&(e=0);let t=`${r}-${e}`;eq(e=>({...e,[t]:o}))}tG()},[e_,tM,tG]),tz=et.default.useCallback(()=>{eU(!0)},[eU]),tq=et.default.useCallback(()=>{eU(!1)},[eU]),tK=(0,et.useRef)(null),tY=et.default.useCallback(e=>{e&&eS(e)},[eS]),tZ=String(to?.deviceName||tR||""),tX=(0,O.resolveProductDescription)(to,eY),tQ=eY?.installationText,tJ=eY?.installationMedias||[],t0=eY?.installationImage,t1=!!tQ&&!!(tJ.length||t0),t2=to?.resourcesText||eY?.resourcesText,t4=to?.resourcesMedia||eY?.resourcesMedia,t6=!!(t2||t4),{avgRating:t3,goodReview:t5,numReviews:t8,reviews:t9}=(0,ep.useProductReviews)(String(eX),{per_page:20}),[t7,ae]=(0,et.useState)(null),at=et.default.useMemo(()=>(0,ep.extractReviewTags)(t9),[t9]),aa=!!(eh.contentfulGlobalSettings?.hideDeviceSelector||[]).find(({name:e})=>!!e&&e===eY.device?.type?.name),ar=(e4||e6)&&tD&&tM&&tM.find(e=>e?.length>0),ao=eg?.customerStateCode==="CA"&&(0,eo.get)(to,"showProp65Warning",!1),{description:ai}=(0,J.useProductMeta)({avgRating:t3,contentfulProduct:eK||{},customerCountryCode:eg?.customerCountryCode||"US",goodReview:t5,numReviews:t8,productData:eY}),[al,an]=(0,et.useState)("");et.default.useEffect(()=>{let e,t=to?.sku??"",a=String((0,eo.get)(eY,"device.name")??""),r=(0,eo.get)(e7,`${t}.collections`)??[];if(!t||!a||!r.length)return;let o=(0,C.findBestCategory)(a,r),i=(e=o?.match?.id??"",e?.replace("gid://shopify/Collection/","")??"");i&&i!==al&&an(i)},[eY,to,e7,al]);let ad=et.default.useMemo(()=>eY?.variants?.map(e=>e.shopifyVariantId||e.variantId)||[],[eY]),as=et.default.useMemo(()=>E.some(({node:e})=>ad.includes(e?.merchandise?.id)),[E,ad]),ac=tt(tl,tr),au=(0,eo.get)(to,"images.0",""),ap="string"==typeof au?au:au?.url||"",af=o.default,am=(0,j.getOriginForMarket)(te),ag=`${am}/products/${eY?.slug}/`;return(0,t.jsxs)(af,{data:eh,FixedHeaderComponent:(0,t.jsx)(r.default,{atcMessage:to?.atcMessage,deviceName:String((0,eo.get)(eY,"device.name")||""),isAvailable:tp.isAvailable,notAvailable:eY?.notAvailable,notAvailableButtonText:eY?.notAvailableButtonText,notAvailableInCountry:e1,onClickAddToCart:tB,onClickNotify:eI,outOfStockButtonText:eY?.outOfStockButtonText,productImage:ap,productName:String((0,eo.get)(eY,"productName")||""),productPrice:ac,showNotifySignup:!!eY?.showNotifySignup}),fixedHeaderTopRef:tK,isPDP:!0,location:ej,showFixedHeader:!0,children:[to&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.ProductSchema,{availability:tg?tp?.isAvailable&&!e1?"InStock":"OutOfStock":void 0,brand:"Urban Armor Gear",description:(0,$.substituteDevice)(ai||"",tZ),image:(0,T.resolveProductSchemaImages)(eY?.images,eY?.variants),name:eY?.productName||"",price:tl?String(tl).replace(/[$,]/g,"").trim():tn?String(tn).replace(/[$,]/g,"").trim():"0",priceCurrency:tr,rating:t3?Number(t3):eh?.serverRating?.rating,reviewCount:t8?Number(t8):eh?.serverRating?.reviewCount,sku:String(to?.sku||""),url:ag}),(0,t.jsx)(c.BreadcrumbSchema,{items:(0,u.buildProductBreadcrumbItems)(eY,am,ag)})]}),(0,t.jsxs)(L.Content,{children:[to&&(0,t.jsxs)(a3,{addDiscountedProductToCart:e,addToCart:tB,automaticDiscounts:m.map(e=>({...e,id:e.id||""})),avgRating:t3,bogoTypeByIndex:Object.fromEntries(tL?.map((e,t)=>"X"===e||"Y"===e?[t,e]:null).filter(e=>null!==e)),brand:String((0,eo.get)(eY,"brand.name")||""),bundleSaveVariantSelections:ez,currencyCode:tr,currentVariant:to,customerLocationFetched:ex,customerZipCode:eg?.customerZipCode||"",deliveryText:ty,device:tR,deviceAnchorLabel:eY?.deviceAnchorLabel||"",deviceNames:tP,discountProducts:tM,discountProductsIdMap:Object.fromEntries(Object.entries(tT).map(([e,t])=>[e,Number(t)])),enableFenixEstimates:tx,fallbackVariant:ti,filters:(0,eo.get)(eh,"filterData.filters"),globalData:{...eC,automaticDiscounts:eh.contentfulGlobalSettings?.automaticDiscounts||[]},headerRef:tK,hideDeviceSelector:aa,hideZipCodeForm:eg?.customerCountryCode==="US"||!tp?.isAvailable,imageGalleryMuxVideos:(0,eo.get)(eY,"imageGalleryMuxVideos")||[],images:(0,ei.map)((0,eo.get)(eY,"images",[]),e=>
823({height:e.height,url:e.url||"",width:e.width})),logoOverHero:eY?.renderLogoOverProductHero?eY?.logos?.[0]:void 0,discountInventoryLoaded:eb,inStockSkus:tE,invalidShippingData:!!tv?.invalidShippingData,isAvailable:tp?.isAvailable,isProductInCart:as,lifestyleMuxVideos:(0,eo.get)(eY,"lifestyleMuxVideos")||[],loadingInventory:!tw,multipleDevices:!!tj,notAvailable:eY?.notAvailable,notAvailableButtonText:eY?.notAvailableButtonText,notAvailableInCountry:e1,notAvailableInCountryText:e2,numReviews:t8,onClickRatings:eR.open,onUpdateZipCode:tY,openCustomPrintSelector:tU,openDeviceTypeGroupSelector:t_,openProductSelector:tW,openProductSelectorForBundle:tV,onSelectDevice:tk,openOutOfStockModal:eI,closeOutOfStockModal:()=>eN(!1),showOutOfStockModal:eP,showNotifySignup:!!eY?.showNotifySignup,openVariantSelector:tz,outOfStockButtonText:eY?.outOfStockButtonText,pdpDeviceSlug:String((0,eo.get)(eY,"device.slug")||""),price:tt(tl,tr),priceNumeric:"number"==typeof tl?tl:Number(tl),productName:String((0,eo.get)(eY,"productName")||""),productsInSeries:eJ,retailPrice:tn?tt(tn,tr):void 0,selectedDeviceSlug:tC?.slug||"",setActiveVariant:e=>td(e),shippingDataLoaded:!!tv?.shippingDataLoaded,shippingText:tb,showDiscountBlock:!!ar,slug:String((0,eo.get)(eY,"slug")||""),upsellCallout:eY.upsellCallout,upsellProduct:tO,useDeviceAnchor:eY?.useDeviceAnchor||!1,variants:ts,children:[(0,t.jsx)(_.default,{description:(0,I.renderRichText)(tX,A.withFinePrint,ek,tZ)||"",deviceAnchorText:eY?.useDeviceAnchor?(0,I.renderRichText)((0,eo.get)(eY,"deviceAnchorText",D.emptyRichText),A.withFinePrint,ek)||"":void 0,logos:eY?.logos||void 0,logosAlignment:eY?.logosAlignment,logosDescription:eY?.logosDescription&&(0,I.renderRichText)(eY.logosDescription,A.withFinePrint,ek)||void 0}),(0,t.jsx)(U.default,{avgRating:t3,pdpLinks:(0,eo.get)(eY,"pdpLinks",[])||[],installationContent:t1?(0,t.jsx)(V.default,{image:t0,medias:tJ,text:tQ?(0,I.renderRichText)(tQ||D.emptyRichText,A.withFinePrint,ek):void 0}):void 0,numReviews:t8,prop65Text:(0,I.renderRichText)((0,eo.get)(eh,"contentfulGlobalSettings.prop65Text",D.emptyRichText),A.withFinePrint,ek)||"",resourcesContent:t6?(0,t.jsx)(t.Fragment,{children:!!t4&&(0,t.jsx)(H.default,{media:t4,text:t2?(0,I.renderRichText)(t2||D.emptyRichText,A.withFinePrint,ek):void 0})}):void 0,setShowReviews:e=>e?eR.open():eR.close(),showProp65Button:!!ao,specTitle:(0,eo.get)(to,"specs.title")??(0,eo.get)(eY,"specs.title")??void 0,specs:(0,eo.get)(to,"specs.productSpecification")??(0,eo.get)(eY,"specs.productSpecification")??[],specSheets:(0,eo.get)(to,"specSheets")??(0,eo.get)(eY,"specSheets")??[]})]}),(0,t.jsx)(G.default,{features:(0,eo.get)(eY,"featuresBlock")??[],featuresBlockImage:(0,eo.get)(eY,"featuresBlockImage.url")}),(0,t.jsx)(W.default,{cards:(0,M.resolveVariantHighlightCards)((0,eo.get)(eY,"highlightCards",[])||[],to?.contentfulVariantId),pdpHeadline:(0,eo.get)(eY,"series.pdpHeadline"),seriesName:(0,eo.get)(eY,"series.name")}),(0,t.jsx)(a8,{children:(0,t.jsx)(rt,{"data-popmechanic-embed":"52569"})}),(0,t.jsx)(a7,{children:(0,t.jsx)(rt,{"data-popmechanic-argument":al,"data-popmechanic-embed":"52571"})}),(0,t.jsx)(l.default,{avgRating:t3,isOpen:eB,numReviews:t8,onClickWriteReview:()=>{eR.close(),eD(!0),eO(!1)},onRequestClose:()=>{eR.close(),eD(!1),eO(!1)},onRequestOpenReviewImageGallery:e=>{eF(!0),ae("string"==typeof e?parseInt(e,10):e)},productId:eX,reviews:t9,slideFromRight:!0,tags:at}),(0,t.jsx)(d.default,{backToReviews:()=>{eR.open(),eD(!1),eO(!1)},isOpen:eT,onRequestClose:()=>{eR.close(),eD(!1),eO(!1)},onSubmit:()=>{eR.close(),eD(!1),eO(!0)},productId:eX,productTitle:String((0,eo.get)(eY,"productName")||"")}),(0,t.jsx)(n.default,{isOpen:eM,onRequestClose:()=>{eR.close(),eD(!1),eO(!1)}}),(0,t.jsx)(i.default,{initialImage:t7??void 0,isOpen:eA,onRequestClose:()=>{eF(!1),ae(null)},reviews:t9}),ar&&(()=>{let t=eW>-1?tM[eW]:[];if(eb&&t){let e=new Set((tE||[]).map(String));e.size>0&&(t=t.filter(t=>{let a=t.variants;return!a||0===a.length||a.some(t=>{let a=String(t.sku||"");return!a||e.has(a)})}))}if(e_?.singleProductId&&t&&(t=t.filter(e=>e.sys?.id===e_.singleProductId)),e_?.customPrintBaseName&&t){let e=e_.customPrintBaseName,a=(0,eo.get)(eY,"device.slug"),r=new Set((tE||[]).map(String));t=t.filter(t=>{if(!t.customPrint)return!1;let a=String(t.productName||""),r=a.indexOf(" - ");return(r>-1?a.slice(0,r).trim():a).toLowerCase()===e.toLowerCase()}).map(e=>{if(a&&Array.isArray(e.variants)&&e.variants.length>1){let t=e.variants.find(e=>e.device?.slug===a);if(t)return{...e,variants:[t]}}return e}).filter(e=>{if(!Array.isArray(e.variants)||0===e.variants.length)return!1;let t=String(e.variants[0].sku||"");return!t||r.has(t)})}if(e_?.deviceTypeName&&t){let e=e_.deviceTypeName;t=t.filter(t=>{if(t.customPrint)return!1;let a=t.device?.type;return String(a?.name||"").toLowerCase()===e.toLowerCase()})}let a=!!e_?.customPrintBaseName,r=!!e_?.deviceTypeName,o=eE[`pdpMessage${eE.bogoType}`]||"";return et.default.createElement(s.default,{addToCart:e_?tH:e,autoSelectSingleVariant:!!e_,availableVariants:tE,closeOnAddToCart:!0,deal:a||r?"":o,header:a?ek("Choose Design (in stock)"):r?`Select ${e_?.deviceTypeMenuLabel||""}`:o,isOpen:eW>-1,onRequestClose:tG,products:t,selectMode:!!e_,singleColumn:a})})(),!ar&&tO&&(0,t.jsx)(f.default,{addToCart:e,availableVariants:tE,isOpen:eV,onRequestClose:tq,product:{sys:{id:""},productName:"",slug:"",variants:[],...eY.upsell}})]})]})});e.s(["default",0,function({data:e,location:a}){return(0,t.jsx)(rr,{data:e,location:a})}],574109)},892851,e=>{"use strict";var t=e.i(843476),a=e.i(722266),r=e.i(303424),o=e.i(864232),i=e.i(556693),l=e.i(667265),n=e.i(988623),d=e.i(508097),s=e.i(668427);e.i(479410),e.i(563044);var c=e.i(294566),u=e.i(315011),p=e.i(624220),f=e.i(192722),m=e.i(18566),g=e.i(107374),x=e.i(65369),h=e.i(999647),y=e.i(994232),v=e.i(433717),b=e.i(534039),w=e.i(816637),j=e.i(351970),S=e.i(388158),k=e.i(807555),$=e.i(340213),C=e.i(348419),R=e.i(604829),P=e.i(852810),N=e.i(745409),I=e.i(7955),B=e.i(162059),T=e.i(3058),D=e.i(426943),M=e.i(184131),O=e.i(702364),A=e.i(887073),F=e.i(702563),E=e.i(78188),L=e.i(835981),W=e.i(211726),G=e.i(237233),V=e.i(35993),U=e.i(921675),_=e.i(9065),H=e.i(576588),z=e.i(960410),q=e.i(408089),K=e.i(229153),Y=e.i(365550),Z=e.i(844304),X=e.i(718970),Q=e.i(169109),J=e.i(739730),ee=e.i(553908),et=e.i(892365),ea=e.i(683462),er=e.i(540589),eo=e.i(343894),ei=e.i(271645),el=e.i(155487),en=e.i(108004),ed=e.i(304295),es=e.i(632221),ec=e.i(827262),eu=e.i(123355),ep=e.i(897727),ef=e.i(747539),em=e.i(987521),eg=e.i(82248),ex=e.i(245733),eh=e.i(116664),ey=e.i(953352),ev=e.i(926113),eb=e.i(572852),ew=e.i(560523);let ej=O.default.div``,eS=ei.default.forwardRef((e,a)=>(0,t.jsx)(ej,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-Container"}));eS.displayName="Container";let ek=O.default.div``,e$=ei.default.forwardRef((e,a)=>(0,t.jsx)(ek,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-LeftOnTablet"}));e$.displayName="LeftOnTablet";let eC=O.default.div`
824  display: flex;
825  flex-wrap: wrap;
826`,eR=ei.default.forwardRef((e,a)=>(0,t.jsx)(eC,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-ShippingRow"}));eR.displayName="ShippingRow";let eP=O.default.div`
827  margin-right: 14px;
828`,eN=ei.default.forwardRef((e,a)=>(0,t.jsx)(eP,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-ShippingTextWrapper"}));eN.displayName="ShippingTextWrapper";let eI=O.default.div`
829  height: 32px;
830`,eB=ei.default.forwardRef((e,a)=>(0,t.jsx)(eI,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-ShippingTextMargin"}));eB.displayName="ShippingTextMargin";let eT=O.default.div`
831  ${ev.body16MainStyles}
832  display: flex;
833  margin-top: 10px;
834  align-content: center;
835  justify-content: center;
836  color: ${eh.default.brandOrange};
837
838  @media ${ex.default.laptop} {
839    ${ev.body14Styles}
840    justify-content: flex-start;
841    color: ${eh.default.brandOrange};
842  }
843`,eD=ei.default.forwardRef((e,a)=>(0,t.jsx)(eT,{ref:a,...e,"data-component":"ShippingBlockWIthoutForm-OutOfStockMessage"}));eD.displayName="OutOfStockMessage";let eM=e=>(0,t.jsx)(eS,{children:(0,t.jsxs)(e$,{children:[!!e.shippingText&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eB,{}
843),(0,t.jsx)(eR,{children:(0,t.jsx)(eN,{children:e.shippingText})})]}),e.outOfStockMessage&&(0,t.jsx)(eD,{children:e.outOfStockMessage})]})});var eO=e.i(61006),eA=e.i(221466),eF=e.i(642624),eE=e.i(299658),eL=e.i(522016);let eW=(0,O.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
844  cursor: not-allowed;
845  flex-shrink: 0;
846  width: ${({$compact:e})=>e?"calc((100% - 36px) / 3.75)":"calc((100% - 24px) / 3)"};
847  &:not(:last-child) {
848    margin-right: 12px;
849  }
850`,eG=ei.default.forwardRef((e,a)=>(0,t.jsx)(eW,{ref:a,...e,"data-component":"SeriesBlock-DisabledLink"}));eG.displayName="DisabledLink";let eV=(0,O.default)(eL.default,{shouldForwardProp:e=>!e.startsWith("$")})`
851  ${({$active:e,href:t})=>!t.length||e?"pointer-events: none":"cursor: pointer"};
852  flex-shrink: 0;
853  width: ${({$compact:e})=>e?"calc((100% - 36px) / 3.75)":"calc((100% - 24px) / 3)"};
854  &:not(:last-child) {
855    margin-right: 12px;
856  }
857`,eU=ei.default.forwardRef((e,a)=>(0,t.jsx)(eV,{ref:a,...e,"data-component":"SeriesBlock-Link"}));eU.displayName="StyledLink";let e_=O.default.div`
858  flex-direction: column;
859  position: relative;
860  display: flex;
861  width: 100%;
862`,eH=ei.default.forwardRef((e,a)=>(0,t.jsx)(e_,{ref:a,...e,"data-component":"SeriesBlock-Container"}));eH.displayName="Container";let ez=O.default.div`
863  width: 100%;
864`,eq=ei.default.forwardRef((e,a)=>(0,t.jsx)(ez,{ref:a,...e,"data-component":"SeriesBlock-Content"}));eq.displayName="Content";let eK=(0,O.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
865  position: relative;
866  flex-direction: column;
867  flex-grow: 1;
868  justify-content: flex-end;
869  display: flex;
870  padding: 4px;
871  transition: background-color ${eE.default.medium} ${eE.cubicBezier};
872  background-color: ${eh.default.backgroundGray};
873  border: ${({$active:e})=>e?`1px solid ${eh.default.black}`:"1px solid transparent"};
874
875  @media ${ex.default.laptop} {
876    align-self: stretch;
877    justify-self: stretch;
878    padding: 4px;
879
880    &:hover {
881      background-color: ${eh.default.backgroundGrayHover};
882    }
883  }
884
885  .image-helper-container {
886    flex-grow: 0;
887    flex-shrink: 0;
888    width: 100%;
889    height: auto;
890
891    img {
892      object-fit: contain;
893    }
894  }
895`,eY=ei.default.forwardRef((e,a)=>(0,t.jsx)(eK,{ref:a,...e,"data-component":"SeriesBlock-ImageWrapper"}));eY.displayName="ImageWrapper";let eZ=O.default.div`
896  ${ev.body14Styles}
897  align-items: center;
898  justify-content: center;
899  display: flex;
900  margin-top: 4px;
901  color: ${eh.default.black};
902`,eX=ei.default.forwardRef((e,a)=>(0,t.jsx)(eZ,{ref:a,...e,"data-component":"SeriesBlock-Title"}));eX.displayName="Title";let eQ=O.default.div`
903  ${ev.body14Styles}
904  align-items: center;
905  justify-content: center;
906  display: flex;
907  opacity: 0.9;
908  color: ${eh.default.mediumDarkGray};
909`,eJ=ei.default.forwardRef((e,a)=>(0,t.jsx)(eQ,{ref:a,...e,"data-component":"SeriesBlock-Price"}));eJ.displayName="Price";let e0=({active:e,compact:a,currencyCode:r,disabled:o=!1,imageUrl:i,name:l,price:n,slug:d})=>{let s=(0,X.useT)(),{formatPrice:c}=(0,y.useFormatPrice)(),u=ei.default.useMemo(()=>{if(!n||!r)return"";let e=parseFloat(n);return isNaN(e)?n:c(e,r)},[n,r,c]);return o?(0,t.jsx)(eG,{$compact:a,title:"Not Available",children:(0,t.jsxs)(eH,{children:[(0,t.jsx)(eY,{$active:e,children:(0,t.jsx)(eF.default,{src:i})}),(0,t.jsxs)(eq,{children:[(0,t.jsx)(eX,{children:l?s(l):""}),!!u&&(0,t.jsx)(eJ,{children:u})]})]})}):(0,t.jsx)(eU,{$active:e,$compact:a,href:d,children:(0,t.jsxs)(eH,{children:[(0,t.jsx)(eY,{$active:e,children:(0,t.jsx)(eF.default,{src:i})}),(0,t.jsxs)(eq,{children:[(0,t.jsx)(eX,{children:l?s(l):""}),!!u&&(0,t.jsx)(eJ,{children:u})]})]})})},e1=O.default.div`
910  display: flex;
911  width: 100%;
912  height: auto;
913  flex-direction: column;
914
915  @media ${ex.default.laptop} {
916    flex-direction: column-reverse;
917  }
918`,e2=ei.default.forwardRef((e,a)=>(0,t.jsx)(e1,{ref:a,...e,"data-component":"ProductForm-Container"}));e2.displayName="Container";let e4=O.default.div`
919  flex-direction: column;
920  flex-wrap: wrap;
921  align-items: flex-start;
922  justify-content: space-between;
923  display: flex;
924  width: 100%;
925  overflow: visible;
926  z-index: 2;
927
928  @media ${ex.default.laptop} {
929    justify-content: flex-start;
930  }
931`,e6=ei.default.forwardRef((e,a)=>(0,t.jsx)(e4,{ref:a,...e,"data-component":"ProductForm-Variant"}));e6.displayName="Variant";let e3=O.default.div`
932  ${ev.paragraphStyles}
933  margin-bottom: 8px;
934  color: ${eh.default.mediumDarkGray};
935`,e5=ei.default.forwardRef((e,a)=>(0,t.jsx)(e3,{ref:a,...e,"data-component":"ProductForm-SelectText"}));e5.displayName="SelectText";let e8=O.default.div`
936  position: relative;
937  width: 100%;
938  padding-top: 16px;
939`,e9=ei.default.forwardRef((e,a)=>(0,t.jsx)(e8,{ref:a,...e,"data-component":"ProductForm-Devices"}));e9.displayName="Devices";let e7=(0,O.default)("a",{shouldForwardProp:e=>!e.startsWith("$")})`
940  display: flex;
941  width: 100%;
942  height: 56px;
943  flex-direction: row;
944  align-items: center;
945  justify-content: space-between;
946  height: auto;
947  min-height: 56px;
948  margin-top: 4px;
949  padding: 0 12px;
950  border: 1px solid ${eh.default.lightGray};
951  cursor: pointer;
952  ${({$canClick:e})=>e?"":"cursor: initial"}
953`;ei.default.forwardRef((e,a)=>(0,t.jsx)(e7,{ref:a,...e,"data-component":"ProductForm-DeviceButton"})).displayName="DeviceButton";let te=O.default.div`
954  ${ev.body16MainStyles}
955  display: flex;
956  flex-wrap: wrap;
957  opacity: 0.9;
958  font-weight: 400;
959  color: ${eh.default.black};
960`;ei.default.forwardRef((e,a)=>(0,t.jsx)(te,{ref:a,...e,"data-component":"ProductForm-DeviceButtonText"})).displayName="DeviceButtonText";let tt=O.default.div`
961  height: 32px;
962  width: 32px;
963  transform: rotate(90deg);
964`;ei.default.forwardRef((e,a)=>(0,t.jsx)(tt,{ref:a,...e,"data-component":"ProductForm-ChevronIcon"})).displayName="ChevronIcon";let ta=O.default.div`
965  width: 100%;
966  margin-top: 24px;
967`,tr=ei.default.forwardRef((e,a)=>(0,t.jsx)(ta,{ref:a,...e,"data-component":"ProductForm-Series"}));
967tr.displayName="Series";let to=O.default.div`
968  display: flex;
969  justify-content: flex-start;
970  width: 100%;
971  overflow-x: auto;
972`,ti=ei.default.forwardRef((e,a)=>(0,t.jsx)(to,{ref:a,...e,"data-component":"ProductForm-SeriesList"}));ti.displayName="SeriesList";let tl=e=>{let a,r=(0,X.useT)(),o=(0,v.useMarket)(),i=(a=e.variants.filter(({deviceName:e})=>!!e),(0,eo.uniqBy)(a,"deviceSlug").map(({deviceBrandName:t,deviceName:a,deviceSlug:r})=>{let o;return{brand:t??"",device:a??"",onClick:(o=r||"",t=>{t.stopPropagation();let a=o&&e.variants.findIndex(({deviceSlug:e})=>o===e);e.onVariantChange(a||0)})}})),l=ei.default.useMemo(()=>{if(!e.series||!e.relatedSeries||0===e.relatedSeries.length)return[];let t=e.relatedSeries.map(t=>{let a=t.variants,r=a?.find(t=>e.device===t.device?.name),i=r||a?.[0];if(!i)return null;let l=i.sku,n=!r,d=(0,P.getMarketPrice)(i,o,"price"),s=(0,P.isDisplayableMarketPrice)(d,o);return{currencyCode:s?d.currencyCode:void 0,disabled:n,imageUrl:i.images?.[0]?.url||"",name:t.series?.name||"",price:s?String(d.amount):void 0,slug:(0,eO.getProductURL)(t.slug,l,e.device)}}).filter(e=>null!==e).sort((t,a)=>e.series===t.name?-1:+(e.series===a.name));if(t.length>1){let a=t.findIndex(t=>t.name===e.series);if(-1!==a&&0!==a)return[t[a],...t.slice(0,a),...t.slice(a+1)]}return t},[e.device,e.relatedSeries,e.series,o]);return(0,t.jsx)(e2,{children:(0,t.jsxs)(e6,{children:[i.length>0&&(0,t.jsxs)(e9,{children:[(0,t.jsxs)(e5,{children:[r("Device:")," ",e.currentVariant?.deviceBrandName?r(e.currentVariant.deviceBrandName):""," ","|"," ",e.currentVariant?.deviceName?r(e.currentVariant.deviceName):""]}),(0,t.jsx)(eA.default,{currentDevice:e.currentVariant?.deviceName||"",devices:i})]}),!e.slug.includes("intl")&&l.length>0&&(0,t.jsxs)(tr,{children:[(0,t.jsx)(e5,{children:r("Select series:")}),(0,t.jsx)(ti,{children:l.map((a,r)=>(0,t.jsx)(e0,{active:e.series===a.name,compact:l.length>3,currencyCode:a.currencyCode,disabled:a.disabled,imageUrl:a.imageUrl,name:a.name,price:a.price,slug:a.slug},r))})]})]})})},tn=O.default.div`
973  position: relative;
974  display: flex;
975  flex-direction: column;
976  padding-top: 42px;
977  background-color: ${eh.default.offWhite};
978  border-bottom: 1px solid ${eh.default.dividerLineGray};
979
980  @media ${ex.default.laptop} {
981    flex-direction: row;
982    gap: calc(1 / 12 * 100vw);
983    padding: 38px calc(0.5 / 12 * 100vw) 0;
984    border-bottom: none;
985  }
986`,td=ei.default.forwardRef((e,a)=>(0,t.jsx)(tn,{ref:a,...e,"data-component":"ProductBlock-Container"}));td.displayName="Container";let ts=O.default.div`
987  display: flex;
988  flex-direction: column;
989  margin: 0;
990
991  @media ${ex.default.laptop} {
992    width: calc(5 / 12 * 100vw);
993    flex-shrink: 0;
994  }
995`,tc=ei.default.forwardRef((e,a)=>(0,t.jsx)(ts,{ref:a,...e,"data-component":"ProductBlock-Images"}));tc.displayName="Images";let tu=O.default.div`
996  @media ${ex.default.laptop} {
997    flex-direction: column;
998    flex-shrink: 0;
999    display: flex;
1000    width: calc(5 / 12 * 100vw);
1001  }
1002`,tp=ei.default.forwardRef((e,a)=>(0,t.jsx)(tu,{ref:a,...e,"data-component":"ProductBlock-FormWrapper"}));tp.displayName="FormWrapper";let tf=O.default.div`
1003  display: flex;
1004  flex-direction: column;
1005  margin: 32px 20px;
1006
1007  @media ${ex.default.laptop} {
1008    width: 100%;
1009    margin: 0;
1010  }
1011`,tm=ei.default.forwardRef((e,a)=>(0,t.jsx)(tf,{ref:a,...e,"data-component":"ProductBlock-Form"}));tm.displayName="Form";let tg=O.default.div`
1012  margin: 0 20px 40px;
1013
1014  @media ${ex.default.laptop} {
1015    margin: 0 0 32px 0;
1016  }
1017`,tx=ei.default.forwardRef((e,a)=>(0,t.jsx)(tg,{ref:a,...e,"data-component":"ProductBlock-ProductTitleWrapper"}));tx.displayName="ProductTitleWrapper";let th=O.default.div`
1018  display: flex;
1019  flex-direction: column;
1020`,ty=ei.default.forwardRef((e,a)=>(0,t.jsx)(th,{ref:a,...e,"data-component":"ProductBlock-CartButtonAndTextWrapper"}));ty.displayName="CartButtonAndTextWrapper";let tv=O.default.div``,tb=ei.default.forwardRef((e,a)=>(0,t.jsx)(tv,{ref:a,...e,"data-component":"ProductBlock-ActionButtonWrapper"}));tb.displayName="ActionButtonWrapper";let tw=(0,O.default)(es.default)`
1021  margin-top: 24px;
1022
1023  @media ${ex.default.mobileOnly} {
1024    height: 56px;
1025  }
1026
1027  @media ${ex.default.laptop} {
1028    margin-top: 32px;
1029  }
1030`,tj=O.default.div`
1031  display: flex;
1032  flex-direction: row;
1033  align-items: center;
1034  margin-top: 20px;
1035
1036  &:hover {
1037    cursor: pointer;
1038  }
1039`,tS=ei.default.forwardRef((e,a)=>(0,t.jsx)(tj,{ref:a,...e,"data-component":"ProductBlock-RatingsR
1039ow"}));tS.displayName="RatingsRow";let tk=(0,O.default)(em.default)`
1040  margin-right: 8px;
1041`,t$=O.default.div`
1042  ${ev.subtextStyles}
1043  color: ${eh.default.mediumDarkGray};
1044`,tC=ei.default.forwardRef((e,a)=>(0,t.jsx)(t$,{ref:a,...e,"data-component":"ProductBlock-RatingsText"}));tC.displayName="RatingsText";let tR=O.default.div`
1045  display: flex;
1046  margin-top: 8px;
1047`,tP=ei.default.forwardRef((e,a)=>(0,t.jsx)(tR,{ref:a,...e,"data-component":"ProductBlock-SkuUpcContainer"}));tP.displayName="SkuUpcContainer";let tN=O.default.div`
1048  ${ev.subtextStyles}
1049  margin-right: 20px;
1050  color: ${eh.default.mediumGray};
1051`,tI=ei.default.forwardRef((e,a)=>(0,t.jsx)(tN,{ref:a,...e,"data-component":"ProductBlock-SkuUpcNumber"}));tI.displayName="SkuUpcNumber";let tB=O.default.div`
1052  width: 100%;
1053  margin-top: 32px;
1054`,tT=ei.default.forwardRef((e,a)=>(0,t.jsx)(tB,{ref:a,...e,"data-component":"ProductBlock-DiscountAndUpsellBlockWrapper"}));tT.displayName="DiscountAndUpsellBlockWrapper";let tD=O.default.div`
1055  width: 100%;
1056
1057  .sl_header {
1058    font-family: "Interstate Bold", Helvetica, Arial, sans-serif !important;
1059    text-transform: uppercase !important;
1060  }
1061  .sl_content_row {
1062    font-family: "Avenir Roman", Helvetica, Arial, sans-serif !important;
1063  }
1064`,tM=ei.default.forwardRef((e,a)=>(0,t.jsx)(tD,{ref:a,...e,"data-component":"ProductBlock-StoreLocatorContainer"}));tM.displayName="StoreLocatorContainer";let tO=e=>{let{formatPrice:r}=(0,y.useFormatPrice)(),o=(0,X.useT)(),i=ei.default.useRef(null),l=ei.default.useMemo(()=>(0,eo.uniqBy)(e.relatedSeries.filter(({series:e,slug:t})=>!!e&&!t.includes("intl")),({series:e})=>e.slug),[e.relatedSeries]),[n,d]=ei.default.useState(!1),s=()=>{d(!0)},c=()=>{d(!1)},[u,p]=ei.default.useState(!1),{onAddProductToCart:f}=(0,h.default)(),{elevarOnAddToCart:m}=(0,x.default)(),[g,v]=ei.default.useState({}),b=ei.default.useRef(e.bundleSaveVariantSelections);ei.default.useEffect(()=>{let t=b.current||{},a=e.bundleSaveVariantSelections||{};b.current=a,Object.keys(a).forEach(e=>{if(!t[e]){let t=parseInt(e.split("-")[0],10);v(a=>({...a,[t]:e}))}})},[e.bundleSaveVariantSelections]);let w=ei.default.useRef(null),[j,S]=ei.default.useState(!1);return ei.default.useEffect(()=>{if(!w.current)return;let t=(0,ey.getStoreLocatorProductId)(e.currentVariant.variantId);window.storeLocatorsConfig={allowDuplicateStores:!0,buyNowLinks:!1,customerId:ey.STORE_LOCATOR_CUSTOMER_ID,format:"rows",maxStores:3,noLocations:"implode",productIds:[t],showStoreDistance:!0,showStoreLogo:!0,showStoreNames:!0,showStoreQuantity:!0,storelocators_url:"https://www.urbanarmorgear.com/store-locator"};let a=null,r=null;return j||((a=document.createElement("link")).rel="stylesheet",a.href="//cdn.storelocators.com/rpi/css/rpi-stable.css",document.head.appendChild(a),(r=document.createElement("script")).src="//cdn.storelocators.com/rpi/js/rpi-stable.js",r.defer=!0,document.head.appendChild(r),S(!0)),()=>{a&&a.parentNode&&a.parentNode.removeChild(a),r&&r.parentNode&&r.parentNode.removeChild(r)}},[]),ei.default.useEffect(()=>{if(!j)return;let t=(0,ey.getStoreLocatorProductId)(e.currentVariant.variantId);try{let e=window;e.sl_set_settings&&e.sl_refresh&&(e.sl_set_settings({productIds:[t]}),e.sl_refresh())}catch(e){console.warn("Store locator update failed:",e)}},[e.currentVariant.variantId,j]),(0,t.jsxs)(td,{ref:i,children:[(0,t.jsx)(eb.MobileOnly,{children:(0,t.jsxs)(tx,{children:[(0,t.jsx)(ef.default,{currencyCode:e.currencyCode,price:e.price,productName:e.productName,retailPrice:e.retailPrice}),(0,t.jsxs)(tP,{children:[e.currentVariant.sku&&(0,t.jsxs)(tI,{children:["SKU: ",e.currentVariant.sku]}),e.currentVariant.upc&&(0,t.jsxs)(tI,{children:["UPC: ",e.currentVariant.upc]})]}),(0,t.jsxs)(tS,{onClick:()=>e.onClickRatings?.("mobile"),children:[(0,t.jsx)(tk,{stars:Math.round(e.avgRating)}),(0,t.jsxs)(tC,{children:[e.numReviews," ",o("Reviews")]})]})]})}),(0,t.jsx)(tc,{children:(0,t.jsx)(ep.default,{currentVariant:e.currentVariant||e.fallbackVariant,deviceName:e.device,imageGalleryMuxVideos:e.imageGalleryMuxVideos,images:e.images,lifestyleMuxVideos:e.lifestyleMuxVideos,logoOverHero:e.logoOverHero,productName:e.productName})}),(0,t.jsxs)(tp,{children:[(0,t.jsxs)(tm,{children:[(0,t.jsx)(eb.DesktopOnly,{children:(0,t.jsxs)(tx,{children:[(0,t.jsx)(ef.default,{currencyCode:e.currencyCode,price:e.price,productName:e.productName,retailPrice:e.retailPrice}),(0,t.jsxs)(tP,{children:[e.currentVariant.sku&&(0,t.jsxs)(tI,{children:["SKU: ",e.currentVariant.sku]}),e.currentVariant.upc&&(0,t.jsxs)(tI,{children:["UPC: ",e.currentVariant.upc]})]}),(0,t.jsxs)(tS,{onClick:()=>e.onClickRatings?.("desktop"),children:[(0,t.jsx)(tk,{stars:Math.round(e.avgRating)}),(0,t.jsxs)(tC,{children:[e.numReviews," ",o("Reviews")]})]})]})}),(0,t.jsx)(tl,{currentVariant:e.currentVariant||e.fallbackVariant,device:e.device,onVariantChange:e.setActiveVariant,relatedSeries:l,series:e.series,slug:e.slug,variants:e.variants}),(0,t.jsxs)(ty,{children:[(0,t.jsx)(tb,{ref:e.headerRef,children:(0,t.jsx)(()=>
1064{if(e.notAvailableInCountry)return(0,t.jsx)(tw,{className:"notAvailable",disabled:!0,hideDash:!0,text:e.notAvailableInCountryText?o(e.notAvailableInCountryText):o("This product is not available in your country.")});if(e.notAvailable)return(0,t.jsx)(tw,{className:"notAvailable",disabled:!0,hideDash:!0,text:e.notAvailableButtonText?o(e.notAvailableButtonText):o("Not Available")});if(e.loadingInventory)return(0,t.jsx)(tw,{className:"addToCart",disabled:!0,text:"Loading"});if(e.isAvailable)return(0,t.jsx)(tw,{className:"addToCart",disabled:!e.isAvailable,hideDash:!0,onClick:t=>{t.preventDefault(),t.stopPropagation(),e.addToCart()},text:o("ADD TO CART")});if(e.outOfStockButtonText)return(0,t.jsx)(tw,{className:"outOfStock",disabled:!0,hideDash:!0,text:o(e.outOfStockButtonText)});else return(0,t.jsx)(tw,{className:"outOfStock",onClick:s,text:o("NOTIFY ME WHEN AVAILABLE")})},{})}),!e.notAvailableInCountry&&(0,t.jsx)(eM,{outOfStockMessage:(0,J.get)(e,"currentVariant.outOfStockMessage",""),shippingText:e.shippingText}),(0,t.jsx)(ew.default,{}),!e.notAvailableInCountry&&e.showDiscountBlock&&e.automaticDiscounts.map((i,l)=>{let n=("string"==typeof i.id?i.id:"").replace("gid://shopify/DiscountAutomaticNode/",""),d=e?.globalData?.automaticDiscounts?.find(e=>e.discountId===n);if(!d||e.discountProducts[l]&&0===e.discountProducts[l].length||d&&"flat discount"===d.type)return null;let s=e.bogoTypeByIndex?.[l],c=s?d[`pdpMessage${s}`]:void 0,u=s?d[`select${s}Message`]:void 0,p=s?d[`select${"X"===s?"Y":"X"}Image`]:void 0,x=e.discountProducts[l]||[],h=e.discountProductsIdMap[l]?.toString()||"",y=x.map((t,a)=>{let r=`${l}-${a}`,i=e.bundleSaveVariantSelections?.[r],n=(t.variants?.length||0)>1,d=t.variants?.[0],s=d?.color||d?.name||"";if(i){let a=()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,h)};return{currencyCode:t.currencyCode||e.currencyCode||"USD",id:r,needsSelection:!1,onChange:a,onOpenSelector:a,price:(parseFloat(String(i.price||"0"))||t.productPrice)??null,productImage:String(i.image||"")||t.productImage||"",productName:String(i.productName||"")||t.productName||"",slug:t.slug||"",variantLabel:n?`${o("Color:")} ${i.color||i.variantName||s}`:void 0}}return{currencyCode:t.currencyCode||e.currencyCode||"USD",id:r,needsSelection:!1,onOpenSelector:()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,h)},price:t.productPrice??null,productImage:t.productImage||"",productName:t.productName||"",slug:t.slug||"",variantLabel:n?`${o("Color:")} ${s}`:void 0}});0===y.length&&u&&y.push({currencyCode:e.currencyCode||"USD",id:`${l}-select`,needsSelection:!0,onOpenSelector:()=>{e.openProductSelectorForBundle&&e.openProductSelectorForBundle(l,h)},price:null,productImage:p?.url?(0,a.ensureHttps)(p.url):"",productName:u,selectorImage:p?.url?(0,a.ensureHttps)(p.url):void 0,selectorLabel:u,slug:""});let b="Y"===s,w=i.discountPercentage??null,j=e.priceNumeric??0,S=b&&w&&j>0?w/100*j:0,k=S>0?`Save ${r(S,e.currencyCode||"USD")} on this accessory when bundled`:void 0;return(0,t.jsx)(tT,{children:(0,t.jsx)(ed.default,{currencyCode:e.currencyCode||"USD",discountPercentage:b?null:w,headline:c||"",items:y,onAddToCart:()=>(t=>{let r=g[t];if(!r)return;let o=e.bundleSaveVariantSelections?.[r];if(o){e.addDiscountedProductToCart({cartProduct:o}),m({brand:"Urban Armor Gear",device:String(o.device||""),deviceType:String(o.deviceType||""),image:String(o.image||""),list:"upsell",price:String(o.price||""),productId:String(o.shopifyProductId||""),productName:String(o.productName||""),quantity:"1",sku:String(o.sku||""),variantId:String(o.shopifyVariantId||""),variantName:String(o.variantName||"")},"upsell"),f({device:String(o.device||""),deviceType:String(o.deviceType||""),price:String(o.price||""),productId:String(o.shopifyProductId||""),productName:String(o.productName||""),quantity:1,sku:String(o.sku||""),variantName:String(o.variantName||"")});return}let i=parseInt(r.split("-")[1],10),l=e.discountProducts[t];if(!l||!l[i])return;let n=l[i];if(n.variants&&n.variants.length>=1){let t=(0,R.formatContentfulVariant)(n.variants[0]),r=t.images?.[0]||{},[o]=("string"==typeof r?r:r.url||"").split("?");e.addDiscountedProductToCart({cartProduct:{brand:n.brand?.name,color:t.color,compareAtPrice:t.compareAtPrice,contentfulProductId:n.sys?.id,contentfulUpsellProductId:void 0,contentfulVariantId:t.contentfulVariantId,customPrint:n.customPrint,device:n.device?.name,deviceType:n.device?.type?.name,image:(0,a.ensureHttps)(o),language:n.language,marketPrices:t.marketPrices,price:t.price,productName:n.productName,productSlug:n.slug,productSubType:n.productSubType?.slug,quantity:1,requiresUpsellProduct:n.requiresUpsellProduct,shopifyProductId:n.shopifyProduct?.shopifyProductId,shopifyVariantId:t.variantId,size:t.size,sku:t.sku,variantDevice:t.deviceName,variantName:t.name}}),m({brand:"Urban Armor Gear",device:n.device?.name||"",deviceType:n.device?.type?.name||"",image:(0,a.ensureHttps)(o),list:"upsell",price:t.price||"",productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:"1",sku:t.sku||"",variantId:t.variantId||"",variantName:t.name||""},"upsell"),f({device:n.device?.name||"",deviceType:n.device?.type?.name||"",price:t.price||"",productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:1,sku:t.sku||"",variantName:t.name||""})}})(l),onSelectItem:e=>{v(t=>({...t,[l]:e}))},perItemBundleHint:k,selectedItemId:g[l]??null})},l)}),!e.notAvailableInCountry&&!e.showDiscountBlock&&e.upsellProduct&&(0,t.jsx)(tT,{children:(0,t.jsx)(eg.default,{buttonText:e.upsellProduct?.variants?.length&&e.upsellProduct.variants.length>1?o("Add"):o("ADD TO CART"),callout:e.upsellCallout??"",currencyCode:e.upsellProduct.displayableCurrencyCode,image:String(e.upsellProduct.productImage??""),onClick:()=>{let t=e.upsellProduct?.variants;if(t&&t.length>1)e.openVariantSelector();else if(t?.[0]){let e=t[0].onAddToCart;e&&e(1)}},price:String(e.upsellProduct.productPrice??""),productName:String(e.upsellProduct.productName??""),slug:String(e.upsellProduct.slug??"")})})]}),(0,t.jsx)(tM,{ref:w,children:(0,t.jsx)("div",{id:"storelocators_rpi"})})]}),e.children]}),(0,t.jsx)(ec.default,{isOpen:n,onRequestClose:c,showSuccess:()=>{p(!0),c()},variantId:e.currentVariant.variantId}),(0,t.jsx)(eu.default,{isOpen:u,onRequestClose:()=>{p(!1)}})]})},tA=O.default.div`
1065  width: 100%;
1066`,tF=ei.default.forwardRef((e,a)=>(0,t.jsx)(tA,{ref:a,...e,"data-component":"SpecialOpsProductDetails-MaestraWidgetContainer"}));tF.displayName="MaestraWidgetContainer";let tE=O.default.div``,tL=ei.default.forwardRef((e,a)=>(0,t.jsx)(tE,{ref:a,...e,"data-component":"SpecialOpsProductDetails-MaestraWidget"}));tL.displayName="MaestraWidget";let tW=[],tG=(0,el.connect)(e=>({automaticDiscounts:e.discounts.automaticDiscounts,cartLineItems:e.checkout.data?.lines?.edges||tW,customerEmail:e.customer.data?.emailAddress?.emailAddress||"",customerLocation:e.customer.customerLocation,customerLocationFetched:e.customer.customerLocationFetched,discountedProductsData:e.discounts.discountedProductsData,discountedProductsInventoryData:e.discounts.discountedProductsInventoryData}),e=>({addToCart:e.checkout.addToCart,fetchDiscountInventoryForProduct:e.discounts.fetchDiscountInventoryForProduct}))(({addToCart:e,automaticDiscounts:O,cartLineItems:el,customerEmail:ed,customerLocation:es,customerLocationFetched:ec,data:eu,discountedProductsData:ep,discountedProductsInventoryData:ef,fetchDiscountInventoryForProduct:em,location:eg})=>{let ex=(0,X.useT)(),{data:eh}=(0,g.useBaseContext)(),ey=eh?.globalData||{menuItems:[]},ev=(0,Z.useModalParam)("reviews"),eb=ev.isOpen,[ew,ej]=(0,ei.useState)(!1),[eS,ek]=(0,ei.useState)(!1),[e$,eC]=(0,ei.useState)(!1),[eR,eP]=(0,ei.useState)({}),[eN,eI]=(0,ei.useState)(-1),[eB,eT]=(0,ei.useState)(!1),[eD,eM]=(0,ei.useState)(null),[eO,eA]=(0,ei.useState)({}),eF=eu.contentfulProduct,eE=ei.default.useMemo(()=>({...eF||{},variants:eF?.variants?.filter(e=>!e.carrierVariant).map(R.formatContentfulVariant)}),[eF]),eL=(0,J.get)(eE,"shopifyProduct.shopifyProductId",""),eW=(0,R.getDecodedShopifyProductId)(eL),eG=eu.contentfulGlobalSettings?.countryProhibitedProducts,{blocked:eV,message:eU}=(0,_.useNotAvailableInCountry)({customerCountryCode:es?.customerCountryCode,fetched:ec,initial:eu?.countryBlock,productSlug:eE?.slug,rules:eG}),e_=O.some(({customerBuysProducts:e})=>e?.includes((0,j.decodeShopifyId)(eL)||"")),eH=O.some(({customerGetsProducts:e})=>e?.includes((0,j.decodeShopifyId)(eL)||"")),ez=ei.default.useMemo(()=>
1066{if(eE.upsell&&eE.upsellCallout){let e=eE.upsell;return(0,et.reject)(e.variants||[],e=>!e.images)}return[]},[eE.upsell]),eq=ei.default.useMemo(()=>eE.variants||[],[eE]),eK=ei.default.useMemo(()=>(0,er.uniq)(eq.filter(e=>!!e.deviceSlug&&!!e.deviceName&&!!e.images)?.map(e=>e.sku)),[eq]),eY=ei.default.useMemo(()=>{let e=e=>(e??[]).map(e=>"string"==typeof e?e:e?.sku).filter(Boolean);return(0,er.uniq)([...e(eK),...e(ez)])},[eK,ez]),{inventoryData:eZ}=(0,w.default)(eY,eK),eX=(0,v.useMarket)(),{formatPrice:eQ}=(0,y.useFormatPrice)(),eJ="US"===eX?es?.customerCountryCode||"US":eX,{currencyCode:e0,currentVariant:e1,fallbackVariant:e2,price:e4,retailPrice:e6,setActiveVariant:e3,validVariantsByStock:e5}=(0,K.usePdpVariantState)({customerCountryCode:eJ,inventoryData:eZ,mode:"SOPDP",variants:eq}),e8=eu?.availabilityBySku||{},{availabilityData:e9,inventoryReady:e7,shippingMessage:te}=(0,z.usePdpAvailability)({currentSku:e1?.sku,currentVariant:e1,customerCountryCode:es?.customerCountryCode,initialIsAvailable:e8[String(e1?.sku||"")],inventoryData:eZ,mode:"SOPDP"}),tt=Object.prototype.hasOwnProperty.call(e8,String(e1?.sku||""))||e7,{shippingText:ta}=(0,q.usePdpShipping)({availabilityIsAvailable:e9?.isAvailable,currentSku:e1?.sku,enableFenixEstimates:!1,shippingMessage:te}),tr=ec&&es&&eZ&&Object.keys(eZ)?.length>0,{onAddProductToCart:to}=(0,h.default)(),{elevarOnAddToCart:ti}=(0,x.default)();(0,H.usePdpAnalytics)({availabilityData:e9,currentVariant:e1,customerCountryCode:eJ,customerEmail:ed,inventoryLoaded:tr,productData:eE}),ei.default.useEffect(()=>{let e=(0,M.getLocalStorage)(m.RECENTLY_VIEWED_PRODUCTS_KEY)||[],t=(0,J.get)(eE,"variants.0.images.0",""),[r]=(("string"==typeof t?t:t?.url||"")||"").split("?"),o={compareAtPrice:(0,P.getMarketAmount)(e1,eJ,"compareAtPrice")||void 0,image:(0,a.ensureHttps)(r),marketPrices:{US:{compareAtPrice:null,price:{amount:(0,P.getMarketAmount)(e1,"US","price")??0,currencyCode:"USD"}}},price:(0,P.getMarketAmount)(e1,"US","price")??0,productName:eE?.productName,productSlug:eE?.slug};try{(0,M.writeLocalStorage)(m.RECENTLY_VIEWED_PRODUCTS_KEY,(0,ea.slice)((0,eo.uniqBy)([o,...e],"productSlug"),0,6))}catch(e){if(e?.name==="QuotaExceededError")try{(0,M.writeLocalStorage)(m.RECENTLY_VIEWED_PRODUCTS_KEY,[o])}catch(e){e?.name==="QuotaExceededError"&&console.error("Local storage quota exceeded while trying to write recently viewed products.")}}},[]),ei.default.useEffect(()=>{eE?.sys?.id&&ep&&em(eE.sys.id)},[eE?.sys?.id,ep,em]);let tl=ei.default.useCallback(()=>{let t=e1?.variantId;if(!t)return;let[r]=(0,J.get)(e1,"images.0.url","").split("?");e({cartProduct:{brand:(0,J.get)(eE,"brand.name"),builtInMagnet:(0,J.get)(eE,"builtInMagnet",!1),bundleProduct:(0,J.get)(eE,"bundleProduct",!1),color:e1?.color,compareAtPrice:e6,contentfulProductId:eE?.sys?.id,contentfulUpsellProductId:(0,J.get)(eE,"upsell.sys.id"),contentfulVariantId:e1?.contentfulVariantId,customPrint:(0,J.get)(eE,"customPrint",!1),device:(0,J.get)(e1,"deviceName")??(0,J.get)(eE,"device.name"),deviceType:(0,J.get)(eE,"device.type.name"),image:(0,a.ensureHttps)(r),language:eE?.language,marketPrices:e1?.marketPrices,price:e4,productName:eE?.productName,productSlug:eE?.slug,productSubType:(0,J.get)(eE,"productSubType.slug"),requiresUpsellProduct:eE?.requiresUpsellProduct,shopifyProductId:(0,J.get)(eE,"shopifyProduct.shopifyProductId"),shopifyVariantId:t,size:e1?.size,sku:e1?.sku,variantDevice:e1?.deviceName,variantName:e1?.name}}),to({device:(0,J.get)(e1,"deviceName")??(0,J.get)(eE,"device.name"),deviceType:(0,J.get)(eE,"device.type.name"),price:String(e4),productId:(0,J.get)(eE,"shopifyProduct.shopifyProductId"),productName:eE?.productName,quantity:1,sku:e1?.sku,variantName:e1?.name});let o=((0,M.getLocalStorage)(m.SELECTED_PRODUCTS_KEY)||{})[(0,J.get)(eE,"shopifyProduct.shopifyProductId")]||"direct";ti({brand:"Urban Armor Gear",device:(0,J.get)(e1,"deviceName")??(0,J.get)(eE,"device.name")??"",deviceType:(0,J.get)(eE,"device.type.name")??"",image:(0,a.ensureHttps)(r),list:o,price:String(e4),productId:String((0,J.get)(eE,"shopifyProduct.shopifyProductId")??""),productName:String(eE?.productName??""),quantity:"1",sku:String(e1?.sku??""),variantId:String(t??""),variantName:String(e1?.name??"")},o)},[e,eE,e1,e4,e6,to,ti]),{allDiscountProductsIndexIdMap:tn,automaticDiscountData:td,discountProducts:ts,upsellProduct:tc}=(0,U.useDiscountAndUpsellProducts)({addToCart:e,automaticDiscountData:eu.contentfulGlobalSettings?.automaticDiscounts||[],automaticDiscounts:O,customerCountryCode:es?.customerCountryCode||"US",discountedProductsData:ep,elevarOnAddToCart:ti,mode:"SOPDP",onAddProductToCart:to,productData:eE,shopifyProductId:eL}),tu=ei.default.useMemo(()=>{let e={...eZ||{},...ef||{}},t=[...(0,Q.flatten)(Object.values(ep).map(({variants:e})=>e)),...tc?.variants||[]],a=[];return t.forEach(({sku:t})=>{(0,J.get)(e,`${t}.${w.INVENTORY_ITEM_TRACKED}`,!0)&&(0,$.default)(eJ,t,e).isAvailable&&a.push(t)}),a},[eZ,ep,ef,tc,ec,es]),tp=ei.default.useMemo(()=>O?.map(e=>e.customerBuysProducts?.includes((0,j.decodeShopifyId)(eL)||"")?"X":e.customerGetsProducts?.includes((0,j.decodeShopifyId)(eL)||"")?"Y":void 0),[O,eL]),tf=ei.default.useCallback((e,t)=>{let a=t.replace("gid://shopify/DiscountAutomaticNode/",""),r=td?.f
1066ind(({discountId:e})=>e===a),o=tp?.[e],i=r?{...r}:{};o&&(i._bogoType=o),eP(i),eI(e)},[tp,td,eI,eP]),tm=ei.default.useCallback(()=>{eI(-1),eM(null)},[eI]),tg=ei.default.useCallback((e,t)=>{eM({groupIndex:e}),tf(e,t)},[tf]),tx=ei.default.useCallback(e=>{if(!eD)return;let{groupIndex:t}=eD,a=e.cartProduct,r=(ts[t]||[]).findIndex(e=>e.sys?.id===a.contentfulProductId);r<0&&(r=0);let o=`${t}-${r}`;eA(e=>({...e,[o]:a})),tm()},[eD,ts,tm]),th=ei.default.useCallback(()=>{eT(!0)},[eT]),ty=ei.default.useCallback(()=>{eT(!1)},[eT]),tv=(0,ei.useRef)(null),tb=String(e1?.deviceName||eE?.device?.name||""),tw=(0,T.resolveProductDescription)(e1,eE),tj=eE?.installationText,tS=eE?.installationMedias||[],tk=eE?.installationImage,t$=!!tj&&!!(tS.length||tk),tC=e1?.resourcesText||eE?.resourcesText,tR=e1?.resourcesMedia||eE?.resourcesMedia,tP=!!tC||tR,{avgRating:tN,goodReview:tI,numReviews:tB,reviews:tT}=(0,en.useProductReviews)(String(eW),{per_page:20}),[tD,tM]=(0,ei.useState)(void 0),tA=ei.default.useMemo(()=>(0,en.extractReviewTags)(tT),[tT]),tE=(e_||eH)&&td&&ts&&ts.find(e=>e?.length>0),tW=es?.customerStateCode==="CA"&&(0,J.get)(e1,"showProp65Warning",!1),{description:tG}=(0,Y.useProductMeta)({avgRating:tN,contentfulProduct:eF||{},customerCountryCode:eJ,goodReview:tI,numReviews:tB,productData:eE}),[tV,tU]=(0,ei.useState)("");ei.default.useEffect(()=>{let e,t=e1?.sku??"",a=String((0,J.get)(eE,"device.name")??""),r=(0,J.get)(eZ,`${t}.collections`)??[];if(!t||!a||!r.length)return;let o=(0,k.findBestCategory)(a,r),i=(e=o?.match?.id??"",e?.replace("gid://shopify/Collection/","")??"");i&&i!==tV&&tU(i)},[eE,e1,eZ]);let t_=ei.default.useMemo(()=>eE?.variants?.map(e=>e.shopifyVariantId||e.variantId).filter(Boolean)||[],[eE]),tH=ei.default.useMemo(()=>el.some(({node:e})=>t_.includes(e?.merchandise?.id)),[el,t_]),tz=(0,J.get)(e1,"images.0.url",""),tq=o.default,tK=(0,b.getOriginForMarket)(eX),tY=`${tK}/products/${eE?.slug}/`;return(0,t.jsxs)(tq,{data:eu,FixedHeaderComponent:(0,t.jsx)(r.default,{deviceName:(0,J.get)(e1,"deviceName"),isAvailable:e9.isAvailable,notAvailable:eE?.notAvailable,notAvailableButtonText:eE?.notAvailableButtonText,notAvailableInCountry:eV,onClickAddToCart:tl,outOfStockButtonText:eE?.outOfStockButtonText,productImage:tz,productName:(0,J.get)(eE,"productName"),productPrice:eQ(e4,e0)}),fixedHeaderTopRef:tv,isPDP:!0,location:eg,showFixedHeader:!0,children:[e1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.ProductSchema,{availability:tt?e9?.isAvailable&&!eV?"InStock":"OutOfStock":void 0,brand:"Urban Armor Gear",description:(0,S.substituteDevice)(tG||"",String((0,J.get)(e1,"deviceName")??(0,J.get)(eE,"device.name")??"")),image:(0,C.resolveProductSchemaImages)(eE?.images,eE?.variants),name:eE?.productName||"",price:e4?String(e4).replace(/[$,]/g,"").trim():e6?String(e6).replace(/[$,]/g,"").trim():"0",priceCurrency:e0,rating:tN?Number(tN):eu?.serverRating?.rating,reviewCount:tB?Number(tB):eu?.serverRating?.reviewCount,sku:String(e1.sku||""),url:tY}),(0,t.jsx)(c.BreadcrumbSchema,{items:(0,u.buildProductBreadcrumbItems)(eE,tK,tY)})]}),(0,t.jsxs)(A.Content,{children:[e1&&(0,t.jsxs)(tO,{addDiscountedProductToCart:e,addToCart:tl,automaticDiscounts:O,avgRating:tN,bogoTypeByIndex:tp||[],bundleSaveVariantSelections:eO,currencyCode:e0,currentVariant:e1,device:(0,J.get)(e1,"deviceName"),discountProducts:ts||[],discountProductsIdMap:tn||{},fallbackVariant:e2,filters:(0,J.get)(eu,"filterData.filters"),globalData:{...ey,automaticDiscounts:eu.contentfulGlobalSettings?.automaticDiscounts||[]},headerRef:tv,imageGalleryMuxVideos:(0,J.get)(eE,"imageGalleryMuxVideos")||[],images:(0,ee.map)((0,J.get)(eE,"images",[]),e=>e?.url),logoOverHero:eE?.renderLogoOverProductHero?eE?.logos?.[0]:void 0,isAvailable:e9.isAvailable,isProductInCart:tH,lifestyleMuxVideos:(0,J.get)(eE,"lifestyleMuxVideos")||[],loadingInventory:!tr,notAvailable:eE?.notAvailable,notAvailableButtonText:eE?.notAvailableButtonText,notAvailableInCountry:eV,notAvailableInCountryText:eU,numReviews:tB,onClickRatings:ev.open,openProductSelector:tf,openProductSelectorForBundle:tg,openVariantSelector:th,outOfStockButtonText:eE?.outOfStockButtonText,price:eQ(e4,e0),priceNumeric:"number"==typeof e4?e4:Number(e4),productName:(0,J.get)(eE,"productName"),relatedSeries:eu.relatedSeries||[],retailPrice:e6?eQ(e6,e0):void 0,series:(0,J.get)(eE,"series.name"),setActiveVariant:e=>e3(e),shippingText:ta,showDiscountBlock:!!tE,slug:(0,J.get)(eE,"slug"),upsellCallout:eE.upsellCallout,upsellProduct:tc,variants:e5,children:[(0,t.jsx)(G.default,{description:(0,N.renderRichText)(tw,D.withFinePrint,ex,tb),logos:eE?.logos||void 0,logosAlignment:eE?.logosAlignment,logosDescription:eE?.logosDescription&&(0,N.renderRichText)(eE.logosDescription,D.withFinePrint,ex)||void 0}),(0,t.jsx)(W.default,{avgRating:tN,pdpLinks:(0,J.get)(eE,"pdpLinks",[])||[],installationContent:t$?(0,t.jsx)(L.default,{image:tk,medias:tS,text:tj?(0,N.renderRichText)(tj||I.emptyRichText,D.withFinePrint,ex):void 0}):void 0,numReviews:tB,prop65Text:(0,N.renderRichText)((0,J.get)(eu,"contentfulGlobalSettings.prop65Text",I.emptyRichText),D.withFinePrint,ex),resourcesContent:tP?(0,t.jsx)(t.Fragment,{children:!!tR&&(0,t.jsx)(V.default,{media:tR,text:tC?(0,N.renderRichText)(tC||I.emptyRichText,D.withFinePrint,ex):void 0})}):void 0,setShowReviews:e=>e?ev.open():ev.close(),showProp65Button:!!tW,specs:(0,J.get)(e1,"specs.productSpecification")??(0,J.get)(eE,"specs.productSpecification")??[],specSheets:(0,J.get)(e1,"specSheets")??(0,J.get)(eE,"specSheets")??[]})]}),(0,t.jsx)(E.default,{features:(0,J.get)(eE,"featuresBlock")||[],featuresBlockImage:(0,J.get)(eE,"featuresBlockImage.url")}),(0,t.jsx)(F.default,{cards:(0,B.resolveVariantHighlightCards)((0,J.get)(eE,"highlightCards",[])||[],e1?.contentfulVariantId),pdpHeadline:(0,J.get)(eE,"series.pdpHeadline"),seriesName:(0,J.get)(eE,"series.name")}
1066),(0,t.jsxs)(tF,{children:[(0,t.jsx)(tL,{"data-popmechanic-embed":"52570"}),(0,t.jsx)(tL,{"data-popmechanic-argument":tV,"data-popmechanic-embed":"52571"})]}),(0,t.jsx)(l.default,{avgRating:tN,isOpen:eb,numReviews:tB,onClickWriteReview:()=>{ev.close(),ej(!0),ek(!1)},onRequestClose:()=>{ev.close(),ej(!1),ek(!1)},onRequestOpenReviewImageGallery:e=>{eC(!0),tM("string"==typeof e?parseInt(e,10):e)},productId:eW,reviews:tT,slideFromRight:!0,tags:tA}),(0,t.jsx)(d.default,{backToReviews:()=>{ev.open(),ej(!1),ek(!1)},isOpen:ew,onRequestClose:()=>{ev.close(),ej(!1),ek(!1)},onSubmit:()=>{ev.close(),ej(!1),ek(!0)},productId:eW,productTitle:String((0,J.get)(eE,"productName")??"")}),(0,t.jsx)(n.default,{isOpen:eS,onRequestClose:()=>{ev.close(),ej(!1),ek(!1)}}),(0,t.jsx)(i.default,{initialImage:tD,isOpen:e$,onRequestClose:()=>{eC(!1),tM(void 0)},reviews:tT}),!!tE&&ei.default.createElement(s.default,{addToCart:eD?tx:e,availableVariants:tu,closeOnAddToCart:!0,customerCountryCode:es?.customerCountryCode||"US",deal:eR[`pdpMessage${eR.bogoType}`]||"",header:eR[`pdpMessage${eR.bogoType}`]||"",autoSelectSingleVariant:!!eD,isOpen:eN>-1,onRequestClose:tm,products:eN>-1?ts[eN]:[],selectMode:!!eD}),!tE&&tc&&(0,t.jsx)(f.default,{addToCart:e,availableVariants:tu,isOpen:eB,onRequestClose:ty,product:eE.upsell})]})]})});e.s(["default",0,function({data:e,location:a}){return(0,t.jsx)(tG,{data:e,location:a})}],892851)},303424,566149,192722,162059,702563,78188,921675,576588,408089,365550,892365,683462,304295,827262,560523,e=>{"use strict";var t,a=e.i(843476),r=e.i(632221),o=e.i(299658),i=e.i(245733),l=e.i(116664),n=e.i(926113),d=e.i(718970);let s=({atcMessage:e,defaultVerb:t,isAvailable:a,price:r,t:o})=>{if(!a)return null;let i="string"==typeof e?e.trim():"",l=i?o(i):t;return r?`${l} \u00B7 ${r}`:l};e.s(["resolveAddToCartLabel",0,s],566149);var c=e.i(572852),u=e.i(702364),p=e.i(271645);let f=(0,u.default)(c.MobileOnlyContainer)`
1067  width: 100%;
1068`,m=p.default.forwardRef((e,t)=>(0,a.jsx)(f,{ref:t,...e,"data-component":"ProductHeaderContent-FullWidthMobileContainer"}));m.displayName="FullWidthMobileContainer";let g=u.default.div`
1069  align-items: center;
1070  justify-content: space-between;
1071  display: flex;
1072  width: 100%;
1073  padding: 0 8px;
1074
1075  @media ${i.default.laptop} {
1076    justify-content: center;
1077    display: grid;
1078    grid-template-columns: auto auto auto;
1079    grid-column-gap: 24px;
1080    margin: 0;
1081    padding: 0;
1082  }
1083`,x=p.default.forwardRef((e,t)=>(0,a.jsx)(g,{ref:t,...e,"data-component":"ProductHeaderContent-Container"}));x.displayName="Container";let h=u.default.div`
1084  flex-shrink: 0;
1085  width: 40px;
1086  height: 48px;
1087  margin-right: 12px;
1088
1089  img {
1090    width: 100%;
1091    height: 100%;
1092    object-fit: contain;
1093  }
1094`,y=p.default.forwardRef((e,t)=>(0,a.jsx)(h,{ref:t,...e,"data-component":"ProductHeaderContent-Thumbnail"}));y.displayName="Thumbnail";let v=u.default.div`
1095  flex: 1;
1096  min-width: 0;
1097  overflow: hidden;
1098  margin-right: 12px;
1099`,b=p.default.forwardRef((e,t)=>(0,a.jsx)(v,{ref:t,...e,"data-component":"ProductHeaderContent-ProductInfo"}));b.displayName="ProductInfo";let w=u.default.div`
1100  ${n.smallcapsBold14Styles}
1101  overflow: hidden;
1102  text-overflow: ellipsis;
1103  white-space: nowrap;
1104`,j=p.default.forwardRef((e,t)=>(0,a.jsx)(w,{ref:t,...e,"data-component":"ProductHeaderContent-ProductName"}));j.displayName="ProductName";let S=u.default.div`
1105  ${n.body14Styles}
1106  color: ${l.default.mediumDarkGray};
1107  overflow: hidden;
1108  text-overflow: ellipsis;
1109  white-space: nowrap;
1110  margin-top: 1px;
1111`,k=p.default.forwardRef((e,t)=>(0,a.jsx)(S,{ref:t,...e,"data-component":"ProductHeaderContent-DeviceName"}));k.displayName="DeviceName";let $=u.default.button`
1112  ${n.smallcapsBold13Styles}
1113  flex-shrink: 0;
1114  align-items: center;
1115  justify-content: center;
1116  height: 36px;
1117  padding: 3px 16px 0;
1118  border: none;
1119  border-radius: 2px;
1120  background-color: ${l.default.black};
1121  transition: background-color ${o.default.medium} ${o.cubicBezierBackgroundColor};
1122  pointer-events: all;
1123  cursor: pointer;
1124  color: ${l.default.offWhite};
1125  white-space: nowrap;
1126  &:focus {
1127    outline: none;
1128  }
1129  &:active {
1130    background-color: ${l.default.black};
1131  }
1132
1133  @media ${i.default.laptop} {
1134    ${n.smallcapsBold14Styles}
1135    height: 40px;
1136    padding: 4px 24px 0;
1137    color: ${l.default.offWhite};
1138    &:hover {
1139      background-color: ${l.default.hoverBlack};
1140    }
1141  }
1142
1143  ${({disabled:e})=>e?r.disabledProps:""}
1144`,C=p.default.forwardRef((e,t)=>(0,a.jsx)($,{ref:t,...e,"data-component":"ProductHeaderContent-ActionButton"}));C.displayName="ActionButton",e.s(["default",0,({atcMessage:e,deviceName:t,isAvailable:r,notAvailable:o,notAvailableButtonText:i,notAvailableInCountry:l,onClickAddToCart:n,onClickNotify:u,outOfStockButtonText:p,productImage:f,productName:g,productPrice:h,showNotifySignup:v})=>{let w=(0,d.useT)(),S=(0,a.jsxs)(a.Fragment,{children:[f&&(0,a.jsx)(y,{children:(0,a.jsx)("img",{alt:w(g),loading:"lazy",src:`${f}?w=160&fm=webp&q=60`})}),(0,a.jsxs)(b,{children:[(0,a.jsx)(j,{children:w(g)}),(0,a.jsx)(k,{children:w(t)})]})]}),$=l?(0,a.jsx)(C,{className:"notAvailable",disabled:!0,children:w("Not Available")}):v?(0,a.jsx)(C,{className:"outOfStock",onClick:u,children:w("NOTIFY ME WHEN AVAILABLE")}):o?(0,a.jsx)(C,{className:"notAvailable",disabled:!0,children:w(i||"Not Available")}):(0,a.jsx)(C,{className:"addToCart",disabled:!r,onClick:n,children:s({atcMessage:e,defaultVerb:w("ADD"),isAvailable:r,price:h,t:w})??w(p||"Out of Stock")});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{children:(0,a.jsxs)(x,{children:[S,$]})}),(0,a.jsx)(c.DesktopOnly,{children:(0,a.jsxs)(x,{children:[S,$]})})]})}],303424);var R=e.i(722266),P=e.i(84418),N=e.i(65369),I=e.i(999647),B=e.i(108487),T=e.i(604829),D=e.i(739730),M=e.i(475439),O=e.i(272064),A=e.i(642624),F=e.i(994232),E=e.i(42e4),L=e.i(852810),W=e.i(421634),G=e.i(829025),V=e.i(343894),U=e.i(433717);let _=u.default.div`
1145  display: flex;
1146  height: 72px;
1147  padding: 0 20px;
1148  align-items: center;
1149  border-bottom: solid 1px ${l.default.dividerLineGray};
1150
1151  @media ${i.default.laptop} {
1152    height: auto;
1153    padding: 108px calc(0.5 / 12 * 100vw) 64px;
1154    border: none;
1155  }
1156`,H=p.default.forwardRef((e,t)=>(0,a.jsx)(_,{ref:t,...e,"data-component":"common-Headers"}));H.displayName="Headers";let z=u.default.div`
1157  display: none;
1158
1159  @media ${i.default.laptop} {
1160    ${n.h5Styles}
1161    display: block;
1162    padding: 0 0 36px calc(0.5 / 12 * 100vw);
1163  }
1164`,q=p.default.forwardRef((e,t)=>(0,a.jsx)(z,{ref:t,...e,"data-component":"common-DesktopHeader"}));q.displayName="DesktopHeader";let K=u.default.div`
1165  display: none;
1166
1167  @media ${i.default.laptop} {
1168    display: block;
1169    width: 100%;
1170    height: 1px;
1171    padding: 0 calc(0.5 / 12 * 100vw - 16px);
1172    background-color: ${l.default.dividerLineGray};
1173  }
1174`,Y=p.default.forwardRef((e,t)=>(0,a.jsx)(K,{ref:t,...e,"data-component":"common-DesktopDivider"}));Y.displayName="DesktopDivider";let Z=`
1175  ${n.smallcapsRegular13Styles}
1176  font-size: 11px;
1177  color: ${l.default.mediumDarkGray};
1178  line-height: 19px;
1179  letter-spacing: 1px;
1180`,X=u.default.button`
1181  display: flex;
1182  padding: 0 16px 0 2px;
1183  align-items: center;
1184  transform: translateX(-16px);
1185  background-color: transparent;
1186  border: none;
1187
1188  @media ${i.default.laptop} {
1189    height: 32px;
1190    transform: none;
1191    transition: background-color ${o.default.medium} ${o.cubicBezier};
1192    background-color: transparent;
1193    border: 1px solid ${l.default.dividerLineGray};
1194    border-radius: 2px;
1195
1196    &:hover {
1197      transition: background-color ${o.default.quick} ${o.cubicBezier};
1198      background-color: ${l.default.dividerLineGray};
1199      cursor: pointer;
1200    }
1201  }
1202`,Q=p.default.forwardRef((e,t)=>
1202(0,a.jsx)(X,{ref:t,...e,"data-component":"common-BreadcrumbContainer"}));Q.displayName="BreadcrumbContainer";let J=u.default.div`
1203  width: 24px;
1204  height: 24px;
1205  transform: rotate(180deg);
1206`,ee=p.default.forwardRef((e,t)=>(0,a.jsx)(J,{ref:t,...e,"data-component":"common-BreadcrumbIcon"}));ee.displayName="BreadcrumbIcon";let et=u.default.span`
1207  ${n.smallcapsBold13Styles};
1208  margin-left: 2px;
1209  padding-top: 4px;
1210
1211  @media ${i.default.laptop} {
1212    ${Z}
1213    display: flex;
1214    padding-top: 3px;
1215  }
1216`,ea=p.default.forwardRef((e,t)=>(0,a.jsx)(et,{ref:t,...e,"data-component":"common-BreadcrumbText"}));ea.displayName="BreadcrumbText";let er=({label:e,onClick:t})=>(0,a.jsxs)(Q,{onClick:t,children:[(0,a.jsx)(ee,{children:(0,a.jsx)(O.Cameron,{})}),(0,a.jsx)(ea,{children:e})]}),eo=u.default.div`
1217  ${Z}
1218  display: flex;
1219  height: 32px;
1220  margin-left: 26px;
1221  align-items: center;
1222  color: ${l.default.mediumGray};
1223  opacity: 0.5;
1224`;p.default.forwardRef((e,t)=>(0,a.jsx)(eo,{ref:t,...e,"data-component":"common-CurrentBreadcrumb"})).displayName="CurrentBreadcrumb";let ei=`
1225  transform: translateX(0);
1226  transition: transform ${o.default.medium} ${o.cubicBezier};
1227`,el=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1228  position: absolute;
1229  top: 0;
1230  width: 100%;
1231  height: 100%;
1232  opacity: 1;
1233  transform: translateX(100%);
1234  transition: transform ${o.default.medium} ${o.cubicBezier};
1235  will-change: transform;
1236  background-color: ${l.default.offWhite};
1237  overflow: hidden;
1238  overflow-y: auto;
1239  -webkit-overflow-scrolling: touch;
1240  z-index: 3;
1241  cursor: default;
1242  ${({$isOpen:e})=>e?ei:""}
1243`,en=p.default.forwardRef((e,t)=>(0,a.jsx)(el,{ref:t,...e,"data-component":"Form-Container"}));en.displayName="Container";let ed=`
1244  opacity: 0.1
1245  transition: opacity ${o.default.medium} ${o.cubicBezier};
1246`,es=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1247  position: absolute;
1248  top: 0;
1249  right: 0;
1250  bottom: 0;
1251  height: 100%;
1252  width: 100%;
1253  will-change: opacity;
1254  opacity: 0;
1255  transition: opacity ${o.default.kindaLong} ${o.cubicBezier};
1256  background-color: ${l.default.black};
1257  pointer-events: none;
1258  overflow: hidden;
1259  overflow-y: auto;
1260  -webkit-overflow-scrolling: touch;
1261  z-index: 3;
1262  ${({$isVisible:e})=>e?ed:""}
1263`,ec=p.default.forwardRef((e,t)=>(0,a.jsx)(es,{ref:t,...e,"data-component":"Form-Overlay"}));ec.displayName="Overlay";let eu=u.default.div`
1264  flex-direction: column;
1265  display: flex;
1266  width: 100%;
1267  padding: 26px 20px;
1268
1269  @media ${i.default.laptop} {
1270    flex-direction: row;
1271    padding: 0 calc(0.5 / 12 * 100vw);
1272  }
1273`,ep=p.default.forwardRef((e,t)=>(0,a.jsx)(eu,{ref:t,...e,"data-component":"Form-FormContainer"}));ep.displayName="FormContainer";let ef=u.default.div``,em=p.default.forwardRef((e,t)=>(0,a.jsx)(ef,{ref:t,...e,"data-component":"Form-FormContent"}));em.displayName="FormContent";let eg=u.default.div`
1274  flex-direction: row;
1275  align-items: flex-start;
1276  justify-content: flex-start;
1277  display: flex;
1278  margin-bottom: 16px;
1279
1280  @media ${i.default.laptop} {
1281    margin-bottom: 0;
1282  }
1283`,ex=p.default.forwardRef((e,t)=>(0,a.jsx)(eg,{ref:t,...e,"data-component":"Form-FormRow"}));ex.displayName="FormRow";let eh=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1284  position: relative;
1285  flex-grow: 0;
1286  flex-shrink: 0;
1287  display: flex;
1288  width: 120px;
1289  height: 120px;
1290  background-color: ${l.default.backgroundGray};
1291
1292  .image-helper-container {
1293    flex-grow: 0;
1294    flex-shrink: 0;
1295    width: 100%;
1296    height: auto;
1297
1298    img {
1299      object-fit: contain;
1300    }
1301  }
1302
1303  @media ${i.default.laptop} {
1304    width: calc(1.4 / 12 * 100vw);
1305    height: calc(1.4 / 12 * 100vw);
1306    margin-right: 32px;
1307  }
1308`,ey=p.default.forwardRef((e,t)=>(0,a.jsx)(eh,{ref:t,...e,"data-component":"Form-ImageWrapper"}));ey.displayName="ImageWrapper";let ev=u.default.div`
1309  width: 100%;
1310  margin-left: 12px;
1311
1312  @media ${i.default.laptop} {
1313    width: auto;
1314    margin-left: 0;
1315  }
1316`,eb=p.default.forwardRef((e,t)=>(0,a.jsx)(ev,{ref:t,...e,"data-component":"Form-Content"}));eb.displayName="Content";let ew=u.default.div`
1317  flex-direction: row;
1318  align-items: center;
1319  justify-content: flex-start;
1320  display: flex;
1321`,ej=p.default.forwardRef((e,t)=>
1321(0,a.jsx)(ew,{ref:t,...e,"data-component":"Form-Row"}));ej.displayName="Row";let eS=u.default.div`
1322  ${n.h5Styles}
1323  margin-bottom: 10px;
1324
1325  @media ${i.default.laptop} {
1326    margin-bottom: 16px;
1327  }
1328`,ek=p.default.forwardRef((e,t)=>(0,a.jsx)(eS,{ref:t,...e,"data-component":"Form-ProductName"}));ek.displayName="ProductName";let e$=u.default.div`
1329  ${n.smallcapsBold13Styles}
1330  margin-bottom: 2px;
1331  color: ${l.default.black};
1332
1333  @media ${i.default.laptop} {
1334    font-size: 16px;
1335  }
1336`,eC=p.default.forwardRef((e,t)=>(0,a.jsx)(e$,{ref:t,...e,"data-component":"Form-Price"}));eC.displayName="Price";let eR=u.default.div`
1337  ${n.smallcapsBold13Styles}
1338  margin-right: 8px;
1339  text-decoration: line-through;
1340  color: ${l.default.mediumGray};
1341
1342  @media ${i.default.laptop} {
1343    font-size: 16px;
1344  }
1345`,eP=p.default.forwardRef((e,t)=>(0,a.jsx)(eR,{ref:t,...e,"data-component":"Form-DiscountedPrice"}));eP.displayName="DiscountedPrice";let eN=`
1346  display: flex;
1347  width: 100%;
1348  height: 56px;
1349  flex-direction: row;
1350  align-items: center;
1351  justify-content: space-between;
1352  border-bottom: 1px solid ${l.default.dividerLineGray};
1353  cursor: pointer;
1354`,eI=`
1355  ${n.body16MainStyles}
1356  opacity: 0.9;
1357`,eB=`
1358  ${n.body16MainStyles}
1359  color: ${l.default.mediumGray};
1360`,eT=u.default.div`
1361  height: 32px;
1362  width: 32px;
1363  transform: rotate(90deg);
1364`,eD=p.default.forwardRef((e,t)=>(0,a.jsx)(eT,{ref:t,...e,"data-component":"Form-ChevronIcon"}));eD.displayName="ChevronIcon";let eM=(0,u.default)("a",{shouldForwardProp:e=>!e.startsWith("$")})`
1365  ${eN}
1366  ${({$canClick:e})=>e?"":"cursor: initial"}
1367`,eO=p.default.forwardRef((e,t)=>(0,a.jsx)(eM,{ref:t,...e,"data-component":"Form-LanguageSizeButton"}));eO.displayName="LanguageSizeButton";let eA=u.default.div`
1368  display: flex;
1369`,eF=p.default.forwardRef((e,t)=>(0,a.jsx)(eA,{ref:t,...e,"data-component":"Form-LanguageSizeTextWrapper"}));eF.displayName="LanguageSizeTextWrapper";let eE=u.default.div`
1370  ${eI}
1371  margin-right: 8px;
1372`,eL=p.default.forwardRef((e,t)=>(0,a.jsx)(eE,{ref:t,...e,"data-component":"Form-LanguageSizeText"}));eL.displayName="LanguageSizeText";let eW=u.default.div`
1373  ${eB}
1374`,eG=p.default.forwardRef((e,t)=>(0,a.jsx)(eW,{ref:t,...e,"data-component":"Form-LanguageSizeLightText"}));eG.displayName="LanguageSizeLightText";let eV=u.default.div`
1375  display: flex;
1376  width: 100%;
1377  flex-wrap: wrap;
1378  align-items: flex-end;
1379  justify-content: space-between;
1380  border-bottom: solid 1px ${l.default.dividerLineGray};
1381`,eU=p.default.forwardRef((e,t)=>(0,a.jsx)(eV,{ref:t,...e,"data-component":"Form-ColorWrapper"}));eU.displayName="ColorWrapper";let e_=u.default.div`
1382  display: flex;
1383  padding: 16px 0;
1384  flex-shrink: 0;
1385  align-items: center;
1386`,eH=p.default.forwardRef((e,t)=>(0,a.jsx)(e_,{ref:t,...e,"data-component":"Form-ColorTextWrapper"}));eH.displayName="ColorTextWrapper";let ez=u.default.div`
1387  ${eI}
1388  margin-right: 8px;
1389`,eq=p.default.forwardRef((e,t)=>(0,a.jsx)(ez,{ref:t,...e,"data-component":"Form-ColorText"}));eq.displayName="ColorText";let eK=u.default.div`
1390  ${eB}
1391`,eY=p.default.forwardRef((e,t)=>(0,a.jsx)(eK,{ref:t,...e,"data-component":"Form-ColorLightText"}));eY.displayName="ColorLightText";let eZ=u.default.div`
1392  transform: translateX(10px);
1393
1394  @media ${i.default.laptop} {
1395    transform: none;
1396  }
1397
1398  .color-swatches-color-swatch {
1399    margin-top: 16px;
1400  }
1401
1402  .color-swatches-image-swatch {
1403    margin-top: 16px;
1404  }
1405
1406  .color-swatches-active-indicator {
1407    height: 2px;
1408    margin-right: 16px;
1409  }
1410`,eX=p.default.forwardRef((e,t)=>(0,a.jsx)(eZ,{ref:t,...e,"data-component":"Form-SwatchWrapper"}));eX.displayName="SwatchWrapper";let eQ=(0,u.default)(M.default)`
1411  width: auto;
1412`,eJ=p.default.forwardRef((e,t)=>(0,a.jsx)(eQ,{...e,"data-component":"Form-Swatches"}));eJ.displayName="Swatches";let e0=u.default.div`
1413  display: flex;
1414  margin-top: 32px;
1415
1416  .styled-button {
1417    height: 56px;
1418  }
1419`,e1=p.default.forwardRef((e,t)=>(0,a.jsx)(e0,{ref:t,...e,"data-component":"Form-Footer"}));e1.displayName="Footer";let e2=({availableVariants:e,onClickLanguageSelector:t,onClickSizeSelector:o,onRequestClose:i,onRequestCloseLanguageSelector:n,onRequestCloseSizeSelector:s,productName:u,variants:f})=>{let m,g,x=(0,d.useT)(),h=(0,U.useMarket)(),{formatPrice:y}=(0,F.useFormatPrice)(),v=(e,t)=>
1419{if(!e)return null;let a=(0,L.getMarketPrice)(e,h,t);return(0,L.isDisplayableMarketPrice)(a,h)&&Number.isFinite(a.amount)&&a.amount?y(a.amount,a.currencyCode):null},[b,w]=p.default.useState(0),[j,S]=p.default.useState(void 0),k=(m=f.filter(({language:e})=>!!e),(0,V.uniqBy)(m,"language").map(({language:e})=>{let t;return{language:e||"",onClick:(t=e||"",e=>{e?.stopPropagation();let a=f[b]?.color,r=a?f.findIndex(({color:e,language:r})=>e===a&&r===t):-1;r<0&&(r=f.findIndex(({language:e})=>e===t)),S(t),w(r>=0?r:0),n&&n()})}})),$=k?.length>1,C=f.map((e,t)=>({...(0,G.pick)(e,["name","language","size","hexString","swatchImage"]),onClick:()=>w(t)})),[R,P]=p.default.useState(void 0),N=(g=f.filter(({size:e})=>!!e),(0,V.uniqBy)(g,"size").map(({size:e})=>{let t;return{onClick:(t=e||"",e=>{e?.stopPropagation();let a=f[b]?.color,r=a?f.findIndex(({color:e,size:r})=>e===a&&r===t):-1;r<0&&(r=f.findIndex(({size:e})=>e===t)),P(t),w(r>=0?r:0),s&&s()}),size:e||""}})),I=N?.length>1;p.default.useEffect(()=>{S((0,D.get)(k,"0.language")),P((0,D.get)(N,"0.size"))},[]),p.default.useEffect(()=>{if(f[b]?.language&&f[b]?.language!==j){let e=k.find(({language:e})=>e===f[b]?.language);e&&S(e.language)}if(f[b]?.size&&f[b]?.size!==R){let e=N.find(({size:e})=>e===f[b]?.size);e&&P(e.size)}},[f,b]);let B=e=>e.map(e=>(0,W.omit)(e,["language","size"])),T=B(j?C.filter(({language:e})=>e===j):R?C.filter(({size:e})=>e===R):C),M=-1!==e.indexOf(f[b]?.sku),_=v(f[b],"price"),z=_?v(f[b],"compareAtPrice"):null,q=f[b]?.color,K=f[b]?.images?.[0]?.url||"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ec,{$isVisible:!!u}),(0,a.jsxs)(en,{$isOpen:!!u,children:[(0,a.jsx)(H,{children:(0,a.jsx)(er,{label:x("Back"),onClick:e=>{e.stopPropagation(),i()}})}),(0,a.jsxs)(ep,{children:[(0,a.jsx)(c.DesktopOnly,{children:(0,a.jsx)(ey,{children:(0,a.jsx)(A.default,{alt:(0,E.getProductImageAlt)({colorName:f[b]?.name,imageType:"gallery",productName:u||"Product"}),src:K})})}),(0,a.jsxs)(em,{children:[(0,a.jsxs)(ex,{children:[(0,a.jsx)(c.MobileOnly,{children:(0,a.jsx)(ey,{children:(0,a.jsx)(A.default,{alt:(0,E.getProductImageAlt)({colorName:f[b]?.name,imageType:"gallery",productName:u||"Product"}),src:K})})}),(0,a.jsxs)(eb,{children:[(0,a.jsx)(ek,{children:u?x(u):""}),(0,a.jsxs)(ej,{children:[!!z&&(0,a.jsx)(eP,{children:z}),!!_&&(0,a.jsx)(eC,{children:_})]})]})]}),j&&(0,a.jsxs)(eO,{$canClick:$,onClick:e=>{$&&(e.stopPropagation(),k&&k.length>0&&t&&t(k))},children:[(0,a.jsxs)(eF,{children:[(0,a.jsx)(eL,{children:x("Language:")}),(0,a.jsx)(eG,{children:j})]}),$&&(0,a.jsx)(eD,{children:(0,a.jsx)(O.Chevron,{strokeColor:l.default.black})})]}),R&&(0,a.jsxs)(eO,{$canClick:I,onClick:e=>{I&&(e.stopPropagation(),N&&N.length>0&&o&&o(N))},children:[(0,a.jsxs)(eF,{children:[(0,a.jsx)(eL,{children:x("Size:")}),(0,a.jsx)(eG,{children:R})]}),I&&(0,a.jsx)(eD,{children:(0,a.jsx)(O.Chevron,{strokeColor:l.default.black})})]}),(0,a.jsxs)(eU,{children:[(0,a.jsxs)(eH,{children:[(0,a.jsx)(eq,{children:x("Color:")}),(0,a.jsx)(eY,{children:q?x(q):""})]}),(0,a.jsx)(eX,{children:(0,a.jsx)(eJ,{activeSwatchName:f[b]?.name,colors:T,size:"24px"})})]}),(0,a.jsx)(e1,{children:(0,a.jsx)(r.default,{disabled:!M,onClick:e=>{e.stopPropagation(),f[b]?.onAddToCart(1)},text:M?x("Add to Cart"):f[b]?.outOfStockMessage||x("Out of Stock")})})]})]})]})]})};var e4=e.i(822397);let e6=`
1420  transform: translateX(0);
1421  transition: transform ${o.default.medium} ${o.cubicBezier};
1422`,e3=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1423  position: absolute;
1424  top: 0;
1425  width: 100%;
1426  height: 100%;
1427  opacity: 1;
1428  transform: translateX(100%);
1429  transition: transform ${o.default.medium} ${o.cubicBezier};
1430  will-change: transform;
1431  background-color: ${l.default.offWhite};
1432  overflow: hidden;
1433  overflow-y: auto;
1434  -webkit-overflow-scrolling: touch;
1435  z-index: 3;
1436  cursor: default;
1437  ${({$isOpen:e})=>e?e6:""}
1438`,e5=p.default.forwardRef((e,t)=>(0,a.jsx)(e3,{ref:t,...e,"data-component":"LanguageSelector-Container"}));e5.displayName="Container";let e8=`
1439  opacity: 0.1
1440  transition: opacity ${o.default.medium} ${o.cubicBezier};
1441`,e9=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1442  position: absolute;
1443  top: 0;
1444  right: 0;
1445  bottom: 0;
1446  height: 100%;
1447  width: 100%;
1448  will-change: opacity;
1449  opacity: 0;
1450  transition: opacity ${o.default.kindaLong} ${o.cubicBezier};
1451  background-color: ${l.default.black};
1452  pointer-events: none;
1453  overflow: hidden;
1454  overflow-y: auto;
1455  -webkit-overflow-scrolling: touch;
1456  z-index: 3;
1457  ${({$isVisible:e})=>e?e8:""}
1458`,e7=p.default.forwardRef((e,t)=>
1458(0,a.jsx)(e9,{ref:t,...e,"data-component":"LanguageSelector-Overlay"}));e7.displayName="Overlay";let te=u.default.div`
1459  overflow: hidden;
1460
1461  .menu-item-button-container {
1462    color: ${l.default.black};
1463
1464    svg {
1465      stroke: ${l.default.black};
1466    }
1467  }
1468
1469  @media ${i.default.laptop} {
1470    padding: 0 calc(0.5 / 12 * 100vw);
1471
1472    .menu-item-button-container {
1473      height: 64px;
1474      padding: 0 6px 0 16px;
1475    }
1476  }
1477`,tt=p.default.forwardRef((e,t)=>(0,a.jsx)(te,{ref:t,...e,"data-component":"LanguageSelector-Languages"}));tt.displayName="Languages";let ta=({isOpen:e,languages:t=[],onRequestClose:r})=>{let o=(0,d.useT)(),i=t.map(({language:e,onClick:t})=>({label:e,onClick:t}));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e7,{$isVisible:!!e}),(0,a.jsxs)(e5,{$isOpen:!!e,children:[(0,a.jsx)(H,{children:(0,a.jsx)(er,{label:o("Back"),onClick:e=>{e.stopPropagation(),r()}})}),(0,a.jsx)(q,{children:"All Languages"}),(0,a.jsxs)(tt,{children:[(0,a.jsx)(Y,{}),i.map(e=>(0,a.jsx)(e4.default,{...e},e.label))]})]})]})},tr=`
1478  transform: translateX(0);
1479  transition: transform ${o.default.medium} ${o.cubicBezier};
1480`,to=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1481  position: absolute;
1482  top: 0;
1483  width: 100%;
1484  height: 100%;
1485  opacity: 1;
1486  transform: translateX(100%);
1487  transition: transform ${o.default.medium} ${o.cubicBezier};
1488  will-change: transform;
1489  background-color: ${l.default.offWhite};
1490  overflow: hidden;
1491  overflow-y: auto;
1492  -webkit-overflow-scrolling: touch;
1493  z-index: 3;
1494  cursor: default;
1495  ${({$isOpen:e})=>e?tr:""}
1496`,ti=p.default.forwardRef((e,t)=>(0,a.jsx)(to,{ref:t,...e,"data-component":"SizeSelector-Container"}));ti.displayName="Container";let tl=`
1497  opacity: 0.1
1498  transition: opacity ${o.default.medium} ${o.cubicBezier};
1499`,tn=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1500  position: absolute;
1501  top: 0;
1502  right: 0;
1503  bottom: 0;
1504  height: 100%;
1505  width: 100%;
1506  will-change: opacity;
1507  opacity: 0;
1508  transition: opacity ${o.default.kindaLong} ${o.cubicBezier};
1509  background-color: ${l.default.black};
1510  pointer-events: none;
1511  overflow: hidden;
1512  overflow-y: auto;
1513  -webkit-overflow-scrolling: touch;
1514  z-index: 3;
1515  ${({$isVisible:e})=>e?tl:""}
1516`,td=p.default.forwardRef((e,t)=>(0,a.jsx)(tn,{ref:t,...e,"data-component":"SizeSelector-Overlay"}));td.displayName="Overlay";let ts=u.default.div`
1517  overflow: hidden;
1518
1519  .menu-item-button-container {
1520    color: ${l.default.black};
1521
1522    svg {
1523      stroke: ${l.default.black};
1524    }
1525  }
1526
1527  @media ${i.default.laptop} {
1528    padding: 0 calc(0.5 / 12 * 100vw);
1529
1530    .menu-item-button-container {
1531      height: 64px;
1532      padding: 0 6px 0 16px;
1533    }
1534  }
1535`,tc=p.default.forwardRef((e,t)=>(0,a.jsx)(ts,{ref:t,...e,"data-component":"SizeSelector-Sizes"}));tc.displayName="Sizes";let tu=({isOpen:e,onRequestClose:t,sizes:r=[]})=>{let o=(0,d.useT)(),i=r.map(({onClick:e,size:t})=>({label:t,onClick:e}));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(td,{$isVisible:!!e}),(0,a.jsxs)(ti,{$isOpen:!!e,children:[(0,a.jsx)(H,{children:(0,a.jsx)(er,{label:o("Back"),onClick:e=>{e.stopPropagation(),t()}})}),(0,a.jsx)(q,{children:"All Sizes"}),(0,a.jsxs)(tc,{children:[(0,a.jsx)(Y,{}),i.map(e=>(0,a.jsx)(e4.default,{...e},e.label))]})]})]})},tp=`
1536  opacity: 1;
1537  transform: translateX(0);
1538  transition: opacity ${o.default.quick} ${o.cubicBezier},
1539    transform ${o.default.medium} ${o.cubicBezier};
1540`,tf=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1541  position: fixed;
1542  top: 0;
1543  right: 0;
1544  bottom: 0;
1545  width: 100%;
1546  opacity: 0;
1547  transform: translateX(100%);
1548  transition:
1549    opacity ${o.default.medium} ${o.cubicBezier},
1550    transform ${o.default.quick} ${o.cubicBezier};
1551  will-change: opacity, transform;
1552  background-color: ${l.default.offWhite};
1553  cursor: default;
1554  ${({$isOpen:e})=>e?tp:""}
1555
1556  @media ${i.default.laptop} {
1557    max-width: calc(5 / 12 * 100vw);
1558  }
1559`,tm=p.default.forwardRef((e,t)=>(0,a.jsx)(tf,{ref:t,...e,"data-component":"VariantSelector-Container"}));tm.displayName="Container",e.s(["default",0,({addToCart:e,availableVariants:t,isOpen:r,onRequestClose:o,product:i,showPromoToast:l})=>{let n=p.default.useRef(null);(0,B.default)({isOpen:r,modalRef:n,onRequestClose:o});
1559let[d,s]=p.default.useState(!1),[c,u]=p.default.useState([]),f=()=>{s(!1)},[m,g]=p.default.useState(!1),[x,h]=p.default.useState([]),y=()=>{g(!1)},{onAddProductToCart:v}=(0,I.default)(),{elevarOnAddToCart:b}=(0,N.default)(),w=p.default.useMemo(()=>{let t;return t=i.variants.map(T.formatContentfulVariant).map(t=>({...t,onAddToCart:a=>{let r,n=i.devices||[];n.length>0&&(r=n.reduce((e,t)=>(e?e+=`, ${t.name}`:e=t.name,e),void 0));let d=function(e){let t=(0,D.get)(e,"images[0].url"),[a]=("string"==typeof t?t:"").split("?");return a}(t);e({cartProduct:{brand:i.brand?.name,builtInMagnet:!!i.builtInMagnet,color:String(t.color??""),compareAtPrice:Number(t.compareAtPrice??0),contentfulProductId:i.sys?.id||"",contentfulUpsellProductId:void 0,contentfulVariantId:String(t.contentfulVariantId??""),device:r||i.device?.name,deviceType:i.device?.type?.name,image:(0,R.ensureHttps)(d),language:i.language,marketPrices:t.marketPrices,price:Number(t.price??0),productName:i.productName,productSlug:i.slug,productSubType:i.productSubType?.slug,quantity:a,requiresUpsellProduct:i.requiresUpsellProduct,shopifyProductId:i.shopifyProduct?.shopifyProductId,shopifyVariantId:String(t.variantId??""),size:String(t.size??""),sku:String(t.sku??""),variantName:String(t.name??"")},showPromoToast:l||!1}),b({brand:"Urban Armor Gear",device:r||(i.device?.name??""),deviceType:i.device?.type?.name??"",image:(0,R.ensureHttps)(d),list:"upsell",price:String(t.price??""),productId:i.shopifyProduct?.shopifyProductId??"",productName:i.productName,quantity:String(a),sku:String(t.sku??""),variantId:String(t.variantId??""),variantName:String(t.name??"")},"upsell"),v({device:r||(i.device?.name??""),deviceType:i.device?.type?.name??"",price:String(t.price??""),productId:i.shopifyProduct?.shopifyProductId??"",productName:i.productName,quantity:a,sku:String(t.sku??""),variantName:String(t.name??"")}),o()}})),{...i,variants:t}},[i]);return(0,a.jsx)(P.default,{$isOpen:r,children:(0,a.jsxs)(tm,{$isOpen:r,ref:n,children:[(0,a.jsx)(e2,{availableVariants:t,onClickLanguageSelector:e=>{u(e),s(!0)},onClickSizeSelector:e=>{h(e),g(!0)},onRequestClose:o,onRequestCloseLanguageSelector:f,onRequestCloseSizeSelector:y,productName:w.productName,variants:w.variants}),(0,a.jsx)(ta,{isOpen:d,languages:c,onRequestClose:f}),(0,a.jsx)(tu,{isOpen:m,onRequestClose:y,sizes:x})]})})}],192722),e.s(["resolveVariantHighlightCards",0,function(e,t){return Array.isArray(e)?e.filter(e=>{let a=(e?.variantsCollection?.items||[]).filter(Boolean);return 0===a.length||!!t&&a.some(e=>e?.sys?.id===t)}):[]}],162059);var tg=e.i(459507);let tx=u.default.div`
1560  padding-top: 24px;
1561
1562  @media ${i.default.laptop} {
1563    padding: 64px 0;
1564  }
1565`,th=p.default.forwardRef((e,t)=>(0,a.jsx)(tx,{ref:t,...e,"data-component":"ExploreBlock-Container"}));th.displayName="Container";let ty=u.default.div`
1566  ${n.h4Styles}
1567  width: 100%;
1568  padding: 0 20px;
1569
1570  @media ${i.default.laptop} {
1571    margin-bottom: 54px;
1572    padding: 0 calc(1 / 12 * 100vw);
1573  }
1574`,tv=p.default.forwardRef((e,t)=>(0,a.jsx)(ty,{ref:t,...e,"data-component":"ExploreBlock-Header"}));tv.displayName="Header";let tb=u.default.div`
1575  @media ${i.default.laptop} {
1576    margin-bottom: 66px;
1577  }
1578`,tw=p.default.forwardRef((e,t)=>(0,a.jsx)(tb,{ref:t,...e,"data-component":"ExploreBlock-CardWrapper"}));tw.displayName="CardWrapper",e.s(["default",0,({cards:e,pdpHeadline:t,seriesName:r})=>{let o=(0,d.useT)(),i=t?o(t):r?o("Explore the {series}").replace("{series}",r):o("Explore the Series");return e&&e.length>0?(0,a.jsxs)(th,{children:[(0,a.jsx)(tv,{children:i}),e?.map((e,t)=>(0,a.jsx)(tw,{children:(0,a.jsx)(tg.default,{autoplayVideo:e.autoplayVideo,callToActionButtonLink:e.callToActionButtonLink,callToActionButtonText:e.callToActionButtonText,description:e.description?.description??"",descriptionColor:e.descriptionColor,fiftyPercentMedia:e.fiftyPercentMedia,footer:e.footer,footerColor:e.footerColor,icon:e.icon?.url,image:e.image?.url,imageGif:e.imageGif?.url,justification:e.justification,largeTitle:e.largeTitle,mobileImage:e.mobileImage?.url,mobileImageGif:e.mobileImageGif?.url,mobileVideoUrl:e.mobileVideoUrl,muxMobileVideo:e.muxMobileVideo,muxVideo:e.muxVideo,playButtonText:e.playButtonText,seriesName:r,showPlayButton:e.showPlayButton,title:e.title??"",titleColor:e.titleColor,videoThumbnail:e.videoThumbnail?.url,videoUrl:e.videoUrl,wistiaEmbedCode:e.wistiaEmbedCode,wistiaVideoId:e.wistiaVideoId})},t))]}):null}],702563);var tj=e.i(642778);let tS=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1579  display: flex;
1580  flex-direction: column;
1581  padding: 20px;
1582
1583  @media ${i.default.laptop} {
1584    flex-direction: row;
1585    justify-content: center;
1586    gap: ${({$hasImage:e})=>e?"40px":"calc(1 / 12 * 100vw - 20px)"};
1587    padding: 24px calc(0.5 / 12 * 100vw);
1588  }
1589`,tk=p.default.forwardRef((e,t)=>
1589(0,a.jsx)(tS,{ref:t,...e,"data-component":"FeaturesBlock-Container"}));tk.displayName="Container";let t$=u.default.div`
1590  order: -1;
1591  margin-bottom: 24px;
1592
1593  .image-helper-container {
1594    width: 100%;
1595    height: auto;
1596  }
1597
1598  @media ${i.default.laptop} {
1599    order: 0;
1600    flex-shrink: 0;
1601    width: 40%;
1602    margin-bottom: 0;
1603
1604    .image-helper-container {
1605      width: 100%;
1606      aspect-ratio: 3 / 4;
1607
1608      img {
1609        object-fit: cover !important;
1610      }
1611    }
1612  }
1613`,tC=p.default.forwardRef((e,t)=>(0,a.jsx)(t$,{ref:t,...e,"data-component":"FeaturesBlock-FeaturesImageWrapper"}));tC.displayName="FeaturesImageWrapper";let tR=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1614  display: flex;
1615  flex-direction: column;
1616  width: 50%;
1617
1618  @media ${i.default.laptop} {
1619    ${({$hasImage:e})=>e&&"width: 30%; justify-content: center;"}
1620  }
1621`,tP=p.default.forwardRef((e,t)=>(0,a.jsx)(tR,{ref:t,...e,"data-component":"FeaturesBlock-FeaturesColumn"}));tP.displayName="FeaturesColumn";let tN=(0,u.default)("a",{shouldForwardProp:e=>!e.startsWith("$")})`
1622  display: flex;
1623  flex-direction: row;
1624  align-items: center;
1625  gap: 16px;
1626  padding: 20px 0;
1627  border-bottom: 1px solid ${l.default.dividerLineGray};
1628
1629  ${({$hasLink:e})=>e?"pointer-events: initial;":"pointer-events: none;"}
1630
1631  &:last-child {
1632    border-bottom: none;
1633  }
1634
1635  @media ${i.default.laptop} {
1636    padding: 24px 0;
1637  }
1638`,tI=p.default.forwardRef((e,t)=>(0,a.jsx)(tN,{ref:t,...e,"data-component":"FeaturesBlock-Feature"}));tI.displayName="Feature";let tB=u.default.div`
1639  flex-shrink: 0;
1640  width: 48px;
1641  height: 48px;
1642`,tT=u.default.div`
1643  display: flex;
1644  flex-direction: column;
1645  flex: 1;
1646`,tD=p.default.forwardRef((e,t)=>(0,a.jsx)(tT,{ref:t,...e,"data-component":"FeaturesBlock-FeatureContent"}));tD.displayName="FeatureContent";let tM=u.default.div`
1647  ${n.smallcapsBold13Styles}
1648  margin-bottom: 4px;
1649  color: ${l.default.black};
1650`,tO=p.default.forwardRef((e,t)=>(0,a.jsx)(tM,{ref:t,...e,"data-component":"FeaturesBlock-FeatureTitle"}));tO.displayName="FeatureTitle";let tA=u.default.div`
1651  ${n.body14Styles}
1652  margin-top: 8px;
1653  color: ${l.default.mediumDarkGray};
1654  opacity: 0.8;
1655`,tF=p.default.forwardRef((e,t)=>(0,a.jsx)(tA,{ref:t,...e,"data-component":"FeaturesBlock-FeatureBody"}));tF.displayName="FeatureBody",e.s(["default",0,({features:e,featuresBlockImage:t})=>{let r=(0,d.useT)();if(!e||0===e.length)return null;let o=(e,t)=>{let o={};tj.default.get(e,"link")&&(o.$hasLink=!0,o.href=tj.default.get(e,"link"),o.title=tj.default.get(e,"description"),o.target="_blank");let i=tj.default.get(e,"body");return(0,a.jsxs)(tI,{...o,children:[(0,a.jsx)(tB,{children:(0,a.jsx)(A.default,{src:tj.default.get(e,"icon.url")||""})}),(0,a.jsxs)(tD,{children:[(0,a.jsx)(tO,{children:r(String(tj.default.get(e,"description")??""))}),i&&(0,a.jsx)(tF,{children:r(i)})]})]},t)},i=Math.ceil(e.length/2),l=!!t;return(0,a.jsx)(tk,{$hasImage:l,children:e.length>1?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tP,{$hasImage:l,children:e.slice(0,i).map(o)}),t&&(0,a.jsx)(tC,{children:(0,a.jsx)(A.default,{src:t})}),(0,a.jsx)(tP,{$hasImage:l,children:e.slice(i).map((e,t)=>o(e,i+t))})]}):(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(tC,{children:(0,a.jsx)(A.default,{src:t})}),(0,a.jsx)(tP,{children:e.map(o)})]})})}],78188);var tE=e.i(351970);e.s(["useDiscountAndUpsellProducts",0,function({addToCart:e,automaticDiscountData:t=[],automaticDiscounts:a,customerCountryCode:r="US",deviceName:o,discountedProductsData:i,elevarOnAddToCart:l,mode:n="PDP",onAddProductToCart:d,productData:s,shopifyProductId:c}){let u=(0,tE.decodeShopifyId)(c),f=t||[],m=(0,U.useMarket)(),g=(0,p.useMemo)(()=>{let e={};return Object.entries(i).forEach(([t,a])=>{e[t]={...a,variants:(a.variants||[]).map(e=>({...e,marketPrices:e.marketPrices??{}}))}}),e},[i]),x=(0,p.useMemo)(()=>{if(!s?.upsell)return s;let e=s.upsell;return{...s,upsell:{...e,variants:(e.variants||[]).map(e=>({...e,marketPrices:e.marketPrices??{}}))}}},[s]),{allDiscountProducts:h,allDiscountProductsIndexIdMap:y}=(0,p.useMemo)(()=>{let e=[],t={};return a?.forEach((a,r)=>{let o=[],i=a.customerBuysProducts?.includes(u||""),l=a.customerGetsProducts?.includes(u||""),n=i?a.customerGetsProducts:l?a.customerBuysProducts:[];
1655n?.forEach(e=>{let t=a.idMap?.[e];t&&g[t]&&o.push(g[t])}),e.push(o),t[r]=a.id}),{allDiscountProducts:e,allDiscountProductsIndexIdMap:t}},[a,g,u]),v=e=>"SOPDP"===n?e?.deviceName||e?.device?.name||(0,D.get)(s,"upsell.device.name")||(0,D.get)(s,"device.name")||"":o||(0,D.get)(s,"upsell.device.name")||(0,D.get)(s,"device.name")||"",b=(0,p.useMemo)(()=>{if(!h?.length)return h;let e=[];return h?.forEach((t,a)=>{let o=t.filter(({customPrint:e,variants:t})=>("SOPDP"!==n||"US"===r||!e)&&!!t&&0!==t.length&&!!(0,D.get)(t,"0.images.0.url")),i=y[a],l=i?.replace?.("gid://shopify/DiscountAutomaticNode/",""),d=f?.find?.(e=>e.discountId===l);if(d)if(s?.device?.slug==="portable-charger")o=o.filter(e=>!!e.builtInMagnet);else if(d.matchDevice){let e=!!s?.builtInMagnet;o=o.filter(t=>e?t?.device?.slug===s?.device?.slug||t?.device?.slug==="portable-charger":t?.device?.slug===s?.device?.slug)}else s?.productSubType?.slug&&["cases","screen-protectors"].includes(s?.productSubType?.slug)&&(o=o.filter(e=>!!e?.customPrint||!e?.device?.slug||e.device.slug===s?.device?.slug));e.push(o.map(e=>{let t=(0,D.get)(e,"variants.0.images.0.url",""),[a]=("string"==typeof t?t:"").split("?"),r=(0,R.ensureHttps)(a),o=e.variants?.[0],i=(0,L.getMarketPrice)(o,m,"price"),l=(0,L.getMarketPrice)(o,m,"compareAtPrice");return{...e,currencyCode:i.currencyCode,productCompareAtPrice:l.amount,productImage:r,productPrice:i.amount}}))}),e},[h,y,f,r,m,n,s?.device?.slug,s?.builtInMagnet,s?.productSubType?.slug]);return{allDiscountProducts:h,allDiscountProductsIndexIdMap:y,automaticDiscountData:f,discountProducts:b,upsellProduct:(0,p.useMemo)(()=>{let t,a,r,o;if(!x?.upsell||!x?.upsellCallout)return;let i="USD",n=x.upsell,s=n.variants?.filter(e=>!e.carrierVariant).map(T.formatContentfulVariant);if(!s?.length)return;let c=s?.map((s,c)=>{if(0===c){let e=(0,D.get)(s,"images.0",""),[l]=(("string"==typeof e?e:e?.url||"")||"").split("?");t=(0,R.ensureHttps)(l);let n=(0,L.getMarketPrice)(s,m,"price"),d=(0,L.getMarketPrice)(s,m,"compareAtPrice");a=n.amount,r=d.amount>0&&d.amount!==n.amount?d.amount:void 0,i=n.currencyCode,o=(0,L.isDisplayableMarketPrice)(n,m)?n.currencyCode:void 0}return{...s,onAddToCart:t=>{let a=v(s),r=(0,D.get)(s,"images.0",""),[o]=(("string"==typeof r?r:r?.url||"")||"").split("?");e({cartProduct:{brand:n.brand?.name||"",builtInMagnet:!!x?.builtInMagnet,bundleProduct:n.bundleProduct,color:s.color||"",compareAtPrice:(0,L.getMarketAmount)(s,m,"compareAtPrice"),contentfulProductId:n.sys?.id||"",contentfulVariantId:s.contentfulVariantId||"",customPrint:n.customPrint,device:a,deviceType:n.device?.type?.name,image:(0,R.ensureHttps)(o),language:n.language,marketPrices:s.marketPrices||{},price:(0,L.getMarketAmount)(s,m,"price")??0,productName:n.productName||"",productSlug:n.slug||"",productSubType:x?.productSubType?.slug,quantity:t,shopifyProductId:n.shopifyProduct?.shopifyProductId||"",shopifyVariantId:s.variantId||"",size:s.size,sku:s.sku||"",variantDevice:(0,D.get)(s,"device.name"),variantName:s.name}});let i="string"==typeof n.device?.type?.name?n.device.type.name:"",c=String((0,L.getMarketAmount)(s,m,"price")??0);d({device:a,deviceType:i,price:c,productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:t,sku:s.sku||"",variantName:s.name||""}),l({brand:"Urban Armor Gear",device:a,deviceType:i,image:(0,R.ensureHttps)(o),list:"upsell",price:c,productId:n.shopifyProduct?.shopifyProductId||"",productName:n.productName||"",quantity:t,sku:s.sku||"",variantId:s.variantId||"",variantName:s.name||""},"upsell")}}});return{...n,currencyCode:i,displayableCurrencyCode:o,productCompareAtPrice:r,productImage:t,productPrice:a,variants:c}},[x?.upsell,x?.builtInMagnet,x?.productSubType?.slug,x?.upsellCallout,m,e,d,l,v])}}],921675);var tL=e.i(18566),tW=e.i(639588),tG=e.i(184131);e.s(["usePdpAnalytics",0,function({availabilityData:e,currentVariant:t,customerCountryCode:a="US",customerEmail:r,deviceName:o,inventoryLoaded:i,mode:l="PDP",productData:n}){let{onViewProductDetails:d}=(0,I.default)(),{elevarOnViewItem:s}=(0,N.default)(),{maestraOnViewProduct:c}=(0,tW.default)(),u=null!=e&&"boolean"==typeof e.isAvailable,f=p.default.useRef(null),m=p.default.useRef(null),g=p.default.useMemo(()=>"SOPDP"===l?String((0,D.get)(n,"device.name")||""):String(o||(0,D.get)(n,"device.name")||""),[l,o,n]),x=p.default.useMemo(()=>"SOPDP"===l?String(t?.deviceName||t?.device||(0,D.get)(n,"device.name")||""):String(o||(0,D.get)(n,"device.name")||""),[l,o,t,n]);p.default.useEffect(()=>
1655{t&&d({device:g,deviceType:String((0,D.get)(n,"device.type.name")||""),list:"Product Details",price:String((0,L.getMarketAmount)(t,a,"price")??0),productId:String((0,D.get)(n,"shopifyProduct.shopifyProductId")||""),productName:String((0,D.get)(n,"productName")||""),sku:String(t?.sku||""),variantName:String(t?.name||"")})},[!!t,g,a,d,n]),p.default.useEffect(()=>{if(!(i&&u)||!t?.variantId)return;let r=String(t?.sku||"");if(!r)return;let o=[String(t?.variantId||""),r,x].join("|");if(f.current===o)return;let l=(0,tG.getLocalStorage)(tL.SELECTED_PRODUCTS_KEY)||{},d=String((0,D.get)(n,"shopifyProduct.shopifyProductId")||""),c=l[d]||void 0,p=(0,D.get)(t,"images.0",""),[m]=(("string"==typeof p?p:p?.url||"")||"").split("?"),g=e?.quantity||0,h={brand:"Urban Armor Gear",compareAtPrice:String((0,L.getMarketAmount)(t,a,"compareAtPrice")||"0.00"),device:x,deviceType:String((0,D.get)(n,"device.type.name")||""),image:(0,R.ensureHttps)(m),inventory:g,list:c,price:String((0,L.getMarketAmount)(t,a,"price")??0),productId:d,productName:String((0,D.get)(n,"productName")||""),sku:String(t?.sku||""),variantId:String(t?.variantId||""),variantName:String(t?.name||"")};f.current=o,s(h,c||"")},[i,u,t,n,e,a,x,s]),p.default.useEffect(()=>{if(!i||!t?.variantId)return;let e=String((0,D.get)(n,"shopifyProduct.shopifyProductId")||"");if(!e)return;let a=`${e}|${r||""}`;m.current!==a&&(m.current=a,c({product:e,user:{email:r||""}}))},[i,t,n,r,c])}],576588);var tV=e.i(818279),tU=e.i(450266),t_=e.i(441338),tH=e.i(154069),tz=(t=e.i(910646).default,function(e,a,r){var o=Object(e);if(!(0,t_.default)(e)){var i=(0,tU.default)(a,3);e=(0,tH.default)(e),a=function(e){return i(o[e],e,o)}}var l=t(e,a,r);return l>-1?o[i?e[l]:l]:void 0}),tq=e.i(540589);let tK=(e,t)=>tz(e,e=>e?.shippingMethodDesc===t);var tY=e.i(353064),tZ=e.i(887073);let tX=({deliveryDate:e,orderWithin:t})=>{let r=(0,d.useT)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tZ.Text,{children:r("Get it by")}),(0,a.jsx)(tZ.Spacer,{}),(0,a.jsx)(tZ.TextBold,{children:e}),(0,a.jsx)(tZ.Spacer,{}),(0,a.jsx)(tZ.Text,{children:r("order within")}),(0,a.jsx)(tZ.Spacer,{}),(0,a.jsx)(tZ.TextBold,{children:t})]})},tQ=({message:e})=>e?(0,a.jsx)(tZ.TextBold,{children:e}):null;var tJ=e.i(822315);e.s(["usePdpShipping",0,function({availabilityIsAvailable:e,currentSku:t,customerZipCode:r,enableFenixEstimates:o=!0,fenixArgs:i,shippingMessage:l}){let n=p.default.useMemo(()=>{if(!i?.variants)return;let e=i.variants;return Array.isArray(e)&&"object"==typeof e[0]?e:Array.isArray(e)?e.map(e=>({sku:e})):void 0},[i?.variants]),d=function(e,t,a){let[r,o]=p.default.useState(!1),[i,l]=p.default.useState(!1),[n,d]=p.default.useState({}),[s,c]=p.default.useState(!1),[u,f]=p.default.useState(),m=p.default.useCallback(e=>{if(!e||!n||!a||0===a.length)return;let t=n[e],[r,o,i]=a;return t&&(tK(t,r)||tK(t,o)||tK(t,i))},[n,a]),g=p.default.useMemo(()=>(0,tq.uniq)((t||[]).map(e=>e?.sku).filter(Boolean)),[t]),x=p.default.useMemo(()=>g.slice().sort().join("|"),[g]),h=p.default.useMemo(()=>a?[...a].sort().join("|"):"",[a]),y=(e||"").trim(),v=`${y}::${x}::${h}`,b=p.default.useRef(""),w=p.default.useRef(0);return p.default.useEffect(()=>{if(!y||0===g.length||!a||0===a.length){d({}),l(!1),o(!1),c(!1),f(void 0);return}if(b.current===v)return;b.current=v;let e=++w.current;l(!1),o(!1),c(!1),f(void 0),(0,tV.getFenixShippingEstimate)(y,g.map(e=>({quantity:1,sku:e}))).then(t=>{let a;w.current===e&&(d((a={},t?.forEach(e=>{let t=e?.webId,r=t?.split(",");r?.forEach(t=>{a[t]?a[t].push(e):a[t]=[e]})}),a)),l(!0))}).catch(t=>{if(w.current!==e)return;let a=t?.message||String(t||"");c(/zip|postal|invalid/i.test(a)),f(a),o(!0),d({}),l(!0)})},[v,y,g,a]),{getShippingDataForSku:m,invalidShippingData:r,shippingData:n,shippingDataLoaded:i,zipCodeError:s,zipCodeErrorMessage:u}}(o?r:void 0,o?n:void 0,o?i?.shippingMethods:void 0),s=(0,tY.useShippingMessage)()(l),c=p.default.useMemo(()=>s?(0,a.jsx)(tQ,{message:s}):void 0,[s]),[u,f]=p.default.useState(),[m,g]=p.default.useState(c);return p.default.useEffect(()=>{g(c)},[c]),p.default.useEffect(()=>{if(!e||!o||!r||!d){f(void 0),g(c);return}if(d.zipCodeError){f(void 0),g(d.zipCodeErrorMessage?(0,a.jsx)(tQ,{message:d.zipCodeErrorMessage}):void 0);return}let i=d.getShippingDataForSku?.(t);if(i){let e=(0,tJ.default)(i.guaranteedDeliveryDate).format("ddd, MMM D,"),t=`${i.hours}hr ${i.minutes}min`;g(c),f((0,a.jsx)(tX,{deliveryDate:e,orderWithin:t}))}else f(void 0),g(c)},[e,o,r,d?.getShippingDataForSku,d?.zipCodeError,d?.zipCodeErrorMessage,t,c,s]),{deliveryText:u,fenixData:d&&{invalidShippingData:d.invalidShippingData,shippingDataLoaded:d.shippingDataLoaded,zipCodeError:d.zipCodeError,zipCodeErrorMessage:d.zipCodeErrorMessage},shippingText:m}}],408089);var t0=e.i(388158);function t1(e){if("string"==typeof e)try{return JSON.parse(e)}catch{return}}var t2=e.i(7955),t4=e.i(485147);t4.BLOCKS.TABLE,t4.BLOCKS.TABLE_CELL,t4.BLOCKS.TABLE_HEADER_CELL,t4.BLOCKS.TABLE_ROW;var t6=e.i(553908),t3=e.i(104009),t3=t3;e.s(["useProductMeta",0,function({avgRating:e,contentfulProduct:t,customerCountryCode:a="US",goodReview:r,numReviews:o,productData:i}){let l=i?.seoTitle,n=i?.seoDescription?.seoDescription,d=i?.seoKeywords,s=(0,p.useMemo)(()=>{let e;return n?n:(!(e=function(e){if(null==e)return null;if((0,t0.isRichTextDocument)(e))return e;if("object"==typeof e){if("json"in e&&(0,t0.isRichTextDocument)(e.json))return e.json;if("raw"in e){let t=e.raw;if((0,t0.isRichTextDocument)(t))return t;let a=t1(t);
1655if(a&&(0,t0.isRichTextDocument)(a))return a}}if("string"==typeof e){let t=t1(e);if(t&&(0,t0.isRichTextDocument)(t))return t}return null}(i?.productDescription??t2.emptyRichText))?"":(0,t0.renderToHtml)(e)).replace(/<[^>]+>/g," ")},[n,i]),c=(0,p.useMemo)(()=>{let i=(0,D.get)(t,"variants.0")??{};return{description:s,images:(0,t6.map)((0,D.get)(t,"variants.0.images")??[],e=>e.url),keywords:d,name:(0,D.get)(t,"productName"),price:(0,L.getMarketAmount)(i,a,"price")??0,sku:(0,D.get)(t,"variants.0.sku"),url:(0,D.get)(t,"slug"),...e>0&&o>0?{ratingValue:e>4?(0,t3.default)(e):void 0,reviewCount:(0,t3.default)(o)}:{},...r?{reviewAuthor:(0,D.get)(r,"user.display_name")??"Anonymous",reviewBody:r.content,reviewRating:(0,t3.default)(r.score)}:{}}},[t,s,d,e,o,r,a]);return{description:s,productMetaData:c,seoDescription:n,seoKeywords:d,seoTitle:l}}],365550);var t5=e.i(520667),t8=e.i(369104);let t9=function(e,t){var a=[];return(0,t8.default)(e,function(e,r,o){t(e,r,o)&&a.push(e)}),a};var t7=e.i(644071);let ae=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}};e.s(["reject",0,function(e,t){return((0,t7.default)(e)?t5.default:t9)(e,ae((0,tU.default)(t,3)))}],892365);var at=e.i(143881),aa=e.i(327925),ar=e.i(37557);e.s(["slice",0,function(e,t,a){var r=null==e?0:e.length;return r?(a&&"number"!=typeof a&&(0,aa.default)(e,t,a)?(t=0,a=r):(t=null==t?0:(0,ar.default)(t),a=void 0===a?r:(0,ar.default)(a)),(0,at.default)(e,t,a)):[]}],683462);var ao=e.i(61006),ai=e.i(522016);let al=u.default.div`
1656  flex-direction: column;
1657  display: flex;
1658  width: 100%;
1659`,an=p.default.forwardRef((e,t)=>(0,a.jsx)(al,{ref:t,...e,"data-component":"BundleSaveBlock-Container"}));an.displayName="Container";let ad=u.default.div`
1660  ${n.smallcapsBold14Styles}
1661  color: ${l.default.brandOrange};
1662  margin-bottom: 16px;
1663`,as=p.default.forwardRef((e,t)=>(0,a.jsx)(ad,{ref:t,...e,"data-component":"BundleSaveBlock-Headline"}));as.displayName="Headline";let ac=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1664  display: flex;
1665  flex-direction: row;
1666  align-items: center;
1667  width: 100%;
1668  padding: 16px;
1669  border: 1px solid
1670    ${({$selected:e})=>e?l.default.black:l.default.dividerLineGray};
1671  border-radius: 6px;
1672  background-color: ${l.default.white};
1673  cursor: pointer;
1674  transition: border-color ${o.default.medium} ${o.cubicBezierBackgroundColor};
1675
1676  & + & {
1677    margin-top: 8px;
1678  }
1679`,au=p.default.forwardRef((e,t)=>(0,a.jsx)(ac,{ref:t,...e,"data-component":"BundleSaveBlock-Card"}));au.displayName="Card";let ap=(0,u.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1680  flex-shrink: 0;
1681  width: 20px;
1682  height: 20px;
1683  border-radius: 50%;
1684  border: 2px solid
1685    ${({$selected:e})=>e?l.default.black:l.default.mediumGray};
1686  display: flex;
1687  align-items: center;
1688  justify-content: center;
1689  margin-right: 12px;
1690  transition: border-color ${o.default.medium} ${o.cubicBezierBackgroundColor};
1691`,af=p.default.forwardRef((e,t)=>(0,a.jsx)(ap,{ref:t,...e,"data-component":"BundleSaveBlock-RadioOuter"}));af.displayName="RadioOuter";let am=u.default.div`
1692  width: 10px;
1693  height: 10px;
1694  border-radius: 50%;
1695  background-color: ${l.default.black};
1696`,ag=p.default.forwardRef((e,t)=>(0,a.jsx)(am,{ref:t,...e,"data-component":"BundleSaveBlock-RadioDot"}));ag.displayName="RadioDot";let ax=u.default.div`
1697  position: relative;
1698  flex-shrink: 0;
1699  display: flex;
1700  width: 64px;
1701  height: 64px;
1702  margin-right: 12px;
1703
1704  .image-helper-container {
1705    flex-shrink: 0;
1706    width: 100%;
1707    height: auto;
1708
1709    img {
1710      object-fit: contain;
1711    }
1712  }
1713`,ah=p.default.forwardRef((e,t)=>(0,a.jsx)(ax,{ref:t,...e,"data-component":"BundleSaveBlock-CardImageWrapper"}));ah.displayName="CardImageWrapper";let ay=u.default.div`
1714  flex: 1;
1715  min-width: 0;
1716`,av=p.default.forwardRef((e,t)=>(0,a.jsx)(ay,{ref:t,...e,"data-component":"BundleSaveBlock-CardContent"}));av.displayName="CardContent";let ab=u.default.div`
1717  ${n.body14BoldStyles}
1718  margin-bottom: 4px;
1719`,aw=p.default.forwardRef((e,t)=>
1719(0,a.jsx)(ab,{ref:t,...e,"data-component":"BundleSaveBlock-ProductName"}));aw.displayName="ProductName";let aj=u.default.button`
1720  ${n.body14Styles}
1721  display: inline-flex;
1722  align-items: center;
1723  gap: 4px;
1724  padding: 0;
1725  margin-bottom: 4px;
1726  color: ${l.default.mediumDarkGray};
1727  background: none;
1728  border: none;
1729  border-bottom: 1px solid ${l.default.mediumDarkGray};
1730  cursor: pointer;
1731
1732  svg {
1733    width: 10px;
1734    height: 10px;
1735    transform: rotate(90deg);
1736  }
1737`,aS=p.default.forwardRef((e,t)=>(0,a.jsx)(aj,{ref:t,...e,"data-component":"BundleSaveBlock-VariantTrigger"}));aS.displayName="VariantTrigger";let ak=u.default.div`
1738  display: flex;
1739  flex-direction: row;
1740  align-items: center;
1741  gap: 8px;
1742  flex-wrap: wrap;
1743`,a$=p.default.forwardRef((e,t)=>(0,a.jsx)(ak,{ref:t,...e,"data-component":"BundleSaveBlock-PriceRow"}));a$.displayName="PriceRow";let aC=u.default.span`
1744  ${n.body14Styles}
1745  text-decoration: line-through;
1746  color: ${l.default.mediumGray};
1747`,aR=p.default.forwardRef((e,t)=>(0,a.jsx)(aC,{ref:t,...e,"data-component":"BundleSaveBlock-OriginalPrice"}));aR.displayName="OriginalPrice";let aP=u.default.span`
1748  ${n.body14BoldStyles}
1749`,aN=p.default.forwardRef((e,t)=>(0,a.jsx)(aP,{ref:t,...e,"data-component":"BundleSaveBlock-CurrentPrice"}));aN.displayName="CurrentPrice";let aI=u.default.span`
1750  ${n.body14Styles}
1751  color: ${l.default.brandGreen};
1752  font-size: 12px;
1753  line-height: 16px;
1754`,aB=p.default.forwardRef((e,t)=>(0,a.jsx)(aI,{ref:t,...e,"data-component":"BundleSaveBlock-SavingsBadge"}));aB.displayName="SavingsBadge";let aT=u.default.div`
1755  ${n.body14Styles}
1756  color: ${l.default.brandGreen};
1757  font-size: 12px;
1758  line-height: 16px;
1759  margin-top: 4px;
1760`,aD=p.default.forwardRef((e,t)=>(0,a.jsx)(aT,{ref:t,...e,"data-component":"BundleSaveBlock-BundleHint"}));aD.displayName="BundleHint";let aM=u.default.button`
1761  ${n.body14Styles}
1762  display: inline-flex;
1763  align-items: center;
1764  gap: 4px;
1765  padding: 0;
1766  margin-top: 6px;
1767  font-size: 12px;
1768  line-height: 16px;
1769  color: ${l.default.mediumDarkGray};
1770  background: none;
1771  border: none;
1772  border-bottom: 1px solid ${l.default.mediumDarkGray};
1773  cursor: pointer;
1774`,aO=p.default.forwardRef((e,t)=>(0,a.jsx)(aM,{ref:t,...e,"data-component":"BundleSaveBlock-ChangeButton"}));aO.displayName="ChangeButton";let aA=u.default.div`
1775  display: flex;
1776  flex-direction: row;
1777  align-items: center;
1778  gap: 8px;
1779  margin-top: 16px;
1780  padding: 12px 0;
1781  border-top: 1px solid ${l.default.dividerLineGray};
1782  flex-wrap: wrap;
1783`,aF=p.default.forwardRef((e,t)=>(0,a.jsx)(aA,{ref:t,...e,"data-component":"BundleSaveBlock-TotalRow"}));aF.displayName="TotalRow";let aE=u.default.span`
1784  ${n.body14BoldStyles}
1785`,aL=p.default.forwardRef((e,t)=>(0,a.jsx)(aE,{ref:t,...e,"data-component":"BundleSaveBlock-TotalLabel"}));aL.displayName="TotalLabel";let aW=u.default.span`
1786  ${n.body14Styles}
1787  text-decoration: line-through;
1788  color: ${l.default.mediumGray};
1789`,aG=p.default.forwardRef((e,t)=>(0,a.jsx)(aW,{ref:t,...e,"data-component":"BundleSaveBlock-TotalOriginal"}));aG.displayName="TotalOriginal";let aV=u.default.span`
1790  ${n.body14BoldStyles}
1791`,aU=p.default.forwardRef((e,t)=>(0,a.jsx)(aV,{ref:t,...e,"data-component":"BundleSaveBlock-TotalPrice"}));aU.displayName="TotalPrice";let a_=u.default.span`
1792  ${n.body14Styles}
1793  color: ${l.default.brandGreen};
1794`,aH=p.default.forwardRef((e,t)=>(0,a.jsx)(a_,{ref:t,...e,"data-component":"BundleSaveBlock-TotalSavings"}));aH.displayName="TotalSavings";let az=(0,u.default)("button",{shouldForwardProp:e=>!e.startsWith("$")})`
1795  ${n.smallcapsBold13Styles}
1796  display: flex;
1797  width: 100%;
1798  height: 48px;
1799  align-items: center;
1800  justify-content: center;
1801  color: ${l.default.offWhite};
1802  transition: background-color ${o.default.medium} ${o.cubicBezierBackgroundColor};
1803  background-color: ${({disabled:e})=>e?l.default.mediumGray:l.default.black};
1804  border: none;
1805  border-radius: 2px;
1806  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1807  margin-top: 16px;
1808
1809  &:focus {
1810    outline: none;
1811  }
1812
1813  &:active {
1814    background-color: ${({disabled:e})=>e?l.default.mediumGray:l.default.black};
1815  }
1816
1817  @media ${i.default.laptop} {
1818    &:hover {
1819      background-color: ${({disabled:e})=>e?l.default.mediumGray:l.default.hoverBlack};
1820    }
1821  }
1822`,aq=p.default.forwardRef((e,t)=>
1822(0,a.jsx)(az,{ref:t,...e,"data-component":"BundleSaveBlock-AddToCartButton"}));aq.displayName="AddToCartButton",e.s(["default",0,({currencyCode:e,discountPercentage:t,headline:r,items:o,onAddToCart:i,onSelectItem:n,perItemBundleHint:s,selectedItemId:c})=>{let u=(0,d.useT)(),p=e=>e?u(e):e,f=o.find(e=>e.id===c),{formatPrice:m}=(0,F.useFormatPrice)(),g=e=>null==t||0===t?null:e*(1-t/100),x=f?.price??null,h=null!=x?g(x):null,y=null!=x&&null!=h?x-h:null;return(0,a.jsxs)(an,{children:[(0,a.jsx)(as,{children:p(r)}),o.map(r=>{let o=c===r.id,i=null!=r.price?g(r.price):null,d=r.slug?(0,ao.getProductURL)(r.slug):"";return(0,a.jsxs)(au,{$selected:o,onClick:()=>n(r.id),children:[(0,a.jsx)(af,{$selected:o,children:o&&(0,a.jsx)(ag,{})}),(0,a.jsx)(ai.default,{onClick:e=>e.stopPropagation(),style:{flexShrink:0,pointerEvents:d?"auto":"none"},href:d,children:(0,a.jsx)(ah,{children:(0,a.jsx)(A.default,{alt:(0,E.getProductThumbnailAlt)(r.needsSelection?r.selectorLabel||"Product":r.productName),src:r.needsSelection&&r.selectorImage||r.productImage})})}),(0,a.jsxs)(av,{children:[(0,a.jsx)(aw,{children:p(r.needsSelection?r.selectorLabel:r.productName)}),r.variantLabel&&(0,a.jsxs)(aS,{onClick:e=>{e.stopPropagation(),r.onOpenSelector()},children:[r.variantLabel,(0,a.jsx)(O.Chevron,{strokeColor:l.default.mediumDarkGray})]}),r.needsSelection&&!r.variantLabel&&(0,a.jsxs)(aS,{onClick:e=>{e.stopPropagation(),r.onOpenSelector()},children:[u("Select"),(0,a.jsx)(O.Chevron,{strokeColor:l.default.mediumDarkGray})]}),null!=r.price&&(0,a.jsxs)(a$,{children:[null!=i&&(0,a.jsx)(aR,{children:m(r.price,e)}),(0,a.jsx)(aN,{children:null!=i?m(i,e):m(r.price,e)}),null!=i&&(0,a.jsx)(aB,{children:u("Save {pct}%").replace("{pct}",String(t))})]}),s&&(0,a.jsx)(aD,{children:s}),r.onChange&&(0,a.jsx)(aO,{onClick:e=>{e.stopPropagation(),r.onChange?.()},children:u("Change")})]})]},r.id)}),f&&null!=x&&(0,a.jsxs)(aF,{children:[(0,a.jsx)(aL,{children:u("Total:")}),null!=y&&y>0&&(0,a.jsx)(aG,{children:m(x,e)}),(0,a.jsx)(aU,{children:null!=h?m(h,e):m(x,e)}),null!=y&&y>0&&(0,a.jsx)(aH,{children:u("(Save {amount})").replace("{amount}",m(y,e))})]}),(0,a.jsx)(aq,{disabled:!c||!!f?.pendingSelection,onClick:i,children:c?u("Add 1 Item to Cart"):u("Select an Item")})]})}],304295);var aK=e.i(155487),aY=e.i(846944),aZ=e.i(880202),aX=e.i(653145),aQ=e.i(499683),aJ=e.i(383417);let a0=u.default.div`
1823  display: flex;
1824  flex-direction: column;
1825`,a1=p.default.forwardRef((e,t)=>(0,a.jsx)(a0,{ref:t,...e,"data-component":"OutOfStockModal-Container"}));a1.displayName="Container";let a2=u.default.div`
1826  @media ${i.default.laptop} {
1827    flex-shrink: 0;
1828    justify-content: space-between;
1829    display: flex;
1830    width: 100%;
1831  }
1832`,a4=p.default.forwardRef((e,t)=>(0,a.jsx)(a2,{ref:t,...e,"data-component":"OutOfStockModal-Row"}));a4.displayName="Row";let a6=u.default.div`
1833  display: flex;
1834  height: 72px;
1835  margin-bottom: 40px;
1836  padding: 0 20px;
1837  flex-direction: row;
1838  align-items: center;
1839  border-bottom: 1px solid ${l.default.dividerLineGray};
1840
1841  @media ${i.default.laptop} {
1842    width: calc(3.5 / 12 * 100vw);
1843    height: 56px;
1844    margin-bottom: 100px;
1845    padding: 0 calc(1 / 12 * 100vw) 0 0;
1846    border-bottom: none;
1847  }
1848`,a3=p.default.forwardRef((e,t)=>(0,a.jsx)(a6,{ref:t,...e,"data-component":"OutOfStockModal-Header"}));a3.displayName="Header";let a5=u.default.button`
1849  width: 32px;
1850  height: 32px;
1851  margin-right: 8px;
1852  padding: 0;
1853  transform: rotate(180deg) translateY(1px);
1854  background: none;
1855  border: none;
1856  outline: none;
1857  cursor: pointer;
1858
1859  @media ${i.default.laptop} {
1860    display: none;
1861  }
1862`,a8=p.default.forwardRef((e,t)=>(0,a.jsx)(a5,{ref:t,...e,"data-component":"OutOfStockModal-HeaderButton"}));a8.displayName="HeaderButton";let a9=u.default.div`
1863  ${n.smallcapsBold13Styles}
1864
1865  @media ${i.default.laptop} {
1866    ${n.h4Styles}
1867  }
1868`,a7=p.default.forwardRef((e,t)=>(0,a.jsx)(a9,{ref:t,...e,"data-component":"OutOfStockModal-HeaderText"}));a7.displayName="HeaderText";let re=u.default.div`
1869  display: flex;
1870  padding: 0 20px;
1871  flex-direction: column;
1872
1873  @media ${i.default.laptop} {
1874    padding: 0;
1875    flex-direction: row;
1876  }
1877`,rt=p.default.forwardRef((e,t)=>
1877(0,a.jsx)(re,{ref:t,...e,"data-component":"OutOfStockModal-Content"}));rt.displayName="Content";let ra=u.default.div`
1878  margin-bottom: 25px;
1879
1880  @media ${i.default.laptop} {
1881    width: calc(3.5 / 12 * 100vw);
1882    margin-bottom: 0;
1883  }
1884`,rr=p.default.forwardRef((e,t)=>(0,a.jsx)(ra,{ref:t,...e,"data-component":"OutOfStockModal-FormHeader"}));rr.displayName="FormHeader";let ro=u.default.div`
1885  ${n.h4Styles}
1886  color: ${l.default.black};
1887  text-transform: uppercase;
1888
1889  @media ${i.default.laptop} {
1890    ${n.paragraphStyles}
1891    width: calc(2 / 12 * 100vw);
1892    color: ${l.default.mediumDarkGray};
1893    text-transform: none;
1894  }
1895`,ri=p.default.forwardRef((e,t)=>(0,a.jsx)(ro,{ref:t,...e,"data-component":"OutOfStockModal-Banner"}));ri.displayName="Banner";let rl=u.default.form`
1896  display: flex;
1897  flex-direction: column;
1898
1899  @media ${i.default.laptop} {
1900    flex: 1;
1901    flex-direction: row;
1902    flex-wrap: wrap;
1903    justify-content: flex-end;
1904  }
1905`,rn=p.default.forwardRef((e,t)=>(0,a.jsx)(rl,{ref:t,...e,"data-component":"OutOfStockModal-StyledForm"}));rn.displayName="StyledForm";let rd=u.default.div`
1906  display: flex;
1907  margin-top: 24px;
1908  flex-direction: column;
1909
1910  @media ${i.default.laptop} {
1911    width: calc(50% - 12px);
1912    margin-top: 0;
1913    margin-bottom: 34px;
1914  }
1915`,rs=p.default.forwardRef((e,t)=>(0,a.jsx)(rd,{ref:t,...e,"data-component":"OutOfStockModal-FormControl"}));rs.displayName="FormControl";let rc=u.default.button`
1916  ${n.smallcapsBold13Styles}
1917  width: 100%;
1918  height: 48px;
1919  margin-top: 48px;
1920  padding-top: 4px;
1921  color: ${l.default.offWhite};
1922  background: ${l.default.black};
1923  border-radius: 2px;
1924  border: none;
1925  cursor: pointer;
1926
1927  &:focus {
1928    outline-color: ${l.default.hoverBlack};
1929  }
1930
1931  @media ${i.default.laptop} {
1932    width: 148px;
1933    margin-top: 58px;
1934  }
1935`,ru=p.default.forwardRef((e,t)=>(0,a.jsx)(rc,{ref:t,...e,"data-component":"OutOfStockModal-Button"}));ru.displayName="Button";let rp=aQ.object().shape({email:aQ.string().email("Invalid email address").required("Email is required"),firstName:aQ.string().required("First name is required"),lastName:aQ.string().required("Last name is required"),mobilePhone:aQ.string().required("Phone number is required")}),rf=(0,aK.connect)(e=>({email:e.customer.data.emailAddress}))(e=>{let t=(0,d.useT)(),[r,o]=p.default.useState(null),[i,n]=p.default.useState(null),{formState:{errors:s},handleSubmit:u,register:f}=(0,aX.useForm)({defaultValues:{email:"",firstName:"",lastName:"",mobilePhone:""},mode:"onSubmit",resolver:(0,aZ.yupResolver)(rp)});p.default.useEffect(()=>{let e=(0,tG.getLocalStorage)(tL.CUSTOMER_COUNTRY_CODE_KEY);e&&o(e);let t=(0,tG.getRawLocalStorage)(tL.MAESTRA_DEVICE_UUID_KEY);t&&n(t)},[]);let m=async t=>{let a={countryCode:r,deviceUUID:i,email:t.email,firstName:t.firstName,lastName:t.lastName,mobilePhone:t.mobilePhone,shopifyID:e.variantId};await (0,tV.postOutOfStock)(a,()=>{e.showSuccess&&e.showSuccess()})};return(0,a.jsx)(aJ.default,{...e,children:(0,a.jsxs)(a1,{children:[(0,a.jsx)(c.MobileOnly,{children:(0,a.jsxs)(a3,{onClick:e.onRequestClose,children:[(0,a.jsx)(a8,{children:(0,a.jsx)(O.Chevron,{strokeColor:l.default.black})}),(0,a.jsx)(a7,{children:t("Out of Stock Notification")})]})}),(0,a.jsx)(c.DesktopOnly,{children:(0,a.jsx)(a3,{children:(0,a.jsx)(a7,{children:t("Out of Stock Notification")})})}),(0,a.jsxs)(rt,{children:[(0,a.jsx)(rr,{children:(0,a.jsx)(ri,{children:t("We’ll notify you as soon as this product is available for purchase.")})}),(0,a.jsxs)(rn,{onSubmit:u(m),children:[(0,a.jsxs)(a4,{children:[(0,a.jsx)(rs,{children:(0,a.jsx)(aY.default,{error:void 0!==s.firstName,label:t("First Name"),placeholder:t("First Name"),type:"text",...f("firstName")})}),(0,a.jsx)(rs,{children:(0,a.jsx)(aY.default,{error:void 0!==s.lastName,label:t("Last Name"),placeholder:t("Last Name"),type:"text",...f("lastName")})})]}),(0,a.jsxs)(a4,{children:[(0,a.jsx)(rs,{children:(0,a.jsx)(aY.default,{error:void 0!==s.mobilePhone,label:t("Phone Number"),placeholder:t("Phone Number"),type:"text",...f("mobilePhone")})}),(0,a.jsx)(rs,{children:(0,a.jsx)(aY.default,{error:void 0!==s.email,label:t("Email"),placeholder:t("Email"),type:"email",...f("email")})})]}),(0,a.jsx)(ru,{type:"submit",children:t("Sign Up")})]})]})]})})});e.s(["default",0,rf],827262),e.i(673458);var rm=e.i(242339);let rg=(0,u.default)(rm.LegalGuaranteeTrigger)`
1936  ${n.body14Styles}
1937  align-self: flex-start;
1938  margin-top: 12px;
1939  color: ${l.default.mediumDarkGray};
1940  text-decoration: underline;
1941
1942  &:hover {
1943    color: ${l.default.black};
1944  }
1945`;e.s(["default",0,rg],560523)},556693,553908,987521,108004,667265,988623,508097,315011,348419,3058,887073,835981,123355,353064,844304,211726,237233,35993,9065,9
194560410,910646,229153,897727,747539,e=>{"use strict";var t,a,r=e.i(843476),o=e.i(272064),i=e.i(642624),l=e.i(299658),n=e.i(245733),d=e.i(116664),s=e.i(884364),c=e.i(702364),u=e.i(169109),p=e.i(982735),f=e.i(450266),m=e.i(398545),g=e.i(644071);let x=function(e,t){return((0,g.default)(e)?p.default:m.default)(e,(0,f.default)(t,3))};e.s(["map",0,x],553908);var h=e.i(271645),y=e.i(719507),v=e.i(926113);let b=c.default.div`
1946  flex-wrap: wrap;
1947  align-items: flex-start;
1948  display: flex;
1949`,w=h.default.forwardRef((e,t)=>(0,r.jsx)(b,{ref:t,...e,"data-component":"ImageThumbnails-Container"}));w.displayName="Container";let j=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1950  position: relative;
1951  width: 80px;
1952  height: 80px;
1953  margin-right: 12px;
1954  margin-bottom: 12px;
1955  padding: 0px;
1956  transition: background-color ${l.default.quick} ${l.cubicBezier};
1957  background-color: ${d.default.reviewGray};
1958
1959  @media ${n.default.laptop} {
1960    &:hover {
1961      background-color: ${d.default.reviewGrayHover};
1962      cursor: ${({$showHover:e})=>e?"pointer":"default"};
1963    }
1964  }
1965
1966  .image-helper-container {
1967    flex-grow: 0;
1968    flex-shrink: 0;
1969    width: 100%;
1970    height: auto;
1971
1972    img {
1973      object-fit: contain;
1974    }
1975  }
1976`,S=h.default.forwardRef((e,t)=>(0,r.jsx)(j,{ref:t,...e,"data-component":"ImageThumbnails-ImageWrapper"}));S.displayName="ImageWrapper";let k=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1977  ${v.smallcapsBold14Styles}
1978  align-items: center;
1979  justify-content: center;
1980  display: flex;
1981  width: 80px;
1982  height: 80px;
1983  transition: background-color ${l.default.quick} ${l.cubicBezier};
1984  background-color: ${d.default.backgroundGrayHover};
1985  color: ${d.default.black};
1986
1987  @media ${n.default.laptop} {
1988    &:hover {
1989      background-color: ${d.default.backgroundGrayHoverHover};
1990      cursor: ${({$showHover:e})=>e?"pointer":"default"};
1991    }
1992  }
1993`,$=h.default.forwardRef((e,t)=>(0,r.jsx)(k,{ref:t,...e,"data-component":"ImageThumbnails-Count"}));$.displayName="Count";let C=({images:e,imagesToShow:t,onClickCount:a})=>{let o=e.slice(0,t||4);return(0,r.jsxs)(w,{children:[o.map((e,t)=>(0,r.jsx)(S,{$showHover:!!e.onClick,className:"image-thumbnails-image-wrapper",onClick:e.onClick,children:(0,r.jsx)(i.default,{alt:e.alt||"",src:e.thumbnail||e.image})},`${t}-${e.image}`)),o.length<e.length&&(0,r.jsxs)($,{$showHover:!!a,onClick:a,children:["+",e.length-o.length]})]})},R=c.default.div`
1994  display: flex;
1995  flex-direction: row;
1996  align-items: center;
1997`,P=h.default.forwardRef((e,t)=>(0,r.jsx)(R,{ref:t,...e,"data-component":"Stars-Container"}));P.displayName="Container";let N=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
1998  width: 14.17px;
1999  height: 14.17px;
2000  margin-right: 4px;
2001  opacity: ${e=>e.$filled?1:.3};
2002  line-height: initial;
2003
2004  @media ${n.default.laptop} {
2005    width: 18.96px;
2006    height: 17.63px;
2007    margin-right: 8px;
2008  }
2009
2010  svg {
2011    vertical-align: initial;
2012  }
2013`,I=h.default.forwardRef((e,t)=>(0,r.jsx)(N,{ref:t,...e,"data-component":"Stars-Icon"}));I.displayName="Icon";let B=e=>(0,r.jsx)(P,{className:e.className,children:[,,,,,].fill(null).map((t,a)=>(0,r.jsx)(I,{$filled:a<e.stars,children:(0,r.jsx)(o.Star,{})},a))});e.s(["default",0,B],987521);var T=e.i(572852),D=e.i(822315),M=e.i(739730),O=e.i(45702),O=O,A=e.i(653411),F=e.i(84514);let E=function(e,t,a){for(var r=a+1;r--&&e[r]!==t;);return r};var L=e.i(37557),W=Math.max,G=Math.min;let V=function(e,t,a){var r=null==e?0:e.length;if(!r)return -1;var o=r;return void 0!==a&&(o=(o=(0,L.default)(a))<0?W(r+o,0):G(o,r-1)),t==t?E(e,t,o):(0,A.default)(e,F.default,o,!0)};var U=e.i(948253),_=e.i(980427),H=(0,U.default)(function(e,t,a){return e+(a?" ":"")+(0,_.default)(t)}),z=e.i(568203),z=z,q=e.i(718970);let K=c.default.div``,Y=h.default.forwardRef((e,t)=>(0,r.jsx)(K,{ref:t,...e,"data-component":"Review-Container"}));Y.displayName="Container";let Z=(0,c.default)(B)`
2014  margin-bottom: 16px;
2015`,X=c.default.div`
2016  ${v.body16MainStyles}
2017  margin-bottom: 16px;
2018  opacity: 0.7;
2019  color: ${d.default.mediumDarkGray};
2020`,Q=h.default.forwardRef((e,t)=>(0,r.jsx)(X,{ref:t,...e,"data-component":"Review-Author"}));Q.displayName="Author";let J=c.default.div`
2021  ${v.body16BoldStyles}
2022  margin-bottom: 12px;
2023  color: ${d.default.black};
2024`,ee=h.default.forwardRef((e,t)=>
2024(0,r.jsx)(J,{ref:t,...e,"data-component":"Review-Title"}));ee.displayName="Title";let et=c.default.div`
2025  ${v.body16MainStyles}
2026  opacity: 0.5;
2027  color: ${d.default.black};
2028
2029  @media ${n.default.laptop} {
2030    ${v.body16MainStyles}
2031    margin-bottom: 24px;
2032    opacity: 1;
2033    color: ${d.default.mediumGray};
2034  }
2035`,ea=h.default.forwardRef((e,t)=>(0,r.jsx)(et,{ref:t,...e,"data-component":"Review-Body"}));ea.displayName="Body";let er=c.default.div`
2036  .image-thumbnails-image-wrapper {
2037    margin-right: 8px;
2038    margin-bottom: 24px;
2039  }
2040`,eo=h.default.forwardRef((e,t)=>(0,r.jsx)(er,{ref:t,...e,"data-component":"Review-Thumbnails"}));eo.displayName="Thumbnails";let ei=({onClickImage:e,review:t})=>{let a,o=(0,q.useT)(),i=(0,M.get)(t,"user.display_name"),l=(0,M.get)(t,"created_at"),n=(0,M.get)(t,"title"),d=(0,M.get)(t,"content"),s=parseInt((0,M.get)(t,"score")),c=(e=>{let t=H(e),a=(0,z.default)(t),r=(0,O.default)(a);if(a.length>1&&r){let e=V(a,r),t=r.charAt(0);return a[e]=`${t}.`,a.join(" ")}return e})(i),u=(0,D.default)(l).format("M/D/YY"),[p,f]=h.default.useState(n),[m,g]=h.default.useState(d);return h.default.useEffect(()=>{if(DOMParser){let e=e=>new DOMParser().parseFromString(e,"text/html").documentElement.textContent;f(e(n)||""),g(e(d)||"")}},[n,d]),t.images_data&&(a=t.images_data.map(a=>({alt:t.title,id:a.id,image:a.original_url,onClick:()=>{e(a.id)},review:t.id,thumbnail:a.thumb_url}))),(0,r.jsxs)(Y,{children:[(0,r.jsxs)(T.DesktopOnly,{children:[(0,r.jsx)(Z,{stars:s}),(0,r.jsx)(Q,{children:o("{author} on {date}").replace("{author}",c).replace("{date}",u)}),(0,r.jsx)(ee,{children:p}),(0,r.jsx)(ea,{children:m})]}),a&&(0,r.jsx)(eo,{children:(0,r.jsx)(C,{images:a,imagesToShow:a.length})}),(0,r.jsxs)(T.MobileOnly,{children:[(0,r.jsx)(Z,{stars:s}),(0,r.jsx)(Q,{children:o("{author} on {date}").replace("{author}",c).replace("{date}",u)}),(0,r.jsx)(ee,{children:p}),(0,r.jsx)(ea,{children:m})]})]})};var el=e.i(980095);let en=c.default.div`
2041  flex-direction: row;
2042  flex-wrap: nowrap;
2043  display: flex;
2044  overflow-x: auto;
2045  -webkit-overflow-scrolling: touch;
2046  background-color: ${d.default.white};
2047
2048  @media ${n.default.mobileOnly} {
2049    margin-bottom: -20px;
2050    padding: 20px 20px 40px;
2051  }
2052
2053  @media ${n.default.laptop} {
2054    width: calc(7 / 12 * 100vw);
2055    padding: 24px 32px 0;
2056  }
2057
2058  -ms-overflow-style: none;
2059  scrollbar-width: none;
2060  ::-webkit-scrollbar {
2061    display: none;
2062  }
2063`,ed=h.default.forwardRef((e,t)=>(0,r.jsx)(en,{ref:t,...e,"data-component":"Slider-Container"}));ed.displayName="Container";let es=c.default.div`
2064  display: inline-flex;
2065  flex-direction: row;
2066`,ec=h.default.forwardRef((e,t)=>(0,r.jsx)(es,{ref:t,...e,"data-component":"Slider-Item"}));ec.displayName="Item";let eu=c.default.div`
2067  position: relative;
2068  width: 136px;
2069  height: 136px;
2070  margin: 0;
2071  padding: 0;
2072  transition: background-color ${l.default.quick} ${l.cubicBezier};
2073  background-color: ${d.default.reviewGray};
2074
2075  @media ${n.default.laptop} {
2076    &:hover {
2077      background-color: ${d.default.reviewGrayHover};
2078      cursor: pointer;
2079    }
2080  }
2081
2082  .image-helper-container {
2083    flex-grow: 0;
2084    flex-shrink: 0;
2085    width: 100%;
2086    height: auto;
2087
2088    img {
2089      object-fit: contain;
2090    }
2091  }
2092`,ep=h.default.forwardRef((e,t)=>(0,r.jsx)(eu,{ref:t,...e,"data-component":"Slider-ImageWrapper"}));ep.displayName="ImageWrapper";let ef=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
2093  position: absolute;
2094  top: 0;
2095  display: ${({$show:e})=>e?"initial":"none"};
2096  width: 100%;
2097  height: 100%;
2098  background-color: rgba(0, 0, 0, 0.65);
2099`,em=h.default.forwardRef((e,t)=>(0,r.jsx)(ef,{ref:t,...e,"data-component":"Slider-ItemOverlay"}));em.displayName="ItemOverlay";let eg=c.default.div`
2100  width: 8px;
2101  height: 136px;
2102  background: transparent;
2103
2104  @media ${n.default.laptop} {
2105    width: 12px;
2106  }
2107`,ex=h.default.forwardRef((e,t)=>(0,r.jsx)(eg,{ref:t,...e,"data-component":"Slider-Spacer"}));ex.displayName="Spacer";let eh=c.default.div`
2108  width: 20px;
2109  height: 136px;
2110  background: transparent;
2111
2112  @media ${n.default.laptop} {
2113    width: 32px;
2114  }
2115`,ey=h.default.forwardRef((e,t)=>(0,r.jsx)(eh,{ref:t,...e,"data-component":"Slider-FinalSpacer"}));ey.displayName="FinalSpacer";let ev=(0,c.default)(el.default)`
2116  padding: 0 0 0 20px;
2117  background-color: ${d.default.white};
2118
2119  @media ${n.default.laptop} {
2120    padding: 24px 32px;
2121  }
2122`,eb=h.default.forwardRef((e,t)=>(0,r.jsx)(ev,{ref:t,...e,"data-component":"Slider-CustomScrollbar"}));eb.displayName="CustomScrollbar";let ew=c.default.div`
2123  width: 100%;
2124  height: 20px;
2125  background-color: ${d.default.white};
2126  z-index: 10;
2127`,ej=h.default.forwardRef((e,t)=>(0,r.jsx)(ew,{ref:t,...e,"data-component":"Slider-MobileSafariScrollbarHider"}));ej.displayName="MobileSafariScrollbarHider";let eS=e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed,{ref:e.contentRef,children:e.images.map((t,a)=>(0,r.jsxs)(ec,{onClick:t.onClick,children:[(0,r.jsxs)(ep,{children:[(0,r.jsx)(i.default,{alt:t.alt||"",src:t.thumbnail||t.image}),(0,r.jsx)(em,{$show:e.currentImage===t.id})]}),a===e.images.length-1?(0,r.jsx)(ey,{}):(0,r.jsx)(ex,{})]},JSON.stringify(t)))}),(0,r.jsx)(eb,{containerRef:e.contentRef,showControlsOnMobile:!0}),(0,r.jsx)(ej,{})]}),ek=c.default.div`
2128  will-change: transform;
2129  width: 100vw;
2130  min-height: 100vh;
2131  padding: 0;
2132  background-color: ${d.default.white};
2133  pointer-events: initial;
2134
2135  @media ${n.default.laptop} {
2136    transform: translateY(56px);
2137    transition: transform ${l.default.medium} ${l.cubicBezierBackgroundColor};
2138    top: 0;
2139    bottom: 0;
2140    width: calc(7 / 12 * 100vw);
2141    height: calc((7 / 12 * 100vw) / 1.16 + 248px);
2142    margin: auto;
2143    min-height: calc((7 / 12 * 100vw) / 1.16 + 248px);
2144    background-color: transparent;
2145  }
2146`,e$=h.default.forwardRef((e,t)=>(0,r.jsx)(ek,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-Container"}));e$.displayName="Container";let eC=c.default.div`
2147  position: relative;
2148  display: block;
2149  background-color: ${d.default.white};
2150
2151  @media ${n.default.laptop} {
2152    display: flex;
2153  }
2154`,eR=h.default.forwardRef((e,t)=>(0,r.jsx)(eC,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-Content"}));eR.displayName="Content";let eP=c.default.div`
2155  position: absolute;
2156  top: 10px;
2157  right: 10px;
2158
2159  @media ${n.default.laptop} {
2160    top: 16px;
2161    right: 16px;
2162  }
2163`,eN=h.default.forwardRef((e,t)=>(0,r.jsx)(eP,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-CloseButtonWrapper"}));eN.displayName="CloseButtonWrapper";let eI=c.default.button`
2164  width: 32px;
2165  height: 32px;
2166  padding: 2px;
2167  border: none;
2168  border-radius: 2px;
2169  background: ${d.default.dividerLineGray};
2170  cursor: pointer;
2171
2172  &:focus {
2173    outline: solid ${d.default.mediumDarkGray} thin;
2174  }
2175
2176  @media ${n.default.laptop} {
2177    width: 56px;
2178    height: 56px;
2179    padding: 8px;
2180  }
2181`,eB=h.default.forwardRef((e,t)=>
2181(0,r.jsx)(eI,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-CloseButton"}));eB.displayName="CloseButton";let eT=c.default.div`
2182  flex-shrink: 0;
2183  width: 100%;
2184  padding: 48px;
2185  background-color: ${d.default.black};
2186
2187  img {
2188    top: 0px;
2189    bottom: 0px;
2190    left: 0px;
2191    right: 0;
2192    margin: auto;
2193    object-fit: contain;
2194    object-position: center center;
2195  }
2196
2197  @media ${n.default.laptop} {
2198    width: calc(4.5 / 12 * 100vw);
2199    padding: 0;
2200
2201    img {
2202      top: 0px;
2203      bottom: 0px;
2204      left: 0px;
2205      right: 0;
2206      margin: auto;
2207      width: 90%;
2208      height: 90%;
2209      object-fit: contain;
2210      object-position: center center;
2211    }
2212  }
2213`,eD=h.default.forwardRef((e,t)=>(0,r.jsx)(eT,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-ImageWrapper"}));eD.displayName="ImageWrapper";let eM=c.default.div`
2214  flex-shrink: 0;
2215  width: 100%;
2216  padding: 32px 20px;
2217
2218  @media ${n.default.laptop} {
2219    width: calc(2.5 / 12 * 100vw);
2220    padding: 80px 32px 0;
2221  }
2222`,eO=h.default.forwardRef((e,t)=>(0,r.jsx)(eM,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-ReviewWrapper"}));eO.displayName="ReviewWrapper";let eA=c.default.div`
2223  height: 232px;
2224`,eF=h.default.forwardRef((e,t)=>(0,r.jsx)(eA,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-SliderWrapper"}));eF.displayName="SliderWrapper";let eE=c.default.div`
2225  display: none;
2226  height: 16px;
2227  background: transparent;
2228
2229  @media ${n.default.laptop} {
2230    display: initial;
2231  }
2232`,eL=h.default.forwardRef((e,t)=>(0,r.jsx)(eE,{ref:t,...e,"data-component":"ReviewsImageGalleryModal-TransparentDivider"}));eL.displayName="TransparentDivider";let eW=(0,c.default)(({bodyOpenClassName:e,className:t,modalClassName:a,...o})=>(0,r.jsx)(y.default,{className:a,portalClassName:t,...o}))`
2233  .ReactModal__Content {
2234    z-index: 1001;
2235    position: absolute;
2236    top: 0;
2237    left: 0;
2238    right: 0;
2239    bottom: 0;
2240    display: flex;
2241    outline: none;
2242    pointer-events: none;
2243
2244    @media ${n.default.laptop} {
2245      &--after-open {
2246        > div {
2247          transform: translateY(0);
2248        }
2249      }
2250
2251      &--before-close {
2252        > div {
2253          transform: translateY(56px);
2254        }
2255      }
2256    }
2257  }
2258
2259  .ReactModal__Overlay {
2260    z-index: 1001;
2261    position: fixed;
2262    top: 0;
2263    left: 0;
2264    right: 0;
2265    bottom: 0;
2266    opacity: 1;
2267    transform: translateX(100%);
2268    overflow-y: auto;
2269    -webkit-overflow-scrolling: touch;
2270    will-change: opacity, transform;
2271    transition:
2272      opacity ${l.default.quick} ${l.cubicBezierBackgroundColor},
2273      transform ${l.default.medium} ${l.cubicBezierBackgroundColor};
2274    background: none;
2275
2276    @media ${n.default.laptop} {
2277      opacity: 0;
2278      transform: translateX(0);
2279      background: rgba(0, 0, 0, 0.5);
2280    }
2281
2282    &--after-open {
2283      opacity: 1;
2284      transform: translateX(0);
2285    }
2286
2287    &--before-close {
2288      opacity: 1;
2289      transform: translateX(100%);
2290
2291      @media ${n.default.laptop} {
2292        opacity: 0;
2293        transform: translateX(0);
2294      }
2295    }
2296  }
2297`,eG=e=>(0,r.jsx)(eW,{...e}),eV=s.css`
2298  .ReactModal__Body--open {
2299    overflow: hidden;
2300  }
2301  .ReactModal__Html--open {
2302    overflow: hidden;
2303  }
2304`;e.s(["default",0,({initialImage:e,reviews:t,...a})=>{let l=h.default.useRef(null),[n,c]=h.default.useState(),[p,f]=h.default.useState(),m=h.default.useMemo(()=>(0,u.flatten)(x(t,e=>e.images_data?x(e.images_data,t=>({alt:e.title,id:t.id,image:t.original_url,onClick:()=>{c(t.id)},review:e.id,thumbnail:t.thumb_url})):[])).filter(e=>!!e),[t]);h.default.useEffect(()=>{(e||m&&m[0]&&m[0].id)&&c(e||m[0].id)},[e]),h.default.useEffect(()=>{let e=t.find(e=>{if(e.images_data&&e.images_data.length>0)return!!e.images_data.find(e=>e.id===n)});e&&f(e)},[n]);let g=m.find(e=>e.id===n),{className:y,...v}=a;return(0,r.jsxs)(eG,{...v,closeTimeoutMS:250,children:[(0,r.jsxs)(e$,{children:[(0,r.jsxs)(eR,{children:[(0,r.jsx)(eN,{children:(0,r.jsx)(eB,{onClick:a.onRequestClose,type:"button",children:(0,r.jsx)(o.Close,{strokeColor:d.default.mediumDarkGray})})}),(0,r.jsx)(eD,{children:g&&(0,r.jsx)(i.default,{alt:g.alt||"",src:g.image})}),(0,r.jsx)(eO,{children:p&&(0,r.jsx)(ei,{onClickImage:e=>{c("string"==typeof e?parseInt(e,10):e)},review:p})})]}),(0,r.jsx)(eL,{}),(0,r.jsx)(eF,{children:(0,r.jsx)(eS,{contentRef:l,currentImage:n,images:m})})]}),(0,r.jsx)(s.Global,{styles:eV})]})}],556693);var eU=e.i(383417),e_=e.i(421634),eH=e.i(644169);let ez=(({apiKey:e})=>{let t="https://api.yotpo.com",a={accept:"application/json","Content-Type":"application/json"};return{async createProductReview(r){let o=await fetch(`${t}/reviews/dynamic_create`,{body:JSON.stringify({appkey:e,domain:"urban-armor-gear.myshopify.com",...r}),headers:a,method:"post"});if(!o.ok)throw Error(await o.text());let i=await o.json();if(200!==i.status.code)throw Error(i.status.message);return i.response},async getProductReviews(r,o){let i=await fetch(`${t}/v1/widget/${e}/products/${r}/reviews.json?${eH.default.stringify(o)}`,{headers:a});if(!i.ok)throw Error(await i.text());let l=await i.json();if(200!==l.status.code)throw Error(l.status.message);return l.response}}})({apiKey:"M3DJp4H1Fs8TAyTj46wv8O8RZJSSbSibpywZ8pAg"}),eq=()=>({client:ez}
2304),eK=["protection","style","quality","grip","durability","design","fit","value"],eY=(e,t)=>{let{client:a}=eq(),[r,o]=h.default.useState(!1),[i,l]=h.default.useState(),[n,d]=h.default.useState(),[s,c]=h.default.useState([]),[u,p]=h.default.useState(t?.sort||"date"),f=h.default.useRef(t),m=n?.bottomline.average_score??0,g=n?.bottomline.total_review??0,x=n?.reviews.find(({score:e})=>5===e),y=s.length<(n?.pagination.total??0),v=(n?.pagination.page??0)+1,b=h.default.useRef({hasMore:y,loading:r,nextPage:v,reviews:s,sortBy:u});b.current.reviews=s,b.current.hasMore=s.length<(n?.pagination.total??0),b.current.loading=r,b.current.nextPage=(n?.pagination.page??0)+1,b.current.sortBy=u,h.default.useEffect(()=>{(async()=>{try{o(!0);let t={...f.current,direction:"desc",sort:u},r=await a.getProductReviews(e,t);d(r),c(r.reviews)}catch(e){l(e)}finally{o(!1)}})()},[e,u]);let w=async()=>{if(b.current.hasMore&&!b.current.loading)try{o(!0);let t=await a.getProductReviews(e,{...f.current,direction:"desc",page:b.current.nextPage,sort:b.current.sortBy});d(t),c(e=>[...e,...t.reviews])}catch(e){l(e)}finally{o(!1)}};return{avgRating:m,changeSort:e=>{e!==u&&(c([]),d(null),p(e))},data:n,error:i,goodReview:x,hasMore:y,loading:r,loadMore:w,numReviews:g,onScrollFetchMore:w,reviews:s,sortBy:u}};e.s(["extractReviewTags",0,e=>{let t=e.filter(e=>e.score>=4);if(t.length<3)return[];let a={};for(let e of eK)a[e]=0;for(let e of t){let t=`${e.title} ${e.content}`.toLowerCase();for(let e of eK)t.includes(e)&&a[e]++}return eK.filter(e=>a[e]>=2).sort((e,t)=>a[t]-a[e]).slice(0,6).map(e=>e.charAt(0).toUpperCase()+e.slice(1))},"useProductReviews",0,eY],108004);var eZ=e.i(63232),O=O,z=z;let eX=c.default.div`
2305  flex-direction: row;
2306  align-items: center;
2307  display: flex;
2308`,eQ=h.default.forwardRef((e,t)=>(0,r.jsx)(eX,{ref:t,...e,"data-component":"Review-Row"}));eQ.displayName="Row";let eJ=c.default.div`
2309  flex-direction: column;
2310  display: flex;
2311`,e0=h.default.forwardRef((e,t)=>(0,r.jsx)(eJ,{ref:t,...e,"data-component":"Review-Col"}));e0.displayName="Col";let e1=c.default.div`
2312  flex-direction: column;
2313  display: flex;
2314
2315  @media ${n.default.laptop} {
2316    flex-direction: row;
2317
2318    .desktop-only-container {
2319      display: flex;
2320    }
2321  }
2322`,e2=h.default.forwardRef((e,t)=>(0,r.jsx)(e1,{ref:t,...e,"data-component":"Review-Container"}));e2.displayName="Container";let e4=c.default.div`
2323  ${v.body16BoldStyles}
2324  margin-bottom: 8px;
2325  color: ${d.default.black};
2326`,e6=h.default.forwardRef((e,t)=>(0,r.jsx)(e4,{ref:t,...e,"data-component":"Review-Title"}));e6.displayName="Title";let e3=c.default.div`
2327  ${v.paragraphStyles}
2328  width: 100%;
2329  margin-top: 16px;
2330  color: ${d.default.mediumGray};
2331
2332  @media ${n.default.laptop} {
2333    ${v.body16MainStyles}
2334    margin-top: 0;
2335    opacity: 0.5;
2336    color: ${d.default.black};
2337  }
2338`,e5=h.default.forwardRef((e,t)=>(0,r.jsx)(e3,{ref:t,...e,"data-component":"Review-Body"}));e5.displayName="Body";let e8=(0,c.default)(B)`
2339  @media ${n.default.laptop} {
2340    margin-bottom: 16px;
2341  }
2342`,e9=h.default.forwardRef((e,t)=>(0,r.jsx)(e8,{ref:t,...e,"data-component":"Review-Rating"}));e9.displayName="Rating";let e7=c.default.div`
2343  ${v.body14Styles}
2344  flex-wrap: wrap;
2345  margin-left: 16px;
2346  opacity: 0.7;
2347  color: ${d.default.mediumDarkGray};
2348
2349  @media ${n.default.laptop} {
2350    ${v.body16MainStyles}
2351    width: calc(1.25 / 12 * 100vw);
2352    margin-left: 0;
2353    margin-right: 16px;
2354    color: ${d.default.mediumDarkGray};
2355  }
2356`,te=h.default.forwardRef((e,t)=>(0,r.jsx)(e7,{ref:t,...e,"data-component":"Review-Author"}));te.displayName="Author";let tt=c.default.div`
2357  margin-top: 16px;
2358
2359  @media ${n.default.laptop} {
2360    .image-thumbnails-image-wrapper {
2361      margin-right: 16px;
2362      margin-bottom: 16px;
2363    }
2364  }
2365`,ta=h.default.forwardRef((e,t)=>(0,r.jsx)(tt,{ref:t,...e,"data-component":"Review-Thumbnails"}));ta.displayName="Thumbnails";let tr=c.default.div`
2366  width: 100%;
2367  height: 12px;
2368`,to=h.default.forwardRef((e,t)=>(0,r.jsx)(tr,{ref:t,...e,"data-component":"Review-Spacer"}));to.displayName="Spacer";let ti=e=>{let t,a=(0,q.useT)(),o=(0,M.get)(e.data,"user.display_name"),i=(0,M.get)(e.data,"created_at"),l=(0,M.get)(e.data,"title"),n=(0,M.get)(e.data,"content"),d=parseInt(String((0,M.get)(e.data,"score"))),s=(e=>{let t=H(e),a=(0,z.default)(t),r=(0,O.default)(a);if(a.length>1&&r){let e=V(a,r),t=r.charAt(0);return a[e]=`${t}.`,a.join(" ")}return e})(o),c=(0,D.default)(i).format("M/D/YY"),[u,p]=h.default.useState(l),[f,m]=h.default.useState(n);return h.default.useEffect(()=>{if(DOMParser){let e=e=>new DOMParser().parseFromString(e,"text/html").documentElement.textContent;p(e(l)),m(e(n))}},[l,n]),e.data.images_data&&(t=e.data.images_data.map(t=>({alt:e.data.title,id:t.id,image:t.original_url,onClick:()=>{var a;a=t.id,e.onClickImage&&e.onClickImage(a)},review:e.data.id,thumbnail:t.thumb_url}))),(0,r.jsxs)(e2,{className:e.className,children:[(0,r.jsxs)(T.DesktopOnly,{children:[(0,r.jsxs)(e0,{children:[(0,r.jsx)(e9,{stars:d}),(0,r.jsx)(te,{children:a("{author} on {date}").replace("{author}",s).replace("{date}",c)})]}),(0,r.jsxs)(e0,{children:[(0,r.jsx)(e6,{children:u}),(0,r.jsx)(e5,{children:f}),t&&(0,r.jsx)(ta,{children:(0,r.jsx)(C,{images:t,imagesToShow:t.length})})]})]}),(0,r.jsxs)(T.MobileOnly,{children:[(0,r.jsx)(eQ,{children:(0,r.jsx)(e6,{children:u})}),(0,r.jsxs)(eQ,{children:[(0,r.jsx)(e9,{stars:d}),(0,r.jsx)(te,{children:a("{author} on {date}").replace("{author}",s).replace("{date}",c)})]}),(0,r.jsx)(eQ,{children:(0,r.jsx)(e5,{children:f})}),(0,r.jsxs)(eQ,{children:[t&&(0,r.jsx)(ta,{children:(0,r.jsx)(C,{images:t,imagesToShow:t.length})}),!t&&(0,r.jsx)(to,{})]})]})]})};var tl=e.i(642778);let tn=c.default.div`
2369  position: relative;
2370  height: 100%;
2371  width: 100%;
2372
2373  @media ${n.default.laptop} {
2374    padding-top: 86px;
2375  }
2376`,td=h.default.forwardRef((e,t)=>
2376(0,r.jsx)(tn,{ref:t,...e,"data-component":"DesktopReviewsModal-Container"}));td.displayName="Container";let ts=c.default.div`
2377  display: flex;
2378  align-items: center;
2379  justify-content: space-between;
2380  flex-direction: row;
2381  flex-wrap: wrap;
2382  margin-bottom: 24px;
2383`,tc=h.default.forwardRef((e,t)=>(0,r.jsx)(ts,{ref:t,...e,"data-component":"DesktopReviewsModal-Header"}));tc.displayName="Header";let tu=c.default.div`
2384  display: flex;
2385  flex-direction: column;
2386`,tp=h.default.forwardRef((e,t)=>(0,r.jsx)(tu,{ref:t,...e,"data-component":"DesktopReviewsModal-HeaderColumn"}));tp.displayName="HeaderColumn";let tf=c.default.div``,tm=h.default.forwardRef((e,t)=>(0,r.jsx)(tf,{ref:t,...e,"data-component":"DesktopReviewsModal-HeaderRow"}));tm.displayName="HeaderRow";let tg=c.default.div`
2387  display: flex;
2388  flex-direction: row;
2389  align-items: center;
2390`,tx=h.default.forwardRef((e,t)=>(0,r.jsx)(tg,{ref:t,...e,"data-component":"DesktopReviewsModal-RatingRow"}));tx.displayName="RatingRow";let th=c.default.div`
2391  ${v.body28Styles}
2392  margin-left: 12px;
2393  margin-right: 16px;
2394  color: ${d.default.black};
2395`,ty=h.default.forwardRef((e,t)=>(0,r.jsx)(th,{ref:t,...e,"data-component":"DesktopReviewsModal-RatingScore"}));ty.displayName="RatingScore";let tv=c.default.div`
2396  ${v.smallcapsBold13Styles}
2397  color: ${d.default.mediumDarkGray};
2398`,tb=h.default.forwardRef((e,t)=>(0,r.jsx)(tv,{ref:t,...e,"data-component":"DesktopReviewsModal-RatingSubtext"}));tb.displayName="RatingSubtext";let tw=(0,c.default)(eZ.default)`
2399  width: 248px;
2400  margin-left: auto;
2401`,tj=h.default.forwardRef((e,t)=>(0,r.jsx)(tw,{ref:t,...e,"data-component":"DesktopReviewsModal-HeaderButton"}));tj.displayName="HeaderButton";let tS=c.default.div`
2402  margin-bottom: 24px;
2403`,tk=h.default.forwardRef((e,t)=>(0,r.jsx)(tS,{ref:t,...e,"data-component":"DesktopReviewsModal-ImageGallerySection"}));tk.displayName="ImageGallerySection";let t$=c.default.div`
2404  ${v.smallcapsBold13Styles}
2405  margin-bottom: 12px;
2406  color: ${d.default.black};
2407`,tC=h.default.forwardRef((e,t)=>(0,r.jsx)(t$,{ref:t,...e,"data-component":"DesktopReviewsModal-ImageGalleryLabel"}));tC.displayName="ImageGalleryLabel";let tR=c.default.div`
2408  display: flex;
2409  gap: 8px;
2410  overflow-x: auto;
2411  -webkit-overflow-scrolling: touch;
2412  -ms-overflow-style: none;
2413  scrollbar-width: none;
2414  ::-webkit-scrollbar {
2415    display: none;
2416  }
2417`,tP=h.default.forwardRef((e,t)=>(0,r.jsx)(tR,{ref:t,...e,"data-component":"DesktopReviewsModal-ImageGalleryStrip"}));tP.displayName="ImageGalleryStrip";let tN=c.default.button`
2418  flex-shrink: 0;
2419  width: 80px;
2420  height: 80px;
2421  padding: 0;
2422  border: none;
2423  background: ${d.default.backgroundGray};
2424  cursor: pointer;
2425  overflow: hidden;
2426
2427  img {
2428    width: 100%;
2429    height: 100%;
2430    object-fit: cover;
2431  }
2432`,tI=h.default.forwardRef((e,t)=>(0,r.jsx)(tN,{ref:t,...e,"data-component":"DesktopReviewsModal-ImageGalleryThumb"}));tI.displayName="ImageGalleryThumb";let tB=c.default.div`
2433  display: flex;
2434  gap: 8px;
2435  margin-bottom: 24px;
2436  flex-wrap: wrap;
2437`,tT=h.default.forwardRef((e,t)=>(0,r.jsx)(tB,{ref:t,...e,"data-component":"DesktopReviewsModal-TagsSection"}));tT.displayName="TagsSection";let tD=c.default.div`
2438  ${v.smallcapsBold13Styles}
2439  padding: 8px 16px;
2440  border: 1px solid ${d.default.lightGray};
2441  color: ${d.default.black};
2442`,tM=h.default.forwardRef((e,t)=>(0,r.jsx)(tD,{ref:t,...e,"data-component":"DesktopReviewsModal-TagPill"}));tM.displayName="TagPill";let tO=c.default.div`
2443  display: flex;
2444  flex-direction: row;
2445  align-items: center;
2446  justify-content: space-between;
2447  padding: 16px 0;
2448  border-bottom: 1px solid ${d.default.dividerLineGray};
2449  margin-bottom: 24px;
2450`,tA=h.default.forwardRef((e,t)=>(0,r.jsx)(tO,{ref:t,...e,"data-component":"DesktopReviewsModal-ReviewsFooter"}));tA.displayName="ReviewsFooter";let tF=c.default.div`
2451  ${v.smallcapsBold14Styles}
2452  color: ${d.default.black};
2453`,tE=h.default.forwardRef((e,t)=>(0,r.jsx)(tF,{ref:t,...e,"data-component":"DesktopReviewsModal-ReviewCount"}));tE.displayName="ReviewCount";let tL=c.default.div`
2454  display: flex;
2455  align-items: center;
2456  gap: 4px;
2457`,tW=h.default.forwardRef((e,t)=>(0,r.jsx)(tL,{ref:t,...e,"data-component":"DesktopReviewsModal-SortSelect"}));tW.displayName="SortSelect";let tG=c.default.span`
2458  ${v.body16MainStyles}
2459  color: ${d.default.mediumDarkGray};
2460`,tV=h.default.forwardRef((e,t)=>(0,r.jsx)(tG,{ref:t,...e,"data-component":"DesktopReviewsModal-SortLabel"}));tV.displayName="SortLabel";let tU=c.default.select`
2461  ${v.body16MainStyles}
2462  border: none;
2463  background: transparent;
2464  color: ${d.default.black};
2465  cursor: pointer;
2466  padding: 0;
2467  -webkit-appearance: none;
2468  appearance: none;
2469  font-weight: 600;
2470`,t_=h.default.forwardRef((e,t)=>(0,r.jsx)(tU,{ref:t,...e,"data-component":"DesktopReviewsModal-SortDropdown"}));t_.displayName="SortDropdown";let tH=c.default.div`
2471  display: flex;
2472  flex-direction: column;
2473`,tz=h.default.forwardRef((e,t)=>(0,r.jsx)(tH,{ref:t,...e,"data-component":"DesktopReviewsModal-Content"}));tz.displayName="Content";let tq=(0,c.default)(ti)`
2474  padding-bottom: 48px;
2475  border-bottom: 1px solid ${d.default.dividerLineGray};
2476  margin-bottom: 27px;
2477`,tK=c.default.button`
2478  ${v.smallcapsBold13Styles}
2479  display: flex;
2480  width: 100%;
2481  height: 48px;
2482  margin: 16px 0 40px;
2483  justify-content: center;
2484  align-items: center;
2485  color: ${d.default.black};
2486  background: transparent;
2487  border: 1px solid ${d.default.black};
2488  cursor: pointer;
2489`,tY=h.default.forwardRef((e,t)=>(0,r.jsx)(tK,{ref:t,...e,"data-component":"DesktopReviewsModal-LoadMoreButton"}));tY.displayName="LoadMoreButton";let tZ=({avgRating:e,hasMore:t,loading:a,numReviews:o,onClickImage:i,onClickWriteReview:l,onLoadMore:n,onSortChange:d,reviewImages:s,reviews:c,sortBy:u,tags:p})=>{let f=(0,q.useT)();return(0,r.jsxs)(td,{children:[(0,r.jsxs)(tc,{children:[(0,r.jsxs)(tp,{children:[(0,r.jsx)(tm,{children:(0,r.jsxs)(tx,{children:[(0,r.jsx)(B,{stars:Math.round(e)}),(0,r.jsx)(ty,{children:e.toFixed(1)})]})}),(0,r.jsx)(tm,{children:(0,r.jsx)(tb,{children:f("Based on {count} Reviews").replace("{count}",String(o))})})]}),(0,r.jsx)(tp,{children:(0,r.jsx)(tj,{onClick:()=>l(),text:f("Write a Review")})})]}),s.length>0&&(0,r.jsxs)(tk,{children:[(0,r.jsx)(tC,{children:f("Images & Video")}),(0,r.jsx)(tP,{children:s.map(e=>(0,r.jsx)(tI,{onClick:e.onClick,children:(0,r.jsx)("img",{alt:e.alt,loading:"lazy",src:e.thumbnail})},e.id))})]}),p.length>0&&(0,r.jsx)(tT,{children:p.map(e=>(0,r.jsx)(tM,{children:f(e)},e))}),(0,r.jsxs)(tA,{children:[(0,r.jsx)(tE,{children:f("{count} Reviews").replace("{count}",String(o))}),(0,r.jsxs)(tW,{children:[(0,r.jsxs)(tV,{children:[f("Sort by:")," "]}),(0,r.jsxs)(t_,{onChange:e=>d(e.target.value),value:u,children:[(0,r.jsx)("option",{value:"date",children:f("Most recent")}
2489),(0,r.jsx)("option",{value:"rating",children:f("Rating")})]})]})]}),(0,r.jsx)(tz,{children:c.map(e=>(0,r.jsx)(tq,{data:e,onClickImage:i},tl.default.get(e,"id")))}),t&&(0,r.jsx)(tY,{disabled:a,onClick:n,children:a?f("Loading..."):f("Load More Reviews")})]})},tX=c.default.div`
2490  padding-top: 72px;
2491`,tQ=h.default.forwardRef((e,t)=>(0,r.jsx)(tX,{ref:t,...e,"data-component":"MobileReviewsModal-Container"}));tQ.displayName="Container";let tJ=c.default.div`
2492  position: fixed;
2493  top: 0;
2494  left: 0;
2495  right: 0;
2496  display: flex;
2497  flex-direction: row;
2498  align-items: center;
2499  justify-content: space-between;
2500  height: 72px;
2501  padding: 0 20px;
2502  border-bottom: 1px solid ${d.default.dividerLineGray};
2503  background: ${d.default.white};
2504  z-index: 1;
2505`,t0=h.default.forwardRef((e,t)=>(0,r.jsx)(tJ,{ref:t,...e,"data-component":"MobileReviewsModal-Header"}));t0.displayName="Header";let t1=c.default.div`
2506  display: flex;
2507  flex-direction: row;
2508  align-items: center;
2509  cursor: pointer;
2510`,t2=h.default.forwardRef((e,t)=>(0,r.jsx)(t1,{ref:t,...e,"data-component":"MobileReviewsModal-BackButton"}));t2.displayName="BackButton";let t4=c.default.div`
2511  width: 32px;
2512  height: 32px;
2513  margin-right: 8px;
2514  padding: 0;
2515  transform: rotate(180deg) translateY(1px);
2516`,t6=h.default.forwardRef((e,t)=>(0,r.jsx)(t4,{ref:t,...e,"data-component":"MobileReviewsModal-BackButtonIcon"}));t6.displayName="BackButtonIcon";let t3=c.default.div`
2517  ${v.smallcapsBold13Styles}
2518  padding-top: 2px;
2519`,t5=h.default.forwardRef((e,t)=>(0,r.jsx)(t3,{ref:t,...e,"data-component":"MobileReviewsModal-BackButtonText"}));t5.displayName="BackButtonText";let t8=c.default.div`
2520  padding: 24px 20px;
2521`,t9=h.default.forwardRef((e,t)=>(0,r.jsx)(t8,{ref:t,...e,"data-component":"MobileReviewsModal-RatingSection"}));t9.displayName="RatingSection";let t7=c.default.div`
2522  display: flex;
2523  flex-direction: row;
2524  align-items: center;
2525  margin-bottom: 4px;
2526`,ae=h.default.forwardRef((e,t)=>(0,r.jsx)(t7,{ref:t,...e,"data-component":"MobileReviewsModal-RatingRow"}));ae.displayName="RatingRow";let at=c.default.div`
2527  ${v.body28Styles}
2528  margin-left: 12px;
2529  color: ${d.default.black};
2530`,aa=h.default.forwardRef((e,t)=>(0,r.jsx)(at,{ref:t,...e,"data-component":"MobileReviewsModal-RatingScore"}));aa.displayName="RatingScore";let ar=c.default.div`
2531  ${v.smallcapsBold13Styles}
2532  color: ${d.default.mediumDarkGray};
2533  margin-bottom: 16px;
2534`,ao=h.default.forwardRef((e,t)=>(0,r.jsx)(ar,{ref:t,...e,"data-component":"MobileReviewsModal-RatingSubtext"}));ao.displayName="RatingSubtext";let ai=c.default.button`
2535  ${v.smallcapsBold13Styles}
2536  display: flex;
2537  width: 100%;
2538  height: 48px;
2539  justify-content: center;
2540  align-items: center;
2541  color: ${d.default.offWhite};
2542  background: ${d.default.black};
2543  border: none;
2544  cursor: pointer;
2545`,al=h.default.forwardRef((e,t)=>(0,r.jsx)(ai,{ref:t,...e,"data-component":"MobileReviewsModal-WriteReviewButton"}));al.displayName="WriteReviewButton";let an=c.default.div`
2546  padding: 24px 0 0;
2547`,ad=h.default.forwardRef((e,t)=>(0,r.jsx)(an,{ref:t,...e,"data-component":"MobileReviewsModal-ImageGallerySection"}));ad.displayName="ImageGallerySection";let as=c.default.div`
2548  ${v.smallcapsBold13Styles}
2549  padding: 0 20px;
2550  margin-bottom: 12px;
2551  color: ${d.default.black};
2552`,ac=h.default.forwardRef((e,t)=>(0,r.jsx)(as,{ref:t,...e,"data-component":"MobileReviewsModal-ImageGalleryLabel"}));ac.displayName="ImageGalleryLabel";let au=c.default.div`
2553  display: flex;
2554  gap: 8px;
2555  padding: 0 20px;
2556  overflow-x: auto;
2557  -webkit-overflow-scrolling: touch;
2558  -ms-overflow-style: none;
2559  scrollbar-width: none;
2560  ::-webkit-scrollbar {
2561    display: none;
2562  }
2563`,ap=h.default.forwardRef((e,t)=>(0,r.jsx)(au,{ref:t,...e,"data-component":"MobileReviewsModal-ImageGalleryStrip"}));ap.displayName="ImageGalleryStrip";let af=c.default.button`
2564  flex-shrink: 0;
2565  width: 64px;
2566  height: 64px;
2567  padding: 0;
2568  border: none;
2569  background: ${d.default.backgroundGray};
2570  cursor: pointer;
2571  overflow: hidden;
2572
2573  img {
2574    width: 100%;
2575    height: 100%;
2576    object-fit: cover;
2577  }
2578`,am=h.default.forwardRef((e,t)=>(0,r.jsx)(af,{ref:t,...e,"data-component":"MobileReviewsModal-ImageGalleryThumb"}));am.displayName="ImageGalleryThumb";let ag=c.default.div`
2579  display: flex;
2580  gap: 8px;
2581  padding: 20px 20px 0;
2582  overflow-x: auto;
2583  -webkit-overflow-scrolling: touch;
2584  -ms-overflow-style: none;
2585  scrollbar-width: none;
2586  ::-webkit-scrollbar {
2587    display: none;
2588  }
2589`,ax=h.default.forwardRef((e,t)=>(0,r.jsx)(ag,{ref:t,...e,"data-component":"MobileReviewsModal-TagsSection"}));ax.displayName="TagsSection";let ah=c.default.div`
2590  ${v.smallcapsBold13Styles}
2591  flex-shrink: 0;
2592  padding: 8px 16px;
2593  border: 1px solid ${d.default.lightGray};
2594  color: ${d.default.black};
2595`,ay=h.default.forwardRef((e,t)=>(0,r.jsx)(ah,{ref:t,...e,"data-component":"MobileReviewsModal-TagPill"}));ay.displayName="TagPill";let av=c.default.div`
2596  display: flex;
2597  flex-direction: row;
2598  align-items: center;
2599  justify-content: space-between;
2600  padding: 20px 20px 16px;
2601  margin-bottom: 32px;
2602  border-bottom: 1px solid ${d.default.dividerLineGray};
2603`,ab=h.default.forwardRef((e,t)=>(0,r.jsx)(av,{ref:t,...e,"data-component":"MobileReviewsModal-ReviewsFooter"}));ab.displayName="ReviewsFooter";let aw=c.default.div`
2604  ${v.smallcapsBold14Styles}
2605  color: ${d.default.black};
2606`,aj=h.default.forwardRef((e,t)=>(0,r.jsx)(aw,{ref:t,...e,"data-component":"MobileReviewsModal-ReviewCount"}));aj.displayName="ReviewCount";let aS=c.default.div`
2607  display: flex;
2608  align-items: center;
2609  gap: 4px;
2610`,ak=h.default.forwardRef((e,t)=>(0,r.jsx)(aS,{ref:t,...e,"data-component":"MobileReviewsModal-SortSelect"}));ak.displayName="SortSelect";let a$=c.default.span`
2611  ${v.body16MainStyles}
2612  color: ${d.default.mediumDarkGray};
2613`,aC=h.default.forwardRef((e,t)=>(0,r.jsx)(a$,{ref:t,...e,"data-component":"MobileReviewsModal-SortLabel"}));aC.displayName="SortLabel";let aR=c.default.select`
2614  ${v.body16MainStyles}
2615  border: none;
2616  background: transparent;
2617  color: ${d.default.black};
2618  cursor: pointer;
2619  padding: 0;
2620  -webkit-appearance: none;
2621  appearance: none;
2622  font-weight: 600;
2623`,aP=h.default.forwardRef((e,t)=>(0,r.jsx)(aR,{ref:t,...e,"data-component":"MobileReviewsModal-SortDropdown"}));aP.displayName="SortDropdown";let aN=c.default.div`
2624  display: flex;
2625  padding: 0 20px;
2626  flex-direction: column;
2627`,aI=h.default.forwardRef((e,t)=>(0,r.jsx)(aN,{ref:t,...e,"data-component":"MobileReviewsModal-Content"}));aI.displayName="Content";let aB=(0,c.default)(ti)`
2628  margin-bottom: 32px;
2629  padding-bottom: 20px;
2630  border-bottom: 1px solid ${d.default.dividerLineGray};
2631`,aT=c.default.button`
2632  ${v.smallcapsBold13Styles}
2633  display: flex;
2634  width: calc(100% - 40px);
2635  height: 48px;
2636  margin: 0 20px 40px;
2637  justify-content: center;
2638  align-items: center;
2639  color: ${d.default.black};
2640  background: transparent;
2641  border: 1px solid ${d.default.black};
2642  cursor: pointer;
2643`,aD=h.default.forwardRef((e,t)=>(0,r.jsx)(aT,{ref:t,...e,"data-component":"MobileReviewsModal-LoadMoreButton"}));aD.displayName="LoadMoreButton";let aM=({avgRating:e,hasMore:t,loading:a,numReviews:i,onClickImage:l,onClickWriteReview:n,onLoadMore:s,onSortChange:c,reviewImages:u,reviews:p,sortBy:f,tags:m,...g})=>{let x=(0,q.useT)();return(0,r.jsxs)(tQ,{children:[(0,r.jsx)(t0,{children:(0,r.jsxs)(t2,{onClick:g.onRequestClose,children:[(0,r.jsx)(t6,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(t5,{children:x("Reviews")})]})}),(0,r.jsxs)(t9,{children:[(0,r.jsxs)(ae,{children:[(0,r.jsx)(B,{stars:Math.round(e)}),(0,r.jsx)(aa,{children:e.toFixed(1)})]}),(0,r.jsx)(ao,{children:x("Based on {count} Reviews").replace("{count}",String(i))}),(0,r.jsx)(al,{onClick:()=>n(),children:x("Write a Review")})]}),u.length>0&&(0,r.jsxs)(ad,{children:[(0,r.jsx)(ac,{children:x("Images & Video")}),(0,r.jsx)(ap,{children:u.map(e=>(0,r.jsx)(am,{onClick:e.onClick,children:(0,r.jsx)("img",{alt:e.alt,loading:"lazy",src:e.thumbnail})},e.id))})]}),m.length>0&&(0,r.jsx)(ax,{children:m.map(e=>(0,r.jsx)(ay,{children:x(e)},e))}),(0,r.jsxs)(ab,{children:[(0,r.jsx)(aj,{children:x("{count} Reviews").replace("{count}",String(i))}),(0,r.jsxs)(ak,{children:[(0,r.jsxs)(aC,{children:[x("Sort by:")," "]}),(0,r.jsxs)(aP,{onChange:e=>c(e.target.value),value:f,children:[(0,r.jsx)("option",{value:"date",children:x("Most recent")}
2643),(0,r.jsx)("option",{value:"rating",children:x("Rating")})]})]})]}),(0,r.jsx)(aI,{children:p.map(e=>(0,r.jsx)(aB,{data:e,onClickImage:l},tl.default.get(e,"id")))}),t&&(0,r.jsx)(aD,{disabled:a,onClick:s,children:a?x("Loading..."):x("Load More Reviews")})]})};e.s(["default",0,e=>{let{productId:t}=e,{changeSort:a,hasMore:o,loading:i,loadMore:l,reviews:n,sortBy:d}=eY("string"==typeof t?t:String(t),{per_page:5}),s=h.default.useMemo(()=>(0,u.flatten)(x(n,t=>t.images_data?x(t.images_data,a=>({alt:t.title,id:a.id,image:a.original_url,onClick:()=>{e.onRequestOpenReviewImageGallery(a.id)},review:t.id,thumbnail:a.thumb_url})):[])).filter(e=>!!e),[n]),c=e=>{a(e)};return(0,r.jsxs)(eU.default,{...(0,e_.omit)(e,"avgRating","numReviews","productId","tags"),children:[(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(tZ,{...e,hasMore:o,loading:i,onClickImage:e.onRequestOpenReviewImageGallery,onLoadMore:l,onSortChange:c,reviewImages:s,reviews:n,sortBy:d,tags:e.tags})}),(0,r.jsx)(T.MobileOnly,{children:(0,r.jsx)(aM,{...e,hasMore:o,loading:i,onClickImage:e.onRequestOpenReviewImageGallery,onLoadMore:l,onSortChange:c,reviewImages:s,reviews:n,sortBy:d,tags:e.tags})})]})}],667265);var aO=e.i(522016);let aA=c.default.div`
2644  position: relative;
2645  height: 100vh;
2646  width: 100%;
2647  display: flex;
2648  flex-direction: column;
2649  justify-content: space-evenly;
2650  align-items: center;
2651
2652  @media ${n.default.laptop} {
2653    height: 100%;
2654    margin-left: calc(1 / 12 * 100vw);
2655  }
2656`,aF=h.default.forwardRef((e,t)=>(0,r.jsx)(aA,{ref:t,...e,"data-component":"ReviewSubmittedModal-Container"}));aF.displayName="Container";let aE=c.default.div`
2657  display: flex;
2658  flex-direction: column;
2659  align-items: center;
2660`,aL=h.default.forwardRef((e,t)=>(0,r.jsx)(aE,{ref:t,...e,"data-component":"ReviewSubmittedModal-Header"}));aL.displayName="Header";let aW=c.default.div`
2661  ${v.h4Styles}
2662  color: ${d.default.black};
2663
2664  @media ${n.default.laptop} {
2665    ${v.h2Styles}
2666    color: ${d.default.black};
2667  }
2668`,aG=h.default.forwardRef((e,t)=>(0,r.jsx)(aW,{ref:t,...e,"data-component":"ReviewSubmittedModal-Title"}));aG.displayName="Title";let aV=c.default.div`
2669  ${v.body16MainStyles}
2670  color: ${d.default.mediumDarkGray};
2671  margin-top: 31px;
2672  padding: 0 48px;
2673  text-align: center;
2674
2675  @media ${n.default.laptop} {
2676    margin-top: 43px;
2677    padding: 0;
2678  }
2679`,aU=h.default.forwardRef((e,t)=>(0,r.jsx)(aV,{ref:t,...e,"data-component":"ReviewSubmittedModal-Subtitle"}));aU.displayName="Subtitle";let a_=c.default.div`
2680  display: flex;
2681  flex-direction: column;
2682  align-items: center;
2683  width: 100%;
2684  padding: 0 48px;
2685
2686  @media ${n.default.laptop} {
2687    padding: 0;
2688  }
2689`,aH=h.default.forwardRef((e,t)=>(0,r.jsx)(a_,{ref:t,...e,"data-component":"ReviewSubmittedModal-Footer"}));aH.displayName="Footer";let az=(0,c.default)(eZ.default)`
2690  width: 100%;
2691
2692  @media ${n.default.laptop} {
2693    width: 280px;
2694  }
2695`,aq=h.default.forwardRef((e,t)=>(0,r.jsx)(az,{ref:t,...e,"data-component":"ReviewSubmittedModal-BackButton"}));aq.displayName="BackButton";let aK=c.default.button`
2696  cursor: pointer;
2697  ${v.smallcapsBold13Styles}
2698  background: none;
2699  border: none;
2700  outline: none;
2701  height: 48px;
2702  width: 100%;
2703  padding: 0;
2704  margin-top: 26px;
2705
2706  @media ${n.default.laptop} {
2707    width: 280px;
2708    margin-top: 26px;
2709  }
2710`,aY=h.default.forwardRef((e,t)=>(0,r.jsx)(aK,{ref:t,...e,"data-component":"ReviewSubmittedModal-HomeButton"}));aY.displayName="HomeButton",e.s(["default",0,e=>{let t=(0,q.useT)();return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(aF,{children:[(0,r.jsxs)(aL,{children:[(0,r.jsx)(aG,{children:t("Thanks!")}),(0,r.jsx)(aU,{children:t("Your review will be posted on the site momentarily.")})]}),(0,r.jsxs)(aH,{children:[(0,r.jsx)(aq,{onClick:e.onRequestClose,text:t("Back to Product")}),(0,r.jsx)(aO.default,{href:"/",children:(0,r.jsx)(aY,{children:t("Home")})})]})]})})}],988623);let aZ=`
2711  background: none;
2712  border: solid 1px ${d.default.black};
2713
2714  @media ${n.default.laptop} {
2715    &:hover {
2716      background: none;
2717    }
2718  }
2719`,aX=c.default.button`
2720  display: flex;
2721  width: 100%;
2722  height: 48px;
2723  align-items: center;
2724  justify-content: center;
2725  transition: background-color ${l.default.medium}
2725 ${l.cubicBezierBackgroundColor};
2726  background-color: ${d.default.black};
2727  border: none;
2728  border-radius: 2px;
2729  cursor: pointer;
2730  &:focus {
2731    outline: none;
2732  }
2733  &:active {
2734    background-color: ${d.default.black};
2735  }
2736
2737  @media ${n.default.laptop} {
2738    &:hover {
2739      background-color: ${d.default.hoverBlack};
2740    }
2741  }
2742
2743  ${({inverted:e})=>e?aZ:""}
2744`,aQ=h.default.forwardRef((e,t)=>(0,r.jsx)(aX,{ref:t,...e,"data-component":"IconButton-Button"}));aQ.displayName="Button";let aJ=({children:e,inverted:t,onClick:a,type:o="button"})=>(0,r.jsx)(aQ,{inverted:t,onClick:a,type:o,children:e});var a0=e.i(846944);let a1=c.default.div`
2745  display: flex;
2746  flex-direction: row;
2747  align-items: center;
2748`,a2=h.default.forwardRef((e,t)=>(0,r.jsx)(a1,{ref:t,...e,"data-component":"StarsInput-Container"}));a2.displayName="Container";let a4=c.default.div`
2749  cursor: pointer;
2750`,a6=h.default.forwardRef((e,t)=>(0,r.jsx)(a4,{ref:t,...e,"data-component":"StarsInput-IconWrapper"}));a6.displayName="IconWrapper";let a3=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
2751  width: 18.96px;
2752  height: 17.63px;
2753  margin-right: 4px;
2754  opacity: ${e=>e.$filled?1:.3};
2755  line-height: initial;
2756
2757  @media ${n.default.laptop} {
2758    margin-right: 8px;
2759  }
2760
2761  svg {
2762    vertical-align: initial;
2763  }
2764`,a5=h.default.forwardRef((e,t)=>(0,r.jsx)(a3,{ref:t,...e,"data-component":"StarsInput-Icon"}));a5.displayName="Icon",e.i(214539);var a8=e.i(92953);e.i(961086);var a9=e.i(527215);let a7="uag-yotpo-review-images",re=null,rt=null;re=(0,a8.getApps)().some(e=>e.name===a7)?(0,a8.getApp)(a7):(0,a8.initializeApp)({apiKey:"AIzaSyC29LlM0hPhcMAdTPH5s_LfW4t0JU1axJY",appId:"1:41044257601:web:6718fb32cd2761c847cfc0",authDomain:"uag-inventory-by-location.firebaseapp.com",databaseURL:"https://uag-inventory-by-location.firebaseio.com",messagingSenderId:"41044257601",projectId:"uag-inventory-by-location",storageBucket:"uag-yotpo-review-images"},a7),rt=(0,a9.getStorage)(re);var ra=e.i(132131),rr=e.i(880202),ro=e.i(653145),ri=e.i(499683);let rl=c.default.div`
2765  position: relative;
2766  height: 100%;
2767  width: 100%;
2768  display: flex;
2769  flex-direction: column;
2770
2771  @media ${n.default.laptop} {
2772    flex-direction: row;
2773  }
2774
2775  button.icon-button {
2776    align-items: center;
2777    justify-content: center;
2778    display: flex;
2779    width: 100%;
2780    margin-top: 32px;
2781
2782    @media ${n.default.laptop} {
2783      width: 248px;
2784      margin-top: 32px;
2785    }
2786  }
2787`,rn=h.default.forwardRef((e,t)=>(0,r.jsx)(rl,{ref:t,...e,"data-component":"WriteReviewModal-Container"}));rn.displayName="Container";let rd=c.default.div`
2788  display: flex;
2789  flex-direction: row;
2790  align-items: center;
2791  width: 100%;
2792  height: 72px;
2793  border-bottom: 1px solid ${d.default.dividerLineGray};
2794  padding: 0 20px;
2795
2796  @media ${n.default.laptop} {
2797    flex-direction: column;
2798    align-items: flex-start;
2799    width: calc(3 / 12 * 100vw);
2800    height: auto;
2801    border-bottom: none;
2802    padding: 0;
2803  }
2804`,rs=h.default.forwardRef((e,t)=>(0,r.jsx)(rd,{ref:t,...e,"data-component":"WriteReviewModal-Header"}));rs.displayName="Header";let rc=c.default.div`
2805  ${v.h4Styles}
2806  color: ${d.default.black};
2807  margin-left: 0;
2808`,ru=h.default.forwardRef((e,t)=>(0,r.jsx)(rc,{ref:t,...e,"data-component":"WriteReviewModal-HeaderText"}));ru.displayName="HeaderText";let rp=c.default.button`
2809  cursor: pointer;
2810  background: none;
2811  outline: none;
2812  border: none;
2813  display: flex;
2814  flex-direction: row;
2815  align-items: center;
2816  padding: 0;
2817
2818  @media ${n.default.laptop} {
2819    margin-bottom: 22px;
2820  }
2821`,rf=h.default.forwardRef((e,t)=>(0,r.jsx)(rp,{ref:t,...e,"data-component":"WriteReviewModal-BackButton"}));rf.displayName="BackButton";let rm=c.default.div`
2822  height: 32px;
2823  width: 32px;
2824  transform: rotate(180deg);
2825
2826  @media ${n.default.laptop} {
2827    height: 24px;
2828    width: 24px;
2829  }
2830`,rg=h.default.forwardRef((e,t)=>(0,r.jsx)(rm,{ref:t,...e,"data-component":"WriteReviewModal-BackButtonIcon"}));rg.displayName="BackButtonIcon";let rx=c.default.div`
2831  ${v.smallcapsBold13Styles}
2832  color: ${d.default.black};
2833  margin-left: 8px;
2834
2835  @media ${n.default.laptop} {
2836    ${v.body16MainStyles}
2837    color: ${d.default.black};
2838    margin-left: 4px;
2839    text-transform: initial;
2840  }
2841`,rh=h.default.forwardRef((e,t)=>
2841(0,r.jsx)(rx,{ref:t,...e,"data-component":"WriteReviewModal-BackButtonText"}));rh.displayName="BackButtonText";let ry=c.default.form`
2842  display: flex;
2843  flex-direction: column;
2844  padding: 0 20px;
2845
2846  @media ${n.default.laptop} {
2847    padding: 0;
2848  }
2849`,rv=h.default.forwardRef((e,t)=>(0,r.jsx)(ry,{ref:t,...e,"data-component":"WriteReviewModal-Form"}));rv.displayName="Form";let rb=c.default.div`
2850  display: flex;
2851  flex-direction: row;
2852  flex-wrap: wrap;
2853  align-items: center;
2854`,rw=h.default.forwardRef((e,t)=>(0,r.jsx)(rb,{ref:t,...e,"data-component":"WriteReviewModal-FormRow"}));rw.displayName="FormRow";let rj=c.default.div`
2855  width: 100%;
2856  margin-top: 25px;
2857
2858  @media ${n.default.laptop} {
2859    width: calc((2 / 12 * 100vw) - 16px);
2860    margin-right: 16px;
2861    margin-top: 38px;
2862  }
2863`,rS=h.default.forwardRef((e,t)=>(0,r.jsx)(rj,{ref:t,...e,"data-component":"WriteReviewModal-Name"}));rS.displayName="Name";let rk=c.default.div`
2864  width: 100%;
2865  margin-top: 25px;
2866
2867  @media ${n.default.laptop} {
2868    width: calc((2 / 12 * 100vw) - 16px);
2869    margin-left: 16px;
2870    margin-top: 38px;
2871  }
2872`,r$=h.default.forwardRef((e,t)=>(0,r.jsx)(rk,{ref:t,...e,"data-component":"WriteReviewModal-Email"}));r$.displayName="Email";let rC=c.default.div`
2873  width: 100%;
2874  margin-top: 25px;
2875
2876  @media ${n.default.laptop} {
2877    width: calc(4 / 12 * 100vw);
2878    margin-top: 38px;
2879  }
2880`,rR=h.default.forwardRef((e,t)=>(0,r.jsx)(rC,{ref:t,...e,"data-component":"WriteReviewModal-Title"}));rR.displayName="Title";let rP=c.default.div`
2881  width: 100%;
2882  margin-top: 25px;
2883
2884  @media ${n.default.laptop} {
2885    width: calc(4 / 12 * 100vw);
2886    margin-top: 38px;
2887    padding-top: 12px;
2888  }
2889`,rN=h.default.forwardRef((e,t)=>(0,r.jsx)(rP,{ref:t,...e,"data-component":"WriteReviewModal-Body"}));rN.displayName="Body";let rI=(0,c.default)(eZ.default)`
2890  width: 100%;
2891  margin-top: 62px;
2892  padding-top: 4px;
2893
2894  @media ${n.default.laptop} {
2895    width: 248px;
2896    margin-top: 58px;
2897  }
2898`,rB=c.default.div`
2899  margin-top: 25px;
2900
2901  @media ${n.default.laptop} {
2902    margin-top: 0;
2903  }
2904`,rT=h.default.forwardRef((e,t)=>(0,r.jsx)(rB,{ref:t,...e,"data-component":"WriteReviewModal-RatingsInputWrapper"}));rT.displayName="RatingsInputWrapper";let rD=(0,c.default)(e=>{let[t,a]=(0,h.useState)(!1),[i,l]=(0,h.useState)(0);return(0,r.jsx)(a2,{className:e.className,children:[,,,,,].fill(null).map((n,d)=>(0,r.jsx)(a6,{onClick:()=>e.onChange(d+1),onMouseEnter:()=>{l(d+1),a(!0)},onMouseLeave:()=>void(a(!1),l(0)),children:(0,r.jsx)(a5,{$filled:t?d<i:d<e.stars,children:(0,r.jsx)(o.Star,{})})},d))})})``,rM=c.default.div`
2905  ${v.smallcapsBold13Styles}
2906  color: ${d.default.black};
2907  font-size: 11px;
2908  line-height: 19px;
2909  padding: 8px 0;
2910
2911  @media ${n.default.laptop} {
2912    padding: 16px 0;
2913  }
2914`,rO=h.default.forwardRef((e,t)=>(0,r.jsx)(rM,{ref:t,...e,"data-component":"WriteReviewModal-RatingsInputText"}));rO.displayName="RatingsInputText";let rA=c.default.input`
2915  visibility: hidden;
2916`,rF=h.default.forwardRef((e,t)=>(0,r.jsx)(rA,{ref:t,...e,"data-component":"WriteReviewModal-UploadInput"}));rF.displayName="UploadInput";let rE=c.default.div`
2917  width: 24px;
2918  height: 24px;
2919  margin-right: 8px;
2920`,rL=h.default.forwardRef((e,t)=>(0,r.jsx)(rE,{ref:t,...e,"data-component":"WriteReviewModal-UploadIconWrapper"}));rL.displayName="UploadIconWrapper";let rW=c.default.div`
2921  ${v.smallcapsBold14Styles}
2922`,rG=h.default.forwardRef((e,t)=>(0,r.jsx)(rW,{ref:t,...e,"data-component":"WriteReviewModal-UploadText"}));rG.displayName="UploadText";let rV=c.default.div`
2923  ${v.subtextStyles}
2924  margin-top: 16px;
2925  color: ${d.default.black};
2926`,rU=h.default.forwardRef((e,t)=>(0,r.jsx)(rV,{ref:t,...e,"data-component":"WriteReviewModal-UploadInfo"}));rU.displayName="UploadInfo";let r_=c.default.div`
2927  align-items: flex-start;
2928  justify-content: flex-start;
2929  display: flex;
2930  margin: 32px 0;
2931`,rH=h.default.forwardRef((e,t)=>(0,r.jsx)(r_,{ref:t,...e,"data-component":"WriteReviewModal-ImagePreviews"}));rH.displayName="ImagePreviews";let rz=c.default.div`
2932  position: relative;
2933  flex-grow: 0;
2934  flex-shrink: 0;
2935  display: flex;
2936  width: 80px;
2937  height: 80px;
2938  margin-right: 8px;
2939`,rq=h.default.forwardRef((e,t)=>
2939(0,r.jsx)(rz,{ref:t,...e,"data-component":"WriteReviewModal-ImageWrapper"}));rq.displayName="ImageWrapper";let rK=c.default.div`
2940  position: relative;
2941  flex-grow: 0;
2942  flex-shrink: 0;
2943  width: 100%;
2944  height: auto;
2945  overflow: hidden;
2946  border-radius: 2px;
2947  border: solid 1px ${d.default.black};
2948`,rY=h.default.forwardRef((e,t)=>(0,r.jsx)(rK,{ref:t,...e,"data-component":"WriteReviewModal-ImageContainer"}));rY.displayName="ImageContainer";let rZ=c.default.div`
2949  width: 100%;
2950  padding-bottom: 100%;
2951`,rX=h.default.forwardRef((e,t)=>(0,r.jsx)(rZ,{ref:t,...e,"data-component":"WriteReviewModal-ImagePadding"}));rX.displayName="ImagePadding";let rQ=c.default.img`
2952  position: absolute;
2953  top: 0px;
2954  left: 0px;
2955  width: 100%;
2956  height: 100%;
2957  object-fit: contain;
2958  object-position: center center;
2959`,rJ=h.default.forwardRef((e,t)=>(0,r.jsx)(rQ,{ref:t,...e,"data-component":"WriteReviewModal-Image"}));rJ.displayName="Image";let r0=c.default.button`
2960  position: absolute;
2961  top: 0;
2962  right: 0;
2963  z-index: 1;
2964  display: flex;
2965  opacity: 0;
2966  transform: opacity ${l.default.medium} ${l.cubicBezier};
2967  width: 100%;
2968  height: 100%;
2969  margin: 0;
2970  padding: 6px;
2971  outline: none;
2972  border: none;
2973  border-radius: 2px;
2974  background: ${d.default.dividerLineGray};
2975
2976  &:active {
2977    outline: none;
2978  }
2979
2980  &:focus {
2981    outline: none;
2982  }
2983
2984  &:hover {
2985    opacity: 0.8;
2986    transform: opacity ${l.default.quick} ${l.cubicBezier};
2987    cursor: pointer;
2988
2989    svg {
2990      stroke: ${d.default.offBlack};
2991    }
2992  }
2993`,r1=h.default.forwardRef((e,t)=>(0,r.jsx)(r0,{ref:t,...e,"data-component":"WriteReviewModal-RemoveButton"}));r1.displayName="RemoveButton";let r2=ri.object().shape({body:ri.string().required("A review is required"),email:ri.string().email("Invalid email").required("Your email is required"),name:ri.string().required("Your name is required"),rating:ri.number().min(1).max(5),title:ri.string().required("A review title is required")});e.s(["default",0,({backToReviews:e,onSubmit:t,productId:a,productTitle:i,...l})=>{let n=(0,q.useT)(),s=h.default.useRef(null),{uploadFile:c}={uploadFile:async({file:e,fileName:t})=>{let a=rt?(0,a9.ref)(rt,t):null;try{if(null===a)throw Error("Firebase storage is not initialized");return await (0,a9.uploadBytes)(a,e),await (0,a9.getDownloadURL)(a)}catch(e){return`Error uploading file: ${e}`}}},[u,p]=h.default.useState([]),f=h.default.useRef([]);f.current=u;let[m,g]=h.default.useState(!1),[x,y]=h.default.useState(!1),{formState:{errors:v,isSubmitting:b},handleSubmit:w,register:j,setValue:S,watch:k}=(0,ro.useForm)({defaultValues:{body:"",email:"",name:"",rating:0,title:""},mode:"onSubmit",resolver:(0,rr.yupResolver)(r2)}),$=k("rating"),C=e=>{p((f.current||[]).filter(t=>t.id!==e))},R=async e=>{if(!e.target.files)return;let t=[];g(!0);for(let a=0;a<e.target.files.length;a++){let r=e.target.files[a];try{if(r.size>0xa00000)x||y(!0);else{let e=r.name.split("."),a=e[e.length-1],o=a?`${(0,ra.generateUUID)()}.${a}`:(0,ra.generateUUID)(),i=URL.createObjectURL(r),l=await c({file:r,fileName:o});t.push({downloadUrl:l,id:o,localUrl:i,onRequestRemove:()=>{C(o)}})}}catch(e){console.log(e)}}t.length>0&&p([...u,...t]),g(!1)};h.default.useEffect(()=>{m&&x&&y(!1)},[m]);let{client:P}=eq(),N=async e=>{try{let r={display_name:e.name,email:e.email,product_title:i,product_url:"urban-armor-gear.myshopify.com",review_content:e.body,review_score:e.rating,review_title:e.title,sku:"string"==typeof a?a:String(a)};u.length>0&&(r.image_urls=u.map(e=>e.downloadUrl)),await P.createProductReview(r),t()}catch(e){console.error(e)}};return(0,r.jsx)(eU.default,{...l,children:(0,r.jsxs)(rn,{children:[(0,r.jsxs)(rs,{children:[(0,r.jsxs)(rf,{onClick:()=>e(),children:[(0,r.jsx)(rg,{children:(0,r.jsx)(o.Chevron,{})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(rh,{children:n("Back to all reviews")})}),(0,r.jsx)(T.MobileOnly,{children:(0,r.jsx)(rh,{children:n("Write a Review")})})]}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(ru,{children:n("Write a Review")})})]}),(0,r.jsxs)(rv,{onSubmit:w(N),children:[(0,r.jsxs)(rT,{children:[(0,r.jsx)(rO,{style:void 0!==v.rating?{color:"#f44336"}:{},children:n("Select Rating")}),(0,r.jsx)(rD,{onChange:e=>{S("rating",e,{shouldTouch:!0})},stars:$})]}),(0,r.jsxs)(rw,{children:[(0,r.jsx)(rS,{children:(0,r.jsx)(a0.default,{error:void 0!==v.name,label:n("Name"),placeholder:n("Name"),type:"text",...j("name")}
2993)}),(0,r.jsx)(r$,{children:(0,r.jsx)(a0.default,{error:void 0!==v.email,label:n("Email"),placeholder:n("Email"),type:"email",...j("email")})})]}),(0,r.jsx)(rw,{children:(0,r.jsx)(rR,{children:(0,r.jsx)(a0.default,{error:void 0!==v.title,label:n("Title of review"),placeholder:n("Title of review"),type:"text",...j("title")})})}),(0,r.jsx)(rw,{children:(0,r.jsx)(rN,{children:(0,r.jsx)(a0.default,{error:void 0!==v.body,label:n("Write your review"),multiline:!0,placeholder:n("Write your review"),type:"text",...j("body")})})}),(0,r.jsx)(rF,{accept:"image/*",multiple:!0,onChange:R,ref:s,type:"file"}),(0,r.jsxs)(aJ,{disabled:5===u.length||m,inverted:!0,onClick:()=>void(s.current&&s.current.click()),type:"button",children:[(0,r.jsx)(rL,{children:(0,r.jsx)(o.Upload,{})}),(0,r.jsx)(rG,{children:n("Upload Photos")})]}),m&&(0,r.jsx)(rU,{children:n("Uploading image(s)...")}),5===u.length&&(0,r.jsx)(rU,{children:n("Maximum of 5 images reached")}),x&&(0,r.jsx)(rU,{children:n("Images must be less than 10mb")}),(0,r.jsx)(rH,{children:u.map(e=>(0,r.jsx)(rq,{children:(0,r.jsxs)(rY,{children:[(0,r.jsx)(r1,{onClick:e.onRequestRemove,type:"button",children:(0,r.jsx)(o.Close,{strokeColor:d.default.mediumDarkGray,strokeWidth:"2.5"})}),(0,r.jsx)(rX,{}),(0,r.jsx)(rJ,{src:e.localUrl})]})},e.id))}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(rI,{disabled:b,text:n("Submit Review"),type:"submit"})}),(0,r.jsx)(T.MobileOnly,{children:(0,r.jsx)(rI,{disabled:b,text:n("Submit"),type:"submit"})})]})]})})}],508097),e.s(["buildProductBreadcrumbItems",0,function(e,t,a){let r=[{name:"Home",url:`${t}/`}],o=(0,M.get)(e,"device.type.slug"),i="string"==typeof o?o.trim():"";if(i){let a=(0,M.get)(e,"device.type.menuLabel");r.push({name:"string"==typeof a&&a.trim()?a:"Products",url:`${t}/collections/${i}/`})}return r.push({name:(0,M.get)(e,"productName")||"Product",url:a}),r}],315011);let r4=e=>"string"==typeof e?e||void 0:e?.url||void 0;e.s(["resolveProductSchemaImages",0,(e,t)=>{let a=(e??[]).map(r4).filter(e=>!!e);if(a.length>0)return a;for(let e of t??[])for(let t of e?.images??[]){let e=r4(t);if(e)return[e]}return[]}],348419);var r6=e.i(7955);e.s(["resolveProductDescription",0,function(e,t){let a=e?.description;return!function(e){let t=e?.json?.content;if(!Array.isArray(t)||0===t.length)return!1;let a=!1,r=e=>{if(!a){if("string"==typeof e?.value&&e.value.trim().length>0){a=!0;return}Array.isArray(e?.content)&&e.content.forEach(r)}};return t.forEach(r),a}(a)?t?.productDescription??r6.emptyRichText:a}],3058);let r3=Object.freeze(["FedEx 2Day","FedEx Next Day","USPS Shipping","USPS Free Shipping"]),r5=c.default.div``,r8=h.default.forwardRef((e,t)=>(0,r.jsx)(r5,{ref:t,...e,"data-component":"common-Content"}));r8.displayName="Content";let r9=c.default.div`
2994  padding: 60px 0 72px;
2995  border-bottom: 1px solid ${d.default.dividerLineGray};
2996
2997  @media ${n.default.laptop} {
2998    flex-direction: column;
2999    display: flex;
3000    padding: 148px calc(1 / 12 * 100vw) 170px;
3001    border-bottom: none;
3002  }
3003`;h.default.forwardRef((e,t)=>(0,r.jsx)(r9,{ref:t,...e,"data-component":"common-TabsBlock"})).displayName="TabsBlock";let r7=c.default.div`
3004  display: flex;
3005  padding: 0 20px;
3006
3007  @media ${n.default.laptop} {
3008    padding: 0;
3009  }
3010`;h.default.forwardRef((e,t)=>(0,r.jsx)(r7,{ref:t,...e,"data-component":"common-Tabs"})).displayName="Tabs";let oe=(0,c.default)("button",{shouldForwardProp:e=>!e.startsWith("$")})`
3011  ${({$active:e})=>s.css`
3012    ${v.h4Styles}
3013    margin-right: 6px;
3014    padding: 0;
3015    outline: none;
3016    border: none;
3017    background: none;
3018    font-size: 14px;
3019    color: ${e?d.default.black:d.default.mediumGray};
3020
3021    &:hover {
3022      cursor: pointer;
3023    }
3024
3025    &:focus,
3026    &:active {
3027      outline: none;
3028    }
3029
3030    @media ${n.default.laptop} {
3031      ${v.h3Styles}
3032      margin-right: 60px;
3033      padding: 0;
3034      font-size: 32px;
3035      line-height: 66px;
3036      border-bottom: ${e?`solid 3px ${d.default.black}`:"none"};
3037    }
3038  `}
3039`;h.default.forwardRef((e,t)=>(0,r.jsx)(oe,{ref:t,...e,"data-component":"common-Tab"})).displayName="Tab";let ot=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
3040  ${({$active:e})=>s.css`
3041    display: ${e?"block":"none"};
3042  `}
3043`;h.default.forwardRef((e,t)=>
3043(0,r.jsx)(ot,{ref:t,...e,"data-component":"common-TabContent"})).displayName="TabContent";let oa=c.default.span`
3044  ${v.body14Styles}
3045  color: ${d.default.offBlack};
3046`,or=h.default.forwardRef((e,t)=>(0,r.jsx)(oa,{ref:t,...e,"data-component":"common-Text"}));or.displayName="Text";let oo=c.default.span`
3047  ${v.body14BoldStyles}
3048  color: ${d.default.black};
3049`,oi=h.default.forwardRef((e,t)=>(0,r.jsx)(oo,{ref:t,...e,"data-component":"common-TextBold"}));oi.displayName="TextBold";let ol=c.default.span`
3050  display: inline-block;
3051  width: 3px;
3052`,on=h.default.forwardRef((e,t)=>(0,r.jsx)(ol,{ref:t,...e,"data-component":"common-Spacer"}));on.displayName="Spacer",e.s(["Content",0,r8,"DEFAULT_FENIX_METHODS",0,r3,"Spacer",0,on,"Text",0,or,"TextBold",0,oi],887073);var od=e.i(632221),os=e.i(151641);let oc=c.default.div`
3053  @media ${n.default.laptop} {
3054    display: flex;
3055  }
3056`,ou=h.default.forwardRef((e,t)=>(0,r.jsx)(oc,{ref:t,...e,"data-component":"InstallationBlock-Container"}));ou.displayName="Container";let op=c.default.div`
3057  flex-direction: column;
3058  display: flex;
3059  .gif-container,
3060  .image-container,
3061  .video-container,
3062  .wistia-container,
3063  .youtube-container,
3064  .mux-container {
3065    padding: 0 0 20px;
3066  }
3067
3068  @media ${n.default.laptop} {
3069    width: 100%;
3070    .gif-container,
3071    .image-container,
3072    .video-container,
3073    .wistia-container,
3074    .youtube-container,
3075    .mux-container {
3076      padding: 0 0 20px;
3077    }
3078    /* && doubles the parent class selector to out-specify the size rules
3079       emitted by each Media subcomponent's BaseContainer (e.g. Image.tsx's
3080       100vw/42.5vw cover layout), which would otherwise win the SSR
3081       source-order tie and crop the installation image. */
3082    && .media-gif-wrapper,
3083    && .image-helper-container,
3084    && .media-video-wrapper,
3085    && .media-wistia-wrapper,
3086    && .media-youtube-wrapper,
3087    && .media-mux-wrapper {
3088      width: 100%;
3089      height: auto;
3090    }
3091  }
3092`,of=h.default.forwardRef((e,t)=>(0,r.jsx)(op,{ref:t,...e,"data-component":"InstallationBlock-ContentWrapper"}));of.displayName="ContentWrapper";let om=c.default.div`
3093  margin-bottom: 31px;
3094  padding: 0 20px;
3095  h6 {
3096    ${v.body14Styles}
3097    margin: 0 0 34px;
3098  }
3099  p {
3100    ${v.paragraph20Styles}
3101    margin: 0 0 34px;
3102    &:last-child {
3103      margin-bottom: 0;
3104    }
3105  }
3106  p.finePrint {
3107    ${v.subtextStyles}
3108    margin: 0 0 12px;
3109    &:last-child {
3110      margin-bottom: 0;
3111    }
3112  }
3113  ul {
3114    margin: 0 0 34px;
3115    padding-left: 18px;
3116    &:last-child {
3117      margin-bottom: 0;
3118    }
3119  }
3120  li {
3121    color: ${d.default.mediumDarkGray};
3122    p {
3123      ${v.paragraphStyles}
3124      color: ${d.default.mediumDarkGray};
3125    }
3126  }
3127
3128  @media ${n.default.laptop} {
3129    margin-bottom: 22px;
3130    padding: 0;
3131    h6 {
3132      margin-bottom: 41px;
3133    }
3134    p {
3135      margin-bottom: 41px;
3136      font-size: 22px;
3137      line-height: 33px;
3138    }
3139    p.finePrint {
3140      ${v.subtextStyles}
3141      margin-bottom: 12px;
3142    }
3143    ul {
3144      margin-bottom: 41px;
3145    }
3146    li {
3147      p {
3148        ${v.paragraph18Styles}
3149        color: ${d.default.mediumDarkGray};
3150      }
3151    }
3152  }
3153`,og=h.default.forwardRef((e,t)=>(0,r.jsx)(om,{ref:t,...e,"data-component":"InstallationBlock-Text"}));og.displayName="Text";let ox=c.default.div`
3154  padding: 0 20px;
3155  @media ${n.default.laptop} {
3156    width: 320px;
3157    padding: 0;
3158  }
3159`,oh=h.default.forwardRef((e,t)=>(0,r.jsx)(ox,{ref:t,...e,"data-component":"InstallationBlock-DownloadWrapper"}));oh.displayName="DownloadWrapper";let oy=c.default.a`
3160  width: 100%;
3161  @media ${n.default.laptop} {
3162    width: 320px;
3163  }
3164`,ov=h.default.forwardRef((e,t)=>(0,r.jsx)(oy,{ref:t,...e,"data-component":"InstallationBlock-Download"}));
3164ov.displayName="Download",e.s(["default",0,({image:e,medias:t=[],text:a})=>{let o=(0,q.useT)(),i=e?.url&&"string"==typeof e?.contentType&&e.contentType.startsWith("image/");return(0,r.jsx)(ou,{children:(0,r.jsxs)(of,{children:[(0,r.jsx)(og,{children:a}),t.map((e,t)=>(0,r.jsx)(os.default,{autoplayVideo:e.autoplayVideo,caption:e.caption,customVideoThumbnail:e.customVideoThumbnail?.url,fullWidth:!0,gif:e.gif?.url,image:e.image?.url,mobileGif:e.mobileGif?.url,mobileImage:e.mobileImage?.url,mobileVideoUrl:e.mobileVideoUrl,muxMobileVideo:e.muxMobileVideo,muxVideo:e.muxVideo,type:e.type,videoThumbnail:e.videoThumbnail,videoUrl:e.videoUrl,wistiaVideoId:e.wistiaVideoId,youtubeVideoId:e.youtubeVideoId},e?.sys?.id||t)),i&&(0,r.jsx)(os.default,{fullWidth:!0,image:e.url,type:os.MediaTypes.Image}),e&&!i&&(0,r.jsx)(oh,{children:(0,r.jsx)(ov,{download:!0,href:e?.url||"",target:"_blank",children:(0,r.jsx)(od.default,{text:o("Download")})})})]})})}],835981);var ob=e.i(79040),ow=e.i(18566),oj=e.i(818279),oS=e.i(184131);let ok=c.default.div`
3165  display: flex;
3166  flex-direction: column;
3167
3168  @media ${n.default.laptop} {
3169    padding-top: 86px;
3170  }
3171`,o$=h.default.forwardRef((e,t)=>(0,r.jsx)(ok,{ref:t,...e,"data-component":"BulkOrderModal-Container"}));o$.displayName="Container";let oC=c.default.div`
3172  @media ${n.default.laptop} {
3173    flex-shrink: 0;
3174    justify-content: space-between;
3175    display: flex;
3176    width: 100%;
3177  }
3178`,oR=h.default.forwardRef((e,t)=>(0,r.jsx)(oC,{ref:t,...e,"data-component":"BulkOrderModal-Row"}));oR.displayName="Row";let oP=c.default.div`
3179  display: flex;
3180  height: 72px;
3181  margin-bottom: 40px;
3182  padding: 0 20px;
3183  flex-direction: row;
3184  align-items: center;
3185  border-bottom: 1px solid ${d.default.dividerLineGray};
3186
3187  @media ${n.default.laptop} {
3188    width: calc(3.5 / 12 * 100vw);
3189    height: 56px;
3190    margin-bottom: 100px;
3191    padding: 0 calc(1 / 12 * 100vw) 0 0;
3192    border-bottom: none;
3193  }
3194`,oN=h.default.forwardRef((e,t)=>(0,r.jsx)(oP,{ref:t,...e,"data-component":"BulkOrderModal-Header"}));oN.displayName="Header";let oI=c.default.button`
3195  width: 32px;
3196  height: 32px;
3197  margin-right: 8px;
3198  padding: 0;
3199  transform: rotate(180deg) translateY(1px);
3200  background: none;
3201  border: none;
3202  outline: none;
3203  cursor: pointer;
3204
3205  @media ${n.default.laptop} {
3206    display: none;
3207  }
3208`,oB=h.default.forwardRef((e,t)=>(0,r.jsx)(oI,{ref:t,...e,"data-component":"BulkOrderModal-HeaderButton"}));oB.displayName="HeaderButton";let oT=c.default.div`
3209  ${v.smallcapsBold13Styles}
3210
3211  @media ${n.default.laptop} {
3212    ${v.h4Styles}
3213  }
3214`,oD=h.default.forwardRef((e,t)=>(0,r.jsx)(oT,{ref:t,...e,"data-component":"BulkOrderModal-HeaderText"}));oD.displayName="HeaderText";let oM=c.default.div`
3215  display: flex;
3216  padding: 0 20px;
3217  flex-direction: column;
3218  flex-wrap: wrap;
3219
3220  @media ${n.default.laptop} {
3221    padding: 0;
3222    flex-direction: row;
3223  }
3224`,oO=h.default.forwardRef((e,t)=>(0,r.jsx)(oM,{ref:t,...e,"data-component":"BulkOrderModal-Content"}));oO.displayName="Content";let oA=c.default.div`
3225  margin-bottom: 25px;
3226  width: 100%;
3227
3228  @media ${n.default.laptop} {
3229    margin-bottom: 0;
3230  }
3231`,oF=h.default.forwardRef((e,t)=>(0,r.jsx)(oA,{ref:t,...e,"data-component":"BulkOrderModal-FormHeader"}));oF.displayName="FormHeader";let oE=c.default.div`
3232  ${v.h4Styles}
3233  width: 100%;
3234  color: ${d.default.black};
3235  text-transform: uppercase;
3236
3237  @media ${n.default.laptop} {
3238    ${v.body18Styles}
3239    color: ${d.default.black};
3240    text-transform: none;
3241  }
3242`,oL=h.default.forwardRef((e,t)=>(0,r.jsx)(oE,{ref:t,...e,"data-component":"BulkOrderModal-Banner"}));oL.displayName="Banner";let oW=c.default.div`
3243  ${v.body16MainStyles}
3244  color: ${d.default.mediumGray};
3245
3246  @media ${n.default.laptop} {
3247    ${v.body14Styles}
3248    color: ${d.default.mediumGray};
3249    margin-top: 16px;
3250    margin-bottom: 24px;
3251  }
3252`,oG=h.default.forwardRef((e,t)=>(0,r.jsx)(oW,{ref:t,...e,"data-component":"BulkOrderModal-BannerSubtext"}));oG.displayName="BannerSubtext";let oV=c.default.form`
3253  display: flex;
3254  flex-direction: column;
3255
3256  @media ${n.default.laptop} {
3257    flex: 1;
3258    flex-direction: row;
3259    flex-wrap: wrap;
3260    justify-content: flex-end;
3261  }
3262`,oU=h.default.forwardRef((e,t)=>
3262(0,r.jsx)(oV,{ref:t,...e,"data-component":"BulkOrderModal-StyledForm"}));oU.displayName="StyledForm";let o_=c.default.div`
3263  display: flex;
3264  margin-top: 24px;
3265  flex-direction: column;
3266
3267  @media ${n.default.laptop} {
3268    width: calc(50% - 12px);
3269    margin-top: 0;
3270    margin-bottom: 34px;
3271  }
3272`,oH=h.default.forwardRef((e,t)=>(0,r.jsx)(o_,{ref:t,...e,"data-component":"BulkOrderModal-FormControl"}));oH.displayName="FormControl";let oz=c.default.button`
3273  ${v.smallcapsBold13Styles}
3274  width: 100%;
3275  height: 48px;
3276  margin-top: 48px;
3277  padding-top: 4px;
3278  color: ${d.default.offWhite};
3279  background: ${d.default.black};
3280  border-radius: 2px;
3281  border: none;
3282  cursor: pointer;
3283
3284  &:focus {
3285    outline-color: ${d.default.hoverBlack};
3286  }
3287
3288  @media ${n.default.laptop} {
3289    width: 148px;
3290    margin-top: 58px;
3291  }
3292`,oq=h.default.forwardRef((e,t)=>(0,r.jsx)(oz,{ref:t,...e,"data-component":"BulkOrderModal-Button"}));oq.displayName="Button";let oK=ri.object().shape({email:ri.string().email("Invalid email address").required("Email is required"),firstName:ri.string().required("First name is required"),lastName:ri.string().required("Last name is required"),mobilePhone:ri.string().required("Phone number is required")}),oY=e=>{let t=(0,q.useT)(),[a,i]=h.default.useState(null),[l,n]=h.default.useState(null),{formState:{errors:s},handleSubmit:c,register:u}=(0,ro.useForm)({defaultValues:{email:"",firstName:"",lastName:"",mobilePhone:""},mode:"onSubmit",resolver:(0,rr.yupResolver)(oK)});h.default.useEffect(()=>{let e=(0,oS.getLocalStorage)(ow.CUSTOMER_COUNTRY_CODE_KEY);e&&i(e);let t=(0,oS.getRawLocalStorage)(ow.MAESTRA_DEVICE_UUID_KEY);t&&n(t)},[]);let p=async t=>{let r={countryCode:a,deviceUUID:l,email:t.email,firstName:t.firstName,lastName:t.lastName,mobilePhone:t.mobilePhone};await (0,oj.postBulkOrder)(r,()=>{e.showSuccess&&e.showSuccess()})};return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(o$,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(oN,{onClick:e.onRequestClose,children:[(0,r.jsx)(oB,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(oD,{children:t("Bulk Ordering")})]})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(oN,{children:(0,r.jsx)(oD,{children:t("Bulk Ordering")})})}),(0,r.jsxs)(oO,{children:[(0,r.jsx)(oF,{children:(0,r.jsxs)(oL,{children:[t("Get a custom quote for a bulk order"),(0,r.jsx)(oG,{children:t("20 product minumum")})]})}),(0,r.jsxs)(oU,{onSubmit:c(p),children:[(0,r.jsxs)(oR,{children:[(0,r.jsx)(oH,{children:(0,r.jsx)(a0.default,{error:void 0!==s.firstName,label:t("First Name"),placeholder:t("First Name"),type:"text",...u("firstName")})}),(0,r.jsx)(oH,{children:(0,r.jsx)(a0.default,{error:void 0!==s.lastName,label:t("Last Name"),placeholder:t("Last Name"),type:"text",...u("lastName")})})]}),(0,r.jsxs)(oR,{children:[(0,r.jsx)(oH,{children:(0,r.jsx)(a0.default,{error:void 0!==s.mobilePhone,label:t("Phone Number"),placeholder:t("Phone Number"),type:"text",...u("mobilePhone")})}),(0,r.jsx)(oH,{children:(0,r.jsx)(a0.default,{error:void 0!==s.email,label:t("Email"),placeholder:t("Email"),type:"email",...u("email")})})]}),(0,r.jsx)(oq,{type:"submit",children:t("Sign Up")})]})]})]})})},oZ=c.default.div`
3293  @media ${n.default.laptop} {
3294    padding: 86px 0 40px;
3295  }
3296`,oX=h.default.forwardRef((e,t)=>(0,r.jsx)(oZ,{ref:t,...e,"data-component":"ContentModal-Container"}));oX.displayName="Container";let oQ=c.default.div`
3297  display: flex;
3298  height: 72px;
3299  margin-bottom: 40px;
3300  padding: 0 20px;
3301  flex-direction: row;
3302  align-items: center;
3303  border-bottom: 1px solid ${d.default.dividerLineGray};
3304`,oJ=h.default.forwardRef((e,t)=>(0,r.jsx)(oQ,{ref:t,...e,"data-component":"ContentModal-Header"}));oJ.displayName="Header";let o0=c.default.button`
3305  cursor: pointer;
3306  width: 32px;
3307  height: 32px;
3308  margin-right: 8px;
3309  padding: 0;
3310  transform: rotate(180deg) translateY(1px);
3311  outline: none;
3312  background: none;
3313  border: none;
3314`,o1=h.default.forwardRef((e,t)=>(0,r.jsx)(o0,{ref:t,...e,"data-component":"ContentModal-HeaderButton"}));o1.displayName="HeaderButton";let o2=c.default.div`
3315  ${v.smallcapsBold13Styles}
3316`,o4=h.default.forwardRef((e,t)=>
3316(0,r.jsx)(o2,{ref:t,...e,"data-component":"ContentModal-HeaderText"}));o4.displayName="HeaderText";let o6=c.default.div`
3317  height: 56px;
3318  margin-bottom: 100px;
3319`,o3=h.default.forwardRef((e,t)=>(0,r.jsx)(o6,{ref:t,...e,"data-component":"ContentModal-DesktopHeader"}));o3.displayName="DesktopHeader";let o5=c.default.div`
3320  ${v.h4Styles}
3321`,o8=h.default.forwardRef((e,t)=>(0,r.jsx)(o5,{ref:t,...e,"data-component":"ContentModal-DesktopHeaderText"}));o8.displayName="DesktopHeaderText";let o9=c.default.div`
3322  padding: 0 20px;
3323
3324  @media ${n.default.laptop} {
3325    padding: 0;
3326  }
3327`,o7=h.default.forwardRef((e,t)=>(0,r.jsx)(o9,{ref:t,...e,"data-component":"ContentModal-Content"}));o7.displayName="Content";let ie=({children:e,title:t,...a})=>(0,r.jsx)(eU.default,{...a,children:(0,r.jsxs)(oX,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(oJ,{onClick:a.onRequestClose,children:[(0,r.jsx)(o1,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(o4,{children:t})]})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(o3,{children:(0,r.jsx)(o8,{children:t})})}),(0,r.jsx)(o7,{children:e})]})}),it=c.default.div`
3328  display: flex;
3329  flex-direction: column;
3330`,ia=h.default.forwardRef((e,t)=>(0,r.jsx)(it,{ref:t,...e,"data-component":"ProductSpecSheetsModal-Container"}));ia.displayName="Container";let ir=c.default.div`
3331  display: flex;
3332  flex-direction: row;
3333  align-items: center;
3334  height: 72px;
3335  margin-bottom: 40px;
3336  border-bottom: 1px solid ${d.default.dividerLineGray};
3337  padding: 0 20px;
3338
3339  @media ${n.default.laptop} {
3340    height: 56px;
3341    margin-bottom: 85px;
3342    border-bottom: none;
3343    padding: 0;
3344  }
3345`,io=h.default.forwardRef((e,t)=>(0,r.jsx)(ir,{ref:t,...e,"data-component":"ProductSpecSheetsModal-Header"}));io.displayName="Header";let ii=c.default.button`
3346  cursor: pointer;
3347  background: none;
3348  border: none;
3349  outline: none;
3350  height: 32px;
3351  width: 32px;
3352  transform: rotate(180deg) translateY(1px);
3353  padding: 0;
3354  margin-right: 8px;
3355
3356  @media ${n.default.laptop} {
3357    display: none;
3358  }
3359`,il=h.default.forwardRef((e,t)=>(0,r.jsx)(ii,{ref:t,...e,"data-component":"ProductSpecSheetsModal-HeaderButton"}));il.displayName="HeaderButton";let id=c.default.div`
3360  ${v.smallcapsBold13Styles}
3361
3362  @media ${n.default.laptop} {
3363    ${v.h4Styles}
3364  }
3365`,is=h.default.forwardRef((e,t)=>(0,r.jsx)(id,{ref:t,...e,"data-component":"ProductSpecSheetsModal-HeaderText"}));is.displayName="HeaderText";let ic=c.default.div`
3366  display: flex;
3367  flex-direction: column;
3368
3369  @media ${n.default.laptop} {
3370    flex-direction: row;
3371    flex-wrap: wrap;
3372  }
3373`,iu=h.default.forwardRef((e,t)=>(0,r.jsx)(ic,{ref:t,...e,"data-component":"ProductSpecSheetsModal-Content"}));iu.displayName="Content";let ip=c.default.div`
3374  flex-direction: row;
3375  flex-wrap: wrap;
3376  display: flex;
3377  width: 100%;
3378  padding: 24px 0;
3379  border-bottom: 1px solid ${d.default.dividerLineGray};
3380
3381  &:first-of-type {
3382    padding-top: 0;
3383  }
3384
3385  &:last-child {
3386    border-bottom: none;
3387  }
3388
3389  @media ${n.default.laptop} {
3390    padding: 48px 0;
3391  }
3392`,im=h.default.forwardRef((e,t)=>(0,r.jsx)(ip,{ref:t,...e,"data-component":"ProductSpecSheetsModal-Row"}));im.displayName="Row";let ig=c.default.div`
3393  flex-direction: column;
3394  display: flex;
3395  width: 100%;
3396  margin-bottom: 24px;
3397
3398  @media ${n.default.laptop} {
3399    margin-bottom: 32px;
3400  }
3401`,ix=h.default.forwardRef((e,t)=>(0,r.jsx)(ig,{ref:t,...e,"data-component":"ProductSpecSheetsModal-TitleCol"}));ix.displayName="TitleCol";let ih=c.default.div`
3402  flex-direction: row;
3403  flex-wrap: wrap;
3404  display: flex;
3405  width: 100%;
3406`,iy=h.default.forwardRef((e,t)=>(0,r.jsx)(ih,{ref:t,...e,"data-component":"ProductSpecSheetsModal-SpecCol"}));iy.displayName="SpecCol";let iv=c.default.div`
3407  ${v.h5Styles};
3408  padding: 16px 20px;
3409
3410  @media ${n.default.laptop} {
3411    padding: 16px 0;
3412  }
3413`,ib=h.default.forwardRef((e,t)=>(0,r.jsx)(iv,{ref:t,...e,"data-component":"ProductSpecSheetsModal-SpecTitle"}));ib.displayName="SpecTitle";let iw=c.default.div`
3414  display: flex;
3415  flex-direction: row;
3416  flex: 1 0 auto;
3417  align-items: center;
3418  min-height: 56px;
3419  border-bottom: 1px solid ${d.default.dividerLineGray};
3420  padding: 0 20px;
3421
3422  &:last-child {
3423    border-bottom: none;
3424  }
3425
3426  @media ${n.default.laptop} {
3427    padding: 16px 0;
3428  }
3429`,ij=h.default.forwardRef((e,t)=>
3429(0,r.jsx)(iw,{ref:t,...e,"data-component":"ProductSpecSheetsModal-SpecItem"}));ij.displayName="SpecItem";let iS=c.default.div`
3430  display: flex;
3431  flex-shrink: 0;
3432  flex-wrap: wrap;
3433  ${v.body14BoldStyles}
3434  width: 111.62px;
3435  margin-right: 20px;
3436
3437  @media ${n.default.laptop} {
3438    ${v.body16BoldStyles}
3439    margin-right: 40px;
3440  }
3441`,ik=h.default.forwardRef((e,t)=>(0,r.jsx)(iS,{ref:t,...e,"data-component":"ProductSpecSheetsModal-SpecItemKey"}));ik.displayName="SpecItemKey";let i$=c.default.div`
3442  display: flex;
3443  flex-wrap: wrap;
3444  ${v.body14Styles}
3445  color: ${d.default.mediumGray};
3446
3447  @media ${n.default.laptop} {
3448    ${v.body16MainStyles}
3449    color: ${d.default.mediumGray};
3450  }
3451`,iC=h.default.forwardRef((e,t)=>(0,r.jsx)(i$,{ref:t,...e,"data-component":"ProductSpecSheetsModal-SpecItemValue"}));iC.displayName="SpecItemValue";let iR=({specSheets:e,...t})=>{let a=(0,q.useT)();return(0,r.jsx)(eU.default,{...t,children:(0,r.jsxs)(ia,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(io,{onClick:t.onRequestClose,children:[(0,r.jsx)(il,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(is,{children:a("Specifications")})]})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(io,{children:(0,r.jsx)(is,{children:a("Specifications")})})}),(0,r.jsx)(iu,{children:e?.map((e,t)=>(0,r.jsxs)(im,{children:[(0,r.jsx)(ix,{children:(0,r.jsx)(ib,{children:e.title?a(e.title):a("Product")})}),(0,r.jsx)(iy,{children:e.productSpecification.map(({body:e,title:t})=>(0,r.jsxs)(ij,{children:[(0,r.jsx)(ik,{children:a(t)}),(0,r.jsx)(iC,{children:a(e)})]},t))})]},e.title||t))})]})})},iP=c.default.div`
3452  display: flex;
3453  flex-direction: column;
3454
3455  @media ${n.default.laptop} {
3456    padding-top: 86px;
3457  }
3458`,iN=h.default.forwardRef((e,t)=>(0,r.jsx)(iP,{ref:t,...e,"data-component":"ProductSpecsModal-Container"}));iN.displayName="Container";let iI=c.default.div`
3459  display: flex;
3460  flex-direction: row;
3461  align-items: center;
3462  height: 72px;
3463  margin-bottom: 40px;
3464  border-bottom: 1px solid ${d.default.dividerLineGray};
3465  padding: 0 20px;
3466
3467  @media ${n.default.laptop} {
3468    height: 56px;
3469    margin-bottom: 85px;
3470    border-bottom: none;
3471    padding: 0;
3472  }
3473`,iB=h.default.forwardRef((e,t)=>(0,r.jsx)(iI,{ref:t,...e,"data-component":"ProductSpecsModal-Header"}));iB.displayName="Header";let iT=c.default.button`
3474  cursor: pointer;
3475  background: none;
3476  border: none;
3477  outline: none;
3478  height: 32px;
3479  width: 32px;
3480  transform: rotate(180deg) translateY(1px);
3481  padding: 0;
3482  margin-right: 8px;
3483
3484  @media ${n.default.laptop} {
3485    display: none;
3486  }
3487`,iD=h.default.forwardRef((e,t)=>(0,r.jsx)(iT,{ref:t,...e,"data-component":"ProductSpecsModal-HeaderButton"}));iD.displayName="HeaderButton";let iM=c.default.div`
3488  ${v.smallcapsBold13Styles}
3489
3490  @media ${n.default.laptop} {
3491    ${v.h4Styles}
3492  }
3493`,iO=h.default.forwardRef((e,t)=>(0,r.jsx)(iM,{ref:t,...e,"data-component":"ProductSpecsModal-HeaderText"}));iO.displayName="HeaderText";let iA=c.default.div`
3494  width: 100%;
3495  margin-bottom: 24px;
3496  padding: 0 20px;
3497
3498  @media ${n.default.laptop} {
3499    padding: 0;
3500  }
3501`,iF=h.default.forwardRef((e,t)=>(0,r.jsx)(iA,{ref:t,...e,"data-component":"ProductSpecsModal-TitleContainer"}));iF.displayName="TitleContainer";let iE=c.default.div`
3502  display: flex;
3503  flex-direction: column;
3504
3505  @media ${n.default.laptop} {
3506    flex-direction: row;
3507    flex-wrap: wrap;
3508  }
3509`,iL=h.default.forwardRef((e,t)=>(0,r.jsx)(iE,{ref:t,...e,"data-component":"ProductSpecsModal-Content"}));iL.displayName="Content";let iW=c.default.div`
3510  display: flex;
3511  flex-direction: column;
3512  width: 100%;
3513
3514  @media (min-width: 1024px) {
3515    width: calc(4 / 12 * 100vw);
3516    padding-right: calc(1 / 12 * 100vw);
3517  }
3518
3519  @media (min-width: 1768px) {
3520    width: calc(2.5 / 12 * 100vw);
3521    padding-right: calc(0.5 / 12 * 100vw);
3522  }
3523`,iG=h.default.forwardRef((e,t)=>(0,r.jsx)(iW,{ref:t,...e,"data-component":"ProductSpecsModal-Col"}));iG.displayName="Col";let iV=c.default.div`
3524  display: flex;
3525  flex-direction: row;
3526  flex: 1 0 auto;
3527  align-items: center;
3528  min-height: 56px;
3529  border-bottom: 1px solid ${d.default.dividerLineGray};
3530  padding: 0 20px;
3531
3532  @media ${n.default.laptop} {
3533    padding: 16px 0;
3534  }
3535`,iU=h.default.forwardRef((e,t)=>
3535(0,r.jsx)(iV,{ref:t,...e,"data-component":"ProductSpecsModal-SpecItem"}));iU.displayName="SpecItem";let i_=c.default.div`
3536  display: flex;
3537  flex-shrink: 0;
3538  flex-wrap: wrap;
3539  ${v.body14BoldStyles}
3540  width: 111.62px;
3541  margin-right: 20px;
3542
3543  @media ${n.default.laptop} {
3544    ${v.body16BoldStyles}
3545    margin-right: 40px;
3546  }
3547`,iH=h.default.forwardRef((e,t)=>(0,r.jsx)(i_,{ref:t,...e,"data-component":"ProductSpecsModal-SpecItemKey"}));iH.displayName="SpecItemKey";let iz=c.default.div`
3548  display: flex;
3549  flex-wrap: wrap;
3550  ${v.body14Styles}
3551  color: ${d.default.mediumGray};
3552
3553  @media ${n.default.laptop} {
3554    ${v.body16MainStyles}
3555    color: ${d.default.mediumGray};
3556  }
3557`,iq=h.default.forwardRef((e,t)=>(0,r.jsx)(iz,{ref:t,...e,"data-component":"ProductSpecsModal-SpecItemValue"}));iq.displayName="SpecItemValue";let iK=({specTitle:e,specs:t,...a})=>{let i=(0,q.useT)();return(0,r.jsx)(eU.default,{...a,children:(0,r.jsxs)(iN,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(iB,{onClick:a.onRequestClose,children:[(0,r.jsx)(iD,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(iO,{children:i("Specifications")})]})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(iB,{children:(0,r.jsx)(iO,{children:i("Specifications")})})}),e&&(0,r.jsx)(iF,{children:(0,r.jsx)(iO,{children:i(e)})}),(0,r.jsx)(iL,{children:t?.map(e=>(0,r.jsx)(iG,{children:(0,r.jsxs)(iU,{children:[(0,r.jsx)(iH,{children:i(e.title)}),(0,r.jsx)(iq,{children:i(e.body)})]})},e.title))})]})})};var iY=e.i(916865);let iZ=c.default.div`
3558  @media ${n.default.laptop} {
3559    padding: 86px 0 40px;
3560  }
3561
3562  [data-component="TextBlock-Container"] {
3563    padding: 0 20px !important;
3564
3565    @media ${n.default.laptop} {
3566      padding: 0 !important;
3567    }
3568  }
3569`,iX=h.default.forwardRef((e,t)=>(0,r.jsx)(iZ,{ref:t,...e,"data-component":"Prop65Modal-Container"}));iX.displayName="Container";let iQ=c.default.div`
3570  display: flex;
3571  height: 72px;
3572  margin-bottom: 40px;
3573  padding: 0 20px;
3574  flex-direction: row;
3575  align-items: center;
3576  border-bottom: 1px solid ${d.default.dividerLineGray};
3577`,iJ=h.default.forwardRef((e,t)=>(0,r.jsx)(iQ,{ref:t,...e,"data-component":"Prop65Modal-Header"}));iJ.displayName="Header";let i0=c.default.button`
3578  cursor: pointer;
3579  width: 32px;
3580  height: 32px;
3581  margin-right: 8px;
3582  padding: 0;
3583  transform: rotate(180deg) translateY(1px);
3584  outline: none;
3585  background: none;
3586  border: none;
3587`,i1=h.default.forwardRef((e,t)=>(0,r.jsx)(i0,{ref:t,...e,"data-component":"Prop65Modal-HeaderButton"}));i1.displayName="HeaderButton";let i2=c.default.div`
3588  ${v.smallcapsBold13Styles}
3589`,i4=h.default.forwardRef((e,t)=>(0,r.jsx)(i2,{ref:t,...e,"data-component":"Prop65Modal-HeaderText"}));i4.displayName="HeaderText";let i6=e=>{let t=(0,q.useT)();return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(iX,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(iJ,{onClick:e.onRequestClose,children:[(0,r.jsx)(i1,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(i4,{children:t("Back")})]})}),(0,r.jsx)(iY.default,{content:e.content})]})})},i3=c.default.div`
3590  position: relative;
3591  height: 100vh;
3592  width: 100%;
3593  display: flex;
3594  flex-direction: column;
3595  justify-content: center;
3596  align-items: center;
3597  text-align: center;
3598  padding: 0 48px;
3599
3600  @media ${n.default.laptop} {
3601    height: 100%;
3602    align-items: flex-start;
3603    margin-left: calc(1 / 12 * 100vw);
3604    padding: 0;
3605    text-align: left;
3606  }
3607`,i5=h.default.forwardRef((e,t)=>(0,r.jsx)(i3,{ref:t,...e,"data-component":"RequestReceivedModal-Container"}));i5.displayName="Container";let i8=c.default.h2`
3608  ${v.h4Styles}
3609  margin: 0;
3610  color: ${d.default.black};
3611  @media ${n.default.laptop} {
3612    ${v.h2Styles}
3613    color: ${d.default.black};
3614    margin: 0;
3615  }
3616`,i9=h.default.forwardRef((e,t)=>(0,r.jsx)(i8,{ref:t,...e,"data-component":"RequestReceivedModal-Title"}));i9.displayName="Title";let i7=c.default.div`
3617  ${v.body16MainStyles}
3618  color: ${d.default.mediumDarkGray};
3619  margin-top: 25px;
3620`,le=h.default.forwardRef((e,t)=>(0,r.jsx)(i7,{ref:t,...e,"data-component":"RequestReceivedModal-Subtitle"}));le.displayName="Subtitle";let lt=(0,c.default)(eZ.default)`
3621  margin-top: calc(3 / 12 * 100vh);
3622  width: 100%;
3623
3624  @media ${n.default.laptop} {
3625    margin-top: 50px;
3626    width: 280px;
3627  }
3628`,la=h.default.forwardRef((e,t)=>
3628(0,r.jsx)(lt,{ref:t,...e,"data-component":"RequestReceivedModal-BackButton"}));la.displayName="BackButton";let lr=e=>{let t=(0,q.useT)();return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(i5,{children:[(0,r.jsx)(i9,{children:t("Thanks!")}),(0,r.jsx)(le,{children:t("We received your request and we'll be in touch soon!")}),(0,r.jsx)(la,{onClick:e.onRequestClose,text:t("Done")})]})})};e.s(["default",0,lr],123355);var lo=e.i(989592);let li=c.default.div`
3629  @media ${n.default.laptop} {
3630    padding-top: 86px;
3631    padding-bottom: 40px;
3632  }
3633
3634  [data-component="LegalContent-Container"] {
3635    padding: 0;
3636  }
3637
3638  [data-component="PDPButtons-ReturnsFaqQuestion"] {
3639    margin-top: 32px;
3640    margin-bottom: 12px;
3641  }
3642`,ll=h.default.forwardRef((e,t)=>(0,r.jsx)(li,{ref:t,...e,"data-component":"ReturnPolicyModal-Container"}));ll.displayName="Container";let ln=c.default.div`
3643  display: flex;
3644  height: 72px;
3645  margin-bottom: 40px;
3646  padding: 0 20px;
3647  flex-direction: row;
3648  align-items: center;
3649  border-bottom: 1px solid ${d.default.dividerLineGray};
3650`,ld=h.default.forwardRef((e,t)=>(0,r.jsx)(ln,{ref:t,...e,"data-component":"ReturnPolicyModal-Header"}));ld.displayName="Header";let ls=c.default.button`
3651  cursor: pointer;
3652  width: 32px;
3653  height: 32px;
3654  margin-right: 8px;
3655  padding: 0;
3656  transform: rotate(180deg) translateY(1px);
3657  outline: none;
3658  background: none;
3659  border: none;
3660`,lc=h.default.forwardRef((e,t)=>(0,r.jsx)(ls,{ref:t,...e,"data-component":"ReturnPolicyModal-HeaderButton"}));lc.displayName="HeaderButton";let lu=c.default.div`
3661  ${v.smallcapsBold13Styles}
3662`,lp=h.default.forwardRef((e,t)=>(0,r.jsx)(lu,{ref:t,...e,"data-component":"ReturnPolicyModal-HeaderText"}));lp.displayName="HeaderText";let lf=c.default.div`
3663  ${v.h5Styles}
3664  margin-bottom: 24px;
3665  padding: 0 20px;
3666
3667  @media ${n.default.laptop} {
3668    ${v.h4Styles}
3669    margin-bottom: 40px;
3670    padding: 0;
3671  }
3672`,lm=h.default.forwardRef((e,t)=>(0,r.jsx)(lf,{ref:t,...e,"data-component":"ReturnPolicyModal-Title"}));lm.displayName="Title";let lg=e=>{let t=(0,q.useT)();return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(ll,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(ld,{onClick:e.onRequestClose,children:[(0,r.jsx)(lc,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(lp,{children:t("Back")})]})}),(0,r.jsx)(lm,{children:t("Returns")}),(0,r.jsx)(lo.default,{content:e.returnPolicy})]})})},lx=e=>String(e||"US").toUpperCase(),lh={domestic:{amount:49,currencyCode:"USD"},international:{amount:39,currencyCode:"USD"}},ly={domestic:{},international:{}};var lv=e.i(433717),lb=e.i(464204),lw=e.i(594098),lj=e.i(454315);let lS=(e,t)=>{let a,r,o,i,l=(a=lx(e),(r=ly[t][a])||("US"===a?lh[t]:void 0));return l?(o=2*!Number.isInteger(l.amount),i=new Intl.NumberFormat((0,lw.getMarketLocale)(String(e||"US")),{currency:l.currencyCode,maximumFractionDigits:o,minimumFractionDigits:o,style:"currency"}).format(l.amount),l.currencyCode===(0,lb.getMarketCurrency)(e)?i:`${i} ${l.currencyCode}`):void 0};function lk(e){let t=(0,q.useT)(),a=(0,lv.useMarket)(),r=e??("US"===lx(a)?"domestic":"international");return h.default.useMemo(()=>{let e=lS(a,r);return e?t("Orders over {amount} ship free").replace("{amount}",e):""},[t,a,r])}e.s(["useFreeShippingMessage",0,lk,"useShippingMessage",0,function(){let e=(0,q.useT)(),t=(0,lv.useMarket)();return h.default.useCallback(a=>
3672{if(!a)return"";let r=a===lj.DEFAULT_DOMESTIC_SHIPPING_MESSAGE?"domestic":a===lj.DEFAULT_INTERNATIONAL_SHIPPING_MESSAGE?"international":null;if(!r)return e(a);let o=lS(t,r);return o?e("Orders over {amount} ship free").replace("{amount}",o):""},[e,t])}],353064);let l$=[{items:["Free worldwide shipping for orders placed on the Urban Armor Gear website.","Orders are processed Monday to Friday. Orders placed during off-hours (such as weekends and major holidays) will be shipped the following business day.","Back-ordered products will be shipped once stock becomes available, with the selected ship method.","To accelerate delivery, orders may ship from our local or international fulfillment center.","Orders with multiple products may be shipped separately if product is not immediately available.","Pre-order items will ship with the requested shipping speed, as soon as the goods become available."],title:"General Information"},{items:["After you place an order, you will receive an order confirmation email. Our warehouse team will then begin the process of packaging and shipping your order, this process can take between 24 to 72 hours. Once your order has shipped from our warehouse, a follow-up email will be sent that will include your tracking information."],title:"Order Processing"},{items:["Orders shipped from our US warehouse will be shipped via USPS unless we are notified during the checkout process. US orders will ship to the following areas: Continental United States, Hawaii, Alaska, American Samoa, Guan, the Northern Mariana Islands, Puerto Rico, and the US Virgin Islands."],title:"Domestic Orders"},{items:["Expedited orders must be received by 11AM PST to have the order processed on the same day. An expedited order that is received after 11AM PST will be shipped the following business day.","We do not ship expedited orders on weekends or major holidays. For example, if a Standard Overnight order is placed on a Friday at 1PM PST, it will ship the following Monday (the order was received past the 11AM PST cutoff to ship same day).","If product is back-ordered or out of stock, once product is in stock, it will ship with the selected shipping method.","Expedited shipping does apply to P.O. Boxes, APO's, or US Territories."],title:"Expedited Shipping"},{items:["Orders shipped from our Hong Kong warehouse will be shipped via Hong Kong Post. At this time we do not offer expedited shipping for international orders."],title:"International Shipping"},{items:["Orders may be delayed due to having an invalid shipping address, custom clearance, natural disasters, major holidays, out of stock, etc.","International orders may be subject to import and custom fees imposed by the destination country. Urban Armor Gear has no control over these fees and is not responsible. For more information, please follow-up with your local customs office.","We do not ship to the following countries: North Korea, Congo, Ivory Coast, Liberia, Sierra Leone, Burma, Belarus, Iran, Iraq, Syria, Aland Islands, Angola, Bouvet Island, Curaçao, Guernsey, Heard Island and McDonald Islands, Holy See (Vatican City State), Isle Of Man, Jersey, Liechtenstein, Macao, Mayotte, Mozambique, Niue, Reunion, Saint Barthélemy, Saint Martin, Svalbard And Jan Mayen, Tokelau, Turks and Caicos Islands, Western Sahara.","For any additional questions or concerns, please visit our Help Center"],title:"Additional Information"}],lC=c.default.div`
3673  @media ${n.default.laptop} {
3674    padding-top: 86px;
3675  }
3676`,lR=h.default.forwardRef((e,t)=>(0,r.jsx)(lC,{ref:t,...e,"data-component":"ShippingInfoModal-Container"}));lR.displayName="Container";let lP=c.default.div`
3677  display: flex;
3678  flex-direction: row;
3679  align-items: center;
3680  height: 72px;
3681  margin-bottom: 40px;
3682  border-bottom: 1px solid ${d.default.dividerLineGray};
3683  padding: 0 20px;
3684
3685  @media ${n.default.laptop} {
3686    height: 56px;
3687    margin-bottom: 100px;
3688    border-bottom: none;
3689    padding: 0;
3690  }
3691`,lN=h.default.forwardRef((e,t)=>(0,r.jsx)(lP,{ref:t,...e,"data-component":"ShippingInfoModal-Header"}));lN.displayName="Header";let lI=c.default.button`
3692  cursor: pointer;
3693  background: none;
3694  border: none;
3695  outline: none;
3696  height: 32px;
3697  width: 32px;
3698  transform: rotate(180deg) translateY(1px);
3699  padding: 0;
3700  margin-right: 8px;
3701
3702  @media ${n.default.laptop} {
3703    display: none;
3704  }
3705`,lB=h.default.forwardRef((e,t)=>
3705(0,r.jsx)(lI,{ref:t,...e,"data-component":"ShippingInfoModal-HeaderButton"}));lB.displayName="HeaderButton";let lT=c.default.div`
3706  ${v.smallcapsBold13Styles}
3707
3708  @media ${n.default.laptop} {
3709    ${v.h4Styles}
3710  }
3711`,lD=h.default.forwardRef((e,t)=>(0,r.jsx)(lT,{ref:t,...e,"data-component":"ShippingInfoModal-HeaderText"}));lD.displayName="HeaderText";let lM=c.default.div`
3712  padding: 0 20px;
3713
3714  @media ${n.default.laptop} {
3715    padding: 0;
3716  }
3717`,lO=h.default.forwardRef((e,t)=>(0,r.jsx)(lM,{ref:t,...e,"data-component":"ShippingInfoModal-Content"}));lO.displayName="Content";let lA=c.default.div`
3718  ${v.h4Styles}
3719  text-transform: uppercase;
3720`,lF=h.default.forwardRef((e,t)=>(0,r.jsx)(lA,{ref:t,...e,"data-component":"ShippingInfoModal-Banner"}));lF.displayName="Banner";let lE=c.default.div`
3721  margin-top: 38px;
3722
3723  @media ${n.default.laptop} {
3724    margin-top: 60px;
3725  }
3726`,lL=h.default.forwardRef((e,t)=>(0,r.jsx)(lE,{ref:t,...e,"data-component":"ShippingInfoModal-Paragraph"}));lL.displayName="Paragraph";let lW=c.default.div`
3727  ${v.smallcapsBold13Styles}
3728  margin-bottom: 16px;
3729`,lG=h.default.forwardRef((e,t)=>(0,r.jsx)(lW,{ref:t,...e,"data-component":"ShippingInfoModal-ParagraphTitle"}));lG.displayName="ParagraphTitle";let lV=c.default.div`
3730  ${v.body16MainStyles}
3731  color: ${d.default.mediumDarkGray};
3732
3733  @media ${n.default.laptop} {
3734    ${v.body18Styles}
3735    color: ${d.default.mediumDarkGray};
3736  }
3737`,lU=h.default.forwardRef((e,t)=>(0,r.jsx)(lV,{ref:t,...e,"data-component":"ShippingInfoModal-ParagraphBody"}));lU.displayName="ParagraphBody";let l_=c.default.ul`
3738  padding-inline-start: 20px;
3739  list-style-type: disc;
3740`,lH=h.default.forwardRef((e,t)=>(0,r.jsx)(l_,{ref:t,...e,"data-component":"ShippingInfoModal-List"}));lH.displayName="List";let lz=c.default.li`
3741  padding: 4px 0;
3742`,lq=h.default.forwardRef((e,t)=>(0,r.jsx)(lz,{ref:t,...e,"data-component":"ShippingInfoModal-ListItem"}));lq.displayName="ListItem";let lK=e=>{let t=(0,q.useT)(),a=lk();return(0,r.jsx)(eU.default,{...e,children:(0,r.jsxs)(lR,{children:[(0,r.jsx)(T.MobileOnly,{children:(0,r.jsxs)(lN,{onClick:e.onRequestClose,children:[(0,r.jsx)(lB,{children:(0,r.jsx)(o.Chevron,{strokeColor:d.default.black})}),(0,r.jsx)(lD,{children:t("Shipping")})]})}),(0,r.jsx)(T.DesktopOnly,{children:(0,r.jsx)(lN,{children:(0,r.jsx)(lD,{children:t("Shipping Info")})})}),(0,r.jsxs)(lO,{children:[a&&(0,r.jsx)(T.MobileOnly,{children:(0,r.jsx)(lF,{children:a})}),l$.map(e=>(0,r.jsxs)(lL,{children:[(0,r.jsx)(lG,{children:t(e.title)}),(0,r.jsx)(lU,{children:(0,r.jsx)(lH,{children:e.items.map(e=>(0,r.jsx)(lq,{children:t(e)},e))})})]},e.title))]})]})})};var lY=e.i(745409),lZ=e.i(426943),lX=e.i(618566);function lQ(e){let t=(0,lX.useRouter)(),a=(0,lX.usePathname)(),[r,o]=(0,h.useState)(!1),i=(0,h.useRef)(!1);return(0,h.useEffect)(()=>{let t=()=>{let t=new URLSearchParams(window.location.search).get("modal")===e;o(t),t||(i.current=!1)};return t(),window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)},[e]),{isOpen:r,open:(0,h.useCallback)(()=>{let r=new URLSearchParams(window.location.search);r.set("modal",e),i.current=!0,o(!0),t.push(`${a}?${r.toString()}`,{scroll:!1})},[t,a,e]),close:(0,h.useCallback)(()=>{if(o(!1),i.current){i.current=!1,t.back();return}let e=new URLSearchParams(window.location.search);e.delete("modal");let r=e.toString();t.replace(`${a}${r?"?"+r:""}`,{scroll:!1})},[t,a])}}e.s(["useModalParam",0,lQ],844304);let lJ=`
3743  query GetReturnsFaqs {
3744    returnsSettingsCollection(
3745      where: { internalTitle: "uag returns settings" }
3746      limit: 1
3747    ) {
3748      items {
3749        faqsCollection(limit: 20) {
3750          items { question answer { json } }
3751        }
3752      }
3753    }
3754  }
3755`,l0=c.default.div`
3756  display: flex;
3757  flex-direction: column;
3758  margin: 24px 0;
3759`,l1=h.default.forwardRef((e,t)=>(0,r.jsx)(l0,{ref:t,...e,"data-component":"PDPButtons-Container"}));l1.displayName="Container";let l2=c.default.button`
3760  ${v.smallcapsBold13Styles}
3761  display: flex;
3762  width: 100%;
3763  height: 56px;
3764  padding: 0 20px;
3765  flex-direction: row;
3766  align-items: center;
3767  justify-content: space-between;
3768  color: ${d.default.black};
3769  background: none;
3770  border: none;
3771  border-top: 1px solid ${d.default.dividerLineGray};
3772  outline: none;
3773  cursor: pointer;
3774
3775  @media ${n.default.laptop} {
3776    padding: 0;
3777  }
3778`,l4=h.default.forwardRef((e,t)=>(0,r.jsx)(l2,{ref:t,...e,"data-component":"PDPButtons-Button"}));l4.displayName="Button";let l6=l2.withComponent("a"),l3=h.default.forwardRef((e,t)=>(0,r.jsx)(l6,{ref:t,...e,"data-component":"PDPButtons-LinkButton"}));l3.displayName="LinkButton";let l5=c.default.span`
3779  padding-top: 4px;
3780`,l8=h.default.forwardRef((e,t)=>(0,r.jsx)(l5,{ref:t,...e,"data-component":"PDPButtons-ButtonText"}));l8.displayName="ButtonText";let l9=c.default.div`
3781  height: 24px;
3782  width: 24px;
3783`,l7=h.default.forwardRef((e,t)=>(0,r.jsx)(l9,{ref:t,...e,"data-component":"PDPButtons-ButtonIcon"}));l7.displayName="ButtonIcon";let ne=c.default.div`
3784  display: flex;
3785  flex-direction: row;
3786  align-items: center;
3787`,nt=h.default.forwardRef((e,t)=>(0,r.jsx)(ne,{ref:t,...e,"data-component":"PDPButtons-RatingsContainer"}));nt.displayName="RatingsContainer";let na=(0,c.default)(B)`
3788  margin-right: 8px;
3789`,nr=c.default.div`
3790  padding: 0 20px;
3791
3792  @media ${n.default.laptop} {
3793    padding: 0;
3794  }
3795`,no=h.default.forwardRef((e,t)=>(0,r.jsx)(nr,{ref:t,...e,"data-component":"PDPButtons-ReturnsFaqContent"}));no.displayName="ReturnsFaqContent";let ni=c.default.div`
3796  ${v.smallcapsBold13Styles}
3797  margin-top: 24px;
3798  margin-bottom: 8px;
3799
3800  &:first-of-type {
3801    margin-top: 0;
3802  }
3803`,nl=h.default.forwardRef((e,t)=>(0,r.jsx)(ni,{ref:t,...e,"data-component":"PDPButtons-ReturnsFaqQuestion"}));nl.displayName="ReturnsFaqQuestion";let nn=c.default.div`
3804  ${v.body16MainStyles}
3805  color: ${d.default.mediumDarkGray};
3806
3807  p {
3808    margin: 0 0 8px;
3809  }
3810
3811  ul {
3812    margin: 0 0 8px;
3813    padding-left: 18px;
3814  }
3815`,nd=h.default.forwardRef((e,t)=>(0,r.jsx)(nn,{ref:t,...e,"data-component":"PDPButtons-ReturnsFaqAnswer"}));nd.displayName="ReturnsFaqAnswer",e.s(["default",0,({avgRating:e,installationContent:t,numReviews:a,pdpLinks:i,prop65Text:l,resourcesContent:n,setShowReviews:d,showProp65Button:s,specTitle:c,specs:u,specSheets:p})=>{let f=(0,q.useT)(),m=lQ("shipping"),g=lQ("returns"),x=lQ("bulk-ordering"),y=lQ("specs"),v=lQ("installation"),[b,w]=(0,h.useState)(!1),[j,S]=(0,h.useState)(!1),[k,$]=(0,h.useState)(!1),[C,R]=(0,h.useState)(!1),[P,N]=(0,h.useState)([]);h.default.useEffect(()=>{(0,ob.contentfulFetch)(lJ).then(({data:e})=>{N(e?.returnsSettingsCollection?.items?.[0]?.faqsCollection?.items||[])}).catch(e=>console.warn("Failed to load returns FAQs:",e))},[]);let I=(0,r.jsx)(no,{children:P.map((e,t)=>(0,r.jsxs)("div",{children:[(0,r.jsx)(nl,{children:f(e.question)}),(0,r.jsx)(nd,{children:(0,lY.renderRichText)(e?.answer||r6.emptyRichText,lZ.withAllOptions,f)})]},t))});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l1,{children:[u&&u.length>0&&(0,r.jsxs)(l4,{onClick:y.open,children:[(0,r.jsx)(l8,{children:f("Specifications")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),p&&p.length>0&&!(u&&u.length>0)&&(0,r.jsxs)(l4,{onClick:()=>S(!0),children:[(0,r.jsx)(l8,{children:f("Specifications")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),(0,r.jsxs)(l4,{onClick:()=>d(!0),children:[(0,r.jsx)(l8,{children:f("Reviews ({count})").replace("{count}",String(a))}),(0,r.jsxs)(nt,{children:[(0,r.jsx)(na,{stars:Math.round(e)}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]})]}),(0,r.jsxs)(l4,{onClick:m.open,children:[(0,r.jsx)(l8,{children:f("Shipping Info")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),P.length>0&&(0,r.jsxs)(l4,{onClick:g.open,children:[(0,r.jsx)(l8,{children:f("Returns")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),t&&(0,r.jsxs)(l4,{onClick:v.open,children:[(0,r.jsx)(l8,{children:f("Installation")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),n&&(0,r.jsxs)(l4,{onClick:()=>R(!0),children:[(0,r.jsx)(l8,{children:f("Resources")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),(0,r.jsxs)(l4,{onClick:x.open,children:[(0,r.jsx)(l8,{children:f("Bulk Ordering")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),s&&(0,r.jsxs)(l4,{onClick:()=>$(!0),children:[(0,r.jsx)(l8,{children:f("Prop 65")}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]}),(i??[]).map(({link:e,text:t},a)=>{let i=/^https?:\/\//i.test(e);return(0,r.jsxs)(l3,{href:e,...i?{rel:"noopener noreferrer",target:"_blank"}:{},children:[(0,r.jsx)(l8,{children:f(t)}),(0,r.jsx)(l7,{children:(0,r.jsx)(o.Chevron,{})})]},`${e}-${a}`)})]}),(0,r.jsx)(lK,{isOpen:m.isOpen,onRequestClose:m.close,slideFromRight:!0}),(0,r.jsx)(lg,{isOpen:g.isOpen,onRequestClose:g.close,returnPolicy:I,slideFromRight:!0}),(0,r.jsx)(oY,{isOpen:x.isOpen,onRequestClose:x.close,showSuccess:()=>{w(!0),x.close()},slideFromRight:!0}),(0,r.jsx)(lr,{isOpen:b,onRequestClose:()=>w(!1),slideFromRight:!0}),(0,r.jsx)(iK,{isOpen:y.isOpen,onRequestClose:y.close,slideFromRight:!0,specTitle:c,specs:u}),(0,r.jsx)(iR,{isOpen:j,onRequestClose:()=>S(!1),slideFromRight:!0,specSheets:p}),(0,r.jsx)(i6,{content:l,isOpen:k,onRequestClose:()=>$(!1),slideFromRight:!0}),t&&(0,r.jsx)(ie,{isOpen:v.isOpen,onRequestClose:v.close,slideFromRight:!0,title:f("Installation"),children:t}),n&&(0,r.jsx)(ie,{isOpen:C,onRequestClose:()=>R(!1),slideFromRight:!0,title:f("Resources"),children:n})]})}],211726);let ns=c.default.div`
3816  flex-direction: column;
3817  display: flex;
3818  padding-top: 40px;
3819
3820  @media ${n.default.laptop} {
3821    padding-top: 54px;
3822  }
3823`,nc=h.default.forwardRef((e,t)=>
3823(0,r.jsx)(ns,{ref:t,...e,"data-component":"PDPDescription-Container"}));nc.displayName="Container";let nu=c.default.div`
3824  margin-bottom: 0;
3825  padding: 0 20px;
3826
3827  h6 {
3828    ${v.body14Styles}
3829    margin: 0 0 34px;
3830  }
3831
3832  p {
3833    ${v.paragraph20Styles}
3834    margin: 0 0 34px;
3835
3836    &:last-child {
3837      margin-bottom: 0;
3838    }
3839  }
3840
3841  p.finePrint {
3842    ${v.subtextStyles}
3843    margin: 0 0 12px;
3844
3845    &:last-child {
3846      margin-bottom: 0;
3847    }
3848  }
3849
3850  ul {
3851    margin: 0 0 34px;
3852    padding-left: 18px;
3853
3854    &:last-child {
3855      margin-bottom: 0;
3856    }
3857  }
3858
3859  li {
3860    color: ${d.default.mediumDarkGray};
3861
3862    p {
3863      ${v.paragraphStyles}
3864      color: ${d.default.mediumDarkGray};
3865    }
3866  }
3867
3868  @media ${n.default.laptop} {
3869    margin-bottom: 22px;
3870    padding: 0;
3871
3872    h6 {
3873      margin-bottom: 32px;
3874    }
3875
3876    p {
3877      margin-bottom: 32px;
3878      font-size: 22px;
3879      line-height: 28px;
3880    }
3881
3882    p.finePrint {
3883      ${v.subtextStyles}
3884      margin-bottom: 12px;
3885    }
3886
3887    ul {
3888      margin-bottom: 32px;
3889    }
3890
3891    li {
3892      p {
3893        ${v.paragraph18Styles}
3894        color: ${d.default.mediumDarkGray};
3895      }
3896    }
3897  }
3898`,np=h.default.forwardRef((e,t)=>(0,r.jsx)(nu,{ref:t,...e,"data-component":"PDPDescription-Description"}));np.displayName="Description";let nf={center:"center",left:"flex-start",right:"flex-end"},nm=c.default.div`
3899  padding: 0 20px;
3900  margin-bottom: 22px;
3901
3902  @media ${n.default.laptop} {
3903    padding: 0;
3904  }
3905`,ng=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
3906  display: flex;
3907  flex-wrap: wrap;
3908  align-items: center;
3909  justify-content: ${({$alignment:e})=>nf[e]??nf.center};
3910  gap: 12px;
3911  margin-bottom: 24px;
3912
3913  @media ${n.default.laptop} {
3914    gap: 16px;
3915  }
3916`,nx=c.default.img`
3917  display: block;
3918  height: auto;
3919  max-height: 88px;
3920  width: auto;
3921  max-width: 100%;
3922  object-fit: contain;
3923`,nh=(0,c.default)(nu)`
3924  padding: 0;
3925`,ny=h.default.forwardRef((e,t)=>(0,r.jsx)(nm,{ref:t,...e,"data-component":"PDPDescription-LogosBlock"}));ny.displayName="LogosBlock",e.s(["default",0,({description:e,deviceAnchorText:t,logos:a,logosAlignment:o,logosDescription:i})=>{let l=!!(a&&a.length>0),n=!!i,d=l||n;return(0,r.jsxs)(nc,{children:[(0,r.jsx)(np,{children:e}),d&&(0,r.jsxs)(ny,{children:[l&&(0,r.jsx)(ng,{$alignment:o,children:a.map((e,t)=>(0,r.jsx)(nx,{alt:"",src:`${e.url}${e.url.includes("?")?"&":"?"}w=360&fm=webp&q=75`,loading:"lazy"},`${e.url}-${t}`))}),n&&(0,r.jsx)(nh,{children:i})]}),t&&(0,r.jsx)(np,{id:"deviceAnchorLink",children:t})]})}],237233);let nv=c.default.div`
3926  @media ${n.default.laptop} {
3927    display: flex;
3928  }
3929`,nb=h.default.forwardRef((e,t)=>(0,r.jsx)(nv,{ref:t,...e,"data-component":"ResourcesBlock-Container"}));nb.displayName="Container";let nw=c.default.div`
3930  flex-direction: column;
3931  display: flex;
3932  padding-top: 40px;
3933
3934  @media ${n.default.laptop} {
3935    width: 100%;
3936    padding-top: 54px;
3937  }
3938`,nj=h.default.forwardRef((e,t)=>(0,r.jsx)(nw,{ref:t,...e,"data-component":"ResourcesBlock-ContentWrapper"}));nj.displayName="ContentWrapper";let nS=c.default.div`
3939  margin-bottom: 31px;
3940  padding: 0 20px;
3941
3942  h6 {
3943    ${v.body14Styles}
3944    margin: 0 0 34px;
3945  }
3946
3947  p {
3948    ${v.paragraph20Styles}
3949    margin: 0 0 34px;
3950
3951    &:last-child {
3952      margin-bottom: 0;
3953    }
3954  }
3955
3956  p.finePrint {
3957    ${v.subtextStyles}
3958    margin: 0 0 12px;
3959
3960    &:last-child {
3961      margin-bottom: 0;
3962    }
3963  }
3964
3965  ul {
3966    margin: 0 0 34px;
3967    padding-left: 18px;
3968
3969    &:last-child {
3970      margin-bottom: 0;
3971    }
3972  }
3973
3974  li {
3975    color: ${d.default.mediumDarkGray};
3976
3977    p {
3978      ${v.paragraphStyles}
3979      color: ${d.default.mediumDarkGray};
3980    }
3981  }
3982
3983  @media ${n.default.laptop} {
3984    margin-bottom: 22px;
3985    padding: 0;
3986
3987    h6 {
3988      margin-bottom: 41px;
3989    }
3990
3991    p {
3992      margin-bottom: 41px;
3993      font-size: 22px;
3994      line-height: 33px;
3995    }
3996
3997    p.finePrint {
3998      ${v.subtextStyles}
3999      margin-bottom: 12px;
4000    }
4001
4002    ul {
4003      margin-bottom: 41px;
4004    }
4005
4006    li {
4007      p {
4008        ${v.paragraph18Styles}
4009        color: ${d.default.mediumDarkGray};
4010      }
4011    }
4012  }
4013`,nk=h.default.forwardRef((e,t)=>(0,r.jsx)(nS,{ref:t,...e,"data-component":"ResourcesBlock-Text"}));nk.displayName="Text";let n$=c.default.div`
4014  padding: 0 20px;
4015
4016  @media ${n.default.laptop} {
4017    width: 320px;
4018    padding: 0;
4019  }
4020`,nC=h.default.forwardRef((e,t)=>
4020(0,r.jsx)(n$,{ref:t,...e,"data-component":"ResourcesBlock-DownloadWrapper"}));nC.displayName="DownloadWrapper";let nR=c.default.a`
4021  width: 100%;
4022
4023  @media ${n.default.laptop} {
4024    width: 320px;
4025  }
4026`,nP=h.default.forwardRef((e,t)=>(0,r.jsx)(nR,{ref:t,...e,"data-component":"ResourcesBlock-Download"}));nP.displayName="Download",e.s(["default",0,({media:e,text:t})=>{let a=(0,q.useT)();return(0,r.jsx)(nb,{children:(0,r.jsxs)(nj,{children:[(0,r.jsx)(nk,{children:t}),e&&(0,r.jsx)(nC,{children:(0,r.jsx)(nP,{download:!0,href:e?.url||"",target:"_blank",children:(0,r.jsx)(od.default,{text:a("Download")})})})]})})}],35993);let nN={blocked:!1,message:void 0};e.s(["useNotAvailableInCountry",0,function({customerCountryCode:e,fetched:t,initial:a,productSlug:r,rules:o}){let[i,l]=(0,h.useState)(a??nN);return(0,h.useEffect)(()=>{t&&o&&e&&r&&l(function({countryCode:e,productSlug:t,rules:a}){if(!a||!e||!t)return nN;for(let r of a){let a=(0,M.get)(r,"countries")??[];if(!a?.includes(e))continue;let o=(0,M.get)(r,"products")??[];if(o?.some(({slug:e})=>e===t))return{blocked:!0,message:r.message}}return nN}({countryCode:e,productSlug:r,rules:o}))},[o,e,r,t]),{blocked:i.blocked,message:i.message}}],9065);var nI=e.i(340213);e.s(["usePdpAvailability",0,function({currentSku:e,currentVariant:t,customerCountryCode:a,initialIsAvailable:r,inventoryData:o,mode:i}){let[l,n]=h.default.useState({isAvailable:r??!0,quantity:0,shippingMessage:"",warehouseLocation:""}),[d,s]=h.default.useState(!1);return h.default.useEffect(()=>{e&&o&&(n((0,nI.default)(a||"US",e,o,{mode:i,variantAvailability:t?.availability})),s(!0))},[i,e,a,t?.availability,o]),{availabilityData:l,inventoryReady:d,shippingMessage:l?.shippingMessage}}],960410);var nB=Math.max;let nT=function(e,t,a){var r=null==e?0:e.length;if(!r)return -1;var o=null==a?0:(0,L.default)(a);return o<0&&(o=nB(r+o,0)),(0,A.default)(e,(0,f.default)(t,3),o)};e.s(["default",0,nT],910646);var nD=e.i(852810),nM=e.i(452587);e.s(["usePdpVariantState",0,function({customerCountryCode:e="US",inventoryData:t,mode:a="PDP",urlKeys:r,variants:o}){let i=r?.variant??"variant",l=r?.device??"device",n=(0,lv.useMarket)(),d=(0,h.useMemo)(()=>o.filter(e=>(0,nD.isValidVariant)(e)),[o]),[s,c]=(0,h.useState)(d),[u,p]=(0,h.useState)(0),[f,m]=(0,h.useState)(!1),[g,y]=(0,h.useState)(!1),[v,b]=(0,h.useState)(!1),w=(0,h.useRef)(null);(0,h.useEffect)(()=>{let e=window.location.search,t=e&&"u">typeof URLSearchParams?new URLSearchParams(e):null;if(!t)return void m(!0);let r=t.get(i)?.trim(),o=t.get(l)?.trim();if(r){let e=-1;if("SOPDP"===a&&o&&(e=nT(d,e=>{let t=e?.sku,a=e?.deviceName;return t?.trim()===r&&a?.trim()===o})),-1===e&&(e=nT(d,e=>{let t=e?.sku;return t?.trim()===r})),-1!==e){w.current={device:o,sku:r},p(e),y(!0),m(!0);return}}m(!0)},[]),(0,h.useEffect)(()=>{if(!t||!e)return;let r=d.map(r=>{let o=(0,nI.default)(e,r.sku,t,{mode:a,variantAvailability:r.availability});return{...r,__isUnavailable:!o?.isAvailable}}),o=(0,nM.sortBy)(r,e=>e.__isUnavailable);c(o);let i=w.current,l=-1;i?.sku&&("SOPDP"===a&&i.device&&(l=nT(o,e=>{let t=e?.sku,a=e?.deviceName;return t?.trim()===i.sku&&a?.trim()===i.device})),-1===l&&(l=nT(o,e=>{let t=e?.sku;return t?.trim()===i.sku}))),-1!==l?(p(e=>e!==l?l:e),b(!0)):v?p(e=>0!==e?0:e):(p(0),b(!0))},[t,e]),(0,h.useEffect)(()=>{if(!f||!g&&!v)return;let e=s[u];if(!e?.sku)return;let t=new URLSearchParams(window.location.search),r=e.sku;if(t.set(i,(r||"").trim()),"SOPDP"===a)if(e?.deviceName){let a=e.deviceName;t.set(l,(a||"").trim())}else t.delete(l);let o=`?${t.toString()}`;window.location.search!==o&&window.history?.replaceState({},"",o)},[u,s,f,a,g,v]);let j=s[u],S=j?void 0:o?.[0],k=(0,nD.getMarketPrice)(j,n,"price"),$=(0,nD.getMarketPrice)(j,n,"compareAtPrice"),C=k.amount,R=$.amount||void 0,P=k.currencyCode,N=(0,h.useMemo)(()=>x(s,"sku"),[s]);return{activeVariant:u,currencyCode:P,currentVariant:j,fallbackVariant:S,price:C,retailPrice:R,setActiveVariant:p,validVariantsByStock:s,validVariantSkus:N}}],229153);var nO=e.i(601575),nA=e.i(42e4),nF=e.i(775985);let nE=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4027  width: 100%;
4028  height: 100%;
4029
4030  > * {
4031    height: 100%;
4032    --controls: ${({$hideControls:e})=>e&&"none"};
4033    --media-object-fit: cover;
4034    --media-object-position: center;
4035    object-fit: contain;
4036    object-position: center;
4037    aspect-ratio: ${({$fullWidth:e})=>e?"16/9":"1/1"};
4038  }
4039
4040  /* One player element serves both PDP breakpoints: 1:1 in the mobile
4041     scroller, 16:9 in the desktop grid (gallery video / action main). */
4042  ${({$laptopFullWidth:e})=>e?`@media ${n.default.laptop} {
4043    > * {
4044      aspect-ratio: 16/9;
4045    }
4046  }`:""}
4047
4048  > mux-player::part(center play button) {
4049    display: flex;
4050    pointer-events: ${({$disablePlayback:e})=>e?"none":"auto"};
4051    background-color: ${d.default.mediumDarkGray};
4052  }
4053`;function nL({autoplayVideo:e=!1,disablePlayback:t=!1,fullWidth:a=!1,hideControls:o=!1,laptopFullWidth:i=!1,loopVideo:l=!0,muxVideo:n}){let s=n?.video?.playbackId;return(0,r.jsx)(nW,{$disablePlayback:t,$fullWidth:a,$hideControls:o,$laptopFullWidth:i,children:(0,r.jsx)(nF.default,{accentColor:d.default.brandOrange,autoPlay:!!e&&"muted",loop:l,nohotkeys:o,playbackId:s,streamType:"on-demand"})})}let nW=h.default.forwardRef((e,t)=>(0,r.jsx)(nE,{ref:t,...e,"data-component":"DesktopMuxPlayer-VideoWrapper"}));nW.displayName="VideoWrapper";let nG=(e,t)=>{let a=t<3;return{altType:0===t?"gallery":"detail",desktopOrder:0===t?0:1===t?1:2,fit:"contain",frame:0===t?"DesktopProductImages-MainImage":a?"DesktopProductImages-SecondaryImage":"MobileProductImages-ImageWrapper",item:e,kind:"variant",laptopFullWidth:!1,slot:0===t?"hero":a?"half":"hidden"}},nV=(e,t)=>({altType:"gallery",desktopOrder:3,fit:"contain",frame:0===t?"DesktopProductImages-MainImage":"MobileProductImages-ImageWrapper",item:e,kind:"gallery",laptopFullWidth:0===t,slot:0===t?"full":"hidden"}),nU=s.css`
4054  border: none;
4055  background: none;
4056  color: inherit;
4057  font: inherit;
4058  cursor: pointer;
4059  outline: inherit;
4060`;var n_=e.i(174080),nH=Object.defineProperty,nz=new Map,nq=new WeakMap,nK=0;h.Component,null!=(null!=(a="useInsertionEffect"in h?h.useInsertionEffect:void 0)?a:h.useLayoutEffect)||h.useEffect;let nY=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4061  margin: ${({$scale:e})=>1===e?"10vh 0":0};
4062`,nZ=h.default.forwardRef((e,t)=>(0,r.jsx)(nY,{ref:t,...e,"data-component":"ZoomedImage-Container"}));nZ.displayName="Container";let nX=c.default.div`
4063  .image-helper-container {
4064    justify-content: center;
4065    display: flex;
4066    width: 100%;
4067    height: auto;
4068  }
4069`,nQ=h.default.forwardRef((e,t)=>(0,r.jsx)(nX,{ref:t,...e,"data-component":"ZoomedImage-ImageWrapper"}));nQ.displayName="ImageWrapper";let nJ=h.default.forwardRef((e,a)=>{let{inView:o,ref:l}=function({threshold:e,delay:a,trackVisibility:r,rootMargin:o,root:i,triggerOnce:l,skip:n,initialInView:d,fallbackInView:s,onChange:c}={}){var u;let[p,f]=h.useState(null),m=h.useRef(c),g=h.useRef(d),[x,y]=h.useState({inView:!!d,entry:void 0});m.current=c,h.useEffect(()=>{let c;if(void 0===g.current&&(g.current=d),!n&&p)return c=function(e,a,r={},o=t){if(void 0===window.IntersectionObserver&&void 0!==o){let t=e.getBoundingClientRect();return a(o,{isIntersecting:o,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:t,intersectionRect:t,rootBounds:t}),()=>{}}let{id:i,observer:l,elements:n}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var a;return`${t}_${"root"===t?!(a=e.root)?"0":(nq.has(a)||(nK+=1,nq.set(a,nK.toString())),nq.get(a)):e[t]}`}).toString(),a=nz.get(t);if(!a){let r,o=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var a;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),[...null!=(a=o.get(t.target))?a:[]].forEach(e=>{e(i,t)})})},e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:t,observer:i,elements:o},nz.set(t,a)}return a}(r),d=n.get(e)||[];return n.has(e)||n.set(e,d),d.push(a),l.observe(e),function(){d.splice(d.indexOf(a),1),0===d.length&&(n.delete(e),l.unobserve(e)),0===n.size&&(l.disconnect(),nz.delete(i))}}(p,(e,t)=>{let a=g.current;g.current=e,(void 0!==a||e)&&(y({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&l&&c&&(c(),c=void 0))},{root:i,rootMargin:o,threshold:e,trackVisibility:r,delay:a},s),()=>{c&&c()}},[Array.isArray(e)?e.toString():e,p,i,o,l,n,r,s,a]);let v=null==(u=x.entry)?void 0:u.target,b=h.useRef(void 0);p||!v||l||n||b.current===v||(b.current=v,y({inView:!!d,entry:void 0}),g.current=d);let w=[f,x.inView,x.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}({threshold:.65});return h.default.useEffect(()=>{o&&e.toggleActive()}
4069,[o]),(0,r.jsx)(nZ,{$scale:e.scale,ref:a,children:(0,r.jsx)("div",{ref:l,children:(0,r.jsx)(nQ,{children:(0,r.jsx)(i.default,{alt:e.alt||"Zoomed product image",src:e.image})})})})});nJ.displayName="ZoomedImage";let n0=c.default.div`
4070  z-index: 10000;
4071  position: fixed;
4072  top: 0;
4073  left: 0;
4074  overflow: auto;
4075  width: 100vw;
4076  height: 100vh;
4077  background-color: ${d.default.white};
4078`,n1=h.default.forwardRef((e,t)=>(0,r.jsx)(n0,{ref:t,...e,"data-component":"ZoomedImageGallery-Container"}));n1.displayName="Container";let n2=c.default.div`
4079  ${v.smallcapsBold14Styles}
4080
4081  z-index: 10000;
4082  position: fixed;
4083  top: 0;
4084  left: 0;
4085  flex-direction: column;
4086  display: flex;
4087  height: 100vh;
4088  padding-top: 40px;
4089  overflow-y: auto;
4090`,n4=h.default.forwardRef((e,t)=>(0,r.jsx)(n2,{ref:t,...e,"data-component":"ZoomedImageGallery-Sidebar"}));n4.displayName="Sidebar";let n6=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4091  width: ${({$scale:e})=>1===e?"50vw":"100vw"};
4092  margin: 0 auto;
4093`,n3=h.default.forwardRef((e,t)=>(0,r.jsx)(n6,{ref:t,...e,"data-component":"ZoomedImageGallery-Images"}));n3.displayName="Images";let n5=c.default.div`
4094  height: 72px;
4095  width: 72px;
4096  position: relative;
4097  margin-bottom: 20px;
4098  margin-left: 3px;
4099  cursor: pointer;
4100
4101  padding-left: 3px;
4102`,n8=h.default.forwardRef((e,t)=>(0,r.jsx)(n5,{ref:t,...e,"data-component":"ZoomedImageGallery-Thumbnail"}));n8.displayName="Thumbnail";let n9=c.default.div`
4103  .image-helper-container {
4104    width: 72px;
4105    height: 72px;
4106
4107    img {
4108      object-fit: cover;
4109    }
4110  }
4111`,n7=h.default.forwardRef((e,t)=>(0,r.jsx)(n9,{ref:t,...e,"data-component":"ZoomedImageGallery-ThumbnailWrapper"}));n7.displayName="ThumbnailWrapper";let de=c.default.div`
4112  position: absolute;
4113  top: 0;
4114  left: 3;
4115
4116  display: flex;
4117  justify-content: center;
4118  align-items: center;
4119
4120  height: 100%;
4121  width: 100%;
4122  z-index: 10000000;
4123  background-color: rgba(0, 0, 0, 0.65);
4124`,dt=h.default.forwardRef((e,t)=>(0,r.jsx)(de,{ref:t,...e,"data-component":"ZoomedImageGallery-ThumbnailOverlay"}));dt.displayName="ThumbnailOverlay";let da=(0,c.default)("button",{shouldForwardProp:e=>!e.startsWith("$")})`
4125  ${({$active:e})=>s.css`
4126    ${nU}
4127
4128    padding: 24px;
4129    border-left: 3px solid ${e?d.default.black:d.default.white};
4130    color: ${e?d.default.black:d.default.mediumDarkGray};
4131
4132    &:nth-of-type(2) {
4133      margin-bottom: 25px;
4134    }
4135  `}
4136`,dr=h.default.forwardRef((e,t)=>(0,r.jsx)(da,{ref:t,...e,"data-component":"ZoomedImageGallery-ZoomButton"}));dr.displayName="ZoomButton";let di=c.default.button`
4137  ${nU}
4138
4139  position: fixed;
4140  top: 20px;
4141  right: 30px;
4142  z-index: 10000000;
4143  width: 64px;
4144  height: 64px;
4145`,dl=h.default.forwardRef((e,t)=>(0,r.jsx)(di,{ref:t,...e,"data-component":"ZoomedImageGallery-Close"}));dl.displayName="Close";let dn=(0,c.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4146  max-width: ${({$scale:e})=>1===e?"100%":"90%"};
4147  margin: 10vh auto;
4148`,dd=h.default.forwardRef((e,t)=>(0,r.jsx)(dn,{ref:t,...e,"data-component":"ZoomedImageGallery-MuxWrapper"}));dd.displayName="MuxWrapper";let ds=c.default.div`
4149  pointer-events: none;
4150`,dc=h.default.forwardRef((e,t)=>(0,r.jsx)(ds,{ref:t,...e,"data-component":"ZoomedImageGallery-MuxThumbnailWrapper"}));dc.displayName="MuxThumbnailWrapper";let du=({media:e,mediaScrollToItem:t,toggleIsZoomedImageGalleryOpen:a})=>{let l=e.indexOf(t),n=document.getElementById("__next")||document.body,[d,s]=h.default.useState(1),[c,u]=h.default.useState(-1===l?0:l),p=h.default.createRef();h.default.useEffect(()=>{let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[]),h.default.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},[]);let f=e?.reduce((e,t,a)=>{let l=h.default.createRef();return a===c&&(p=l),[...e,{fullImage:"string"==typeof t?(0,r.jsx)(nJ,{image:t,ref:l,scale:d,toggleActive:()=>u(a)},a+"fullImg"):(0,r.jsx)(dd,{$scale:d,ref:l,children:(0,r.jsx)(nL,{fullWidth:!0,muxVideo:t})},a+"fullImg"),thumbnail:(0,h.createElement)(n8,{...t,key:a+"thumbnail",onClick:()=>{l.current?.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},role:"button",children:[c===a&&(0,r.jsx)(dt,{children:(0,r.jsx)(o.Check,{})}),(0,r.jsx)(n7,{children:"string"==typeof t?(0,r.jsx)(i.default,{alt:"Product image thumbnail",src:t}):(0,r.jsx)(dc,{children:(0,r.jsx)(nL,{muxVideo:t})})})]})}]},[])||[];return n&&n_.default.createPortal((0,r.jsxs)(n1,{role:"dialog",children:[(0,r.jsx)(dl,{onClick:()=>a(!1),children:(0,r.jsx)(o.CloseRound,{})}),(0,r.jsxs)(n4,{children:[(0,r.jsx)(dr,{$active:1===d,onClick:()=>{s(1)},children:"1x"}),(0,r.jsx)(dr,{$active:2===d,onClick:()=>{s(2)},children:"2x"}),f.map(e=>e.thumbnail)]}),(0,r.jsx)(n3,{$scale:d,children:f.map(e=>e.fullImage)})]}),document.getElementById("__next")||document.body)},dp=e=>({"--d-order":e}),df=c.default.div`
4151  flex-direction: column;
4152  display: flex;
4153
4154  /* Two columns of calc(50% - 16px), the old Row's secondary width; spanning
4155     items are the old full-width blocks. minmax(0, …) so an intrinsically
4156     wide child (a video player) can never widen a column. */
4157  @media ${n.default.laptop} {
4158    display: grid;
4159    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
4160    column-gap: 32px;
4161  }
4162`,dm=c.default.div`
4163  flex-wrap: nowrap;
4164  display: flex;
4165  overflow-x: auto;
4166  -webkit-overflow-scrolling: touch;
4167  -ms-overflow-style: none;
4168  scrollbar-width: none;
4169  ::-webkit-scrollbar {
4170    display: none;
4171  }
4172
4173  /* No box at laptop: the slides become grid items of Container, there is
4174     nothing to scroll, and onScroll can never fire. */
4175  @media ${n.default.laptop} {
4176    display: contents;
4177  }
4178`,dg=(0,c.default)("div",{shouldForwardProp:c.isForwardableProp})`
4179  flex-grow: 0;
4180  flex-shrink: 0;
4181  display: inline-flex;
4182  position: relative;
4183  width: ${({$single:e})=>e?"100vw":"calc(100vw - 24px)"};
4184  height: auto;
4185  margin-right: 4px;
4186  padding: ${({$inset:e})=>e?"24px":"0"};
4187  background-color: ${d.default.backgroundGray};
4188
4189  @media ${n.default.laptop} {
4190    display: ${({$slot:e})=>"hidden"===e?"none":"block"};
4191    width: auto;
4192    /* half / wide = the old Row's margin: 24px 0 */
4193    margin: ${({$heroSolo:e,$slot:t})=>"half"===t||"wide"===t?"24px 0":e?"0 0 48px":"0"};
4194    padding: 0;
4195    background: none;
4196    cursor: ${({$clickable:e})=>e?"pointer":"auto"};
4197    order: var(--d-order);
4198    /* wide = a Row video with no partner: full column, 1:1 (layout.ts Q14) */
4199    grid-column: ${({$slot:e})=>"half"===e?"auto":"1 / -1"};
4200  }
4201`,dx=(0,c.default)("div",{shouldForwardProp:c.isForwardableProp})`
4202  width: 100%;
4203  height: auto;
4204
4205  .image-helper-container {
4206    height: auto;
4207    width: 100%;
4208    background: ${d.default.backgroundGray};
4209
4210    img {
4211      object-fit: ${({$mobileFit:e})=>e};
4212      ${({$logo:e})=>e?"padding-top: 48px;":""}
4213    }
4214  }
4215
4216  @media ${n.default.laptop} {
4217    ${({$main:e})=>e?"position: relative;":""}
4218
4219    .image-helper-container {
4220      ${({$main:e})=>e?"height: calc(6 / 12 * 100vw * 0.8); margin-right: 0;":""}
4221      cursor: zoom-in;
4222
4223      img {
4224        object-fit: ${({$fit:e})=>e};
4225        ${({$logo:e})=>e?"padding-top: 64px;":""}
4226      }
4227    }
4228  }
4229`,dh=c.default.img`
4230  position: absolute;
4231  top: 20px;
4232  left: 20px;
4233  height: 64px;
4234  width: auto;
4235  object-fit: contain;
4236  z-index: 1;
4237  pointer-events: none;
4238
4239  @media ${n.default.laptop} {
4240    top: 24px;
4241    left: 24px;
4242  }
4243`,dy=c.default.button`
4244  ${v.smallcapsBold13Styles}
4245  position: absolute;
4246  bottom: 24px;
4247  right: 0;
4248  transform: translateX(-24px);
4249  padding: 10px 20px;
4250  background: ${d.default.white};
4251  color: ${d.default.black};
4252  border: none;
4253  cursor: pointer;
4254  white-space: nowrap;
4255  z-index: 1;
4256`,dv=(0,c.default)("div",{shouldForwardProp:c.isForwardableProp})`
4257  display: flex;
4258  gap: 8px;
4259  padding: 12px 16px;
4260  overflow-x: auto;
4261  -webkit-overflow-scrolling: touch;
4262  -ms-overflow-style: none;
4263  scrollbar-width: none;
4264  ::-webkit-scrollbar {
4265    display: none;
4266  }
4267
4268  @media ${n.default.laptop} {
4269    display: ${({$desktopEmpty:e})=>e?"none":"flex"};
4270    padding: 0;
4271    margin-top: 24px;
4272    order: ${4};
4273    grid-column: 1 / -1;
4274  }
4275`,db=(0,c.default)("button",{shouldForwardProp:c.isForwardableProp})`
4276  flex-shrink: 0;
4277  width: 48px;
4278  height: 48px;
4279  padding: 0;
4280  border: none;
4281  outline: ${({$active:e})=>e?`1.5px solid ${d.default.black}`:"1.5px solid transparent"};
4282  outline-offset: 2px;
4283  background: ${d.default.backgroundGray};
4284  cursor: pointer;
4285  overflow: hidden;
4286
4287  /* Keep the <img> a direct inline child of the button, as before. */
4288  picture {
4289    display: contents;
4290  }
4291
4292  img {
4293    width: 100%;
4294    height: 100%;
4295    object-fit: cover;
4296  }
4297
4298  @media ${n.default.laptop} {
4299    ${({$desktopHidden:e})=>e?"display: none;":""}
4300    width: 64px;
4301    height: 64px;
4302    /* The desktop strip never marks an active thumbnail (parity spec Q3). */
4303    outline: 1.5px solid transparent;
4304    order: var(--d-order);
4305  }
4306`,dw=c.default.div`
4307  display: none;
4308
4309  @media ${n.default.laptop} {
4310    display: block;
4311    height: 5vw;
4312    order: ${5};
4313    grid-column: 1 / -1;
4314  }
4315`,dj=c.default.div`
4316  display: none;
4317
4318  @media ${n.default.laptop} {
4319    ${v.smallcapsBold14Styles}
4320    display: block;
4321    margin: 63px 0 29px;
4322    font-size: 16px;
4323    letter-spacing: 0.5px;
4324    line-height: 24px;
4325    color: ${d.default.black};
4326    order: ${6};
4327    grid-column: 1 / -1;
4328    /* "See it in Action" used to scroll the section wrapper into view, whose
4329       top sat 63px (this margin) above the header text. */
4330    scroll-margin-top: 63px;
4331  }
4332`,dS=e=>{let t=(0,q.useT)(),a=(0,nO.useIsLaptop)(),o=h.default.useRef(null),[l,d]=h.default.useState(!1),[s,c]=h.default.useState(),u=e.currentVariant?.images??[],p=e.images||[],f=e.imageGalleryMuxVideos||[],m=e.lifestyleMuxVideos||[],g=(({actionImages:e,galleryVideos:t,lifestyleVideos:a,variantImages:r})=>{var o;let i,l=r.length,n=[],d=[],s=e.length>2?[...e.slice(0,2),a[0],...e.slice(2),...a.slice(1)]:[...e,...a];s.forEach((e,t)=>{var a,r,o;let i,l;if(void 0===e)return;let c=t%3==0?t+1:t%3==1?t-1:-1,u=c>=0&&void 0!==s[c];("url"in e?n:d).push((a=e,r=t,o=u,i=r%3==2,l=!("url"in a),{altType:i?"action":"lifestyle",desktopOrder:7+r,fit:"cover",frame:i?"DesktopProductImages-MainActionImage":"DesktopProductImages-SecondaryActionImage",item:a,kind:l?"lifestyle":"action",laptopFullWidth:i&&l,slot:i?"full":l&&!o?"wide":"half"}))});let c=[...r.slice(0,2).map(nG),...t.map(nV),...r.slice(2).map((e,t)=>nG(e,t+2)),...n,...d].map((e,t)=>({...e,mobileAction:t>=l})),u=Math.max(l-3,0),p={action:0,gallery:0,lifestyle:0,variant:0},f=(o=c.map(e=>e.item),i=new Map,o.map(e=>{let t,a="url"in(t=e)?t.url:`mux:${t.video.playbackId}`,r=i.get(a)??0;return i.set(a,r+1),0===r?a:`${a}#${r}`})),m=c.map((a,r)=>({...((a,r)=>{switch(a.kind){case"variant":return{desktopHidden:r<3,item:a.item,stripOrder:Math.max(r-3,0)};case"action":return{desktopHidden:!1,item:a.item,stripOrder:u+r};case"gallery":return{desktopHidden:!1,item:a.item,stripOrder:u+e.length+r};case"lifestyle":return{desktopHidden:!1,item:a.item,stripOrder:u+e.length+t.length+r}}})(a,p[a.kind]++),key:f[r]}));return{actionStartIndex:l+t.length,desktopThumbCount:u+e.length+t.length+a.length,hasActionContent:e.length>0||a.length>0,media:c,thumbs:m,variantCount:l}})({actionImages:p,galleryVideos:f,lifestyleVideos:m,variantImages:u}),x=(e=>{let t=h.default.useRef(null),a=h.default.useRef(null),[r,o]=h.default.useState(0),i=h.default.useCallback(t=>{let{clientWidth:a,scrollLeft:r}=t.currentTarget;o(Math.min(Math.max(Math.round(r/(1===e?a:a-24+4)),0),e-1))},[e]);return h.default.useEffect(()=>{if((0,nO.isLaptop)())return;let e=a.current,t=e?.children[r];if(!e||!t)return;let o=e.getBoundingClientRect(),i=t.getBoundingClientRect();(i.left<o.left||i.right>o.right)&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[r]),{activeIndex:r,onTrackScroll:i,scrollToIndex:a=>{let r=t.current;if(!r)return;let o=1===e?r.clientWidth:r.clientWidth-24+4;r.scrollTo({behavior:"smooth",left:a*o})},stripRef:a,trackRef:t}})(g.media.length),y=e=>{d(!0),c(e)},v=e=>{e.stopPropagation(),(0,nO.isLaptop)()?o.current?.scrollIntoView({behavior:"smooth"}):x.scrollToIndex(g.actionStartIndex)},b=[...u.map(e=>e.url),...p.map(e=>e.url),...f,...m],w=s?"url"in s?s.url:s:void 0,{logoOverHero:j}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(df,{"data-component":"DesktopProductImages-Container",children:[(0,r.jsx)(dm,{"data-component":"MobileProductImages-List",onScroll:x.onTrackScroll,ref:x.trackRef,children:g.media.map((o,l)=>{let n,d=0===l,s="url"in o.item,c=s&&a?{"aria-label":"Zoom in on product image",role:"button"}:{};return(0,r.jsxs)(dg,{$clickable:s,$heroSolo:d&&"hero"===o.slot&&1===g.variantCount,$inset:!o.mobileAction,$single:1===g.media.length,$slot:o.slot,"data-component":"MobileProductImages-ListItem",style:dp(o.desktopOrder),...c,...s?{onClick:()=>{var e;return e=o.item,void((0,nO.isLaptop)()&&y(e))}}:{},children:[d&&j&&(0,r.jsx)(dh,{alt:"","data-component":"DesktopProductImages-HeroLogo",loading:"eager",src:`${j.url}${j.url.includes("?")?"&":"?"}w=480&fm=webp&q=75`}),(0,r.jsx)(dx,{$fit:o.fit,$logo:d&&!!j,$main:"DesktopProductImages-MainImage"===o.frame||"DesktopProductImages-MainActionImage"===o.frame,$mobileFit:o.mobileAction?"cover":"contain","data-component":o.frame,children:"url"in o.item?(0,r.jsx)(i.default,{alt:(n=o.altType,(0,nA.getProductImageAlt)({colorName:e.currentVariant?.name,deviceName:e.deviceName,imageType:n,productName:e.productName||"Case"})),aspectRatio:1,src:o.item.url}):(0,r.jsx)(nL,{laptopFullWidth:o.laptopFullWidth,muxVideo:o.item})}),d&&g.hasActionContent&&(0,r.jsx)(dy,{"data-component":"DesktopProductImages-SeeInActionButton",onClick:v,children:t("See it in Action")})]},l)})}),g.media.length>1&&(0,r.jsx)(dv,{$desktopEmpty:0===g.desktopThumbCount,"data-component":"MobileProductImages-ThumbnailStrip",ref:x.stripRef,children:g.thumbs.map((e,t)=>{let a,o="url"in(a=e.item)?{laptop:`${a.url}?w=200&fm=webp&q=60`,mobile:`${a.url}?w=160&fm=webp&q=60`}:{laptop:`https://image.mux.com/${a.video.playbackId}/thumbnail.jpg?width=128&height=128&fit_mode=crop`,mobile:`https://image.mux.com/${a.video.playbackId}/thumbnail.jpg?width=96&height=96&fit_mode=crop`};return(0,r.jsx)(db,{$active:x.activeIndex===t,$desktopHidden:e.desktopHidden,"data-component":"MobileProductImages-Thumbnail",onClick:()=>{var a;return a=e.item,void((0,nO.isLaptop)()?y(a):x.scrollToIndex(t))},style:dp(e.stripOrder),children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:n.default.laptop,srcSet:o.laptop}),(0,r.jsx)("img",{alt:"",loading:"lazy",src:o.mobile})]})},e.key)})}),1===g.variantCount&&(0,r.jsx)(dw,{"data-component":"DesktopProductImages-Filler"}),g.hasActionContent&&(0,r.jsx)(dj,{"data-component":"DesktopProductImages-ActionHeader",ref:o,children:t("See it in action")})]}),l&&(0,r.jsx)(du,{media:b,mediaScrollToItem:w,toggleIsZoomedImageGalleryOpen:e=>d(e??!l)})]})},dk=e=>"string"==typeof e?{url:e}:e||{url:""};e.s(["default",0,e=>{let t={...e,currentVariant:{...e.currentVariant,images:e.currentVariant.images.map(dk)},images:e.images.map(dk)};return(0,r.jsx)(dS,{...t})}],897727);var d$=e.i(994232);let dC=c.default.div`
4333  display: flex;
4334  width: 100%;
4335  height: auto;
4336  flex-direction: column;
4337`,dR=h.default.forwardRef((e,t)=>
4337(0,r.jsx)(dC,{ref:t,...e,"data-component":"ProductTitle-Container"}));dR.displayName="Container";let dP=c.default.h1`
4338  ${v.h4Styles}
4339
4340  @media ${n.default.laptop} {
4341    ${v.h4Styles}
4342    margin-bottom: 12px;
4343    font-size: 30px;
4344    line-height: 36px;
4345  }
4346`,dN=h.default.forwardRef((e,t)=>(0,r.jsx)(dP,{ref:t,...e,"data-component":"ProductTitle-Title"}));dN.displayName="Title";let dI=c.default.div`
4347  display: flex;
4348  flex-direction: row;
4349  flex-wrap: wrap;
4350  align-items: center;
4351`,dB=h.default.forwardRef((e,t)=>(0,r.jsx)(dI,{ref:t,...e,"data-component":"ProductTitle-PriceRow"}));dB.displayName="PriceRow";let dT=c.default.div`
4352  ${v.smallcapsBold13Styles}
4353  margin-right: 12px;
4354  padding-top: 3px;
4355  color: ${d.default.mediumGray};
4356  text-decoration: line-through;
4357
4358  @media ${n.default.laptop} {
4359    ${v.smallcapsBold14Styles}
4360    color: ${d.default.mediumGray};
4361    text-decoration: line-through;
4362  }
4363`,dD=h.default.forwardRef((e,t)=>(0,r.jsx)(dT,{ref:t,...e,"data-component":"ProductTitle-RetailPrice"}));dD.displayName="RetailPrice";let dM=c.default.div`
4364  ${v.smallcapsBold13Styles}
4365  margin-right: 16px;
4366  padding-top: 3px;
4367
4368  @media ${n.default.laptop} {
4369    ${v.smallcapsBold14Styles}
4370  }
4371`,dO=h.default.forwardRef((e,t)=>(0,r.jsx)(dM,{ref:t,...e,"data-component":"ProductTitle-Price"}));dO.displayName="Price",e.s(["default",0,e=>{let{formatPrice:t}=(0,d$.useFormatPrice)(),a=e.currencyCode||"USD",o=e=>"string"==typeof e&&/[^0-9.-]/.test(e),i=o(e.price)?e.price:t("string"==typeof e.price?parseFloat(e.price):e.price,a),l=e.retailPrice?o(e.retailPrice)?e.retailPrice:t("string"==typeof e.retailPrice?parseFloat(e.retailPrice):e.retailPrice,a):void 0,n=e=>"number"==typeof e?e:parseFloat(String(e).replace(/[^0-9.-]/g,""))||0,d=l&&l!==i&&void 0!==e.retailPrice&&n(e.retailPrice)>n(e.price);return(0,r.jsxs)(dR,{className:e.className,children:[(0,r.jsx)(dN,{children:e.productName}),!e.hidePrice&&(0,r.jsxs)(dB,{children:[d&&(0,r.jsx)(dD,{children:l}),(0,r.jsx)(dO,{children:i})]})]})}],747539)},221466,e=>{"use strict";var t=e.i(843476),a=e.i(272064),r=e.i(299658),o=e.i(116664),i=e.i(926113),l=e.i(718970),n=e.i(702364),d=e.i(452587),s=e.i(540589),c=e.i(271645);let u=n.default.div`
4372  width: 100%;
4373`,p=c.default.forwardRef((e,a)=>(0,t.jsx)(u,{ref:a,...e,"data-component":"DeviceDropdown-Container"}));p.displayName="Container";let f=n.default.div`
4374  display: flex;
4375  width: 100%;
4376  gap: 8px;
4377`,m=c.default.forwardRef((e,a)=>(0,t.jsx)(f,{ref:a,...e,"data-component":"DeviceDropdown-DropdownRow"}));m.displayName="DropdownRow";let g=n.default.div`
4378  position: relative;
4379  flex: 1;
4380  min-width: 0;
4381`,x=c.default.forwardRef((e,a)=>(0,t.jsx)(g,{ref:a,...e,"data-component":"DeviceDropdown-DropdownWrapper"}));x.displayName="DropdownWrapper";let h=n.default.button`
4382  ${i.body14Styles}
4383  display: flex;
4384  width: 100%;
4385  height: 48px;
4386  padding: 0 12px;
4387  align-items: center;
4388  justify-content: space-between;
4389  background: ${o.default.offWhite};
4390  border: 1px solid ${o.default.black};
4391  border-radius: 2px;
4392  cursor: pointer;
4393  color: ${o.default.black};
4394  font-weight: 400;
4395
4396  &:focus {
4397    outline: none;
4398  }
4399`,y=c.default.forwardRef((e,a)=>(0,t.jsx)(h,{ref:a,...e,"data-component":"DeviceDropdown-DropdownButton"}));y.displayName="DropdownButton";let v=n.default.span`
4400  overflow: hidden;
4401  text-overflow: ellipsis;
4402  white-space: nowrap;
4403  margin-right: 8px;
4404`,b=c.default.forwardRef((e,a)=>(0,t.jsx)(v,{ref:a,...e,"data-component":"DeviceDropdown-DropdownButtonText"}));b.displayName="DropdownButtonText";let w=n.default.div`
4405  flex-shrink: 0;
4406  width: 20px;
4407  height: 20px;
4408  transform: rotate(90deg);
4409`,j=c.default.forwardRef((e,a)=>(0,t.jsx)(w,{ref:a,...e,"data-component":"DeviceDropdown-ChevronIcon"}));j.displayName="ChevronIcon";let S=(0,n.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4410  position: absolute;
4411  top: 100%;
4412  left: 0;
4413  right: 0;
4414  z-index: 100;
4415  transition: opacity ${r.default.medium} ${r.cubicBezier};
4416  opacity: ${e=>+!!e.$isOpen};
4417  visibility: ${e=>e.$isOpen?"visible":"hidden"};
4418  pointer-events: ${e=>e.$isOpen?"initial":"none"};
4419  max-height: 280px;
4420  overflow-y: auto;
4421  background: ${o.default.offWhite};
4422  border: 1px solid ${o.default.black};
4423  border-top: none;
4424  border-radius: 0 0 2px 2px;
4425  box-shadow: 0px 4px 12px ${o.default.black04};
4426`,k=c.default.forwardRef((e,a)=>(0,t.jsx)(S,{ref:a,...e,"data-component":"DeviceDropdown-DropdownList"}));k.displayName="DropdownList";let $=(0,n.default)("div",{shouldForwardProp:e=>!e.startsWith("$")})`
4427  ${i.body14Styles}
4428  position: relative;
4429  padding: 12px 12px 12px 32px;
4430  cursor: pointer;
4431  font-weight: ${e=>e.$isActive?600:400};
4432  color: ${o.default.black};
4433  background-color: ${e=>e.$isActive?o.default.dividerLineGray:"transparent"};
4434
4435  &:hover {
4436    background-color: ${o.default.dividerLineGray};
4437  }
4438`,C=c.default.forwardRef((e,a)=>(0,t.jsx)($,{ref:a,...e,"data-component":"DeviceDropdown-DropdownItem"}));C.displayName="DropdownItem";let R=n.default.div`
4439  position: absolute;
4440  top: 10px;
4441  left: 8px;
4442  display: flex;
4443  align-items: center;
4444  width: 20px;
4445  height: 20px;
4446`,P=c.default.forwardRef((e,a)=>(0,t.jsx)(R,{ref:a,...e,"data-component":"DeviceDropdown-IconWrapper"}));P.displayName="IconWrapper",e.s(["default",0,({currentDevice:e,devices:r})=>{let i=(0,l.useT)(),n=c.default.useRef(null),[u,f]=(0,c.useState)(!1),[g,h]=(0,c.useState)(!1),v=c.default.useMemo(()=>(0,s.uniq)((0,d.sortBy)(r.map(e=>e.brand))),[r]),w=c.default.useMemo(()=>{let t=r.find(t=>t.device===e);return t?.brand||v[0]||""},[e,r,v]),[S,$]=(0,c.useState)(w);c.default.useEffect(()=>{w&&$(w)},[w]);let R=c.default.useMemo(()=>S?r.filter(e=>e.brand===S):r,[S,r]);return c.default.useEffect(()=>{let e=e=>{n.current&&!n.current.contains(e.target)&&(f(!1),h(!1))};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,t.jsx)(p,{ref:n,children:(0,t.jsxs)(m,{children:[(0,t.jsxs)(x,{children:[(0,t.jsxs)(y,{onClick:e=>{e.stopPropagation(),f(!u),h(!1)},children:[(0,t.jsx)(b,{children:S?i(S):i("Brand")}),(0,t.jsx)(j,{children:(0,t.jsx)(a.Chevron,{strokeColor:o.default.black})})]}),(0,t.jsx)(k,{$isOpen:u,children:v.map(e=>(0,t.jsxs)(C,{$isActive:S===e,onClick:t=>{t.stopPropagation(),$(e),f(!1)},children:[S===e&&(0,t.jsx)(P,{children:(0,t.jsx)(a.Check,{})}),i(e)]},e))})]}),(0,t.jsxs)(x,{children:[(0,t.jsxs)(y,{onClick:e=>{e.stopPropagation(),h(!g),f(!1)},children:[(0,t.jsx)(b,{children:e?i(e):i("Device")}),(0,t.jsx)(j,{children:(0,t.jsx)(a.Chevron,{strokeColor:o.default.black})})]}),(0,t.jsx)(k,{$isOpen:g,children:R.map((r,o)=>{let l=r.device===e;return(0,t.jsxs)(C,{$isActive:l,onClick:l?void 0:e=>{h(!1),r.onClick(e)},children:[l&&(0,t.jsx)(P,{children:(0,t.jsx)(a.Check,{})}),i(r.device)]},o)})})]})]})})}])}]);
4447
4448//# debugId=e9b3fc3e-b8d7-3764-b246-c3b02d7d0af8

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.