@everymatrix/player-account-controller 1.77.19 → 1.77.20
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-CaOBPi7K.cjs +21 -0
- package/components/{GeneralLogout-BK7W4djM.js → GeneralLogout-Du9WN0Xh.js} +807 -850
- package/components/{GeneralLogout-CvdWFdpo.js → GeneralLogout-xlnvhOTj.js} +835 -878
- package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-BiSqE8WU.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-nZ8LinMC.js → PlayerAccountBettingHistory-CVIyVRm6.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C64EtltO.js → PlayerAccountBettingHistory-D2fkWAZy.js} +1 -1
- package/components/{PlayerAccountBiometrics-BlO9_i-W.js → PlayerAccountBiometrics-800xfV54.js} +1 -1
- package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-BxWi0P45.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DThKgPi7.js → PlayerAccountBiometrics-DHHeeAQY.js} +1 -1
- package/components/{PlayerAccountClosure-CwXvvWRK.js → PlayerAccountClosure-BKQYj0jD.js} +1 -1
- package/components/{PlayerAccountClosure-BxDE3-YO.cjs → PlayerAccountClosure-BmcRiyQz.cjs} +1 -1
- package/components/{PlayerAccountClosure-Ccw2bW0u.js → PlayerAccountClosure-DZkt21Fk.js} +1 -1
- package/components/{PlayerAccountController-CEKTodyG.js → PlayerAccountController-CBGFsqix.js} +24 -24
- package/components/{PlayerAccountController-CPrx847O.js → PlayerAccountController-Cr7nw2a_.js} +24 -24
- package/components/{PlayerAccountController-DUeHF8xi.cjs → PlayerAccountController-oqvsO88z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C7NrDdgX.js → PlayerAccountGamingLimits-B-_9A0Kh.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Drat7yFH.js → PlayerAccountGamingLimits-DXKCpahW.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BrCEdqWf.cjs → PlayerAccountGamingLimits-DlNtylIQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CzJ2YE0J.js → PlayerAccountGamingLimitsConfirmationModal-CH2_5wj1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-gw5_UaO9.js → PlayerAccountGamingLimitsConfirmationModal-CZoChMjm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs → PlayerAccountGamingLimitsConfirmationModal-Oye218aQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BsK3Gkal.js → PlayerAccountGamingLimitsGroupEdit-BRvPS4fD.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs → PlayerAccountGamingLimitsGroupEdit-CTznL5RJ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-DED1UDUG.js → PlayerAccountGamingLimitsGroupEdit-DkQ1qDC6.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BNSENHSR.js → PlayerAccountGamingLimitsHistory2-BFPiJ6vd.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-1-KN4dJo.js → PlayerAccountGamingLimitsHistory2-Bb3AUa3Y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs → PlayerAccountGamingLimitsHistory2-DsU7oTqu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CYi0QXjt.js → PlayerAccountGamingLimitsInfoCard-BElXXlnM.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs → PlayerAccountGamingLimitsInfoCard-BOA7JmIM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CZy8Z70F.js → PlayerAccountGamingLimitsInfoCard-DlSJIVr6.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs → PlayerAccountGamingLimitsPage2Gm16-BfR9C9TP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dwc_eapv.js → PlayerAccountGamingLimitsPage2Gm16-C79Yc9XX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DIB0a56k.js → PlayerAccountGamingLimitsPage2Gm16-DmyWZ4Pw.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dza8qXt2.js → PlayerAccountGamingLimitsPopup-DMyXnMg5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-kYMipjs6.js → PlayerAccountGamingLimitsPopup-Pikl7WVu.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-T-aSgDPp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-sutTKtrP.js → PlayerAccountGamingLimitsWrapper2-D2nzl3l5.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs → PlayerAccountGamingLimitsWrapper2-kuhy2gJL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cb7n9Q4c.js → PlayerAccountGamingLimitsWrapper2-uOpxTu0s.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-CNNT6cLA.js → PlayerAccountGeneralConfirmationModal-5KwddwSQ.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs → PlayerAccountGeneralConfirmationModal-DAhBES0N.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-O_Xo5PRp.js → PlayerAccountGeneralConfirmationModal-DOfz9L46.js} +1 -1
- package/components/{PlayerAccountMenu-BQu1uMXy.cjs → PlayerAccountMenu-BMYkNPi4.cjs} +1 -1
- package/components/{PlayerAccountMenu-CEAFQw3J.js → PlayerAccountMenu-CfEj0Ex4.js} +2 -2
- package/components/{PlayerAccountMenu-B8_qfqEA.js → PlayerAccountMenu-DgYMlC-L.js} +2 -2
- package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-BmU94dvq.cjs} +1 -1
- package/components/{PlayerAccountModal-BOVxILh3.js → PlayerAccountModal-Cc6qEX_K.js} +1 -1
- package/components/{PlayerAccountModal-BxtTrm2F.js → PlayerAccountModal-t0MDFhap.js} +1 -1
- package/components/{PlayerAccountNotifications-BLs_Pe58.js → PlayerAccountNotifications-CbvWioDx.js} +1 -1
- package/components/{PlayerAccountNotifications-eSHo-n7V.js → PlayerAccountNotifications-CttLXLgE.js} +1 -1
- package/components/{PlayerAccountNotifications-CGmkTd-y.cjs → PlayerAccountNotifications-Dz5ZUI14.cjs} +1 -1
- package/components/PlayerAccountProductRestriction-BzFGzwpS.js +41358 -0
- package/components/PlayerAccountProductRestriction-CPTEFgCm.js +41393 -0
- package/components/PlayerAccountProductRestriction-CuWv-PA9.cjs +18195 -0
- package/components/{PlayerAccountSelfExclusion-DOGAbujk.js → PlayerAccountSelfExclusion-BSMAvDuC.js} +797 -801
- package/components/{PlayerAccountSelfExclusion-CatF8Zf2.js → PlayerAccountSelfExclusion-DjMEEnYO.js} +1138 -1142
- package/components/{PlayerAccountSelfExclusion-B5hPZPhz.cjs → PlayerAccountSelfExclusion-dBBwvtwd.cjs} +154 -154
- package/components/{PlayerAccountTimeout-o3bkzZxS.cjs → PlayerAccountTimeout-CeKseaT2.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BDqvZQlT.js → PlayerAccountTimeout-DVcNt4XQ.js} +3 -3
- package/components/{PlayerAccountTimeout-Dtn8rncg.js → PlayerAccountTimeout-NWCPI0DS.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-FnFkvTS7.cjs → PlayerAccountTransactionsHistory-BkIp2h9e.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DqZy3TOH.js → PlayerAccountTransactionsHistory-KfF8dkRJ.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DBC5hEPR.js → PlayerAccountTransactionsHistory-TLJbUKp9.js} +3 -3
- package/components/{PlayerActiveBonuses-CuBNDPHe.js → PlayerActiveBonuses-BGkEm7Be.js} +2 -2
- package/components/{PlayerActiveBonuses-CNJS0lAo.js → PlayerActiveBonuses-BLwjDQVG.js} +2 -2
- package/components/{PlayerActiveBonuses-DgXX-q4u.cjs → PlayerActiveBonuses-rV_fUESb.cjs} +1 -1
- package/components/{PlayerBonusCard-RgoO5gpm.cjs → PlayerBonusCard-BPoX5wfs.cjs} +1 -1
- package/components/{PlayerBonusCard-snrZC9GG.js → PlayerBonusCard-DBezDFKc.js} +2 -2
- package/components/{PlayerBonusCard-BIs_HZAR.js → PlayerBonusCard-alPmW91W.js} +2 -2
- package/components/{PlayerBonusHistory-CZp33hpy.js → PlayerBonusHistory-CFP593bm.js} +4 -4
- package/components/{PlayerBonusHistory-xY8ItPnS.cjs → PlayerBonusHistory-DVHQdhOb.cjs} +1 -1
- package/components/{PlayerBonusHistory-BJSs6dCz.js → PlayerBonusHistory-PZQF5ZPe.js} +4 -4
- package/components/{PlayerChangePassword-CTNjnq_r.cjs → PlayerChangePassword-CwD1QM12.cjs} +1 -1
- package/components/{PlayerChangePassword-DpSiDx3P.js → PlayerChangePassword-E06OJu0_.js} +1 -1
- package/components/{PlayerChangePassword-CQm9FDt2.js → PlayerChangePassword-z_WJmrLq.js} +1 -1
- package/components/{PlayerDeposit-C-v12uwl.js → PlayerDeposit-BGixufKr.js} +1 -1
- package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-D_BcKGea.cjs} +1 -1
- package/components/{PlayerDeposit-CmmfBFxW.js → PlayerDeposit-DoTqsEwt.js} +1 -1
- package/components/{PlayerGamingHistory-DY-OU_B_.js → PlayerGamingHistory-BE6ySTfa.js} +53 -53
- package/components/{PlayerGamingHistory-CHWkZ2a7.js → PlayerGamingHistory-BphDZ-1z.js} +60 -60
- package/components/{PlayerGamingHistory-CcfX-9-7.cjs → PlayerGamingHistory-DKpqLPYP.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D1OrRFXU.js → PlayerPendingWithdrawals-BFIozJ5l.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-BvU3rt0E.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-yVjsxqA0.js → PlayerPendingWithdrawals-CQu9gnc2.js} +1 -1
- package/components/{PlayerProfileInfo-DVss0s13.js → PlayerProfileInfo-tRtW8EvQ.js} +1 -1
- package/components/{PlayerProfileInfo-CNs_rVtu.js → PlayerProfileInfo-wO91X5ft.js} +1 -1
- package/components/{PlayerProfileInfo-CImeJryH.cjs → PlayerProfileInfo-z6shvZAW.cjs} +1 -1
- package/components/{PlayerRealityCheck-BynMsi1X.cjs → PlayerRealityCheck-Bcuyj4DN.cjs} +1 -1
- package/components/{PlayerRealityCheck-DlDgwEbp.js → PlayerRealityCheck-BtAWxNzB.js} +1 -1
- package/components/{PlayerRealityCheck-DsWuAvgp.js → PlayerRealityCheck-CLlFOKG1.js} +1 -1
- package/components/{PlayerTransactionHistory-DcIV6du-.js → PlayerTransactionHistory-BGjEfi_N.js} +1 -1
- package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-CU9hS1O1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-H6ItndSr.js → PlayerTransactionHistory-DZ1Q8Keo.js} +1 -1
- package/components/{PlayerWithdrawal-C0e0FHef.js → PlayerWithdrawal-7MNRqxQj.js} +1 -1
- package/components/{PlayerWithdrawal-CIrttRms.js → PlayerWithdrawal-CzhSRFFC.js} +1 -1
- package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-Do_oK-gt.cjs} +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/stencil/checkbox-group-input_15-4jjKXiyu.js +44357 -0
- package/stencil/checkbox-group-input_15-Cjb23ygA.cjs +18439 -0
- package/stencil/checkbox-group-input_15-D4jW8PAX.js +44357 -0
- package/stencil/{index-6e523641-CoBB-3Id.js → index-6e523641-BXVlySjr.js} +1 -1
- package/stencil/{index-6e523641-CVaNEI5O.cjs → index-6e523641-C8HvHVNe.cjs} +1 -1
- package/stencil/{index-6e523641-DnC0RyBN.js → index-6e523641-Dh30vksh.js} +1 -1
- package/stencil/{index-c666b6e6-0vP9tVRn.js → index-c666b6e6-CDifFbHz.js} +1 -1
- package/stencil/{index-c666b6e6-BG7AG6I0.js → index-c666b6e6-DVC63sjM.js} +1 -1
- package/stencil/{index-c666b6e6-Dplkr5z-.cjs → index-c666b6e6-Dj4biVES.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-KsD2mY1P.js → pam-change-password-9aef79f2-BHFBbc1e.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-B23OpZ4g.cjs → pam-change-password-9aef79f2-DN0QnHkc.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-CxF70WOR.js → pam-change-password-9aef79f2-TNxI8Ghg.js} +1 -1
- package/stencil/{pam-change-password-3YQPvGE5.cjs → pam-change-password-CnWrrH9Y.cjs} +1 -1
- package/stencil/{pam-change-password-CvV2B_-T.js → pam-change-password-DEZMLuG9.js} +1 -1
- package/stencil/{pam-change-password-Dkm-XTnG.js → pam-change-password-f-P80xU5.js} +1 -1
- package/stencil/{user-transaction-history-Bv0LEs6K.cjs → user-transaction-history-B8TwDrKY.cjs} +1 -1
- package/stencil/{user-transaction-history-Be-hf7kW.js → user-transaction-history-CQjnF8Ke.js} +1 -1
- package/stencil/{user-transaction-history-Cf_iR1wy.js → user-transaction-history-Uxq67erZ.js} +1 -1
- package/stencil/user-transaction-history_2-CdSqYLwp.cjs +18193 -0
- package/stencil/user-transaction-history_2-Tw_fXTd3.js +43121 -0
- package/stencil/user-transaction-history_2-uQTFnIT9.js +43099 -0
- package/components/GeneralLogout-CuvnoUn1.cjs +0 -21
- package/components/PlayerAccountProductRestriction--OoNKa9R.cjs +0 -6662
- package/components/PlayerAccountProductRestriction-BtYgBboa.js +0 -17517
- package/components/PlayerAccountProductRestriction-CB50nJp4.js +0 -17552
- package/stencil/checkbox-group-input_15-Cuk5W1yj.cjs +0 -6906
- package/stencil/checkbox-group-input_15-hKKsNICT.js +0 -20526
- package/stencil/checkbox-group-input_15-nDrUZEAF.js +0 -20526
- package/stencil/user-transaction-history_2-8ViaNgLC.js +0 -19290
- package/stencil/user-transaction-history_2-B2yjMaBN.cjs +0 -6660
- package/stencil/user-transaction-history_2-DwdhsDRA.js +0 -19268
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CaOBPi7K.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function H(a){e.append_styles(a,"svelte-1b8j2p",':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;container-type:inline-size;container-name:notifications-container}.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 z(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]?z: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 q(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,q,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;
|