@plaidev/karte-action-sdk 1.1.211 → 1.1.213

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { writable, get } from 'svelte/store';
2
2
  import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
3
- import { SvelteComponent, init, safe_not_equal, element, insert, noop, detach, component_subscribe, attr, create_slot, create_component, space, mount_component, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, append_styles, empty, group_outros, check_outros, null_to_empty, listen, assign, set_attributes, toggle_class, get_spread_update, prevent_default, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component, subscribe } from 'svelte/internal';
3
+ import { SvelteComponent, init, safe_not_equal, element, insert, noop, detach, component_subscribe, attr, create_slot, create_component, space, mount_component, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, append_styles, empty, group_outros, check_outros, null_to_empty, listen, assign, set_attributes, toggle_class, get_spread_update, prevent_default, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, set_store_value, run_all, HtmlTag, construct_svelte_component, subscribe } from 'svelte/internal';
4
4
  import { linear, elasticOut, cubicOut } from 'svelte/easing';
5
5
 
6
6
  /** @internal */
@@ -593,6 +593,52 @@ const DefaultModalBreakPoint = {
593
593
  elasticity: DefaultElasticity,
594
594
  },
595
595
  };
596
+ const FormIdentifyTextFields = [
597
+ 'email',
598
+ 'phone',
599
+ 'first_name',
600
+ 'last_name',
601
+ 'address',
602
+ ];
603
+ /** @internal */
604
+ const FormIdentifyTextFieldValidations = {
605
+ email: {
606
+ pattern: '^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}.[A-Za-z0-9]{1,}$',
607
+ // gをつけない!test()を繰り返し呼び出した時に、テキストの途中から判定しようとしてしまう。
608
+ // https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
609
+ flags: '',
610
+ },
611
+ phone: {
612
+ pattern: '^(0{1}\\d{9,10})$',
613
+ flags: '',
614
+ },
615
+ first_name: {
616
+ pattern: '',
617
+ flags: '',
618
+ },
619
+ last_name: {
620
+ pattern: '',
621
+ flags: '',
622
+ },
623
+ address: {
624
+ pattern: '',
625
+ flags: '',
626
+ },
627
+ };
628
+ /** @internal */
629
+ const FormIdentifyTextFieldPlaceholders = {
630
+ email: 'メールアドレスを入力',
631
+ phone: '電話番号を入力',
632
+ first_name: '名前(名)を入力',
633
+ last_name: '名前(姓)を入力',
634
+ address: '住所',
635
+ };
636
+ /** @internal */
637
+ const DefaultFormIdentifyTextField = 'email';
638
+ /** @internal */
639
+ const FormIdentifyBooleanFields = ['subscription', 'phone_subscribe'];
640
+ /** @internal */
641
+ const DefaultFormIdentifyBooleanField = 'subscription';
596
642
 
597
643
  /**
598
644
  * Store to handle action setting
@@ -991,6 +1037,12 @@ function resetVariables() {
991
1037
  * @internal
992
1038
  */
993
1039
  const formData = writable({});
1040
+ /**
1041
+ * Store for identify form data
1042
+ *
1043
+ * @internal
1044
+ */
1045
+ const identifyFormData = writable({});
994
1046
 
995
1047
  /**
996
1048
  * アクションのログの記録の管理
@@ -2199,7 +2251,8 @@ function create(App, options = {
2199
2251
  window.addEventListener(ACTION_DESTROY_EVENT, handleDestroy);
2200
2252
  window.addEventListener('beforeunload', dispatchDestroyEvent, false);
2201
2253
  let modalCleanup = NOOP;
2202
- if (options.karteTemplate?.template_content_types.includes('script')) {
2254
+ if (options.karteTemplate?.template_type === 'script' ||
2255
+ options.karteTemplate?.template_content_types?.includes('script')) {
2203
2256
  runScript$1(options);
2204
2257
  }
2205
2258
  else {
@@ -2588,7 +2641,7 @@ function create_if_block$9(ctx) {
2588
2641
  };
2589
2642
  }
2590
2643
 
2591
- function create_fragment$y(ctx) {
2644
+ function create_fragment$A(ctx) {
2592
2645
  let head;
2593
2646
  let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$9(ctx);
2594
2647
 
@@ -2624,7 +2677,7 @@ function create_fragment$y(ctx) {
2624
2677
  };
2625
2678
  }
2626
2679
 
2627
- function instance$y($$self, $$props, $$invalidate) {
2680
+ function instance$A($$self, $$props, $$invalidate) {
2628
2681
  let $fonts;
2629
2682
  component_subscribe($$self, fonts, $$value => $$invalidate(1, $fonts = $$value));
2630
2683
  let googleFontUrl = '';
@@ -2653,13 +2706,13 @@ function instance$y($$self, $$props, $$invalidate) {
2653
2706
  class Header extends SvelteComponent {
2654
2707
  constructor(options) {
2655
2708
  super();
2656
- init(this, options, instance$y, create_fragment$y, safe_not_equal, {});
2709
+ init(this, options, instance$A, create_fragment$A, safe_not_equal, {});
2657
2710
  }
2658
2711
  }
2659
2712
 
2660
2713
  /* src/components/State.svelte generated by Svelte v3.53.1 */
2661
2714
 
