{"version":3,"file":"shared-lib.PoOPNOMS.mjs","names":["React.useState","React.useEffect","_jsxs","_jsx","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","SiteNavigation","props","open","setOpen","navFontReady","setNavFontReady","cancelled","fonts","link","path","setPath","update","linkStyle","active","href","c","links","l","v","init_UnifiedSiteNavigation","init_jsx_runtime","metadata","params","contentLocale","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/BjplqvSEBExc9NAWRBEk/wMpgOxZRFW6AbIbkykZH/UnifiedSiteNavigation.js","https:/framerusercontent.com/modules/n9XoKJM6EBuXNRDdLU14/mp7YspGb1bZCOGpgNvz5/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";const links=[{label:\"work\",href:\"/work\"},{label:\"practice\",href:\"/practice\"},{label:\"connect\",href:\"/connect\"}];export default function SiteNavigation(props){const[open,setOpen]=React.useState(false);const[navFontReady,setNavFontReady]=React.useState(false);React.useEffect(()=>{let cancelled=false;const fonts=document.fonts;if(!fonts){setNavFontReady(true);return;}Promise.all([fonts.load('500 14px \"Mona Sans\"'),fonts.load('500 21px \"Mona Sans\"')]).then(()=>fonts.ready).then(()=>{if(!cancelled)setNavFontReady(true);}).catch(()=>{if(!cancelled)setNavFontReady(true);});return()=>{cancelled=true;};},[]);React.useEffect(()=>{const link=document.querySelector('link[rel=\"icon\"][data-diptee]')||document.createElement(\"link\");link.setAttribute(\"rel\",\"icon\");link.setAttribute(\"type\",\"image/svg+xml\");link.setAttribute(\"data-diptee\",\"true\");link.setAttribute(\"href\",\"data:image/svg+xml,\"+encodeURIComponent('<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 718 651\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M464,429 451,433 437,441 422,458 414,477 411,494 411,513 414,529 418,540 426,553 436,563 450,571 468,576 494,576 507,573 519,568 536,554 543,542 546,531 509,531 506,537 496,545 489,547 474,547 465,544 455,535 451,527 449,512 546,511 548,498 545,475 535,453 526,443 518,437 510,433 496,429Z M449,485 451,476 456,467 463,461 473,457 486,457 498,462 505,470 509,481 508,487 450,487Z M314,429 301,433 287,441 272,458 264,477 261,494 261,513 264,529 268,540 276,553 286,563 300,571 318,576 344,576 357,573 369,568 386,554 393,542 396,531 359,531 356,537 346,545 339,547 324,547 315,544 305,535 301,527 299,512 396,511 398,498 395,475 385,453 376,443 368,437 360,433 346,429Z M299,485 301,476 306,467 313,461 323,457 336,457 348,462 355,470 359,481 358,487 300,487Z M184,392 183,430 158,431 158,462 183,463 183,543 186,557 193,567 205,573 251,574 251,543 228,542 224,539 222,535 222,463 251,462 251,431 222,430 222,388Z M156,326 157,361 566,361 566,326Z M334,110 334,253 372,253 372,110Z M515,115 505,110 492,107 472,108 465,110 454,116 445,125 441,133 439,134 437,125 437,110 400,110 400,297 438,297 439,229 442,231 446,239 456,248 475,255 495,255 506,252 522,242 531,231 538,217 542,202 543,168 540,152 534,136 528,127Z M468,138 480,139 490,144 497,152 503,170 503,192 500,204 495,213 490,218 476,224 464,224 452,219 445,212 441,205 438,188 439,164 442,155 445,150 454,142Z M305,58 267,58 266,134 264,133 261,126 251,116 244,112 231,108 210,108 197,112 187,118 175,131 168,145 164,159 162,177 163,198 166,212 173,229 177,235 191,248 209,255 224,256 236,254 254,245 266,229 268,231 269,253 306,253Z M229,139 242,139 255,145 262,153 267,168 267,195 265,204 261,212 254,219 243,224 227,224 217,220 209,212 203,197 202,173 205,160 209,152 218,143Z M339,60 333,68 332,75 334,83 340,89 347,92 359,92 367,89 371,85 374,78 374,70 369,61 357,56 349,56Z\"/></svg>'));if(!link.parentNode)document.head.appendChild(link);},[]);const[path,setPath]=React.useState(\"/\");React.useEffect(()=>{const update=()=>{setPath(window.location.pathname);setOpen(false);};update();window.addEventListener(\"popstate\",update);return()=>window.removeEventListener(\"popstate\",update);},[]);const linkStyle={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",whiteSpace:\"nowrap\",fontFamily:\"Mona Sans, Arial, sans-serif\",fontSize:14,fontWeight:500,fontStyle:\"normal\",lineHeight:\"18px\",letterSpacing:0,textTransform:\"none\",textDecoration:\"none\",height:36,minHeight:36,flexShrink:0,transition:\"none\",transform:\"none\",visibility:navFontReady?\"visible\":\"hidden\"};const active=href=>href===\"/work\"?path.includes(\"/work\")||path.includes(\"/design-drafts\"):path===href||path.endsWith(href);return /*#__PURE__*/_jsxs(\"header\",{className:\"dt-site-nav\",\"data-font-ready\":navFontReady?\"true\":\"false\",style:{...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n .dt-site-nav{font-family:\"Mona Sans\",Arial,sans-serif!important;width:100%;height:66px;min-height:66px;max-height:66px;flex:none;background:#fff;position:relative;z-index:1000;color:#252623;overflow:visible}\n .dt-site-nav *{box-sizing:border-box}\n .dt-site-nav__inner{width:100%;max-width:1096px;margin:0 auto;height:100%;padding:0 28px;display:flex;align-items:center;justify-content:space-between}\n .dt-site-nav__brand{display:inline-flex;align-items:center;height:27px;color:inherit;text-decoration:none;transition:opacity .2s ease;flex-shrink:0}.dt-site-nav__brand-svg{width:80px;height:24px;display:block;overflow:visible}\n .dt-site-nav__links{display:flex;align-items:center;gap:27px;height:100%;flex-shrink:0}\n .dt-site-nav__links a,.dt-site-nav__drawer a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;vertical-align:middle;font-family:\"Mona Sans\",Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:18px!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none;color:#252623;font-synthesis:none;transition:none!important}\n .dt-site-nav a:hover,.dt-site-nav a:focus-visible{opacity:.82}\n .dt-site-nav__links a:active,.dt-site-nav__drawer a:active{opacity:1;outline-offset:3px}\n .dt-site-nav__links a:focus-visible,.dt-site-nav__drawer a:focus-visible{outline:2px solid #252623;outline-offset:3px}\n .dt-site-nav__links a:is(:link,:visited,:hover,:active,:focus,:focus-visible,[aria-current=\"page\"]),.dt-site-nav__drawer a:is(:link,:visited,:hover,:active,:focus,:focus-visible,[aria-current=\"page\"]){font-family:\"Mona Sans\",Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;font-style:normal!important;line-height:18px!important;letter-spacing:0!important;font-stretch:normal!important;transform:none!important;scale:1!important;animation:none!important;text-transform:none!important}\n .dt-site-nav__links a[aria-current=\"page\"],.dt-site-nav__drawer a[aria-current=\"page\"]{color:#888b85}\n .dt-site-nav[data-font-ready=\"false\"] .dt-site-nav__links,.dt-site-nav[data-font-ready=\"false\"] .dt-site-nav__drawer{visibility:hidden}\n .dt-site-nav__links a:nth-child(1){width:36px}.dt-site-nav__links a:nth-child(2){width:53px}.dt-site-nav__links a:nth-child(3){width:53px}\n .dt-site-nav__toggle{display:none;width:36px;height:36px;background:none;border:0;cursor:pointer;padding:8px;align-items:center;justify-content:center}\n .dt-site-nav__toggle span{position:absolute;width:21px;height:1.5px;background:#252623;transition:transform .22s ease,opacity .22s ease}\n .dt-site-nav__toggle span:first-child{transform:translateY(-4px)}\n .dt-site-nav__toggle span:last-child{transform:translateY(4px)}\n .dt-site-nav__toggle[aria-expanded=\"true\"] span:first-child{transform:rotate(45deg)}\n .dt-site-nav__toggle[aria-expanded=\"true\"] span:last-child{transform:rotate(-45deg)}\n .dt-site-nav__drawer{display:none}\n @media(max-width:1199px){.dt-site-nav__inner{padding:0 24px}}\n @media(max-width:699px){\n .dt-site-nav{height:66px;min-height:66px;max-height:66px}\n .dt-site-nav__inner{padding:0 20px}\n .dt-site-nav__brand{font-size:23px}\n .dt-site-nav__links{display:none}\n .dt-site-nav__toggle{display:flex;position:relative}\n .dt-site-nav__drawer{display:flex;position:absolute;top:66px;left:0;right:0;background:#fff;padding:20px 20px 28px;flex-direction:column;align-items:flex-start;gap:23px;box-shadow:0 16px 28px rgba(0,0,0,.055);border-top:1px solid #eeeee9}\n .dt-site-nav__drawer a{font-size:21px!important;line-height:1.25!important;font-weight:500!important;letter-spacing:-.025em!important}\n .dt-site-nav__drawer a:is(:link,:visited,:hover,:active,:focus,:focus-visible,[aria-current=\"page\"]){font-size:21px!important;line-height:1.25!important;letter-spacing:-.025em!important}\n }\n @media(prefers-reduced-motion:reduce){.dt-site-nav *{transition:none!important}}\n `}),/*#__PURE__*/_jsxs(\"div\",{className:\"dt-site-nav__inner\",children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",className:\"dt-site-nav__brand\",\"aria-label\":\"dip-tee home\",children:/*#__PURE__*/_jsx(\"svg\",{className:\"dt-site-nav__brand-svg\",xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"98 72 1566 427\",\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{fill:\"currentColor\",fillRule:\"evenodd\",d:\"M808,264 808,322 962,321 962,264Z M399,166 399,419 467,419 467,166Z M1514,164 1489,172 1466,186 1446,207 1433,230 1425,255 1421,289 1422,315 1427,340 1433,357 1447,381 1462,397 1481,410 1504,419 1533,424 1558,424 1583,420 1601,414 1615,407 1628,398 1642,384 1654,364 1658,352 1659,343 1594,343 1588,355 1581,362 1571,368 1555,372 1531,371 1515,365 1508,360 1500,351 1491,331 1489,309 1661,308 1663,285 1662,268 1658,246 1652,228 1640,206 1626,190 1607,176 1585,167 1567,163 1528,162Z M1489,263 1494,243 1502,230 1511,222 1520,217 1537,213 1549,213 1560,215 1578,225 1585,233 1591,244 1594,258 1593,265 1490,265Z M1250,164 1225,172 1202,186 1182,207 1169,230 1161,255 1157,289 1158,315 1163,340 1169,357 1183,381 1198,397 1217,410 1240,419 1269,424 1294,424 1319,420 1337,414 1351,407 1364,398 1378,384 1390,364 1394,352 1395,343 1330,343 1324,355 1317,362 1307,368 1291,372 1267,371 1251,365 1244,360 1236,351 1227,331 1225,309 1397,308 1399,285 1398,268 1394,246 1388,228 1376,206 1362,190 1343,176 1321,167 1303,163 1264,162Z M1225,263 1230,243 1238,230 1247,222 1256,217 1273,213 1285,213 1296,215 1314,225 1321,233 1327,244 1330,258 1329,265 1226,265Z M718,175 704,168 680,162 655,162 643,164 628,169 610,180 598,192 590,207 588,209 585,209 582,166 517,166 517,498 585,498 586,377 590,379 598,394 617,411 637,420 657,424 685,423 706,417 718,411 729,403 741,391 749,380 761,355 769,321 770,275 768,258 759,225 750,207 743,197 728,182Z M630,218 654,218 662,220 675,227 685,237 693,251 699,276 698,316 694,331 689,342 675,358 665,364 651,368 626,367 609,359 602,353 595,344 590,334 586,319 585,279 587,261 591,249 598,237 607,228 619,221Z M1021,97 1021,165 975,167 975,221 1021,223 1021,369 1026,389 1030,397 1039,407 1051,414 1060,417 1071,419 1141,419 1141,364 1101,362 1097,360 1090,351 1090,223 1141,221 1141,167 1090,165 1090,91Z M351,75 282,76 281,209 278,208 274,198 269,191 254,177 237,168 213,162 188,162 161,169 151,174 136,185 118,207 109,225 104,240 99,265 98,311 101,333 108,358 117,377 127,391 139,403 154,413 172,420 186,423 215,423 233,419 245,414 260,404 271,392 276,384 278,377 282,376 284,385 286,419 351,419Z M226,217 243,219 253,223 263,230 273,242 279,255 282,270 282,315 279,330 274,342 260,358 244,366 232,368 219,368 208,366 198,362 182,348 177,340 172,327 169,313 168,282 172,259 183,237 192,228 204,221Z M408,79 400,88 397,97 397,112 400,120 407,128 421,135 441,136 454,132 465,123 470,112 470,97 467,88 459,79 452,75 441,72 425,72 415,75Z\"})})}),/*#__PURE__*/_jsx(\"nav\",{className:\"dt-site-nav__links\",\"aria-label\":\"Main navigation\",children:links.map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,style:{...linkStyle,width:l.href===\"/work\"?36:53,color:active(l.href)?\"#888b85\":\"#252623\"},\"aria-current\":active(l.href)?\"page\":undefined,children:l.label},l.href))}),/*#__PURE__*/_jsxs(\"button\",{className:\"dt-site-nav__toggle\",type:\"button\",\"aria-label\":open?\"Close menu\":\"Open menu\",\"aria-expanded\":open,\"aria-controls\":\"dt-nav-drawer\",onClick:()=>setOpen(v=>!v),children:[/*#__PURE__*/_jsx(\"span\",{}),/*#__PURE__*/_jsx(\"span\",{})]})]}),open&&/*#__PURE__*/_jsx(\"nav\",{id:\"dt-nav-drawer\",className:\"dt-site-nav__drawer\",\"aria-label\":\"Mobile navigation\",children:links.map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,style:{...linkStyle,fontSize:21,lineHeight:\"1.25\",height:\"auto\",letterSpacing:\"-.025em\",width:\"auto\",color:active(l.href)?\"#888b85\":\"#252623\"},onClick:()=>setOpen(false),\"aria-current\":active(l.href)?\"page\":undefined,children:l.label},l.href))})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SiteNavigation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UnifiedSiteNavigation.map","// Generated by Framer (af36fe6)\nexport default function metadata(params,contentLocale){return{description:\"dip-tee is the independent practice of brand and creative leader Diptee Deshmukh, specializing in brand strategy, identity, storytelling, systems and experiences.\",robots:\"max-image-preview:large\",title:\"dip-tee | Brand Strategy, Design & Creative Leadership\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,oIAAqM,SAAwBW,EAAeC,EAAM,CAAC,GAAK,CAACC,EAAKC,GAASd,EAAe,EAAK,EAAO,CAACe,EAAaC,GAAiBhB,EAAe,EAAK,EAAEC,MAAoB,CAAC,IAAIgB,EAAU,GAAYC,EAAM,SAAS,MAAM,GAAG,CAACA,EAAOF,EAAgB,EAAI,OAAwN,OAA9M,QAAQ,IAAI,CAACE,EAAM,KAAK,sBAAsB,EAAEA,EAAM,KAAK,sBAAsB,CAAC,CAAC,CAAC,CAAC,SAASA,EAAM,KAAK,CAAC,CAAC,S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