PageSourceSearch

https://laconote.com/assets/consentStore-DqRvEo1g.js

js laconote.com collected 2026-09-24 14:46:25 UTC 10,002 bytes, 1 lines download raw bytes

1import{i,_ as a,J as v,K as $,P as y}from"./workspace-BPfcH8Ex.js";const O=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((s,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},A=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,w={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},k=e=>w[e],D=e=>e.replace(A,k);let _={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:D};const R=(e={})=>{_={..._,...e}},W=()=>_;let P;const C=e=>{P=e},Q=()=>P,N={type:"3rdParty",init(e){R(e.options.react),C(e)}},g=["en","uk","pl","de","fr","es","it","tr","kk","ka","uz"],X=g,Z=g,l="en",ee={en:"English",uk:"Українська",pl:"Polski",de:"Deutsch",fr:"Français",es:"Español",it:"Italiano",tr:"Türkçe",kk:"Қазақша",ka:"ქართული",uz:"Oʻzbek"};function u(e){return g.includes(e??"")}const V=2026,S=g,f="i18nextLng";async function E(e){if(i.hasResourceBundle(e,"translation"))return;const t=await O(Object.assign({
1"./locales/de.json":()=>a(()=>import("./de-B0zwmi_q.js"),[]),
1"./locales/en.json":()=>a(()=>import("./en-BFsvwiLJ.js"),[]),
1"./locales/es.json":()=>a(()=>import("./es-CdqpyKdd.js"),[]),
1"./locales/fr.json":()=>a(()=>import("./fr-Cn0p6rNo.js"),[]),
1"./locales/it.json":()=>a(()=>import("./it-DvBHA_qc.js"),[]),
1"./locales/ka.json":()=>a(()=>import("./ka-C3FuCMpN.js"),[]),
1"./locales/kk.json":()=>a(()=>import("./kk-D0hJvDHk.js"),[]),
1"./locales/pl.json":()=>a(()=>import("./pl-Dg_McDSW.js"),[]),
1"./locales/tr.json":()=>a(()=>import("./tr-ClnGtm_F.js"),[]),
1"./locales/uk.json":()=>a(()=>import("./uk-CCXtKdMb.js"),[]),
1"./locales/uz.json":()=>a(()=>import("./uz-DKDQMBTN.js"),[])
1}),`./locales/${e}.json`,3);i.addResourceBundle(e,"translation",t.default,!0,!0)}let m=null;function U(){return m||(m=i.use(N).init({fallbackLng:"en",supportedLngs:[...S],interpolation:{escapeValue:!1,defaultVariables:{seoYear:V}},lng:"en"}).then(()=>i)),m}function j(){const e=localStorage.getItem(f);if(u(e))return e;const t=navigator.languages??[navigator.language];for(const n of t){const r=n.split("-")[0];if(u(r))return localStorage.setItem(f,r),r}return localStorage.setItem(f,l),l}async function te(e){await U();const t=e??j();return await E(t),t!=="en"&&await E("en"),await i.changeLanguage(t),i}function ne(e){const t=(e??"").split("-")[0];return u(t)?t:l}function re(e){const t=e.split("/").filter(Boolean)[0];return u(t)?t:l}const x=["google-meet","microsoft-teams","macos","windows"],se=["claude","chatgpt","gemini","cursor"],ae={claude:"claudeIntegration",chatgpt:"chatgptIntegration",gemini:"geminiIntegration",cursor:"cursorIntegration"},F=["otter-ai","fireflies","granola","tactiq","fathom","tldv","notta","meetgeek","read-ai"],G=["fathom-vs-fireflies","otter-ai-vs-fireflies","fathom-vs-otter-ai","otter-ai-vs-granola"];function b(e){return G.includes(e)}function oe(e){const[t,n,...r]=e.split("-vs-");return r.length||!t||!n||!I(t)||!I(n)?null:{a:t,b:n}}const ie=["glossary","templates","articles"],ce=["teamPulse","selfHosted","security","integrations","platforms","extension","languages"],B=["home","about","pricing","languages","support","extension","download","glossary","templates","articles","blog","bestAiNoteTaker","alternative","comparison","platform","teamPulse","selfHosted","claudeIntegration","chatgptIntegration","geminiIntegration","cursorIntegration","security","integrations","platforms","knowledge","features","alternatives","comparisons"],le="en";function z(e){return S.includes(e)}function T(e){return x.includes(e)}function I(e){return F.includes(e)}function H(e,t={}){switch(e){case"alternative":return!!t.competitor;case"comparison":return t.comparison!==void 0&&b(t.comparison);case"platform":return t.platform!==void 0&&T(t.platform);default:return!0}}function p(e,t,n){if(!n)throw new Error(`Missing "${t}" for public SEO route "${e}"`);return n}function L(e,t={}){switch(e){case"home":return"/";case"about":return"/about";case"pricing":return"/pricing";case"languages":return"/languages";case"support":return"/support";case"extension":return"/extension";case"download":return"/download";case"glossary":return"/knowledge/glossary";case"templates":return"/knowledge/templates";case"articles":return t.articleSlug?`/knowledge/articles/${t.articleSlug}`:"/knowledge/articles";case"blog":return t.blogSlug?`/blog/${t.blogSlug}`:"/blog";case"bestAiNoteTaker":return"/best-ai-note-taker";case"alternative":return`/alternatives/${p(e,"competitor",t.competitor)}`;case"comparison":return`/compare/${p(e,"comparison",t.comparison)}`;case"platform":return`/platforms/${p(e,"platform",t.platform)}`;case"teamPulse":return"/features/team-pulse";case"selfHosted":return"/self-hosted";case"claudeIntegration":return"/integrations/claude";case"chatgptIntegration":return"/integrations/chatgpt";case"geminiIntegration":return"/integrations/gemini";case"cursorIntegration":return"/integrations/cursor";case"security":return"/security";case"integrations":return"/integrations";case"platforms":return"/platforms";case"knowledge":return"/knowledge";case"features":return"/features";case"alternatives":return"/alternatives";case"comparisons":return"/compare"}}function q(e,t={}){return H(e,t)?L(e,t):null}function ue(e,t,n={}){const r=L(e,n);return e==="home"?`/${t}`:`/${t}${r}`}function ge(e,t,n={}){const r=q(e,n);return r===null?null:e==="home"?`/${t}`:`/${t}${r}`}function fe(e,t="",n=""){return`${e}${t}${n}`}function M(e,t){switch(t){case"home":return e.match(/^\/([^/]+)\/?$/);case"about":return e.match(/^\/([^/]+)\/about\/?$/);case"pricing":return e.match(/^\/([^/]+)\/pricing\/?$/);case"languages":return e.match(/^\/([^/]+)\/languages\/?$/);case"support":return e.match(/^\/([^/]+)\/support\/?$/);case"extension":return e.match(/^\/([^/]+)\/extension\/?$/);case"download":return e.match(/^\/([^/]+)\/download\/?$/);case"glossary":return e.match(/^\/([^/]+)\/knowledge\/glossary\/?$/);case"templates":return e.match(/^\/([^/]+)\/knowledge\/templates\/?$/);case"articles":return e.match(/^\/([^/]+)\/knowledge\/articles(?:\/([^/]+))?\/?$/);case"blog":return e.match(/^\/([^/]+)\/blog(?:\/([^/]+))?\/?$/);case"bestAiNoteTaker":return e.match(/^\/([^/]+)\/best-ai-note-taker\/?$/);case"alternative":return e.match(/^\/([^/]+)\/alternatives\/([^/]+)\/?$/);case"comparison":return e.match(/^\/([^/]+)\/compare\/([^/]+)\/?$/);case"platform":return e.match(/^\/([^/]+)\/platforms\/([^/]+)\/?$/);case"teamPulse":return e.match(/^\/([^/]+)\/features\/team-pulse\/?$/);case"selfHosted":return e.match(/^\/([^/]+)\/self-hosted\/?$/);case"claudeIntegration":return e.match(/^\/([^/]+)\/integrations\/claude\/?$/);case"chatgptIntegration":return e.match(/^\/([^/]+)\/integrations\/chatgpt\/?$/);case"geminiIntegration":return e.match(/^\/([^/]+)\/integrations\/gemini\/?$/);case"cursorIntegration":return e.match(/^\/([^/]+)\/integrations\/cursor\/?$/);case"security":return e.match(/^\/([^/]+)\/security\/?$/);case"integrations":return e.match(/^\/([^/]+)\/integrations\/?$/);case"platforms":return e.match(/^\/([^/]+)\/platforms\/?$/);case"knowledge":return e.match(/^\/([^/]+)\/knowledge\/?$/);case"features":return e.match(/^\/([^/]+)\/features\/?$/);case"alternatives":return e.match(/^\/([^/]+)\/alternatives\/?$/);case"comparisons":return e.match(/^\/([^/]+)\/compare\/?$/)}}function K(e){for(const t of B){const n=M(e,t);if(!n)continue;const[,r,s]=n;return!z(r)||t==="platform"&&(!s||!T(s))||t==="comparison"&&(!s||!b(s))?null:{locale:r,routeId:t,params:t==="alternative"?{competitor:s}:t==="comparison"?{comparison:s}:t==="platform"?{platform:s}:t==="articles"?s?{articleSlug:s}:{}:t==="blog"?s?{blogSlug:s}:{}:{}}}return null}function me(e){return K(e)!==null}const Y="laconote-consent",o="1.0.0",h={essential:!0,functional:!1,analytics:!1},pe=v()($((e,t)=>({hasConsented:!1,preferences:{...h},consentVersion:"",consentTimestamp:null,shouldShowBanner:()=>{const n=t();
1return!n.hasConsented||n.consentVersion!==o},acceptAll:()=>{const n=Date.now();e({hasConsented:!0,preferences:{essential:!0,functional:!0,analytics:!0},consentVersion:o,consentTimestamp:n}),d({action:"accept_all",preferences:{essential:!0,functional:!0,analytics:!0},version:o,timestamp:n})},rejectNonEssential:()=>{const n=Date.now();e({hasConsented:!0,preferences:{essential:!0,functional:!1,analytics:!1},consentVersion:o,consentTimestamp:n}),d({action:"reject_non_essential",preferences:{essential:!0,functional:!1,analytics:!1},version:o,timestamp:n})},updatePreferences:n=>{const r=Date.now(),c={...t().preferences,...n,essential:!0};e({hasConsented:!0,preferences:c,consentVersion:o,consentTimestamp:r}),d({action:"update_preferences",preferences:c,version:o,timestamp:r})},resetConsent:()=>{e({hasConsented:!1,preferences:{...h},consentVersion:"",consentTimestamp:null})},isConsentedFor:n=>{const r=t();return r.hasConsented?r.preferences[n]:n==="essential"}}),{name:Y,storage:y(()=>localStorage),partialize:e=>({hasConsented:e.hasConsented,preferences:e.preferences,consentVersion:e.consentVersion,consentTimestamp:e.consentTimestamp})}));async function d(e){var t;try{const n=localStorage.getItem("auth-storage");if(!n)return;const r=JSON.parse(n);if(!((t=r==null?void 0:r.state)!=null&&t.isAuthenticated))return}catch{}}export{Y as C,le as D,ce as F,se as I,ie as K,ee as L,x as P,Z as S,te as a,I as b,F as c,b as d,ue as e,G as f,ae as g,T as h,me as i,W as j,Q as k,re as l,K as m,X as n,E as o,oe as p,fe as q,ne as r,z as s,ge as t,H as u,q as v,u as w,pe as x,o as y};

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.