1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},d=(new e.Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4137b21d-0cec-4bce-84de-0bda794b93c6",e._sentryDebugIdIdentifier="sentry-dbid-4137b21d-0cec-4bce-84de-0bda794b93c6")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9307],{6846:(e,d,a)=>{a.d(d,{t:()=>c});var n=a(79237),i=a(53951),s=a(24626),l=a(70659),r=a(66960),o=a(83125),t=a(38113);function c(e){let{open:d,loading:a,onClose:c,onNeverRemindChange:m,onConfirm:h}=e,{$t:f}=(0,r.B)(),[x,b]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{d&&b(!1)},[d]),(0,n.jsx)(i.Dialog,{open:d,onOpenChange:e=>{e||c()},title:f("Cancel Confirmation"),hideHeader:!0,showClose:!1,footer:!1,className:"!rounded-r4 !border-l1 !bg-m1 shadow-3 !w-[420px] !max-w-[calc(100vw-64px)] !overflow-hidden !border !p-4 md:!max-w-[calc(100vw-32px)] md:!p-6",bodyClassName:"!p-0 !pt-0 flex min-h-0 flex-1 flex-col overflow-hidden",children:(0,n.jsx)("div",{className:"bg-m1 flex max-h-[90dvh] min-h-0 flex-col overflow-hidden",children:(0,n.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto md:overflow-visible",children:[(0,n.jsxs)("div",{className:"mb-s7 flex flex-col gap-4",children:[(0,n.jsx)("div",{className:"flex justify-center px-10 py-4",children:(0,n.jsx)(o.Image,{src:"https://cdn.tapbit.mobi/next-web/futures/tip-icon.png",alt:f("Cancel Confirmation"),width:64,height:64,dpi:3,className:"h-12 w-12 md:h-16 md:w-16",unoptimized:!0})}),(0,n.jsx)("div",{className:"text-b14 text-t1 text-center",children:f("Are you sure to cancel this order?")})]}),(0,n.jsx)(s.Checkbox,{checked:x,onCheckedChange:e=>{var d;b(d=!!e),m(d)},labelClassName:"items-start gap-1",className:"mt-px",children:(0,n.jsx)("span",{className:"text-c12 text-t1 leading-4",children:f("No reminders")})}),(0,n.jsxs)("div",{className:"gap-s2 mt-3 grid h-10 grid-cols-2",children:[(0,n.jsx)(l.$,{variant:"secondary",size:"m",className:"h-10",disabled:a,onClick:c,children:f("Later")}),(0,n.jsx)(l.$,{size:"m",className:"h-10",loading:a,disabled:a,onClick:h,children:f("Confirm")})]})]})})})}},11114:(e,d,a)=>{a.r(d),a.d(d,{default:()=>r});var n=a(79237),i=a(6846);a(38113);var s=a(1605),l=a(50791);function r(){let e=(0,l.HC)(),d=e.params,a=(0,s.m4)(),r=async()=>{(null==d?void 0:d.orderId)&&!1!==await a.cancel(d.orderId)&&e.hideLayer()};return(0,n.jsx)(i.t,{open:e.visible,loading:a.loading,onClose:e.hideLayer,onNeverRemindChange:a.setNeverRemind,onConfirm:()=>void r()})}},14004:(e,d,a)=>{a.r(d),a.d(d,{default:()=>r});var n=a(79237),i=a(6846);a(38113);var s=a(71451),l=a(25749);function r(){let e=(0,l.HC)(),d=e.params,a=(0,s.m4)(),r=async()=>{(null==d?void 0:d.orderId)&&!1!==await a.cancel(d.orderId)&&e.hideLayer()};return(0,n.jsx)(i.t,{open:e.visible,loading:a.loading,onClose:e.hideLayer,onNeverRemindChange:a.setNeverRemind,onConfirm:()=>void r()})}}}]);
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.