@everymatrix/player-account-controller 1.64.4 → 1.64.6
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/components/{GeneralLogout-B5B3mUfv.js → GeneralLogout-CYE3twI-.js} +1 -1
- package/components/{GeneralLogout-r9dFykD6.js → GeneralLogout-CgxHUYZx.js} +1 -1
- package/components/{GeneralLogout-CG738i36.cjs → GeneralLogout-Dzu2Sl-x.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-ClkfQNJv.js → PlayerAccountBettingHistory-B0IsJ01N.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BxRRiwpL.js → PlayerAccountBettingHistory-BXBMy618.js} +1 -1
- package/components/{PlayerAccountBettingHistory-B9b7N4rK.cjs → PlayerAccountBettingHistory-BtDZukYI.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CXxoE3xR.js → PlayerAccountBiometrics-CCk_4MyI.js} +1 -1
- package/components/{PlayerAccountBiometrics--jNdHq_x.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-B20VU-lf.js → PlayerAccountBiometrics-DrmVF6dX.js} +1 -1
- package/components/{PlayerAccountClosure-kB_XbZr0.js → PlayerAccountClosure-B_xwOPds.js} +1 -1
- package/components/{PlayerAccountClosure-CqoqzuI1.cjs → PlayerAccountClosure-DoZ91aH2.cjs} +1 -1
- package/components/{PlayerAccountClosure-vBb0buSf.js → PlayerAccountClosure-UwL_V2IO.js} +1 -1
- package/components/PlayerAccountController-2YSuQTHz.cjs +1 -0
- package/components/{PlayerAccountController-BUrcFu9n.js → PlayerAccountController-Cc4EqKHk.js} +133 -45
- package/components/{PlayerAccountController-DeZ4tBNI.js → PlayerAccountController-IrHGMtXL.js} +133 -45
- package/components/{PlayerAccountGamingLimits-COHvVmfz.js → PlayerAccountGamingLimits-AnMeb_za.js} +120 -122
- package/components/{PlayerAccountGamingLimits-D49iFtHC.js → PlayerAccountGamingLimits-BQpQpOUK.js} +120 -122
- package/components/PlayerAccountGamingLimits-CECZHZhj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DidMr0rR.js → PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-d82kkCRB.cjs → PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CzZmLOEg.js → PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BKzixLuo.js → PlayerAccountGamingLimitsGroupEdit-D9wXM6XQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit---hht9tC.cjs → PlayerAccountGamingLimitsGroupEdit-DEf_qyUJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DfIVa88G.js → PlayerAccountGamingLimitsGroupEdit-DL2QWrsv.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-CJGqCDFL.js → PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-uDPEWTzm.js → PlayerAccountGamingLimitsHistory2-Br4h7_eS.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BMAe0pe6.cjs → PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CDIlzmJc.cjs → PlayerAccountGamingLimitsInfoCard-BU4O8oYP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DRcFna0f.js → PlayerAccountGamingLimitsInfoCard-CQ1M9gFg.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-BP5euXH9.js → PlayerAccountGamingLimitsInfoCard-DUJdJfgA.js} +3 -3
- package/components/PlayerAccountGamingLimitsPage2Gm16-1MHXK8_z.cjs +24 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-XxyZ9_Ag.js → PlayerAccountGamingLimitsPage2Gm16-BjfK_iDR.js} +493 -470
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C7c5d1aD.js → PlayerAccountGamingLimitsPage2Gm16-C-Nmj0Ga.js} +286 -263
- package/components/{PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B4IR8T1h.js → PlayerAccountGamingLimitsPopup-DTb6cpuT.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CyDdC98K.js → PlayerAccountGamingLimitsPopup-Dz9ROowj.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-6DvWdMaR.js → PlayerAccountGamingLimitsWrapper2-C-QNq3OK.js} +196 -170
- package/components/{PlayerAccountGamingLimitsWrapper2-CsWVj_tw.js → PlayerAccountGamingLimitsWrapper2-DGZxZGtI.js} +199 -173
- package/components/PlayerAccountGamingLimitsWrapper2-DhBkO3QY.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CZkaGeVc.cjs → PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BxjoWG2M.js → PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CW_W1pe4.js → PlayerAccountGeneralConfirmationModal-lHX_vmhB.js} +1 -1
- package/components/PlayerAccountMenu-BZnkRiU-.cjs +1 -0
- package/components/{PlayerAccountMenu-Q9TA1YuM.js → PlayerAccountMenu-D4d9TQsD.js} +253 -258
- package/components/{PlayerAccountMenu-mgJz03gX.js → PlayerAccountMenu-j3TA2Osb.js} +254 -257
- package/components/{PlayerAccountModal-BVOMSchH.js → PlayerAccountModal-Cbpkb5P6.js} +1 -1
- package/components/{PlayerAccountModal-DOARFyxN.js → PlayerAccountModal-Co5a_OZZ.js} +1 -1
- package/components/{PlayerAccountModal-DISAz4QD.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountNotifications-IxjSAXFH.js → PlayerAccountNotifications-CkbUxjuk.js} +63 -71
- package/components/PlayerAccountNotifications-ejASOsrU.cjs +1 -0
- package/components/PlayerAccountNotifications-f0A-2obd.js +363 -0
- package/components/{PlayerAccountSelfExclusion-ZPrLTTIE.js → PlayerAccountSelfExclusion-B30asKGL.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Do4DebUu.cjs → PlayerAccountSelfExclusion-Bes4cKP4.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DlYHEzCp.js → PlayerAccountSelfExclusion-CIIQB9SA.js} +1 -1
- package/components/{PlayerAccountTimeout-2Yyx53wc.js → PlayerAccountTimeout-CGxx9ugx.js} +3 -3
- package/components/{PlayerAccountTimeout-BPJMj8oi.js → PlayerAccountTimeout-DHW7o1Ku.js} +3 -3
- package/components/{PlayerAccountTimeout-B09Tevgw.cjs → PlayerAccountTimeout-DSHSPHID.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-zmSP1ZKW.js → PlayerAccountTransactionsHistory-BkD7oheQ.js} +1526 -1491
- package/components/{PlayerAccountTransactionsHistory-P3vGWL_D.cjs → PlayerAccountTransactionsHistory-DV6Lliwo.cjs} +181 -181
- package/components/{PlayerAccountTransactionsHistory-Dba-1fZy.js → PlayerAccountTransactionsHistory-iW7mxyG2.js} +1529 -1494
- package/components/{PlayerActiveBonuses-Cnf-c88r.js → PlayerActiveBonuses-BkPKWz44.js} +2 -2
- package/components/{PlayerActiveBonuses-Bj5sHOFf.js → PlayerActiveBonuses-BoBuEiVq.js} +2 -2
- package/components/{PlayerActiveBonuses-CB4JoF7y.cjs → PlayerActiveBonuses-CUk_4d3L.cjs} +1 -1
- package/components/{PlayerBonusCard-DMvtaR-V.js → PlayerBonusCard-BSqijMx_.js} +2 -2
- package/components/{PlayerBonusCard-eqIrxB9j.cjs → PlayerBonusCard-Dtncif7M.cjs} +1 -1
- package/components/{PlayerBonusCard-CuF29mGk.js → PlayerBonusCard-iIM90Mie.js} +2 -2
- package/components/{PlayerBonusHistory-B7tMKaEc.js → PlayerBonusHistory-BE8tXKlu.js} +4 -4
- package/components/{PlayerBonusHistory-BfvcYocH.cjs → PlayerBonusHistory-BVlVMBRb.cjs} +1 -1
- package/components/{PlayerBonusHistory-ke-7rwfJ.js → PlayerBonusHistory-DzHpQcXW.js} +4 -4
- package/components/{PlayerChangePassword-B9C99DR9.js → PlayerChangePassword-C2ZoKuCq.js} +480 -482
- package/components/{PlayerChangePassword-C9U6ApPn.js → PlayerChangePassword-ChwKfBC6.js} +480 -482
- package/components/{PlayerChangePassword-CsxcNZiB.cjs → PlayerChangePassword-LgjKzYU1.cjs} +2 -2
- package/components/{PlayerDeposit-6Abphyko.js → PlayerDeposit-BPZ5wCAZ.js} +1 -1
- package/components/{PlayerDeposit-CjdOaig0.cjs → PlayerDeposit-Dzg8Ltb1.cjs} +1 -1
- package/components/{PlayerDeposit-BuA6tlyq.js → PlayerDeposit-VLcz0tQH.js} +1 -1
- package/components/{PlayerGamingHistory-DXXD8epD.js → PlayerGamingHistory-7-nlWdAn.js} +399 -402
- package/components/{PlayerGamingHistory-CPeYEJZ4.js → PlayerGamingHistory-BgXf3USX.js} +372 -375
- package/components/PlayerGamingHistory-Dp_pFQIN.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-B9YXwRUU.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DZS_YLjN.js → PlayerPendingWithdrawals-DeNKdUgJ.js} +1 -1
- package/components/{PlayerPendingWithdrawals-FZpSPcJv.js → PlayerPendingWithdrawals-go7okUzL.js} +1 -1
- package/components/{PlayerProfileInfo-C4O0IVWb.js → PlayerProfileInfo-B6mAu_YA.js} +623 -624
- package/components/{PlayerProfileInfo-BmVESplJ.js → PlayerProfileInfo-C5-4-WGv.js} +628 -629
- package/components/PlayerProfileInfo-Cc6HVNlU.cjs +1 -0
- package/components/PlayerRealityCheck-BrVF76qp.cjs +1 -0
- package/components/{PlayerRealityCheck-DiUi9mKo.js → PlayerRealityCheck-C2TUMl9-.js} +176 -176
- package/components/{PlayerRealityCheck-mv6Q6O_O.js → PlayerRealityCheck-DMNAglZN.js} +180 -180
- package/components/{PlayerTransactionHistory-Bh5t7Moq.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BA_pB3TF.js → PlayerTransactionHistory-A-aVfyoc.js} +1 -1
- package/components/{PlayerTransactionHistory-DcLM7g7T.js → PlayerTransactionHistory-BFV_XJw9.js} +1 -1
- package/components/{PlayerWithdrawal-DXWxKqhW.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-DQtXexHO.js → PlayerWithdrawal-B_wQZI_t.js} +1 -1
- package/components/{PlayerWithdrawal-DfvIhSRo.js → PlayerWithdrawal-CTttZqLr.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountController-DoD4S-nh.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BeNIpTyB.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-B7J_kBhp.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2-Nsp8qnBy.cjs +0 -1
- package/components/PlayerAccountMenu-CF9cNbUq.cjs +0 -1
- package/components/PlayerAccountNotifications-0OisRcYn.cjs +0 -1
- package/components/PlayerAccountNotifications-CwmrLgbX.js +0 -371
- package/components/PlayerGamingHistory-WUVBC7Zm.cjs +0 -1
- package/components/PlayerProfileInfo-BqzfGqWe.cjs +0 -1
- package/components/PlayerRealityCheck-CHhkuZko.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as W, S as j, i as A, s as H, f, b as q, d as L, I as w, J as m, a0 as B, _ as F, g as z, F as I, u as J, H as K, a3 as S, W as N, K as P, L as R, M as U, h as M, j as _, o as y, w as v, x as G, y as O, z as Q, A as T } from "./GeneralLogout-
|
|
1
|
+
import { a2 as W, S as j, i as A, s as H, f, b as q, d as L, I as w, J as m, a0 as B, _ as F, g as z, F as I, u as J, H as K, a3 as S, W as N, K as P, L as R, M as U, h as M, j as _, o as y, w as v, x as G, y as O, z as Q, A as T } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
2
|
function k(e, { delay: t = 0, duration: n = 400, easing: i = W } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as W, S as j, i as A, s as H, f, b as q, d as L, I as w, J as m, a0 as B, _ as F, g as z, F as I, u as J, H as K, a3 as S, W as N, K as P, L as R, M as U, h as M, j as _, o as y, w as v, x as G, y as O, z as Q, A as T } from "./GeneralLogout-
|
|
1
|
+
import { a2 as W, S as j, i as A, s as H, f, b as q, d as L, I as w, J as m, a0 as B, _ as F, g as z, F as I, u as J, H as K, a3 as S, W as N, K as P, L as R, M as U, h as M, j as _, o as y, w as v, x as G, y as O, z as Q, A as T } from "./GeneralLogout-CYE3twI-.js";
|
|
2
2
|
function k(e, { delay: t = 0, duration: n = 400, easing: i = W } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-Dzu2Sl-x.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|
package/components/{PlayerAccountNotifications-IxjSAXFH.js → PlayerAccountNotifications-CkbUxjuk.js}
RENAMED
|
@@ -1,56 +1,48 @@
|
|
|
1
|
-
import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as
|
|
1
|
+
import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as b, g as x, j as g, q as S, u as G, w as J, O as M, P as I, h, o as s, k as A, a1 as B, c as K, Z as H, m as X, e as v, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
2
|
import "../stencil/ui-skeleton-C974aG7g.js";
|
|
3
3
|
function it(a) {
|
|
4
|
-
Z(a, "svelte-
|
|
4
|
+
Z(a, "svelte-1yq4evv", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function W(a, t, n) {
|
|
7
7
|
const e = a.slice();
|
|
8
8
|
return e[24] = t[n], e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function L(a, t, n) {
|
|
11
11
|
const e = a.slice();
|
|
12
12
|
return e[21] = t[n], e;
|
|
13
13
|
}
|
|
14
14
|
function nt(a) {
|
|
15
|
-
let t, n =
|
|
15
|
+
let t, n = M(
|
|
16
16
|
/*notificationsData*/
|
|
17
17
|
a[1]
|
|
18
18
|
), e = [];
|
|
19
19
|
for (let i = 0; i < n.length; i += 1)
|
|
20
|
-
e[i] =
|
|
20
|
+
e[i] = z(W(a, n, i));
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
23
23
|
t = g("div");
|
|
24
24
|
for (let i = 0; i < e.length; i += 1)
|
|
25
25
|
e[i].c();
|
|
26
26
|
s(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
27
|
-
(a[3]
|
|
28
|
-
a[
|
|
29
|
-
/*isMobile*/
|
|
30
|
-
a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
31
|
-
))), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
32
|
-
(a[3] && /*mediaQuery*/
|
|
33
|
-
a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
34
|
-
/*isMobile*/
|
|
35
|
-
a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
36
|
-
)));
|
|
27
|
+
(a[3] ? "PlayerAccountNotificationsMobileContainer" : "")), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
28
|
+
(a[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
|
|
37
29
|
},
|
|
38
30
|
m(i, o) {
|
|
39
|
-
|
|
31
|
+
x(i, t, o);
|
|
40
32
|
for (let l = 0; l < e.length; l += 1)
|
|
41
33
|
e[l] && e[l].m(t, null);
|
|
42
34
|
},
|
|
43
35
|
p(i, o) {
|
|
44
36
|
if (o & /*notificationsData*/
|
|
45
37
|
2) {
|
|
46
|
-
n =
|
|
38
|
+
n = M(
|
|
47
39
|
/*notificationsData*/
|
|
48
40
|
i[1]
|
|
49
41
|
);
|
|
50
42
|
let l;
|
|
51
43
|
for (l = 0; l < n.length; l += 1) {
|
|
52
|
-
const c =
|
|
53
|
-
e[l] ? e[l].p(c, o) : (e[l] =
|
|
44
|
+
const c = W(i, n, l);
|
|
45
|
+
e[l] ? e[l].p(c, o) : (e[l] = z(c), e[l].c(), e[l].m(t, null));
|
|
54
46
|
}
|
|
55
47
|
for (; l < e.length; l += 1)
|
|
56
48
|
e[l].d(1);
|
|
@@ -58,14 +50,14 @@ function nt(a) {
|
|
|
58
50
|
}
|
|
59
51
|
},
|
|
60
52
|
d(i) {
|
|
61
|
-
i &&
|
|
53
|
+
i && b(t), I(e, i);
|
|
62
54
|
}
|
|
63
55
|
};
|
|
64
56
|
}
|
|
65
57
|
function ot(a) {
|
|
66
|
-
let t, n, e =
|
|
58
|
+
let t, n, e = M({ length: 3 }), i = [];
|
|
67
59
|
for (let o = 0; o < e.length; o += 1)
|
|
68
|
-
i[o] = L(
|
|
60
|
+
i[o] = F(L(a, e, o));
|
|
69
61
|
return {
|
|
70
62
|
c() {
|
|
71
63
|
t = g("div"), n = g("div");
|
|
@@ -74,18 +66,18 @@ function ot(a) {
|
|
|
74
66
|
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
75
67
|
},
|
|
76
68
|
m(o, l) {
|
|
77
|
-
|
|
69
|
+
x(o, t, l), h(t, n);
|
|
78
70
|
for (let c = 0; c < i.length; c += 1)
|
|
79
71
|
i[c] && i[c].m(n, null);
|
|
80
72
|
},
|
|
81
73
|
p(o, l) {
|
|
82
74
|
if (l & /*isMobile, mediaQuery*/
|
|
83
75
|
24) {
|
|
84
|
-
e =
|
|
76
|
+
e = M({ length: 3 });
|
|
85
77
|
let c;
|
|
86
78
|
for (c = 0; c < e.length; c += 1) {
|
|
87
|
-
const f =
|
|
88
|
-
i[c] ? i[c].p(f, l) : (i[c] =
|
|
79
|
+
const f = L(o, e, c);
|
|
80
|
+
i[c] ? i[c].p(f, l) : (i[c] = F(f), i[c].c(), i[c].m(n, null));
|
|
89
81
|
}
|
|
90
82
|
for (; c < i.length; c += 1)
|
|
91
83
|
i[c].d(1);
|
|
@@ -93,23 +85,23 @@ function ot(a) {
|
|
|
93
85
|
}
|
|
94
86
|
},
|
|
95
87
|
d(o) {
|
|
96
|
-
o &&
|
|
88
|
+
o && b(t), I(i, o);
|
|
97
89
|
}
|
|
98
90
|
};
|
|
99
91
|
}
|
|
100
|
-
function
|
|
92
|
+
function z(a) {
|
|
101
93
|
let t, n, e, i, o, l, c, f = (
|
|
102
94
|
/*notification*/
|
|
103
95
|
a[24].title + ""
|
|
104
|
-
),
|
|
96
|
+
), p, _, u, k = (
|
|
105
97
|
/*notification*/
|
|
106
98
|
a[24].description + ""
|
|
107
|
-
),
|
|
99
|
+
), P;
|
|
108
100
|
return {
|
|
109
101
|
c() {
|
|
110
|
-
t = g("div"), n = g("div"), e = g("img"), l =
|
|
102
|
+
t = g("div"), n = g("div"), e = g("img"), l = A(), c = g("p"), p = X(f), _ = A(), u = g("p"), P = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
111
103
|
a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
112
|
-
a[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"),
|
|
104
|
+
a[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
|
|
113
105
|
t,
|
|
114
106
|
"background",
|
|
115
107
|
/*notification*/
|
|
@@ -117,19 +109,19 @@ function I(a) {
|
|
|
117
109
|
);
|
|
118
110
|
},
|
|
119
111
|
m(m, d) {
|
|
120
|
-
|
|
112
|
+
x(m, t, d), h(t, n), h(n, e), h(n, l), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = k, h(t, P);
|
|
121
113
|
},
|
|
122
114
|
p(m, d) {
|
|
123
115
|
d & /*notificationsData*/
|
|
124
|
-
2 && !
|
|
116
|
+
2 && !B(e.src, i = /*notification*/
|
|
125
117
|
m[24].icon) && s(e, "src", i), d & /*notificationsData*/
|
|
126
118
|
2 && o !== (o = /*notification*/
|
|
127
119
|
m[24].title) && s(e, "alt", o), d & /*notificationsData*/
|
|
128
120
|
2 && f !== (f = /*notification*/
|
|
129
|
-
m[24].title + "") && K(
|
|
130
|
-
2 &&
|
|
131
|
-
m[24].description + "") && (u.innerHTML =
|
|
132
|
-
2 &&
|
|
121
|
+
m[24].title + "") && K(p, f), d & /*notificationsData*/
|
|
122
|
+
2 && k !== (k = /*notification*/
|
|
123
|
+
m[24].description + "") && (u.innerHTML = k), d & /*notificationsData*/
|
|
124
|
+
2 && H(
|
|
133
125
|
t,
|
|
134
126
|
"background",
|
|
135
127
|
/*notification*/
|
|
@@ -137,15 +129,15 @@ function I(a) {
|
|
|
137
129
|
);
|
|
138
130
|
},
|
|
139
131
|
d(m) {
|
|
140
|
-
m &&
|
|
132
|
+
m && b(t);
|
|
141
133
|
}
|
|
142
134
|
};
|
|
143
135
|
}
|
|
144
|
-
function
|
|
136
|
+
function lt(a) {
|
|
145
137
|
let t;
|
|
146
138
|
return {
|
|
147
139
|
c() {
|
|
148
|
-
t = g("ui-skeleton"),
|
|
140
|
+
t = g("ui-skeleton"), v(t, "structure", "rectangle"), v(t, "width", "auto"), v(
|
|
149
141
|
t,
|
|
150
142
|
"height",
|
|
151
143
|
/*isMobile*/
|
|
@@ -154,50 +146,50 @@ function at(a) {
|
|
|
154
146
|
);
|
|
155
147
|
},
|
|
156
148
|
m(n, e) {
|
|
157
|
-
|
|
149
|
+
x(n, t, e);
|
|
158
150
|
},
|
|
159
151
|
p: C,
|
|
160
152
|
d(n) {
|
|
161
|
-
n &&
|
|
153
|
+
n && b(t);
|
|
162
154
|
}
|
|
163
155
|
};
|
|
164
156
|
}
|
|
165
|
-
function
|
|
157
|
+
function at(a) {
|
|
166
158
|
let t;
|
|
167
159
|
return {
|
|
168
160
|
c() {
|
|
169
|
-
t = g("ui-skeleton"), t.innerHTML = "",
|
|
161
|
+
t = g("ui-skeleton"), t.innerHTML = "", v(t, "structure", "rectangle"), v(t, "width", "auto"), v(t, "height", "130px");
|
|
170
162
|
},
|
|
171
163
|
m(n, e) {
|
|
172
|
-
|
|
164
|
+
x(n, t, e);
|
|
173
165
|
},
|
|
174
166
|
p: C,
|
|
175
167
|
d(n) {
|
|
176
|
-
n &&
|
|
168
|
+
n && b(t);
|
|
177
169
|
}
|
|
178
170
|
};
|
|
179
171
|
}
|
|
180
|
-
function
|
|
172
|
+
function F(a) {
|
|
181
173
|
let t, n;
|
|
182
174
|
function e(l, c) {
|
|
183
175
|
return (
|
|
184
176
|
/*isMobile*/
|
|
185
|
-
l[3] ?
|
|
177
|
+
l[3] ? lt : at
|
|
186
178
|
);
|
|
187
179
|
}
|
|
188
180
|
let o = e(a)(a);
|
|
189
181
|
return {
|
|
190
182
|
c() {
|
|
191
|
-
t = g("div"), o.c(), n =
|
|
183
|
+
t = g("div"), o.c(), n = A(), s(t, "class", "skeletonNotification");
|
|
192
184
|
},
|
|
193
185
|
m(l, c) {
|
|
194
|
-
|
|
186
|
+
x(l, t, c), o.m(t, null), h(t, n);
|
|
195
187
|
},
|
|
196
188
|
p(l, c) {
|
|
197
189
|
o.p(l, c);
|
|
198
190
|
},
|
|
199
191
|
d(l) {
|
|
200
|
-
l &&
|
|
192
|
+
l && b(t), o.d();
|
|
201
193
|
}
|
|
202
194
|
};
|
|
203
195
|
}
|
|
@@ -221,7 +213,7 @@ function ct(a) {
|
|
|
221
213
|
t = g("div"), i && i.c();
|
|
222
214
|
},
|
|
223
215
|
m(o, l) {
|
|
224
|
-
|
|
216
|
+
x(o, t, l), i && i.m(t, null), a[13](t);
|
|
225
217
|
},
|
|
226
218
|
p(o, [l]) {
|
|
227
219
|
e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
@@ -229,36 +221,36 @@ function ct(a) {
|
|
|
229
221
|
i: C,
|
|
230
222
|
o: C,
|
|
231
223
|
d(o) {
|
|
232
|
-
o &&
|
|
224
|
+
o && b(t), i && i.d(), a[13](null);
|
|
233
225
|
}
|
|
234
226
|
};
|
|
235
227
|
}
|
|
236
228
|
function rt(a, t, n) {
|
|
237
|
-
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
229
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, P = window.navigator.userAgent, m = S(P) !== "PC", d = [], N = [], q = R();
|
|
238
230
|
const D = window.matchMedia("(min-width: 768px)");
|
|
239
231
|
function R() {
|
|
240
|
-
const r =
|
|
232
|
+
const r = S(P);
|
|
241
233
|
if (r)
|
|
242
234
|
return r === "PC" ? "dk" : "mtWeb";
|
|
243
235
|
}
|
|
244
236
|
const j = () => {
|
|
245
237
|
const r = new URL(`${i}/${e}/support-information`);
|
|
246
|
-
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", q), fetch(r.href).then((
|
|
247
|
-
|
|
248
|
-
|
|
238
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", q), fetch(r.href).then((w) => w.json()).then((w) => {
|
|
239
|
+
w.length && (n(1, d = w[0].children), d?.forEach((E) => {
|
|
240
|
+
N.length && (E.backgroundColor = N[0], N.shift());
|
|
249
241
|
}));
|
|
250
|
-
}).catch((
|
|
251
|
-
console.error(
|
|
242
|
+
}).catch((w) => {
|
|
243
|
+
console.error(w);
|
|
252
244
|
}).finally(() => {
|
|
253
245
|
setTimeout(
|
|
254
246
|
() => {
|
|
255
|
-
n(2,
|
|
247
|
+
n(2, k = !1);
|
|
256
248
|
},
|
|
257
249
|
1e3
|
|
258
250
|
);
|
|
259
251
|
});
|
|
260
|
-
},
|
|
261
|
-
c.replace(" ", ""),
|
|
252
|
+
}, T = () => {
|
|
253
|
+
c.replace(" ", ""), N = c.split(",");
|
|
262
254
|
};
|
|
263
255
|
G(() => () => {
|
|
264
256
|
});
|
|
@@ -268,19 +260,19 @@ function rt(a, t, n) {
|
|
|
268
260
|
});
|
|
269
261
|
}
|
|
270
262
|
return a.$$set = (r) => {
|
|
271
|
-
"lang" in r && n(5, e = r.lang), "cmsendpoint" in r && n(6, i = r.cmsendpoint), "env" in r && n(7, o = r.env), "userroles" in r && n(8, l = r.userroles), "customnotif" in r && n(9, c = r.customnotif), "clientstyling" in r && n(10, f = r.clientstyling), "clientstylingurl" in r && n(11,
|
|
263
|
+
"lang" in r && n(5, e = r.lang), "cmsendpoint" in r && n(6, i = r.cmsendpoint), "env" in r && n(7, o = r.env), "userroles" in r && n(8, l = r.userroles), "customnotif" in r && n(9, c = r.customnotif), "clientstyling" in r && n(10, f = r.clientstyling), "clientstylingurl" in r && n(11, p = r.clientstylingurl), "mbsource" in r && n(12, _ = r.mbsource);
|
|
272
264
|
}, a.$$.update = () => {
|
|
273
265
|
a.$$.dirty & /*customnotif*/
|
|
274
|
-
512 && c &&
|
|
275
|
-
2 && d &&
|
|
266
|
+
512 && c && T(), a.$$.dirty & /*notificationsData*/
|
|
267
|
+
2 && d && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
276
268
|
480 && l && i && o && e && j(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
269
|
1025 && f && u && Y(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
-
2049 &&
|
|
270
|
+
2049 && p && u && $(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
279
271
|
4097 && _ && u && tt(u, `${_}.Style`);
|
|
280
272
|
}, [
|
|
281
273
|
u,
|
|
282
274
|
d,
|
|
283
|
-
|
|
275
|
+
k,
|
|
284
276
|
m,
|
|
285
277
|
D,
|
|
286
278
|
e,
|
|
@@ -289,7 +281,7 @@ function rt(a, t, n) {
|
|
|
289
281
|
l,
|
|
290
282
|
c,
|
|
291
283
|
f,
|
|
292
|
-
|
|
284
|
+
p,
|
|
293
285
|
_,
|
|
294
286
|
U
|
|
295
287
|
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function H(a){e.append_styles(a,"svelte-1yq4evv",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function x(a,t,o){const n=a.slice();return n[24]=t[o],n}function v(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=w(x(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=x(i,o,r);n[r]?n[r].p(c,l):(n[r]=w(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function W(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=P(v(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const f=v(l,n,c);i[c]?i[c].p(f,r):(i[c]=P(f),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function w(a){let t,o,n,i,l,r,c,f=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(f),p=e.space(),u=e.element("p"),y=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(m,d){e.insert(m,t,d),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,y)},p(m,d){d&2&&!e.src_url_equal(n.src,i=m[24].icon)&&e.attr(n,"src",i),d&2&&l!==(l=m[24].title)&&e.attr(n,"alt",l),d&2&&f!==(f=m[24].title+"")&&e.set_data(g,f),d&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),d&2&&e.set_style(t,"background",m[24].backgroundColor)},d(m){m&&e.detach(t)}}}function q(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function P(a){let t,o;function n(r,c){return r[3]?q:F}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function I(a){let t;function o(l,r){var c;if(l[2])return W;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function z(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h=!0,y=window.navigator.userAgent,m=e.getDevice(y)!=="PC",d=[],k=[],A=M();const C=window.matchMedia("(min-width: 768px)");function M(){const s=e.getDevice(y);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",A),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{k.length&&(B.backgroundColor=k[0],k.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},b=()=>{c.replace(" ",""),k=c.split(",")};e.onMount(()=>()=>{});function S(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,f=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&b(),a.$$.dirty&2&&d&&b(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&f&&u&&e.setClientStyling(u,f),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`)},[u,d,h,m,C,n,i,l,r,c,f,g,p,S]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,z,I,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},H)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=N;
|