"use strict";(globalThis.webpackChunkgtm_kit_settings=globalThis.webpackChunkgtm_kit_settings||[]).push([[838],{4901:(t,e,i)=>{i.d(e,{A:()=>g});var n=i(7723),s=i(6992),l=i(237),o=i(6087),a=i(3951),r=i(790);const g=(0,o.memo)((({pluginName:t,optionName:e,pluginInactive:i})=>{const{useSettings:g,updateStateSettings:u}=(0,o.useContext)(a.ph);return(0,r.jsxs)(l.A,{disabled:i,children:[(0,r.jsx)(l.A.Header,{title:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("%s Integration","gtm-kit"),t)}),(0,r.jsx)(l.A.Content,{children:(0,r.jsx)(s.A,{title:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("Track %s","gtm-kit"),t),label:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("Activate the %s integration","gtm-kit"),t),optionGroup:"integrations",optionName:e,disabled:i,useSettings:g,updateStateSettings:u})})]})}))},9680:(t,e,i)=>{i.d(e,{q:()=>r,u:()=>a});var n=i(6427),s=i(6087),l=i(790);const o=t=>{const{Fill:e,Slot:i}=(0,n.createSlotFill)(t),o=(0,s.memo)((({children:t})=>(0,l.jsx)(e,{children:t})));return o.Slot=(0,s.memo)((({fillProps:t})=>(0,l.jsx)(i,{fillProps:t,children:t=>t.length?t:null}))),o},a=o("GravityForms"),r=o("LicenseActivation")},6838:(t,e,i)=>{i.r(e),i.d(e,{default:()=>u});var n=i(8949),s=i(4901),l=i(6087),o=i(3951),a=i(9680),r=i(8621),g=i(790);const u=({integrationID:t,pluginName:e})=>{const{useSettings:i}=(0,l.useContext)(o.ph),u=!r.A.isPluginActive(t),c=u||!i.integrations[t+"_integration"];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8",children:e}),u?(0,g.jsx)(n.A,{pluginName:e}):null,(0,g.jsx)(s.A,{pluginName:e,optionName:t+"_integration",pluginInactive:u}),"gf"===t?(0,g.jsx)(a.u.Slot,{fillProps:{settingsInactive:c,useSettings:i}}):null]})}}}]);