@everymatrix/lottery-program-wof 1.9.1 → 1.9.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.
@@ -42,6 +42,7 @@
42
42
  function is_empty(obj) {
43
43
  return Object.keys(obj).length === 0;
44
44
  }
45
+ const contenteditable_truthy_values = ['', true, 1, 'true', 'contenteditable'];
45
46
  function append(target, node) {
46
47
  target.appendChild(node);
47
48
  }
@@ -49,7 +50,9 @@
49
50
  target.insertBefore(node, anchor || null);
50
51
  }
51
52
  function detach(node) {
52
- node.parentNode.removeChild(node);
53
+ if (node.parentNode) {
54
+ node.parentNode.removeChild(node);
55
+ }
53
56
  }
54
57
  function destroy_each(iterations, detaching) {
55
58
  for (let i = 0; i < iterations.length; i += 1) {
@@ -133,15 +136,24 @@
133
136
  throw new Error('Function called outside component initialization');
134
137
  return current_component;
135
138
  }
139
+ /**
140
+ * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
141
+ * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
142
+ * it can be called from an external module).
143
+ *
144
+ * `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
145
+ *
146
+ * https://svelte.dev/docs#run-time-svelte-onmount
147
+ */
136
148
  function onMount(fn) {
137
149
  get_current_component().$$.on_mount.push(fn);
138
150
  }
139
151
 
140
152
  const dirty_components = [];
141
153
  const binding_callbacks = [];
142
- const render_callbacks = [];
154
+ let render_callbacks = [];
143
155
  const flush_callbacks = [];
144
- const resolved_promise = Promise.resolve();
156
+ const resolved_promise = /* @__PURE__ */ Promise.resolve();
145
157
  let update_scheduled = false;
146
158
  function schedule_update() {
147
159
  if (!update_scheduled) {
@@ -173,15 +185,29 @@
173
185
  const seen_callbacks = new Set();
174
186
  let flushidx = 0; // Do *not* move this inside the flush() function
175
187
  function flush() {
188
+ // Do not reenter flush while dirty components are updated, as this can
189
+ // result in an infinite loop. Instead, let the inner flush handle it.
190
+ // Reentrancy is ok afterwards for bindings etc.
191
+ if (flushidx !== 0) {
192
+ return;
193
+ }
176
194
  const saved_component = current_component;
177
195
  do {
178
196
  // first, call beforeUpdate functions
179
197
  // and update components
180
- while (flushidx < dirty_components.length) {
181
- const component = dirty_components[flushidx];
182
- flushidx++;
183
- set_current_component(component);
184
- update(component.$$);
198
+ try {
199
+ while (flushidx < dirty_components.length) {
200
+ const component = dirty_components[flushidx];
201
+ flushidx++;
202
+ set_current_component(component);
203
+ update(component.$$);
204
+ }
205
+ }
206
+ catch (e) {
207
+ // reset dirty state to not end up in a deadlocked state and then rethrow
208
+ dirty_components.length = 0;
209
+ flushidx = 0;
210
+ throw e;
185
211
  }
186
212
  set_current_component(null);
187
213
  dirty_components.length = 0;
@@ -218,6 +244,16 @@
218
244
  $$.after_update.forEach(add_render_callback);
219
245
  }
220
246
  }
247
+ /**
248
+ * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
249
+ */
250
+ function flush_render_callbacks(fns) {
251
+ const filtered = [];
252
+ const targets = [];
253
+ render_callbacks.forEach((c) => fns.indexOf(c) === -1 ? filtered.push(c) : targets.push(c));
254
+ targets.forEach((c) => c());
255
+ render_callbacks = filtered;
256
+ }
221
257
  const outroing = new Set();
222
258
  function transition_in(block, local) {
223
259
  if (block && block.i) {
@@ -266,14 +302,17 @@
266
302
  return update;
267
303
  }
268
304
  function mount_component(component, target, anchor, customElement) {
269
- const { fragment, on_mount, on_destroy, after_update } = component.$$;
305
+ const { fragment, after_update } = component.$$;
270
306
  fragment && fragment.m(target, anchor);
271
307
  if (!customElement) {
272
308
  // onMount happens before the initial afterUpdate
273
309
  add_render_callback(() => {
274
- const new_on_destroy = on_mount.map(run).filter(is_function);
275
- if (on_destroy) {
276
- on_destroy.push(...new_on_destroy);
310
+ const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
311
+ // if the component was destroyed immediately
312
+ // it will update the `$$.on_destroy` reference to `null`.
313
+ // the destructured on_destroy may still reference to the old array
314
+ if (component.$$.on_destroy) {
315
+ component.$$.on_destroy.push(...new_on_destroy);
277
316
  }
278
317
  else {
279
318
  // Edge case - component was destroyed immediately,
@@ -288,6 +327,7 @@
288
327
  function destroy_component(component, detaching) {
289
328
  const $$ = component.$$;
290
329
  if ($$.fragment !== null) {
330
+ flush_render_callbacks($$.after_update);
291
331
  run_all($$.on_destroy);
292
332
  $$.fragment && $$.fragment.d(detaching);
293
333
  // TODO null out other refs, including component.$$ (but need to
@@ -309,7 +349,7 @@
309
349
  set_current_component(component);
310
350
  const $$ = component.$$ = {
311
351
  fragment: null,
312
- ctx: null,
352
+ ctx: [],
313
353
  // state
314
354
  props,
315
355
  update: noop,
@@ -393,6 +433,9 @@
393
433
  }
394
434
  $on(type, callback) {
395
435
  // TODO should this delegate to addEventListener?
436
+ if (!is_function(callback)) {
437
+ return noop;
438
+ }
396
439
  const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
397
440
  callbacks.push(callback);
398
441
  return () => {
@@ -412,7 +455,7 @@
412
455
  }
413
456
 
414
457
  function dispatch_dev(type, detail) {
415
- document.dispatchEvent(custom_event(type, Object.assign({ version: '3.48.0' }, detail), { bubbles: true }));
458
+ document.dispatchEvent(custom_event(type, Object.assign({ version: '3.58.0' }, detail), { bubbles: true }));
416
459
  }
417
460
  function append_dev(target, node) {
418
461
  dispatch_dev('SvelteDOMInsert', { target, node });
@@ -426,12 +469,14 @@
426
469
  dispatch_dev('SvelteDOMRemove', { node });
427
470
  detach(node);
428
471
  }
429
- function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {
472
+ function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation, has_stop_immediate_propagation) {
430
473
  const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];
431
474
  if (has_prevent_default)
432
475
  modifiers.push('preventDefault');
433
476
  if (has_stop_propagation)
434
477
  modifiers.push('stopPropagation');
478
+ if (has_stop_immediate_propagation)
479
+ modifiers.push('stopImmediatePropagation');
435
480
  dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });
436
481
  const dispose = listen(node, event, handler, options);
437
482
  return () => {
@@ -447,12 +492,27 @@
447
492
  dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });
448
493
  }
449
494
  function set_data_dev(text, data) {
495
+ data = '' + data;
496
+ if (text.data === data)
497
+ return;
498
+ dispatch_dev('SvelteDOMSetData', { node: text, data });
499
+ text.data = data;
500
+ }
501
+ function set_data_contenteditable_dev(text, data) {
450
502
  data = '' + data;
451
503
  if (text.wholeText === data)
452
504
  return;
453
505
  dispatch_dev('SvelteDOMSetData', { node: text, data });
454
506
  text.data = data;
455
507
  }
508
+ function set_data_maybe_contenteditable_dev(text, data, attr_value) {
509
+ if (~contenteditable_truthy_values.indexOf(attr_value)) {
510
+ set_data_contenteditable_dev(text, data);
511
+ }
512
+ else {
513
+ set_data_dev(text, data);
514
+ }
515
+ }
456
516
  function validate_each_argument(arg) {
457
517
  if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {
458
518
  let msg = '{#each} only iterates over array-like objects.';
@@ -521,7 +581,7 @@
521
581
  });
522
582
  };
523
583
 
524
- /* src/private.message.svelte generated by Svelte v3.48.0 */
584
+ /* src/private.message.svelte generated by Svelte v3.58.0 */
525
585
 
526
586
  const { Object: Object_1$2 } = globals;
527
587
  const file$5 = "src/private.message.svelte";
@@ -902,7 +962,7 @@
902
962
  append_dev(div, button);
903
963
 
904
964
  if (!mounted) {
905
- dispose = listen_dev(button, "click", /*eventButton*/ ctx[7], false, false, false);
965
+ dispose = listen_dev(button, "click", /*eventButton*/ ctx[7], false, false, false, false);
906
966
  mounted = true;
907
967
  }
908
968
  },
@@ -1136,7 +1196,9 @@
1136
1196
  class Private_message extends SvelteElement {
1137
1197
  constructor(options) {
1138
1198
  super();
1139
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';position:absolute;width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.MessagePanel{position:absolute;background-color:#FFFFFF;padding:15px 30px;border-radius:8px;text-align:center;font-size:16px;opacity:.3;box-shadow:0 0 1px #a1a1a1;transition:margin-top opacity .3s ease-out}.MessagePanelButton{padding:4px 24px;margin-top:40px;font-size:16px;line-height:24px;color:#FFFFFF;background:#FF0000;border-radius:5px;font-weight:700;border:0;box-shadow:0 0 3px #ff0000;cursor:pointer}</style>`;
1199
+ const style = document.createElement('style');
1200
+ style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";position:absolute;width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.MessagePanel{position:absolute;background-color:#FFFFFF;padding:15px 30px;border-radius:8px;text-align:center;font-size:16px;opacity:0.3;box-shadow:0 0 1px #a1a1a1;transition:margin-top opacity 0.3s ease-out}.MessagePanelButton{padding:4px 24px;margin-top:40px;font-size:16px;line-height:24px;color:#FFFFFF;background:#FF0000;border-radius:5px;font-weight:700;border:0;box-shadow:0 0 3px #ff0000;cursor:pointer}`;
1201
+ this.shadowRoot.appendChild(style);
1140
1202
 
1141
1203
  init(
1142
1204
  this,
@@ -1229,7 +1291,7 @@
1229
1291
  Tab["History"] = "History";
1230
1292
  })(Tab || (Tab = {}));
1231
1293
 
1232
- /* src/private.tabs.svelte generated by Svelte v3.48.0 */
1294
+ /* src/private.tabs.svelte generated by Svelte v3.58.0 */
1233
1295
 
1234
1296
  const { Object: Object_1$1 } = globals;
1235
1297
  const file$4 = "src/private.tabs.svelte";
@@ -1279,7 +1341,7 @@
1279
1341
  append_dev(li, t1);
1280
1342
 
1281
1343
  if (!mounted) {
1282
- dispose = listen_dev(span, "click", click_handler, false, false, false);
1344
+ dispose = listen_dev(span, "click", click_handler, false, false, false, false);
1283
1345
  mounted = true;
1284
1346
  }
1285
1347
  },
@@ -1434,13 +1496,17 @@
1434
1496
  append_dev(section, ul);
1435
1497
 
1436
1498
  for (let i = 0; i < each_blocks_1.length; i += 1) {
1437
- each_blocks_1[i].m(ul, null);
1499
+ if (each_blocks_1[i]) {
1500
+ each_blocks_1[i].m(ul, null);
1501
+ }
1438
1502
  }
1439
1503
 
1440
1504
  insert_dev(target, t, anchor);
1441
1505
 
1442
1506
  for (let i = 0; i < each_blocks.length; i += 1) {
1443
- each_blocks[i].m(target, anchor);
1507
+ if (each_blocks[i]) {
1508
+ each_blocks[i].m(target, anchor);
1509
+ }
1444
1510
  }
1445
1511
 
1446
1512
  insert_dev(target, each1_anchor, anchor);
@@ -1555,7 +1621,9 @@
1555
1621
  class Private_tabs extends SvelteElement {
1556
1622
  constructor(options) {
1557
1623
  super();
1558
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#TabBar{width:100%;display:flex;align-items:center;flex-direction:column;padding:20px 0}#TabBar ul{max-width:600px;width:100%}#TabBar ul li{color:#FFFFFF;display:inline-block;margin-right:10px}#TabBar ul{border-bottom:3px #ccc solid}#TabBar ul li{padding:6px;cursor:pointer}#TabBar ul li.active{border-bottom:3px #d46666 solid;margin-bottom:-6px}</style>`;
1624
+ const style = document.createElement('style');
1625
+ style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#TabBar{width:100%;display:flex;align-items:center;flex-direction:column;padding:20px 0}#TabBar ul{max-width:600px;width:100%}#TabBar ul li{color:#FFFFFF;display:inline-block;margin-right:10px}#TabBar ul{border-bottom:3px #ccc solid}#TabBar ul li{padding:6px;cursor:pointer}#TabBar ul li.active{border-bottom:3px #d46666 solid;margin-bottom:-6px}`;
1626
+ this.shadowRoot.appendChild(style);
1559
1627
 
1560
1628
  init(
1561
1629
  this,
@@ -1776,7 +1844,7 @@
1776
1844
  return condition;
1777
1845
  };
1778
1846
 
1779
- /* src/private.outcomes.svelte generated by Svelte v3.48.0 */
1847
+ /* src/private.outcomes.svelte generated by Svelte v3.58.0 */
1780
1848
 
1781
1849
  const { Object: Object_1 } = globals;
1782
1850
  const file$3 = "src/private.outcomes.svelte";
@@ -1873,7 +1941,9 @@
1873
1941
  insert_dev(target, tbody, anchor);
1874
1942
 
1875
1943
  for (let i = 0; i < each_blocks.length; i += 1) {
1876
- each_blocks[i].m(tbody, null);
1944
+ if (each_blocks[i]) {
1945
+ each_blocks[i].m(tbody, null);
1946
+ }
1877
1947
  }
1878
1948
 
1879
1949
  append_dev(tbody, t8);
@@ -1949,9 +2019,7 @@
1949
2019
  insert_dev(target, div, anchor);
1950
2020
  append_dev(div, t);
1951
2021
  },
1952
- p: function update(ctx, dirty) {
1953
- set_attributes(div, div_data = get_spread_update(div_levels, [classWithPart("OutcomeNoContent")]));
1954
- },
2022
+ p: noop,
1955
2023
  d: function destroy(detaching) {
1956
2024
  if (detaching) detach_dev(div);
1957
2025
  }
@@ -2134,17 +2202,17 @@
2134
2202
  }
2135
2203
 
2136
2204
  let div0_levels = [classWithPart("TableContainer")];
2137
- let div0_data = {};
2205
+ let div_data = {};
2138
2206
 
2139
2207
  for (let i = 0; i < div0_levels.length; i += 1) {
2140
- div0_data = assign(div0_data, div0_levels[i]);
2208
+ div_data = assign(div_data, div0_levels[i]);
2141
2209
  }
2142
2210
 
2143
2211
  let div1_levels = [classWithPart("Outcomes")];
2144
- let div1_data = {};
2212
+ let div_data_1 = {};
2145
2213
 
2146
2214
  for (let i = 0; i < div1_levels.length; i += 1) {
2147
- div1_data = assign(div1_data, div1_levels[i]);
2215
+ div_data_1 = assign(div_data_1, div1_levels[i]);
2148
2216
  }
2149
2217
 
2150
2218
  const block = {
@@ -2160,9 +2228,9 @@
2160
2228
 
2161
2229
  this.c = noop;
2162
2230
  add_location(table, file$3, 60, 10, 2090);
2163
- set_attributes(div0, div0_data);
2231
+ set_attributes(div0, div_data);
2164
2232
  add_location(div0, file$3, 59, 8, 2037);
2165
- set_attributes(div1, div1_data);
2233
+ set_attributes(div1, div_data_1);
2166
2234
  add_location(div1, file$3, 56, 4, 1827);
2167
2235
  add_location(section, file$3, 55, 0, 1813);
2168
2236
  },
@@ -2176,7 +2244,9 @@
2176
2244
  append_dev(div0, table);
2177
2245
 
2178
2246
  for (let i = 0; i < each_blocks.length; i += 1) {
2179
- each_blocks[i].m(table, null);
2247
+ if (each_blocks[i]) {
2248
+ each_blocks[i].m(table, null);
2249
+ }
2180
2250
  }
2181
2251
  },
2182
2252
  p: function update(ctx, [dirty]) {
@@ -2203,9 +2273,6 @@
2203
2273
 
2204
2274
  each_blocks.length = each_value.length;
2205
2275
  }
2206
-
2207
- set_attributes(div0, div0_data = get_spread_update(div0_levels, [classWithPart("TableContainer")]));
2208
- set_attributes(div1, div1_data = get_spread_update(div1_levels, [classWithPart("Outcomes")]));
2209
2276
  },
2210
2277
  i: noop,
2211
2278
  o: noop,
@@ -2339,7 +2406,9 @@
2339
2406
  class Private_outcomes extends SvelteElement {
2340
2407
  constructor(options) {
2341
2408
  super();
2342
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Outcomes{width:80%;margin:30px auto}.OutcomeTitle{color:#FFF;font-weight:700;padding:20px 0}.OutcomeNoContent{color:#FFF;font-weight:700;padding:20px 20px}table{color:#FFFFFF;width:100%;text-align:center}table tr{margin-top:10px;line-height:normal}table tbody{display:block;max-height:300px;overflow-y:scroll;margin:30px 0}table thead,table tbody tr{display:table;width:100%;table-layout:fixed}</style>`;
2409
+ const style = document.createElement('style');
2410
+ style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Outcomes{width:80%;margin:30px auto}.OutcomeTitle{color:#FFF;font-weight:700;padding:20px 0}.OutcomeNoContent{color:#FFF;font-weight:700;padding:20px 20px}table{color:#FFFFFF;width:100%;text-align:center}table tr{margin-top:10px;line-height:normal}table tbody{display:block;max-height:300px;overflow-y:scroll;margin:30px 0}table thead,table tbody tr{display:table;width:100%;table-layout:fixed}`;
2411
+ this.shadowRoot.appendChild(style);
2343
2412
 
2344
2413
  init(
2345
2414
  this,
@@ -3207,7 +3276,7 @@
3207
3276
  }
3208
3277
  }
3209
3278
 
3210
- /* src/private.item.svg.svelte generated by Svelte v3.48.0 */
3279
+ /* src/private.item.svg.svelte generated by Svelte v3.58.0 */
3211
3280
 
3212
3281
  const { Error: Error_1 } = globals;
3213
3282
  const file$2 = "src/private.item.svg.svelte";
@@ -3316,10 +3385,10 @@
3316
3385
  { "color-interpolation-filters": "sRGB" }
3317
3386
  ];
3318
3387
 
3319
- let filter0_data = {};
3388
+ let filter_data_1 = {};
3320
3389
 
3321
3390
  for (let i = 0; i < filter0_levels.length; i += 1) {
3322
- filter0_data = assign(filter0_data, filter0_levels[i]);
3391
+ filter_data_1 = assign(filter_data_1, filter0_levels[i]);
3323
3392
  }
3324
3393
 
3325
3394
  let each_value_5 = /*theme*/ ctx[3].background.base.linearGradient.steps;
@@ -3338,10 +3407,10 @@
3338
3407
  }
3339
3408
  ];
3340
3409
 
3341
- let linearGradient0_data = {};
3410
+ let linearGradient_data_3 = {};
3342
3411
 
3343
3412
  for (let i = 0; i < linearGradient0_levels.length; i += 1) {
3344
- linearGradient0_data = assign(linearGradient0_data, linearGradient0_levels[i]);
3413
+ linearGradient_data_3 = assign(linearGradient_data_3, linearGradient0_levels[i]);
3345
3414
  }
3346
3415
 
3347
3416
  let circle0_levels = [
@@ -3354,10 +3423,10 @@
3354
3423
  }
3355
3424
  ];
3356
3425
 
3357
- let circle0_data = {};
3426
+ let circle_data_3 = {};
3358
3427
 
3359
3428
  for (let i = 0; i < circle0_levels.length; i += 1) {
3360
- circle0_data = assign(circle0_data, circle0_levels[i]);
3429
+ circle_data_3 = assign(circle_data_3, circle0_levels[i]);
3361
3430
  }
3362
3431
 
3363
3432
  let each_value_4 = /*theme*/ ctx[3].background.small.linearGradient.steps;
@@ -3376,10 +3445,10 @@
3376
3445
  }
3377
3446
  ];
3378
3447
 
3379
- let linearGradient1_data = {};
3448
+ let linearGradient_data_2 = {};
3380
3449
 
3381
3450
  for (let i = 0; i < linearGradient1_levels.length; i += 1) {
3382
- linearGradient1_data = assign(linearGradient1_data, linearGradient1_levels[i]);
3451
+ linearGradient_data_2 = assign(linearGradient_data_2, linearGradient1_levels[i]);
3383
3452
  }
3384
3453
 
3385
3454
  let circle1_levels = [
@@ -3391,10 +3460,10 @@
3391
3460
  }
3392
3461
  ];
3393
3462
 
3394
- let circle1_data = {};
3463
+ let circle_data_2 = {};
3395
3464
 
3396
3465
  for (let i = 0; i < circle1_levels.length; i += 1) {
3397
- circle1_data = assign(circle1_data, circle1_levels[i]);
3466
+ circle_data_2 = assign(circle_data_2, circle1_levels[i]);
3398
3467
  }
3399
3468
 
3400
3469
  let circle2_levels = [
@@ -3407,17 +3476,17 @@
3407
3476
  }
3408
3477
  ];
3409
3478
 
3410
- let circle2_data = {};
3479
+ let circle_data_1 = {};
3411
3480
 
3412
3481
  for (let i = 0; i < circle2_levels.length; i += 1) {
3413
- circle2_data = assign(circle2_data, circle2_levels[i]);
3482
+ circle_data_1 = assign(circle_data_1, circle2_levels[i]);
3414
3483
  }
3415
3484
 
3416
3485
  let g0_levels = [classWithPart("BackgroundCircleGroup"), { filter: "url(#BgHalo)" }];
3417
- let g0_data = {};
3486
+ let g_data_5 = {};
3418
3487
 
3419
3488
  for (let i = 0; i < g0_levels.length; i += 1) {
3420
- g0_data = assign(g0_data, g0_levels[i]);
3489
+ g_data_5 = assign(g_data_5, g0_levels[i]);
3421
3490
  }
3422
3491
 
3423
3492
  let linearGradient2_levels = [
@@ -3426,10 +3495,10 @@
3426
3495
  { gradientTransform: "rotate(45)" }
3427
3496
  ];
3428
3497
 
3429
- let linearGradient2_data = {};
3498
+ let linearGradient_data_1 = {};
3430
3499
 
3431
3500
  for (let i = 0; i < linearGradient2_levels.length; i += 1) {
3432
- linearGradient2_data = assign(linearGradient2_data, linearGradient2_levels[i]);
3501
+ linearGradient_data_1 = assign(linearGradient_data_1, linearGradient2_levels[i]);
3433
3502
  }
3434
3503
 
3435
3504
  let each_value_2 = /*options*/ ctx[7];
@@ -3441,10 +3510,10 @@
3441
3510
  }
