PageSourceSearch

https://media.sens.center/_next/static/chunks/app/(media-site)/layout-153fe5f943c3f7fa.js

js sens.center collected 2026-09-24 14:36:50 UTC 11,847 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2939],{5474:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(41987);let n=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))})},7493:(e,t,r)=>{"use strict";r.d(t,{LogoutButton:()=>l});var i=r(12291),n=r(93345),s=r(83408),a=r(41987);let l=({redirectTo:e="/auth/signin",className:t})=>{let[r,l]=a.useState(!1),o=a.useCallback(async()=>{l(!0);try{await n.yK.signOut({fetchOptions:{onSuccess:()=>{window.location.href=e}}})}catch{l(!1)}},[e]);return(0,i.jsxs)("a",{role:"button",onClick:r?void 0:o,"aria-disabled":r,className:`inline-flex items-center gap-1 whitespace-nowrap ${r?"pointer-events-none opacity-60":""} ${t??""}`,children:[r?(0,i.jsx)("span",{className:"loading loading-spinner loading-xs"}):(0,i.jsx)(s.A,{className:"w-4 text-gray-600"}),(0,i.jsx)("span",{children:r?"Signing out...":"Sign out"})]})}},14561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={default:function(){return c},getImageProps:function(){return d}};for(var n in i)Object.defineProperty(t,n,{enumerable:!0,get:i[n]});let s=r(32429),a=r(8439),l=r(38931),o=s._(r(40853));function d(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=l.Image},16461:(e,t,r)=>{"use strict";r.d(t,{MediaNav:()=>u});var i=r(12291),n=r(80750),s=r.n(n),a=r(48515),l=r(41987),o=r(67504),d=r(5474);let c=[{href:"/",label:"Analyze"},{href:"/media-site/pricing",label:"Pricing"}];function u({isAuthed:e=!1,savedReportCount:t}){let r=(0,a.usePathname)(),[n,m]=(0,l.useState)(!1),h=[...c,...e?[{href:"/media-site/account",label:"Account"}]:[]],p=e=>!!r&&("/"===e?"/"===r||"/media-site"===r:r.startsWith(e)),g=void 0!==t&&t>0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("nav",{className:"hidden sm:flex items-center gap-0.5","aria-label":"Main navigation",children:[h.map(e=>(0,i.jsxs)(s(),{href:e.href,className:`relative px-3 py-2 text-sm transition-colors duration-150 ${p(e.href)?"text-violet-700 font-medium":"text-gray-500 hover:text-gray-900"}`,children:[e.label,(0,i.jsx)("span",{className:`absolute bottom-0 left-1 right-1 h-0.5 rounded-full transition-all duration-200 ${p(e.href)?"bg-violet-600 opacity-100":"bg-transparent opacity-0"}`})]},e.href)),g&&(0,i.jsxs)(s(),{href:"/app/media/report",className:"relative ml-1 px-2.5 py-1.5 text-sm text-gray-500 hover:text-gray-900 transition-colors duration-150 flex items-center gap-1.5","aria-label":`${t} saved reports`,children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})}),(0,i.jsx)("span",{className:"inline-flex items-center justify-center min-w-[1.125rem] h-[1.125rem] px-1 text-[10px] font-bold leading-none text-white bg-violet-500 rounded-full",children:t>99?"99+":t})]})]}),(0,i.jsx)("button",{type:"button",className:"sm:hidden p-2 text-gray-600 hover:text-gray-900 transition-colors duration-150",onClick:()=>m(!n),"aria-expanded":n,"aria-label":n?"Close menu":"Open menu",children:(0,i.jsx)("span",{className:"transition-transform duration-200 block",children:n?(0,i.jsx)(o.A,{className:"w-5 h-5"}):(0,i.jsx)(d.A,{className:"w-5 h-5"})})}),(0,i.jsx)("div",{className:`sm:hidden absolute top-full left-0 right-0 bg-white border-b border-gray-200 shadow-sm z-50 transition-all duration-200 ease-in-out overflow-hidden ${n?"max-h-60 opacity-100":"max-h-0 opacity-0 pointer-events-none"}`,children:(0,i.jsxs)("div",{className:"px-4 py-2 space-y-1",children:[h.map(e=>(0,i.jsx)(s(),{href:e.href,onClick:()=>m(!1),className:`block px-3 py-2 text-sm rounded-md transition-colors duration-150 ${p(e.href)?"text-violet-700 bg-violet-50 font-medium border-l-2 border-violet-500":"text-gray-600 hover:text-gray-900 hover:bg-gray-50"}`,children:e.label},e.href)),g&&(0,i.jsxs)(s(),{href:"/app/media/report",onClick:()=>m(!1),className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-50 rounded-md transition-colors duration-150",children:[(0,i.jsx)("span",{children:"Reports"}),(0,i.jsx)("span",{className:"inline-flex items-center justify-center min-w-[1.125rem] h-[1.125rem] px-1 text-[10px] font-bold leading-none text-white bg-violet-500 rounded-full",children:t>99?"99+":t})]})]})})]})}},25227:(e,t,r)=>{"use strict";function i(){return window.location.origin}r.d(t,{$_:()=>i,M1:()=>h,oS:()=>d,L3:()=>c,_O:()=>o,m8:()=>s,D6:()=>l,vI:()=>a,qn:()=>b,ph:()=>x,IU:()=>w,cL:()=>C,jF:()=>y,gr:()=>n,LO:()=>u,ds:()=>g,az:()=>v,DZ:()=>f,ob:()=>p,U:()=>j,y2:()=>m}),r(83109),r(64905);let n=e=>`/l/${e.slug||e.id}`,s=e=>`/app/list/edit/${e.id}`,a=e=>`/app/list/edit/${e.id}/visual`,l=e=>`/app/list/edit/${e.id}
1/share`,o=e=>`/app/list/edit/${e.id}/configuration`,d=e=>`/app/list/edit/${e.id}/analytics`,c=e=>`/app/list/edit/${e.id}/collaborators`,u=(e,t)=>{let r=`/share/l/${e.slug||e.id}`;return t.customDomain?`https://${t.customDomain}${r}`:i()+r},m=e=>{let t=`/u/${e.slug||e.id}`;return e.customDomain?`https://${e.customDomain}${t}`:i()+t},h=e=>e?.homepageUrl||`/u/${e?.slug||e?.id}`||"/",p=(e,t)=>u(e,t)+"/subscribe",g=(e,t)=>u(e,t)+"/subscribe/embed",f=(e,t)=>u(e,t)+"/subscribe-mini",v=(e,t)=>u(e,t)+"/subscribe-mini/embed",x=(e,t)=>u(e,t)+"/add",b=(e,t)=>u(e,t)+"/add/embed",y=(e,t)=>u(e,t)+"/embed",w=(e,t,r)=>u(e,r)+"/detail"+`/${t.slug||t.id}/embed`,j=(e,t,r)=>u(e,r)+"/visual"+`/${t.id}`,C=(e,t,r)=>u(e,r)+"/detail"+`/${t.slug||t.id}`},26928:(e,t,r)=>{"use strict";r.d(t,{useIsFetching:()=>a});var i=r(41987),n=r(28804),s=r(66725);function a(e,t){let r=(0,s.useQueryClient)(t),a=r.getQueryCache();return i.useSyncExternalStore(i.useCallback(e=>a.subscribe(n.jG.batchCalls(e)),[a]),()=>r.isFetching(e),()=>r.isFetching(e))}},32680:(e,t,r)=>{"use strict";r.d(t,{Ty:()=>h,id:()=>u,oB:()=>m});var i=r(63621),n=r(8079),s=r(87039),a=r.n(s),l=r(56585),o=r(25227);let d=l.Ay,c=(0,i.$H)({enabled:e=>"down"===e.direction&&e.result instanceof Error}),u=(0,n.pY)({overrides:{useMutation:{async onSuccess(e){await e.originalFn(),await e.queryClient.invalidateQueries()}}}}),m=a()(()=>u.createClient({links:[c,(0,i.fu)({url:`${(0,o.$_)()}/api/trpc`,transformer:d})]})),h=a()(()=>(0,i.XT)({links:[c,(0,i.fu)({url:`${(0,o.$_)()}/api/trpc`,transformer:d})]}))},40497:(e,t,r)=>{"use strict";r.d(t,{AppProviders:()=>p});var i=r(12291),n=r(66725),s=r(32680),a=r(41987),l=r(93345);let o=a.createContext({isReady:!1}),d=({children:e})=>{let{data:t,isPending:r}=(0,l.wV)(),n=!!t?.user&&!r,a=s.id.getProfilePrivate.useQuery(void 0,{enabled:n});return(0,i.jsx)(o.Provider,{value:{profile:a.data,isReady:!a.isLoading&&n},children:e})};var c=r(83615),u=r(47510),m=r(48515),h=r(43795);let p=({children:e})=>{let{queryClient:t,trpcClient:r}=(()=>{(0,m.useRouter)();let[e]=(0,a.useState)(()=>new c.E({defaultOptions:{queries:{retry:!1}},queryCache:new u.$({onError:e=>{console.log(e.name,e.message)}})})),[t]=(0,a.useState)(()=>(0,s.oB)());return{queryClient:e,trpcClient:t}})();return(0,i.jsx)(s.id.Provider,{client:r,queryClient:t,children:(0,i.jsx)(n.QueryClientProvider,{client:t,children:(0,i.jsx)(h.Q,{children:(0,i.jsx)(d,{children:e})})})})}},43490:(e,t,r)=>{"use strict";r.d(t,{default:()=>n.a});var i=r(14561),n=r.n(i)},43795:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l,s:()=>o});var i=r(12291),n=r(41987),s=r(80414);let a=(0,n.createContext)(void 0),l=({children:e})=>{let[t,l]=(0,n.useState)(!1),[o,d]=(0,n.useState)(null),c=n.useRef(!1),u=(0,n.useCallback)(()=>{window.Plotly&&window.createPlotlyComponent&&(o||c.current||(d(e=>e||window.createPlotlyComponent.default(window.Plotly)),c.current=!0),l(!0))},[]);return(0,n.useEffect)(()=>{window.React||(window.React=n),window.ReactDOM||(window.ReactDOM=r(11666)),u()},[u]),(0,i.jsxs)(a.Provider,{value:{isLoaded:t,PlotComponent:o},children:[!t&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.default,{src:"https://cdn.plot.ly/plotly-2.35.2.min.js",strategy:"afterInteractive",onLoad:u}),(0,i.jsx)(s.default,{src:"/js/[email protected]/create-plotly-component.min.js",strategy:"afterInteractive",onLoad:u})]}),e]})},o=()=>{let e=(0,n.useContext)(a);if(void 0===e)throw Error("usePlotly must be used within a PlotlyProvider");return e}},45543:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var i=r(12291),n=r(26928),s=r(43490);let a=()=>{let e=(0,n.useIsFetching)();return(0,i.jsx)("div",{className:"fixed z-10 bottom-4 right-4",children:e?(0,i.jsx)(s.default,{width:64,height:64,className:"rounded-full",src:"/img/otterCircle.gif",alt:"loading",priority:!1,unoptimized:!0}):null})}},51260:()=>{},67504:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(41987);let n=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})},83109:(e,t,r)=>{"use strict";r.d(t,{C1:()=>n,Fb:()=>a,Gm:()=>o,xz:()=>l});var i=r(64905);let n=i.env.BASE_URL||"https://sens.center",s=i.env.NEXT_PUBLIC_IS_LOCAL||i.env.IS_LOCAL,a=e=>e.s3Key&&e.isPublic?e.s3Key.startsWith("imageFile/")||"imageFile"===e.category||"audioFile"===e.category||"rteImage"===e.category||"visualizationPreview"===e.category||"mediaReportFile"===e.category?l(e.s3Key):(console.error("Asset is public but not a known file type; not using CDN, fix this",e),null):null,l=e=>{if(!s&&n)return`${n}/${e}`;{let t="https://prod-sens-pub-assets.s3.us-west-2.amazonaws.com";return t?new URL(e,t).toString():(console.error("No public bucket URL found in environment variables"),null)}},o=({searchParams:e,pathname:t})=>{let r=new URL(t,n);return e&&Object.entries(e).forEach(([e,t])=>{r.searchParams.set(e,t)}),r.toString()}},83408:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(41987);let n=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"}))})},93345:(e,t,r)=>{"use strict";r.d(t,{wV:()=>l,yK:()=>a});var i=r(81210),n=r(9586),s=r(1480);let a=(0,i.M)({plugins:[(0,n.KM)(),(0,s.Zn)()]}),{useSession:l,signIn:o,signOut:d}=a},98220:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,80750,23)),Promise.resolve().then(r.bind(r,40497)),Promise.resolve().then(r.bind(r,7493)),Promise.resolve().then(r.bind(r,45543)),Promise.resolve().then(r.bind(r,16461)),Promise.resolve().then(r.t.bind(r,51260,23))}},e=>{e.O(0,[913,750,1829,8931,1630,5050,3669,2714,7358],()=>e(e.s=98220)),_N_E=e.O()}]);

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.