@plaidev/karte-action-sdk 1.1.134-27960692.e720b7c2 → 1.1.134-27960748.4f3d053e

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -2495,20 +2495,20 @@ var widget = /*#__PURE__*/Object.freeze({
2495
2495
 
2496
2496
  /* src/components/Normalize.svelte generated by Svelte v3.53.1 */
2497
2497
 
2498
- function add_css$o(target) {
2498
+ function add_css$p(target) {
2499
2499
  append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
2500
2500
  }
2501
2501
 
2502
2502
  class Normalize extends SvelteComponent {
2503
2503
  constructor(options) {
2504
2504
  super();
2505
- init(this, options, null, null, safe_not_equal, {}, add_css$o);
2505
+ init(this, options, null, null, safe_not_equal, {}, add_css$p);
2506
2506
  }
2507
2507
  }
2508
2508
 
2509
2509
  /* src/components/State.svelte generated by Svelte v3.53.1 */
2510
2510
 
2511
- function create_fragment$r(ctx) {
2511
+ function create_fragment$s(ctx) {
2512
2512
  let normalize;
2513
2513
  let t;
2514
2514
  let current;
@@ -2567,7 +2567,7 @@ function create_fragment$r(ctx) {
2567
2567
  };
2568
2568
  }
2569
2569
 
2570
- function instance$r($$self, $$props, $$invalidate) {
2570
+ function instance$s($$self, $$props, $$invalidate) {
2571
2571
  let { $$slots: slots = {}, $$scope } = $$props;
2572
2572
 
2573
2573
  $$self.$$set = $$props => {
@@ -2580,13 +2580,13 @@ function instance$r($$self, $$props, $$invalidate) {
2580
2580
  class State extends SvelteComponent {
2581
2581
  constructor(options) {
2582
2582
  super();
2583
- init(this, options, instance$r, create_fragment$r, safe_not_equal, {});
2583
+ init(this, options, instance$s, create_fragment$s, safe_not_equal, {});
2584
2584
  }
2585
2585
  }
2586
2586
 
2587
2587
  /* src/components/StateItem.svelte generated by Svelte v3.53.1 */
2588
2588
 
2589
- function add_css$n(target) {
2589
+ function add_css$o(target) {
2590
2590
  append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
2591
2591
  }
2592
2592
 
@@ -2653,7 +2653,7 @@ function create_if_block$6(ctx) {
2653
2653
  };
2654
2654
  }
2655
2655
 
2656
- function create_fragment$q(ctx) {
2656
+ function create_fragment$r(ctx) {
2657
2657
  let if_block_anchor;
2658
2658
  let current;
2659
2659
  let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$6(ctx);
@@ -2714,7 +2714,7 @@ function getStateItemContext() {
2714
2714
  return getContext(STATE_ITEM_CONTEXT_KEY);
2715
2715
  }
2716
2716
 
2717
- function instance$q($$self, $$props, $$invalidate) {
2717
+ function instance$r($$self, $$props, $$invalidate) {
2718
2718
  let $state;
2719
2719
  component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
2720
2720
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -2740,13 +2740,13 @@ function instance$q($$self, $$props, $$invalidate) {
2740
2740
  class StateItem extends SvelteComponent {
2741
2741
  constructor(options) {
2742
2742
  super();
2743
- init(this, options, instance$q, create_fragment$q, safe_not_equal, { path: 0 }, add_css$n);
2743
+ init(this, options, instance$r, create_fragment$r, safe_not_equal, { path: 0 }, add_css$o);
2744
2744
  }
2745
2745
  }
2746
2746
 
2747
2747
  /* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
2748
2748
 
2749
- function add_css$m(target) {
2749
+ function add_css$n(target) {
2750
2750
  append_styles(target, "svelte-1d4fta", ".background.svelte-1d4fta{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
2751
2751
  }
2752
2752
 
@@ -2778,7 +2778,7 @@ function create_if_block$5(ctx) {
2778
2778
  };
2779
2779
  }
2780
2780
 
2781
- function create_fragment$p(ctx) {
2781
+ function create_fragment$q(ctx) {
2782
2782
  let if_block_anchor;
2783
2783
  let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$5(ctx);
2784
2784
 
@@ -2814,7 +2814,7 @@ function create_fragment$p(ctx) {
2814
2814
  };
2815
2815
  }
2816
2816
 
2817
- function instance$p($$self, $$props, $$invalidate) {
2817
+ function instance$q($$self, $$props, $$invalidate) {
2818
2818
  let { backgroundOverray = false } = $$props;
2819
2819
  const dispatch = createEventDispatcher();
2820
2820
  const click_handler = () => dispatch('click');
@@ -2829,13 +2829,13 @@ function instance$p($$self, $$props, $$invalidate) {
2829
2829
  class BackgroundOverray extends SvelteComponent {
2830
2830
  constructor(options) {
2831
2831
  super();
2832
- init(this, options, instance$p, create_fragment$p, safe_not_equal, { backgroundOverray: 0 }, add_css$m);
2832
+ init(this, options, instance$q, create_fragment$q, safe_not_equal, { backgroundOverray: 0 }, add_css$n);
2833
2833
  }
2834
2834
  }
2835
2835
 
2836
2836
  /* src/components/Modal.svelte generated by Svelte v3.53.1 */
2837
2837
 
2838
- function add_css$l(target) {
2838
+ function add_css$m(target) {
2839
2839
  append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
2840
2840
  }
2841
2841
 
@@ -3016,7 +3016,7 @@ function create_if_block_1$1(ctx) {
3016
3016
  };
3017
3017
  }
3018
3018
 
3019
- function create_fragment$o(ctx) {
3019
+ function create_fragment$p(ctx) {
3020
3020
  let backgroundoverray;
3021
3021
  let t;
3022
3022
  let if_block_anchor;
@@ -3109,7 +3109,7 @@ function create_fragment$o(ctx) {
3109
3109
  };
3110
3110
  }
3111
3111
 
3112
- function instance$o($$self, $$props, $$invalidate) {
3112
+ function instance$p($$self, $$props, $$invalidate) {
3113
3113
  let click;
3114
3114
  let close;
3115
3115
  let closable;
@@ -3301,8 +3301,8 @@ class Modal extends SvelteComponent {
3301
3301
  init(
3302
3302
  this,
3303
3303
  options,
3304
- instance$o,
3305
- create_fragment$o,
3304
+ instance$p,
3305
+ create_fragment$p,
3306
3306
  safe_not_equal,
3307
3307
  {
3308
3308
  onClick: 17,
@@ -3318,14 +3318,14 @@ class Modal extends SvelteComponent {
3318
3318
  closeButtonColor: 2,
3319
3319
  _closeStyle: 3
3320
3320
  },
3321
- add_css$l
3321
+ add_css$m
3322
3322
  );
3323
3323
  }
3324
3324
  }
3325
3325
 
3326
3326
  /* src/components/Grid.svelte generated by Svelte v3.53.1 */
3327
3327
 
3328
- function create_fragment$n(ctx) {
3328
+ function create_fragment$o(ctx) {
3329
3329
  let div;
3330
3330
  let current;
3331
3331
  const default_slot_template = /*#slots*/ ctx[8].default;
@@ -3383,7 +3383,7 @@ function create_fragment$n(ctx) {
3383
3383
  };
3384
3384
  }
3385
3385
 
3386
- function instance$n($$self, $$props, $$invalidate) {
3386
+ function instance$o($$self, $$props, $$invalidate) {
3387
3387
  let _style;
3388
3388
  let { $$slots: slots = {}, $$scope } = $$props;
3389
3389
  let { width = '512px' } = $$props;
@@ -3428,7 +3428,7 @@ class Grid extends SvelteComponent {
3428
3428
  constructor(options) {
3429
3429
  super();
3430
3430
 
3431
- init(this, options, instance$n, create_fragment$n, safe_not_equal, {
3431
+ init(this, options, instance$o, create_fragment$o, safe_not_equal, {
3432
3432
  width: 1,
3433
3433
  height: 2,
3434
3434
  rows: 3,
@@ -3610,7 +3610,7 @@ function create_default_slot(ctx) {
3610
3610
  };
3611
3611
  }
3612
3612
 
3613
- function create_fragment$m(ctx) {
3613
+ function create_fragment$n(ctx) {
3614
3614
  let stateitem;
3615
3615
  let current;
3616
3616
 
@@ -3655,7 +3655,7 @@ function create_fragment$m(ctx) {
3655
3655
  };
3656
3656
  }
3657
3657
 
3658
- function instance$m($$self, $$props, $$invalidate) {
3658
+ function instance$n($$self, $$props, $$invalidate) {
3659
3659
  let { $$slots: slots = {}, $$scope } = $$props;
3660
3660
  let { path } = $$props;
3661
3661
  let { onClick = { operation: 'none', args: [] } } = $$props;
@@ -3726,7 +3726,7 @@ class GridModalState extends SvelteComponent {
3726
3726
  constructor(options) {
3727
3727
  super();
3728
3728
 
3729
- init(this, options, instance$m, create_fragment$m, safe_not_equal, {
3729
+ init(this, options, instance$n, create_fragment$n, safe_not_equal, {
3730
3730
  path: 0,
3731
3731
  onClick: 1,
3732
3732
  clickEventName: 2,
@@ -3751,11 +3751,11 @@ class GridModalState extends SvelteComponent {
3751
3751
 
3752
3752
  /* src/components/GridItem.svelte generated by Svelte v3.53.1 */
3753
3753
 
3754
- function add_css$k(target) {
3754
+ function add_css$l(target) {
3755
3755
  append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
3756
3756
  }
3757
3757
 
3758
- function create_fragment$l(ctx) {
3758
+ function create_fragment$m(ctx) {
3759
3759
  let div1;
3760
3760
  let div0;
3761
3761
  let current;
@@ -3818,7 +3818,7 @@ function create_fragment$l(ctx) {
3818
3818
  };
3819
3819
  }
3820
3820
 
3821
- function instance$l($$self, $$props, $$invalidate) {
3821
+ function instance$m($$self, $$props, $$invalidate) {
3822
3822
  let _style;
3823
3823
  let { $$slots: slots = {}, $$scope } = $$props;
3824
3824
  let { x1 } = $$props;
@@ -3871,8 +3871,8 @@ class GridItem extends SvelteComponent {
3871
3871
  init(
3872
3872
  this,
3873
3873
  options,
3874
- instance$l,
3875
- create_fragment$l,
3874
+ instance$m,
3875
+ create_fragment$m,
3876
3876
  safe_not_equal,
3877
3877
  {
3878
3878
  x1: 2,
@@ -3882,18 +3882,18 @@ class GridItem extends SvelteComponent {
3882
3882
  z: 6,
3883
3883
  background: 7
3884
3884
  },
3885
- add_css$k
3885
+ add_css$l
3886
3886
  );
3887
3887
  }
3888
3888
  }
3889
3889
 
3890
3890
  /* src/components/Flex.svelte generated by Svelte v3.53.1 */
3891
3891
 
3892
- function add_css$j(target) {
3892
+ function add_css$k(target) {
3893
3893
  append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
3894
3894
  }
3895
3895
 
3896
- function create_fragment$k(ctx) {
3896
+ function create_fragment$l(ctx) {
3897
3897
  let div;
3898
3898
  let div_style_value;
3899
3899
  let current;
@@ -3958,7 +3958,7 @@ function getFlexContext() {
3958
3958
  return getContext(FlexContextKey);
3959
3959
  }
3960
3960
 
3961
- function instance$k($$self, $$props, $$invalidate) {
3961
+ function instance$l($$self, $$props, $$invalidate) {
3962
3962
  let { $$slots: slots = {}, $$scope } = $$props;
3963
3963
  let { direction = 'row' } = $$props;
3964
3964
  let { width = '100%' } = $$props;
@@ -3984,8 +3984,8 @@ class Flex extends SvelteComponent {
3984
3984
  init(
3985
3985
  this,
3986
3986
  options,
3987
- instance$k,
3988
- create_fragment$k,
3987
+ instance$l,
3988
+ create_fragment$l,
3989
3989
  safe_not_equal,
3990
3990
  {
3991
3991
  direction: 0,
@@ -3993,18 +3993,18 @@ class Flex extends SvelteComponent {
3993
3993
  height: 2,
3994
3994
  _style: 3
3995
3995
  },
3996
- add_css$j
3996
+ add_css$k
3997
3997
  );
3998
3998
  }
3999
3999
  }
4000
4000
 
4001
4001
  /* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
4002
4002
 
4003
- function add_css$i(target) {
4003
+ function add_css$j(target) {
4004
4004
  append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
4005
4005
  }
4006
4006
 
4007
- function create_fragment$j(ctx) {
4007
+ function create_fragment$k(ctx) {
4008
4008
  let div;
4009
4009
  let current;
4010
4010
  const default_slot_template = /*#slots*/ ctx[4].default;
@@ -4062,7 +4062,7 @@ function create_fragment$j(ctx) {
4062
4062
  };
4063
4063
  }
4064
4064
 
4065
- function instance$j($$self, $$props, $$invalidate) {
4065
+ function instance$k($$self, $$props, $$invalidate) {
4066
4066
  let { $$slots: slots = {}, $$scope } = $$props;
4067
4067
  let { length } = $$props;
4068
4068
  let { _style = '' } = $$props;
@@ -4105,7 +4105,7 @@ function instance$j($$self, $$props, $$invalidate) {
4105
4105
  class FlexItem extends SvelteComponent {
4106
4106
  constructor(options) {
4107
4107
  super();
4108
- init(this, options, instance$j, create_fragment$j, safe_not_equal, { length: 1, _style: 2 }, add_css$i);
4108
+ init(this, options, instance$k, create_fragment$k, safe_not_equal, { length: 1, _style: 2 }, add_css$j);
4109
4109
  }
4110
4110
  }
4111
4111
 
@@ -4200,7 +4200,7 @@ function create_each_block$5(ctx) {
4200
4200
  };
4201
4201
  }
4202
4202
 
4203
- function create_fragment$i(ctx) {
4203
+ function create_fragment$j(ctx) {
4204
4204
  let each_1_anchor;
4205
4205
  let each_value = /*items*/ ctx[0];
4206
4206
  let each_blocks = [];
@@ -4259,7 +4259,7 @@ function create_fragment$i(ctx) {
4259
4259
 
4260
4260
  const regexp = /(\r?\n)/;
4261
4261
 
4262
- function instance$i($$self, $$props, $$invalidate) {
4262
+ function instance$j($$self, $$props, $$invalidate) {
4263
4263
  let items;
4264
4264
  let { text = 'サンプルSample' } = $$props;
4265
4265
 
@@ -4279,13 +4279,13 @@ function instance$i($$self, $$props, $$invalidate) {
4279
4279
  class RenderText extends SvelteComponent {
4280
4280
  constructor(options) {
4281
4281
  super();
4282
- init(this, options, instance$i, create_fragment$i, safe_not_equal, { text: 1 });
4282
+ init(this, options, instance$j, create_fragment$j, safe_not_equal, { text: 1 });
4283
4283
  }
4284
4284
  }
4285
4285
 
4286
4286
  /* src/components/TextElement.svelte generated by Svelte v3.53.1 */
4287
4287
 
4288
- function add_css$h(target) {
4288
+ function add_css$i(target) {
4289
4289
  append_styles(target, "svelte-13cs3g2", ".text-element-wrapper.svelte-13cs3g2.svelte-13cs3g2{position:relative;height:100%}.text-element.svelte-13cs3g2.svelte-13cs3g2{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-13cs3g2.svelte-13cs3g2{width:100%;height:auto}.text-direction-vertical.svelte-13cs3g2.svelte-13cs3g2{writing-mode:vertical-rl}.text-direction-vertical.svelte-13cs3g2 .text-element-inner.svelte-13cs3g2{width:auto;height:100%}.tooltip.svelte-13cs3g2.svelte-13cs3g2{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-13cs3g2.svelte-13cs3g2:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-13cs3g2.svelte-13cs3g2{display:block}.tooltip-error.svelte-13cs3g2.svelte-13cs3g2{background-color:#c00}.tooltip-error.svelte-13cs3g2.svelte-13cs3g2:before{border-bottom:7px solid #c00}");
4290
4290
  }
4291
4291
 
@@ -4323,7 +4323,7 @@ function create_if_block$2(ctx) {
4323
4323
  };
4324
4324
  }
4325
4325
 
4326
- function create_fragment$h(ctx) {
4326
+ function create_fragment$i(ctx) {
4327
4327
  let div2;
4328
4328
  let div1;
4329
4329
  let div0;
@@ -4408,7 +4408,7 @@ function create_fragment$h(ctx) {
4408
4408
  };
4409
4409
  }
4410
4410
 
4411
- function instance$h($$self, $$props, $$invalidate) {
4411
+ function instance$i($$self, $$props, $$invalidate) {
4412
4412
  let style;
4413
4413
  let { text = 'サンプルSample' } = $$props;
4414
4414
  let { enableCopy = false } = $$props;
@@ -4488,8 +4488,8 @@ class TextElement extends SvelteComponent {
4488
4488
  init(
4489
4489
  this,
4490
4490
  options,
4491
- instance$h,
4492
- create_fragment$h,
4491
+ instance$i,
4492
+ create_fragment$i,
4493
4493
  safe_not_equal,
4494
4494
  {
4495
4495
  text: 0,
@@ -4498,18 +4498,18 @@ class TextElement extends SvelteComponent {
4498
4498
  textDirection: 2,
4499
4499
  _style: 8
4500
4500
  },
4501
- add_css$h
4501
+ add_css$i
4502
4502
  );
4503
4503
  }
4504
4504
  }
4505
4505
 
4506
4506
  /* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
4507
4507
 
4508
- function add_css$g(target) {
4508
+ function add_css$h(target) {
4509
4509
  append_styles(target, "svelte-1igv5yx", ".text-button-element.svelte-1igv5yx{width:100%;height:100%}.text-button-element._disabled.svelte-1igv5yx{opacity:0.2}.text-button.svelte-1igv5yx{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden}.text-button._disabled.svelte-1igv5yx{cursor:not-allowed}.text-button.svelte-1igv5yx:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1igv5yx:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
4510
4510
  }
4511
4511
 
4512
- function create_fragment$g(ctx) {
4512
+ function create_fragment$h(ctx) {
4513
4513
  let div;
4514
4514
  let button;
4515
4515
  let rendertext;
@@ -4585,7 +4585,7 @@ function create_fragment$g(ctx) {
4585
4585
  };
4586
4586
  }
4587
4587
 
4588
- function instance$g($$self, $$props, $$invalidate) {
4588
+ function instance$h($$self, $$props, $$invalidate) {
4589
4589
  let disabled;
4590
4590
  let $valuesAreValid;
4591
4591
  let { text = 'ボタンラベル' } = $$props;
@@ -4650,8 +4650,8 @@ class TextButtonElement extends SvelteComponent {
4650
4650
  init(
4651
4651
  this,
4652
4652
  options,
4653
- instance$g,
4654
- create_fragment$g,
4653
+ instance$h,
4654
+ create_fragment$h,
4655
4655
  safe_not_equal,
4656
4656
  {
4657
4657
  text: 0,
@@ -4660,18 +4660,18 @@ class TextButtonElement extends SvelteComponent {
4660
4660
  _buttonStyle: 1,
4661
4661
  _style: 2
4662
4662
  },
4663
- add_css$g
4663
+ add_css$h
4664
4664
  );
4665
4665
  }
4666
4666
  }
4667
4667
 
4668
4668
  /* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
4669
4669
 
4670
- function add_css$f(target) {
4670
+ function add_css$g(target) {
4671
4671
  append_styles(target, "svelte-t8kpqw", ".image-element.svelte-t8kpqw{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image.svelte-t8kpqw{width:100%;height:100%}.transport.svelte-t8kpqw:hover,.transport.svelte-t8kpqw:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
4672
4672
  }
4673
4673
 
4674
- function create_fragment$f(ctx) {
4674
+ function create_fragment$g(ctx) {
4675
4675
  let div;
4676
4676
  let img;
4677
4677
  let img_src_value;
@@ -4733,7 +4733,7 @@ function create_fragment$f(ctx) {
4733
4733
  };
4734
4734
  }
4735
4735
 
4736
- function instance$f($$self, $$props, $$invalidate) {
4736
+ function instance$g($$self, $$props, $$invalidate) {
4737
4737
  let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
4738
4738
  let { alt = 'No Image' } = $$props;
4739
4739
  let { transport = false } = $$props;
@@ -4771,8 +4771,8 @@ class ImageElement extends SvelteComponent {
4771
4771
  init(
4772
4772
  this,
4773
4773
  options,
4774
- instance$f,
4775
- create_fragment$f,
4774
+ instance$g,
4775
+ create_fragment$g,
4776
4776
  safe_not_equal,
4777
4777
  {
4778
4778
  src: 0,
@@ -4783,18 +4783,18 @@ class ImageElement extends SvelteComponent {
4783
4783
  _imageStyle: 3,
4784
4784
  _style: 4
4785
4785
  },
4786
- add_css$f
4786
+ add_css$g
4787
4787
  );
4788
4788
  }
4789
4789
  }
4790
4790
 
4791
4791
  /* src/components/List.svelte generated by Svelte v3.53.1 */
4792
4792
 
4793
- function add_css$e(target) {
4793
+ function add_css$f(target) {
4794
4794
  append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
4795
4795
  }
4796
4796
 
4797
- function create_fragment$e(ctx) {
4797
+ function create_fragment$f(ctx) {
4798
4798
  let div;
4799
4799
  let current;
4800
4800
  const default_slot_template = /*#slots*/ ctx[6].default;
@@ -4854,7 +4854,7 @@ function create_fragment$e(ctx) {
4854
4854
 
4855
4855
  const LIST_CONTEXT_KEY = Symbol();
4856
4856
 
4857
- function instance$e($$self, $$props, $$invalidate) {
4857
+ function instance$f($$self, $$props, $$invalidate) {
4858
4858
  let style;
4859
4859
  let { $$slots: slots = {}, $$scope } = $$props;
4860
4860
  let { direction = 'vertical' } = $$props;
@@ -4921,8 +4921,8 @@ class List extends SvelteComponent {
4921
4921
  init(
4922
4922
  this,
4923
4923
  options,
4924
- instance$e,
4925
- create_fragment$e,
4924
+ instance$f,
4925
+ create_fragment$f,
4926
4926
  safe_not_equal,
4927
4927
  {
4928
4928
  direction: 1,
@@ -4930,18 +4930,18 @@ class List extends SvelteComponent {
4930
4930
  background: 3,
4931
4931
  _style: 4
4932
4932
  },
4933
- add_css$e
4933
+ add_css$f
4934
4934
  );
4935
4935
  }
4936
4936
  }
4937
4937
 
4938
4938
  /* src/components/ListItem.svelte generated by Svelte v3.53.1 */
4939
4939
 
4940
- function add_css$d(target) {
4940
+ function add_css$e(target) {
4941
4941
  append_styles(target, "svelte-h5j4xe", ".list-item.svelte-h5j4xe{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item-inner.svelte-h5j4xe{position:absolute;inset:0}");
4942
4942
  }
4943
4943
 
4944
- function create_fragment$d(ctx) {
4944
+ function create_fragment$e(ctx) {
4945
4945
  let div1;
4946
4946
  let div0;
4947
4947
  let current;
@@ -5022,7 +5022,7 @@ function create_fragment$d(ctx) {
5022
5022
  };
5023
5023
  }
5024
5024
 
5025
- function instance$d($$self, $$props, $$invalidate) {
5025
+ function instance$e($$self, $$props, $$invalidate) {
5026
5026
  let click;
5027
5027
  let listItemStyle;
5028
5028
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -5112,17 +5112,17 @@ function instance$d($$self, $$props, $$invalidate) {
5112
5112
  class ListItem extends SvelteComponent {
5113
5113
  constructor(options) {
5114
5114
  super();
5115
- init(this, options, instance$d, create_fragment$d, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$d);
5115
+ init(this, options, instance$e, create_fragment$e, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$e);
5116
5116
  }
5117
5117
  }
5118
5118
 
5119
5119
  /* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
5120
5120
 
5121
- function add_css$c(target) {
5121
+ function add_css$d(target) {
5122
5122
  append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
5123
5123
  }
5124
5124
 
5125
- function create_fragment$c(ctx) {
5125
+ function create_fragment$d(ctx) {
5126
5126
  let div;
5127
5127
 
5128
5128
  return {
@@ -5149,7 +5149,7 @@ function create_fragment$c(ctx) {
5149
5149
  };
5150
5150
  }
5151
5151
 
5152
- function instance$c($$self, $$props, $$invalidate) {
5152
+ function instance$d($$self, $$props, $$invalidate) {
5153
5153
  let { code } = $$props;
5154
5154
  let { _style = "" } = $$props;
5155
5155
 
@@ -5164,17 +5164,17 @@ function instance$c($$self, $$props, $$invalidate) {
5164
5164
  class EmbedElement extends SvelteComponent {
5165
5165
  constructor(options) {
5166
5166
  super();
5167
- init(this, options, instance$c, create_fragment$c, safe_not_equal, { code: 0, _style: 1 }, add_css$c);
5167
+ init(this, options, instance$d, create_fragment$d, safe_not_equal, { code: 0, _style: 1 }, add_css$d);
5168
5168
  }
5169
5169
  }
5170
5170
 
5171
5171
  /* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
5172
5172
 
5173
- function add_css$b(target) {
5173
+ function add_css$c(target) {
5174
5174
  append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
5175
5175
  }
5176
5176
 
5177
- function create_fragment$b(ctx) {
5177
+ function create_fragment$c(ctx) {
5178
5178
  let div1;
5179
5179
  let div0;
5180
5180
 
@@ -5205,7 +5205,7 @@ function create_fragment$b(ctx) {
5205
5205
  };
5206
5206
  }
5207
5207
 
5208
- function instance$b($$self, $$props, $$invalidate) {
5208
+ function instance$c($$self, $$props, $$invalidate) {
5209
5209
  let $system;
5210
5210
  component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
5211
5211
  let { videoId = "sSgN-L4DU0c" } = $$props;
@@ -5384,8 +5384,8 @@ class MovieYouTubeElement extends SvelteComponent {
5384
5384
  init(
5385
5385
  this,
5386
5386
  options,
5387
- instance$b,
5388
- create_fragment$b,
5387
+ instance$c,
5388
+ create_fragment$c,
5389
5389
  safe_not_equal,
5390
5390
  {
5391
5391
  videoId: 2,
@@ -5395,18 +5395,18 @@ class MovieYouTubeElement extends SvelteComponent {
5395
5395
  mute: 6,
5396
5396
  _style: 0
5397
5397
  },
5398
- add_css$b
5398
+ add_css$c
5399
5399
  );
5400
5400
  }
5401
5401
  }
5402
5402
 
5403
5403
  /* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
5404
5404
 
5405
- function add_css$a(target) {
5405
+ function add_css$b(target) {
5406
5406
  append_styles(target, "svelte-17rkg8u", ".embed.svelte-17rkg8u{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-17rkg8u iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
5407
5407
  }
5408
5408
 
5409
- function create_fragment$a(ctx) {
5409
+ function create_fragment$b(ctx) {
5410
5410
  let div1;
5411
5411
  let div0;
5412
5412
 
@@ -5437,7 +5437,7 @@ function create_fragment$a(ctx) {
5437
5437
  };
5438
5438
  }
5439
5439
 
5440
- function instance$a($$self, $$props, $$invalidate) {
5440
+ function instance$b($$self, $$props, $$invalidate) {
5441
5441
  let $system;
5442
5442
  component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
5443
5443
  let { videoId = "201239468" } = $$props;
@@ -5580,8 +5580,8 @@ class MovieVimeoElement extends SvelteComponent {
5580
5580
  init(
5581
5581
  this,
5582
5582
  options,
5583
- instance$a,
5584
- create_fragment$a,
5583
+ instance$b,
5584
+ create_fragment$b,
5585
5585
  safe_not_equal,
5586
5586
  {
5587
5587
  videoId: 2,
@@ -5591,18 +5591,18 @@ class MovieVimeoElement extends SvelteComponent {
5591
5591
  mute: 6,
5592
5592
  _style: 0
5593
5593
  },
5594
- add_css$a
5594
+ add_css$b
5595
5595
  );
5596
5596
  }
5597
5597
  }
5598
5598
 
5599
5599
  /* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
5600
5600
 
5601
- function add_css$9(target) {
5601
+ function add_css$a(target) {
5602
5602
  append_styles(target, "svelte-kyay3k", ".textarea-wrapper.svelte-kyay3k{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-kyay3k{width:100%;resize:none}");
5603
5603
  }
5604
5604
 
5605
- function create_fragment$9(ctx) {
5605
+ function create_fragment$a(ctx) {
5606
5606
  let div;
5607
5607
  let textarea;
5608
5608
  let mounted;
@@ -5655,7 +5655,7 @@ function create_fragment$9(ctx) {
5655
5655
  };
5656
5656
  }
5657
5657
 
5658
- function instance$9($$self, $$props, $$invalidate) {
5658
+ function instance$a($$self, $$props, $$invalidate) {
5659
5659
  let $value;
5660
5660
  let { name = '' } = $$props;
5661
5661
  let { required = true } = $$props;
@@ -5696,8 +5696,8 @@ class FormTextarea extends SvelteComponent {
5696
5696
  init(
5697
5697
  this,
5698
5698
  options,
5699
- instance$9,
5700
- create_fragment$9,
5699
+ instance$a,
5700
+ create_fragment$a,
5701
5701
  safe_not_equal,
5702
5702
  {
5703
5703
  name: 6,
@@ -5705,14 +5705,14 @@ class FormTextarea extends SvelteComponent {
5705
5705
  rows: 1,
5706
5706
  placeholder: 2
5707
5707
  },
5708
- add_css$9
5708
+ add_css$a
5709
5709
  );
5710
5710
  }
5711
5711
  }
5712
5712
 
5713
5713
  /* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
5714
5714
 
5715
- function add_css$8(target) {
5715
+ function add_css$9(target) {
5716
5716
  append_styles(target, "svelte-17es5zb", ".radio-buttons.svelte-17es5zb{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-17es5zb{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-17es5zb{appearance:none;margin:0;width:var(--size);height:var(--size);box-sizing:border-box;border-radius:var(--size);position:relative;background-color:var(--color-inactive);cursor:pointer;flex:none}.radio-button-input.svelte-17es5zb:checked{border:solid calc(var(--size) / 3) var(--color-active);background-color:#fff;box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-17es5zb{margin-left:0.5em}");
5717
5717
  }
5718
5718
 
@@ -5801,7 +5801,7 @@ function create_each_block$4(ctx) {
5801
5801
  };
5802
5802
  }
5803
5803
 
5804
- function create_fragment$8(ctx) {
5804
+ function create_fragment$9(ctx) {
5805
5805
  let div;
5806
5806
  let each_value = /*_options*/ ctx[4];
5807
5807
  let each_blocks = [];
@@ -5865,7 +5865,7 @@ function create_fragment$8(ctx) {
5865
5865
  };
5866
5866
  }
5867
5867
 
5868
- function instance$8($$self, $$props, $$invalidate) {
5868
+ function instance$9($$self, $$props, $$invalidate) {
5869
5869
  let _options;
5870
5870
  let _buttonStyle;
5871
5871
  let _value;
@@ -5948,8 +5948,8 @@ class FormRadioButtons extends SvelteComponent {
5948
5948
  init(
5949
5949
  this,
5950
5950
  options,
5951
- instance$8,
5952
- create_fragment$8,
5951
+ instance$9,
5952
+ create_fragment$9,
5953
5953
  safe_not_equal,
5954
5954
  {
5955
5955
  name: 0,
@@ -5959,14 +5959,14 @@ class FormRadioButtons extends SvelteComponent {
5959
5959
  textStyle: 2,
5960
5960
  buttonStyle: 10
5961
5961
  },
5962
- add_css$8
5962
+ add_css$9
5963
5963
  );
5964
5964
  }
5965
5965
  }
5966
5966
 
5967
5967
  /* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
5968
5968
 
5969
- function add_css$7(target) {
5969
+ function add_css$8(target) {
5970
5970
  append_styles(target, "svelte-wy1i8s", ".select.svelte-wy1i8s{width:100%;height:100%}.select-select.svelte-wy1i8s{position:relative;appearance:none;width:100%;height:100%}.select-select.svelte-wy1i8s:focus{outline:none;border-color:var(--color-focused) !important}.select-icon.svelte-wy1i8s{position:absolute;width:0.5em;height:0.5em;top:calc(50% - 0.2em);right:0.8em;box-sizing:border-box;border-right:solid 2px var(--color-arrow);border-top:solid 2px var(--color-arrow);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
5971
5971
  }
5972
5972
 
@@ -6068,7 +6068,7 @@ function create_each_block$3(ctx) {
6068
6068
  };
6069
6069
  }
6070
6070
 
6071
- function create_fragment$7(ctx) {
6071
+ function create_fragment$8(ctx) {
6072
6072
  let div1;
6073
6073
  let select;
6074
6074
  let t;
@@ -6158,7 +6158,7 @@ function create_fragment$7(ctx) {
6158
6158
  };
6159
6159
  }
6160
6160
 
6161
- function instance$7($$self, $$props, $$invalidate) {
6161
+ function instance$8($$self, $$props, $$invalidate) {
6162
6162
  let _options;
6163
6163
  let styleVariables;
6164
6164
  let { name = '' } = $$props;
@@ -6225,8 +6225,8 @@ class FormSelect extends SvelteComponent {
6225
6225
  init(
6226
6226
  this,
6227
6227
  options,
6228
- instance$7,
6229
- create_fragment$7,
6228
+ instance$8,
6229
+ create_fragment$8,
6230
6230
  safe_not_equal,
6231
6231
  {
6232
6232
  name: 4,
@@ -6235,14 +6235,14 @@ class FormSelect extends SvelteComponent {
6235
6235
  _style: 0,
6236
6236
  selectStyle: 7
6237
6237
  },
6238
- add_css$7
6238
+ add_css$8
6239
6239
  );
6240
6240
  }
6241
6241
  }
6242
6242
 
6243
6243
  /* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
6244
6244
 
6245
- function add_css$6(target) {
6245
+ function add_css$7(target) {
6246
6246
  append_styles(target, "svelte-y5vmhx", ".check-boxes.svelte-y5vmhx.svelte-y5vmhx{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.check-box.svelte-y5vmhx.svelte-y5vmhx{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-y5vmhx.svelte-y5vmhx{width:0;height:0;margin:0}.check-box-check.svelte-y5vmhx.svelte-y5vmhx{display:inline-flex;background-color:var(--color-active);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-y5vmhx.svelte-y5vmhx{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-y5vmhx.svelte-y5vmhx:after{content:'';display:block;box-sizing:border-box;width:45%;height:91%;transform:translate(60%, -8%) rotate(45deg);border-style:none solid solid none;border-width:2px;border-color:#fff}.check-box-check.svelte-y5vmhx.svelte-y5vmhx:not(._checked){background-color:var(--color-inactive)}.check-box-check.svelte-y5vmhx:not(._checked) .check-box-icon.svelte-y5vmhx{display:none}.check-box-text.svelte-y5vmhx.svelte-y5vmhx{margin-left:0.5em}");
6247
6247
  }
6248
6248
 
@@ -6347,7 +6347,7 @@ function create_each_block$2(ctx) {
6347
6347
  };
6348
6348
  }
6349
6349
 
6350
- function create_fragment$6(ctx) {
6350
+ function create_fragment$7(ctx) {
6351
6351
  let div;
6352
6352
  let each_value = /*_options*/ ctx[3];
6353
6353
  let each_blocks = [];
@@ -6411,7 +6411,7 @@ function create_fragment$6(ctx) {
6411
6411
  };
6412
6412
  }
6413
6413
 
6414
- function instance$6($$self, $$props, $$invalidate) {
6414
+ function instance$7($$self, $$props, $$invalidate) {
6415
6415
  let _options;
6416
6416
  let _buttonStyle;
6417
6417
  let isCheckedArray;
@@ -6500,8 +6500,8 @@ class FormCheckBoxes extends SvelteComponent {
6500
6500
  init(
6501
6501
  this,
6502
6502
  options,
6503
- instance$6,
6504
- create_fragment$6,
6503
+ instance$7,
6504
+ create_fragment$7,
6505
6505
  safe_not_equal,
6506
6506
  {
6507
6507
  name: 0,
@@ -6511,14 +6511,14 @@ class FormCheckBoxes extends SvelteComponent {
6511
6511
  textStyle: 2,
6512
6512
  buttonStyle: 10
6513
6513
  },
6514
- add_css$6
6514
+ add_css$7
6515
6515
  );
6516
6516
  }
6517
6517
  }
6518
6518
 
6519
6519
  /* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
6520
6520
 
6521
- function add_css$5(target) {
6521
+ function add_css$6(target) {
6522
6522
  append_styles(target, "svelte-176k37j", ".rating-buttons.svelte-176k37j{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-176k37j{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s}");
6523
6523
  }
6524
6524
 
@@ -6575,7 +6575,7 @@ function create_each_block$1(ctx) {
6575
6575
  };
6576
6576
  }
6577
6577
 
6578
- function create_fragment$5(ctx) {
6578
+ function create_fragment$6(ctx) {
6579
6579
  let div;
6580
6580
  let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
6581
6581
  let each_blocks = [];
@@ -6636,7 +6636,7 @@ function create_fragment$5(ctx) {
6636
6636
 
6637
6637
  const func = i => i + 1;
6638
6638
 
6639
- function instance$5($$self, $$props, $$invalidate) {
6639
+ function instance$6($$self, $$props, $$invalidate) {
6640
6640
  let _value;
6641
6641
  let $value;
6642
6642
  let { name = '' } = $$props;
@@ -6703,8 +6703,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
6703
6703
  init(
6704
6704
  this,
6705
6705
  options,
6706
- instance$5,
6707
- create_fragment$5,
6706
+ instance$6,
6707
+ create_fragment$6,
6708
6708
  safe_not_equal,
6709
6709
  {
6710
6710
  name: 5,
@@ -6713,14 +6713,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
6713
6713
  buttonStyle: 7,
6714
6714
  buttonActiveStyle: 8
6715
6715
  },
6716
- add_css$5
6716
+ add_css$6
6717
6717
  );
6718
6718
  }
6719
6719
  }
6720
6720
 
6721
6721
  /* src/components/Slide.svelte generated by Svelte v3.53.1 */
6722
6722
 
6723
- function add_css$4(target) {
6723
+ function add_css$5(target) {
6724
6724
  append_styles(target, "svelte-c7zaph", ".root.svelte-c7zaph{width:100%;height:100%;position:relative}.container.svelte-c7zaph{width:100%;height:100%;position:relative;overflow:hidden}.slide.svelte-c7zaph{height:100%;position:absolute;display:flex}.transition.svelte-c7zaph{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-c7zaph{height:100%;flex:none}.prev-button.svelte-c7zaph,.next-button.svelte-c7zaph{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button.svelte-c7zaph{left:0}.next-button.svelte-c7zaph{right:0}.button-container.svelte-c7zaph{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box}.navigation.svelte-c7zaph{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-c7zaph{flex-shrink:0;cursor:pointer}.navigation-item-inner.circle.svelte-c7zaph{border-radius:51%}");
6725
6725
  }
6726
6726
 
@@ -6885,7 +6885,7 @@ function create_each_block(ctx) {
6885
6885
  };
6886
6886
  }
6887
6887
 
6888
- function create_fragment$4(ctx) {
6888
+ function create_fragment$5(ctx) {
6889
6889
  let div3;
6890
6890
  let div1;
6891
6891
  let div0;
@@ -7064,7 +7064,7 @@ function calcPositionIndex(shift, index, length) {
7064
7064
  }
7065
7065
  }
7066
7066
 
7067
- function instance$4($$self, $$props, $$invalidate) {
7067
+ function instance$5($$self, $$props, $$invalidate) {
7068
7068
  let slideStyle;
7069
7069
  let slideClass;
7070
7070
  let _loop;
@@ -7498,8 +7498,8 @@ class Slide extends SvelteComponent {
7498
7498
  init(
7499
7499
  this,
7500
7500
  options,
7501
- instance$4,
7502
- create_fragment$4,
7501
+ instance$5,
7502
+ create_fragment$5,
7503
7503
  safe_not_equal,
7504
7504
  {
7505
7505
  loop: 17,
@@ -7512,7 +7512,7 @@ class Slide extends SvelteComponent {
7512
7512
  navigationButton: 24,
7513
7513
  navigationEdgePosition: 25
7514
7514
  },
7515
- add_css$4,
7515
+ add_css$5,
7516
7516
  [-1, -1]
7517
7517
  );
7518
7518
  }
@@ -7520,11 +7520,11 @@ class Slide extends SvelteComponent {
7520
7520
 
7521
7521
  /* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
7522
7522
 
7523
- function add_css$3(target) {
7523
+ function add_css$4(target) {
7524
7524
  append_styles(target, "svelte-xzo1un", ".item.svelte-xzo1un{height:100%;flex:none;position:relative}.item.svelte-xzo1un img{user-select:none;-webkit-user-drag:none}.item-inner.svelte-xzo1un{position:absolute;inset:0}");
7525
7525
  }
7526
7526
 
7527
- function create_fragment$3(ctx) {
7527
+ function create_fragment$4(ctx) {
7528
7528
  let div1;
7529
7529
  let div0;
7530
7530
  let current;
@@ -7591,7 +7591,7 @@ function create_fragment$3(ctx) {
7591
7591
  };
7592
7592
  }
7593
7593
 
7594
- function instance$3($$self, $$props, $$invalidate) {
7594
+ function instance$4($$self, $$props, $$invalidate) {
7595
7595
  let itemStyle;
7596
7596
  let { $$slots: slots = {}, $$scope } = $$props;
7597
7597
  const { registerItem, unregisterItem } = getContext('SLIDE');
@@ -7657,7 +7657,154 @@ function instance$3($$self, $$props, $$invalidate) {
7657
7657
  class SlideItem extends SvelteComponent {
7658
7658
  constructor(options) {
7659
7659
  super();
7660
- init(this, options, instance$3, create_fragment$3, safe_not_equal, { _style: 0 }, add_css$3);
7660
+ init(this, options, instance$4, create_fragment$4, safe_not_equal, { _style: 0 }, add_css$4);
7661
+ }
7662
+ }
7663
+
7664
+ /* src/components/Countdown.svelte generated by Svelte v3.53.1 */
7665
+
7666
+ function add_css$3(target) {
7667
+ append_styles(target, "svelte-qx7l0c", ".countdown.svelte-qx7l0c{position:relative;width:100%;height:100%}.countdown-inner.svelte-qx7l0c{position:absolute;inset:0}");
7668
+ }
7669
+
7670
+ const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 1 });
7671
+ const get_default_slot_context = ctx => ({ countdown: /*countdown*/ ctx[0] });
7672
+
7673
+ function create_fragment$3(ctx) {
7674
+ let div1;
7675
+ let div0;
7676
+ let current;
7677
+ const default_slot_template = /*#slots*/ ctx[5].default;
7678
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[4], get_default_slot_context);
7679
+
7680
+ return {
7681
+ c() {
7682
+ div1 = element("div");
7683
+ div0 = element("div");
7684
+ if (default_slot) default_slot.c();
7685
+ attr(div0, "class", "countdown-inner svelte-qx7l0c");
7686
+ attr(div1, "class", "countdown svelte-qx7l0c");
7687
+ },
7688
+ m(target, anchor) {
7689
+ insert(target, div1, anchor);
7690
+ append(div1, div0);
7691
+
7692
+ if (default_slot) {
7693
+ default_slot.m(div0, null);
7694
+ }
7695
+
7696
+ current = true;
7697
+ },
7698
+ p(ctx, [dirty]) {
7699
+ if (default_slot) {
7700
+ if (default_slot.p && (!current || dirty & /*$$scope, countdown*/ 17)) {
7701
+ update_slot_base(
7702
+ default_slot,
7703
+ default_slot_template,
7704
+ ctx,
7705
+ /*$$scope*/ ctx[4],
7706
+ !current
7707
+ ? get_all_dirty_from_scope(/*$$scope*/ ctx[4])
7708
+ : get_slot_changes(default_slot_template, /*$$scope*/ ctx[4], dirty, get_default_slot_changes),
7709
+ get_default_slot_context
7710
+ );
7711
+ }
7712
+ }
7713
+ },
7714
+ i(local) {
7715
+ if (current) return;
7716
+ transition_in(default_slot, local);
7717
+ current = true;
7718
+ },
7719
+ o(local) {
7720
+ transition_out(default_slot, local);
7721
+ current = false;
7722
+ },
7723
+ d(detaching) {
7724
+ if (detaching) detach(div1);
7725
+ if (default_slot) default_slot.d(detaching);
7726
+ }
7727
+ };
7728
+ }
7729
+
7730
+ function calcRemainingTime(limit) {
7731
+ return limit - new Date().getTime();
7732
+ }
7733
+
7734
+ function formatTimeDiff(ms) {
7735
+ const diffDay = Math.floor(ms / 1000 / 60 / 60 / 24);
7736
+ const diffHour = Math.floor(ms / 1000 / 60 / 60) % 24;
7737
+ const diffMin = Math.floor(ms / 1000 / 60) % 60;
7738
+ const diffSec = Math.floor(ms / 1000) % 60;
7739
+
7740
+ return {
7741
+ day: diffDay.toString(),
7742
+ hour: diffHour.toString(),
7743
+ min: diffMin.toString(),
7744
+ sec: diffSec.toString()
7745
+ };
7746
+ }
7747
+
7748
+ function instance$3($$self, $$props, $$invalidate) {
7749
+ let countdown;
7750
+ let { $$slots: slots = {}, $$scope } = $$props;
7751
+ let { timeLimit = '2023/12/31 23:59:59+0900' } = $$props;
7752
+ let { stateOnEnd } = $$props;
7753
+ let remainingTime;
7754
+
7755
+ function onEachSecond() {
7756
+ const _remainingTime = calcRemainingTime(new Date(timeLimit).getTime());
7757
+
7758
+ if (_remainingTime > 0) {
7759
+ $$invalidate(3, remainingTime = formatTimeDiff(_remainingTime));
7760
+ } else {
7761
+ $$invalidate(3, remainingTime = formatTimeDiff(0));
7762
+
7763
+ {
7764
+ setState$1(stateOnEnd);
7765
+ }
7766
+ }
7767
+ }
7768
+
7769
+ onMount(() => {
7770
+ const timerId = setInterval(
7771
+ () => {
7772
+ onEachSecond();
7773
+ },
7774
+ 1000
7775
+ );
7776
+
7777
+ return () => {
7778
+ clearInterval(timerId);
7779
+ };
7780
+ });
7781
+
7782
+ onEachSecond();
7783
+
7784
+ $$self.$$set = $$props => {
7785
+ if ('timeLimit' in $$props) $$invalidate(1, timeLimit = $$props.timeLimit);
7786
+ if ('stateOnEnd' in $$props) $$invalidate(2, stateOnEnd = $$props.stateOnEnd);
7787
+ if ('$$scope' in $$props) $$invalidate(4, $$scope = $$props.$$scope);
7788
+ };
7789
+
7790
+ $$self.$$.update = () => {
7791
+ if ($$self.$$.dirty & /*remainingTime*/ 8) {
7792
+ $$invalidate(0, countdown = {
7793
+ day: remainingTime.day,
7794
+ hour: remainingTime.hour,
7795
+ min: remainingTime.min,
7796
+ sec: remainingTime.sec
7797
+ });
7798
+ }
7799
+ };
7800
+
7801
+ return [countdown, timeLimit, stateOnEnd, remainingTime, $$scope, slots];
7802
+ }
7803
+
7804
+ class Countdown extends SvelteComponent {
7805
+ constructor(options) {
7806
+ super();
7807
+ init(this, options, instance$3, create_fragment$3, safe_not_equal, { timeLimit: 1, stateOnEnd: 2 }, add_css$3);
7661
7808
  }
7662
7809
  }
7663
7810
 
@@ -8002,4 +8149,4 @@ class ImageBlock extends SvelteComponent {
8002
8149
  }
8003
8150
  }
8004
8151
 
8005
- export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultEdgePosition, DefaultFormButtonStyle, DefaultFormSelectStyle, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyAction, destroyed, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getActionShadowRoot, getCustomHandlers, getCustomVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getStoreState, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, updateEventHandlers, updateVariables, variables, widget };
8152
+ export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Countdown, Cursors, DefaultEdgePosition, DefaultFormButtonStyle, DefaultFormSelectStyle, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyAction, destroyed, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getActionShadowRoot, getCustomHandlers, getCustomVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getStoreState, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, updateEventHandlers, updateVariables, variables, widget };