1"use strict";(self.webpackChunkroyal=self.webpackChunkroyal||[]).push([[1835],{31835:(u,a,r)=>{r.r(a),r.d(a,{rcg_radio_option_v2:()=>d});var i=r(76658),l=r(45876);const d=(()=>{let n=class{constructor(e){(0,i.r)(this,e),this.optionSelected=(0,i.c)(this,"optionSelected"),this.value="",this.position="left"}handleOption(e){e&&(this._option="string"==typeof e?(0,l.a)(e,"value prop format invalid"):e)}componentWillLoad(){this.option&&this.handleOption(this.option)}handleOptionChange(){this.optionSelected.emit(this._option.value)}handleKeyPress(e){"Enter"===e.key&&this.handleOptionChange()}isChecked(){return this.value.toString()===this._option.value.toString()}render(){return(0,i.h)("div",{class:`radio-group-option-v2 radio-group-option-v2--${this.position}`,key:this._option.value,style:this._option.styles},(0,i.h)("input",{key:"5db6a078c779f7d9b80d1a2a4f4e8324018b1a0e",class:"radio-group-option-v2__input",type:"radio",id:`radio-button-${this._option.value}`,value:this._option.value,checked:this.isChecked(),onChange:()=>this.handleOptionChange(),disabled:this.disabled,name:this.name}),(0,i.h)("label",{key:"9e7d927ff7cf3cf869d7ebfe0bbb4c1a99ecc158",htmlFor:`radio-button-${this._option.value}`,class:"radio-group-option-v2__label",style:this._option.labelStyles,tabIndex:0,onKeyPress:this.handleKeyPress.bind(this)},(0,i.h)("div",{key:"38f1f4cb0b31bd60631ad43a4e9194ba3551faa5",class:"radio-group-option-v2__content"},this._option.label,(0,i.h)("slot",{key:"1a2f2ae2e85f717c73536dfc96e68214d4403afa"}))))}static get watchers(){return{option:["handleOption"]}}};return n.style={celebrity:'.radio-group-option-v2{display:flex;align-items:center;position:relative}.radio-group-option-v2__label{position:relative;display:flex;align-items:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:-0.15px;width:100%}.radio-group-option-v2__label::before{content:"";flex-shrink:0;width:22px;height:22px;border-radius:50%;margin-right:16px;position:relative;background-color:transparent;transition:border-color 400ms ease}.radio-group-option-v2__label::after{content:"";position:absolute;left:4px;top:50%;width:16px;height:16px;background-color:#ffffff;border-radius:50%;transition:transform 400ms ease;transform:translateY(-50%) scale(0)}.radio-group-option-v2--right .radio-group-option-v2__label{flex-direction:row-reverse;justify-content:space-between}.radio-group-option-v2--right .radio-group-option-v2__label::before{margin-right:0;margin-left:16px}.radio-group-option-v2--right .radio-group-option-v2__label::after{left:auto;right:4px}.radio-group-option-v2__input{display:none}.radio-group-option-v2__input:checked+.radio-group-option-v2__label::before{background-color:#005edc}.radio-group-option-v2__input:checked+.radio-group-option-v2__label::after{transform:translateY(-50%) scale(0.55)}.radio-group-option-v2__content{display:flex;flex-direction:column;align-items:flex-start;flex-grow:1}.radio-group-option-v2__label:before{border:1px solid #2C3E8B}.radio-group-option-v2__input:checked+label::before{background-color:#002859}',royal:'.radio-group-option-v2{display:flex;align-items:center;position:relative}.radio-group-option-v2__label{position:relative;display:flex;align-items:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:-0.15px;width:100%}.radio-group-option-v2__label::before{content:"";flex-shrink:0;width:22px;height:22px;border-radius:50%;margin-right:16px;position:relative;background-color:transparent;transition:border-color 400ms ease}.radio-group-option-v2__label::after{content:"";position:absolute;left:4px;top:50%;width:16px;height:16px;background-color:#ffffff;border-radius:50%;transition:transform 400ms ease;transform:translateY(-50%) scale(0)}.radio-group-option-v2--right .radio-group-option-v2__label{flex-direction:row-reverse;justify-content:space-between}.radio-group-option-v2--right .radio-group-option-v2__label::before{margin-right:0;margin-left:16px}.radio-group-option-v2--right .radio-group-option-v2__label::after{left:auto;right:4px}.radio-group-option-v2__input{display:none}
1.radio-group-option-v2__input:checked+.radio-group-option-v2__label::before{background-color:#005edc}.radio-group-option-v2__input:checked+.radio-group-option-v2__label::after{transform:translateY(-50%) scale(0.55)}.radio-group-option-v2__content{display:flex;flex-direction:column;align-items:flex-start;flex-grow:1}.radio-group-option-v2__label:before{border:1px solid #2C3E8B}.radio-group-option-v2__input:checked+label::before{background-color:#005edc}'},n})()},45876:(u,a,r)=>{r.d(a,{C:()=>i,T:()=>l,a:()=>n,b:()=>d,c:()=>s,f:()=>e,p:()=>f});const i={s:"small",m:"medium",l:"large"},l={availability:{label:"Few spots left!",color:"#DF0268"},awards:{label:"Best-seller",color:"#DF0268"},soldOut:{label:"Sold out",color:"#949494"}};function s(){const o={isMobile:!1,isTablet:!1,isDesktop:!1},t=window.innerWidth;return t<768?(o.isMobile=!0,o.isTablet=!1,o.isDesktop=!1):t<=1024?(o.isMobile=!1,o.isTablet=!0,o.isDesktop=!1):(o.isMobile=!1,o.isTablet=!1,o.isDesktop=!0),o}function d(o){return o?.length>0?`+${function p(o){return o?.length>0?o.replace(/[-+()]/g,""):""}(o)}`:""}const n=(o,t="")=>{try{return JSON.parse(o)}catch(c){console.error(`${t}`,c)}};function e(o){return o<10?`0${o}`:o.toString()}function f(o){let t=o;if("string"==typeof t)try{t=JSON.parse(t)}catch{return console.warn("Invalid JSON passed to customStyles:",t),{}}return"object"!=typeof t||Array.isArray(t)?{}:t}}}]);
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.