3442
3511
 
3443
3512
  let g1_levels = [classWithPart("PartitionsBackground")];
3444
- let g1_data = {};
3513
+ let g_data_3 = {};
3445
3514
 
3446
3515
  for (let i = 0; i < g1_levels.length; i += 1) {
3447
- g1_data = assign(g1_data, g1_levels[i]);
3516
+ g_data_3 = assign(g_data_3, g1_levels[i]);
3448
3517
  }
3449
3518
 
3450
3519
  let each_value_1 = /*options*/ ctx[7];
@@ -3472,10 +3541,10 @@
3472
3541
  }
3473
3542
 
3474
3543
  let g3_levels = [classWithPart("Partitions"), /*propsSpinner*/ ctx[17]];
3475
- let g3_data = {};
3544
+ let g_data_4 = {};
3476
3545
 
3477
3546
  for (let i = 0; i < g3_levels.length; i += 1) {
3478
- g3_data = assign(g3_data, g3_levels[i]);
3547
+ g_data_4 = assign(g_data_4, g3_levels[i]);
3479
3548
  }
3480
3549
 
3481
3550
  let if_block0 = /*pointermode*/ ctx[11] === PointerMode.Partition && /*options*/ ctx[7][0] && create_if_block_11(ctx);
@@ -3489,17 +3558,17 @@
3489
3558
  }
