@everymatrix/general-animation-loading 1.45.0 → 1.45.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.
@@ -0,0 +1 @@
1
+ "use strict";var V=Object.defineProperty,z=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var x=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&x(e,n,t[n]);if(N)for(var n of N(t))q.call(t,n)&&x(e,n,t[n]);return e},M=(e,t)=>z(e,F(t));var $=(e,t,n)=>x(e,typeof t!="symbol"?t+"":t,n);var T=(e,t,n)=>new Promise((s,l)=>{var i=o=>{try{u(n.next(o))}catch(r){l(r)}},c=o=>{try{u(n.throw(o))}catch(r){l(r)}},u=o=>o.done?s(o.value):Promise.resolve(o.value).then(i,c);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function _(){}function H(e){return e()}function B(){return Object.create(null)}function b(e){e.forEach(H)}function I(e){return typeof e=="function"}function K(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Q(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function X(e,t,n){const s=Y(e);if(!s.getElementById(t)){const l=L("style");l.id=t,l.textContent=n,Z(s,l)}}function Y(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Z(e,t){return W(e.head||e,t),t.sheet}function U(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function L(e){return document.createElement(e)}function tt(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let j;function g(e){j=e}const h=[],k=[];let p=[];const R=[],it=Promise.resolve();let v=!1;function st(){v||(v=!0,it.then(y))}function E(e){p.push(e)}const w=new Set;let a=0;function y(){if(a!==0)return;const e=j;do{try{for(;a<h.length;){const t=h[a];a++,g(t),rt(t.$$)}}catch(t){throw h.length=0,a=0,t}for(g(null),h.length=0,a=0;k.length;)k.pop()();for(let t=0;t<p.length;t+=1){const n=p[t];w.has(n)||(w.add(n),n())}p.length=0}while(h.length);for(;R.length;)R.pop()();v=!1,w.clear(),g(e)}function rt(e){if(e.fragment!==null){e.update(),b(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(E)}}function lt(e){const t=[],n=[];p.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),p=t}const ct=new Set;function ot(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function ut(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),E(()=>{const i=e.$$.on_mount.map(H).filter(I);e.$$.on_destroy?e.$$.on_destroy.push(...i):b(i),e.$$.on_mount=[]}),l.forEach(E)}function dt(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function $t(e,t){e.$$.dirty[0]===-1&&(h.push(e),st(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ft(e,t,n,s,l,i,c=null,u=[-1]){const o=j;g(e);const r=e.$$={fragment:null,ctx:[],props:i,update:_,not_equal:l,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:B(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};c&&c(r.root);let f=!1;if(r.ctx=n?n(e,t.props||{},(d,O,...S)=>{const A=S.length?S[0]:O;return r.ctx&&l(r.ctx[d],r.ctx[d]=A)&&(!r.skip_bound&&r.bound[d]&&r.bound[d](A),f&&$t(e,d)),O}):[],r.update(),f=!0,b(r.before_update),r.fragment=s?s(r.ctx):!1,t.target){if(t.hydrate){const d=et(t.target);r.fragment&&r.fragment.l(d),d.forEach(C)}else r.fragment&&r.fragment.c();t.intro&&ot(e.$$.fragment),ut(e,t.target,t.anchor),y()}g(o)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(t,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return T(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let c;return{c:function(){c=L("slot"),i!=="default"&&tt(c,"name",i)},m:function(r,f){U(r,c,f)},d:function(r){r&&C(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const c=this.$$g_p(i.name);c in this.$$d||(this.$$d[c]=m(c,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(P({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const c=m(i,this.$$d[i],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,c)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const c of this.$$l[i]){const u=this.$$c.$on(i,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=m(t,s,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function m(e,t,n,s){var i;const l=(i=n[e])==null?void 0:i.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(l){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function at(e,t,n,s,l,i){let c=class extends D{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(c.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var r;o=m(u,o,t),this.$$d[u]=o,(r=this.$$c)==null||r.$set({[u]:o})}})}),s.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var o;return(o=this.$$c)==null?void 0:o[u]}})}),e.element=c,c}class ht{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){dt(this,1),this.$destroy=_}$on(t,n){if(!I(n))return _;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1)}}$set(t){this.$$set&&!Q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const _t="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_t);function pt(e){X(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function gt(e){let t;return{c(){t=L("div"),t.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,s){U(n,t,s),e[3](t)},p:_,i:_,o:_,d(n){n&&C(t),e[3](null)}}}function mt(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,i;const c=()=>{let r=document.createElement("style");r.innerHTML=s,i.appendChild(r)},u=()=>{let r=new URL(l),f=document.createElement("style");fetch(r.href).then(d=>d.text()).then(d=>{f.innerHTML=d,setTimeout(()=>{i.appendChild(f)},1),setTimeout(()=>{},500)})};function o(r){k[r?"unshift":"push"](()=>{i=r,n(0,i)})}return e.$$set=r=>{"clientstyling"in r&&n(1,s=r.clientstyling),"clientstylingurl"in r&&n(2,l=r.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&3&&s&&i&&c(),e.$$.dirty&5&&l&&i&&u()},[i,s,l,o]}class J extends ht{constructor(t){super(),ft(this,t,mt,gt,K,{clientstyling:1,clientstylingurl:2},pt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),y()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),y()}}at(J,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=J;
@@ -2,17 +2,17 @@ var J = Object.defineProperty, V = Object.defineProperties;
2
2
  var z = Object.getOwnPropertyDescriptors;
3
3
  var N = Object.getOwnPropertySymbols;
4
4
  var F = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
5
- var v = (e, t, n) => t in e ? J(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
5
+ var x = (e, t, n) => t in e ? J(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- F.call(t, n) && v(e, n, t[n]);
7
+ F.call(t, n) && x(e, n, t[n]);
8
8
  if (N)
9
9
  for (var n of N(t))
10
- G.call(t, n) && v(e, n, t[n]);
10
+ G.call(t, n) && x(e, n, t[n]);
11
11
  return e;
12
12
  }, M = (e, t) => V(e, z(t));
13
- var $ = (e, t, n) => v(e, typeof t != "symbol" ? t + "" : t, n);
14
- var T = (e, t, n) => new Promise((i, l) => {
15
- var s = (o) => {
13
+ var $ = (e, t, n) => x(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var T = (e, t, n) => new Promise((s, l) => {
15
+ var i = (o) => {
16
16
  try {
17
17
  u(n.next(o));
18
18
  } catch (r) {
@@ -24,10 +24,10 @@ var T = (e, t, n) => new Promise((i, l) => {
24
24
  } catch (r) {
25
25
  l(r);
26
26
  }
27
- }, u = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, c);
27
+ }, u = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(i, c);
28
28
  u((n = n.apply(e, t)).next());
29
29
  });
30
- function m() {
30
+ function _() {
31
31
  }
32
32
  function H(e) {
33
33
  return e();
@@ -51,10 +51,10 @@ function Q(e, t) {
51
51
  e.appendChild(t);
52
52
  }
53
53
  function W(e, t, n) {
54
- const i = X(e);
55
- if (!i.getElementById(t)) {
54
+ const s = X(e);
55
+ if (!s.getElementById(t)) {
56
56
  const l = L("style");
57
- l.id = t, l.textContent = n, Y(i, l);
57
+ l.id = t, l.textContent = n, Y(s, l);
58
58
  }
59
59
  }
60
60
  function X(e) {
@@ -98,20 +98,20 @@ function et(e) {
98
98
  ), t;
99
99
  }
100
100
  let j;
101
- function _(e) {
101
+ function g(e) {
102
102
  j = e;
103
103
  }
104
- const h = [], w = [];
105
- let g = [];
104
+ const h = [], k = [];
105
+ let p = [];
106
106
  const R = [], nt = /* @__PURE__ */ Promise.resolve();
107
- let k = !1;
108
- function st() {
109
- k || (k = !0, nt.then(y));
107
+ let E = !1;
108
+ function it() {
109
+ E || (E = !0, nt.then(y));
110
110
  }
111
- function E(e) {
112
- g.push(e);
111
+ function v(e) {
112
+ p.push(e);
113
113
  }
114
- const x = /* @__PURE__ */ new Set();
114
+ const w = /* @__PURE__ */ new Set();
115
115
  let a = 0;
116
116
  function y() {
117
117
  if (a !== 0)
@@ -121,60 +121,60 @@ function y() {
121
121
  try {
122
122
  for (; a < h.length; ) {
123
123
  const t = h[a];
124
- a++, _(t), it(t.$$);
124
+ a++, g(t), st(t.$$);
125
125
  }
126
126
  } catch (t) {
127
127
  throw h.length = 0, a = 0, t;
128
128
  }
129
- for (_(null), h.length = 0, a = 0; w.length; ) w.pop()();
130
- for (let t = 0; t < g.length; t += 1) {
131
- const n = g[t];
132
- x.has(n) || (x.add(n), n());
129
+ for (g(null), h.length = 0, a = 0; k.length; ) k.pop()();
130
+ for (let t = 0; t < p.length; t += 1) {
131
+ const n = p[t];
132
+ w.has(n) || (w.add(n), n());
133
133
  }
134
- g.length = 0;
134
+ p.length = 0;
135
135
  } while (h.length);
136
136
  for (; R.length; )
137
137
  R.pop()();
138
- k = !1, x.clear(), _(e);
138
+ E = !1, w.clear(), g(e);
139
139
  }
140
- function it(e) {
140
+ function st(e) {
141
141
  if (e.fragment !== null) {
142
142
  e.update(), b(e.before_update);
143
143
  const t = e.dirty;
144
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(E);
144
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(v);
145
145
  }
146
146
  }
147
147
  function rt(e) {
148
148
  const t = [], n = [];
149
- g.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), g = t;
149
+ p.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), p = t;
150
150
  }
151
151
  const lt = /* @__PURE__ */ new Set();
152
152
  function ct(e, t) {
153
153
  e && e.i && (lt.delete(e), e.i(t));
154
154
  }
155
155
  function ot(e, t, n) {
156
- const { fragment: i, after_update: l } = e.$$;
157
- i && i.m(t, n), E(() => {
158
- const s = e.$$.on_mount.map(H).filter(I);
159
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : b(s), e.$$.on_mount = [];
160
- }), l.forEach(E);
156
+ const { fragment: s, after_update: l } = e.$$;
157
+ s && s.m(t, n), v(() => {
158
+ const i = e.$$.on_mount.map(H).filter(I);
159
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : b(i), e.$$.on_mount = [];
160
+ }), l.forEach(v);
161
161
  }
162
162
  function ut(e, t) {
163
163
  const n = e.$$;
164
164
  n.fragment !== null && (rt(n.after_update), b(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
165
165
  }
166
166
  function dt(e, t) {
167
- e.$$.dirty[0] === -1 && (h.push(e), st(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
167
+ e.$$.dirty[0] === -1 && (h.push(e), it(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
168
168
  }
169
- function $t(e, t, n, i, l, s, c = null, u = [-1]) {
169
+ function $t(e, t, n, s, l, i, c = null, u = [-1]) {
170
170
  const o = j;
171
- _(e);
171
+ g(e);
172
172
  const r = e.$$ = {
173
173
  fragment: null,
174
174
  ctx: [],
175
175
  // state
176
- props: s,
177
- update: m,
176
+ props: i,
177
+ update: _,
178
178
  not_equal: l,
179
179
  bound: B(),
180
180
  // lifecycle
@@ -195,7 +195,7 @@ function $t(e, t, n, i, l, s, c = null, u = [-1]) {
195
195
  if (r.ctx = n ? n(e, t.props || {}, (d, O, ...A) => {
196
196
  const S = A.length ? A[0] : O;
197
197
  return r.ctx && l(r.ctx[d], r.ctx[d] = S) && (!r.skip_bound && r.bound[d] && r.bound[d](S), f && dt(e, d)), O;
198
- }) : [], r.update(), f = !0, b(r.before_update), r.fragment = i ? i(r.ctx) : !1, t.target) {
198
+ }) : [], r.update(), f = !0, b(r.before_update), r.fragment = s ? s(r.ctx) : !1, t.target) {
199
199
  if (t.hydrate) {
200
200
  const d = tt(t.target);
201
201
  r.fragment && r.fragment.l(d), d.forEach(C);
@@ -203,11 +203,11 @@ function $t(e, t, n, i, l, s, c = null, u = [-1]) {
203
203
  r.fragment && r.fragment.c();
204
204
  t.intro && ct(e.$$.fragment), ot(e, t.target, t.anchor), y();
205
205
  }
206
- _(o);
206
+ g(o);
207
207
  }
208
208
  let D;
209
209
  typeof HTMLElement == "function" && (D = class extends HTMLElement {
210
- constructor(t, n, i) {
210
+ constructor(t, n, s) {
211
211
  super();
212
212
  /** The Svelte component constructor */
213
213
  $(this, "$$ctor");
@@ -227,17 +227,17 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
227
227
  $(this, "$$l", {});
228
228
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
229
229
  $(this, "$$l_u", /* @__PURE__ */ new Map());
230
- this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
230
+ this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
231
231
  }
232
- addEventListener(t, n, i) {
232
+ addEventListener(t, n, s) {
233
233
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
234
234
  const l = this.$$c.$on(t, n);
235
235
  this.$$l_u.set(n, l);
236
236
  }
237
- super.addEventListener(t, n, i);
237
+ super.addEventListener(t, n, s);
238
238
  }
239
- removeEventListener(t, n, i) {
240
- if (super.removeEventListener(t, n, i), this.$$c) {
239
+ removeEventListener(t, n, s) {
240
+ if (super.removeEventListener(t, n, s), this.$$c) {
241
241
  const l = this.$$l_u.get(n);
242
242
  l && (l(), this.$$l_u.delete(n));
243
243
  }
@@ -245,12 +245,12 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
245
245
  connectedCallback() {
246
246
  return T(this, null, function* () {
247
247
  if (this.$$cn = !0, !this.$$c) {
248
- let t = function(s) {
248
+ let t = function(i) {
249
249
  return () => {
250
250
  let c;
251
251
  return {
252
252
  c: function() {
253
- c = L("slot"), s !== "default" && Z(c, "name", s);
253
+ c = L("slot"), i !== "default" && Z(c, "name", i);
254
254
  },
255
255
  /**
256
256
  * @param {HTMLElement} target
@@ -267,15 +267,15 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
267
267
  };
268
268
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
269
269
  return;
270
- const n = {}, i = et(this);
271
- for (const s of this.$$s)
272
- s in i && (n[s] = [t(s)]);
273
- for (const s of this.attributes) {
274
- const c = this.$$g_p(s.name);
275
- c in this.$$d || (this.$$d[c] = p(c, s.value, this.$$p_d, "toProp"));
270
+ const n = {}, s = et(this);
271
+ for (const i of this.$$s)
272
+ i in s && (n[i] = [t(i)]);
273
+ for (const i of this.attributes) {
274
+ const c = this.$$g_p(i.name);
275
+ c in this.$$d || (this.$$d[c] = m(c, i.value, this.$$p_d, "toProp"));
276
276
  }
277
- for (const s in this.$$p_d)
278
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
277
+ for (const i in this.$$p_d)
278
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
279
279
  this.$$c = new this.$$ctor({
280
280
  target: this.shadowRoot || this,
281
281
  props: M(P({}, this.$$d), {
@@ -287,22 +287,22 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
287
287
  });
288
288
  const l = () => {
289
289
  this.$$r = !0;
290
- for (const s in this.$$p_d)
291
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
292
- const c = p(
293
- s,
294
- this.$$d[s],
290
+ for (const i in this.$$p_d)
291
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
292
+ const c = m(
293
+ i,
294
+ this.$$d[i],
295
295
  this.$$p_d,
296
296
  "toAttribute"
297
297
  );
298
- c == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, c);
298
+ c == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, c);
299
299
  }
300
300
  this.$$r = !1;
301
301
  };
302
302
  this.$$c.$$.after_update.push(l), l();
303
- for (const s in this.$$l)
304
- for (const c of this.$$l[s]) {
305
- const u = this.$$c.$on(s, c);
303
+ for (const i in this.$$l)
304
+ for (const c of this.$$l[i]) {
305
+ const u = this.$$c.$on(i, c);
306
306
  this.$$l_u.set(c, u);
307
307
  }
308
308
  this.$$l = {};
@@ -311,9 +311,9 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
311
311
  }
312
312
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
313
313
  // and setting attributes through setAttribute etc, this is helpful
314
- attributeChangedCallback(t, n, i) {
314
+ attributeChangedCallback(t, n, s) {
315
315
  var l;
316
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = p(t, i, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
316
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = m(t, s, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
317
317
  }
318
318
  disconnectedCallback() {
319
319
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -326,12 +326,12 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
326
326
  ) || t;
327
327
  }
328
328
  });
329
- function p(e, t, n, i) {
330
- var s;
331
- const l = (s = n[e]) == null ? void 0 : s.type;
332
- if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
329
+ function m(e, t, n, s) {
330
+ var i;
331
+ const l = (i = n[e]) == null ? void 0 : i.type;
332
+ if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
333
333
  return t;
334
- if (i === "toAttribute")
334
+ if (s === "toAttribute")
335
335
  switch (l) {
336
336
  case "Object":
337
337
  case "Array":
@@ -356,7 +356,7 @@ function p(e, t, n, i) {
356
356
  return t;
357
357
  }
358
358
  }
359
- function ft(e, t, n, i, l, s) {
359
+ function ft(e, t, n, s, l, i) {
360
360
  let c = class extends D {
361
361
  constructor() {
362
362
  super(e, n, l), this.$$p_d = t;
@@ -374,10 +374,10 @@ function ft(e, t, n, i, l, s) {
374
374
  },
375
375
  set(o) {
376
376
  var r;
377
- o = p(u, o, t), this.$$d[u] = o, (r = this.$$c) == null || r.$set({ [u]: o });
377
+ o = m(u, o, t), this.$$d[u] = o, (r = this.$$c) == null || r.$set({ [u]: o });
378
378
  }
379
379
  });
380
- }), i.forEach((u) => {
380
+ }), s.forEach((u) => {
381
381
  Object.defineProperty(c.prototype, u, {
382
382
  get() {
383
383
  var o;
@@ -408,7 +408,7 @@ class at {
408
408
  }
409
409
  /** @returns {void} */
410
410
  $destroy() {
411
- ut(this, 1), this.$destroy = m;
411
+ ut(this, 1), this.$destroy = _;
412
412
  }
413
413
  /**
414
414
  * @template {Extract<keyof Events, string>} K
@@ -418,11 +418,11 @@ class at {
418
418
  */
419
419
  $on(t, n) {
420
420
  if (!I(n))
421
- return m;
422
- const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
423
- return i.push(n), () => {
424
- const l = i.indexOf(n);
425
- l !== -1 && i.splice(l, 1);
421
+ return _;
422
+ const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
423
+ return s.push(n), () => {
424
+ const l = s.indexOf(n);
425
+ l !== -1 && s.splice(l, 1);
426
426
  };
427
427
  }
428
428
  /**
@@ -435,37 +435,37 @@ class at {
435
435
  }
436
436
  const ht = "4";
437
437
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ht);
438
- function mt(e) {
439
- W(e, "svelte-g6m3er", ".LoaderContainer.svelte-g6m3er.svelte-g6m3er{display:flex;justify-content:center}.lds-ellipsis.svelte-g6m3er.svelte-g6m3er{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(1){left:8px;animation:svelte-g6m3er-lds-ellipsis1 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(2){left:8px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(3){left:32px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(4){left:56px;animation:svelte-g6m3er-lds-ellipsis3 0.6s infinite}@keyframes svelte-g6m3er-lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes svelte-g6m3er-lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes svelte-g6m3er-lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
438
+ function _t(e) {
439
+ W(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
440
440
  }
441
- function gt(e) {
441
+ function pt(e) {
442
442
  let t;
443
443
  return {
444
444
  c() {
445
- t = L("div"), t.innerHTML = '<section class="LoaderContainer svelte-g6m3er" part="LoaderContainer"><div class="lds-ellipsis svelte-g6m3er"><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div></div></section>';
445
+ t = L("div"), t.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
446
446
  },
447
- m(n, i) {
448
- U(n, t, i), e[3](t);
447
+ m(n, s) {
448
+ U(n, t, s), e[3](t);
449
449
  },
450
- p: m,
451
- i: m,
452
- o: m,
450
+ p: _,
451
+ i: _,
452
+ o: _,
453
453
  d(n) {
454
454
  n && C(t), e[3](null);
455
455
  }
456
456
  };
457
457
  }
458
- function _t(e, t, n) {
459
- let { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, s;
458
+ function gt(e, t, n) {
459
+ let { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, i;
460
460
  const c = () => {
461
461
  let r = document.createElement("style");
462
- r.innerHTML = i, s.appendChild(r);
462
+ r.innerHTML = s, i.appendChild(r);
463
463
  }, u = () => {
464
464
  let r = new URL(l), f = document.createElement("style");
465
465
  fetch(r.href).then((d) => d.text()).then((d) => {
466
466
  f.innerHTML = d, setTimeout(
467
467
  () => {
468
- s.appendChild(f);
468
+ i.appendChild(f);
469
469
  },
470
470
  1
471
471
  ), setTimeout(
@@ -476,21 +476,21 @@ function _t(e, t, n) {
476
476
  });
477
477
  };
478
478
  function o(r) {
479
- w[r ? "unshift" : "push"](() => {
480
- s = r, n(0, s);
479
+ k[r ? "unshift" : "push"](() => {
480
+ i = r, n(0, i);
481
481
  });
482
482
  }
483
483
  return e.$$set = (r) => {
484
- "clientstyling" in r && n(1, i = r.clientstyling), "clientstylingurl" in r && n(2, l = r.clientstylingurl);
484
+ "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, l = r.clientstylingurl);
485
485
  }, e.$$.update = () => {
486
486
  e.$$.dirty & /*clientstyling, customStylingContainer*/
487
- 3 && i && s && c(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
488
- 5 && l && s && u();
489
- }, [s, i, l, o];
487
+ 3 && s && i && c(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
488
+ 5 && l && i && u();
489
+ }, [i, s, l, o];
490
490
  }
491
- class pt extends at {
491
+ class mt extends at {
492
492
  constructor(t) {
493
- super(), $t(this, t, _t, gt, q, { clientstyling: 1, clientstylingurl: 2 }, mt);
493
+ super(), $t(this, t, gt, pt, q, { clientstyling: 1, clientstylingurl: 2 }, _t);
494
494
  }
495
495
  get clientstyling() {
496
496
  return this.$$.ctx[1];
@@ -505,7 +505,7 @@ class pt extends at {
505
505
  this.$$set({ clientstylingurl: t }), y();
506
506
  }
507
507
  }
508
- ft(pt, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
508
+ ft(mt, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
509
509
  export {
510
- pt as default
510
+ mt as default
511
511
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-VIKkNY2X.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-CczQRHih.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-D9gD6uwl.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-Dr8e6mQV.js").then(({ default: t }) => {
14
14
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-animation-loading",
3
- "version": "1.45.0",
3
+ "version": "1.45.2",
4
4
  "type": "module",
5
5
  "main": "es2015/general-animation-loading.cjs",
6
6
  "module": "es2015/general-animation-loading.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "./es2015/general-animation-loading.cjs": "./es2015/general-animation-loading.cjs"
13
13
  },
14
- "files": [
14
+ "files": [
15
15
  "es2015/",
16
16
  "components"
17
17
  ],
@@ -1 +0,0 @@
1
- "use strict";var V=Object.defineProperty,z=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var v=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&v(e,n,t[n]);if(N)for(var n of N(t))q.call(t,n)&&v(e,n,t[n]);return e},M=(e,t)=>z(e,F(t));var $=(e,t,n)=>v(e,typeof t!="symbol"?t+"":t,n);var T=(e,t,n)=>new Promise((i,l)=>{var s=o=>{try{u(n.next(o))}catch(r){l(r)}},c=o=>{try{u(n.throw(o))}catch(r){l(r)}},u=o=>o.done?i(o.value):Promise.resolve(o.value).then(s,c);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(){}function H(e){return e()}function B(){return Object.create(null)}function b(e){e.forEach(H)}function I(e){return typeof e=="function"}function K(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Q(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function X(e,t,n){const i=Y(e);if(!i.getElementById(t)){const l=L("style");l.id=t,l.textContent=n,Z(i,l)}}function Y(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Z(e,t){return W(e.head||e,t),t.sheet}function U(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function L(e){return document.createElement(e)}function tt(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let j;function _(e){j=e}const h=[],w=[];let m=[];const R=[],st=Promise.resolve();let k=!1;function it(){k||(k=!0,st.then(y))}function E(e){m.push(e)}const x=new Set;let a=0;function y(){if(a!==0)return;const e=j;do{try{for(;a<h.length;){const t=h[a];a++,_(t),rt(t.$$)}}catch(t){throw h.length=0,a=0,t}for(_(null),h.length=0,a=0;w.length;)w.pop()();for(let t=0;t<m.length;t+=1){const n=m[t];x.has(n)||(x.add(n),n())}m.length=0}while(h.length);for(;R.length;)R.pop()();k=!1,x.clear(),_(e)}function rt(e){if(e.fragment!==null){e.update(),b(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(E)}}function lt(e){const t=[],n=[];m.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),m=t}const ct=new Set;function ot(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function ut(e,t,n){const{fragment:i,after_update:l}=e.$$;i&&i.m(t,n),E(()=>{const s=e.$$.on_mount.map(H).filter(I);e.$$.on_destroy?e.$$.on_destroy.push(...s):b(s),e.$$.on_mount=[]}),l.forEach(E)}function dt(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function $t(e,t){e.$$.dirty[0]===-1&&(h.push(e),it(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ft(e,t,n,i,l,s,c=null,u=[-1]){const o=j;_(e);const r=e.$$={fragment:null,ctx:[],props:s,update:g,not_equal:l,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:B(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};c&&c(r.root);let f=!1;if(r.ctx=n?n(e,t.props||{},(d,O,...S)=>{const A=S.length?S[0]:O;return r.ctx&&l(r.ctx[d],r.ctx[d]=A)&&(!r.skip_bound&&r.bound[d]&&r.bound[d](A),f&&$t(e,d)),O}):[],r.update(),f=!0,b(r.before_update),r.fragment=i?i(r.ctx):!1,t.target){if(t.hydrate){const d=et(t.target);r.fragment&&r.fragment.l(d),d.forEach(C)}else r.fragment&&r.fragment.c();t.intro&&ot(e.$$.fragment),ut(e,t.target,t.anchor),y()}_(o)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(t,n,i){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return T(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let c;return{c:function(){c=L("slot"),s!=="default"&&tt(c,"name",s)},m:function(r,f){U(r,c,f)},d:function(r){r&&C(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=nt(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const c=this.$$g_p(s.name);c in this.$$d||(this.$$d[c]=p(c,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(P({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const c=p(s,this.$$d[s],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,c)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const s in this.$$l)for(const c of this.$$l[s]){const u=this.$$c.$on(s,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,i){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=p(t,i,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function p(e,t,n,i){var s;const l=(s=n[e])==null?void 0:s.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(l){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function at(e,t,n,i,l,s){let c=class extends D{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(c.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var r;o=p(u,o,t),this.$$d[u]=o,(r=this.$$c)==null||r.$set({[u]:o})}})}),i.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var o;return(o=this.$$c)==null?void 0:o[u]}})}),e.element=c,c}class ht{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){dt(this,1),this.$destroy=g}$on(t,n){if(!I(n))return g;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(t){this.$$set&&!Q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);function mt(e){X(e,"svelte-g6m3er",".LoaderContainer.svelte-g6m3er.svelte-g6m3er{display:flex;justify-content:center}.lds-ellipsis.svelte-g6m3er.svelte-g6m3er{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(1){left:8px;animation:svelte-g6m3er-lds-ellipsis1 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(2){left:8px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(3){left:32px;animation:svelte-g6m3er-lds-ellipsis2 0.6s infinite}.lds-ellipsis.svelte-g6m3er div.svelte-g6m3er:nth-child(4){left:56px;animation:svelte-g6m3er-lds-ellipsis3 0.6s infinite}@keyframes svelte-g6m3er-lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes svelte-g6m3er-lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes svelte-g6m3er-lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function _t(e){let t;return{c(){t=L("div"),t.innerHTML='<section class="LoaderContainer svelte-g6m3er" part="LoaderContainer"><div class="lds-ellipsis svelte-g6m3er"><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div><div class="svelte-g6m3er"></div></div></section>'},m(n,i){U(n,t,i),e[3](t)},p:g,i:g,o:g,d(n){n&&C(t),e[3](null)}}}function pt(e,t,n){let{clientstyling:i=""}=t,{clientstylingurl:l=""}=t,s;const c=()=>{let r=document.createElement("style");r.innerHTML=i,s.appendChild(r)},u=()=>{let r=new URL(l),f=document.createElement("style");fetch(r.href).then(d=>d.text()).then(d=>{f.innerHTML=d,setTimeout(()=>{s.appendChild(f)},1),setTimeout(()=>{},500)})};function o(r){w[r?"unshift":"push"](()=>{s=r,n(0,s)})}return e.$$set=r=>{"clientstyling"in r&&n(1,i=r.clientstyling),"clientstylingurl"in r&&n(2,l=r.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&3&&i&&s&&c(),e.$$.dirty&5&&l&&s&&u()},[s,i,l,o]}class J extends ht{constructor(t){super(),ft(this,t,pt,_t,K,{clientstyling:1,clientstylingurl:2},mt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),y()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),y()}}at(J,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=J;