PageSourceSearch

https://poly.cam/_next/static/chunks/3774.28cfb31e7355796a.js

js poly.cam collected 2026-09-24 09:07:14 UTC 12,912 bytes, 1 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9397a464-12df-46c8-bf16-29537b8d1ef4",e._sentryDebugIdIdentifier="sentry-dbid-9397a464-12df-46c8-bf16-29537b8d1ef4")}()}catch(e){}try{("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"e5c218d51c3051e4a75cc638c5617e35fe4645f8"}}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3774],{983:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r,n=s(7620),l=s(18123);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement(l.A,a({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.707 2.5 6.207 8 11.707 13.5 11 14.207 4.793 8 11 1.793z",fill:"currentColor"})))}},24773:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r,n=s(7620),l=s(18123);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement(l.A,a({width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 6.814 12.8 2.014 13.507 2.721 8.707 7.521 13.507 12.321 12.8 13.028 8 8.228 3.2 13.028 2.493 12.321 7.293 7.521 2.493 2.721 3.2 2.014z",fill:"currentColor"})))}},33949:e=>{e.exports={btn:"styles_btn__YWG_A",doneCapsuleText:"styles_doneCapsuleText__Xt3yd",errorBox:"styles_errorBox__YMfpm",l:"styles_l__SKSuN",s:"styles_s__Xhgcv",m:"styles_m__qccIk",container:"styles_container__nKZ7b",wrapper:"styles_wrapper__hjlfh",active:"styles_active__m_GzI",tight:"styles_tight__paXAT",capsule:"styles_capsule__ufLfF",textArea:"styles_textArea__WNGwF",noBorder:"styles_noBorder__Rj6Zl",multiline:"styles_multiline__mbWlm",fill:"styles_fill__Be_xp",error:"styles_error__Uhsw7",errorFill:"styles_errorFill__keKz4",disabled:"styles_disabled__lfjg7",textInput:"styles_textInput__TwWLZ",fixed:"styles_fixed__eep5K",doneAccessory:"styles_doneAccessory__ujKm2",doneCapsule:"styles_doneCapsule__Vrwog"}},34908:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r,n=s(7620),l=s(18123);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement(l.A,a({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.509 7.801C14.064 7.274 14.544 6.667 14.929 6H13.746C12.48 7.814 10.378 9 8 9S3.52 7.814 2.254 6H1.07C1.456 6.667 1.936 7.274 2.491 7.801L.896 9.396 1.604 10.103 3.26 8.446C3.97 8.969 4.772 9.378 5.635 9.645L5.018 11.866 5.982 12.134 6.608 9.879Q7.287 10 8 10T9.392 9.88L10.018 12.133 10.982 11.866 10.365 9.645C11.228 9.378 12.028 8.969 12.739 8.445L14.396 10.104 15.105 9.396z",fill:"currentColor"})))}},36270:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(54568);function n({className:e,size:t=32}){return(0,r.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",width:t,height:t,viewBox:"0 0 24 24",children:(0,r.jsxs)("g",{children:[(0,r.jsxs)("circle",{cx:12,cy:12,r:9.5,fill:"none",strokeWidth:2.5,strokeLinecap:"round",children:[(0,r.jsx)("animate",{attributeName:"stroke-dasharray",dur:"1.5s",calcMode:"spline",values:"0 150;42 150;42 150;42 150",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",calcMode:"spline",values:"0;-16;-59;-59",keyTimes:"0;0.475;0.95;1",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;
10.42,0,0.58,1",repeatCount:"indefinite"})]}),(0,r.jsx)("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",values:"0 12 12;360 12 12",repeatCount:"indefinite"})]})})}},56511:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var r=s(54568),n=s(54437),l=s(9917),a=s(255),o=s(98814),i=s(82245),c=s(5535),u=s(83442),d=s(983),_=s(24773),p=s(28298),f=s(22695),h=s(98751),m=s.n(h);function y({children:e}){return(0,r.jsx)(a.A,{className:(0,f.HZ)()?m().background:m().backgroundNative,children:e})}var g=s(70337),x=s.n(g);function b({className:e,spacing:t="compact",header:s,headerPalette:f="bright",palette:h="bright",footer:m,children:g,background:v,onBack:w,onClose:j,safeInsetTop:A,safeInsetBottom:C,closeDisabled:N,dismissable:k,hideCloseButton:T,ref:S}){let B=k?()=>{j?.(),E.dismiss()}:j;(0,n.A)("Escape",B??w);let E=(0,u.c)(),O=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Ay,{palette:f,hideWhenEmpty:!0,className:(0,l.A)(x().header,x()[t])}),s&&(0,r.jsx)(p.N5,{justify:"center",children:"string"==typeof s?(0,r.jsx)(c.A,{children:s}):s}),w&&(0,r.jsx)(p.N5,{justify:"start",children:(0,r.jsx)(o.A,{palette:"flat",size:"m",shape:"square",className:x().backBtn,onClick:w,title:"Back",children:(0,r.jsx)(d.A,{})})}),B&&!T&&(0,r.jsx)(p.N5,{justify:"end",children:(0,r.jsx)(o.A,{palette:"flat",size:"m",shape:"square",className:x().closeBtn,onClick:B,disabled:N,title:"Close",children:(0,r.jsx)(_.A,{})})}),(0,r.jsx)(a.A,{className:x().content,children:g}),m&&(0,r.jsx)(a.A,{className:(0,l.A)(x().footer,x()[t]),children:m})]});return(0,r.jsxs)(a.A,{ref:S,className:(0,l.A)(x().container,e,"overlay"!==E.style&&x()[E.style]),palette:h,children:[v&&(0,r.jsx)(y,{children:v}),(0,r.jsx)(i.A,{className:x().innerSafeArea,safeInsetTop:A,safeInsetBottom:C,children:O})]})}},62618:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var r,n,l=s(7620),a=s(18123);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let i=function(e){return l.createElement(a.A,o({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=l.createElement("circle",{cx:8,cy:8,r:6.5,stroke:"currentColor"})),n||(n=l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 5.375V4.875H8.5V8.5H7.5zM8.75 10.625C8.75 10.211 8.414 9.875 8 9.875S7.25 10.211 7.25 10.625V10.685C7.25 11.099 7.586 11.435 8 11.435S8.75 11.099 8.75 10.685z",fill:"currentColor"})))}},63774:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>y});var r=s(54568),n=s(7620),l=s(9917),a=s(36270),o=s(98814),i=s(56511),c=s(69931),u=s(20917),d=s(67657),_=s(89433),p=s(8340),f=s(83442),h=s(72298),m=s.n(h);function y({folder:e,className:t,...s}){let{strings:h}=(0,p.B)(),g=(0,f.c)(),x=(0,u.xE)(),[b,v]=(0,n.useState)(!0),[w,j]=(0,n.useState)(""),[A,C]=(0,n.useState)(null);(0,n.useEffect)(()=>{x&&(v(!0),t());async function t(){let[t,s,r]=await Promise.all([(0,_.DV)(e.id),(0,_.Xw)(e.id),(0,_.zl)(e.id)]);C({captures:t,scenes:s,folders:r}),v(!1)}},[x,e.id]);let N=A?A.captures+A.scenes+A.folders:0,k=A?.folders??0,T=A?.captures??0,S=A?.scenes??0,B=w.trim(),E=e.name.toLowerCase(),O=B.toLowerCase()===E||B.toLowerCase()===E+"?",I=!(N>0)||O,M=async()=>{try{await (0,d.B)().folder(e.id).delete(),g.popStack()}catch(e){console.error("Error deleting folder.",e)}};return(0,r.jsx)(i.A,{header:`${h.Delete} ${e.name}?`,dismissable:!0,children:(0,r.jsxs)("article",{...s,className:(0,l.A)(m().container,t),children:[b?(0,r.jsx)("div",{className:(0,l.A)(m().content,m().loadingContainer),children:(0,r.jsx)(a.A,{})}):A&&N>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:m().description,children:h.ThisFolderWillBePermanentlyDeletedAlongWith}),(0,r.jsxs)("div",{className:m().countsList,children:[T>0&&(0,r.jsxs)("p",{className:m().countItem,children:[(0,r.jsx)("span",{className:m().countNumber,children:T})," ",1===T?h.OneCaptureCount:h.MultipleCapturesCount]}),S>0&&(0,r.jsxs)("p",{className:m().countItem,children:[(0,r.jsx)("span",{className:m().countNumber,children:S})," ",1===S?h.OneSceneCount:h.MultipleScenesCount]}),k>0&&(0,r.jsxs)("p",{className:m().countItem,children:[(0,r.jsx)("span",{className:m().countNumber,children:k})," ",1===k?h.OneFolderAndAllItsContent:h.MultipleFoldersAndAllTheirContent]}
1)]}),(0,r.jsx)(c.A,{value:w,onChange:j,placeholder:`${h.TypeTheFolderNameToConfirm}: '${e.name}'`,size:"m",stroke:!0,onSubmit:()=>{I&&M()}})]}):(0,r.jsx)("div",{className:m().content,children:(0,r.jsx)("p",{className:m().description,children:h.ThisFolderWillBePermanentlyDeleted})}),(0,r.jsx)(o.A,{size:"m",palette:"destructivePrimary",className:m().button,disabled:b||!I,onClick:M,children:h.Delete})]})})}},69931:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var r=s(54568),n=s(7620),l=s(9917),a=s(62618),o=s(34908),i=s(92472),c=s(33949),u=s.n(c);function d({type:e="text",inputState:t="default",className:s,innerClassName:c,fieldClassName:_,value:p,disabled:f,onChange:h,onBlur:m,onFocus:y,onSubmit:g,submitOnEnter:x,preventDefault:b,stopPropagation:v,prefix:w,suffix:j,fill:A,multiline:C,stroke:N,tight:k,errorMessage:T,size:S="l",shape:B,resize:E,showClearButton:O,iosAccessoryView:I,ref:M,...D}){let[F,L]=(0,n.useState)("password"===e),P=e=>{if("Enter"===e.key){if(C){if(x){if(e.shiftKey)return}else if(!(e.ctrlKey||e.metaKey))return}g&&(g(e.currentTarget.value),b&&e.preventDefault(),v&&e.stopPropagation())}},R=C&&"password"!==e?(0,r.jsx)("textarea",{ref:M,value:p,className:(0,l.A)(u().textArea,_,{[u().fixed]:!1===E}),onChange:e=>h(e.currentTarget.value),onBlur:e=>m?.(e.currentTarget.value),onFocus:e=>y?.(e.currentTarget.value),onKeyDown:P,disabled:f,...D}):(0,r.jsx)("input",{ref:M,value:p,className:(0,l.A)(u().textInput,_),type:"password"!==e||F?e:"text",onChange:e=>h(e.currentTarget.value),onBlur:e=>m?.(e.currentTarget.value),onFocus:e=>y?.(e.currentTarget.value),onKeyDown:P,disabled:f,...D}),z=F?"Show password":"Hide password";return(0,r.jsxs)("div",{className:(0,l.A)(u().container,s),children:[(0,r.jsxs)("label",{className:(0,l.A)(u().wrapper,"error"===t&&u().error,f&&u().disabled,C&&u().multiline,!N&&u().noBorder,A&&"error"===t&&u().errorFill,A&&u().fill,u()[S],"capsule"===B&&u().capsule,k&&u().tight,c),onMouseDown:e=>{let t=e.currentTarget.querySelector("input, textarea");e.target!==t&&(e.preventDefault(),t.focus())},children:[w,R,"password"===e&&(0,r.jsx)("button",{type:"button",className:u().btn,title:z,"aria-label":z,onClick:()=>L(!F),disabled:f,children:F?(0,r.jsx)(o.A,{}):(0,r.jsx)(i.A,{})}),j&&(0,r.jsx)("span",{style:{userSelect:"none"},children:j})]}),"error"===t&&T&&(0,r.jsxs)("div",{className:u().errorBox,children:[(0,r.jsx)(a.A,{}),(0,r.jsx)("p",{children:T})]})]})}},70337:e=>{e.exports={header:"styles_header__xm38M",container:"styles_container__T37a2",fullScreen:"styles_fullScreen__Y4VOC",sheet:"styles_sheet__V9U2E",modal:"styles_modal__vqqAL",generous:"styles_generous__4yGeF",backBtn:"styles_backBtn__tWWlb",closeBtn:"styles_closeBtn__PlGmD",content:"styles_content__Z6uq0",footer:"styles_footer__TEMo9",compact:"styles_compact__48Pk0",innerSafeArea:"styles_innerSafeArea__SmGLr"}},72298:e=>{e.exports={container:"styles_container__gteT4",countNumber:"styles_countNumber__9yMDf",content:"styles_content__9zibF",loadingContainer:"styles_loadingContainer__mOjkm",description:"styles_description__I2wRg",countsList:"styles_countsList__3PeT7",countItem:"styles_countItem__i_weE",button:"styles_button__ubUK8"}},82245:(e,t,s)=>{"use strict";s.d(t,{A:()=>l,O:()=>o});var r=s(54568),n=s(255);function l({safeInsetTop:e,safeInsetBottom:t,onLayout:s,...a}){return(0,r.jsx)(n.A,{...a})}let a={top:0,bottom:0},o=()=>a},92472:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r,n=s(7620),l=s(18123);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let o=function(e){return n.createElement(l.A,a({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 11C5.7 11 3.678 9.806 2.522 8 3.678 6.194 5.7 5 8 5S12.322 6.194 13.478 8C12.322 9.806 10.3 11 8 11M8 4C10.878 4 13.377 5.621 14.635 8 13.377 10.379 10.878 12 8 12S2.623 10.379 1.365 8C2.623 5.621 5.122 4 8 4M8 10C9.105 10 10 9.105 10 8S9.105 6 8 6 6 6.895 6 8 6.896 10 8 10",fill:"currentColor"})))}}
1,98751:e=>{e.exports={backgroundNative:"styles_backgroundNative__lUmSa",background:"styles_background__PSQx0"}}}]);

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.