{"version":3,"file":"ArticleLayout.CKaXGip8.mjs","names":[],"sources":["https:/framerusercontent.com/modules/hyQsJHNWfPvyz1PYrwUz/aH6eEludJJAVpvZDxVRg/ArticleLayout.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ArticleLayout({title,slug,description,datePublished=\"September 2026\",dateModified=\"September 2026\",readingTime=\"4 min read\",isComparison=false,children,style,...rest}){const canonicalUrl=`https://quitory.app/learn/${slug}`;React.useEffect(()=>{if(typeof document!==\"undefined\"){document.title=`${title} | Quitory`;let canonical=document.head.querySelector(\"link[rel='canonical']\");if(!canonical){canonical=document.createElement(\"link\");canonical.rel=\"canonical\";document.head.appendChild(canonical);}canonical.href=canonicalUrl;const metaTags=[{name:\"description\",content:description},{property:\"og:type\",content:\"article\"},{property:\"og:title\",content:`${title} | Quitory`},{property:\"og:description\",content:description},{property:\"og:url\",content:canonicalUrl},{name:\"twitter:card\",content:\"summary_large_image\"},{name:\"twitter:title\",content:`${title} | Quitory`},{name:\"twitter:description\",content:description}];metaTags.forEach(tag=>{const keySelector=tag.name?`name=\"${tag.name}\"`:`property=\"${tag.property}\"`;let element=document.head.querySelector(`meta[${keySelector}]`);if(!element){element=document.createElement(\"meta\");if(tag.name)element.setAttribute(\"name\",tag.name);if(tag.property)element.setAttribute(\"property\",tag.property);document.head.appendChild(element);}element.setAttribute(\"content\",tag.content);});const schemaId=\"quitory-article-schema\";let script=document.getElementById(schemaId);if(!script){script=document.createElement(\"script\");script.id=schemaId;script.type=\"application/ld+json\";document.head.appendChild(script);}script.text=JSON.stringify({\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":`${canonicalUrl}#article`,headline:title,description:description,datePublished:\"2026-09-09\",dateModified:\"2026-09-09\",mainEntityOfPage:canonicalUrl,author:{\"@type\":\"Organization\",name:\"Quitory\",url:\"https://quitory.app/\"},publisher:{\"@type\":\"Organization\",name:\"Quitory\",url:\"https://quitory.app/\",logo:{\"@type\":\"ImageObject\",url:\"https://framerusercontent.com/images/ojetUn6SrVSArvcQJCf6Fb4O8zY.png?width=64&height=64\"}}},{\"@type\":\"BreadcrumbList\",\"@id\":`${canonicalUrl}#breadcrumb`,itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:\"https://quitory.app/\"},{\"@type\":\"ListItem\",position:2,name:\"Learn\",item:\"https://quitory.app/learn/\"},{\"@type\":\"ListItem\",position:3,name:title,item:canonicalUrl}]}]});}},[title,slug,description,canonicalUrl]);return /*#__PURE__*/_jsxs(\"div\",{...rest,style:{width:\"100%\",background:\"#050510\",display:\"flow-root\",position:\"relative\",...style},children:[/*#__PURE__*/_jsx(\"link\",{href:\"https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Unbounded:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap\",rel:\"stylesheet\"}),/*#__PURE__*/_jsx(\"style\",{children:`\n                *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n                :root {\n                    --bg: #050510;\n                    --surface: #0A0A14;\n                    --elev: #101020;\n                    --text: #E0E0E0;\n                    --text2: #8892B0;\n                    --muted: #6E7889;\n                    --divider: #2A2A3A;\n                    --border: #3A3A4A;\n                    --accent: #00F0FF;\n                    --accent-soft: rgba(0, 240, 255, 0.14);\n                    --gold: #FFD700;\n                }\n\n                .article-wrapper {\n                    width: 100%;\n                    max-width: 720px;\n                    margin: 0 auto;\n                    padding: 48px 20px 120px;\n                    color: var(--text);\n                    font-family: 'Inter', system-ui, sans-serif;\n                    font-size: 16px;\n                    line-height: 1.75;\n                    position: relative;\n                    z-index: 1;\n                    box-sizing: border-box;\n                }\n\n                .breadcrumbs {\n                    display: flex;\n                    align-items: center;\n                    gap: 8px;\n                    font-family: 'Space Mono', monospace;\n                    font-size: 11px;\n                    letter-spacing: .08em;\n                    text-transform: uppercase;\n                    color: var(--muted);\n                    margin-bottom: 24px;\n                }\n                .breadcrumbs a { color: var(--text2); text-decoration: none; transition: color .2s; }\n                .breadcrumbs a:hover { color: var(--accent); }\n                .breadcrumbs span { opacity: .5; }\n\n                .article-header {\n                    margin-bottom: 32px;\n                    border-bottom: 1px solid var(--divider);\n                    padding-bottom: 24px;\n                }\n                .article-header h1 {\n                    font-family: 'Unbounded', sans-serif;\n                    font-size: clamp(26px, 5.5vw, 42px);\n                    font-weight: 800;\n                    line-height: 1.2;\n                    letter-spacing: -.02em;\n                    color: #FFFFFF;\n                    margin-bottom: 16px;\n                }\n\n                .article-meta {\n                    font-family: 'Space Mono', monospace;\n                    font-size: 12px;\n                    color: var(--muted);\n                    display: flex;\n                    gap: 16px;\n                    flex-wrap: wrap;\n                }\n\n                .disclosure-box {\n                    background: var(--elev);\n                    border-left: 2px solid var(--accent);\n                    padding: 12px 16px;\n                    font-size: 13px;\n                    color: var(--text2);\n                    margin-bottom: 28px;\n                    line-height: 1.55;\n                }\n\n                .article-content h2 {\n                    font-family: 'Unbounded', sans-serif;\n                    font-size: clamp(19px, 3.5vw, 24px);\n                    font-weight: 700;\n                    color: #FFFFFF;\n                    margin: 40px 0 16px;\n                    line-height: 1.3;\n                    letter-spacing: -.01em;\n                }\n\n                .article-content p {\n                    margin-bottom: 20px;\n                    color: #D6DEE8;\n                }\n\n                .article-content strong {\n                    color: #FFFFFF;\n                    font-weight: 600;\n                }\n\n                .article-content ul, .article-content ol {\n                    margin: 0 0 24px 20px;\n                    color: #D6DEE8;\n                }\n                .article-content li {\n                    margin-bottom: 10px;\n                    padding-left: 4px;\n                }\n\n                .article-content a {\n                    color: var(--accent);\n                    text-decoration: underline;\n                    text-underline-offset: 3px;\n                    transition: opacity .2s;\n                }\n                .article-content a:hover { opacity: .8; }\n\n                .article-table-wrap {\n                    width: 100%;\n                    overflow-x: auto;\n                    margin: 24px 0 32px;\n                    border: 1px solid var(--divider);\n                    background: var(--surface);\n                }\n                table.article-table {\n                    width: 100%;\n                    border-collapse: collapse;\n                    font-family: 'Space Mono', monospace;\n                    font-size: 13px;\n                }\n                table.article-table th {\n                    text-align: left;\n                    font-size: 11px;\n                    letter-spacing: .12em;\n                    text-transform: uppercase;\n                    color: var(--muted);\n                    padding: 14px 16px;\n                    border-bottom: 1px solid var(--divider);\n                    background: var(--elev);\n                }\n                table.article-table td {\n                    padding: 14px 16px;\n                    border-bottom: 1px solid var(--divider);\n                    color: var(--text);\n                }\n                table.article-table tr:last-child td { border-bottom: none; }\n\n                .quitory-cta-card {\n                    background: var(--surface);\n                    border: 1px solid var(--divider);\n                    border-left: 3px solid var(--accent);\n                    padding: 26px 24px;\n                    margin: 48px 0 36px;\n                    position: relative;\n                }\n                .quitory-cta-card h3 {\n                    font-family: 'Unbounded', sans-serif;\n                    font-size: 16px;\n                    font-weight: 700;\n                    color: #FFF;\n                    margin-bottom: 10px;\n                }\n                .quitory-cta-card p {\n                    font-size: 14px;\n                    color: var(--text2);\n                    margin-bottom: 18px;\n                    line-height: 1.6;\n                }\n\n                .quitory-cta-btn {\n                    display: inline-flex;\n                    align-items: center;\n                    justify-content: center;\n                    background: #00D4AA !important;\n                    color: #070C18 !important;\n                    border: 1px solid #00F0FF;\n                    padding: 13px 26px;\n                    border-radius: 8px;\n                    font-family: 'Unbounded', sans-serif;\n                    font-size: 13px;\n                    font-weight: 700;\n                    text-decoration: none !important;\n                    letter-spacing: .02em;\n                    box-shadow: 0 4px 18px rgba(0, 212, 170, 0.25);\n                    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;\n                    cursor: pointer;\n                }\n                .quitory-cta-btn:hover {\n                    filter: brightness(1.1);\n                    transform: translateY(-2px);\n                    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.35);\n                    color: #040912 !important;\n                }\n                .quitory-cta-btn:active {\n                    transform: translateY(0);\n                }\n\n                .sources-section {\n                    margin-top: 56px;\n                    padding-top: 24px;\n                    border-top: 1px solid var(--divider);\n                    font-size: 13px;\n                    color: var(--muted);\n                }\n                .sources-section h2 {\n                    font-size: 16px;\n                    margin-top: 0;\n                    margin-bottom: 16px;\n                    color: var(--text2);\n                }\n                .sources-section ul {\n                    list-style: none;\n                    margin: 0;\n                    padding: 0;\n                }\n                .sources-section li {\n                    margin-bottom: 10px;\n                    line-height: 1.5;\n                }\n            `}),/*#__PURE__*/_jsx(\"main\",{className:\"article-wrapper\",children:/*#__PURE__*/_jsxs(\"article\",{children:[/*#__PURE__*/_jsxs(\"nav\",{className:\"breadcrumbs\",\"aria-label\":\"Breadcrumb\",children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",children:\"Home\"}),/*#__PURE__*/_jsx(\"span\",{children:\"/\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/learn\",children:\"Learn\"}),/*#__PURE__*/_jsx(\"span\",{children:\"/\"}),/*#__PURE__*/_jsx(\"span\",{children:title})]}),/*#__PURE__*/_jsxs(\"header\",{className:\"article-header\",children:[/*#__PURE__*/_jsx(\"h1\",{children:title}),/*#__PURE__*/_jsxs(\"div\",{className:\"article-meta\",children:[/*#__PURE__*/_jsxs(\"span\",{children:[\"Published: \",datePublished]}),/*#__PURE__*/_jsx(\"span\",{children:\"\\xb7\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Updated: \",dateModified]}),/*#__PURE__*/_jsx(\"span\",{children:\"\\xb7\"}),/*#__PURE__*/_jsx(\"span\",{children:readingTime})]})]}),isComparison&&/*#__PURE__*/_jsx(\"div\",{className:\"disclosure-box\",children:/*#__PURE__*/_jsx(\"em\",{children:\"Disclosure: Quitory is our app. We included it because it fits this comparison, but applied the same criteria to every product.\"})}),/*#__PURE__*/_jsx(\"div\",{className:\"article-content\",children:children}),!isComparison&&/*#__PURE__*/_jsx(\"div\",{className:\"disclosure-box\",style:{marginTop:\"40px\"},children:/*#__PURE__*/_jsx(\"em\",{children:\"Disclosure: this article is published by Quitory, which makes an app for people cutting down or quitting vaping and nicotine pouches.\"})})]})})]});}addPropertyControls(ArticleLayout,{title:{type:ControlType.String,title:\"Title\"},slug:{type:ControlType.String,title:\"Slug\"},description:{type:ControlType.String,title:\"Description\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleLayout\",\"slots\":[\"children\"],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleLayout.map"],"mappings":"iLAGG,SAAwB,EAAc,CAAC,QAAM,OAAK,cAAY,gBAAc,iBAAiB,eAAa,iBAAiB,cAAY,aAAa,eAAa,GAAM,WAAS,QAAM,GAAG,GAAM,CAAC,IAAM,EAAa,6BAA6B,IAAkpE,OAA3oE,MAAoB,CAAC,GAAG,OAAO,SAAW,IAAY,CAAC,SAAS,MAAM,GAAG,EAAM,YAAY,IAAI,EAAU,SAAS,KAAK,cAAc,uBAAuB,EAAM,IAAW,EAAU,SAAS,cAAc,MAAM,EAAE,EAAU,IAAI,YAAY,SAAS,KAAK,YAAY,CAAS,GAAG,EAAU,KAAK,EAAmZ,CAAtX,CAAC,KAAK,cAAc,QAAQ,CAAW,EAAE,CAAC,SAAS,UAAU,QAAQ,SAAS,EAAE,CAAC,SAAS,WAAW,QAAQ,GAAG,EAAM,WAAW,EAAE,CAAC,SAAS,iBAAiB,QAAQ,CAAW,EAAE,CAAC,SAAS,SAAS,QAAQ,CAAY,EAAE,CAAC,KAAK,eAAe,QAAQ,qBAAqB,EAAE,CAAC,KAAK,gBAAgB,QAAQ,GAAG,EAAM,WAAW,EAAE,CAAC,KAAK,sBAAsB,QAAQ,CAAW,CAAU,CAAC,CAAC,QAAQ,GAAK,CAAC,IAAM,EAAY,EAAI,KAAK,SAAS,EAAI,KAAK,GAAG,aAAa,EAAI,SAAS,GAAO,EAAQ,SAAS,KAAK,cAAc,QAA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