PageSourceSearch

https://order.greenwich.com.ph/assets/remove-promo-dialog-BtiGmTle.js

js greenwich.com.ph collected 2026-10-02 13:30:57 UTC 1,196 bytes, 1 lines download raw bytes

1import{u,d as i,p as x,fg as g,dw as v,c as h,j as e,B as c,o as C,ai as f,eV as j,fh as m,eT as b,dz as T,b5 as D,bQ as I,fa as P,dx as R}from"./index-Dst7WESz.js";import{D as k,a as y,b as w,c as N,d as U}from"./dialog-B36Hf3ek.js";import"./lodash-BosuxZz1.js";function F(){const{t:s}=u("dialog",{keyPrefix:"removePromo"}),d=i(x("showRemovePromo")),o=i(g),t=i(v),a=h(),n=o||t,r=o?"update":t?"remove":void 0,l=()=>{a(j(!1)),setTimeout(()=>{o&&a(m())},300)},p=()=>{o&&a(b({main:o})),t&&a(T(t.sku)),a(D()),a(I(!1)),a(P()),setTimeout(()=>{o&&a(m())},300),a(R()),l()};return e.jsxs(k,{className:"w-fit space-y-8 rounded md:w-90",onClose:()=>{},open:d,children:[e.jsxs(y,{children:[e.jsx(w,{children:s(`${r}Title`)}),e.jsx(c,{variant:"icon",className:"p-0","aria-label":"close-button",onClick:l,children:e.jsx(C,{})})]}),e.jsx(N,{className:"px-6",children:e.jsx(f,{defaults:`${s(r+"Content")}`,values:{name:n==null?void 0:n.name},components:{x:e.jsx("b",{})}},"content")}),e.jsxs(U,{children:[e.jsx(c,{variant:"primary","aria-label":"confirm-button",onClick:p,children:s(`${r}`)}),e.jsx(c,{variant:"secondary","aria-label":"cancel-button",onClick:l,children:s("cancel")})]})]})}export{F as 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.