PageSourceSearch

https://www.filmsupply.com/assets/NotificationModalContent-DmSBPrZa.js

js filmsupply.com collected 2026-09-24 20:01:58 UTC 7,807 bytes, 1 lines download raw bytes

1import{r as t,f as P,j as e,F as B,b as u}from"./constants-Cot2Ohot.js";import{F}from"./FMThemeSection-Ba9ry8eD.js";import{y as C,aX as N,aY as V,aZ as _,a_ as H,a$ as j,b0 as z,b1 as O,b2 as Y,b3 as X,b4 as q,b5 as G,a1 as U,b6 as W,ak as J,ah as K,af as D,B as m}from"./index-CmrRmcEC.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"[email protected]"};var a=new o.Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="b1d36c33-92c6-45e5-9592-aaeb9c916e11",o._sentryDebugIdIdentifier="sentry-dbid-b1d36c33-92c6-45e5-9592-aaeb9c916e11")}catch{}})();const n=C("div",{base:{display:"flex",alignItems:"center",justifyContent:"center"},variants:{inline:{true:{display:"inline-flex"}}}});n.displayName="Center";const{withRootProvider:x,withContext:i}=_({key:"dialog"});x(Y,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const Q=x(V,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});i(X,"trigger",{forwardAsChild:!0});const e1=i(z,"positioner",{forwardAsChild:!0}),t1=i(O,"content",{forwardAsChild:!0});i(q,"description",{forwardAsChild:!0});const a1=i(N,"title",{forwardAsChild:!0}),o1=i(H,"closeTrigger",{forwardAsChild:!0});t.forwardRef(function(a,r){const l=G();return P.jsx(C.button,{...a,ref:r,onClick:()=>l.setOpen(!1)})});const r1=i(j,"backdrop",{forwardAsChild:!0}),n1=i("div","body");i("div","footer");const i1=i("div","header"),l1=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),t.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),v=t.forwardRef((o,a)=>t.createElement(U,{ref:a,...o,weights:l1}));v.displayName="InfoIcon";const d1=v,w=1e9,s1=t.forwardRef(function(a,r){const{children:l,portalled:c=!0,portalRef:g,backdrop:h=!0,backdropProps:s,positionerProps:d,...b}=a;return e(J,{disabled:!c,container:g,children:u(F,{children:[h&&e(r1,{zIndex:w,...s}),e(e1,{zIndex:w+1,...d,children:e(t1,{ref:r,...b,children:l})})]})})}),c1=t.forwardRef(function(a,r){return e(B,{children:e(o1,{position:"absolute",top:"0",insetEnd:"0",asChild:!0,onClick:a.onClick,h:48,w:48,"data-testid":"modal-close-button",children:e(W,{ref:r,variant:"shaded",background:"transparent",opacity:.5})})})}),g1=Q,u1=i1,h1=n1,A=a1,v1=({open:o,title:a,subtitle:r,children:l,placement:c={base:"bottom",lg:"center"},isPortal:g=!0,headerProps:h,bodyProps:s,contentOnly:d,closeOnInteractOutside:b=!1,showCloseTrigger:Z=!0,preventBodyLock:y=!1,trapFocus:E,lazyMount:R=!0,backdropProps:k,positionerProps:I,onClose:f,onExitComplete:M,...T})=>{const L=!!a||!!r,$=t.useMemo(()=>[()=>document.querySelector(".ReactModalPortal")],[]);return e(g1,{lazyMount:R,modal:!y,open:o,placement:c,closeOnInteractOutside:b,onInteractOutside:b?p=>{const S=p.detail.originalEvent;if(p.preventDefault(),p.stopPropagation(),S.type==="focusin"){p.preventDefault();return}f()}:void 0,persistentElements:$,trapFocus:E,onExitComplete:M,children:u(s1,{portalled:g,backdropProps:k,positionerProps:I,mb:{base:0,lg:"auto"},borderRadius:{base:"2xl",lg:"6"},backgroundColor:"background.controls.popover",maxH:{base:`calc(100vh  - ${K.NAVBAR}px - 32px)`},borderBottomRadius:{base:0,lg:"6"},overflowY:"auto",px:d?0:{base:24,lg:32},py:d?0:{base:24,lg:32},gap:{base:24},...T,children:[L&&e(u1,{...h,children:u(D,{gap:8,children:[!!a&&e(A,{children:a}),!!r&&e(A,{textStyle:"UI.14.reg",children:r})]})}),e(h1,{...s,mt:d?0:"auto",children:l}),Z&&e(c1,{onClick:f})]})})},b1=()=>
1e(n,{borderRadius:"rounded",w:48,h:48,bg:"background.subtle.positive",children:e(n,{borderRadius:"rounded",w:32,h:32,bg:"background.colored.positive",children:e("svg",{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M0.874822 5.36861L2.39613 3.82812L5.49627 6.87713L12.2015 0.197443L13.7356 1.73793L5.49627 9.94531L0.874822 5.36861Z",fill:"white"})})})}),p1=()=>e(n,{borderRadius:"rounded",w:48,h:48,bg:"background.subtle.warning",children:e(n,{borderRadius:"rounded",w:32,h:32,bg:"background.colored.warning",children:e("svg",{width:"3",height:"15",viewBox:"0 0 3 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M2.74325 0.909091L2.53232 10.152H0.474077L0.269531 0.909091H2.74325ZM1.5032 14.1406C1.11541 14.1406 0.783026 14.0043 0.506037 13.7315C0.23331 13.4588 0.0969461 13.1264 0.0969461 12.7344C0.0969461 12.3509 0.23331 12.0227 0.506037 11.75C0.783026 11.4773 1.11541 11.3409 1.5032 11.3409C1.88246 11.3409 2.21058 11.4773 2.48757 11.75C2.76882 12.0227 2.90945 12.3509 2.90945 12.7344C2.90945 12.9943 2.8434 13.2308 2.71129 13.4439C2.58345 13.657 2.413 13.8274 2.19993 13.9553C1.99112 14.0788 1.75888 14.1406 1.5032 14.1406Z",fill:"white"})})})}),f1=()=>e(n,{borderRadius:"rounded",w:48,h:48,bg:"background.subtle.negative",children:e(n,{borderRadius:"rounded",w:32,h:32,bg:"background.colored.negative",children:e("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M1.7065 9.94531L0.166016 8.40483L8.30309 0.306108L9.84357 1.84659L1.7065 9.94531ZM8.29031 9.94531L0.153232 1.84659L1.69371 0.306108L9.83079 8.40483L8.29031 9.94531Z",fill:"white"})})})}),m1=()=>e(n,{borderRadius:"rounded",w:48,h:48,bg:"background.subtle.blue",children:e(n,{borderRadius:"rounded",w:32,h:32,bg:"background.colored.brand",children:e(d1,{size:24,weight:"fill",color:"white"})})}),w1={success:e(b1,{}),warn:e(p1,{}),fail:e(f1,{}),info:e(m1,{})},Z1=({type:o,title:a,message:r=[],children:l,buttons:c,showNotificationIcon:g=!0})=>u(D,{gap:0,w:"full",children:[g&&e(()=>w1[o],{}),u(n,{mt:16,flexDirection:"column",children:[e(m,{textStyle:"heading.18.semi",textAlign:"center",mb:8,children:a}),(Array.isArray(r)?r:[r]).map((s,d)=>e(m,{textStyle:"paragraph.14.reg",textAlign:"center",mb:d<r.length-1?2:0,padding:"0 12px",children:s},s))]}),l,c]});export{n as C,Z1 as N,v1 as S,w as Z,d1 as c};

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.