@everymatrix/player-account-anonymization 0.2.0 → 0.2.2
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.
- package/dist/cjs/{index-310f2511.js → index-f3ae2fb4.js} +71 -208
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{player-account-anonymization-8c734eac.js → player-account-anonymization-9648ffc4.js} +10 -3
- package/dist/cjs/player-account-anonymization.cjs.entry.js +2 -2
- package/dist/cjs/player-account-anonymization.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/player-account-anonymization/player-account-anonymization.js +9 -16
- package/dist/esm/{index-ac354252.js → index-56f1d6dd.js} +71 -208
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{player-account-anonymization-be28d841.js → player-account-anonymization-48124aa3.js} +10 -3
- package/dist/esm/player-account-anonymization.entry.js +2 -2
- package/dist/esm/player-account-anonymization.js +3 -3
- package/dist/player-account-anonymization/index.esm.js +1 -1
- package/dist/player-account-anonymization/p-13c91541.js +2 -0
- package/dist/player-account-anonymization/p-54336bf4.js +1 -0
- package/dist/player-account-anonymization/p-a22c5fc9.entry.js +1 -0
- package/dist/player-account-anonymization/player-account-anonymization.esm.js +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/player-account-anonymization/p-10f07bb8.js +0 -2
- package/dist/player-account-anonymization/p-d862ffd3.entry.js +0 -1
- package/dist/player-account-anonymization/p-ed3364ec.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-account-anonymization/.stencil/packages/stencil/player-account-anonymization/storybook/preview.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as PlayerAccountAnonymization}from"./p-
|
|
1
|
+
export{P as PlayerAccountAnonymization}from"./p-54336bf4.js";import"./p-13c91541.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,d=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&f.l?b(v):f.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{$(d),$(y),(m=d.length>0)&&f.raf(v)},b=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>P,unwrapErr:()=>L});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x,P=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},T=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),A={},N=new WeakMap,U=e=>"sc-"+e.v,W=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=F(n),s=F(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(H);t=t.replace(q,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},D=/\s/,F=e=>e?e.split(D):[],H="Capture",q=RegExp(H+"$"),z=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of G(Object.keys(o)))e in s||W(l,e,o[e],void 0,n,t.l);for(const e of G(Object.keys(s)))W(l,e,o[e],s[e],n,t.l)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,_=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else{if(V||(V="svg"===l.m),o=l.$=a.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),V&&"foreignObject"===l.m&&(V=!1),z(null,l,V),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=_(e,l,r),s&&o.appendChild(s);"svg"===l.m?V=!1:"foreignObject"===o.tagName&&(V=!0)}return o["s-hn"]=x,o},B=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=_(null,n,o),r&&(l[o].$=r,X(i,r,t)))},I=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;Q(t),e&&e.remove()}}},J=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),K=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(z(e,t,V="svg"===r||"foreignObject"!==r&&V),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],m=l.length-1,d=l[0],y=l[m];for(;i<=f&&c<=m;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==d)d=l[++c];else if(null==y)y=l[--m];else if(J(h,d,o))K(h,d,o),h=t[++i],d=l[++c];else if(J(p,y,o))K(p,y,o),p=t[--f],y=l[--m];else if(J(h,y,o))K(h,y,o),X(e,h.$,p.$.nextSibling),h=t[++i],y=l[--m];else if(J(p,d,o))K(p,d,o),X(e,p.$,h.$),p=t[--f],d=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===d.p){u=a;break}u>=0?(r=t[u],r.m!==d.m?s=_(t&&t[c],n,u):(K(r,d,o),t[u]=void 0,s=r.$),d=l[++c]):(s=_(t&&t[c],n,c),d=l[++c]),s&&X(h.$.parentNode,s,h.$)}i>f?B(e,null==l[m+1]?null:l[m+1].$,n,l,c,m):c>m&&I(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),B(l,null,t,s,0,s.length-1)):null!==o&&I(o,0,o.length-1),V&&"svg"===r&&(V=!1)):e.i!==i&&(l.data=i)},Q=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Q)},X=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Y=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Z=(e,t)=>{if(e.l|=16,!(4&e.l))return Y(e,e.j),g((()=>ee(e,t)));e.l|=512},ee=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=ie(n,"componentWillLoad")),te(l,(()=>le(e,n,t)))},te=(e,t)=>ne(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,le=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=U(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=N.get(e=e.head||e);if(r||N.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.O)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);oe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>se(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},oe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||T(null,null),r=(e=>e&&e.m===A)(t)?t:R(null,null,t);if(x=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,M=l["s-sc"],K(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},se=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,ce(t),ie(n,"componentDidLoad"),e.P(t),l||re()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>Z(e,!1))),e.l&=-517},re=()=>{ce(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"player-account-anonymization"}});return e.dispatchEvent(t),t})(u)))},ie=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ce=e=>e.classList.add("hydrated"),ue=(e,t,l)=>{var o,r;const i=e.prototype;if(t.L||t.R||e.watchers){e.watchers&&!t.R&&(t.R=e.watchers);const c=Object.entries(null!=(o=t.L)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.T.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:1&t?e+"":e)(l,o.L[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.T.set(t,l),a)){if(o.R&&128&u){const e=o.R[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&Z(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.R)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.R)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},ae=e=>{ie(e,"disconnectedCallback")},fe=(e,l={})=>{var o;const h=[],m=l.exclude||[],d=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),$=a.createElement("style"),v=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],L:l[2],A:l[3]};4&c.l&&(S=!0),c.L=l[2],c.M=[],c.R=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,T:new Map};l.N=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Y(t,t.j=n);break}}l.L&&Object.entries(l.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.U){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.U;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.W}" was not found`);l.isProxied||(n.R=l.watchers,ue(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=U(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>Z(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)?ae(e.t):(null==e?void 0:e.N)&&e.N.then((()=>ae(e.t)))}})()))}componentOnReady(){return n(this).N}};c.U=e[0],m.includes(u)||d.get(u)||(h.push(u),d.define(u,ue(a,c,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(re,30)))},he=e=>f.O=e;export{fe as b,R as h,h as p,l as r,he as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as e}from"./p-13c91541.js";const n={en:{title:"Account Anonymization",description:"According to the General Data Protection Regulation (GDPR), you have the right to anonymize your personal information from the system. This process will take up to 30 days, once started.",confirmation:"Please confirm that you wish to start the personal information anonymization process.",btnSubmit:"Submit Request",btnCancel:"Cancel",btnOpenConfirmationPopup:"Request Anonymization",successMsg:"The anonymization process was started successfully.",errorMsg:"An error occurred. Please try again later."},ro:{title:"Anonimizarea contului",description:"Conform Regulamentului General privind Protecția Datelor (GDPR), aveți dreptul de a anonimiza informațiile dvs. personale din sistem. Acest proces va dura până la 30 de zile de la inițiere.",confirmation:"Vă rugăm să confirmați că doriți să începeți procesul de anonimizare a informațiilor personale.",btnSubmit:"Trimite solicitarea",btnCancel:"Anulează",btnOpenConfirmationPopup:"Solicită anonimizarea",successMsg:"Procesul de anonimizare a fost inițiat cu succes.",errorMsg:"A apărut o eroare. Vă rugăm să încercați din nou mai târziu."},fr:{title:"Anonymisation du compte",description:"Conformément au Règlement général sur la protection des données (RGPD), vous avez le droit d'anonymiser vos informations personnelles du système. Ce processus prendra jusqu'à 30 jours une fois commencé.",confirmation:"Veuillez confirmer que vous souhaitez commencer le processus d'anonymisation de vos informations personnelles.",btnSubmit:"Soumettre la demande",btnCancel:"Annuler",btnOpenConfirmationPopup:"Demander l'anonymisation",successMsg:"Le processus d'anonymisation a été lancé avec succès.",errorMsg:"Une erreur s'est produite. Veuillez réessayer plus tard."},hu:{title:"Fiók anonimizálása",description:"A General Data Protection Regulation (GDPR) szerint joga van anonimizálni személyes adatait a rendszerből. Ez a folyamat legfeljebb 30 napig tart, miután elindult.",confirmation:"Kérjük, erősítse meg, hogy el kívánja indítani a személyes adatok anonimizálási folyamatát.",btnSubmit:"Kérelem benyújtása",btnCancel:"Mégse",btnOpenConfirmationPopup:"Anonimizálás kérése",successMsg:"Az anonimizálási folyamat sikeresen elindult.",errorMsg:"Hiba történt. Kérjük, próbálja meg később."},tr:{title:"Hesap Anonimleştirme",description:"Genel Veri Koruma Yönetmeliği'ne (GDPR) göre, kişisel bilgilerinizi sistemden anonimleştirme hakkına sahipsiniz. Bu işlem başlatıldıktan sonra 30 güne kadar sürebilir.",confirmation:"Kişisel bilgilerin anonimleştirilme sürecini başlatmak istediğinizi lütfen onaylayın.",btnSubmit:"Talebi Gönder",btnCancel:"İptal",btnOpenConfirmationPopup:"Anonimleştirme Talebi",successMsg:"Anonimleştirme süreci başarıyla başlatıldı.",errorMsg:"Bir hata oluştu. Lütfen daha sonra tekrar deneyin."},el:{title:"Ανωνυμοποίηση Λογαριασμού",description:"Σύμφωνα με τον Γενικό Κανονισμό Προστασίας Δεδομένων (GDPR), έχετε το δικαίωμα να ανωνυμοποιήσετε τα προσωπικά σας δεδομένα από το σύστημα. Αυτή η διαδικασία θα διαρκέσει έως και 30 ημέρες από την έναρξή της.",confirmation:"Παρακαλούμε επιβεβαιώστε ότι επιθυμείτε να ξεκινήσετε τη διαδικασία ανωνυμοποίησης προσωπικών δεδομένων.",btnSubmit:"Υποβολή Αιτήματος",btnCancel:"Ακύρωση",btnOpenConfirmationPopup:"Αίτημα Ανωνυμοποίησης",successMsg:"Η διαδικασία ανωνυμοποίησης ξεκίνησε με επιτυχία.",errorMsg:"Παρουσιάστηκε σφάλμα. Παρακαλούμε δοκιμάστε ξανά αργότερα."},es:{title:"Anonimización de Cuenta",description:"De acuerdo con el Reglamento General de Protección de Datos (GDPR), tiene el derecho de anonimizar su información personal del sistema. Este proceso tardará hasta 30 días una vez iniciado.",confirmation:"Por favor, confirme que desea iniciar el proceso de anonimización de la información personal.",btnSubmit:"Enviar Solicitud",btnCancel:"Cancelar",btnOpenConfirmationPopup:"Solicitar Anonimización",successMsg:"El proceso de anonimización se ha iniciado correctamente.",errorMsg:"Ocurrió un error. Por favor, inténtelo de nuevo más tarde."},pt:{title:"Anonimização de Conta",description:"De acordo com o Regulamento Geral de Proteção de Dados (GDPR), você tem o direito de anonimizar suas informações pessoais do sistema. Este processo levará até 30 dias após o início.",confirmation:"Por favor, confirme que deseja iniciar o processo de anonimização das informações pessoais.",btnSubmit:"Enviar Solicitação",btnCancel:"Cancelar",btnOpenConfirmationPopup:"Solicitar Anonimização",successMsg:"O processo de anonimização foi iniciado com sucesso.",errorMsg:"Ocorreu um erro. Por favor, tente novamente mais tarde."},hr:{title:"Anonimizacija računa",description:"Prema Općoj uredbi o zaštiti podataka (GDPR), imate pravo anonimizirati svoje osobne podatke iz sustava. Ovaj proces može potrajati do 30 dana nakon početka.",confirmation:"Molimo potvrdite da želite započeti proces anonimizacije osobnih podataka.",btnSubmit:"Pošalji zahtjev",btnCancel:"Otkaži",btnOpenConfirmationPopup:"Zatraži anonimizaciju",successMsg:"Proces anonimizacije uspješno je započeo.",errorMsg:"Došlo je do pogreške. Molimo pokušajte ponovno kasnije."}},o=(i,e)=>n[void 0!==e?e:"en"][i];function t(){const i=navigator.userAgent.toLowerCase(),e=screen.availWidth,n=screen.availHeight;if(i.includes("iphone"))return"mobile";if(i.includes("android")){if(n>e&&e<800)return"mobile";if(e>n&&n<800)return"tablet"}return"desktop"}function a(i,e){if(i){const n=document.createElement("style");n.innerHTML=e,i.appendChild(n)}}function r(i,e){const n=new URL(e);fetch(n.href).then((i=>i.text())).then((e=>{const n=document.createElement("style");n.innerHTML=e,i&&i.appendChild(n)})).catch((i=>{console.error("There was an error while trying to load client styling from URL",i)}))}const s=class{constructor(e){i(this,e),this.setClientStyling=()=>{const i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.setClientStylingURL=()=>{const i=new URL(this.clientStylingUrl),e=document.createElement("style");fetch(i.href).then((i=>i.text())).then((i=>{e.innerHTML=i,setTimeout((()=>{this.stylingContainer.prepend(e)}),1)})).catch((i=>{console.log("error ",i)}))},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.openConfirmationPopup=()=>{this.displayConfirmationPopup=!0},this.closeConfirmationPopup=()=>{this.displayConfirmationPopup=!1},this.submitRequest=()=>{const i=new URL(`${this.endpoint}/api/v1/players/legislation/anonymization`),e=new Headers;e.append("X-SessionId",this.session),fetch(i.href,{method:"POST",headers:e}).then((i=>{console.log("res :>> ",i),i.status<300?(window.postMessage({type:"PlayerAccountAnonymizationSuccessful"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorMsg",this.language)}},window.location.href)}))},this.endpoint=void 0,this.language=void 0,this.session=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.mbSource=void 0,this.translationUrl=void 0,this.isMobile="mobile"===t()||"tablet"===t(),this.displayConfirmationPopup=!1}handleClientStylingChange(i,e){i!=e&&a(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(i,e){i!=e&&this.clientStylingUrl&&r(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){var i;this.translationUrl&&await(i=this.translationUrl,new Promise((e=>{fetch(i).then((i=>i.json())).then((i=>{Object.keys(i).forEach((e=>{for(let o in i[e])n[e][o]=i[e][o]})),e(!0)}))})))}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(i,e){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{n.innerHTML=e,i&&i.appendChild(n)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&a(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&r(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}debounce(i,e){return function(...n){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>{i.apply(this,n)}),e)}}render(){return e("div",{key:"5b5971f67a3dab5bc0fa0ebda1003fdda80e07a3",class:"PlayerAccountAnonymization",ref:i=>this.stylingContainer=i},this.isMobile?e("div",{class:"ButtonReturn",onClick:this.toggleScreen},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},e("g",{transform:"translate(-20 -158)"},e("g",{transform:"translate(20 158)"},e("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),e("h2",{class:"Title Mobile"},o("title",this.language))):e("h2",{class:"Title"},o("title",this.language)),e("div",{key:"664847ea06fc76c6a1a2dd889aedeee662410fd6",class:"Description"},e("p",{key:"880be51ca500d44469fdf1bd9c16cb20c513e4c9"},o("description",this.language))),e("button",{key:"3fec26dc395295dee1aad17b645f24a7d5bf1607",class:"Button",onClick:this.openConfirmationPopup},o("btnOpenConfirmationPopup",this.language)),this.displayConfirmationPopup&&e("div",{key:"c8cf4cefcf6712582fd5ec56afb82866cc2e2ebc",class:"ConfirmationPopupWindow"},e("div",{key:"3441fc2d49d17b2a0dfbe6779eceebdc385738e3",class:"ConfirmationPopup"+(this.isMobile?" Mobile":"")},e("div",{key:"05c9c8da93fff89a38ca631b5c020e5871882d17",class:"Description"},e("p",{key:"6209af233f9e0258c368f90ccbd452aca8266b6e"},o("confirmation",this.language))),e("div",{key:"53f94e08d6087a4bfee970e5bd3ca76880940763",class:"ButtonContainer"},e("button",{key:"6062ba5208d653dcab5f330139bbfc9880795bdf",class:"Button"+(this.isMobile?" Mobile":""),onClick:this.debounce(this.submitRequest,850)},o("btnSubmit",this.language)),e("button",{key:"80aff49d71f9acc660cc2696eeb71fc52be97c28",class:"Button"+(this.isMobile?" Mobile":""),onClick:this.closeConfirmationPopup},o("btnCancel",this.language))))))}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};s.style=":host{display:block}.PlayerAccountAnonymization{font-family:inherit;width:100%;height:100%}.PlayerAccountAnonymization .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerAccountAnonymization .Title.Mobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerAccountAnonymization svg{fill:var(--emw--color-primary, #22B04E)}.PlayerAccountAnonymization .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerAccountAnonymization .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerAccountAnonymization .Button.Mobile{font-size:var(--emw--font-size-small, 14px);height:40px}.PlayerAccountAnonymization .Description{padding:10px;text-align:left;font-size:var(--emw--font-size-small, 14px)}.PlayerAccountAnonymization .ConfirmationPopupWindow{z-index:99999;background-color:var(--emw--color-gray-transparency-40, rgba(0, 0, 0, 0.4));display:flex;position:fixed;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup{max-width:600px;max-height:800px;align-items:center;position:relative;border:1px solid black;background-color:var(--emw--color-background, #FFFFFF);display:flex;flex-direction:column;gap:100px;padding:15px;border-radius:var(--emw--border-radius-medium, 10px)}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup.Mobile{max-width:300px;max-height:600px}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup .ButtonContainer{width:100%;display:flex;flex-direction:row;gap:20px;align-items:center}";export{s as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as player_account_anonymization}from"./p-54336bf4.js";import"./p-13c91541.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,b as t}from"./p-
|
|
1
|
+
import{p as n,b as t}from"./p-13c91541.js";export{s as setNonce}from"./p-13c91541.js";import{g as l}from"./p-e1255160.js";(()=>{const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),n(l)})().then((async n=>(await l(),t([["p-a22c5fc9",[[1,"player-account-anonymization",{endpoint:[513],language:[513],session:[513],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isMobile:[32],displayConfirmationPopup:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],n))));
|
|
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
-
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
-
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1020
1018
|
crossOrigin?: string;
|
|
1021
1019
|
crossorigin?: string;
|
|
1022
1020
|
loop?: boolean;
|
|
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
|
|
|
1566
1564
|
onSubmitCapture?: (event: Event) => void;
|
|
1567
1565
|
onInvalid?: (event: Event) => void;
|
|
1568
1566
|
onInvalidCapture?: (event: Event) => void;
|
|
1569
|
-
onBeforeToggle?: (event: Event) => void;
|
|
1570
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
|
1571
|
-
onToggle?: (event: Event) => void;
|
|
1572
|
-
onToggleCapture?: (event: Event) => void;
|
|
1573
1567
|
onLoad?: (event: Event) => void;
|
|
1574
1568
|
onLoadCapture?: (event: Event) => void;
|
|
1575
1569
|
onError?: (event: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],v=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&f.o?$(b):f.raf(b))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{w(m),w(y),(p=m.length>0)&&f.raf(b)},$=t=>h().then(t),g=v(y,!0),S=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!S(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?A(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=A(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},A=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),L={},N=(t,e)=>null==t||S(t)?t:1&e?t+"":t,R=new WeakMap,T=t=>"sc-"+t.$,D=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=U(n);let s=U(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const l=S(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(W);e=e.replace(F,""),n&&f.rel(t,e,n,l),o&&f.ael(t,e,o,l)}}},H=/\s/,U=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(H):[]),W="Capture",F=RegExp(W+"$"),V=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},s=e.u||{};for(const t of q(Object.keys(l)))t in s||D(o,t,l[t],void 0,n,e.o);for(const t of q(Object.keys(s)))D(o,t,l[t],s[t],n,e.o)};function q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var z=!1,G=(t,e,n)=>{const o=e.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else{if(z||(z="svg"===o.m),l=o.v=a.createElementNS(z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),z&&"foreignObject"===o.m&&(z=!1),V(null,o,z),o.h)for(i=0;i<o.h.length;++i)s=G(t,o,i),s&&l.appendChild(s);"svg"===o.m?z=!1:"foreignObject"===l.tagName&&(z=!0)}return l["s-hn"]=C,l},_=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=G(null,n,l),i&&(o[l].v=i,Q(r,i,e)))},B=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;K(e),t&&t.remove()}}},I=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),J=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,s=e.h,i=e.m,r=e.i;null===r?(V(t,e,z="svg"===i||"foreignObject"!==i&&z),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=e.length-1,h=e[0],d=e[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(I(h,m,l))J(h,m,l),h=e[++r],m=o[++c];else if(I(d,y,l))J(d,y,l),d=e[--f],y=o[--p];else if(I(h,y,l))J(h,y,l),Q(t,h.v,d.v.nextSibling),h=e[++r],y=o[--p];else if(I(d,m,l))J(d,m,l),Q(t,d.v,h.v),d=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(i=e[u],i.m!==m.m?s=G(e&&e[c],n,u):(J(i,m,l),e[u]=void 0,s=i.v),m=o[++c]):(s=G(e&&e[c],n,c),m=o[++c]),s&&Q(h.v.parentNode,s,h.v)}r>f?_(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&B(e,r,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),_(o,null,e,s,0,s.length-1)):!n&&null!==l&&B(l,0,l.length-1),z&&"svg"===i&&(z=!1)):t.i!==r&&(o.data=r)},K=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(K)},Q=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),X=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},Y=(t,e)=>{if(t.o|=16,!(4&t.o))return X(t,t.j),g((()=>Z(t,e)));t.o|=512},Z=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(l=it(o,"componentWillLoad",void 0,n)),tt(l,(()=>nt(t,o,e)))},tt=(t,e)=>et(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),et=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,nt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.O,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=T(e),l=r.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,i=R.get(t=t.head||t);if(i||R.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.k)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ot(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>lt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},ot=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.O,s=t.C||A(null,null),i=(t=>t&&t.m===L)(e)?e:P(null,null,e);if(C=o.tagName,l.M&&(i.u=i.u||{},l.M.map((([t,e])=>i.u[e]=o[t]))),n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.C=i,i.v=s.v=o.shadowRoot||o,J(s,i,n)})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},lt=t=>{const e=t.$hostElement$,n=t.t,o=t.j;64&t.o||(t.o|=64,rt(e),it(n,"componentDidLoad",void 0,e),t.P(e),o||st()),t.S&&(t.S(),t.S=void 0),512&t.o&&$((()=>Y(t,!1))),t.o&=-517},st=()=>{$((()=>(t=>{const e=f.ce("appload",{detail:{namespace:"player-account-anonymization"}});return t.dispatchEvent(e),e})(u)))},it=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},rt=t=>t.classList.add("hydrated"),ct=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.A.get(e),u=i.o,a=i.t;if(o=N(o,l.L[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.A.set(e,o),a)){if(l.N&&128&u){const t=l.N[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&Y(i,!1)}},ut=(t,e,o)=>{var l,s;const i=t.prototype;if(e.L||e.N||t.watchers){t.watchers&&!e.N&&(e.N=t.watchers);const r=Object.entries(null!=(l=e.L)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.L[t][0]|=2048),r&&(e.L[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.L[t][0]))return((t,e)=>n(this).A.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.A.get(t)?s=i.A.get(t):!i.A.get(t)&&n&&i.A.set(t,n),r.call(this,N(s,l)),void ct(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.L[t][0]))return ct(this,t,s,e),void(1&o&&!i.t&&i.R.then((()=>{4096&e.L[t][0]&&i.t[t]!==i.A.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.A.get(t)&&n&&i.A.set(t,n),i.t[t]=N(s,l),ct(this,t,i.t[t],e)};i.t?n():i.R.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){f.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.N)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.N)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.M)||l.push([t,s])),s}))]))}}return t},at=(t,e)=>{it(t,"disconnectedCallback",void 0,e||t)},ft=(t,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),w=a.createElement("style"),b=[];let $,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],$:o[1],L:o[2],T:o[3]};4&c.o&&(S=!0),c.L=o[2],c.M=[],c.N=null!=(l=o[4])?l:{};const u=c.$,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,O:n,A:new Map};o.R=new Promise((t=>o.P=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?b.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const e=n(t),o=e.O,l=()=>{};if(1&e.o)(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(e,e.j=n);break}}o.L&&Object.entries(o.L).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.D){const l=((t,e)=>{const n=t.$.replace(/-/g,"_"),o=t.D;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${e.H}" was not found`);o.isProxied||(n.N=o.watchers,ut(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=T(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.j,c=()=>Y(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.o)){const e=n(t);(null==e?void 0:e.t)?at(e.t,t):(null==e?void 0:e.R)&&e.R.then((()=>at(e.t,t)))}R.has(t)&&R.delete(t),t.shadowRoot&&R.has(t.shadowRoot)&&R.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const e=n(this),o=b.findIndex((t=>t===this));o>-1&&b.splice(o,1),(null==(t=null==e?void 0:e.C)?void 0:t.v)instanceof Node&&!e.C.v.isConnected&&delete e.C.v}))}componentOnReady(){return n(this).R}};c.D=t[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,ut(a,c,1)))}))})),h.length>0&&(S&&(w.textContent+=c),w.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=f.k)?l:j(a);null!=t&&w.setAttribute("nonce",t),y.insertBefore(w,v?v.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):f.jmp((()=>$=setTimeout(st,30)))},ht=t=>f.k=t;export{ft as b,P as h,h as p,o as r,ht as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as player_account_anonymization}from"./p-ed3364ec.js";import"./p-10f07bb8.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-10f07bb8.js";const n={en:{title:"Account Anonymization",description:"According to the General Data Protection Regulation (GDPR), you have the right to anonymize your personal information from the system. This process will take up to 30 days, once started.",confirmation:"Please confirm that you wish to start the personal information anonymization process.",btnSubmit:"Submit Request",btnCancel:"Cancel",btnOpenConfirmationPopup:"Request Anonymization",successMsg:"The anonymization process was started successfully.",errorMsg:"An error occurred. Please try again later."},ro:{title:"Anonimizarea contului",description:"Conform Regulamentului General privind Protecția Datelor (GDPR), aveți dreptul de a anonimiza informațiile dvs. personale din sistem. Acest proces va dura până la 30 de zile de la inițiere.",confirmation:"Vă rugăm să confirmați că doriți să începeți procesul de anonimizare a informațiilor personale.",btnSubmit:"Trimite solicitarea",btnCancel:"Anulează",btnOpenConfirmationPopup:"Solicită anonimizarea",successMsg:"Procesul de anonimizare a fost inițiat cu succes.",errorMsg:"A apărut o eroare. Vă rugăm să încercați din nou mai târziu."},fr:{title:"Anonymisation du compte",description:"Conformément au Règlement général sur la protection des données (RGPD), vous avez le droit d'anonymiser vos informations personnelles du système. Ce processus prendra jusqu'à 30 jours une fois commencé.",confirmation:"Veuillez confirmer que vous souhaitez commencer le processus d'anonymisation de vos informations personnelles.",btnSubmit:"Soumettre la demande",btnCancel:"Annuler",btnOpenConfirmationPopup:"Demander l'anonymisation",successMsg:"Le processus d'anonymisation a été lancé avec succès.",errorMsg:"Une erreur s'est produite. Veuillez réessayer plus tard."},hu:{title:"Fiók anonimizálása",description:"A General Data Protection Regulation (GDPR) szerint joga van anonimizálni személyes adatait a rendszerből. Ez a folyamat legfeljebb 30 napig tart, miután elindult.",confirmation:"Kérjük, erősítse meg, hogy el kívánja indítani a személyes adatok anonimizálási folyamatát.",btnSubmit:"Kérelem benyújtása",btnCancel:"Mégse",btnOpenConfirmationPopup:"Anonimizálás kérése",successMsg:"Az anonimizálási folyamat sikeresen elindult.",errorMsg:"Hiba történt. Kérjük, próbálja meg később."},tr:{title:"Hesap Anonimleştirme",description:"Genel Veri Koruma Yönetmeliği'ne (GDPR) göre, kişisel bilgilerinizi sistemden anonimleştirme hakkına sahipsiniz. Bu işlem başlatıldıktan sonra 30 güne kadar sürebilir.",confirmation:"Kişisel bilgilerin anonimleştirilme sürecini başlatmak istediğinizi lütfen onaylayın.",btnSubmit:"Talebi Gönder",btnCancel:"İptal",btnOpenConfirmationPopup:"Anonimleştirme Talebi",successMsg:"Anonimleştirme süreci başarıyla başlatıldı.",errorMsg:"Bir hata oluştu. Lütfen daha sonra tekrar deneyin."},el:{title:"Ανωνυμοποίηση Λογαριασμού",description:"Σύμφωνα με τον Γενικό Κανονισμό Προστασίας Δεδομένων (GDPR), έχετε το δικαίωμα να ανωνυμοποιήσετε τα προσωπικά σας δεδομένα από το σύστημα. Αυτή η διαδικασία θα διαρκέσει έως και 30 ημέρες από την έναρξή της.",confirmation:"Παρακαλούμε επιβεβαιώστε ότι επιθυμείτε να ξεκινήσετε τη διαδικασία ανωνυμοποίησης προσωπικών δεδομένων.",btnSubmit:"Υποβολή Αιτήματος",btnCancel:"Ακύρωση",btnOpenConfirmationPopup:"Αίτημα Ανωνυμοποίησης",successMsg:"Η διαδικασία ανωνυμοποίησης ξεκίνησε με επιτυχία.",errorMsg:"Παρουσιάστηκε σφάλμα. Παρακαλούμε δοκιμάστε ξανά αργότερα."},es:{title:"Anonimización de Cuenta",description:"De acuerdo con el Reglamento General de Protección de Datos (GDPR), tiene el derecho de anonimizar su información personal del sistema. Este proceso tardará hasta 30 días una vez iniciado.",confirmation:"Por favor, confirme que desea iniciar el proceso de anonimización de la información personal.",btnSubmit:"Enviar Solicitud",btnCancel:"Cancelar",btnOpenConfirmationPopup:"Solicitar Anonimización",successMsg:"El proceso de anonimización se ha iniciado correctamente.",errorMsg:"Ocurrió un error. Por favor, inténtelo de nuevo más tarde."},pt:{title:"Anonimização de Conta",description:"De acordo com o Regulamento Geral de Proteção de Dados (GDPR), você tem o direito de anonimizar suas informações pessoais do sistema. Este processo levará até 30 dias após o início.",confirmation:"Por favor, confirme que deseja iniciar o processo de anonimização das informações pessoais.",btnSubmit:"Enviar Solicitação",btnCancel:"Cancelar",btnOpenConfirmationPopup:"Solicitar Anonimização",successMsg:"O processo de anonimização foi iniciado com sucesso.",errorMsg:"Ocorreu um erro. Por favor, tente novamente mais tarde."},hr:{title:"Anonimizacija računa",description:"Prema Općoj uredbi o zaštiti podataka (GDPR), imate pravo anonimizirati svoje osobne podatke iz sustava. Ovaj proces može potrajati do 30 dana nakon početka.",confirmation:"Molimo potvrdite da želite započeti proces anonimizacije osobnih podataka.",btnSubmit:"Pošalji zahtjev",btnCancel:"Otkaži",btnOpenConfirmationPopup:"Zatraži anonimizaciju",successMsg:"Proces anonimizacije uspješno je započeo.",errorMsg:"Došlo je do pogreške. Molimo pokušajte ponovno kasnije."}},o=(e,i)=>n[void 0!==i?i:"en"][e];function t(){const e=navigator.userAgent.toLowerCase(),i=screen.availWidth,n=screen.availHeight;if(e.includes("iphone"))return"mobile";if(e.includes("android")){if(n>i&&i<800)return"mobile";if(i>n&&n<800)return"tablet"}return"desktop"}function a(e,i){if(e){const n=document.createElement("style");n.innerHTML=i,e.appendChild(n)}}function r(e,i){const n=new URL(i);fetch(n.href).then((e=>e.text())).then((i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}const s=class{constructor(i){e(this,i),this.isMobile="mobile"===t()||"tablet"===t(),this.displayConfirmationPopup=!1,this.setClientStyling=()=>{const e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.setClientStylingURL=()=>{const e=new URL(this.clientStylingUrl),i=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{i.innerHTML=e,setTimeout((()=>{this.stylingContainer.prepend(i)}),1)})).catch((e=>{console.log("error ",e)}))},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.openConfirmationPopup=()=>{this.displayConfirmationPopup=!0},this.closeConfirmationPopup=()=>{this.displayConfirmationPopup=!1},this.submitRequest=()=>{const e=new URL(`${this.endpoint}/api/v1/players/legislation/anonymization`),i=new Headers;i.append("X-SessionId",this.session),fetch(e.href,{method:"POST",headers:i}).then((e=>{console.log("res :>> ",e),e.status<300?(window.postMessage({type:"PlayerAccountAnonymizationSuccessful"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorMsg",this.language)}},window.location.href)}))}}handleClientStylingChange(e,i){e!=i&&a(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,i){e!=i&&this.clientStylingUrl&&r(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){var e;this.translationUrl&&await(e=this.translationUrl,new Promise((i=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((i=>{for(let o in e[i])n[i][o]=e[i][o]})),i(!0)}))})))}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(i,(i=>{n.innerHTML=i,e&&e.appendChild(n)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&a(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&r(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}debounce(e,i){return function(...n){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>{e.apply(this,n)}),i)}}render(){return i("div",{key:"5b5971f67a3dab5bc0fa0ebda1003fdda80e07a3",class:"PlayerAccountAnonymization",ref:e=>this.stylingContainer=e},this.isMobile?i("div",{class:"ButtonReturn",onClick:this.toggleScreen},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i("g",{transform:"translate(-20 -158)"},i("g",{transform:"translate(20 158)"},i("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i("h2",{class:"Title Mobile"},o("title",this.language))):i("h2",{class:"Title"},o("title",this.language)),i("div",{key:"664847ea06fc76c6a1a2dd889aedeee662410fd6",class:"Description"},i("p",{key:"880be51ca500d44469fdf1bd9c16cb20c513e4c9"},o("description",this.language))),i("button",{key:"3fec26dc395295dee1aad17b645f24a7d5bf1607",class:"Button",onClick:this.openConfirmationPopup},o("btnOpenConfirmationPopup",this.language)),this.displayConfirmationPopup&&i("div",{key:"c8cf4cefcf6712582fd5ec56afb82866cc2e2ebc",class:"ConfirmationPopupWindow"},i("div",{key:"3441fc2d49d17b2a0dfbe6779eceebdc385738e3",class:"ConfirmationPopup"+(this.isMobile?" Mobile":"")},i("div",{key:"05c9c8da93fff89a38ca631b5c020e5871882d17",class:"Description"},i("p",{key:"6209af233f9e0258c368f90ccbd452aca8266b6e"},o("confirmation",this.language))),i("div",{key:"53f94e08d6087a4bfee970e5bd3ca76880940763",class:"ButtonContainer"},i("button",{key:"6062ba5208d653dcab5f330139bbfc9880795bdf",class:"Button"+(this.isMobile?" Mobile":""),onClick:this.debounce(this.submitRequest,850)},o("btnSubmit",this.language)),i("button",{key:"80aff49d71f9acc660cc2696eeb71fc52be97c28",class:"Button"+(this.isMobile?" Mobile":""),onClick:this.closeConfirmationPopup},o("btnCancel",this.language))))))}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};s.style=":host{display:block}.PlayerAccountAnonymization{font-family:inherit;width:100%;height:100%}.PlayerAccountAnonymization .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerAccountAnonymization .Title.Mobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerAccountAnonymization svg{fill:var(--emw--color-primary, #22B04E)}.PlayerAccountAnonymization .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerAccountAnonymization .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerAccountAnonymization .Button.Mobile{font-size:var(--emw--font-size-small, 14px);height:40px}.PlayerAccountAnonymization .Description{padding:10px;text-align:left;font-size:var(--emw--font-size-small, 14px)}.PlayerAccountAnonymization .ConfirmationPopupWindow{z-index:99999;background-color:var(--emw--color-gray-transparency-40, rgba(0, 0, 0, 0.4));display:flex;position:fixed;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup{max-width:600px;max-height:800px;align-items:center;position:relative;border:1px solid black;background-color:var(--emw--color-background, #FFFFFF);display:flex;flex-direction:column;gap:100px;padding:15px;border-radius:var(--emw--border-radius-medium, 10px)}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup.Mobile{max-width:300px;max-height:600px}.PlayerAccountAnonymization .ConfirmationPopupWindow .ConfirmationPopup .ButtonContainer{width:100%;display:flex;flex-direction:row;gap:20px;align-items:center}";export{s as P}
|
|
File without changes
|