3490
3559
  ];
3491
3560
 
3492
- let circle3_data = {};
3561
+ let circle_data = {};
3493
3562
 
3494
3563
  for (let i = 0; i < circle3_levels.length; i += 1) {
3495
- circle3_data = assign(circle3_data, circle3_levels[i]);
3564
+ circle_data = assign(circle_data, circle3_levels[i]);
3496
3565
  }
3497
3566
 
3498
3567
  let g4_levels = [{}]; // filter: "url(#FilterCenterCircle)",
3499
- let g4_data = {};
3568
+ let g_data = {};
3500
3569
 
3501
3570
  for (let i = 0; i < g4_levels.length; i += 1) {
3502
- g4_data = assign(g4_data, g4_levels[i]);
3571
+ g_data = assign(g_data, g4_levels[i]);
3503
3572
  }
3504
3573
 
3505
3574
  let if_block1 = (/*themeIndex*/ ctx[6] === 0 || /*themeIndex*/ ctx[6] === 3) && create_if_block_10(ctx);
@@ -3508,10 +3577,10 @@
3508
3577
  let if_block4 = /*themeIndex*/ ctx[6] === 1 && create_if_block_7(ctx);
3509
3578
  let if_block5 = /*themeIndex*/ ctx[6] === 2 && create_if_block_6(ctx);
