"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[16],{34:function(e,t,n){var l=this&&this.__rest||function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(l=Object.getOwnPropertySymbols(e);i{var t,i,{altText:o}=e,r=l(e,["altText"]);if(!o)return;const[,u,s,...d]=null!==(t=null==o?void 0:o.split(" / "))&&void 0!==t?t:[];if(s!==a)return;const c=null!==(i=n("extraHeroImages"))&&void 0!==i?i:"none";return c&&u!==c?void 0:Object.assign(Object.assign({},r),{altText:d.join(" / ")})})).filter(o.isDefined);if(0===s.length)return e;const d=null!==(i=e[a])&&void 0!==i?i:[],c=s.map((e=>e.src));return Object.assign(Object.assign({},e),{_:r.filter((e=>!c.includes(e.src))),[a]:[...s,...d.filter((e=>!c.includes(e.src)))]})}function u(e){var t,n,l,o,r;return e?null!==(o=null!==(n=null===(t=e.selectedOptions.find((e=>"childProductHandle"===e.name)))||void 0===t?void 0:t.value)&&void 0!==n?n:null===(l=(0,i.getColorOption)(e.selectedOptions))||void 0===l?void 0:l.value)&&void 0!==o?o:a(null===(r=e.image)||void 0===r?void 0:r.altText):a()}function a(e){var t,n;return e&&null!==(n=null===(t=e.split("/")[0])||void 0===t?void 0:t.trim())&&void 0!==n?n:"default"}}}]);