PageSourceSearch

https://www.wishyork.com/_next/static/chunks/7756.c2748c54c2569016.js

js wishyork.com collected 2026-10-02 01:52:20 UTC 7,147 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="929ef7c7-3a51-4f80-86d7-c8018224d7f6",e._sentryDebugIdIdentifier="sentry-dbid-929ef7c7-3a51-4f80-86d7-c8018224d7f6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5375,6065,7756],{66065:(e,r,a)=>{a.d(r,{A:()=>t});let t=(0,a(14294).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},87280:(e,r,a)=>{a.r(r),a.d(r,{ReportModal:()=>N});var t=a(95155),s=a(12115),l=a(18955),n=a(51834),d=a(76444),o=a(31120),i=a(26615),c=a(83403),x=a(66065),b=a(92033),m=a(50984),u=a(64269),p=a(30926);let h=(0,p.createServerReference)("40b3da747a8d3d9be97123ba6a56fce4aff5e7c0fe",p.callServer,void 0,p.findSourceMapURL,"createReportAction"),f=(0,p.createServerReference)("4024d6747eb372a2b2c9f999524060d948024f879c",p.callServer,void 0,p.findSourceMapURL,"reportEventWishAction");var y=a(15894),v=a(922);let g="text-xs font-medium text-[#8E8D8A] dark:text-neutral-400 ml-1";function N(e){let{open:r,onOpenChange:a,targetId:p,targetType:N}=e,j=(0,l.c)("Report"),k=(0,l.c)("Common"),[w,E]=(0,s.useState)("reason"),[A,B]=(0,s.use
1State)(""),[F,S]=(0,s.useState)(""),[R,_]=(0,s.useState)(!1),C=[{id:"SPAM",label:j("reasonSpam")},{id:"HARASSMENT",label:j("reasonHarassment")},{id:"INAPPROPRIATE",label:j("reasonInappropriate")},{id:"FAKE",label:j("reasonFake")},{id:"OTHER",label:j("reasonOther")}],I=async()=>{if(A&&!R){_(!0);try{let e="EVENT_WISH"===N?await f({wishId:p,reason:A,details:F.trim()||void 0}):await h({targetId:p,targetType:N,reason:A,details:F.trim()||void 0});e.success?E("success"):(0,y.oR)({variant:"destructive",title:k("error"),description:"string"==typeof e.error&&(0,v.L)(e.error)?(0,v.u)(e.error,k):e.error})}catch(e){(0,y.oR)({variant:"destructive",title:k("error")})}finally{_(!1)}}};return(0,t.jsx)(n.lG,{open:r,onOpenChange:e=>{a(e),e||setTimeout(()=>{E("reason"),B(""),S("")},300)},children:(0,t.jsx)(n.Cf,{"aria-describedby":void 0,className:"max-w-xl p-0 border-none bg-transparent shadow-none overflow-visible [&>button]:hidden focus:outline-none focus-visible:ring-0",onCloseAutoFocus:e=>{e.preventDefault(),document.body.style.pointerEvents="",document.body.style.overflow=""},onEscapeKeyDown:()=>{document.body.style.pointerEvents="",document.body.style.overflow=""},children:(0,t.jsxs)("div",{className:"relative flex max-h-[90vh] flex-col rounded-[24px] border border-[#EBEBEB] bg-white shadow-[0_8px_40px_rgba(0,0,0,0.12)] dark:border-neutral-700 dark:bg-neutral-900",children:[(0,t.jsxs)(n.HM,{type:"button",className:"absolute right-4 top-4 z-10 flex min-h-[44px] min-w-[44px] items-center justify-center rounded-[8px] border border-[#EBEBEB] bg-white p-2.5 transition-colors hover:bg-[#F9F9F9] focus:outline-none focus:ring-1 focus:ring-primary/20 dark:border-neutral-700 dark:bg-neutral-900 dark:hover:bg-neutral-800 md:min-h-0 md:min-w-0 md:p-1.5",children:[(0,t.jsx)(i.A,{className:"size-4 text-[#8A8A80] dark:text-neutral-400"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto p-6 pt-14 no-scrollbar md:p-8 md:pt-16",children:"reason"===w?(0,t.jsxs)("div",{className:"animate-in fade-in slide-in-from-bottom-4 space-y-8 duration-500 pb-2",children:[(0,t.jsxs)("header",{className:"space-y-4 pt-2 text-center",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("div",{className:"rounded-[12px] border border-[#EBEBEB] bg-[#F9F9F9] p-2 dark:border-neutral-700 dark:bg-neutral-800",children:(0,t.jsx)(c.A,{className:"h-8 w-8 text-primary"})})}),(0,t.jsx)(n.L3,{className:"text-xl font-semibold normal-case text-[#171717] dark:text-neutral-100",children:j("modalTitle")}),(0,t.jsx)(n.rr,{className:"text-xs font-normal normal-case leading-relaxed text-[#8A8A80] dark:text-neutral-400",children:j("modalSubtitle",{type:N.toLowerCase()})})]}),(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(d.J,{id:"report-reason-label",className:g,children:j("selectReason")}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",role:"radiogroup","aria-labelledby":"report-reason-label",children:C.map(e=>(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":A===e.id,onClick:()=>B(e.id),className:(0,u.cn)("rounded-[8px] px-3 py-1.5 text-xs transition-colors",A===e.id?"bg-[#171717] font-semibold text-white":"border border-[#EBEBEB] bg-white text-[#6B6B6B] hover:bg-[#F9F9F9] dark:border-neutral-700 dark:bg-neutral-900 dark:hover:bg-neutral-800"),children:e.label},e.id))})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(d.J,{htmlFor:"report-modal-details",className:g,children:j("detailsLabel")}),(0,t.jsx)("span",{className:"text-[11px] text-[#8A8A80] dark:text-neutral-500",children:k("char_limit",{count:F.length})})]}),(0,t.jsx)(o.T,{id:"report-modal-details",name:"details",value:F,onChange:e=>S(e.target.value),placeholder:j("detailsPlaceholder"),maxLength:2e3,className:"min-h-[100px] resize-none rounded-[12px] border border-[#EBEBEB] bg-[#F9F9F9] px-3 py-2 text-sm focus:border-primary focus:ring-1 focus:ring-primary/20 dark:border-neutral-700 dark:bg-neutral-800"})]}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-[12px] border border-dashed border-blue-200 bg-blue-50 p-4 dark:border-blue-800 dark:bg-blue-900/20",children:[(0,t.jsx)(x.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-blue-500"}),(0,t.jsx)("p",{className:"text-xs font-normal normal-case leading-relaxed text-blue-800 dark:text-blue-400",children:j("privacyNote")})]}
1),(0,t.jsx)("button",{type:"button",onClick:I,disabled:!A||R,className:"w-full rounded-[8px] bg-[#171717] px-6 py-2.5 text-sm font-semibold text-white transition-opacity hover:opacity-90 disabled:opacity-50",children:R?(0,t.jsx)(b.A,{className:"mx-auto h-6 w-6 animate-spin"}):j("submitReport")})]})]}):(0,t.jsxs)("div",{className:"animate-in zoom-in space-y-8 py-6 text-center duration-500",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("div",{className:"rounded-[12px] bg-primary/15 p-3 text-primary",children:(0,t.jsx)(m.A,{className:"h-10 w-10"})})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(n.L3,{className:"text-xl font-semibold normal-case leading-none text-[#171717] dark:text-neutral-100",children:j("successTitle")}),(0,t.jsx)("p",{className:"mx-auto max-w-xs text-sm font-normal normal-case leading-relaxed text-[#8A8A80] dark:text-neutral-400",children:j("successDesc")})]}),(0,t.jsx)("button",{type:"button",onClick:()=>a(!1),className:"w-full rounded-[8px] bg-[#171717] px-6 py-2.5 text-sm font-semibold text-white transition-opacity hover:opacity-90",children:k("finish")})]})}),(0,t.jsx)("div",{className:"shrink-0 border-t border-[#EBEBEB] pt-4 pb-6 dark:border-neutral-700"})]})})})}}}]);

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.