2662
- function create_fragment$x(ctx) {
2715
+ function create_fragment$z(ctx) {
2663
2716
  let header;
2664
2717
  let t;
2665
2718
  let current;
@@ -2718,7 +2771,7 @@ function create_fragment$x(ctx) {
2718
2771
  };
2719
2772
  }
2720
2773
 
2721
- function instance$x($$self, $$props, $$invalidate) {
2774
+ function instance$z($$self, $$props, $$invalidate) {
2722
2775
  let { $$slots: slots = {}, $$scope } = $$props;
2723
2776
 
2724
2777
  $$self.$$set = $$props => {
@@ -2731,13 +2784,13 @@ function instance$x($$self, $$props, $$invalidate) {
2731
2784
  class State extends SvelteComponent {
2732
2785
  constructor(options) {
2733
2786
  super();
2734
- init(this, options, instance$x, create_fragment$x, safe_not_equal, {});
2787
+ init(this, options, instance$z, create_fragment$z, safe_not_equal, {});
2735
2788
  }
2736
2789
  }
2737
2790
 
2738
2791
  /* src/components/StateItem.svelte generated by Svelte v3.53.1 */
2739
2792
 
2740
- function add_css$t(target) {
2793
+ function add_css$v(target) {
2741
2794
  append_styles(target, "svelte-1amihue", ".state-item.svelte-1amihue{position:absolute;display:none}");
2742
2795
  }
2743
2796
 
@@ -2804,7 +2857,7 @@ function create_if_block$8(ctx) {
2804
2857
  };
2805
2858
  }
2806
2859
 
2807
- function create_fragment$w(ctx) {
2860
+ function create_fragment$y(ctx) {
2808
2861
  let if_block_anchor;
2809
2862
  let current;
2810
2863
  let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$8(ctx);
@@ -2865,7 +2918,7 @@ function getStateItemContext() {
2865
2918
  return getContext(STATE_ITEM_CONTEXT_KEY);
2866
2919
  }
2867
2920
 
2868
- function instance$w($$self, $$props, $$invalidate) {
2921
+ function instance$y($$self, $$props, $$invalidate) {
2869
2922
  let $state;
2870
2923
  component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
2871
2924
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -2891,7 +2944,7 @@ function instance$w($$self, $$props, $$invalidate) {
2891
2944
  class StateItem extends SvelteComponent {
2892
2945
  constructor(options) {
2893
2946
  super();
2894
- init(this, options, instance$w, create_fragment$w, safe_not_equal, { path: 0 }, add_css$t);
2947
+ init(this, options, instance$y, create_fragment$y, safe_not_equal, { path: 0 }, add_css$v);
2895
2948
  }
2896
2949
  }
2897
2950
 
@@ -2904,51 +2957,74 @@ function isEmpty(value) {
2904
2957
  }
2905
2958
  }
2906
2959
  /** @internal */
2907
- function registerInput({ name, statePath, validator = () => true, initialValue, }) {
2908
- const writableValue = {
2909
- subscribe(run) {
2910
- return formData.subscribe(formData => {
2911
- run(formData[name]?.value);
2912
- });
2913
- },
2914
- set(value) {
2915
- formData.update(prev => ({
2916
- ...prev,
2917
- [name]: {
2918
- statePath,
2919
- value,
2920
- isValid: validator(value),
2921
- },
2922
- }));
2923
- },
2924
- update(updater) {
2925
- formData.update(prev => {
2926
- const prevValue = prev[name]?.value;
2927
- return {
2960
+ function createInputRegisterer(formData) {
2961
+ const registerInput = ({ name, statePath, validator = () => true, initialValue, }) => {
2962
+ const writableValue = {
2963
+ subscribe(run) {
2964
+ return formData.subscribe(formData => {
2965
+ run(formData[name]?.value);
2966
+ });
2967
+ },
2968
+ set(value) {
2969
+ formData.update(prev => ({
2928
2970
  ...prev,
2929
2971
  [name]: {
2930
2972
  statePath,
2931
- value: updater(prevValue),
2932
- isValid: validator(prevValue),
2973
+ value,
2974
+ isValid: validator(value),
2933
2975
  },
2934
- };
2935
- });
2936
- },
2976
+ }));
2977
+ },
2978
+ update(updater) {
2979
+ formData.update(prev => {
2980
+ const prevValue = prev[name]?.value;
2981
+ if (prevValue === undefined)
2982
+ return prev;
2983
+ const value = updater(prevValue);
2984
+ return {
2985
+ ...prev,
2986
+ [name]: {
2987
+ statePath,
2988
+ value,
2989
+ isValid: validator(value),
2990
+ },
2991
+ };
2992
+ });
2993
+ },
2994
+ };
2995
+ const readableIsValid = {
2996
+ subscribe(run) {
2997
+ return formData.subscribe(formData => {
2998
+ run(formData[name]?.isValid);
2999
+ });
3000
+ },
3001
+ };
3002
+ if (isEmpty(get(writableValue))) {
3003
+ writableValue.set(initialValue);
3004
+ }
3005
+ return {
3006
+ value: writableValue,
3007
+ isValid: readableIsValid,
3008
+ };
2937
3009
  };
2938
- if (isEmpty(get(writableValue))) {
2939
- writableValue.set(initialValue);
2940
- }
2941
- return writableValue;
3010
+ return registerInput;
3011
+ }
3012
+ /** @internal */
3013
+ const registerInput = createInputRegisterer(formData);
3014
+ /** @internal */
3015
+ const registerIdentifyInput = createInputRegisterer(identifyFormData);
3016
+ function validateFormData(formData, statePath) {
3017
+ return Object.entries(formData)
3018
+ .filter(([_, { statePath: s }]) => s === statePath) // eslint-disable-line @typescript-eslint/no-unused-vars
3019
+ .every(([_, { isValid }]) => isValid); // eslint-disable-line @typescript-eslint/no-unused-vars
2942
3020
  }
2943
3021
  /** @internal */
2944
- const getValuesAreValidReader = statePath => ({
3022
+ const getValuesAreValidReadable = statePath => ({
2945
3023
  subscribe(callback) {
2946
- return formData.subscribe(formData => {
2947
- const valuesAreValid = Object.entries(formData)
2948
- .filter(([_, { statePath: s }]) => s === statePath) // eslint-disable-line @typescript-eslint/no-unused-vars
2949
- .every(([_, { isValid }]) => isValid); // eslint-disable-line @typescript-eslint/no-unused-vars
3024
+ return formData.subscribe(formData => identifyFormData.subscribe(identifyFormData => {
3025
+ const valuesAreValid = validateFormData(formData, statePath) && validateFormData(identifyFormData, statePath);
2950
3026
  callback(valuesAreValid);
2951
- });
3027
+ }));
2952
3028
  },
2953
3029
  });
2954
3030
  function formDataToEventValues(campaignId, formData) {
@@ -2976,14 +3052,22 @@ function formDataToEventValues(campaignId, formData) {
2976
3052
  },
2977
3053
  };
2978
3054
  }
3055
+ function formDataToIdentifyEventValues(formData) {
3056
+ return Object.fromEntries(Object.entries(formData).map(([name, dataItem]) => {
3057
+ const value = dataItem.value;
3058
+ return [name, value];
3059
+ }));
3060
+ }
2979
3061
  /** @internal */
2980
3062
  function submit() {
2981
3063
  const systemConfig = getSystem();
2982
3064
  const campaignId = systemConfig.campaignId;
2983
3065
  if (campaignId) {
2984
3066
  const formData$1 = get(formData);
3067
+ const identifyFormData$1 = get(identifyFormData);
2985
3068
  const values = formDataToEventValues(campaignId, formData$1);
2986
- return values;
3069
+ const identifyValues = formDataToIdentifyEventValues(identifyFormData$1);
3070
+ return { values, identifyValues };
2987
3071
  }
2988
3072
  return {};
2989
3073
  }
@@ -3042,8 +3126,11 @@ const runScript = (handlerName) => () => {
3042
3126
  };
3043
3127
  /** @internal */
3044
3128
  const submitForm = (to) => () => {
3045
- const values = submit();
3129
+ const { values, identifyValues } = submit();
3046
3130
  send_event('_answer_question', values);
3131
+ if (Object.keys(identifyValues).length > 0) {
3132
+ send_event('identify', identifyValues);
3133
+ }
3047
3134
  _moveTo(to);
3048
3135
  };
3049
3136
  /** @internal */
@@ -3159,7 +3246,7 @@ function customAnimation(node, { transform, animationStyle, delay = 0, duration
3159
3246
 
3160
3247
  /* src/components/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
3161
3248
 
3162
- function add_css$s(target) {
3249
+ function add_css$u(target) {
3163
3250
  append_styles(target, "svelte-g6ucc2", ".background.svelte-g6ucc2{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
3164
3251
  }
3165
3252
 
@@ -3196,7 +3283,7 @@ function create_if_block$7(ctx) {
3196
3283
  };
3197
3284
  }
3198
3285
 
3199
- function create_fragment$v(ctx) {
3286
+ function create_fragment$x(ctx) {
3200
3287
  let if_block_anchor;
3201
3288
  let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$7(ctx);
3202
3289
 
@@ -3232,7 +3319,7 @@ function create_fragment$v(ctx) {
3232
3319
  };
3233
3320
  }
3234
3321
 
3235
- function instance$v($$self, $$props, $$invalidate) {
3322
+ function instance$x($$self, $$props, $$invalidate) {
3236
3323
  let { backgroundOverlay = false } = $$props;
3237
3324
  let { class: className = undefined } = $$props;
3238
3325
  const dispatch = createEventDispatcher();
@@ -3249,7 +3336,7 @@ function instance$v($$self, $$props, $$invalidate) {
3249
3336
  class BackgroundOverlay extends SvelteComponent {
3250
3337
  constructor(options) {
3251
3338
  super();
3252
- init(this, options, instance$v, create_fragment$v, safe_not_equal, { backgroundOverlay: 0, class: 1 }, add_css$s);
3339
+ init(this, options, instance$x, create_fragment$x, safe_not_equal, { backgroundOverlay: 0, class: 1 }, add_css$u);
3253
3340
  }
3254
3341
  }
3255
3342
 
@@ -3289,8 +3376,8 @@ function checkStopPropagation(eventName, handler) {
3289
3376
 
3290
3377
  /* src/components/Button.svelte generated by Svelte v3.53.1 */
3291
3378
 
3292
- function add_css$r(target) {
3293
- append_styles(target, "svelte-1dtbrzj", ".button.svelte-1dtbrzj{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1dtbrzj:link,.button.svelte-1dtbrzj:visited,.button.svelte-1dtbrzj:active,.button.svelte-1dtbrzj:hover{color:inherit}");
3379
+ function add_css$t(target) {
3380
+ append_styles(target, "svelte-1kmu8zp", ".button.svelte-1kmu8zp{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1kmu8zp:link,.button.svelte-1kmu8zp:visited,.button.svelte-1kmu8zp:active,.button.svelte-1kmu8zp:hover{color:inherit}");
3294
3381
  }
3295
3382
 
3296
3383
  // (50:0) {:else}
@@ -3319,7 +3406,7 @@ function create_else_block$4(ctx) {
3319
3406
  button = element("button");
3320
3407
  if (default_slot) default_slot.c();
3321
3408
  set_attributes(button, button_data);
3322
- toggle_class(button, "svelte-1dtbrzj", true);
3409
+ toggle_class(button, "svelte-1kmu8zp", true);
3323
3410
  },
3324
3411
  m(target, anchor) {
3325
3412
  insert(target, button, anchor);
@@ -3358,7 +3445,7 @@ function create_else_block$4(ctx) {
3358
3445
  dataAttrStopPropagation('click')
3359
3446
  ]));
3360
3447
 
3361
- toggle_class(button, "svelte-1dtbrzj", true);
3448
+ toggle_class(button, "svelte-1kmu8zp", true);
3362
3449
  },
3363
3450
  i(local) {
3364
3451
  if (current) return;
@@ -3389,7 +3476,7 @@ function create_if_block_2$1(ctx) {
3389
3476
  c() {
3390
3477
  div = element("div");
3391
3478
  if (default_slot) default_slot.c();
3392
- attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1dtbrzj"));
3479
+ attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1kmu8zp"));
3393
3480
  attr(div, "style", /*style*/ ctx[1]);
3394
3481
  },
3395
3482
  m(target, anchor) {
@@ -3473,7 +3560,7 @@ function create_if_block_1$2(ctx) {
3473
3560
  a = element("a");
3474
3561
  if (default_slot) default_slot.c();
3475
3562
  set_attributes(a, a_data);
3476
- toggle_class(a, "svelte-1dtbrzj", true);
3563
+ toggle_class(a, "svelte-1kmu8zp", true);
3477
3564
  },
3478
3565
  m(target, anchor) {
3479
3566
  insert(target, a, anchor);
@@ -3515,7 +3602,7 @@ function create_if_block_1$2(ctx) {
3515
3602
  dataAttrStopPropagation('click')
3516
3603
  ]));
3517
3604
 
3518
- toggle_class(a, "svelte-1dtbrzj", true);
3605
+ toggle_class(a, "svelte-1kmu8zp", true);
3519
3606
  },
3520
3607
  i(local) {
3521
3608
  if (current) return;
@@ -3546,7 +3633,7 @@ function create_if_block$6(ctx) {
3546
3633
  c() {
3547
3634
  div = element("div");
3548
3635
  if (default_slot) default_slot.c();
3549
- attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-1dtbrzj"));
3636
+ attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-1kmu8zp"));
3550
3637
  attr(div, "style", /*style*/ ctx[1]);
3551
3638
  },
3552
3639
  m(target, anchor) {
@@ -3594,7 +3681,7 @@ function create_if_block$6(ctx) {
3594
3681
  };
3595
3682
  }
3596
3683
 
3597
- function create_fragment$u(ctx) {
3684
+ function create_fragment$w(ctx) {
3598
3685
  let current_block_type_index;
3599
3686
  let if_block;
3600
3687
  let if_block_anchor;
@@ -3667,7 +3754,7 @@ function create_fragment$u(ctx) {
3667
3754
 
3668
3755
  const BUTTON_CLASS = 'button';
3669
3756
 
3670
- function instance$u($$self, $$props, $$invalidate) {
3757
+ function instance$w($$self, $$props, $$invalidate) {
3671
3758
  let disabled;
3672
3759
  let $valuesAreValid;
3673
3760
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -3685,7 +3772,7 @@ function instance$u($$self, $$props, $$invalidate) {
3685
3772
  }
3686
3773
 
3687
3774
  const { path: statePath } = getStateItemContext() ?? { path: '/' };
3688
- const valuesAreValid = getValuesAreValidReader(statePath);
3775
+ const valuesAreValid = getValuesAreValidReadable(statePath);
3689
3776
  component_subscribe($$self, valuesAreValid, value => $$invalidate(7, $valuesAreValid = value));
3690
3777
 
3691
3778
  $$self.$$set = $$props => {
@@ -3733,8 +3820,8 @@ class Button extends SvelteComponent {
3733
3820
  init(
3734
3821
  this,
3735
3822
  options,
3736
- instance$u,
3737
- create_fragment$u,
3823
+ instance$w,
3824
+ create_fragment$w,
3738
3825
  safe_not_equal,
3739
3826
  {
3740
3827
  onClick: 0,
@@ -3742,14 +3829,14 @@ class Button extends SvelteComponent {
3742
3829
  eventValue: 6,
3743
3830
  style: 1
3744
3831
  },
3745
- add_css$r
3832
+ add_css$t
3746
3833
  );
3747
3834
  }
3748
3835
  }
3749
3836
 
3750
3837
  /* src/components/Modal.svelte generated by Svelte v3.53.1 */
3751
3838
 
3752
- function add_css$q(target) {
3839
+ function add_css$s(target) {
3753
3840
  append_styles(target, "svelte-fsihgx", ".modal.svelte-fsihgx{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-fsihgx > .button{flex:auto;display:flex}.close.svelte-fsihgx{position:absolute;top:0;right:0}.close.svelte-fsihgx > .button{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-fsihgx > .button:hover{transform:rotate(90deg)}.modal-content.svelte-fsihgx{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc) !important;margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp) !important;margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
3754
3841
  }
3755
3842
 
@@ -4144,7 +4231,7 @@ function create_default_slot$6(ctx) {
4144
4231
  };
4145
4232
  }
4146
4233
 
4147
- function create_fragment$t(ctx) {
4234
+ function create_fragment$v(ctx) {
4148
4235
  let show_if;
4149
4236
  let current_block_type_index;
4150
4237
  let if_block0;
@@ -4262,7 +4349,7 @@ function create_fragment$t(ctx) {
4262
4349
  };
4263
4350
  }
4264
4351
 
4265
- function instance$t($$self, $$props, $$invalidate) {
4352
+ function instance$v($$self, $$props, $$invalidate) {
4266
4353
  let close;
4267
4354
  let closable;
4268
4355
  let backgroundClick;
@@ -4565,8 +4652,8 @@ class Modal extends SvelteComponent {
4565
4652
  init(
4566
4653
  this,
4567
4654
  options,
4568
- instance$t,
4569
- create_fragment$t,
4655
+ instance$v,
4656
+ create_fragment$v,
4570
4657
  safe_not_equal,
4571
4658
  {
4572
4659
  onClick: 0,
@@ -4584,7 +4671,7 @@ class Modal extends SvelteComponent {
4584
4671
  closeButtonColor: 9,
4585
4672
  _closeStyle: 10
4586
4673
  },
4587
- add_css$q,
4674
+ add_css$s,
4588
4675
  [-1, -1]
4589
4676
  );
4590
4677
  }
@@ -4592,7 +4679,7 @@ class Modal extends SvelteComponent {
4592
4679
 
4593
4680
  /* src/components/Grid.svelte generated by Svelte v3.53.1 */
4594
4681
 
4595
- function create_fragment$s(ctx) {
4682
+ function create_fragment$u(ctx) {
4596
4683
  let div;
4597
4684
  let current;
4598
4685
  const default_slot_template = /*#slots*/ ctx[8].default;
@@ -4650,7 +4737,7 @@ function create_fragment$s(ctx) {
4650
4737
  };
4651
4738
  }
4652
4739
 
4653
- function instance$s($$self, $$props, $$invalidate) {
4740
+ function instance$u($$self, $$props, $$invalidate) {
4654
4741
  let _style;
4655
4742
  let { $$slots: slots = {}, $$scope } = $$props;
4656
4743
  let { width = '512px' } = $$props;
@@ -4695,7 +4782,7 @@ class Grid extends SvelteComponent {
4695
4782
  constructor(options) {
4696
4783
  super();
4697
4784
 
4698
- init(this, options, instance$s, create_fragment$s, safe_not_equal, {
4785
+ init(this, options, instance$u, create_fragment$u, safe_not_equal, {
4699
4786
  width: 1,
4700
4787
  height: 2,
4701
4788
  rows: 3,
@@ -4708,11 +4795,11 @@ class Grid extends SvelteComponent {
4708
4795
 
4709
4796
  /* src/components/GridItem.svelte generated by Svelte v3.53.1 */
4710
4797
 
4711
- function add_css$p(target) {
4798
+ function add_css$r(target) {
4712
4799
  append_styles(target, "svelte-1cryhmb", ".grid-item.svelte-1cryhmb{word-break:break-all;position:relative}.grid-item-inner.svelte-1cryhmb{position:absolute;inset:0}");
4713
4800
  }
4714
4801
 
4715
- function create_fragment$r(ctx) {
4802
+ function create_fragment$t(ctx) {
4716
4803
  let div1;
4717
4804
  let div0;
4718
4805
  let current;
@@ -4786,7 +4873,7 @@ function create_fragment$r(ctx) {
4786
4873
 
4787
4874
  const GRID_ITEM_CONTEXT_KEY = 'GRID_ITEM';
4788
4875
 
4789
- function instance$r($$self, $$props, $$invalidate) {
4876
+ function instance$t($$self, $$props, $$invalidate) {
4790
4877
  let _style;
4791
4878
  let { $$slots: slots = {}, $$scope } = $$props;
4792
4879
  let { x1 } = $$props;
@@ -4835,8 +4922,8 @@ class GridItem extends SvelteComponent {
4835
4922
  init(
4836
4923
  this,
4837
4924
  options,
4838
- instance$r,
4839
- create_fragment$r,
4925
+ instance$t,
4926
+ create_fragment$t,
4840
4927
  safe_not_equal,
4841
4928
  {
4842
4929
  x1: 2,
@@ -4847,7 +4934,7 @@ class GridItem extends SvelteComponent {
4847
4934
  background: 7,
4848
4935
  gridItemId: 0
4849
4936
  },
4850
- add_css$p
4937
+ add_css$r
4851
4938
  );
4852
4939
  }
4853
4940
  }
@@ -4943,7 +5030,7 @@ function create_each_block$6(ctx) {
4943
5030
  };
4944
5031
  }
4945
5032
 
4946
- function create_fragment$q(ctx) {
5033
+ function create_fragment$s(ctx) {
4947
5034
  let each_1_anchor;
4948
5035
  let each_value = /*items*/ ctx[0];
4949
5036
  let each_blocks = [];
@@ -5002,7 +5089,7 @@ function create_fragment$q(ctx) {
5002
5089
 
5003
5090
  const regexp = /(\r?\n)/;
5004
5091
 
5005
- function instance$q($$self, $$props, $$invalidate) {
5092
+ function instance$s($$self, $$props, $$invalidate) {
5006
5093
  let items;
5007
5094
  let { text = 'サンプルSample' } = $$props;
5008
5095
 
@@ -5023,13 +5110,13 @@ function instance$q($$self, $$props, $$invalidate) {
5023
5110
  class RenderText extends SvelteComponent {
5024
5111
  constructor(options) {
5025
5112
  super();
5026
- init(this, options, instance$q, create_fragment$q, safe_not_equal, { text: 1 });
5113
+ init(this, options, instance$s, create_fragment$s, safe_not_equal, { text: 1 });
5027
5114
  }
5028
5115
  }
5029
5116
 
5030
5117
  /* src/components/TextElement.svelte generated by Svelte v3.53.1 */
5031
5118
 
5032
- function add_css$o(target) {
5119
+ function add_css$q(target) {
5033
5120
  append_styles(target, "svelte-vz6867", ".text-element-wrapper.svelte-vz6867.svelte-vz6867{position:relative;height:100%}.text-element.svelte-vz6867.svelte-vz6867{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden;font-size:12px;line-height:1.5}.text-link-element.svelte-vz6867.svelte-vz6867{text-decoration:none;color:inherit}.text-element-inner.svelte-vz6867.svelte-vz6867{width:100%;height:auto}.text-direction-vertical.svelte-vz6867.svelte-vz6867{writing-mode:vertical-rl}.text-direction-vertical.svelte-vz6867 .text-element-inner.svelte-vz6867{width:auto;height:100%}.tooltip.svelte-vz6867.svelte-vz6867{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-vz6867.svelte-vz6867:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-vz6867.svelte-vz6867{display:block}.tooltip-error.svelte-vz6867.svelte-vz6867{background-color:#c00}.tooltip-error.svelte-vz6867.svelte-vz6867:before{border-bottom:7px solid #c00}");
5034
5121
  }
5035
5122
 
@@ -5173,7 +5260,7 @@ function create_if_block$3(ctx) {
5173
5260
  };
5174
5261
  }
5175
5262
 
5176
- function create_fragment$p(ctx) {
5263
+ function create_fragment$r(ctx) {
5177
5264
  let div;
5178
5265
  let current_block_type_index;
5179
5266
  let if_block;
@@ -5243,7 +5330,7 @@ function create_fragment$p(ctx) {
5243
5330
  };
5244
5331
  }
5245
5332
 
5246
- function instance$p($$self, $$props, $$invalidate) {
5333
+ function instance$r($$self, $$props, $$invalidate) {
5247
5334
  let style;
5248
5335
  let { text = 'テキストのコンテンツ' } = $$props;
5249
5336
  let { font = SYSTEM_FONT } = $$props;
@@ -5339,8 +5426,8 @@ class TextElement extends SvelteComponent {
5339
5426
  init(
5340
5427
  this,
5341
5428
  options,
5342
- instance$p,
5343
- create_fragment$p,
5429
+ instance$r,
5430
+ create_fragment$r,
5344
5431
  safe_not_equal,
5345
5432
  {
5346
5433
  text: 0,
@@ -5351,14 +5438,14 @@ class TextElement extends SvelteComponent {
5351
5438
  enableCopy: 2,
5352
5439
  eventName: 10
5353
5440
  },
5354
- add_css$o
5441
+ add_css$q
5355
5442
  );
5356
5443
  }
5357
5444
  }
5358
5445
 
5359
5446
  /* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
5360
5447
 
5361
- function add_css$n(target) {
5448
+ function add_css$p(target) {
5362
5449
  append_styles(target, "svelte-ujdxfc", ".text-button-element.svelte-ujdxfc{width:100%;height:100%}.text-button-element.svelte-ujdxfc > .button{display:flex;width:100%;height:100%;border:none;box-shadow:transparent;box-sizing:border-box;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden;color:#ffffff;font-size:14px;font-weight:bold;justify-content:center;align-items:center;padding:1px 6px 1px 6px;line-height:1.5;background-color:#33403e;border-radius:4px;cursor:pointer;border-width:0px;border-style:solid;border-color:#000000}.text-button-element.svelte-ujdxfc > .button._disabled{cursor:not-allowed !important;opacity:0.2}.text-button-element.svelte-ujdxfc > .button:not(._disabled):active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button-element.svelte-ujdxfc > .button:not(._disabled):hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
5363
5450
  }
5364
5451
 
@@ -5396,7 +5483,7 @@ function create_default_slot$5(ctx) {
5396
5483
  };
5397
5484
  }
5398
5485
 
5399
- function create_fragment$o(ctx) {
5486
+ function create_fragment$q(ctx) {
5400
5487
  let div;
5401
5488
  let button;
5402
5489
  let current;
@@ -5450,7 +5537,7 @@ function create_fragment$o(ctx) {
5450
5537
  };
5451
5538
  }
5452
5539
 
5453
- function instance$o($$self, $$props, $$invalidate) {
5540
+ function instance$q($$self, $$props, $$invalidate) {
5454
5541
  let style;
5455
5542
  let { text = 'ボタンのラベル' } = $$props;
5456
5543
  let { onClick = { operation: 'none', args: [] } } = $$props;
@@ -5488,8 +5575,8 @@ class TextButtonElement extends SvelteComponent {
5488
5575
  init(
5489
5576
  this,
5490
5577
  options,
5491
- instance$o,
5492
- create_fragment$o,
5578
+ instance$q,
5579
+ create_fragment$q,
5493
5580
  safe_not_equal,
5494
5581
  {
5495
5582
  text: 0,
@@ -5499,14 +5586,14 @@ class TextButtonElement extends SvelteComponent {
5499
5586
  _buttonStyle: 5,
5500
5587
  _style: 6
5501
5588
  },
5502
- add_css$n
5589
+ add_css$p
5503
5590
  );
5504
5591
  }
5505
5592
  }
5506
5593
 
5507
5594
  /* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
5508
5595
 
5509
- function add_css$m(target) {
5596
+ function add_css$o(target) {
5510
5597
  append_styles(target, "svelte-1alkh1m", ".image-element.svelte-1alkh1m{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}.image-element.svelte-1alkh1m > .button{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;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.image-element.svelte-1alkh1m > .button._disabled{cursor:not-allowed !important;opacity:0.2}.image-element.transport.svelte-1alkh1m > .button:not(._disabled):hover,.image-element.transport.svelte-1alkh1m > .button:not(._disabled):focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}.image.svelte-1alkh1m{width:100%;height:100%}");
5511
5598
  }
5512
5599
 
@@ -5561,7 +5648,7 @@ function create_default_slot$4(ctx) {
5561
5648
  };
5562
5649
  }
5563
5650
 
5564
- function create_fragment$n(ctx) {
5651
+ function create_fragment$p(ctx) {
5565
5652
  let div;
5566
5653
  let button;
5567
5654
  let div_class_value;
@@ -5620,7 +5707,7 @@ function create_fragment$n(ctx) {
5620
5707
  };
5621
5708
  }
5622
5709
 
5623
- function instance$n($$self, $$props, $$invalidate) {
5710
+ function instance$p($$self, $$props, $$invalidate) {
5624
5711
  let { src = '' } = $$props;
5625
5712
  let { alt = '画像の説明' } = $$props;
5626
5713
  let { transport = false } = $$props;
@@ -5651,8 +5738,8 @@ class ImageElement extends SvelteComponent {
5651
5738
  init(
5652
5739
  this,
5653
5740
  options,
5654
- instance$n,
5655
- create_fragment$n,
5741
+ instance$p,
5742
+ create_fragment$p,
5656
5743
  safe_not_equal,
5657
5744
  {
5658
5745
  src: 0,
@@ -5664,18 +5751,18 @@ class ImageElement extends SvelteComponent {
5664
5751
  _imageStyle: 6,
5665
5752
  _style: 7
5666
5753
  },
5667
- add_css$m
5754
+ add_css$o
5668
5755
  );
5669
5756
  }
5670
5757
  }
5671
5758
 
5672
5759
  /* src/components/List.svelte generated by Svelte v3.53.1 */
5673
5760
 
5674
- function add_css$l(target) {
5761
+ function add_css$n(target) {
5675
5762
  append_styles(target, "svelte-1t8r9z", ".list.svelte-1t8r9z{display:flex;width:100%;height:100%;overflow:hidden;border-width:0px;border-style:solid;border-color:#000000}");
5676
5763
  }
5677
5764
 
5678
- function create_fragment$m(ctx) {
5765
+ function create_fragment$o(ctx) {
5679
5766
  let div;
5680
5767
  let current;
5681
5768
  const default_slot_template = /*#slots*/ ctx[6].default;
@@ -5735,7 +5822,7 @@ function create_fragment$m(ctx) {
5735
5822
 
5736
5823
  const LIST_CONTEXT_KEY = Symbol();
5737
5824
 
5738
- function instance$m($$self, $$props, $$invalidate) {
5825
+ function instance$o($$self, $$props, $$invalidate) {
5739
5826
  let style;
5740
5827
  let { $$slots: slots = {}, $$scope } = $$props;
5741
5828
  let { direction = 'vertical' } = $$props;
@@ -5802,8 +5889,8 @@ class List extends SvelteComponent {
5802
5889
  init(
5803
5890
  this,
5804
5891
  options,
5805
- instance$m,
5806
- create_fragment$m,
5892
+ instance$o,
5893
+ create_fragment$o,
5807
5894
  safe_not_equal,
5808
5895
  {
5809
5896
  direction: 1,
@@ -5811,14 +5898,14 @@ class List extends SvelteComponent {
5811
5898
  background: 3,
5812
5899
  _style: 4
5813
5900
  },
5814
- add_css$l
5901
+ add_css$n
5815
5902
  );
5816
5903
  }
5817
5904
  }
5818
5905
 
5819
5906
  /* src/components/ListItem.svelte generated by Svelte v3.53.1 */
5820
5907
 
5821
- function add_css$k(target) {
5908
+ function add_css$m(target) {
5822
5909
  append_styles(target, "svelte-1lbw8v2", ".list-item.svelte-1lbw8v2{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item.svelte-1lbw8v2 > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
5823
5910
  }
5824
5911
 
@@ -5870,7 +5957,7 @@ function create_default_slot$3(ctx) {
5870
5957
  };
5871
5958
  }
5872
5959
 
5873
- function create_fragment$l(ctx) {
5960
+ function create_fragment$n(ctx) {
5874
5961
  let div;
5875
5962
  let button;
5876
5963
  let current;
@@ -5929,7 +6016,7 @@ function create_fragment$l(ctx) {
5929
6016
  };
5930
6017
  }
5931
6018
 
5932
- function instance$l($$self, $$props, $$invalidate) {
6019
+ function instance$n($$self, $$props, $$invalidate) {
5933
6020
  let listItemStyle;
5934
6021
  let { $$slots: slots = {}, $$scope } = $$props;
5935
6022
  const { separator, background, direction, registerItem, unregisterItem } = getContext(LIST_CONTEXT_KEY);
@@ -6008,17 +6095,17 @@ function instance$l($$self, $$props, $$invalidate) {
6008
6095
  class ListItem extends SvelteComponent {
6009
6096
  constructor(options) {
6010
6097
  super();
6011
- init(this, options, instance$l, create_fragment$l, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$k);
6098
+ init(this, options, instance$n, create_fragment$n, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$m);
6012
6099
  }
6013
6100
  }
6014
6101
 
6015
6102
  /* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
6016
6103
 
6017
- function add_css$j(target) {
6104
+ function add_css$l(target) {
6018
6105
  append_styles(target, "svelte-w6jkzh", ".embed.svelte-w6jkzh{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-w6jkzh iframe{position:absolute;top:0;left:0;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
6019
6106
  }
6020
6107
 
6021
- function create_fragment$k(ctx) {
6108
+ function create_fragment$m(ctx) {
6022
6109
  let div;
6023
6110
 
6024
6111
  return {
@@ -6045,7 +6132,7 @@ function create_fragment$k(ctx) {
6045
6132
  };
6046
6133
  }
6047
6134
 
6048
- function instance$k($$self, $$props, $$invalidate) {
6135
+ function instance$m($$self, $$props, $$invalidate) {
6049
6136
  let { code } = $$props;
6050
6137
  let { _style = '' } = $$props;
6051
6138
 
@@ -6060,17 +6147,17 @@ function instance$k($$self, $$props, $$invalidate) {
6060
6147
  class EmbedElement extends SvelteComponent {
6061
6148
  constructor(options) {
6062
6149
  super();
6063
- init(this, options, instance$k, create_fragment$k, safe_not_equal, { code: 0, _style: 1 }, add_css$j);
6150
+ init(this, options, instance$m, create_fragment$m, safe_not_equal, { code: 0, _style: 1 }, add_css$l);
6064
6151
  }
6065
6152
  }
6066
6153
 
6067
6154
  /* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
6068
6155
 
6069
- function add_css$i(target) {
6156
+ function add_css$k(target) {
6070
6157
  append_styles(target, "svelte-ljxq7x", ".embed.svelte-ljxq7x{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-ljxq7x iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
6071
6158
  }
6072
6159
 
6073
- function create_fragment$j(ctx) {
6160
+ function create_fragment$l(ctx) {
6074
6161
  let div1;
6075
6162
  let div0;
6076
6163
 
@@ -6111,7 +6198,7 @@ function _setValue(obj, key, value) {
6111
6198
  }
6112
6199
  }
6113
6200
 
6114
- function instance$j($$self, $$props, $$invalidate) {
6201
+ function instance$l($$self, $$props, $$invalidate) {
6115
6202
  let $system;
6116
6203
  component_subscribe($$self, system, $$value => $$invalidate(31, $system = $$value));
6117
6204
  let { videoId = 'wt0OjOeX-JA' } = $$props;
@@ -6382,8 +6469,8 @@ class MovieYouTubeElement extends SvelteComponent {
6382
6469
  init(
6383
6470
  this,
6384
6471
  options,
6385
- instance$j,
6386
- create_fragment$j,
6472
+ instance$l,
6473
+ create_fragment$l,
6387
6474
  safe_not_equal,
6388
6475
  {
6389
6476
  videoId: 2,
@@ -6412,7 +6499,7 @@ class MovieYouTubeElement extends SvelteComponent {
6412
6499
  mute: 25,
6413
6500
  _style: 0
6414
6501
  },
6415
- add_css$i,
6502
+ add_css$k,
6416
6503
  [-1, -1]
6417
6504
  );
6418
6505
  }
@@ -6420,11 +6507,11 @@ class MovieYouTubeElement extends SvelteComponent {
6420
6507
 
6421
6508
  /* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
6422
6509
 
6423
- function add_css$h(target) {
6510
+ function add_css$j(target) {
6424
6511
  append_styles(target, "svelte-ljxq7x", ".embed.svelte-ljxq7x{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-ljxq7x iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
6425
6512
  }
6426
6513
 
6427
- function create_fragment$i(ctx) {
6514
+ function create_fragment$k(ctx) {
6428
6515
  let div1;
6429
6516
  let div0;
6430
6517
 
@@ -6455,7 +6542,7 @@ function create_fragment$i(ctx) {
6455
6542
  };
6456
6543
  }
6457
6544
 
6458
- function instance$i($$self, $$props, $$invalidate) {
6545
+ function instance$k($$self, $$props, $$invalidate) {
6459
6546
  let $system;
6460
6547
  component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
6461
6548
  let { videoId = "201239468" } = $$props;
@@ -6598,8 +6685,8 @@ class MovieVimeoElement extends SvelteComponent {
6598
6685
  init(
6599
6686
  this,
6600
6687
  options,
6601
- instance$i,
6602
- create_fragment$i,
6688
+ instance$k,
6689
+ create_fragment$k,
6603
6690
  safe_not_equal,
6604
6691
  {
6605
6692
  videoId: 2,
@@ -6609,18 +6696,18 @@ class MovieVimeoElement extends SvelteComponent {
6609
6696
  mute: 6,
6610
6697
  _style: 0
6611
6698
  },
6612
- add_css$h
6699
+ add_css$j
6613
6700
  );
6614
6701
  }
6615
6702
  }
6616
6703
 
6617
6704
  /* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
6618
6705
 
6619
- function add_css$g(target) {
6706
+ function add_css$i(target) {
6620
6707
  append_styles(target, "svelte-1fjy5oo", ".textarea-wrapper.svelte-1fjy5oo{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-1fjy5oo{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.textarea.svelte-1fjy5oo::placeholder{color:var(--placeholder-color)}.textarea.svelte-1fjy5oo:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}");
6621
6708
  }
6622
6709
 
6623
- function create_fragment$h(ctx) {
6710
+ function create_fragment$j(ctx) {
6624
6711
  let div;
6625
6712
  let textarea;
6626
6713
  let mounted;
@@ -6678,7 +6765,7 @@ function create_fragment$h(ctx) {
6678
6765
  };
6679
6766
  }
6680
6767
 
6681
- function instance$h($$self, $$props, $$invalidate) {
6768
+ function instance$j($$self, $$props, $$invalidate) {
6682
6769
  let style;
6683
6770
  let styleVariables;
6684
6771
  let $value;
@@ -6692,7 +6779,7 @@ function instance$h($$self, $$props, $$invalidate) {
6692
6779
  let { _placeholderStyle = 'color: #ccc;' } = $$props;
6693
6780
  const { path: statePath } = getStateItemContext();
6694
6781
 
6695
- const value = registerInput({
6782
+ const { value } = registerInput({
6696
6783
  name,
6697
6784
  statePath,
6698
6785
  initialValue: '',
@@ -6766,8 +6853,8 @@ class FormTextarea extends SvelteComponent {
6766
6853
  init(
6767
6854
  this,
6768
6855
  options,
6769
- instance$h,
6770
- create_fragment$h,
6856
+ instance$j,
6857
+ create_fragment$j,
6771
6858
  safe_not_equal,
6772
6859
  {
6773
6860
  name: 7,
@@ -6779,14 +6866,14 @@ class FormTextarea extends SvelteComponent {
6779
6866
  _textStyle: 11,
6780
6867
  _placeholderStyle: 12
6781
6868
  },
6782
- add_css$g
6869
+ add_css$i
6783
6870
  );
6784
6871
  }
6785
6872
  }
6786
6873
 
6787
6874
  /* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
6788
6875
 
6789
- function add_css$f(target) {
6876
+ function add_css$h(target) {
6790
6877
  append_styles(target, "svelte-1ntb6j8", ".radio-buttons.svelte-1ntb6j8{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-1ntb6j8{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-1ntb6j8{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-1ntb6j8:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-1ntb6j8{margin-left:0.5em}");
6791
6878
  }
6792
6879
 
@@ -6876,7 +6963,7 @@ function create_each_block$5(ctx) {
6876
6963
  };
6877
6964
  }
6878
6965
 
6879
- function create_fragment$g(ctx) {
6966
+ function create_fragment$i(ctx) {
6880
6967
  let div;
6881
6968
  let each_value = /*_options*/ ctx[4];
6882
6969
  let each_blocks = [];
@@ -6940,7 +7027,7 @@ function create_fragment$g(ctx) {
6940
7027
  };
6941
7028
  }
6942
7029
 
6943
- function instance$g($$self, $$props, $$invalidate) {
7030
+ function instance$i($$self, $$props, $$invalidate) {
6944
7031
  let _options;
6945
7032
  let buttonStyle;
6946
7033
  let _value;
@@ -6957,7 +7044,7 @@ function instance$g($$self, $$props, $$invalidate) {
6957
7044
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
6958
7045
  const { path: statePath } = getStateItemContext();
6959
7046
 
6960
- const value = registerInput({
7047
+ const { value } = registerInput({
6961
7048
  name,
6962
7049
  statePath,
6963
7050
  initialValue: [],
@@ -7040,8 +7127,8 @@ class FormRadioButtons extends SvelteComponent {
7040
7127
  init(
7041
7128
  this,
7042
7129
  options,
7043
- instance$g,
7044
- create_fragment$g,
7130
+ instance$i,
7131
+ create_fragment$i,
7045
7132
  safe_not_equal,
7046
7133
  {
7047
7134
  name: 0,
@@ -7054,14 +7141,14 @@ class FormRadioButtons extends SvelteComponent {
7054
7141
  buttonColor: 13,
7055
7142
  buttonColorActive: 14
7056
7143
  },
7057
- add_css$f
7144
+ add_css$h
7058
7145
  );
7059
7146
  }
7060
7147
  }
7061
7148
 
7062
7149
  /* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
7063
7150
 
7064
- function add_css$e(target) {
7151
+ function add_css$g(target) {
7065
7152
  append_styles(target, "svelte-iejizj", ".select.svelte-iejizj{width:100%;height:100%}.select-select.svelte-iejizj{position:relative;appearance:none;width:100%;height:100%;cursor:pointer;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:0 0 0 10px;font-size:12px;line-height:1.5}.select-select.svelte-iejizj:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.select-icon.svelte-iejizj{position:absolute;width:calc(var(--icon-size) / 1.41);height:calc(var(--icon-size) / 1.41);top:calc(50% - calc(var(--icon-size) / 4));right:calc(var(--icon-size) * 1.2);box-sizing:border-box;border-right:solid 2px var(--icon-color);border-top:solid 2px var(--icon-color);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
7066
7153
  }
7067
7154
 
@@ -7171,7 +7258,7 @@ function create_each_block$4(ctx) {
7171
7258
  };
7172
7259
  }
7173
7260
 
7174
- function create_fragment$f(ctx) {
7261
+ function create_fragment$h(ctx) {
7175
7262
  let div1;
7176
7263
  let select;
7177
7264
  let t;
@@ -7261,7 +7348,7 @@ function create_fragment$f(ctx) {
7261
7348
  };
7262
7349
  }
7263
7350
 
7264
- function instance$f($$self, $$props, $$invalidate) {
7351
+ function instance$h($$self, $$props, $$invalidate) {
7265
7352
  let _options;
7266
7353
  let style;
7267
7354
  let styleVariables;
@@ -7280,7 +7367,7 @@ function instance$f($$self, $$props, $$invalidate) {
7280
7367
  let { iconSize = '12px' } = $$props;
7281
7368
  const { path: statePath } = getStateItemContext();
7282
7369
 
7283
- const value = registerInput({
7370
+ const { value } = registerInput({
7284
7371
  name,
7285
7372
  statePath,
7286
7373
  initialValue: [],
@@ -7377,8 +7464,8 @@ class FormSelect extends SvelteComponent {
7377
7464
  init(
7378
7465
  this,
7379
7466
  options,
7380
- instance$f,
7381
- create_fragment$f,
7467
+ instance$h,
7468
+ create_fragment$h,
7382
7469
  safe_not_equal,
7383
7470
  {
7384
7471
  name: 7,
@@ -7393,14 +7480,14 @@ class FormSelect extends SvelteComponent {
7393
7480
  iconColor: 15,
7394
7481
  iconSize: 16
7395
7482
  },
7396
- add_css$e
7483
+ add_css$g
7397
7484
  );
7398
7485
  }
7399
7486
  }
7400
7487
 
7401
7488
  /* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
7402
7489
 
7403
- function add_css$d(target) {
7490
+ function add_css$f(target) {
7404
7491
  append_styles(target, "svelte-2pz1us", ".check-boxes.svelte-2pz1us.svelte-2pz1us{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%;gap:0px}.check-box.svelte-2pz1us.svelte-2pz1us{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-2pz1us.svelte-2pz1us{width:var(--size);height:var(--size);margin:0;position:absolute;appearance:none;cursor:pointer}.check-box-check.svelte-2pz1us.svelte-2pz1us{display:inline-flex;background-color:var(--color-main);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-2pz1us.svelte-2pz1us{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-2pz1us.svelte-2pz1us: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:var(--color-sub)}.check-box-check._checked.svelte-2pz1us.svelte-2pz1us{background-color:var(--color-main-active)}.check-box-check._checked.svelte-2pz1us .check-box-icon.svelte-2pz1us:after{border-color:var(--color-sub-active)}.check-box-text.svelte-2pz1us.svelte-2pz1us{margin-left:0.5em;color:#333;font-size:12px;line-height:1.5}");
7405
7492
  }
7406
7493
 
@@ -7506,7 +7593,7 @@ function create_each_block$3(ctx) {
7506
7593
  };
7507
7594
  }
7508
7595
 
7509
- function create_fragment$e(ctx) {
7596
+ function create_fragment$g(ctx) {
7510
7597
  let div;
7511
7598
  let each_value = /*_options*/ ctx[3];
7512
7599
  let each_blocks = [];
@@ -7570,7 +7657,7 @@ function create_fragment$e(ctx) {
7570
7657
  };
7571
7658
  }
7572
7659
 
7573
- function instance$e($$self, $$props, $$invalidate) {
7660
+ function instance$g($$self, $$props, $$invalidate) {
7574
7661
  let _options;
7575
7662
  let styleVariables;
7576
7663
  let isCheckedArray;
@@ -7587,7 +7674,7 @@ function instance$e($$self, $$props, $$invalidate) {
7587
7674
  let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
7588
7675
  const { path: statePath } = getStateItemContext();
7589
7676
 
7590
- const value = registerInput({
7677
+ const { value } = registerInput({
7591
7678
  name,
7592
7679
  statePath,
7593
7680
  initialValue: [],
@@ -7676,8 +7763,8 @@ class FormCheckBoxes extends SvelteComponent {
7676
7763
  init(
7677
7764
  this,
7678
7765
  options,
7679
- instance$e,
7680
- create_fragment$e,
7766
+ instance$g,
7767
+ create_fragment$g,
7681
7768
  safe_not_equal,
7682
7769
  {
7683
7770
  name: 0,
@@ -7690,14 +7777,14 @@ class FormCheckBoxes extends SvelteComponent {
7690
7777
  buttonColor: 13,
7691
7778
  buttonColorActive: 14
7692
7779
  },
7693
- add_css$d
7780
+ add_css$f
7694
7781
  );
7695
7782
  }
7696
7783
  }
7697
7784
 
7698
7785
  /* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
7699
7786
 
7700
- function add_css$c(target) {
7787
+ function add_css$e(target) {
7701
7788
  append_styles(target, "svelte-18pfy31", ".rating-buttons.svelte-18pfy31{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-18pfy31{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s;appearance:none;background:none;border:none;margin:0;padding:0}");
7702
7789
  }
7703
7790
 
@@ -7754,7 +7841,7 @@ function create_each_block$2(ctx) {
7754
7841
  };
7755
7842
  }
7756
7843
 
7757
- function create_fragment$d(ctx) {
7844
+ function create_fragment$f(ctx) {
7758
7845
  let div;
7759
7846
  let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
7760
7847
  let each_blocks = [];
@@ -7815,7 +7902,7 @@ function create_fragment$d(ctx) {
7815
7902
 
7816
7903
  const func$1 = i => i + 1;
7817
7904
 
7818
- function instance$d($$self, $$props, $$invalidate) {
7905
+ function instance$f($$self, $$props, $$invalidate) {
7819
7906
  let _value;
7820
7907
  let $value;
7821
7908
  let { name = '' } = $$props;
@@ -7826,7 +7913,7 @@ function instance$d($$self, $$props, $$invalidate) {
7826
7913
  let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 8px 16px 0px rgba(0, 16, 14, 0.3);' } = $$props;
7827
7914
  const { path: statePath } = getStateItemContext();
7828
7915
 
7829
- const value = registerInput({
7916
+ const { value } = registerInput({
7830
7917
  name,
7831
7918
  statePath,
7832
7919
  initialValue: [],
@@ -7891,8 +7978,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
7891
7978
  init(
7892
7979
  this,
7893
7980
  options,
7894
- instance$d,
7895
- create_fragment$d,
7981
+ instance$f,
7982
+ create_fragment$f,
7896
7983
  safe_not_equal,
7897
7984
  {
7898
7985
  name: 5,
@@ -7902,14 +7989,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
7902
7989
  buttonStyle: 8,
7903
7990
  buttonActiveStyle: 9
7904
7991
  },
7905
- add_css$c
7992
+ add_css$e
7906
7993
  );
7907
7994
  }
7908
7995
  }
7909
7996
 
7910
7997
  /* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
7911
7998
 
7912
- function add_css$b(target) {
7999
+ function add_css$d(target) {
7913
8000
  append_styles(target, "svelte-1b5dvzw", ".rating-buttons.svelte-1b5dvzw{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-1b5dvzw{appearance:none;background:none;border:none;margin:0;padding:0}.rating-button-image.svelte-1b5dvzw{cursor:pointer;user-select:none;-webkit-user-drag:none;width:100%;height:100%}.rating-button-image.svelte-1b5dvzw:not(._active){filter:grayscale(100%)}");
7914
8001
  }
7915
8002
 
@@ -7969,7 +8056,7 @@ function create_each_block$1(ctx) {
7969
8056
  };
7970
8057
  }
7971
8058
 
7972
- function create_fragment$c(ctx) {
8059
+ function create_fragment$e(ctx) {
7973
8060
  let div;
7974
8061
  let each_value = [...Array(count).keys()].reverse().map(func);
7975
8062
  let each_blocks = [];
@@ -8031,7 +8118,7 @@ function create_fragment$c(ctx) {
8031
8118
  const count = 5;
8032
8119
  const func = i => i + 1;
8033
8120
 
8034
- function instance$c($$self, $$props, $$invalidate) {
8121
+ function instance$e($$self, $$props, $$invalidate) {
8035
8122
  let _value;
8036
8123
  let buttonStyle;
8037
8124
  let $value;
@@ -8049,7 +8136,7 @@ function instance$c($$self, $$props, $$invalidate) {
8049
8136
 
8050
8137
  const { path: statePath } = getStateItemContext();
8051
8138
 
8052
- const value = registerInput({
8139
+ const { value } = registerInput({
8053
8140
  name,
8054
8141
  statePath,
8055
8142
  initialValue: [],
@@ -8087,7 +8174,439 @@ function instance$c($$self, $$props, $$invalidate) {
8087
8174
  class FormRatingButtonsFace extends SvelteComponent {
8088
8175
  constructor(options) {
8089
8176
  super();
8090
- init(this, options, instance$c, create_fragment$c, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$b);
8177
+ init(this, options, instance$e, create_fragment$e, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$d);
8178
+ }
8179
+ }
8180
+
8181
+ /* src/components/FormIdentifyInput.svelte generated by Svelte v3.53.1 */
8182
+
8183
+ function add_css$c(target) {
8184
+ append_styles(target, "svelte-17a0wgl", ".input-wrapper.svelte-17a0wgl{display:flex;align-items:center;width:100%;height:100%}.input.svelte-17a0wgl{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.input.svelte-17a0wgl::placeholder{color:var(--placeholder-color)}.input.svelte-17a0wgl:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.input._error.svelte-17a0wgl{outline:none;border-width:var(--error-border-width) !important;border-color:var(--error-border-color) !important;border-style:var(--error-border-style) !important}");
8185
+ }
8186
+
8187
+ function create_fragment$d(ctx) {
8188
+ let div;
8189
+ let input;
8190
+ let input_class_value;
8191
+ let mounted;
8192
+ let dispose;
8193
+
8194
+ return {
8195
+ c() {
8196
+ div = element("div");
8197
+ input = element("input");
8198
+ attr(input, "class", input_class_value = "" + (null_to_empty(['input', /*$isValid*/ ctx[5] ? '' : '_error'].join(' ')) + " svelte-17a0wgl"));
8199
+ attr(input, "type", "text");
8200
+ input.value = /*$value*/ ctx[4];
8201
+ input.required = /*required*/ ctx[0];
8202
+ attr(input, "placeholder", /*placeholder*/ ctx[1]);
8203
+ attr(input, "style", /*style*/ ctx[3]);
8204
+ attr(div, "class", "input-wrapper svelte-17a0wgl");
8205
+ attr(div, "style", /*styleVariables*/ ctx[2]);
8206
+ },
8207
+ m(target, anchor) {
8208
+ insert(target, div, anchor);
8209
+ append(div, input);
8210
+
8211
+ if (!mounted) {
8212
+ dispose = listen(input, "input", /*stringInputHandler*/ ctx[8]);
8213
+ mounted = true;
8214
+ }
8215
+ },
8216
+ p(ctx, [dirty]) {
8217
+ if (dirty & /*$isValid*/ 32 && input_class_value !== (input_class_value = "" + (null_to_empty(['input', /*$isValid*/ ctx[5] ? '' : '_error'].join(' ')) + " svelte-17a0wgl"))) {
8218
+ attr(input, "class", input_class_value);
8219
+ }
8220
+
8221
+ if (dirty & /*$value*/ 16 && input.value !== /*$value*/ ctx[4]) {
8222
+ input.value = /*$value*/ ctx[4];
8223
+ }
8224
+
8225
+ if (dirty & /*required*/ 1) {
8226
+ input.required = /*required*/ ctx[0];
8227
+ }
8228
+
8229
+ if (dirty & /*placeholder*/ 2) {
8230
+ attr(input, "placeholder", /*placeholder*/ ctx[1]);
8231
+ }
8232
+
8233
+ if (dirty & /*style*/ 8) {
8234
+ attr(input, "style", /*style*/ ctx[3]);
8235
+ }
8236
+
8237
+ if (dirty & /*styleVariables*/ 4) {
8238
+ attr(div, "style", /*styleVariables*/ ctx[2]);
8239
+ }
8240
+ },
8241
+ i: noop,
8242
+ o: noop,
8243
+ d(detaching) {
8244
+ if (detaching) detach(div);
8245
+ mounted = false;
8246
+ dispose();
8247
+ }
8248
+ };
8249
+ }
8250
+
8251
+ function instance$d($$self, $$props, $$invalidate) {
8252
+ let style;
8253
+ let styleVariables;
8254
+ let $value;
8255
+ let $isValid;
8256
+ let { field = 'email' } = $$props;
8257
+
8258
+ let { validation = {
8259
+ // FormIdentifyTextFieldValidations[DefaultFormIdentifyTextField]
8260
+ pattern: '^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}.[A-Za-z0-9]{1,}$',
8261
+ // gをつけない!test()を繰り返し呼び出した時に、テキストの途中から判定しようとしてしまう。
8262
+ // https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
8263
+ flags: ''
8264
+ } } = $$props;
8265
+
8266
+ let { required = true } = $$props;
8267
+ let { placeholder = 'メールアドレスを入力' } = $$props;
8268
+ let { _style = '' } = $$props;
8269
+ let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
8270
+ let { _errorStyle = 'border-width: 2px; border-color: #ff8726; border-style: solid' } = $$props;
8271
+ let { font = SYSTEM_FONT } = $$props;
8272
+ let { _textStyle = '' } = $$props;
8273
+ let { _placeholderStyle = 'color: #ccc;' } = $$props;
8274
+ const { path: statePath } = getStateItemContext();
8275
+
8276
+ const validationRegExp = (() => {
8277
+ try {
8278
+ return new RegExp(validation.pattern, validation.flags);
8279
+ } catch(e) {
8280
+ return undefined;
8281
+ }
8282
+ })();
8283
+
8284
+ const { value, isValid } = registerIdentifyInput({
8285
+ name: field,
8286
+ statePath,
8287
+ initialValue: '',
8288
+ validator(value) {
8289
+ if (value.length > 0 && validationRegExp && validationRegExp.test(value)) {
8290
+ return true;
8291
+ } else if (!required && value === '') {
8292
+ return true;
8293
+ } else {
8294
+ return false;
8295
+ }
8296
+ }
8297
+ });
8298
+
8299
+ component_subscribe($$self, value, value => $$invalidate(4, $value = value));
8300
+ component_subscribe($$self, isValid, value => $$invalidate(5, $isValid = value));
8301
+
8302
+ function stringInputHandler(event) {
8303
+ set_store_value(value, $value = event.target.value, $value);
8304
+ }
8305
+
8306
+ $$self.$$set = $$props => {
8307
+ if ('field' in $$props) $$invalidate(9, field = $$props.field);
8308
+ if ('validation' in $$props) $$invalidate(10, validation = $$props.validation);
8309
+ if ('required' in $$props) $$invalidate(0, required = $$props.required);
8310
+ if ('placeholder' in $$props) $$invalidate(1, placeholder = $$props.placeholder);
8311
+ if ('_style' in $$props) $$invalidate(11, _style = $$props._style);
8312
+ if ('_focusStyle' in $$props) $$invalidate(12, _focusStyle = $$props._focusStyle);
8313
+ if ('_errorStyle' in $$props) $$invalidate(13, _errorStyle = $$props._errorStyle);
8314
+ if ('font' in $$props) $$invalidate(14, font = $$props.font);
8315
+ if ('_textStyle' in $$props) $$invalidate(15, _textStyle = $$props._textStyle);
8316
+ if ('_placeholderStyle' in $$props) $$invalidate(16, _placeholderStyle = $$props._placeholderStyle);
8317
+ };
8318
+
8319
+ $$self.$$.update = () => {
8320
+ if ($$self.$$.dirty & /*font*/ 16384) {
8321
+ addFont(font);
8322
+ }
8323
+
8324
+ if ($$self.$$.dirty & /*_style, _textStyle, font*/ 51200) {
8325
+ $$invalidate(3, style = [..._style.split(';'), ..._textStyle.split(';'), `font-family:${font}`].join(';'));
8326
+ }
8327
+
8328
+ if ($$self.$$.dirty & /*_focusStyle, _errorStyle, _placeholderStyle*/ 77824) {
8329
+ $$invalidate(2, styleVariables = (() => {
8330
+ const variables = {};
8331
+ const focusStyleObj = parseStyle(_focusStyle);
8332
+ const errorStyleObj = parseStyle(_errorStyle);
8333
+ const placeholderStyle = parseStyle(_placeholderStyle);
8334
+ if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
8335
+ if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
8336
+ if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
8337
+ if (errorStyleObj['border-width']) variables['--error-border-width'] = errorStyleObj['border-width'];
8338
+ if (errorStyleObj['border-color']) variables['--error-border-color'] = errorStyleObj['border-color'];
8339
+ if (errorStyleObj['border-style']) variables['--error-border-style'] = errorStyleObj['border-style'];
8340
+ if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
8341
+ return stringifyStyleObj(variables);
8342
+ })());
8343
+ }
8344
+ };
8345
+
8346
+ return [
8347
+ required,
8348
+ placeholder,
8349
+ styleVariables,
8350
+ style,
8351
+ $value,
8352
+ $isValid,
8353
+ value,
8354
+ isValid,
8355
+ stringInputHandler,
8356
+ field,
8357
+ validation,
8358
+ _style,
8359
+ _focusStyle,
8360
+ _errorStyle,
8361
+ font,
8362
+ _textStyle,
8363
+ _placeholderStyle
8364
+ ];
8365
+ }
8366
+
8367
+ class FormIdentifyInput extends SvelteComponent {
8368
+ constructor(options) {
8369
+ super();
8370
+
8371
+ init(
8372
+ this,
8373
+ options,
8374
+ instance$d,
8375
+ create_fragment$d,
8376
+ safe_not_equal,
8377
+ {
8378
+ field: 9,
8379
+ validation: 10,
8380
+ required: 0,
8381
+ placeholder: 1,
8382
+ _style: 11,
8383
+ _focusStyle: 12,
8384
+ _errorStyle: 13,
8385
+ font: 14,
8386
+ _textStyle: 15,
8387
+ _placeholderStyle: 16
8388
+ },
8389
+ add_css$c
8390
+ );
8391
+ }
8392
+ }
8393
+
8394
+ /* src/components/FormIdentifyChoices.svelte generated by Svelte v3.53.1 */
8395
+
8396
+ function add_css$b(target) {
8397
+ append_styles(target, "svelte-pzrwlo", ".radio-buttons.svelte-pzrwlo{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-pzrwlo{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-pzrwlo{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-pzrwlo:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18, 160, 160, 0.08), 0px 1px 4px -1px rgba(18, 160, 160, 0.24)}.radio-button-text.svelte-pzrwlo{margin-left:0.5em}");
8398
+ }
8399
+
8400
+ function create_fragment$c(ctx) {
8401
+ let div;
8402
+ let label0;
8403
+ let input0;
8404
+ let input0_checked_value;
8405
+ let t0;
8406
+ let span0;
8407
+ let t1;
8408
+ let span0_style_value;
8409
+ let t2;
8410
+ let label1;
8411
+ let input1;
8412
+ let input1_checked_value;
8413
+ let t3;
8414
+ let span1;
8415
+ let t4;
8416
+ let span1_style_value;
8417
+ let mounted;
8418
+ let dispose;
8419
+
8420
+ return {
8421
+ c() {
8422
+ div = element("div");
8423
+ label0 = element("label");
8424
+ input0 = element("input");
8425
+ t0 = space();
8426
+ span0 = element("span");
8427
+ t1 = text("はい");
8428
+ t2 = space();
8429
+ label1 = element("label");
8430
+ input1 = element("input");
8431
+ t3 = space();
8432
+ span1 = element("span");
8433
+ t4 = text("いいえ");
8434
+ attr(input0, "type", "radio");
8435
+ attr(input0, "class", "radio-button-input svelte-pzrwlo");
8436
+ attr(input0, "style", /*buttonStyle*/ ctx[2]);
8437
+ input0.checked = input0_checked_value = /*$value*/ ctx[3] === true;
8438
+ attr(span0, "class", "radio-button-text svelte-pzrwlo");
8439
+ attr(span0, "style", span0_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
8440
+ attr(label0, "class", "radio-button svelte-pzrwlo");
8441
+ attr(input1, "type", "radio");
8442
+ attr(input1, "class", "radio-button-input svelte-pzrwlo");
8443
+ attr(input1, "style", /*buttonStyle*/ ctx[2]);
8444
+ input1.checked = input1_checked_value = /*$value*/ ctx[3] === false;
8445
+ attr(span1, "class", "radio-button-text svelte-pzrwlo");
8446
+ attr(span1, "style", span1_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
8447
+ attr(label1, "class", "radio-button svelte-pzrwlo");
8448
+ attr(div, "class", "radio-buttons svelte-pzrwlo");
8449
+ attr(div, "style", /*_layoutStyle*/ ctx[0]);
8450
+ },
8451
+ m(target, anchor) {
8452
+ insert(target, div, anchor);
8453
+ append(div, label0);
8454
+ append(label0, input0);
8455
+ append(label0, t0);
8456
+ append(label0, span0);
8457
+ append(span0, t1);
8458
+ append(div, t2);
8459
+ append(div, label1);
8460
+ append(label1, input1);
8461
+ append(label1, t3);
8462
+ append(label1, span1);
8463
+ append(span1, t4);
8464
+
8465
+ if (!mounted) {
8466
+ dispose = [
8467
+ listen(input0, "change", /*change_handler*/ ctx[12]),
8468
+ listen(input1, "change", /*change_handler_1*/ ctx[13])
8469
+ ];
8470
+
8471
+ mounted = true;
8472
+ }
8473
+ },
8474
+ p(ctx, [dirty]) {
8475
+ if (dirty & /*buttonStyle*/ 4) {
8476
+ attr(input0, "style", /*buttonStyle*/ ctx[2]);
8477
+ }
8478
+
8479
+ if (dirty & /*$value*/ 8 && input0_checked_value !== (input0_checked_value = /*$value*/ ctx[3] === true)) {
8480
+ input0.checked = input0_checked_value;
8481
+ }
8482
+
8483
+ if (dirty & /*_textStyle*/ 2 && span0_style_value !== (span0_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`)) {
8484
+ attr(span0, "style", span0_style_value);
8485
+ }
8486
+
8487
+ if (dirty & /*buttonStyle*/ 4) {
8488
+ attr(input1, "style", /*buttonStyle*/ ctx[2]);
8489
+ }
8490
+
8491
+ if (dirty & /*$value*/ 8 && input1_checked_value !== (input1_checked_value = /*$value*/ ctx[3] === false)) {
8492
+ input1.checked = input1_checked_value;
8493
+ }
8494
+
8495
+ if (dirty & /*_textStyle*/ 2 && span1_style_value !== (span1_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`)) {
8496
+ attr(span1, "style", span1_style_value);
8497
+ }
8498
+
8499
+ if (dirty & /*_layoutStyle*/ 1) {
8500
+ attr(div, "style", /*_layoutStyle*/ ctx[0]);
8501
+ }
8502
+ },
8503
+ i: noop,
8504
+ o: noop,
8505
+ d(detaching) {
8506
+ if (detaching) detach(div);
8507
+ mounted = false;
8508
+ run_all(dispose);
8509
+ }
8510
+ };
8511
+ }
8512
+
8513
+ function instance$c($$self, $$props, $$invalidate) {
8514
+ let buttonStyle;
8515
+ let $value;
8516
+ let { field = 'subscription' } = $$props;
8517
+ let { required = false } = $$props;
8518
+ let { _layoutStyle = 'flex-direction: row; gap: 0px;' } = $$props;
8519
+ let { font = SYSTEM_FONT } = $$props;
8520
+ const fontCss = font ? 'font-family:' + font : '';
8521
+ let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
8522
+ let { buttonSize = '16px' } = $$props;
8523
+ let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
8524
+ let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
8525
+ const { path: statePath } = getStateItemContext();
8526
+
8527
+ const { value } = registerIdentifyInput({
8528
+ name: field,
8529
+ statePath,
8530
+ initialValue: null,
8531
+ validator(value) {
8532
+ if (!required) return true;
8533
+ return typeof value === 'boolean';
8534
+ }
8535
+ });
8536
+
8537
+ component_subscribe($$self, value, value => $$invalidate(3, $value = value));
8538
+ const change_handler = () => value.set(true);
8539
+ const change_handler_1 = () => value.set(false);
8540
+
8541
+ $$self.$$set = $$props => {
8542
+ if ('field' in $$props) $$invalidate(6, field = $$props.field);
8543
+ if ('required' in $$props) $$invalidate(7, required = $$props.required);
8544
+ if ('_layoutStyle' in $$props) $$invalidate(0, _layoutStyle = $$props._layoutStyle);
8545
+ if ('font' in $$props) $$invalidate(8, font = $$props.font);
8546
+ if ('_textStyle' in $$props) $$invalidate(1, _textStyle = $$props._textStyle);
8547
+ if ('buttonSize' in $$props) $$invalidate(9, buttonSize = $$props.buttonSize);
8548
+ if ('buttonColor' in $$props) $$invalidate(10, buttonColor = $$props.buttonColor);
8549
+ if ('buttonColorActive' in $$props) $$invalidate(11, buttonColorActive = $$props.buttonColorActive);
8550
+ };
8551
+
8552
+ $$self.$$.update = () => {
8553
+ if ($$self.$$.dirty & /*font*/ 256) {
8554
+ addFont(font);
8555
+ }
8556
+
8557
+ if ($$self.$$.dirty & /*buttonColor, buttonColorActive, buttonSize*/ 3584) {
8558
+ $$invalidate(2, buttonStyle = (() => {
8559
+ return stringifyStyleObj({
8560
+ '--color-main': buttonColor.main,
8561
+ '--color-sub': buttonColor.sub,
8562
+ '--color-main-active': buttonColorActive.main,
8563
+ '--color-sub-active': buttonColorActive.sub,
8564
+ '--size': buttonSize
8565
+ });
8566
+ })());
8567
+ }
8568
+ };
8569
+
8570
+ return [
8571
+ _layoutStyle,
8572
+ _textStyle,
8573
+ buttonStyle,
8574
+ $value,
8575
+ fontCss,
8576
+ value,
8577
+ field,
8578
+ required,
8579
+ font,
8580
+ buttonSize,
8581
+ buttonColor,
8582
+ buttonColorActive,
8583
+ change_handler,
8584
+ change_handler_1
8585
+ ];
8586
+ }
8587
+
8588
+ class FormIdentifyChoices extends SvelteComponent {
8589
+ constructor(options) {
8590
+ super();
8591
+
8592
+ init(
8593
+ this,
8594
+ options,
8595
+ instance$c,
8596
+ create_fragment$c,
8597
+ safe_not_equal,
8598
+ {
8599
+ field: 6,
8600
+ required: 7,
8601
+ _layoutStyle: 0,
8602
+ font: 8,
8603
+ _textStyle: 1,
8604
+ buttonSize: 9,
8605
+ buttonColor: 10,
8606
+ buttonColorActive: 11
8607
+ },
8608
+ add_css$b
8609
+ );
8091
8610
  }
8092
8611
  }
8093
8612
 
@@ -10554,4 +11073,4 @@ class ImageBlock extends SvelteComponent {
10554
11073
  }
10555
11074
  }
10556
11075
 
10557
- export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
11076
+ export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };