"use strict";(globalThis.webpackChunkgtm_kit_settings=globalThis.webpackChunkgtm_kit_settings||[]).push([[352],{5598:(t,i,e)=>{e.d(i,{A:()=>s});var m=e(7723),n=e(6087),l=e(790);const s=(0,n.memo)((({subject:t})=>{const i=!0===t||"on"===t,e=!0===i?"gtmkit-bg-color-success":"gtmkit-bg-color-button-disabled";return(0,l.jsx)("div",{className:"gtmkit-text-xs gtmkit-text-white gtmkit-font-bold gtmkit-rounded-full gtmkit-py gtmkit-px-2 gtmkit-h-5 gtmkit-leading-5 gtmkit-uppercase "+e,children:i?(0,m.__)("Active","gtm-kit"):(0,m.__)("Inactive","gtm-kit")})}))},8687:(t,i,e)=>{e.d(i,{A:()=>a});var m=e(1046),n=e(5598),l=e(6087),s=e(3951),g=e(7723),r=e(790);const a=(0,l.memo)((({title:t,data:i,className:e=""})=>{const{useSettings:a}=(0,l.useContext)(s.ph);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8 gtmkit-mt-6",children:t}),(0,r.jsx)("div",{className:"lg:gtmkit-grid lg:gtmkit-grid-cols-2 xl:gtmkit-grid-cols-3 gtmkit-justify-between gtmkit-gap-6 gtmkit-border-b gtmkit-border-color-border gtmkit-pb-6 gtmkit-min-h-[175px] "+e,children:i.map(((t,i)=>!1===t.featured?null:(0,r.jsxs)(m.A,{children:[(0,r.jsx)(m.A.Header,{title:t.title,children:t.pill?(0,r.jsx)(n.A,{subject:a[t.group][t.option]}):null}),(0,r.jsx)(m.A.Content,{children:t.text.map(((t,i)=>(0,r.jsx)("p",{children:t},i)))}),(0,r.jsx)(m.A.Button,{url:t.link.url,destination:t.link.destination,text:t.link.text?t.link.text:(0,g.__)("Read article","gtm-kit"),newTab:t.link.external,group:t.group})]},i)))})]})}))},1046:(t,i,e)=>{e.d(i,{A:()=>d});var m=e(7767),n=e(6087),l=e(6427),s=e(8621),g=e(1840),r=e(790);const a=(0,n.memo)((({as:t="h3",title:i="",children:e,className:m="",...n})=>(0,r.jsxs)("div",{...n,className:"gtmkit-flex gtmkit-justify-between gtmkit-items-center gtmkit-mb-5 "+m,children:[(0,r.jsx)(t,{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading",children:i}),e]}))),o=(0,n.memo)((({as:t="div",children:i,className:e="gtmkit-flex-auto",...m})=>(0,r.jsx)(t,{...m,className:e,children:i}))),k=(0,n.memo)((({url:t,destination:i,newTab:e=!1,text:n,group:a="",...o})=>{const k=(0,m.Zp)(),c=(0,g.v)(t);return(0,r.jsx)("div",{...o,className:"gtmkit-mt-4 gtmkit-mb-0.5",children:(0,r.jsx)(l.Button,{variant:"primary",className:"gtmkit-rounded !gtmkit-py-4 !gtmkit-px-8 gtmkit-w-full sm:gtmkit-w-auto gtmkit-min-w-[225px]",onClick:()=>{i&&c&&!1===e?s.A.getCurrentPageAlias()===a?k(i,{replace:!0}):window.location.href=c+"#"+i:c?e?window.open(c):window.location.href=c:i&&k(i,{replace:!0})},children:(0,r.jsx)("span",{className:"gtmkit-mx-auto gtmkit-text-sm gtmkit-font-bold",children:n})})})})),c=(0,n.forwardRef)((({children:t,className:i="",...e},m)=>(0,r.jsx)("div",{...e,className:"gtmkit-flex gtmkit-flex-col gtmkit-min-h-[128px] gtmkit-bg-white gtmkit-border gtmkit-border-color-border gtmkit-mb-6 gtmkit-py-4 gtmkit-px-5 gtmkit-rounded gtmkit-group gtmkit-w-full "+i,ref:m,children:t})));c.Header=a,c.Content=o,c.Button=k;const d=c},2352:(t,i,e)=>{e.r(i),e.d(i,{default:()=>g});var m=e(7723),n=e(8687),l=e(7398),s=e(790);const g=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.A,{title:(0,m.__)("Integrations","gtm-kit"),data:(0,l.n)("integrations")})})}}]);