@stackshift-ui/cookies 6.0.12 → 7.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{lazy as u}from"react";import{jsx as L}from"react/jsx-runtime";var v={variant_a:u(()=>import("./cookies_a.mjs"))},P="Cookies",B=({data:n})=>{var e,s,r,c,t,l,p,f,k,y,g,C;let o=n==null?void 0:n.variant,i=o&&v[o],m={title:(s=(e=n==null?void 0:n.variants)==null?void 0:e.heading)!=null?s:void 0,description:(c=(r=n==null?void 0:n.variants)==null?void 0:r.description)!=null?c:void 0,allowCookieBtn:(l=(t=n==null?void 0:n.variants)==null?void 0:t.acceptButtonLabel)!=null?l:void 0,denyCookieBtn:(f=(p=n==null?void 0:n.variants)==null?void 0:p.declineButtonLabel)!=null?f:void 0,config:(y=(k=n==null?void 0:n.variants)==null?void 0:k.config)!=null?y:void 0,contactLink:(C=(g=n==null?void 0:n.variants)==null?void 0:g.contactLink)!=null?C:void 0};return i?L(i,{...m}):null};B.displayName=P;export{B as a};
package/dist/cookies.js CHANGED
@@ -1 +1 @@
1
- "use strict";var F=Object.create;var f=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty;var h=(e,r)=>()=>(e&&(r=e(e=0)),r);var v=(e,r)=>{for(var s in r)f(e,s,{get:r[s],enumerable:!0})},B=(e,r,s,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of S(r))!E.call(e,o)&&o!==s&&f(e,o,{get:()=>r[o],enumerable:!(i=O(r,o))||i.enumerable});return e};var q=(e,r,s)=>(s=e!=null?F(V(e)):{},B(r||!e||!e.__esModule?f(s,"default",{value:e,enumerable:!0}):s,e)),z=e=>B(f({},"__esModule",{value:!0}),e);var d,$=h(()=>{"use strict";d=e=>{var r,s;return!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink)?"/page-not-found":(e==null?void 0:e.type)==="linkInternal"&&((s=(r=e==null?void 0:e.internalLink)==null?void 0:r.toLowerCase())!=null&&s.includes("home"))?"/":(e==null?void 0:e.type)==="linkInternal"?`/${e==null?void 0:e.internalLink}`:(e==null?void 0:e.type)==="linkExternal"?`${e==null?void 0:e.externalLink}`:"/"}});var A={};v(A,{Cookies_A:()=>N,default:()=>N});function N({title:e,description:r,allowCookieBtn:s,denyCookieBtn:i,config:o,contactLink:t,...y}){var l,p,a,c;let m=(l=o==null?void 0:o.cookiePolicy)==null?void 0:l.siteName,n=(p=o==null?void 0:o.cookiePolicy)==null?void 0:p.cookiePolicyPage,C=((c=(a=o==null?void 0:o.cookiePolicy)==null?void 0:a.consentModal)==null?void 0:c.position)||"bottom right";return(0,M.useEffect)(()=>{var u,b;let P={categories:{necessary:{enabled:!0,readOnly:!0},analytics:{enabled:o==null?void 0:o.enableAnalytics}},guiOptions:{consentModal:{position:C}},language:{default:"en",translations:{en:{consentModal:{title:e,description:"Cookies help us deliver our services. By using our services, you agree to our use of cookies.",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",showPreferencesBtn:"Manage Individual preferences"},preferencesModal:{title:"Cookie Preferences",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",savePreferencesBtn:"Accept current selection",closeIconLabel:"Close",sections:[{title:e,description:r},{title:"Strictly Necessary cookies",description:`These cookies are essential for the proper functioning of this website. <a href=${d(n)} target=${n==null?void 0:n.linkTarget} rel=${(n==null?void 0:n.linkTarget)==="_blank"?"noopener noreferrer":""}>${(b=(u=o==null?void 0:o.cookiePolicy)==null?void 0:u.cookiePolicyPage)==null?void 0:b.label}</a>.`,linkedCategory:"necessary"},{title:"Analytics",description:"These cookies are used to track and measure the use of this website.",linkedCategory:"analytics"},{title:"More information",description:`For any queries in relation to ${m}'s policy on cookies and your choices, please <a href=${d(t)} target=${t==null?void 0:t.linkTarget} rel=${(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":""}>${t==null?void 0:t.label}</a>.`}]}}}},hideFromBots:!1};x.run(P)},[]),(0,g.jsx)("div",{...y})}var M,x,g,T=h(()=>{"use strict";M=require("react"),x=q(require("vanilla-cookieconsent"));$();g=require("react/jsx-runtime")});var D={};v(D,{Cookies:()=>I});module.exports=z(D);var w=require("react"),_=require("react/jsx-runtime"),j={variant_a:(0,w.lazy)(()=>Promise.resolve().then(()=>(T(),A)))},R="Cookies",I=({data:e})=>{var o,t,y,m,n,C,l,p,a,c,P,u;let r=e==null?void 0:e.variant,s=r&&j[r],i={title:(t=(o=e==null?void 0:e.variants)==null?void 0:o.heading)!=null?t:void 0,description:(m=(y=e==null?void 0:e.variants)==null?void 0:y.description)!=null?m:void 0,allowCookieBtn:(C=(n=e==null?void 0:e.variants)==null?void 0:n.acceptButtonLabel)!=null?C:void 0,denyCookieBtn:(p=(l=e==null?void 0:e.variants)==null?void 0:l.declineButtonLabel)!=null?p:void 0,config:(c=(a=e==null?void 0:e.variants)==null?void 0:a.config)!=null?c:void 0,contactLink:(u=(P=e==null?void 0:e.variants)==null?void 0:P.contactLink)!=null?u:void 0};return s?(0,_.jsx)(s,{...i,"data-testid":R}):null};I.displayName=R;0&&(module.exports={Cookies});
1
+ "use strict";var _=Object.create;var f=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var h=(e,r)=>()=>(e&&(r=e(e=0)),r);var v=(e,r)=>{for(var s in r)f(e,s,{get:r[s],enumerable:!0})},B=(e,r,s,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of O(r))!V.call(e,o)&&o!==s&&f(e,o,{get:()=>r[o],enumerable:!(i=F(r,o))||i.enumerable});return e};var E=(e,r,s)=>(s=e!=null?_(S(e)):{},B(r||!e||!e.__esModule?f(s,"default",{value:e,enumerable:!0}):s,e)),q=e=>B(f({},"__esModule",{value:!0}),e);var b,$=h(()=>{"use strict";b=e=>{var r,s;return!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink)?"/page-not-found":(e==null?void 0:e.type)==="linkInternal"&&((s=(r=e==null?void 0:e.internalLink)==null?void 0:r.toLowerCase())!=null&&s.includes("home"))?"/":(e==null?void 0:e.type)==="linkInternal"?`/${e==null?void 0:e.internalLink}`:(e==null?void 0:e.type)==="linkExternal"?`${e==null?void 0:e.externalLink}`:"/"}});var A={};v(A,{Cookies_A:()=>N,default:()=>N});function N({title:e,description:r,allowCookieBtn:s,denyCookieBtn:i,config:o,contactLink:t,...y}){var l,p,a,c;let m=(l=o==null?void 0:o.cookiePolicy)==null?void 0:l.siteName,n=(p=o==null?void 0:o.cookiePolicy)==null?void 0:p.cookiePolicyPage,C=((c=(a=o==null?void 0:o.cookiePolicy)==null?void 0:a.consentModal)==null?void 0:c.position)||"bottom right";return(0,M.useEffect)(()=>{var u,d;let P={categories:{necessary:{enabled:!0,readOnly:!0},analytics:{enabled:o==null?void 0:o.enableAnalytics}},guiOptions:{consentModal:{position:C}},language:{default:"en",translations:{en:{consentModal:{title:e,description:"Cookies help us deliver our services. By using our services, you agree to our use of cookies.",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",showPreferencesBtn:"Manage Individual preferences"},preferencesModal:{title:"Cookie Preferences",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",savePreferencesBtn:"Accept current selection",closeIconLabel:"Close",sections:[{title:e,description:r},{title:"Strictly Necessary cookies",description:`These cookies are essential for the proper functioning of this website. <a href=${b(n)} target=${n==null?void 0:n.linkTarget} rel=${(n==null?void 0:n.linkTarget)==="_blank"?"noopener noreferrer":""}>${(d=(u=o==null?void 0:o.cookiePolicy)==null?void 0:u.cookiePolicyPage)==null?void 0:d.label}</a>.`,linkedCategory:"necessary"},{title:"Analytics",description:"These cookies are used to track and measure the use of this website.",linkedCategory:"analytics"},{title:"More information",description:`For any queries in relation to ${m}'s policy on cookies and your choices, please <a href=${b(t)} target=${t==null?void 0:t.linkTarget} rel=${(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":""}>${t==null?void 0:t.label}</a>.`}]}}}},hideFromBots:!1};x.run(P)},[]),(0,g.jsx)("div",{...y})}var M,x,g,T=h(()=>{"use strict";M=require("react"),x=E(require("vanilla-cookieconsent"));$();g=require("react/jsx-runtime")});var D={};v(D,{Cookies:()=>R});module.exports=q(D);var w=require("react"),I=require("react/jsx-runtime"),z={variant_a:(0,w.lazy)(()=>Promise.resolve().then(()=>(T(),A)))},j="Cookies",R=({data:e})=>{var o,t,y,m,n,C,l,p,a,c,P,u;let r=e==null?void 0:e.variant,s=r&&z[r],i={title:(t=(o=e==null?void 0:e.variants)==null?void 0:o.heading)!=null?t:void 0,description:(m=(y=e==null?void 0:e.variants)==null?void 0:y.description)!=null?m:void 0,allowCookieBtn:(C=(n=e==null?void 0:e.variants)==null?void 0:n.acceptButtonLabel)!=null?C:void 0,denyCookieBtn:(p=(l=e==null?void 0:e.variants)==null?void 0:l.declineButtonLabel)!=null?p:void 0,config:(c=(a=e==null?void 0:e.variants)==null?void 0:a.config)!=null?c:void 0,contactLink:(u=(P=e==null?void 0:e.variants)==null?void 0:P.contactLink)!=null?u:void 0};return s?(0,I.jsx)(s,{...i}):null};R.displayName=j;0&&(module.exports={Cookies});
package/dist/cookies.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-KWVTDBZB.mjs";export{a as Cookies};
1
+ import{a}from"./chunk-4UYG5APP.mjs";export{a as Cookies};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var F=Object.create;var P=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty;var B=(e,r)=>()=>(e&&(r=e(e=0)),r);var $=(e,r)=>{for(var s in r)P(e,s,{get:r[s],enumerable:!0})},x=(e,r,s,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of S(r))!E.call(e,o)&&o!==s&&P(e,o,{get:()=>r[o],enumerable:!(i=O(r,o))||i.enumerable});return e};var q=(e,r,s)=>(s=e!=null?F(V(e)):{},x(r||!e||!e.__esModule?P(s,"default",{value:e,enumerable:!0}):s,e)),z=e=>x(P({},"__esModule",{value:!0}),e);var d,M=B(()=>{"use strict";d=e=>{var r,s;return!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink)?"/page-not-found":(e==null?void 0:e.type)==="linkInternal"&&((s=(r=e==null?void 0:e.internalLink)==null?void 0:r.toLowerCase())!=null&&s.includes("home"))?"/":(e==null?void 0:e.type)==="linkInternal"?`/${e==null?void 0:e.internalLink}`:(e==null?void 0:e.type)==="linkExternal"?`${e==null?void 0:e.externalLink}`:"/"}});var g={};$(g,{Cookies_A:()=>b,default:()=>b});function b({title:e,description:r,allowCookieBtn:s,denyCookieBtn:i,config:o,contactLink:t,...y}){var l,p,a,c;let m=(l=o==null?void 0:o.cookiePolicy)==null?void 0:l.siteName,n=(p=o==null?void 0:o.cookiePolicy)==null?void 0:p.cookiePolicyPage,C=((c=(a=o==null?void 0:o.cookiePolicy)==null?void 0:a.consentModal)==null?void 0:c.position)||"bottom right";return(0,N.useEffect)(()=>{var u,v;let f={categories:{necessary:{enabled:!0,readOnly:!0},analytics:{enabled:o==null?void 0:o.enableAnalytics}},guiOptions:{consentModal:{position:C}},language:{default:"en",translations:{en:{consentModal:{title:e,description:"Cookies help us deliver our services. By using our services, you agree to our use of cookies.",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",showPreferencesBtn:"Manage Individual preferences"},preferencesModal:{title:"Cookie Preferences",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",savePreferencesBtn:"Accept current selection",closeIconLabel:"Close",sections:[{title:e,description:r},{title:"Strictly Necessary cookies",description:`These cookies are essential for the proper functioning of this website. <a href=${d(n)} target=${n==null?void 0:n.linkTarget} rel=${(n==null?void 0:n.linkTarget)==="_blank"?"noopener noreferrer":""}>${(v=(u=o==null?void 0:o.cookiePolicy)==null?void 0:u.cookiePolicyPage)==null?void 0:v.label}</a>.`,linkedCategory:"necessary"},{title:"Analytics",description:"These cookies are used to track and measure the use of this website.",linkedCategory:"analytics"},{title:"More information",description:`For any queries in relation to ${m}'s policy on cookies and your choices, please <a href=${d(t)} target=${t==null?void 0:t.linkTarget} rel=${(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":""}>${t==null?void 0:t.label}</a>.`}]}}}},hideFromBots:!1};A.run(f)},[]),(0,T.jsx)("div",{...y})}var N,A,T,h=B(()=>{"use strict";N=require("react"),A=q(require("vanilla-cookieconsent"));M();T=require("react/jsx-runtime")});var D={};$(D,{Cookies:()=>I,Cookies_A:()=>b});module.exports=z(D);var w=require("react"),_=require("react/jsx-runtime"),j={variant_a:(0,w.lazy)(()=>Promise.resolve().then(()=>(h(),g)))},R="Cookies",I=({data:e})=>{var o,t,y,m,n,C,l,p,a,c,f,u;let r=e==null?void 0:e.variant,s=r&&j[r],i={title:(t=(o=e==null?void 0:e.variants)==null?void 0:o.heading)!=null?t:void 0,description:(m=(y=e==null?void 0:e.variants)==null?void 0:y.description)!=null?m:void 0,allowCookieBtn:(C=(n=e==null?void 0:e.variants)==null?void 0:n.acceptButtonLabel)!=null?C:void 0,denyCookieBtn:(p=(l=e==null?void 0:e.variants)==null?void 0:l.declineButtonLabel)!=null?p:void 0,config:(c=(a=e==null?void 0:e.variants)==null?void 0:a.config)!=null?c:void 0,contactLink:(u=(f=e==null?void 0:e.variants)==null?void 0:f.contactLink)!=null?u:void 0};return s?(0,_.jsx)(s,{...i,"data-testid":R}):null};I.displayName=R;h();0&&(module.exports={Cookies,Cookies_A});
2
+ "use strict";var _=Object.create;var P=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var B=(e,r)=>()=>(e&&(r=e(e=0)),r);var $=(e,r)=>{for(var s in r)P(e,s,{get:r[s],enumerable:!0})},x=(e,r,s,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of O(r))!V.call(e,o)&&o!==s&&P(e,o,{get:()=>r[o],enumerable:!(i=F(r,o))||i.enumerable});return e};var E=(e,r,s)=>(s=e!=null?_(S(e)):{},x(r||!e||!e.__esModule?P(s,"default",{value:e,enumerable:!0}):s,e)),q=e=>x(P({},"__esModule",{value:!0}),e);var b,M=B(()=>{"use strict";b=e=>{var r,s;return!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink)?"/page-not-found":(e==null?void 0:e.type)==="linkInternal"&&((s=(r=e==null?void 0:e.internalLink)==null?void 0:r.toLowerCase())!=null&&s.includes("home"))?"/":(e==null?void 0:e.type)==="linkInternal"?`/${e==null?void 0:e.internalLink}`:(e==null?void 0:e.type)==="linkExternal"?`${e==null?void 0:e.externalLink}`:"/"}});var g={};$(g,{Cookies_A:()=>d,default:()=>d});function d({title:e,description:r,allowCookieBtn:s,denyCookieBtn:i,config:o,contactLink:t,...y}){var l,p,a,c;let m=(l=o==null?void 0:o.cookiePolicy)==null?void 0:l.siteName,n=(p=o==null?void 0:o.cookiePolicy)==null?void 0:p.cookiePolicyPage,C=((c=(a=o==null?void 0:o.cookiePolicy)==null?void 0:a.consentModal)==null?void 0:c.position)||"bottom right";return(0,N.useEffect)(()=>{var u,v;let f={categories:{necessary:{enabled:!0,readOnly:!0},analytics:{enabled:o==null?void 0:o.enableAnalytics}},guiOptions:{consentModal:{position:C}},language:{default:"en",translations:{en:{consentModal:{title:e,description:"Cookies help us deliver our services. By using our services, you agree to our use of cookies.",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",showPreferencesBtn:"Manage Individual preferences"},preferencesModal:{title:"Cookie Preferences",acceptAllBtn:s,acceptNecessaryBtn:i||"Reject all",savePreferencesBtn:"Accept current selection",closeIconLabel:"Close",sections:[{title:e,description:r},{title:"Strictly Necessary cookies",description:`These cookies are essential for the proper functioning of this website. <a href=${b(n)} target=${n==null?void 0:n.linkTarget} rel=${(n==null?void 0:n.linkTarget)==="_blank"?"noopener noreferrer":""}>${(v=(u=o==null?void 0:o.cookiePolicy)==null?void 0:u.cookiePolicyPage)==null?void 0:v.label}</a>.`,linkedCategory:"necessary"},{title:"Analytics",description:"These cookies are used to track and measure the use of this website.",linkedCategory:"analytics"},{title:"More information",description:`For any queries in relation to ${m}'s policy on cookies and your choices, please <a href=${b(t)} target=${t==null?void 0:t.linkTarget} rel=${(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":""}>${t==null?void 0:t.label}</a>.`}]}}}},hideFromBots:!1};A.run(f)},[]),(0,T.jsx)("div",{...y})}var N,A,T,h=B(()=>{"use strict";N=require("react"),A=E(require("vanilla-cookieconsent"));M();T=require("react/jsx-runtime")});var D={};$(D,{Cookies:()=>R,Cookies_A:()=>d});module.exports=q(D);var w=require("react"),I=require("react/jsx-runtime"),z={variant_a:(0,w.lazy)(()=>Promise.resolve().then(()=>(h(),g)))},j="Cookies",R=({data:e})=>{var o,t,y,m,n,C,l,p,a,c,f,u;let r=e==null?void 0:e.variant,s=r&&z[r],i={title:(t=(o=e==null?void 0:e.variants)==null?void 0:o.heading)!=null?t:void 0,description:(m=(y=e==null?void 0:e.variants)==null?void 0:y.description)!=null?m:void 0,allowCookieBtn:(C=(n=e==null?void 0:e.variants)==null?void 0:n.acceptButtonLabel)!=null?C:void 0,denyCookieBtn:(p=(l=e==null?void 0:e.variants)==null?void 0:l.declineButtonLabel)!=null?p:void 0,config:(c=(a=e==null?void 0:e.variants)==null?void 0:a.config)!=null?c:void 0,contactLink:(u=(f=e==null?void 0:e.variants)==null?void 0:f.contactLink)!=null?u:void 0};return s?(0,I.jsx)(s,{...i}):null};R.displayName=j;h();0&&(module.exports={Cookies,Cookies_A});
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as o}from"./chunk-KWVTDBZB.mjs";import{a as e}from"./chunk-UMU577IJ.mjs";import"./chunk-RHBXK4UI.mjs";export{o as Cookies,e as Cookies_A};
2
+ "use strict";import{a as o}from"./chunk-4UYG5APP.mjs";import{a as e}from"./chunk-UMU577IJ.mjs";import"./chunk-RHBXK4UI.mjs";export{o as Cookies,e as Cookies_A};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/cookies",
3
3
  "description": "",
4
- "version": "6.0.12",
4
+ "version": "7.0.0-beta.1",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "vanilla-cookieconsent": "3.0.1",
37
- "@stackshift-ui/scripts": "6.0.10",
38
- "@stackshift-ui/system": "6.0.11"
37
+ "@stackshift-ui/system": "6.1.0-beta.1",
38
+ "@stackshift-ui/scripts": "6.1.0-beta.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@stackshift-ui/system": ">=6.0.11",
41
+ "@stackshift-ui/system": ">=6.1.0-beta.1",
42
42
  "@types/react": "16.8 - 19",
43
43
  "next": "10 - 14",
44
44
  "react": "16.8 - 19",
package/src/cookies.tsx CHANGED
@@ -43,7 +43,7 @@ export const Cookies: React.FC<SectionsProps> = ({ data }) => {
43
43
  contactLink: data?.variants?.contactLink ?? undefined,
44
44
  };
45
45
 
46
- return Variant ? <Variant {...props} data-testid={displayName} /> : null;
46
+ return Variant ? <Variant {...props} /> : null;
47
47
  };
48
48
 
49
49
  Cookies.displayName = displayName;
@@ -1 +0,0 @@
1
- import{lazy as v}from"react";import{jsx as L}from"react/jsx-runtime";var P={variant_a:v(()=>import("./cookies_a.mjs"))},m="Cookies",B=({data:n})=>{var e,s,r,t,c,l,p,f,k,y,g,C;let o=n==null?void 0:n.variant,i=o&&P[o],u={title:(s=(e=n==null?void 0:n.variants)==null?void 0:e.heading)!=null?s:void 0,description:(t=(r=n==null?void 0:n.variants)==null?void 0:r.description)!=null?t:void 0,allowCookieBtn:(l=(c=n==null?void 0:n.variants)==null?void 0:c.acceptButtonLabel)!=null?l:void 0,denyCookieBtn:(f=(p=n==null?void 0:n.variants)==null?void 0:p.declineButtonLabel)!=null?f:void 0,config:(y=(k=n==null?void 0:n.variants)==null?void 0:k.config)!=null?y:void 0,contactLink:(C=(g=n==null?void 0:n.variants)==null?void 0:g.contactLink)!=null?C:void 0};return i?L(i,{...u,"data-testid":m}):null};B.displayName=m;export{B as a};