3510
3579
  let g5_levels = [classWithPart("Center", /*spinable*/ ctx[9] ? '' : 'disabled')];
3511
- let g5_data = {};
3580
+ let g_data_1 = {};
3512
3581
 
3513
3582
  for (let i = 0; i < g5_levels.length; i += 1) {
3514
- g5_data = assign(g5_data, g5_levels[i]);
3583
+ g_data_1 = assign(g_data_1, g5_levels[i]);
3515
3584
  }
3516
3585
 
3517
3586
  let if_block6 = /*theme*/ ctx[3].background.isShowingBulb && create_if_block_5(ctx);
@@ -3617,22 +3686,22 @@
3617
3686
  attr_dev(feBlend1, "in2", "effect1_dropShadow_4318_310");
3618
3687
  attr_dev(feBlend1, "result", "shape");
3619
3688
  add_location(feBlend1, file$2, 286, 6, 10677);
3620
- set_svg_attributes(filter0, filter0_data);
3689
+ set_svg_attributes(filter0, filter_data_1);
3621
3690
  add_location(filter0, file$2, 270, 4, 9988);
3622
3691
  add_location(defs0, file$2, 269, 2, 9977);
3623
- set_svg_attributes(linearGradient0, linearGradient0_data);
3692
+ set_svg_attributes(linearGradient0, linearGradient_data_3);
3624
3693
  add_location(linearGradient0, file$2, 293, 6, 10891);
3625
3694
  add_location(defs1, file$2, 292, 4, 10878);
3626
- set_svg_attributes(circle0, circle0_data);
3695
+ set_svg_attributes(circle0, circle_data_3);
3627
3696
  add_location(circle0, file$2, 303, 4, 11239);
3628
- set_svg_attributes(linearGradient1, linearGradient1_data);
3697
+ set_svg_attributes(linearGradient1, linearGradient_data_2);
3629
3698
  add_location(linearGradient1, file$2, 312, 6, 11485);
3630
3699
  add_location(defs2, file$2, 311, 4, 11472);
3631
- set_svg_attributes(circle1, circle1_data);
3700
+ set_svg_attributes(circle1, circle_data_2);
3632
3701
  add_location(circle1, file$2, 322, 4, 11833);
3633
- set_svg_attributes(circle2, circle2_data);
3702
+ set_svg_attributes(circle2, circle_data_1);
3634
3703
  add_location(circle2, file$2, 329, 4, 11966);
3635
- set_svg_attributes(g0, g0_data);
3704
+ set_svg_attributes(g0, g_data_5);
3636
3705
  add_location(g0, file$2, 290, 2, 10799);
3637
3706
  attr_dev(stop0, "stop-color", "#F28F00");
3638
3707
  add_location(stop0, file$2, 349, 8, 12487);
@@ -3645,10 +3714,10 @@
3645
3714
  attr_dev(stop3, "offset", "1");
3646
3715
  attr_dev(stop3, "stop-color", "#FFE767");
3647
3716
  add_location(stop3, file$2, 352, 8, 12626);
3648
- set_svg_attributes(linearGradient2, linearGradient2_data);
3717
+ set_svg_attributes(linearGradient2, linearGradient_data_1);
3649
3718
  add_location(linearGradient2, file$2, 342, 6, 12316);
3650
3719
  add_location(defs3, file$2, 341, 6, 12303);
3651
- set_svg_attributes(g1, g1_data);
3720
+ set_svg_attributes(g1, g_data_3);
3652
3721
  add_location(g1, file$2, 340, 4, 12250);
3653
3722
  attr_dev(feGaussianBlur1, "in", "SourceGraphic");
3654
3723
 
@@ -3666,7 +3735,7 @@
3666
3735
  add_location(g2, file$2, 382, 4, 13697);
3667
3736
  set_svg_attributes(image, image_data);
3668
3737
  add_location(image, file$2, 407, 4, 14546);
3669
- set_svg_attributes(g3, g3_data);
3738
+ set_svg_attributes(g3, g_data_4);
3670
3739
  add_location(g3, file$2, 339, 2, 12191);
3671
3740
  attr_dev(stop4, "offset", "0.28");
3672
3741
  attr_dev(stop4, "stop-color", "#303030");
@@ -3682,11 +3751,11 @@
3682
3751
  attr_dev(linearGradient3, "gradientUnits", "userSpaceOnUse");
3683
3752
  add_location(linearGradient3, file$2, 476, 6, 17002);
3684
3753
  add_location(defs5, file$2, 459, 4, 16060);
3685
- set_svg_attributes(circle3, circle3_data);
3754
+ set_svg_attributes(circle3, circle_data);
3686
3755
  add_location(circle3, file$2, 486, 6, 17340);
3687
- set_svg_attributes(g4, g4_data);
3756
+ set_svg_attributes(g4, g_data);
3688
3757
  add_location(g4, file$2, 481, 4, 17256);
3689
- set_svg_attributes(g5, g5_data);
3758
+ set_svg_attributes(g5, g_data_1);
3690
3759
  add_location(g5, file$2, 455, 2, 15958);
3691
3760
  attr_dev(svg_1, "width", /*size*/ ctx[1]);
3692
3761
  attr_dev(svg_1, "height", /*size*/ ctx[1]);
@@ -3710,7 +3779,9 @@
3710
3779
  append_dev(defs1, linearGradient0);
3711
3780
 
3712
3781
  for (let i = 0; i < each_blocks_3.length; i += 1) {
3713
- each_blocks_3[i].m(linearGradient0, null);
3782
+ if (each_blocks_3[i]) {
3783
+ each_blocks_3[i].m(linearGradient0, null);
3784
+ }
3714
3785
  }
3715
3786
 
3716
3787
  append_dev(g0, circle0);
@@ -3718,7 +3789,9 @@
3718
3789
  append_dev(defs2, linearGradient1);
3719
3790
 
3720
3791
  for (let i = 0; i < each_blocks_2.length; i += 1) {
3721
- each_blocks_2[i].m(linearGradient1, null);
3792
+ if (each_blocks_2[i]) {
3793
+ each_blocks_2[i].m(linearGradient1, null);
3794
+ }
3722
3795
  }
3723
3796
 
3724
3797
  append_dev(g0, circle1);
@@ -3733,7 +3806,9 @@
3733
3806
  append_dev(linearGradient2, stop3);
3734
3807
 
3735
3808
  for (let i = 0; i < each_blocks_1.length; i += 1) {
3736
- each_blocks_1[i].m(g1, null);
3809
+ if (each_blocks_1[i]) {
3810
+ each_blocks_1[i].m(g1, null);
3811
+ }
3737
3812
  }
3738
3813
 
3739
3814
  append_dev(g3, g2);
@@ -3742,7 +3817,9 @@
3742
3817
  append_dev(filter1, feGaussianBlur1);
3743
3818
 
3744
3819
  for (let i = 0; i < each_blocks.length; i += 1) {
3745
- each_blocks[i].m(g2, null);
3820
+ if (each_blocks[i]) {
3821
+ each_blocks[i].m(g2, null);
3822
+ }
3746
3823
  }
3747
3824
 
3748
3825
  append_dev(g3, image);
@@ -3769,12 +3846,12 @@
3769
3846
  /*svg_1_binding*/ ctx[34](svg_1);
3770
3847
 
3771
3848
  if (!mounted) {
3772
- dispose = listen_dev(g5, "click", /*click_handler*/ ctx[33], false, false, false);
3849
+ dispose = listen_dev(g5, "click", /*click_handler*/ ctx[33], false, false, false, false);
3773
3850
  mounted = true;
3774
3851
  }
3775
3852
  },
