PageSourceSearch

https://framerate.tv/assets/PortfolioThemes-8R9bqu7Z.js

js framerate.tv collected 2026-10-03 23:48:58 UTC 5,715 bytes, 1 lines download raw bytes

1import{r as a,j as t}from"./react-vendor-CVmtogFT.js";import{B as m,b0 as O}from"./App-DCiadN8R.js";import{P as w,a as R,b as S,d as k,g as A}from"./registry-P0gkZ9o3.js";import{t as N}from"./contract-DG3ZGayZ.js";import{P,F as E,a as C}from"./PortfolioRenderer-bzuMNsHT.js";import"./query-vendor-BEmtFW0P.js";import"./supabase-vendor-C66qiVAE.js";import"./analytics-I97sAqBq.js";import"./attribution-ClhYBogN.js";import"./gaIdentity-D0sb-GMp.js";import"./index-BcMbUYiS.js";import"./playerjs-bridge-BnC-k6jE.js";import"./loadMuxPlayer-CGeQ8LdM.js";import"./versionCheck-n8U3ZopQ.js";import"./RouteLoadErrorBoundary-BPIG54ch.js";const I="/assets/demo-coast-DgLHkBXY.jpg",F="/assets/demo-fabric-DAjIxO-N.jpg",L="/assets/demo-dancer-Np8xUCVC.jpg",D="/assets/demo-night-drive-D8IXpmER.jpg",M="/assets/demo-shapes-CBto-MLf.jpg",U="/assets/demo-craft-Ryqar-AE.jpg",z=[{id:"pf-demo-film",name:"Film",slug:"film"},{id:"pf-demo-motion",name:"Motion",slug:"motion"},{id:"pf-demo-direction",name:"Direction",slug:"direction"}],r=(i,n,p,u,c,f,o)=>({id:i,video_id:i,sort_order:0,title:n,description:p,mux_playback_id:null,thumbnail_url:u,duration:o,aspect_ratio:c,short_code:null,click_behavior:"none",project_page_slug:null,external_url:null,category_ids:f}),B=[r("pf-demo-1","Northbound","A film about movement, solitude, and the open coast.",I,"16:9",["pf-demo-film","pf-demo-direction"],94),r("pf-demo-2","Air Studies","Material experiments in motion and light.",F,"3:2",["pf-demo-motion"],48),r("pf-demo-3","Hard Light","A movement portrait shaped by architecture.",L,"2:3",["pf-demo-film","pf-demo-direction"],72),r("pf-demo-4","After Midnight","A nocturnal automotive story.",D,"16:9",["pf-demo-film"],60),r("pf-demo-5","Form / Play","A tactile identity brought to life frame by frame.",M,"1:1",["pf-demo-motion"],36),r("pf-demo-6","Made by Hand","A quiet portrait of craft and repetition.",U,"3:2",["pf-demo-film","pf-demo-direction"],83)].map((i,n)=>({...i,sort_order:n}));function q(i,n){return{site:{id:"fixture",slug:"fixture",theme_key:i,theme_settings:n,site_name:"North Standard",tagline:"Films and moving images shaped by people, place, and a restless sense of possibility.",logo_url:null,avatar_url:null,footer_text:"North Standard — Independent direction and motion",social_links:{instagram:"https://instagram.com",email:"[email protected]"},seo_title:"North Standard — Director & Motion Studio",seo_description:"Independent direction, film, and motion work.",grouping_mode:"filters",has_contact_form:!0},pages:[{id:"p1",kind:"work",slug:"work",title:"Work",nav_label:"Work",nav_order:0,show_in_nav:!0,study_content:w,video_id:null,seo_title:null,seo_description:null},{id:"p2",kind:"about",slug:"about",title:"About",nav_label:"About",nav_order:1,show_in_nav:!0,study_content:R,video_id:null,seo_title:null,seo_description:null},{id:"p3",kind:"contact",slug:"contact",title:"Contact",nav_label:"Contact",nav_order:2,show_in_nav:!0,study_content:S,video_id:null,seo_title:null,seo_description:null}],categories:z,items:B}}function ne(){const i=new URLSearchParams(window.location.search).get("embedded")==="1",n=new URLSearchParams(window.location.search).get("theme"),p=new URLSearchParams(window.location.search).get("font"),u=new URLSearchParams(window.location.search).get("palette"),[c,f]=a.useState(n||k[0].key),o=A(c),[l,g]=a.useState(p||o.fontPairs[0]),[d,_]=a.useState(u||o.palettes[0]),[b,x]=a.useState("/"),[h,y]=a.useState("desktop");a.useEffect(()=>{if(!i)return;const e=document.querySelector("#root > .flex > header"),s=document.querySelector("#root > .flex > main"),j=e==null?void 0:e.style.display,T=s==null?void 0:s.style.paddingTop;return e&&(e.style.display="none"),s&&(s.style.paddingTop="0"),()=>{e&&(e.style.display=j??""),s&&(s.style.paddingTop=T??"")}},[i]);const v=a.useMemo(()=>q(o.key,{version:1,fontPair:o.fontPairs.includes(l)?l:o.fontPairs[0],palette:o.palettes.includes(d)?d:o.palettes[0],options:N(o)}),[o,l,d]);return i?t.jsx(P,{data:v,path:b,navigate:x}):t.jsxs("div",{className:"min-h-screen bg-background",children:[t.jsxs("div",{className:"space-y-4 border-b border-border-strong p-4",children:[t.jsxs("div",{children:[t.jsx("h1",{className:"text-xl font-semibold",children:"Portfolio theme workbench"}),t.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Fixture data only — nothing here touches a real portfolio."})]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(m,{size:"sm",variant:h==="desktop"?"default":"outline",onClick:()=>y("desktop"),children:"Desktop"}),t.jsx(m,{size:"sm",variant:h==="mobile"?"default":"outline",onClick:()=>y("mobile"),children:"Mobile"})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:k.map(e=>t.jsx(m,{size:"sm",variant:e.key===c?"default":"outline",onClick:()=>{f(e.key),g(e.fontPairs[0]),_(e.palettes[0])},children:e.name},e.key))}),t.jsx("div",{className:"flex flex-wrap gap-2",children:E.filter(e=>
1o.fontPairs.includes(e.key)).map(e=>t.jsx(m,{size:"sm",variant:e.key===l?"default":"outline",onClick:()=>g(e.key),children:e.label},e.key))}),t.jsx("div",{className:"flex flex-wrap gap-2",children:C.filter(e=>o.palettes.includes(e.key)).map(e=>t.jsx(m,{size:"sm",variant:e.key===d?"default":"outline",onClick:()=>_(e.key),children:e.label},e.key))})]}),h==="mobile"?t.jsx("iframe",{title:`${o.name} mobile preview`,src:`/admin/portfolio-themes?embedded=1&theme=${encodeURIComponent(o.key)}&font=${encodeURIComponent(l)}&palette=${encodeURIComponent(d)}`,className:"mx-auto block h-[844px] w-[390px] max-w-full border border-border-strong bg-background"}):t.jsx("div",{className:O("border border-border-strong"),children:t.jsx(P,{data:v,path:b,navigate:x})})]})}export{ne 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.