1"use strict";(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[98],{14857:function(t,e,n){n.r(e);var a,r=n(96540);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},i.apply(null,arguments)}e.default=function(t){return r.createElement("svg",i({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),a||(a=r.createElement("path",{d:"M19.947 6.21h-2.3a3.19 3.19 0 00.195-1.052A3.16 3.16 0 0014.684 2c-1.1 0-2.068.563-2.631 1.416l-.527.716L11 3.416A3.149 3.149 0 008.368 2a3.16 3.16 0 00-3.157 3.158c0 .368.073.72.194 1.053h-2.3a2.096 2.096 0 00-2.094 2.105L1 19.895C1 21.058 1.942 22 3.105 22h16.842a2.105 2.105 0 002.106-2.105V8.315a2.105 2.105 0 00-2.106-2.104zm-5.263-2.105c.58 0 1.053.474 1.053 1.053s-.474 1.053-1.053 1.053a1.056 1.056 0 01-1.052-1.053c0-.58.473-1.053 1.052-1.053zm-6.316 0c.58 0 1.053.474 1.053 1.053S8.947 6.21 8.368 6.21a1.056 1.056 0 01-1.052-1.053c0-.58.473-1.053 1.052-1.053zm11.58 15.79H3.104v-2.106h16.842v2.106zm0-5.263H3.104V8.316h5.348L6.263 11.3l1.71 1.226 2.5-3.405 1.053-1.432 1.053 1.432 2.5 3.405 1.71-1.226L14.6 8.316h5.347v6.316z",fillRule:"evenodd"})))}},75579:function(t,e,n){n.r(e);var a,r=n(96540);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},i.apply(null,arguments)}e.default=function(t){return r.createElement("svg",i({viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},t),a||(a=r.createElement("path",{d:"M24 11a3 3 0 012.995 2.824L27 14v1h4a1 1 0 01.117 1.993L31 17h-1v13a3 3 0 01-2.824 2.995L27 33H17a3 3 0 01-2.995-2.824L14 30V17h-1a1 1 0 01-.117-1.993L13 15h4v-1a3 3 0 012.824-2.995L20 11h4zm4 6H16v13a1 1 0 00.883.993L17 31h10a1 1 0 00.993-.883L28 30V17zm-8 3a1 1 0 01.993.883L21 21v6a1 1 0 01-1.993.117L19 27v-6a1 1 0 011-1zm4 0a1 1 0 01.993.883L25 21v6a1 1 0 01-1.993.117L23 27v-6a1 1 0 011-1zm0-7h-4a1 1 0 00-.993.883L19 14v1h6v-1a1 1 0 00-.883-.993L24 13z",fillRule:"evenodd"})))}},40948:function(t,e,n){var a=n(24994);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n(69014)),i=n(57714),o=n(74848);const l=({amount:t,amountApplied:e,amountRemainder:n,amountRemainderText:a,amountText:r,removeGiftCard:l})=>(0,o.jsxs)(i.GiftCardAppliedStyles,{children:[(0,o.jsxs)(i.InfoAmountStyles,{children:[(0,o.jsx)(i.InfoInitialAmpuntStyles,{children:(0,o.jsx)(s,{text:r,amount:t})}),(0,o.jsx)(i.InfoCurrenAmountStyles,{children:(0,o.jsx)(s,{text:a,amount:n})}),(0,o.jsxs)(i.InfoAmountAppliedStyles,{"data-testid":"fn-gift-card-amount-applied",children:["-",e]})]}),(0,o.jsx)(i.TrashButtonStyles,{"data-testid":"fn-giftcard-remove-button",onClick:l,children:(0,o.jsx)(i.TrashIconSVG,{})})]}),d=({giftCardText:t,giftCardFormText:e,giftCard:n})=>{let a;return a=Object.keys(n).length?(0,o.jsx)(o.Fragment,{children:`${t}: ${n.code}`}):e,a},s=({text:t,amount:e})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{children:[t,":"]}),(0,o.jsx)(i.InfoValueStyles,{children:e})]}),f=({giftCardButtonText:t,giftCardCodeInputRef:e,giftCardError:n,giftCardPlaceHolderText:a,onSubmitGiftCard:l})=>(0,o.jsxs)(i.GiftCardFormStyles,{children:[(0,o.jsxs)(i.GiftCardInputWrapperStyles,{children:[(0,o.jsx)("input",{"data-testid":"fn-giftcard-input",ref:e,type:"text",id:"giftCardInput",placeholder:a}),n?(0,o.jsx)(i.InputErrorStyles,{children:n}):null]}),(0,o.jsx)(r.default.Invert,{type:"button",onClick:l,children:t})]}),c=({displayContent:t,giftCard:e,giftCardFormText:n,giftCardText:a,textViewDetail:r,toggleGiftCardButton:l})=>(0,o.jsxs)(i.HeaderStyles,{children:[(0,o.jsx)("input",{id:"gift-card",type:"checkbox",onClick:l,"aria-label":r}),(0,o.jsxs)(i.HeaderTextStyles,{htmlFor:"gift-card",children:[(0,o.jsx)(i.GiftCardIconSVGStyles,{}),(0,o.jsx)(d,{giftCardText:a,giftCardFormText:n,giftCard:e}),(0,o.jsx)(i.ArrowIconSVGStyles,{$opened:t})]})]}),u=({amount:t,amountApplied:e,amountRemainder:n,amountRemainderText:a,amountText:r,displayContent:d,giftCard:s,giftCardButtonText:u,giftCardCodeInputRef:p,giftCardError:m,giftCardFormText:h,giftCardPlaceHolderText:y,giftCardText:g,isGiftCardApplied:C,removeGiftCard:x,onSubmitGiftCard:S,textViewDetail:I,toggleGiftCardButton:v})=>(0,o.jsxs)(i.GiftCardStyles,{children:[(0,o.jsx)(c,{displayContent:d,giftCard:s,giftCardFormText:h,giftCardText:g,textViewDetail:I,toggleGiftCardButton:v}),d?(0,o.jsx)("div",{children:C?(0,o.jsx)(l,{amount:t,amountRemainder:n,amountApplied:e,amountText:r,removeGiftCard:x,amountRemainderText:a}):(0,o.jsx)(f,{giftCardPlaceHolderText:y,giftCardCodeInputRef:p,giftCardError:m,onSubmitGiftCard:S,giftCardButtonText:u})}):null]});e.default=t=>(0,o.jsx)(u,{...t});t.exports=e.default},57714:function(t,e,n){var a=n(24994);
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t,e){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return function(t,e){if(!e&&t&&t.__esModule)return t;var r,i,o={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return o;if(r=e?a:n){if(r.has(t))return r.get(t);r.set(t,o)}for(const e in t)"default"!==e&&{}.hasOwnProperty.call(t,e)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,e))&&(i.get||i.set)?r(o,e,i):o[e]=t[e]);return o}(t,e)}(n(30496)),i=a(n(89883)),o=a(n(73188)),l=a(n(14857)),d=a(n(75579));const s=(0,r.default)(d.default).withConfig({displayName:"GiftCardstyles__TrashIconSVG",componentId:"sc-phtxe0-0"})(["",""],({theme:t})=>(0,r.css)(["fill:",";height:",";"],t.colorError,t.iconDefaultSize)),f=r.default.button.withConfig({displayName:"GiftCardstyles__TrashButtonStyles",componentId:"sc-phtxe0-1"})(["align-self:flex-end;background:transparent;cursor:pointer;"]),c=(0,r.css)(["",""],({theme:t})=>(0,r.css)([""," display:flex;justify-content:space-between;padding:"," 0;"],i.default.StoB,t.r050)),u=r.default.span.withConfig({displayName:"GiftCardstyles__InfoInitialAmpuntStyles",componentId:"sc-phtxe0-2"})(["",""],({theme:t})=>(0,r.css)(["",";color:",";"],c,t.neutral500)),p=r.default.span.withConfig({displayName:"GiftCardstyles__InfoCurrenAmountStyles",componentId:"sc-phtxe0-3"})(["",""],({theme:t})=>(0,r.css)(["",";color:",";"],c,t.neutral900)),m=r.default.div.withConfig({displayName:"GiftCardstyles__InfoAmountStyles",componentId:"sc-phtxe0-4"})(["",""],({theme:t})=>(0,r.css)(["flex:2 1 100%;padding:"," 0 "," ",";"],t.r150,t.r150,t.r150)),h=r.default.span.withConfig({displayName:"GiftCardstyles__InfoAmountAppliedStyles",componentId:"sc-phtxe0-5"})(["",""],({theme:t})=>(0,r.css)(["color:",";display:flex;font-weight:",";justify-content:flex-end;padding:"," 0 0;",""],t.neutral900,t.fontBold,t.r050,i.default.BtoL)),y=r.default.span.withConfig({displayName:"GiftCardstyles__InfoValueStyles",componentId:"sc-phtxe0-6"})(["text-transform:uppercase;"]),g=(0,r.default)(l.default).withConfig({displayName:"GiftCardstyles__GiftCardIconSVGStyles",componentId:"sc-phtxe0-7"})(["",""],({theme:t})=>(0,r.css)(["fill:",";height:",";margin-right:",";width:",";"],t.colorMain,t.iconsSizeMM,t.r100,t.iconsSizeMM)),C=(0,r.default)(o.default).withConfig({displayName:"GiftCardstyles__ArrowIconSVGStyles",componentId:"sc-phtxe0-8"})(["",""],({theme:t,$opened:e})=>(0,r.css)(["fill:",";height:",";margin-left:auto;width:",";",";"],t.colorMain,t.iconsSizeMM,t.iconsSizeMM,e&&(0,r.css)(["transform:rotate(-180deg);"]))),x=r.default.div.withConfig({displayName:"GiftCardstyles__GiftCardStyles",componentId:"sc-phtxe0-9"})(["",";"],({theme:t})=>(0,r.css)([""," color:",";display:flex;flex-direction:column;background:",";border:"," solid ",";border-radius:",";margin:"," ",";"],i.default.StoB,t.neutral600,t.neutral000,t.borderWidthS,t.neutral100,t.roundedCard,t.r150,t.r100)),S=r.default.div.withConfig({displayName:"GiftCardstyles__HeaderStyles",componentId:"sc-phtxe0-10"})(["",""],({theme:t})=>(0,r.css)(["input{display:none;}svg{fill:",";height:",";width:",";}"],t.colorMain,t.iconsSizeMM,t.iconsSizeMM)),I=r.default.label.withConfig({displayName:"GiftCardstyles__HeaderTextStyles",componentId:"sc-phtxe0-11"})(["",""],({theme:t})=>(0,r.css)([""," align-items:center;align-items:center;color:",";cursor:pointer;display:flex;font-weight:",";margin:0;padding:",";text-align:left;width:100%;"],i.default.StoB,t.colorMain,t.fontBold,t.r150)),v=r.default.div.withConfig({displayName:"GiftCardstyles__GiftCardAppliedStyles",componentId:"sc-phtxe0-12"})(["display:flex;"]),w=r.default.div.withConfig({displayName:"GiftCardstyles__GiftCardFormStyles",componentId:"sc-phtxe0-13"})(["",""],({theme:t})=>(0,r.css)(["align-items:center;display:flex;justify-content:space-between;padding:",";"],t.r150)),G=r.default.div.withConfig({displayName:"GiftCardstyles__GiftCardInputWrapperStyles",componentId:"sc-phtxe0-14"})(["",""],({theme:t})=>(0,r.css)(["flex:1;margin-right:",";input{"," background-color:transparent;border:0;border-bottom:",";color:",";display:block;flex-grow:1;letter-spacing:0;outline:",";padding:"," 0;text-align:start;width:100%;}"],t.r150,i.default.StoB,t.formFieldBorder,t.formFieldColor,t.outline,t.r100)),_=r.default.span.withConfig({displayName:"GiftCardstyles__InputErrorStyles",componentId:"sc-phtxe0-15"})(["",""],({theme:t})=>(0,r.css)(["color:",";display:block;font-size:",";margin-top:",";"],t.colorError,t.fontXS,t.r050));f.displayName="TrashButtonStyles";e.default={ArrowIconSVGStyles:C,GiftCardAppliedStyles:v,GiftCardFormStyles:w,GiftCardIconSVGStyles:g,GiftCardInputWrapperStyles:G,GiftCardStyles:x,HeaderStyles:S,HeaderTextStyles:I,InfoAmountStyles:m,InfoAmountAppliedStyles:h,InfoCurrenAmountStyles:p,InfoInitialAmpuntStyles:u,InfoValueStyles:y,InputErrorStyles:_,TrashIconSVG:s,TrashButtonStyles:f};t.exports=e.default}}]);
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.