PageSourceSearch

https://diffie.ai/_next/static/chunks/app/layout-d0b7b36705797408.js

js diffie.ai collected 2026-10-05 13:37:09 UTC 12,075 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{2215:e=>{e.exports={style:{fontFamily:"'sentient', 'sentient Fallback'"},className:"__className_439791",variable:"__variable_439791"}},2576:(e,t,n)=>{"use strict";n.d(t,{Analytics:()=>c});var o=n(7620),i=n(7541),a=n(9674);let r=[25,50,75,100];function c(){let e=(0,i.usePathname)(),t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{function e(e){if(!(e.target instanceof Element))return;let t=e.target.closest("a[href]"),n=null==t?void 0:t.getAttribute("href");t&&n&&("true"===t.dataset.analyticsTracked&&n.includes("calendly.com")||(0,a.eH)(n,window.location.pathname))}return(0,a.pA)(),document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,o.useEffect)(()=>{t.current!==e&&(t.current=e,(0,a.oe)(e))},[e]),(0,o.useEffect)(()=>{let t=new Set;function n(){let n=document.documentElement,o=n.scrollHeight-n.clientHeight;if(o<=0)return;let i=Math.min(100,Math.round(window.scrollY/o*100));for(let n of r)i>=n&&!t.has(n)&&(t.add(n),(0,a.aD)(e,n))}return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[e]),null}},3210:()=>{},3375:(e,t,n)=>{"use strict";n.d(t,{AttributionCapture:()=>a});var o=n(7620),i=n(3586);function a(){return(0,o.useEffect)(()=>{(0,i.Wu)()},[]),null}},3586:(e,t,n)=>{"use strict";n.d(t,{Cl:()=>l,SK:()=>r,Wu:()=>d});let o=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function i(e){return"diffie.ai"===e||e.endsWith(".diffie.ai")}function a(){let{hostname:e,protocol:t}=window.location,n=i(e)?"; domain=.diffie.ai":"";return"; path=/; max-age=".concat(7776e3,"; SameSite=Lax").concat(n).concat("https:"===t?"; Secure":"")}function r(){var e;if("undefined"==typeof document)return null;let t=document.cookie.match(/(?:^|;\s*)diffie_attribution=([^;]*)/);return null!=(e=null==t?void 0:t[1])?e:null}function c(){var e;if("undefined"==typeof document)return null;let t=document.cookie.match(/(?:^|;\s*)diffie_anonymous_id=([^;]*)/),n=null!=(e=null==t?void 0:t[1])?e:null;return n&&o.test(n)?n:null}function l(){if("undefined"==typeof document)return null;let e=c();if(e)return e;try{return document.cookie="".concat("diffie_anonymous_id","=").concat(crypto.randomUUID()).concat(a()),c()}catch(e){return null}}function s(e){return e.slice(0,500)}let u=new Set(["token","claimtoken","claim_token","access_token","refresh_token","id_token","code","state","api_key","apikey","secret"]);function d(){if("undefined"==typeof document||(l(),r()))return;let e=new URLSearchParams(window.location.search),t=document.referrer||"",n="";if(t)try{let e=new URL(t);n=i(e.hostname)?"":e.origin}catch(e){n=""}let o={referrer:s(n),landingPage:s(function(){let e=new URLSearchParams(window.location.search);for(let t of Array.from(e.keys()))u.has(t.toLowerCase())&&e.delete(t);let t=e.toString();return window.location.pathname+(t?"?".concat(t):"")}()),utmSource:s(e.get("utm_source")||""),utmMedium:s(e.get("utm_medium")||""),utmCampaign:s(e.get("utm_campaign")||""),utmTerm:s(e.get("utm_term")||""),utmContent:s(e.get("utm_content")||"")};try{let e=encodeURIComponent(JSON.stringify(o));document.cookie="".concat("diffie_attribution","=").concat(e).concat(a())}catch(e){}}},4349:e=>{e.exports={style:{fontFamily:"'Nunito Sans', 'Nunito Sans Fallback'",fontStyle:"normal"},className:"__className_5ecaf4",variable:"__variable_5ecaf4"}},6378:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,5165,23)),Promise.resolve().then(n.t.bind(n,4349,23)),Promise.resolve().then(n.t.bind(n,2215,23)),Promise.resolve().then(n.t.bind(n,3210,23)),Promise.resolve().then(n.bind(n,2576)),Promise.resolve().then(n.bind(n,3375)),Promise.resolve().then(n.bind(n,8696))},6876:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o={init(e){!function(e){try{var t,n,o,i,a;t=window,n=document,o="clarity",n.getElementById("clarity-script")||(t[o]=t[o]||function(){(t[o].q=t[o].q||[]).push(arguments)},(i=n.createElement("script")).async=1,i.src="https://www.clarity.ms/tag/"+e+"?ref=npm",i.id="clarity-script",(a=n.getElementsByTagName("script")[0]).parentNode.insertBefore(i,a))}catch(e){return}}(e,"clarity-script")},setTag(e,t){window.clarity("set",e,t)},identify(e,t,n,o){window.clarity("identify",e,t,n,o)},consent(e=!0){window.clarity("consent",e)}
1,consentV2(e={ad_Storage:"granted",analytics_Storage:"granted"}){window.clarity("consentv2",e)},upgrade(e){window.clarity("upgrade",e)},event(e){window.clarity("event",e)}}},7541:(e,t,n)=>{"use strict";var o=n(3041);n.o(o,"usePathname")&&n.d(t,{usePathname:function(){return o.usePathname}})},8696:(e,t,n)=>{"use strict";n.d(t,{CookieConsent:()=>l});var o=n(4568),i=n(7620),a=n(9664),r=n.n(a),c=n(9674);function l(){let[e,t]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{t(!(0,c.Xj)())},[]),e)?(0,o.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-[100] p-3 sm:p-4",children:(0,o.jsxs)("div",{className:"max-w-[600px] mx-auto bg-white border border-grey-30 rounded-2xl shadow-[0_4px_20px_rgba(0,0,0,0.1)] px-4 py-3 sm:px-6 sm:py-4 flex flex-col sm:flex-row items-start sm:items-center gap-3 sm:gap-4",children:[(0,o.jsxs)("p",{className:"text-[13px] sm:text-[14px] text-grey-60 leading-[1.4] flex-1",children:["We use PostHog analytics when the page loads. Accept also enables Google Analytics cookies and privacy-masked session replays; Decline stops future PostHog tracking."," ",(0,o.jsx)(r(),{href:"/privacy",className:"underline underline-offset-2 hover:text-jaguar-black",children:"Learn more"}),"."]}),(0,o.jsxs)("div",{className:"flex gap-2 flex-shrink-0 self-end sm:self-auto",children:[(0,o.jsx)("button",{onClick:function(){(0,c.eD)("declined"),(0,c.jg)(),t(!1)},className:"px-3.5 py-1.5 sm:px-4 sm:py-2 text-[13px] sm:text-[14px] text-grey-60 hover:text-jaguar-black transition-colors rounded-full border border-grey-30 hover:border-grey-60",children:"Decline"}),(0,o.jsx)("button",{onClick:function(){(0,c.eD)("accepted"),(0,c.RM)(),t(!1)},className:"px-3.5 py-1.5 sm:px-4 sm:py-2 text-[13px] sm:text-[14px] text-white bg-jaguar-black hover:bg-jaguar-black/90 transition-colors rounded-full",children:"Accept"})]})]})}):null}},9674:(e,t,n)=>{"use strict";n.d(t,{jg:()=>b,RM:()=>x,Xj:()=>h,pA:()=>k,E9:()=>F,kq:()=>j,Mi:()=>U,If:()=>W,O9:()=>C,Y:()=>T,eH:()=>E,oe:()=>N,yk:()=>R,aD:()=>D,_K:()=>q,dd:()=>$,eD:()=>g});var o=n(6876);function i(e){let t=e.toLowerCase().replace(/\.$/,"");return"diffie.ai"!==t&&!t.endsWith(".diffie.ai")}let a="y8jmfdba2h",r="phc_yFfX9X5TFU2HkokxK4qF7Hr5y478A536NXUFMyE4wz7a",c=new Set(["calculator","destination_host","form_location","link_type","location","milestone","plan"]),l=new Set(["app_opened","demo_requested","explore_form_submitted","pricing_cta_clicked"]),s=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","gclid","gbraid","wbraid"],u=!1,d=null,f=null,m=!1,p=null;function _(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];!i(window.location.hostname)&&window.gtag&&window.gtag(...t)}function g(e){"undefined"!=typeof document&&(document.cookie="".concat("cookie_consent","=").concat(e).concat(function(){let{hostname:e,protocol:t}=window.location,n="diffie.ai"===e||e.endsWith(".diffie.ai")?"; domain=.diffie.ai":"";return"; path=/; max-age=".concat(31536e3,"; SameSite=Lax").concat(n).concat("https:"===t?"; Secure":"")}()))}function h(){if("undefined"==typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)cookie_consent=([^;]*)/);if(e)return"accepted"===e[1]?"accepted":"declined";let t=null;try{t=localStorage.getItem("cookie-consent")}catch(e){t=null}if(!t)return null;let n="accepted"===t?"accepted":"declined";return g(n),n}function w(){!u&&a&&(i(window.location.hostname)||(o.A.init(a),u=!0))}let y=e=>{if(!(null==e?void 0:e.properties))return e;let t={...e.properties};for(let e of["$current_url","$initial_current_url","$session_entry_url"]){let n=t[e];if("string"==typeof n)try{let o=new URL(n),i=new URLSearchParams;for(let e of s){let t=o.searchParams.get(e);t&&i.set(e,t)}o.search=i.toString(),o.hash="",t[e]=o.toString()}catch(n){t[e]=""}}return e.properties=t,e};function v(){return d?Promise.resolve(d):!r||i(window.location.hostname)?Promise.resolve(null):(null!=f||(f=n.e(803).then(n.bind(n,9211)).then(e=>{let{default:t}=e;return"declined"===h()?(f=null,null):(t.init(r,{api_host:"https://us.i.posthog.com",defaults:"2026-05-30",capture_pageview:!1,capture_pageleave:!1,capture_heatmaps:!1,disable_capture_url_hashes:!0,disable_session_recording:!0,cross_subdomain_cookie:!0,opt_out_persistence_by_default:!0,autocapture:{element_attribute_ignorelist:["href","src","value"]},before_send:y}),d=t,t)})),f)}function x(){_("consent","update",{analytics_storage:"granted"});let e=u;w(),u&&(o.A.consentV2({ad_Storage:"denied",analytics_Storage:"granted"}),o.A.setTag("acquisition_source",L()),o.A.setTag("page_type",A(window.location.pathname)),o.A.setTag("visited_path",window.location.pathname),!e&&m&&o.A.event("page_view")),v().then(e=>{e&&"accepted"===h()&&e.has_opted_out_capturing()&&e.opt_in_capturing()})}function b(){_("consent","update",{analytics_storage:"denied"}),u&&o.A.consentV2({ad_Storage:"denied",analytics_Storage:"denied"}),d&&d.opt_out_capturing()}function k(){"accepted"===h()?x():"declined"!==h()&&v()}function S(e,t){_("event",e,t),function(e,t){if("accepted"===h()&&(w(),u)){for(let[e,n]of Object.entries(null!=t?t:{}))c.has(e)&&o.A.setTag(e,String(n).slice(0,128));o.A.event(e),l.has(e)&&o.A.upgrade(e)}}(e,t),"declined"!==h()&&v().then(n=>
1{n&&"declined"!==h()&&function(e,t,n){if("page_view"===t)return e.capture("$pageview",{...n,$current_url:null==n?void 0:n.page_location,$pathname:null==n?void 0:n.page_path});e.capture(t,n)}(n,e,t)})}function A(e){return"/"===e?"homepage":"/blog"===e?"blog_index":e.startsWith("/blog/")?"blog_article":e.startsWith("/docs")?"documentation":e.startsWith("/comparisons")?"comparison":e.startsWith("/integrations")?"integration":e.startsWith("/tools")?"tool":"/privacy"===e||"/terms"===e?"legal":"marketing"}function P(){if(!document.referrer)return"";try{return new URL(document.referrer).origin}catch(e){return""}}function L(){let e=new URLSearchParams(window.location.search).get("utm_source");if(e&&/^[a-z0-9._-]{1,100}$/i.test(e))return"utm:".concat(e);let t=P();if(!t)return"direct";try{let e=new URL(t).hostname;return e===window.location.hostname?"internal":e}catch(e){return"unknown"}}function N(e){let t=A(e),n=function(){let e=new URL(window.location.href),t=new URLSearchParams;for(let n of s){let o=e.searchParams.get(n);o&&t.set(n,o)}return e.search=t.toString(),e.hash="",e.toString()}(),i=null!=p?p:P(),a={page_location:n,page_path:e,page_referrer:i,page_title:document.title,page_type:t};_("set",{page_location:n,page_path:e,page_referrer:i,page_title:document.title}),S("page_view",a),m=!0,p=n,"accepted"===h()&&(w(),u&&(o.A.setTag("acquisition_source",L()),o.A.setTag("page_type",t),o.A.setTag("visited_path",e)))}function E(e,t){let n;if(e.startsWith("mailto:"))return void S("contact_clicked",{link_type:"email",location:t});try{n=new URL(e,window.location.href)}catch(e){return}return"app.diffie.ai"===n.hostname?void S("app_opened",{destination_path:n.pathname,link_type:"app",location:t}):"calendly.com"===n.hostname?void U(t):void(n.origin!==window.location.origin&&S("outbound_link_clicked",{destination_host:n.hostname,link_type:"external",location:t}))}function j(e,t){S("cta_clicked",{button_text:e,location:t})}function U(e){S("demo_requested",{location:e})}function R(e){S("pricing_cta_clicked",{plan:e})}function C(e){S("explore_form_started",{form_location:e})}function T(e){S("explore_form_submitted",{form_location:e})}function W(e){S("explore_form_failed",{form_location:e})}function $(e,t){S("test_description_suggestion_shown",{form_location:e,verdict:t})}function q(e,t,n){S("test_description_suggestion_action",{action:n,form_location:e,verdict:t})}function D(e,t){S("scroll_depth",{location:e,milestone:t})}function F(e,t){S("flaky_calc_changed",{calculator:e,...t})}}},e=>{e.O(0,[8898,9857,9664,9482,587,7827,7358],()=>e(e.s=6378)),_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.