1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[5927],{10449(e,t,s){s.d(t,{A:()=>k});var o=s(53241),n=s(26826),a=s.n(n),l=s(52030),r=s(61421),i=s(10430),c=s(11954),p=s(14121);const u=(0,s(28216).YK)({consentPreferences:{defaultMessage:"Consent Preferences",id:"footer.consent-preferences"},doNotSell:{defaultMessage:"Do not sell or share my personal information",id:"footer.do-not-sell"},limitUse:{defaultMessage:"Limit the use of my sensitive personal information",id:"footer.limit-use"},ourCookiePolicy:{defaultMessage:"Cookie Policy",id:"footer.cookie-policy"},ourDisclaimer:{defaultMessage:"Disclaimer",id:"footer.disclaimer"},ourPrivacyPolicy:{defaultMessage:"Privacy Policy",id:"footer.privacy-policy"},ourTOU:{defaultMessage:"Terms Of Use",id:"footer.terms-of-use"},support:{defaultMessage:"Support",id:"footer.support"}}),d="styles-link-d63d43",m=[{url:"https://termly.io/our-privacy-policy/",text:u.ourPrivacyPolicy},{url:"https://termly.io/our-terms-of-use/",text:u.ourTOU},{url:"https://termly.io/our-disclaimer/",text:u.ourDisclaimer},{url:"https://termly.io/our-cookie-policy/",text:u.ourCookiePolicy}],y="https://app.termly.io/notify/05f55d8a-a00b-45d4-8053-55f6d8637f46",f=[{url:i.A.supportURL(),text:u.support},{LinkComponent:c.A,url:y,text:u.limitUse},{LinkComponent:c.A,url:y,text:u.doNotSell}];function h(e){let{isGuest:t=!1}=e;const s=(0,o.useRef)(),n=(0,o.useMemo)(()=>function(e){return e?m:[...m,...f]}(t),[t]);return o.createElement("footer",{className:"styles-root-c8b941"},o.createElement("ul",{className:"styles-links-dd56f1"},n.map(e=>{let{LinkComponent:t=p.A,url:s,text:n}=e;return o.createElement("li",{key:n.id},o.createElement(t,{className:d,showIcon:!1,url:s},o.createElement(l.A,n)))}),function(e){if(!window.displayPreferenceModal)return e.current||(console.debug("Not rendering the Consent Preferences footer link: window.displayPreferenceModal() was not found"),e.current=!0),null;const t=`${d} t-displayPreferencesLink`;return o.createElement("li",null,o.createElement(r.$n,{className:t,handleClick:window.displayPreferenceModal,type:"text"},o.createElement(l.A,u.consentPreferences)))}(s)))}h.propTypes={isGuest:a().bool};const k=h},21615(e,t,s){s.d(t,{A:()=>c});var o=s(53241),n=s(26826),a=s.n(n),l=s(52030),r=s(37011);function i(e){let{className:t,title:s,values:n}=e;const a={...s,values:{...s.values,...n}};return o.createElement(r.A,{className:t},o.createElement(l.A,a))}i.propTypes={className:a().string,title:a().shape(l.A.propTypes),values:a().shape({})};const c=i},24326(e,t,s){s.d(t,{A:()=>d});var o=s(53241),n=s(26826),a=s.n(n),l=s(74862);const r=(0,s(28216).YK)({title:{id:"api-key-code-snippet.title",defaultMessage:"API Key"}});var i=s(46222),c=s(41242);function p(e){return["apiKey",e]}function u(e){let{websiteID:t}=e;const{apiKey:s=""}=function(e){let{websiteID:t}=e;const s="v1/api_token?id=:websiteID".replace(":websiteID",t),{data:o={},...n}=(0,i.I)({queryFn:()=>c.A.get(s),queryKey:p(t)});return{...n,apiKey:(o.data||{}).token}}({websiteID:t});return o.createElement(l.A,{rows:1,snippet:s,title:r.title})}u.propTypes={websiteID:a().string.isRequired};const d=u},32357(e,t,s){s.d(t,{G4:()=>l,SW:()=>r,dp:()=>o,nr:()=>a,wI:()=>n});const o="https://help.termly.io/support/search/solutions?term=API+documentation",n="https://help.termly.io/support/search/solutions?term=Why+is+my+website+cookie+scan+failing%3F",a="https://termly.io/features/google-consent-mode/#termly-support",l="https://help.termly.io/support/solutions/articles/69000108884-how-to-install-your-consent-banner",r="https://help.termly.io/support/solutions/articles/69000252637-auto-blocker-implementation-guide"},37011(e,t,s){s.d(t,{A:()=>c});var o=s(53241),n=s(26826),a=s.n(n),l=s(14712),r=s.n(l);function i(e){let{className:t,children:s}=e;const n=r()("styles-root-e4dbec",t);return o.createElement("h1",{className:n},s)}i.propTypes={children:a().node.isRequired,className:a().string};const c=i},65142(e,t,s){e.exports=s.p+"arrow-back-e81d08.svg"},74862(e,t,s){s.d(t,{A:()=>g});var o=s(53241),n=s(26826),a=s.n(n),l=s(56807),r=s(52030),i=s(14712),c=s.n(i),p=s(61421);function u(e){const{className:t,copyMessage:s,handleCopy:n,rows:a,snippet:l,title:i}=e,u=c()("styles-root-e049f5",t),d=c()("styles-copyButton-c43d0d","t-copyButton");return o.createElement("div",{className:u},o.createElement("div",{className:"styles-header-cf9f87"},o.createElement("div",{className:"styles-header__left-eef524"},o.createElement("div",{className:"styles-title-b6cf6a"},o.createElement(r.A,i))),o.createElement("div",{className:"styles-header__right-aa1bc3"},o.createElement(p.$n,{className:d,color:"secondary",handleClick:n,type:"solid"},o.createElement("div",{className:"styles-copyButton__icon-a53b85"}),o.createElement(r.A,s)))),o.createElement("div",{className:"styles-snippetContainer-aeeb8e"},o.createElement("textarea",{readOnly:!0,className:"styles-snippet-b7a98d",rows:a,value:l})))}
1u.propTypes={copyMessage:a().shape(r.A.propTypes).isRequired,handleCopy:a().func.isRequired,snippet:a().string.isRequired,title:a().shape(r.A.propTypes).isRequired,className:a().string,rows:a().number};const d=u;var m=s(28216);const y=(0,m.zR)({id:"code-snippet.title",defaultMessage:"Code Snippet"}),f=(0,m.zR)({id:"code-snippet.copy-to-clipboard",defaultMessage:"Copy to Clipboard"}),h=(0,m.zR)({id:"code-snippet.copied",defaultMessage:"Copied!"});function k(e){let{className:t,handleCopy:s,rows:n,snippet:a,title:r=y}=e;const i=(0,o.useRef)(""),[c,p]=(0,o.useState)(f);return o.createElement(d,{className:t,copyMessage:c,handleCopy:()=>(clearTimeout(i.current),navigator.clipboard.writeText(a).then(()=>{p(h),i.current=setTimeout(()=>{p(f)},1500),s?.()},e=>{p(f),l.Cp(e,{level:"warning"})})),rows:n,snippet:a,title:r})}k.propTypes={snippet:a().string.isRequired,className:d.propTypes.className,handleCopy:a().func,rows:d.propTypes.rows,title:a().shape({id:a().string,defaultMessage:a().string})};const g=k},75927(e,t,s){s.r(t),s.d(t,{default:()=>d});var o=s(53241),n=s(18840),a=s(32357),l=s(24326),r=s(28362),i=s(76891),c=s(91670);const p=(0,s(28216).YK)({apiKeyDescription:{id:"cookie-block-settings.api-key-description",defaultMessage:"If your website is setting cookies from the backend, you will not have access to the JS Callback and will need to use this API to retrieve the cookie whitelist your visitor has consented to."},apiKeyExternalLink:{id:"cookie-block-settings.api-key-external-link",defaultMessage:"How to use API Key"},cookiesBlockingQuestion:{id:"cookie-block-settings.cookies-blocking-question",defaultMessage:"Why is it important to enable cookie blocking?"},cookiesBlockingAns:{id:"cookie-block-settings.cookies-blocking-ans",defaultMessage:"The EU Cookie Law requires you to block all non-essential cookies so that your users have the opportunity to evaluate their options and your cookie use before giving their consent."}}
1),u=[{question:p.cookiesBlockingQuestion,answer:p.cookiesBlockingAns}],d=function(){const{id:e}=(0,n.g)();return o.createElement(i.A,{right:o.createElement(c.Ay,{content:u}),title:p.apiKeyTitle},o.createElement(r.A,{className:"styles-desc-e9d4e6",text:p.apiKeyDescription}),o.createElement("a",{href:a.dp,rel:"noopener noreferrer",target:"_blank"},o.createElement(r.A,{className:"styles-link-d282d7",text:p.apiKeyExternalLink})),o.createElement(l.A,{websiteID:e}))}},76891(e,t,s){s.d(t,{A:()=>b});var o=s(53241),n=s(26826),a=s.n(n),l=s(14712),r=s.n(l),i=s(10449),c=s(65804),p=s(74945),u=s(21615),d=s(52030),m=s(61421),y=s(65142);const f=(0,s(28216).YK)({back:{id:"dashboard-content-layout.back",defaultMessage:"Back"}});function h(e){let{show:t,handleClick:s}=e;if(!t)return null;return o.createElement("div",{className:"styles-root-bbc964"},o.createElement(m.$n,{className:"styles-button-defc68 t-backButton",handleClick:s,type:"text"},o.createElement("img",{alt:"",className:"styles-icon-a3f0b8",src:y}),o.createElement(d.A,f.back)))}h.propTypes={handleClick:a().func,show:a().bool};const k=h;function g(e){const{children:t,className:s,right:n,showBackButton:a,handleBackButtonClick:l=p.A,title:d,titleValues:m,top:y}=e,{user:f}=(0,c.As)(),h=r()("styles-root-e375ea",s);return o.createElement("div",{className:h},o.createElement("div",{className:"styles-content-c18f79"},o.createElement(k,{handleClick:l,show:a}),function(e){let{title:t,titleValues:s}=e;return t?o.createElement(u.A,{title:t,values:s}):null}({title:d,titleValues:m}),(g=y)?o.createElement("div",{className:"styles-top-efc8f0"},g):null,o.createElement("div",{className:"styles-main-de3124"},o.createElement("div",{className:"styles-left-efdc18"},t),function(e){return e?o.createElement("div",{className:"styles-right-fdad5f"},e):null}(n))),o.createElement("div",{className:"styles-footer-ae8e4b"},o.createElement(i.A,{isGuest:f.guest})));var g}g.propTypes={children:a().node,className:a().string,handleBackButtonClick:k.propTypes.handleClick,right:a().node,showBackButton:k.propTypes.show,title:u.A.propTypes.title,titleValues:u.A.propTypes.values,top:a().node};const b=g},91670(e,t,s){s.d(t,{Ay:()=>d});var o=s(22771),n=s(53241),a=s(26826),l=s.n(a),r=s(52030);const i="text";function c(e){let{className:t,answer:s,answerValues:o,question:a,type:l=i}=e;return n.createElement("div",{className:t},n.createElement("div",{className:"styles-question-c991a4"},n.createElement(r.A,a)),n.createElement("div",{className:"styles-answer-f276df"},n.createElement(r.A,s)))}c.propTypes={answer:l().shape(r.A.propTypes).isRequired,question:l().shape(r.A.propTypes).isRequired,answerValues:l().objectOf(l().oneOfType([l().string,l().number])),className:l().string,type:l().oneOf(["html",i])};const p=c;
1function u(e){let{content:t}=e;const s=(0,n.useMemo)(()=>t.map(e=>{let{question:t,...s}=e;return n.createElement(p,(0,o.A)({},s,{className:"styles-qna-c4c979",key:t.id,question:t}))}),[t]);return n.createElement("div",{className:"questions-and-answers"},s)}u.propTypes={content:l().arrayOf(l().shape(p.propTypes))};const d=u}}]); 2//# sourceMappingURL=5927-745557.js.map
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.