{"version":3,"file":"shared-lib.D2Y4feje.mjs","names":["React.useState","p","fonts","css","className","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/fLsWEBZX2gXz75aP04Ub/6hXaCV2tWKel7bkhQlU5/Time.js","https:/framerusercontent.com/modules/aK5vL9oUbs3zSMyneoGp/Cc6sxwpRzTzQhQ9sx9wZ/F5vuhbwZo.js","https:/framerusercontent.com/modules/99F0EnxUcEeqG22e2pJ1/pH3OzR9Qc97bJPNnQ38W/Wy2Ji_Fuu.js","https:/framerusercontent.com/modules/jTGRTixm4mJRgqR0EQev/qFmIjkYzq4XwUaMTYgs5/siteMetadata.js","https:/framerusercontent.com/modules/A07vRVogUUe6L0E0pFba/SmUuoqPWr9h6Rd423Ku0/augiA20Il.js","https:/framerusercontent.com/modules/m6FxSJtuKyqo64NX8uIs/wWJCrbEJaZlLQiEw8bV5/UqpelL435.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function useClock(tz,locale,showSeconds){const[now,setNow]=React.useState(new Date);React.useEffect(()=>{// tick every second; use visibility handler to avoid drift\nlet id=window.setInterval(()=>setNow(new Date),1e3);const vis=()=>{if(!document.hidden)setNow(new Date);};document.addEventListener(\"visibilitychange\",vis);return()=>{window.clearInterval(id);document.removeEventListener(\"visibilitychange\",vis);};},[]);const time=new Intl.DateTimeFormat(locale||\"sv-SE\",{timeZone:tz,hour:\"2-digit\",minute:\"2-digit\",second:showSeconds?\"2-digit\":undefined,hour12:false}).format(now);return time;}export default function SwedenTime({timeZone=\"Europe/Stockholm\",locale=\"sv-SE\",showSeconds=false,showDate=false,dateStyle=\"short\",locationLabel=\"V\\xc4STER\\xc5S, SWEDEN\",onNewLine=false,fontFamily=\"Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif\",fontWeight=500,fontSizeRem=1.1,letterSpacingEm=0,lineHeight=1.1,uppercase=true,textAlign=\"left\",color=\"#111111\",tabularNums=true}){const time=useClock(timeZone,locale,showSeconds);const date=showDate?new Intl.DateTimeFormat(locale||\"sv-SE\",{timeZone:timeZone,dateStyle:dateStyle}).format(new Date):null;const label=uppercase?locationLabel.toUpperCase():locationLabel;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:onNewLine?\"start\":\"center\",justifyContent:textAlign===\"left\"?\"flex-start\":textAlign===\"right\"?\"flex-end\":\"center\",color,fontFamily,fontWeight,fontSize:`${fontSizeRem}rem`,letterSpacing:`${letterSpacingEm}em`,lineHeight,textTransform:uppercase?\"none\":\"none\",// keep digits from shifting width if the font supports it\nfontVariantNumeric:tabularNums?\"tabular-nums lining-nums\":\"normal\",textAlign,whiteSpace:\"pre-wrap\"},\"aria-label\":`Local time in ${locationLabel}`,title:`${label} ${time}${date?\" \\xb7 \"+date:\"\"}`,children:onNewLine?/*#__PURE__*/_jsxs(\"div\",{style:{textAlign},children:[/*#__PURE__*/_jsx(\"div\",{children:label}),/*#__PURE__*/_jsx(\"div\",{children:time}),date?/*#__PURE__*/_jsx(\"div\",{style:{opacity:.7},children:date}):null]}):/*#__PURE__*/_jsxs(\"div\",{style:{textAlign},children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"span\",{children:`  ${time}`}),date?/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7},children:`  \\xb7  ${date}`}):null]})});}addPropertyControls(SwedenTime,{// Data\ntimeZone:{type:ControlType.String,title:\"Time Zone\",defaultValue:\"Europe/Stockholm\",displayTextArea:false},locale:{type:ControlType.String,title:\"Locale\",defaultValue:\"sv-SE\"},showSeconds:{type:ControlType.Boolean,title:\"Show seconds\",defaultValue:false},showDate:{type:ControlType.Boolean,title:\"Show date\",defaultValue:false},dateStyle:{type:ControlType.Enum,title:\"Date style\",options:[\"short\",\"medium\",\"long\"],optionTitles:[\"Short\",\"Medium\",\"Long\"],defaultValue:\"short\",hidden:p=>!p.showDate},locationLabel:{type:ControlType.String,title:\"Label\",defaultValue:\"V\\xc4STER\\xc5S, SWEDEN\"},onNewLine:{type:ControlType.Boolean,title:\"Label on new line\",defaultValue:false},// Style\nfontFamily:{type:ControlType.String,title:\"Font family\",defaultValue:\"Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif\"},fontWeight:{type:ControlType.Number,title:\"Weight\",min:100,max:1e3,step:50,defaultValue:500},fontSizeRem:{type:ControlType.Number,title:\"Font size (rem)\",min:.6,max:6,step:.05,defaultValue:1.1},letterSpacingEm:{type:ControlType.Number,title:\"Tracking (em)\",min:-.1,max:.3,step:.005,defaultValue:0},lineHeight:{type:ControlType.Number,title:\"Line height\",min:.8,max:2,step:.05,defaultValue:1.1},uppercase:{type:ControlType.Boolean,title:\"Uppercase label\",defaultValue:true},textAlign:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#111111\"},tabularNums:{type:ControlType.Boolean,title:\"Tabular digits\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SwedenTime\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Time.map","// Generated by Framer (26c37fd)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;PP Neue Montreal Mono Regular\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"PP Neue Montreal Mono Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/Nn1UwcSET6hF81yCfWv4ZjzJw.woff2\"}]}];export const css=['.framer-4ivhb .framer-styles-preset-1cv0ek9:not(.rich-text-wrapper), .framer-4ivhb .framer-styles-preset-1cv0ek9.rich-text-wrapper p { --framer-font-family: \"PP Neue Montreal Mono Regular\", monospace; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 0.6); --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.01em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: var(--token-511d9ff9-3733-4cbd-b1fa-cab4da069c7e, #181818); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-4ivhb\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (26c37fd)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;PP Neue Montreal Mono Regular\",\"CUSTOM;PP Neue Montreal Mono Regular Italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"PP Neue Montreal Mono Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/Nn1UwcSET6hF81yCfWv4ZjzJw.woff2\"},{family:\"PP Neue Montreal Mono Regular Italic\",source:\"custom\",url:\"https://framerusercontent.com/assets/7vy6aYborGI5BFejEAUNKKtQqR8.woff2\"}]}];export const css=['.framer-6YFgv .framer-styles-preset-9yz1u4:not(.rich-text-wrapper), .framer-6YFgv .framer-styles-preset-9yz1u4.rich-text-wrapper p { --framer-font-family: \"PP Neue Montreal Mono Regular\", monospace; --framer-font-family-italic: \"PP Neue Montreal Mono Regular Italic\", monospace; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 0.75); --framer-font-style: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: var(--token-511d9ff9-3733-4cbd-b1fa-cab4da069c7e, #030303); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-6YFgv\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (336f227)\nexport default function metadata(params,activeLocale){return{description:\"A creative studio by Henrik & Sofia based in Sweden. We shape brands, campaigns and experiences through storytelling, design and technology.\",favicon:\"https://framerusercontent.com/assets/xtIt9n2pdn5iNCRNfpnIzH3NtM.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/EwZjLTxAyYdpJkqhZRGZsESXGf4.png\",title:\"HAS.WORKS – Small Studio. Big Work.\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (e0ec254)\nimport siteMetadata from\"https://framerusercontent.com/modules/jTGRTixm4mJRgqR0EQev/qFmIjkYzq4XwUaMTYgs5/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"1jzfrov\",mediaQuery:\"(min-width: 810px) and (max-width: 1439.98px)\"},{hash:\"1fbwi8x\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{dmPgWhLPL:\"manifesto-section\",hoGm_pDdp:\"about\"},robots:\"max-image-preview:large\",serializationId:\"framer-EcOaU\",socialImage:\"https://framerusercontent.com/assets/EwZjLTxAyYdpJkqhZRGZsESXGf4.png\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (e0ec254)\nimport siteMetadata from\"https://framerusercontent.com/modules/jTGRTixm4mJRgqR0EQev/qFmIjkYzq4XwUaMTYgs5/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"qay8qp\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1leblay\",mediaQuery:\"(max-width: 1199.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},framerSearch:{index:false},robots:\"noindex\",serializationId:\"framer-Bv97O\",title:siteMetadata(params,activeLocale).title||\"404\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wUAAyI,SAAS,EAAS,EAAG,EAAO,EAAY,CAAC,GAAK,CAAC,EAAI,GAAQA,EAAe,IAAI,KAAK,CACmM,OADlM,MAAoB,CACjP,IAAI,EAAG,EAAO,gBAAgB,EAAO,IAAI,KAAK,CAAC,IAAI,CAAO,MAAQ,CAAK,SAAS,QAAO,EAAO,IAAI,KAAK,EAAqD,OAAlD,SAAS,iBAAiB,mBAAmB,EAAI,KAAW,CAAC,EAAO,cAAc,EAAG,CAAC,SAAS,oBAAoB,mBAAmB,EAAI,GAAK,EAAE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