{
  "version": 3,
  "sources": ["/cdn/shop/t/7/assets/router.js?kontrol=1722"],
  "sourcesContent": ["/* Keep browser navigation and native Shopify product URLs in agreement. */\nwindow.GB_UPDATE_METADATA=(productOverride=null,preserveText=false)=>{\n const p=productOverride||(page.startsWith('product-')?GB_MODEL.getProduct(page.slice(8)):null);\n const base=GB_SHOPIFY.primaryUrl||location.origin;\n const canonical=new URL(p?.productRoute||location.pathname,base);canonical.search='';canonical.hash='';\n const set=(selector,key,value)=>{const node=document.querySelector(selector);if(node&&value)node.setAttribute(key,value);};\n set('link[rel=\"canonical\"]','href',canonical.href);\n if(!preserveText){document.title=(p?GB_I18N.t(p.title):routes[page][0])+' | GrandBrothers';const info=window.GB_TURKEY_PAGES?.[page]||window.GB_INFORMATION?.[page];const description=p?GB_I18N.t(p.description):GB_I18N.t(info?.description||'GrandBrothers ki\u015Fiye \u00F6zel 3D kristal hediyeler. L ve XXL se\u00E7iminde ayn\u0131 foto\u011Frafla 3D anahtarl\u0131k hediye.');set('meta[name=\"description\"]','content',description);}\n set('meta[property=\"og:url\"]','content',canonical.href);\n set('meta[property=\"og:title\"]','content',document.title);\n set('meta[property=\"og:description\"]','content',document.querySelector('meta[name=\"description\"]')?.getAttribute('content'));\n set('meta[property=\"og:type\"]','content',p?'product':'website');\n const schema=p?window.GB_PRODUCT_SCHEMAS?.[p.id]:null;\n let node=document.querySelector('#gb-product-schema');\n if(schema){if(!node){node=document.createElement('script');node.id='gb-product-schema';node.type='application/ld+json';document.head.append(node);}node.textContent=JSON.stringify(schema);}\n else node?.remove();\n const image=schema?(Array.isArray(schema.image)?schema.image[0]:schema.image):GB_ASSET('hero.jpg');\n if(typeof image==='string'&&image)set('meta[property=\"og:image\"]','content',new URL(image,base).href);\n};\nfunction navigateGB(url){const target=new URL(url,location.origin);document.querySelector('#mini-cart')?.close();const perform=()=>{history.pushState({},'',target.pathname+target.search+target.hash);renderGBRoute();};if(location.pathname.replace(/\\/$/,'')==='/checkout'&&typeof CheckoutState!=='undefined'&&CheckoutState.dirty&&target.pathname!==location.pathname){const d=document.querySelector('#leave-checkout');d.showModal();document.querySelector('#leave-checkout-now').onclick=()=>{d.close();perform()};return}perform()}\nfunction renderGBRoute(){window.GB_DISPOSE_CONFIGURATOR?.();window.GB_DISPOSE_CONFIGURATOR=null;path=location.pathname.replace(/\\/$/,'')||'/';page=Object.keys(routes).find(k=>(routes[k][1].replace(/\\/$/,'')||'/')===path)||GB_FALLBACK_PAGE(path);document.body.classList.remove('product-page');document.querySelector('#main').innerHTML=content();document.title=routes[page][0]+' | GrandBrothers';let robots=document.querySelector('meta[name=\"robots\"]');if(!robots){robots=document.createElement('meta');robots.name='robots';document.head.append(robots)}robots.content=['cart','checkout','design-approval','order-status'].includes(page)?'noindex, nofollow':'index, follow';window.GB_UPDATE_METADATA();document.querySelector('#main-nav').classList.remove('open');document.querySelector('#menu-toggle').setAttribute('aria-expanded','false');if(page==='shop')initShop();if(page.startsWith('product-'))initConfigurator(page.slice(8));if(page==='checkout')location.assign(GB_SHOPIFY.root+'checkout');GB_SHOPIFY_AFTER_RENDER();if(page==='design-approval'||page==='order-status')GB_CUSTOMER_VIEW(page==='design-approval'?'approval':'order');refreshCartUI();window.scrollTo(0,0);if(location.hash){const node=document.getElementById(location.hash.slice(1));node?.scrollIntoView()}}\nfunction initRouter(){window.GB_UPDATE_METADATA(null,true);document.body.insertAdjacentHTML('beforeend','<dialog id=\"leave-checkout\"><h2>Your checkout information has not been submitted.</h2><p>You can leave this page. Your information is only held in this open tab and can be cleared with Clear Checkout.</p><div class=\"dialog-buttons\"><button class=\"button outline\" id=\"stay-checkout\">Stay Here</button><button class=\"button gold\" id=\"leave-checkout-now\">Leave Checkout</button></div></dialog>');document.querySelector('#stay-checkout').onclick=()=>document.querySelector('#leave-checkout').close();document.addEventListener('click',e=>{const a=e.target.closest('a');if(!a||a.target||a.hasAttribute('download')||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)return;const u=new URL(a.href,location.origin);if(u.origin!==location.origin)return;if(!Object.values(routes).some(r=>r[1].replace(/\\/$/,'')===u.pathname.replace(/\\/$/,'')))return;e.preventDefault();navigateGB(u.href)});window.addEventListener('popstate',()=>{if(typeof CheckoutState!=='undefined'&&CheckoutState.dirty)announceBag('Your checkout information has not been submitted.');renderGBRoute()});window.addEventListener('beforeunload',e=>{if(typeof CheckoutState!=='undefined'&&CheckoutState.dirty){e.preventDefault();e.returnValue='Your checkout information has not been submitted.'}})}\n\n\n/* === GA4 \u00F6l\u00E7\u00FCm\u00FC i\u00E7in ek, s\u00FCr\u00FCm 2 (9 Ekim 2026) ===\n   Tema i\u00E7i sayfa ge\u00E7i\u015Flerini (tam y\u00FCkleme olmadan) Shopify'a bildirir.\n   Mevcut koda dokunmaz; yaln\u0131zca renderGBRoute'u sarar. */\n(function(){\nvar lastPath=location.pathname+location.search;\nvar lastUrl=location.href;\nvar original=window.renderGBRoute;\nif(typeof original!=='function')return;\nfunction findProduct(){\nvar list=window.GB_PRODUCTS;if(!list)return null;\nvar m=location.pathname.match(/\\/(?:products|pages)\\/([^\\/?#]+)/);\nif(m){for(var k in list){var c=list[k];if(c&&c.handle===m[1])return c;}}\ntry{var current=typeof page==='string'?page:'';if(current.indexOf('product-')===0){var slug=current.slice(8);var model=typeof GB_MODEL!=='undefined'&&GB_MODEL.getProduct?GB_MODEL.getProduct(slug):null;var hit=list[(model&&model.id)||slug]||list[slug];if(hit&&hit.id)return hit;}}catch(e){}\nreturn null;\n}\nwindow.renderGBRoute=function(){\noriginal.apply(this,arguments);\ntry{\nif(document.title==='GrandBrothers | GrandBrothers'){document.title='Foto\u011Frafl\u0131 3D Kristal Hediye | GrandBrothers';var og=document.querySelector('meta[property=\"og:title\"]');if(og)og.setAttribute('content',document.title);}\nvar nowPath=location.pathname+location.search;\nif(nowPath===lastPath)return;\nvar previous=lastUrl;lastPath=nowPath;lastUrl=location.href;\nif(typeof page==='string'&&page==='checkout')return;\nvar payload={url:location.href,title:document.title,referrer:previous};\nvar sp=findProduct();\nif(sp&&sp.id){payload.product_id=String(sp.id);payload.product_title=sp.title||'';payload.vendor=sp.vendor||'';payload.product_type=sp.type||'';payload.price=Number(sp.price)/100;payload.currency=(window.GB_SHOPIFY&&window.GB_SHOPIFY.currency)||'TRY';}\nif(window.Shopify&&window.Shopify.analytics&&typeof window.Shopify.analytics.publish==='function')window.Shopify.analytics.publish('gb_route_change',payload);\n}catch(e){}\n};\n})();"],
  "mappings": "AACA,OAAO,mBAAmB,CAAC,gBAAgB,KAAK,aAAa,KAAQ,CACpE,MAAM,EAAE,kBAAkB,KAAK,WAAW,UAAU,EAAE,SAAS,WAAW,KAAK,MAAM,CAAC,CAAC,EAAE,MACnF,KAAK,WAAW,YAAY,SAAS,OACrC,UAAU,IAAI,IAAI,GAAG,cAAc,SAAS,SAAS,IAAI,EAAE,UAAU,OAAO,GAAG,UAAU,KAAK,GACpG,MAAM,IAAI,CAAC,SAAS,IAAI,QAAQ,CAAC,MAAMA,MAAK,SAAS,cAAc,QAAQ,EAAKA,OAAM,OAAMA,MAAK,aAAa,IAAI,KAAK,CAAE,EAEzH,GADA,IAAI,wBAAwB,OAAO,UAAU,IAAI,EAC9C,CAAC,aAAa,CAAC,SAAS,OAAO,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,OAAO,IAAI,EAAE,CAAC,GAAG,mBAAmB,MAAM,KAAK,OAAO,kBAAkB,IAAI,GAAG,OAAO,iBAAiB,IAAI,EAAQ,YAAY,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,aAAa,oIAA0G,EAAE,IAAI,2BAA2B,UAAU,WAAW,CAAE,CAChZ,IAAI,0BAA0B,UAAU,UAAU,IAAI,EACtD,IAAI,4BAA4B,UAAU,SAAS,KAAK,EACxD,IAAI,kCAAkC,UAAU,SAAS,cAAc,0BAA0B,GAAG,aAAa,SAAS,CAAC,EAC3H,IAAI,2BAA2B,UAAU,EAAE,UAAU,SAAS,EAC9D,MAAM,OAAO,EA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