3776
3853
  p: function update(ctx, dirty) {
3777
- set_svg_attributes(filter0, filter0_data = get_spread_update(filter0_levels, [
3854
+ set_svg_attributes(filter0, filter_data_1 = get_spread_update(filter0_levels, [
3778
3855
  dirty[0] & /*size*/ 2 && {
3779
3856
  width: /*size*/ ctx[1],
3780
3857
  height: /*size*/ ctx[1],
@@ -3810,15 +3887,7 @@
3810
3887
  each_blocks_3.length = each_value_5.length;
3811
3888
  }
3812
3889
 
3813
- set_svg_attributes(linearGradient0, linearGradient0_data = get_spread_update(linearGradient0_levels, [
3814
- {
3815
- id: "BgRingBaseLinearGradient",
3816
- gradientTransform: "rotate(0)",
3817
- gradientUnits: "userSpaceOnUse"
3818
- }
3819
- ]));
3820
-
3821
- set_svg_attributes(circle0, circle0_data = get_spread_update(circle0_levels, [
3890
+ set_svg_attributes(circle0, circle_data_3 = get_spread_update(circle0_levels, [
3822
3891
  dirty[0] & /*center, theme, ratio*/ 44 && {
3823
3892
  fill: `url(#BgRingBaseLinearGradient)`,
3824
3893
  cx: /*center*/ ctx[5],
@@ -3852,15 +3921,7 @@
3852
3921
  each_blocks_2.length = each_value_4.length;
3853
3922
  }
3854
3923
 
3855
- set_svg_attributes(linearGradient1, linearGradient1_data = get_spread_update(linearGradient1_levels, [
3856
- {
3857
- id: "BgRingSmallLinearGradient",
3858
- gradientTransform: "rotate(0)",
3859
- radientUnits: "userSpaceOnUse"
3860
- }
3861
- ]));
3862
-
3863
- set_svg_attributes(circle1, circle1_data = get_spread_update(circle1_levels, [
3924
+ set_svg_attributes(circle1, circle_data_2 = get_spread_update(circle1_levels, [
3864
3925
  dirty[0] & /*center, rRingOuter*/ 16416 && {
3865
3926
  fill: `url(#BgRingSmallLinearGradient)`,
3866
3927
  cx: /*center*/ ctx[5],
@@ -3869,7 +3930,7 @@
3869
3930
  }
3870
3931
  ]));
3871
3932
 
3872
- set_svg_attributes(circle2, circle2_data = get_spread_update(circle2_levels, [
3933
+ set_svg_attributes(circle2, circle_data_1 = get_spread_update(circle2_levels, [
3873
3934
  dirty[0] & /*center, rRingInner*/ 32800 && {
3874
3935
  fill: `url(#BgRingBaseLinearGradient)`,
3875
3936
  cx: /*center*/ ctx[5],
@@ -3879,14 +3940,6 @@
3879
3940
  }
3880
3941
  ]));
3881
3942
 
3882
- set_svg_attributes(g0, g0_data = get_spread_update(g0_levels, [classWithPart("BackgroundCircleGroup"), { filter: "url(#BgHalo)" }]));
3883
-
3884
- set_svg_attributes(linearGradient2, linearGradient2_data = get_spread_update(linearGradient2_levels, [
3885
- { id: "LGPartitionStroke" },
3886
- { gradientUnits: "userSpaceOnUse" },
3887
- { gradientTransform: "rotate(45)" }
3888
- ]));
3889
-
3890
3943
  if (dirty[0] & /*options, radius, center, themeIndex, theme*/ 248) {
3891
3944
  each_value_2 = /*options*/ ctx[7];
3892
3945
  validate_each_argument(each_value_2);
@@ -3911,8 +3964,6 @@
3911
3964
  each_blocks_1.length = each_value_2.length;
3912
3965
  }
3913
3966
 
3914
- set_svg_attributes(g1, g1_data = get_spread_update(g1_levels, [classWithPart("PartitionsBackground")]));
3915
-
3916
3967
  if (dirty[0] & /*pointermode, speed*/ 6144 && feGaussianBlur1_stdDeviation_value !== (feGaussianBlur1_stdDeviation_value = /*pointermode*/ ctx[11] === PointerMode.Arrow
3917
3968
  ? 2 * /*speed*/ ctx[12]
3918
3969
  : 0)) {
@@ -3953,7 +4004,7 @@
3953
4004
  }
3954
4005
  ]));
3955
4006
 
3956
- set_svg_attributes(g3, g3_data = get_spread_update(g3_levels, [
4007
+ set_svg_attributes(g3, g_data_4 = get_spread_update(g3_levels, [
3957
4008
  classWithPart("Partitions"),
3958
4009
  dirty[0] & /*propsSpinner*/ 131072 && /*propsSpinner*/ ctx[17]
3959
4010
  ]));
@@ -3971,7 +4022,7 @@
3971
4022
  if_block0 = null;
3972
4023
  }
3973
4024
 
3974
- set_svg_attributes(circle3, circle3_data = get_spread_update(circle3_levels, [
4025
+ set_svg_attributes(circle3, circle_data = get_spread_update(circle3_levels, [
3975
4026
  dirty[0] & /*center, ratio*/ 36 && {
3976
4027
  fill: `url(#LGCenterCircle)`,
3977
4028
  cx: /*center*/ ctx[5],
@@ -3980,8 +4031,6 @@
3980
4031
  }
3981
4032
  ]));
3982
4033
 
3983
- set_svg_attributes(g4, g4_data = get_spread_update(g4_levels, [{}])); // filter: "url(#FilterCenterCircle)",
3984
-
3985
4034
  if (/*themeIndex*/ ctx[6] === 0 || /*themeIndex*/ ctx[6] === 3) {
3986
4035
  if (if_block1) {
3987
4036
  if_block1.p(ctx, dirty);
@@ -4047,7 +4096,7 @@
4047
4096
  if_block5 = null;
4048
4097
  }
4049
4098
 
4050
- set_svg_attributes(g5, g5_data = get_spread_update(g5_levels, [
4099
+ set_svg_attributes(g5, g_data_1 = get_spread_update(g5_levels, [
4051
4100
  dirty[0] & /*spinable*/ 512 && classWithPart("Center", /*spinable*/ ctx[9] ? '' : 'disabled')
4052
4101
  ]));
4053
4102
 
@@ -4311,7 +4360,9 @@
4311
4360
  append_dev(defs, linearGradient);
4312
4361
 
4313
4362
  for (let i = 0; i < each_blocks.length; i += 1) {
4314
- each_blocks[i].m(linearGradient, null);
4363
+ if (each_blocks[i]) {
4364
+ each_blocks[i].m(linearGradient, null);
4365
+ }
4315
4366
  }
4316
4367
 
4317
4368
  insert_dev(target, path, anchor);
@@ -4443,17 +4494,17 @@
4443
4494
  }
4444
4495
  ];
4445
4496
 
4446
- let text_1_data = {};
4497
+ let text_data = {};
4447
4498
 
4448
4499
  for (let i = 0; i < text_1_levels.length; i += 1) {
4449
- text_1_data = assign(text_1_data, text_1_levels[i]);
4500
+ text_data = assign(text_data, text_1_levels[i]);
4450
4501
  }
4451
4502
 
4452
4503
  const block = {
4453
4504
  c: function create() {
4454
4505
  text_1 = svg_element("text");
4455
4506
  t = text(t_value);
4456
- set_svg_attributes(text_1, text_1_data);
4507
+ set_svg_attributes(text_1, text_data);
4457
4508
  add_location(text_1, file$2, 391, 10, 13983);
4458
4509
  },
4459
4510
  m: function mount(target, anchor) {
@@ -4461,9 +4512,9 @@
4461
4512
  append_dev(text_1, t);
4462
4513
  },
4463
4514
  p: function update(ctx, dirty) {
4464
- if (dirty[0] & /*options*/ 128 && t_value !== (t_value = /*option*/ ctx[42].name + "")) set_data_dev(t, t_value);
4515
+ if (dirty[0] & /*options*/ 128 && t_value !== (t_value = /*option*/ ctx[42].name + "")) set_data_maybe_contenteditable_dev(t, t_value, text_data['contenteditable']);
4465
4516
 
4466
- set_svg_attributes(text_1, text_1_data = get_spread_update(text_1_levels, [
4517
+ set_svg_attributes(text_1, text_data = get_spread_update(text_1_levels, [
4467
4518
  { filter: "url(#f1)" },
4468
4519
  { "dominant-baseline": "central" },
4469
4520
  dirty[0] & /*ratio, radius, center, options, pointermode, arrowmode*/ 2229 && {
@@ -4562,10 +4613,10 @@
4562
4613
  }
4563
4614
  ];
4564
4615
 
4565
- let image0_data = {};
4616
+ let image_data_1 = {};
4566
4617
 
4567
4618
  for (let i = 0; i < image0_levels.length; i += 1) {
4568
- image0_data = assign(image0_data, image0_levels[i]);
4619
+ image_data_1 = assign(image_data_1, image0_levels[i]);
4569
4620
  }
4570
4621
 
4571
4622
  let image1_levels = [
@@ -4576,10 +4627,10 @@
4576
4627
  }
4577
4628
  ];
4578
4629
 
4579
- let image1_data = {};
4630
+ let image_data = {};
4580
4631
 
4581
4632
  for (let i = 0; i < image1_levels.length; i += 1) {
4582
- image1_data = assign(image1_data, image1_levels[i]);
4633
+ image_data = assign(image_data, image1_levels[i]);
4583
4634
  }
4584
4635
 
4585
4636
  let path_levels = [
@@ -4617,9 +4668,9 @@
4617
4668
  stop1 = svg_element("stop");
4618
4669
  stop2 = svg_element("stop");
4619
4670
  path = svg_element("path");
4620
- set_svg_attributes(image0, image0_data);
4671
+ set_svg_attributes(image0, image_data_1);
4621
4672
  add_location(image0, file$2, 418, 4, 14904);
4622
- set_svg_attributes(image1, image1_data);
4673
+ set_svg_attributes(image1, image_data);
4623
4674
  add_location(image1, file$2, 425, 4, 15080);
4624
4675
  attr_dev(stop0, "stop-color", "#E7A60D");
4625
4676
  add_location(stop0, file$2, 436, 6, 15400);
@@ -4654,7 +4705,7 @@
4654
4705
  append_dev(g, path);
4655
4706
  },
4656
4707
  p: function update(ctx, dirty) {
4657
- set_svg_attributes(image0, image0_data = get_spread_update(image0_levels, [
4708
+ set_svg_attributes(image0, image_data_1 = get_spread_update(image0_levels, [
4658
4709
  dirty[0] & /*options, radius, center*/ 176 && {
4659
4710
  ...classWithPart("HighLightAreaBackground"),
4660
4711
  href: img$b,
@@ -4662,7 +4713,7 @@
4662
4713
  }
4663
4714
  ]));
4664
4715
 
4665
- set_svg_attributes(image1, image1_data = get_spread_update(image1_levels, [
4716
+ set_svg_attributes(image1, image_data = get_spread_update(image1_levels, [
4666
4717
  dirty[0] & /*options, radius, center*/ 176 && {
4667
4718
  ...classWithPart("HighLightArea"),
4668
4719
  href: img$c,
@@ -4819,10 +4870,10 @@
4819
4870
  )
4820
4871
  ];
4821
4872
 
4822
- let image0_data = {};
4873
+ let image_data_1 = {};
4823
4874
 
4824
4875
  for (let i = 0; i < image0_levels.length; i += 1) {
4825
- image0_data = assign(image0_data, image0_levels[i]);
4876
+ image_data_1 = assign(image_data_1, image0_levels[i]);
4826
4877
  }
4827
4878
 
4828
4879
  let image1_levels = [
@@ -4837,19 +4888,19 @@
4837
4888
  )
4838
4889
  ];
4839
4890
 
4840
- let image1_data = {};
4891
+ let image_data = {};
4841
4892
 
4842
4893
  for (let i = 0; i < image1_levels.length; i += 1) {
4843
- image1_data = assign(image1_data, image1_levels[i]);
4894
+ image_data = assign(image_data, image1_levels[i]);
4844
4895
  }
4845
4896
 
4846
4897
  const block = {
4847
4898
  c: function create() {
4848
4899
  image0 = svg_element("image");
4849
4900
  image1 = svg_element("image");
4850
- set_svg_attributes(image0, image0_data);
4901
+ set_svg_attributes(image0, image_data_1);
4851
4902
  add_location(image0, file$2, 512, 6, 18037);
4852
- set_svg_attributes(image1, image1_data);
4903
+ set_svg_attributes(image1, image_data);
4853
4904
  add_location(image1, file$2, 519, 6, 18219);
4854
4905
  },
4855
4906
  m: function mount(target, anchor) {
@@ -4857,7 +4908,7 @@
4857
4908
  insert_dev(target, image1, anchor);
4858
4909
  },
4859
4910
  p: function update(ctx, dirty) {
4860
- set_svg_attributes(image0, image0_data = get_spread_update(image0_levels, [
4911
+ set_svg_attributes(image0, image_data_1 = get_spread_update(image0_levels, [
4861
4912
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(
4862
4913
  /*center*/ ctx[5],
4863
4914
  img,
@@ -4869,7 +4920,7 @@
4869
4920
  )
4870
4921
  ]));
4871
4922
 
4872
- set_svg_attributes(image1, image1_data = get_spread_update(image1_levels, [
4923
+ set_svg_attributes(image1, image_data = get_spread_update(image1_levels, [
4873
4924
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(
4874
4925
  /*center*/ ctx[5],
4875
4926
  img$1,
@@ -4910,10 +4961,10 @@
4910
4961
  })
4911
4962
  ];
4912
4963
 
4913
- let image0_data = {};
4964
+ let image_data_1 = {};
4914
4965
 
4915
4966
  for (let i = 0; i < image0_levels.length; i += 1) {
4916
- image0_data = assign(image0_data, image0_levels[i]);
4967
+ image_data_1 = assign(image_data_1, image0_levels[i]);
4917
4968
  }
4918
4969
 
4919
4970
  let image1_levels = [
@@ -4923,19 +4974,19 @@
4923
4974
  })
4924
4975
  ];
4925
4976
 
4926
- let image1_data = {};
4977
+ let image_data = {};
4927
4978
 
4928
4979
  for (let i = 0; i < image1_levels.length; i += 1) {
4929
- image1_data = assign(image1_data, image1_levels[i]);
4980
+ image_data = assign(image_data, image1_levels[i]);
4930
4981
  }
4931
4982
 
4932
4983
  const block = {
4933
4984
  c: function create() {
4934
4985
  image0 = svg_element("image");
4935
4986
  image1 = svg_element("image");
4936
- set_svg_attributes(image0, image0_data);
4987
+ set_svg_attributes(image0, image_data_1);
4937
4988
  add_location(image0, file$2, 529, 6, 18471);
4938
- set_svg_attributes(image1, image1_data);
4989
+ set_svg_attributes(image1, image_data);
4939
4990
  add_location(image1, file$2, 534, 6, 18654);
4940
4991
  },
4941
4992
  m: function mount(target, anchor) {
@@ -4943,14 +4994,14 @@
4943
4994
  insert_dev(target, image1, anchor);
4944
4995
  },
4945
4996
  p: function update(ctx, dirty) {
4946
- set_svg_attributes(image0, image0_data = get_spread_update(image0_levels, [
4997
+ set_svg_attributes(image0, image_data_1 = get_spread_update(image0_levels, [
4947
4998
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(/*center*/ ctx[5], img$4, {
4948
4999
  width: 128 * /*ratio*/ ctx[2],
4949
5000
  height: 128 * /*ratio*/ ctx[2]
4950
5001
  })
4951
5002
  ]));
4952
5003
 
4953
- set_svg_attributes(image1, image1_data = get_spread_update(image1_levels, [
5004
+ set_svg_attributes(image1, image_data = get_spread_update(image1_levels, [
4954
5005
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(/*center*/ ctx[5], img$6, {
4955
5006
  width: 76 * /*ratio*/ ctx[2],
4956
5007
  height: 76 * /*ratio*/ ctx[2]
@@ -4986,10 +5037,10 @@
4986
5037
  })
4987
5038
  ];
4988
5039
 
4989
- let image0_data = {};
5040
+ let image_data_1 = {};
4990
5041
 
4991
5042
  for (let i = 0; i < image0_levels.length; i += 1) {
4992
- image0_data = assign(image0_data, image0_levels[i]);
5043
+ image_data_1 = assign(image_data_1, image0_levels[i]);
4993
5044
  }
4994
5045
 
4995
5046
  let image1_levels = [
@@ -4999,19 +5050,19 @@
4999
5050
  })
5000
5051
  ];
5001
5052
 
5002
- let image1_data = {};
5053
+ let image_data = {};
5003
5054
 
5004
5055
  for (let i = 0; i < image1_levels.length; i += 1) {
5005
- image1_data = assign(image1_data, image1_levels[i]);
5056
+ image_data = assign(image_data, image1_levels[i]);
5006
5057
  }
5007
5058
 
5008
5059
  const block = {
5009
5060
  c: function create() {
5010
5061
  image0 = svg_element("image");
5011
5062
  image1 = svg_element("image");
5012
- set_svg_attributes(image0, image0_data);
5063
+ set_svg_attributes(image0, image_data_1);
5013
5064
  add_location(image0, file$2, 540, 6, 18823);
5014
- set_svg_attributes(image1, image1_data);
5065
+ set_svg_attributes(image1, image_data);
5015
5066
  add_location(image1, file$2, 544, 6, 18956);
5016
5067
  },
5017
5068
  m: function mount(target, anchor) {
@@ -5019,14 +5070,14 @@
5019
5070
  insert_dev(target, image1, anchor);
5020
5071
  },
5021
5072
  p: function update(ctx, dirty) {
5022
- set_svg_attributes(image0, image0_data = get_spread_update(image0_levels, [
5073
+ set_svg_attributes(image0, image_data_1 = get_spread_update(image0_levels, [
5023
5074
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(/*center*/ ctx[5], img$9, {
5024
5075
  width: 92 * /*ratio*/ ctx[2],
5025
5076
  height: 92 * /*ratio*/ ctx[2]
5026
5077
  })
5027
5078
  ]));
5028
5079
 
5029
- set_svg_attributes(image1, image1_data = get_spread_update(image1_levels, [
5080
+ set_svg_attributes(image1, image_data = get_spread_update(image1_levels, [
5030
5081
  dirty[0] & /*center, ratio*/ 36 && renderSvgImageProps(/*center*/ ctx[5], img$5, {
5031
5082
  width: 42 * /*ratio*/ ctx[2],
5032
5083
  height: 25 * /*ratio*/ ctx[2]
@@ -5076,7 +5127,9 @@
5076
5127
  insert_dev(target, g, anchor);
5077
5128
 
5078
5129
  for (let i = 0; i < each_blocks.length; i += 1) {
5079
- each_blocks[i].m(g, null);
5130
+ if (each_blocks[i]) {
5131
+ each_blocks[i].m(g, null);
5132
+ }
5080
5133
  }
5081
5134
  },
5082
5135
  p: function update(ctx, dirty) {
@@ -5131,10 +5184,10 @@
5131
5184
  getRingImageProps(/*index*/ ctx[44], /*options*/ ctx[7].length, /*rRingOuter*/ ctx[14], /*rRingInner*/ ctx[15], /*center*/ ctx[5], /*ratio*/ ctx[2])
5132
5185
  ];
5133
5186
 
5134
- let image0_data = {};
5187
+ let image_data_1 = {};
5135
5188
 
5136
5189
  for (let i = 0; i < image0_levels.length; i += 1) {
5137
- image0_data = assign(image0_data, image0_levels[i]);
5190
+ image_data_1 = assign(image_data_1, image0_levels[i]);
5138
5191
  }
5139
5192
 
5140
5193
  let image1_levels = [
@@ -5142,19 +5195,19 @@
5142
5195
  getRingImageProps(/*index*/ ctx[44] + 1 / 2, /*options*/ ctx[7].length, /*rRingOuter*/ ctx[14], /*rRingInner*/ ctx[15], /*center*/ ctx[5], /*ratio*/ ctx[2])
5143
5196
  ];
5144
5197
 
5145
- let image1_data = {};
5198
+ let image_data = {};
5146
5199
 
5147
5200
  for (let i = 0; i < image1_levels.length; i += 1) {
5148
- image1_data = assign(image1_data, image1_levels[i]);
5201
+ image_data = assign(image_data, image1_levels[i]);
5149
5202
  }
5150
5203
 
5151
5204
  const block = {
5152
5205
  c: function create() {
5153
5206
  image0 = svg_element("image");
5154
5207
  image1 = svg_element("image");
5155
- set_svg_attributes(image0, image0_data);
5208
+ set_svg_attributes(image0, image_data_1);
5156
5209
  add_location(image0, file$2, 555, 6, 19217);
5157
- set_svg_attributes(image1, image1_data);
5210
+ set_svg_attributes(image1, image_data);
5158
5211
  add_location(image1, file$2, 563, 6, 19402);
5159
5212
  },
5160
5213
  m: function mount(target, anchor) {
@@ -5162,12 +5215,12 @@
5162
5215
  insert_dev(target, image1, anchor);
5163
5216
  },
5164
5217
  p: function update(ctx, dirty) {
5165
- set_svg_attributes(image0, image0_data = get_spread_update(image0_levels, [
5218
+ set_svg_attributes(image0, image_data_1 = get_spread_update(image0_levels, [
5166
5219
  { href: img$d },
5167
5220
  dirty[0] & /*options, rRingOuter, rRingInner, center, ratio*/ 49316 && getRingImageProps(/*index*/ ctx[44], /*options*/ ctx[7].length, /*rRingOuter*/ ctx[14], /*rRingInner*/ ctx[15], /*center*/ ctx[5], /*ratio*/ ctx[2])
5168
5221
  ]));
5169
5222
 
5170
- set_svg_attributes(image1, image1_data = get_spread_update(image1_levels, [
5223
+ set_svg_attributes(image1, image_data = get_spread_update(image1_levels, [
5171
5224
  { href: img$d },
5172
5225
  dirty[0] & /*options, rRingOuter, rRingInner, center, ratio*/ 49316 && getRingImageProps(/*index*/ ctx[44] + 1 / 2, /*options*/ ctx[7].length, /*rRingOuter*/ ctx[14], /*rRingInner*/ ctx[15], /*center*/ ctx[5], /*ratio*/ ctx[2])
5173
5226
  ]));
@@ -5971,7 +6024,9 @@
5971
6024
  class Private_item_svg extends SvelteElement {
5972
6025
  constructor(options) {
5973
6026
  super();
5974
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emfe-w-color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}svg{transition:opacity 0.3s}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:#963658;stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}</style>`;
6027
+ const style = document.createElement('style');
6028
+ style.textContent = `:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emfe-w-color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}svg{transition:opacity 0.3s}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}`;
6029
+ this.shadowRoot.appendChild(style);
5975
6030
 
5976
6031
  init(
5977
6032
  this,
@@ -6130,7 +6185,7 @@
6130
6185
 
6131
6186
  customElements.define("lottery-program-wof-private-item-svg", Private_item_svg);
6132
6187
 
6133
- /* src/private.item.svelte generated by Svelte v3.48.0 */
6188
+ /* src/private.item.svelte generated by Svelte v3.58.0 */
6134
6189
  const file$1 = "src/private.item.svelte";
6135
6190
 
6136
6191
  // (89:0) {#if lotteryProgramForPlayer}
@@ -6158,25 +6213,25 @@
6158
6213
  }
6159
6214
 
6160
6215
  let main_1_levels = [classWithPart("Main")];
6161
- let main_1_data = {};
6216
+ let main_data = {};
6162
6217
 
6163
6218
  for (let i = 0; i < main_1_levels.length; i += 1) {
6164
- main_1_data = assign(main_1_data, main_1_levels[i]);
6219
+ main_data = assign(main_data, main_1_levels[i]);
6165
6220
  }
6166
6221
 
6167
6222
  let if_block1 = /*lotteryProgramForPlayer*/ ctx[5].current && create_if_block_1$1(ctx);
6168
6223
  let div0_levels = [classWithPart("FortuneContainer")];
6169
- let div0_data = {};
6224
+ let div_data = {};
6170
6225
 
6171
6226
  for (let i = 0; i < div0_levels.length; i += 1) {
6172
- div0_data = assign(div0_data, div0_levels[i]);
6227
+ div_data = assign(div_data, div0_levels[i]);
6173
6228
  }
6174
6229
 
6175
6230
  let div1_levels = [classWithPart("LotteryProgramWof")];
6176
- let div1_data = {};
6231
+ let div_data_1 = {};
6177
6232
 
6178
6233
  for (let i = 0; i < div1_levels.length; i += 1) {
6179
- div1_data = assign(div1_data, div1_levels[i]);
6234
+ div_data_1 = assign(div_data_1, div1_levels[i]);
6180
6235
  }
6181
6236
 
6182
6237
  const block = {
@@ -6191,11 +6246,11 @@
6191
6246
  if (if_block1) if_block1.c();
6192
6247
  set_attributes(lottery_program_wof_private_message_panel, lottery_program_wof_private_message_panel_data);
6193
6248
  add_location(lottery_program_wof_private_message_panel, file$1, 106, 8, 3169);
6194
- set_attributes(main_1, main_1_data);
6249
+ set_attributes(main_1, main_data);
6195
6250
  add_location(main_1, file$1, 93, 6, 2764);
6196
- set_attributes(div0, div0_data);
6251
+ set_attributes(div0, div_data);
6197
6252
  add_location(div0, file$1, 92, 4, 2713);
6198
- set_attributes(div1, div1_data);
6253
+ set_attributes(div1, div_data_1);
6199
6254
  add_location(div1, file$1, 90, 2, 2652);
6200
6255
  },
6201
6256
  m: function mount(target, anchor) {
@@ -6231,8 +6286,6 @@
6231
6286
  }
6232
6287
  ]));
6233
6288
 
6234
- set_attributes(main_1, main_1_data = get_spread_update(main_1_levels, [classWithPart("Main")]));
6235
-
6236
6289
  if (/*lotteryProgramForPlayer*/ ctx[5].current) {
6237
6290
  if (if_block1) {
6238
6291
  if_block1.p(ctx, dirty);
@@ -6245,9 +6298,6 @@
6245
6298
  if_block1.d(1);
6246
6299
  if_block1 = null;
6247
6300
  }
6248
-
6249
- set_attributes(div0, div0_data = get_spread_update(div0_levels, [classWithPart("FortuneContainer")]));
6250
- set_attributes(div1, div1_data = get_spread_update(div1_levels, [classWithPart("LotteryProgramWof")]));
6251
6301
  },
6252
6302
  d: function destroy(detaching) {
6253
6303
  if (detaching) detach_dev(div1);
@@ -6390,7 +6440,6 @@
6390
6440
  if (dirty & /*lotteryProgramForPlayer*/ 32 && t1_value !== (t1_value = getCurrentInfo(/*lotteryProgramForPlayer*/ ctx[5], 'active') + "")) set_data_dev(t1, t1_value);
6391
6441
  if (dirty & /*lotteryProgramForPlayer*/ 32 && t4_value !== (t4_value = getCurrentInfo(/*lotteryProgramForPlayer*/ ctx[5], 'implicit') + "")) set_data_dev(t4, t4_value);
6392
6442
  if (dirty & /*lotteryProgramForPlayer*/ 32 && t7_value !== (t7_value = getCurrentInfo(/*lotteryProgramForPlayer*/ ctx[5], 'remainingTimes') + "")) set_data_dev(t7, t7_value);
6393
- set_attributes(div, div_data = get_spread_update(div_levels, [classWithPart("Current")]));
6394
6443
  },
6395
6444
  d: function destroy(detaching) {
6396
6445
  if (detaching) detach_dev(div);
@@ -6681,7 +6730,9 @@
6681
6730
  class Private_item extends SvelteElement {
6682
6731
  constructor(options) {
6683
6732
  super();
6684
- this.shadowRoot.innerHTML = `<style>lottery-program-wof-private-message-panel{position:absolute}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}.Main{position:relative}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:#963658;stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{cursor:pointer;fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.PointerArrow{fill:#064CA0}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 2px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}</style>`;
6733
+ const style = document.createElement('style');
6734
+ style.textContent = `lottery-program-wof-private-message-panel{position:absolute}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}.Main{position:relative}.HighLightArea{mix-blend-mode:color-dodge}.HighLightAreaBackground{mix-blend-mode:screen;opacity:0.41}.HighLightAreaV1{background:radial-gradient(72.02% 62.64% at 50% 84.62%, rgba(255, 184, 47, 0.7) 0%, rgba(255, 184, 47, 0.384271) 30.52%, rgba(255, 184, 47, 0.165346) 52.4%, rgba(255, 184, 47, 0) 100%);filter:blur(9px)}.HighLightAreaV2{background:radial-gradient(87.18% 75.82% at 50% 84.62%, rgba(255, 248, 186, 0.7) 0%, rgba(255, 248, 186, 0.384271) 29.48%, rgba(255, 248, 186, 0) 100%);filter:blur(9px)}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.BackgroundCircle{fill:#FFFFFF;animation:color-animation 1s infinite linear alternate}.RingCirclesGroup .RingCircle{fill:#FFFFFF;stroke:#FFFFFF}.Center{transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{cursor:pointer;fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.PointerArrow{fill:#064CA0}.Current{color:#FFFFFF}.PartitionText{fill:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 2px #000}.PartitionShadow{background-blend-mode:multiply;mix-blend-mode:multiply}`;
6735
+ this.shadowRoot.appendChild(style);
6685
6736
 
6686
6737
  init(
6687
6738
  this,
@@ -6795,7 +6846,7 @@
6795
6846
 
6796
6847
  customElements.define("lottery-program-wof-private-item", Private_item);
6797
6848
 
6798
- /* src/LotteryProgramWof.svelte generated by Svelte v3.48.0 */
6849
+ /* src/LotteryProgramWof.svelte generated by Svelte v3.58.0 */
6799
6850
  const file = "src/LotteryProgramWof.svelte";
6800
6851
 
6801
6852
  function get_each_context(ctx, list, i) {
@@ -6828,9 +6879,7 @@
6828
6879
  insert_dev(target, div, anchor);
6829
6880
  append_dev(div, p);
6830
6881
  },
6831
- p: function update(ctx, dirty) {
6832
- set_attributes(div, div_data = get_spread_update(div_levels, [classWithPart("NoContent")]));
6833
- },
6882
+ p: noop,
6834
6883
  d: function destroy(detaching) {
6835
6884
  if (detaching) detach_dev(div);
6836
6885
  }
@@ -6868,7 +6917,9 @@
6868
6917
  },
6869
6918
  m: function mount(target, anchor) {
6870
6919
  for (let i = 0; i < each_blocks.length; i += 1) {
6871
- each_blocks[i].m(target, anchor);
6920
+ if (each_blocks[i]) {
6921
+ each_blocks[i].m(target, anchor);
6922
+ }
6872
6923
  }
6873
6924
 
6874
6925
  insert_dev(target, each_1_anchor, anchor);
@@ -7019,10 +7070,10 @@
7019
7070
  let current_block_type = select_block_type(ctx);
7020
7071
  let if_block = current_block_type(ctx);
7021
7072
  let div0_levels = [classWithPart('CommonContainer')];
7022
- let div0_data = {};
7073
+ let div_data_1 = {};
7023
7074
 
7024
7075
  for (let i = 0; i < div0_levels.length; i += 1) {
7025
- div0_data = assign(div0_data, div0_levels[i]);
7076
+ div_data_1 = assign(div_data_1, div0_levels[i]);
7026
7077
  }
7027
7078
 
7028
7079
  let lottery_program_wof_private_outcomes_levels = [
@@ -7042,10 +7093,10 @@
7042
7093
  }
7043
7094
 
7044
7095
  let div3_levels = [classWithPart("Root")];
7045
- let div3_data = {};
7096
+ let div_data_3 = {};
7046
7097
 
7047
7098
  for (let i = 0; i < div3_levels.length; i += 1) {
7048
- div3_data = assign(div3_data, div3_levels[i]);
7099
+ div_data_3 = assign(div_data_3, div3_levels[i]);
7049
7100
  }
7050
7101
 
7051
7102
  const block = {
@@ -7059,7 +7110,7 @@
7059
7110
  div2 = element("div");
7060
7111
  lottery_program_wof_private_outcomes = element("lottery-program-wof-private-outcomes");
7061
7112
  this.c = noop;
7062
- set_attributes(div0, div0_data);
7113
+ set_attributes(div0, div_data_1);
7063
7114
  add_location(div0, file, 47, 6, 1283);
7064
7115
  attr_dev(div1, "slot", "tab-Program");
7065
7116
  add_location(div1, file, 46, 4, 1252);
@@ -7068,7 +7119,7 @@
7068
7119
  attr_dev(div2, "slot", "tab-History");
7069
7120
  add_location(div2, file, 69, 4, 1957);
7070
7121
  add_location(lottery_program_wof_private_tabs, file, 45, 2, 1213);
7071
- set_attributes(div3, div3_data);
7122
+ set_attributes(div3, div_data_3);
7072
7123
  add_location(div3, file, 43, 0, 1177);
7073
7124
  },
7074
7125
  l: function claim(nodes) {
@@ -7097,8 +7148,6 @@
7097
7148
  }
7098
7149
  }
7099
7150
 
7100
- set_attributes(div0, div0_data = get_spread_update(div0_levels, [classWithPart('CommonContainer')]));
7101
-
7102
7151
  set_attributes(lottery_program_wof_private_outcomes, lottery_program_wof_private_outcomes_data = get_spread_update(lottery_program_wof_private_outcomes_levels, [
7103
7152
  dirty & /*endpoint, session*/ 6 && {
7104
7153
  endpoint: /*endpoint*/ ctx[1],
@@ -7108,8 +7157,6 @@
7108
7157
  : '[]'
7109
7158
  }
7110
7159
  ]));
7111
-
7112
- set_attributes(div3, div3_data = get_spread_update(div3_levels, [classWithPart("Root")]));
7113
7160
  },
7114
7161
  i: noop,
7115
7162
  o: noop,
@@ -7249,7 +7296,9 @@
7249
7296
  class LotteryProgramWof extends SvelteElement {
7250
7297
  constructor(options) {
7251
7298
  super();
7252
- this.shadowRoot.innerHTML = `<style>lottery-program-wof-private-item{width:480px;display:inline-block}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Root{display:flex;align-items:center;flex-direction:column;padding:20px 0;background:var(--emfe-w-color-contrast, #07072A)}.NoContent{color:white;min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;justify-content:center}</style>`;
7299
+ const style = document.createElement('style');
7300
+ style.textContent = `lottery-program-wof-private-item{width:480px;display:inline-block}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Root{display:flex;align-items:center;flex-direction:column;padding:20px 0;background:var(--emfe-w-color-contrast, #07072A)}.NoContent{color:rgb(255, 255, 255);min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;justify-content:center}`;
7301
+ this.shadowRoot.appendChild(style);
7253
7302
 
7254
7303
  init(
7255
7304
  this,