PageSourceSearch

https://sodagift.com/_next/static/chunks/643-c9bf1d68915e4648.js

js sodagift.com collected 2026-09-25 06:18:34 UTC 11,165 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="82576e4d-b70e-40df-804e-0237b3980f83",e._sentryDebugIdIdentifier="sentry-dbid-82576e4d-b70e-40df-804e-0237b3980f83")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[643],{31170:(e,o,n)=>{n.d(o,{A:()=>c});var t=n(37876),a=n(14232),r=n(18827),i=n(43115),l=n(14031);function d(e){return"info"===e?"black":"white"}let c=(0,a.memo)(function(e){let{color:o,textProps:n,large:r,small:i,xSmall:c,loading:u,children:p,...f}=e,h=(0,a.useMemo)(()=>({size:i?16:c?14:18,bold:null==n||!n.semiBold,color:d(o),...n}),[n,i,c,o]),b=(0,a.useMemo)(()=>(function(e){switch(e){case"primary":return"#ff3c78";case"secondary":return" #4da1ff";case"info":return"#ebebeb";case"black":return"black";default:return e}})(o),[o]);return(0,t.jsx)(s.Btn,{textProps:h,$large:r,$small:i,$xSmall:c,$color:b,...f,children:u?(0,t.jsx)(l.A,{type:"inside-btn",size:24,color:d(o)}):p})}),s={Btn:(0,r.Ay)(i.A).withConfig({componentId:"sc-ed1f6e8-0"})(["background-color:",";border-radius:6px;padding:",";"],e=>{let{$color:o="#ff3c78"}=e;return o},e=>{let{$large:o,$small:n,$xSmall:t}=e;return o?"16px 24px":n?"14px 24px":t?"12px 24px":"15px 24px"})}},43974:(e,o,n)=>{n.d(o,{A:()=>x});var t=n(37876),a=n(5811),r=n(14232),i=n(88992),l=n(18827);let d={ns:"hooks/use-coupon-form",en:{enter_coupon_code:"Enter coupon code",an_unknown_error_blah:"An unknown error occurred.",this_code_is_invalid_blah:"This code is invalid.",this_code_was_already_blah:"This code was already used.",this_code_has_expired_blah:"This code has expired.",your_coupon_was_blah:"Your coupon was added!",add_coupon:"Add Coupon"},ko:{enter_coupon_code:"쿠폰 코드를 입력해주세요.",an_unknown_error_blah:"알 수 없는 에러가 발생했습니다.",this_code_is_invalid_blah:"유효하지 않은 쿠폰코드입니다.",this_code_was_already_blah:"이미 발급된 쿠폰입니다.",this_code_has_expired_blah:"만료된 쿠폰코드입니다.",your_coupon_was_blah:"쿠폰 등록 완료!",add_coupon:"등록"},ja:{enter_coupon_code:"クーポンコードを入力してください。",an_unknown_error_blah:"不明なエラーが発生しました。",this_code_is_invalid_blah:"無効なクーポンコードです。",this_code_was_already_blah:"既に使用済みのクーポンコードです。",this_code_has_expired_blah:"期限切れのクーポンコードです。",your_coupon_was_blah:"クーポン登録完了!",add_coupon:"登録"}};var c=n(98447),s=n(19363),u=n(54275),p=n(31170),f=n(46240),h=n(31524),b=n(55197),_=n(87987),m=n(70704);let x=(0,a.PA)(function(e){let{onAdd:o}=e,{auth:{isLoggedIn:n}}=(0,m.Pj)(),{forceInvalidate:a}=(0,h.WQ)({requestIf:()=>n}),{createCouponAsync:l}=(0,h.y3)(),{t:p}=(0,b.Z)(d),{register:x,handleSubmit:y,formState:{errors:w},setError:C,setValue:A}=(0,i.mN)({mode:"onChange"}),[k,v]=(0,r.useState)(!1),I=(0,r.useCallback)(async e=>{let{couponCode:n}=e;try{v(!0),await l(n),await a(),u.Ay.show({message:p("your_coupon_was_blah"),duration:u.c9.LONG}),A("couponCode",""),null==o||o()}catch(o){let e=p("an_unknown_error_blah");switch(null==o?void 0:o.errorCode){case _.O4.Service.NotFound:e=p("this_code_is_invalid_blah");break;case _.O4.Service.AlreadyInUseCoupon:e=p("this_code_was_already_blah");break;case _.O4.Service.ExpiredCoupon:e=p("this_code_has_expired_blah")}C("couponCode",{message:e})}finally{v(!1)}},[o,l,a,p,C,A]);return(0,t.jsxs)(f.A,{onSubmit:y(I),style:{flexDirection:"row",alignItems:"flex-start"},children:[(0,t.jsx)(c.A,{error:w.couponCode,placeholder:p("enter_coupon_code"),autoCapitalize:"characters",...x("couponCode",{required:!0})}),(0,t.jsx)(g.AddCouponBtn,{type:"submit",loading:k,disabled:k,small:!0,style:{height:44,padding:"4px 22px",background:"transparent",border:"1px solid #ebebeb",borderRadius:2,marginLeft:8},color:"info",children:(0,t.jsx)(s.A,{size:14,color:"#3c3c3c",style:{whiteSpace:"nowrap"},children:p("add_coupon")})})]})}),g={AddCouponBtn:(0,l.Ay)(p.A).withConfig({componentId:"sc-db73b9ba-0"}
1)(["height:44px;padding:4px 22px;"]),DefaultRenderContainer:l.Ay.div.withConfig({componentId:"sc-db73b9ba-1"})(["display:flex;align-items:flex-start;flex-direction:row;> div:first-child{flex:1;display:flex;flex-direction:column;}"]),ErrorText:(0,l.Ay)(s.A).withConfig({componentId:"sc-db73b9ba-2"})(["margin-top:6px;"])}},46240:(e,o,n)=>{n.d(o,{A:()=>d});var t=n(37876),a=n(14232),r=n(88992),i=n(58725),l=n(29683);let d=(0,a.memo)((0,a.forwardRef)(function(e,o){let{options:n={},children:d,render:c,onSubmit:s=()=>{},onSubmitting:u,onSubmitted:p,onInvalid:f,...h}=e,b=(0,r.mN)(n),_=(0,a.useCallback)(l.A.debounce(()=>{b.formState.isSubmitting&&(null==u||u())},10),[b.formState.isSubmitting,u]),m=(0,a.useCallback)(l.A.debounce(()=>{b.formState.isSubmitted&&!b.formState.isSubmitting&&(null==p||p())},10),[b.formState.isSubmitted,b.formState.isSubmitting,p]);(0,a.useEffect)(()=>{_()},[_]),(0,a.useEffect)(()=>{m()},[m]),(0,a.useImperativeHandle)(o,()=>({...b}),[b,b.formState.errors]);let x=(0,a.useCallback)(e=>{if(!e.isComposing&&229!==e.keyCode&&"Enter"===e.code){if("TEXTAREA"===e.target.nodeName)return;e.stopPropagation();let{setFocus:o,getValues:n}=b,t=n();l.A.some(t,(e,n)=>{if(!e){try{o(n)}catch(e){}return!0}})&&e.preventDefault()}},[b]);return(0,t.jsx)(r.Op,{...b,children:(0,t.jsx)(i.A,{...h,onSubmit:b.handleSubmit(s,f),onKeyDown:x,children:c?c():d})})}))},51592:(e,o,n)=>{n.d(o,{A:()=>d});var t=n(37876),a=n(18827),r=n(19363),i=n(29319),l=n(55197);let d=()=>{let{t:e}=(0,l.Z)(s);return(0,t.jsxs)(c.CouponNotice,{children:[(0,t.jsx)(r.A,{size:14,semiBold:!0,color:"#606060",children:e("notice")}),(0,t.jsx)(r.A,{size:12,color:"#606060",children:e("if_you_use_blah")})]})},c={CouponNotice:(0,a.Ay)(i.A).withConfig({componentId:"sc-98369454-0"})(["gap:10px;margin-top:32px;background:#fff;"])},s={ns:"domain/coupon-notice",en:{notice:"Notice",if_you_use_blah:"If you use a coupon that was issued based on a completed purchase, and later request a refund for the qualifying purchase, the coupon value will be deducted from your refund amount. This policy applies in accordance with the terms and conditions stated at the time of coupon issuance."},ko:{notice:"유의사항",if_you_use_blah:"구매 완료 시 발급되는 쿠폰을 사용하신 후, 해당 쿠폰의 발급 조건이었던 결제를 환불하실 경우, 사용하신 쿠폰 금액은 환불액에서 차감되어 처리됩니다. 이 내용은 쿠폰 발급 시 안내된 조건 및 이용약관에 따라 적용됩니다."},ja:{notice:"お知らせ",if_you_use_blah:"ご購入完了時に発行されたクーポンをご利用後、そのクーポンの発行条件となったご注文を返品された場合、ご利用いただいたクーポン金額は返金額から差し引いて処理いたします。この内容は、クーポン発行時にご案内した条件および利用規約に基づき適用されます。"}}},58725:(e,o,n)=>{n.d(o,{A:()=>i});var t=n(37876),a=n(14232),r=n(18827);let i=(0,a.memo)(function(e){let{block:o,onSubmit:n,onKeyDown:a,children:r,...i}=e;return(0,t.jsx)(l.Form,{$block:o,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),null==n||n(e)},onKeyDown:e=>{e.stopPropagation(),null==a||a(e)},noValidate:!0,...i,children:r})}),l={Form:r.Ay.form.withConfig({componentId:"sc-7209187f-0"})(["display:flex;flex-direction:column;",""],e=>{let{$block:o}=e;return"width: ".concat(o?"100%":"auto",";")})}},84101:(e,o,n)=>{n.d(o,{T:()=>r});var t=n(14232),a=n(78697);function r(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],[o,n]=(0,t.useState)(!1),{type:r}=(0,a.kW)();return(0,t.useEffect)(()=>"mobile"===r&&e?(n(!0),()=>{n(!1)}):void n(!1),[r,e]),{needToSetMetaTag:o}}},98447:(e,o,n)=>{n.d(o,{A:()=>p});var t=n(37876),a=n(77328),r=n.n(a),i=n(14232),l=n(18827),d=n(54067),c=n(19363),s=n(29319),u=n(84101);let p=(0,i.memo)((0,i.forwardRef)((e,o)=>{let{error:n,fontSize:a,clearable:l=!0,onChange:s,onFocus:p,onBlur:h,renderLeft:b,typingHint:_,typingHintColor:m="#9d9d9d",onlyNumber:x,preventZoom:g=!0,...y}=e,{needToSetMetaTag:w}=(0,u.T)(g),[C,A]=(0,i.useState)(!1),[k,v]=(0,i.useState)(!1),I=(0,i.useRef)(null),S=(0,i.useCallback)(e=>{I.current=e,"function"==typeof o?o(e):o&&(o.current=e)},[o]),j=(0,i.useCallback)(e=>{!y.readOnly&&(A(!0),p&&p(e))},[p,y.readOnly]),$=(0,i.useCallback)(e=>{A(!1),h&&h(e)},[h]),D=(0,i.useCallback)(()=>{I.current&&(I.current.value="",v(!1),s&&s({target:{value:"",name:y.name},currentTarget:{value:"",name:y.name}}),I.current.focus())},[s,y.name]),E=(0,i.useCallback)(e=>{x&&(e.target.value=e.target.value.replace(/\D/g,"")),v(""!==e.target.value),s&&s(e)},[s,x]);return(0,i.useEffect)(()=>{I.current&&v(""!==I.current.value)},[]),(0,t.jsxs)(t.Fragment,{children:[w&&(0,t.jsx)(r(),{children:(0,t.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"})}),(0,t.jsxs)(f.InputV2MainContainer,{children:[(0,t.jsxs)(f.InputV2SubContainer,{$error:!!n,$focused:C,$readOnly:y.readOnly,$disabled:y.disabled,children:[b&&b(),(0,t.jsx)(f.InputV2,{ref:S,$fontSize:a,onFocus:j,onBlur:$,onChange:E,...y,...x&&{type:"tel",inputMode:"numeric"}}),l&&C&&k&&(0,t.jsx)(f.InputV2ClearBtn,{type:"button",onClick:D,onMouseDown:e=>e.preventDefault(),children:(0,t.jsx)(d.h,{name:"times",size:10,fill:"white",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})})]}),n&&n.message&&(0,t.jsx)(f.InputV2Error,{children:(0,t.jsx)(c.A,{size:12,color:"#f9324a",children:n.message})}),!n&&_&&(0,t.jsx)(f.InputV2Description,{children:(0,t.jsx)(c.A,{size:12,color:m,children:_})})]})]})})),f={InputV2MainContainer:(0,l.Ay)(s.A).withConfig({componentId:"sc-92c495ec-0"})(["flex:1;"]),InputV2SubContainer:(0,l.Ay)(s.A).withConfig({componentId:"sc-92c495ec-1"})(["flex-direction:row;align-items:center;width:100%;height:44px;padding:4px 0 4px 14px;border-radius:2px;border:",";border-color:",";background-color:",";"],e=>e.$readOnly?"0":"1px solid",e=>e.$error?"#f9324a":e.$focused?"#3c3c3c":(e.$disabled,"#ebebeb"),e=>e.$readOnly||e.$disabled?"#fafafa":"white"),InputV2:l.Ay.input.withConfig({componentId:"sc-92c495ec-2"})(["width:100%;height:100%;padding:0;font-size:","px;border:0;outline:none;&:read-only{background:#fafafa;cursor:default;}&:disabled{color:#000;background:#fafafa;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#0f0f0f;}&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:focus,&:-webkit-autofill:active{-webkit-box-shadow:0 0 0 3
10px white inset !important;}"],e=>e.$fontSize||14),InputV2ClearBtn:l.Ay.button.withConfig({componentId:"sc-92c495ec-3"})(["display:flex;align-items:center;justify-content:center;position:absolute;right:12px;top:14px;width:16px;height:16px;padding:0;background:#9d9d9d;border-radius:50%;"]),InputV2Description:l.Ay.div.withConfig({componentId:"sc-92c495ec-4"})(["margin-top:6px;color:#7b7b7b;"]),InputV2Error:l.Ay.div.withConfig({componentId:"sc-92c495ec-5"})(["margin-top:6px;"])}}}]);

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.