@plaidev/karte-action-sdk 1.1.270-29177657.a375e44e → 1.1.270-29228770.05dce6ca

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.
Files changed (67) hide show
  1. package/dist/components-flex/brand-kit.d.ts +6 -0
  2. package/dist/components-flex/embed/types.d.ts +7 -0
  3. package/dist/components-flex/form/styles.d.ts +7 -0
  4. package/dist/components-flex/form/types.d.ts +116 -0
  5. package/dist/components-flex/form.d.ts +85 -0
  6. package/dist/components-flex/icon/types.d.ts +1 -0
  7. package/dist/components-flex/layout/types.d.ts +1 -0
  8. package/dist/components-flex/modal/types.d.ts +2 -2
  9. package/dist/components-flex/props.d.ts +5 -1
  10. package/dist/components-flex/utils/obj-to-style.d.ts +1 -1
  11. package/dist/functions.d.ts +4 -0
  12. package/dist/hydrate/components-flex/brand-kit.d.ts +6 -0
  13. package/dist/hydrate/components-flex/embed/types.d.ts +7 -0
  14. package/dist/hydrate/components-flex/form/styles.d.ts +7 -0
  15. package/dist/hydrate/components-flex/form/types.d.ts +116 -0
  16. package/dist/hydrate/components-flex/form.d.ts +85 -0
  17. package/dist/hydrate/components-flex/icon/types.d.ts +1 -0
  18. package/dist/hydrate/components-flex/layout/types.d.ts +1 -0
  19. package/dist/hydrate/components-flex/modal/types.d.ts +2 -2
  20. package/dist/hydrate/components-flex/props.d.ts +5 -1
  21. package/dist/hydrate/components-flex/utils/obj-to-style.d.ts +1 -1
  22. package/dist/hydrate/functions.d.ts +4 -0
  23. package/dist/hydrate/index.d.ts +3 -0
  24. package/dist/hydrate/index.es.js +3244 -975
  25. package/dist/hydrate/index.svelte5.d.ts +11 -0
  26. package/dist/hydrate/prop.d.ts +14 -0
  27. package/dist/hydrate/stores.d.ts +12 -0
  28. package/dist/index.es.d.ts +3 -0
  29. package/dist/index.es.js +2933 -936
  30. package/dist/prop.d.ts +14 -0
  31. package/dist/stores.d.ts +12 -0
  32. package/dist/svelte5/components-flex/brand-kit.d.ts +6 -0
  33. package/dist/svelte5/components-flex/embed/types.d.ts +7 -0
  34. package/dist/svelte5/components-flex/form/styles.d.ts +7 -0
  35. package/dist/svelte5/components-flex/form/types.d.ts +116 -0
  36. package/dist/svelte5/components-flex/form.d.ts +85 -0
  37. package/dist/svelte5/components-flex/icon/types.d.ts +1 -0
  38. package/dist/svelte5/components-flex/layout/types.d.ts +1 -0
  39. package/dist/svelte5/components-flex/modal/types.d.ts +2 -2
  40. package/dist/svelte5/components-flex/props.d.ts +5 -1
  41. package/dist/svelte5/components-flex/utils/obj-to-style.d.ts +1 -1
  42. package/dist/svelte5/functions.d.ts +4 -0
  43. package/dist/svelte5/hydrate/components-flex/brand-kit.d.ts +6 -0
  44. package/dist/svelte5/hydrate/components-flex/embed/types.d.ts +7 -0
  45. package/dist/svelte5/hydrate/components-flex/form/styles.d.ts +7 -0
  46. package/dist/svelte5/hydrate/components-flex/form/types.d.ts +116 -0
  47. package/dist/svelte5/hydrate/components-flex/form.d.ts +85 -0
  48. package/dist/svelte5/hydrate/components-flex/icon/types.d.ts +1 -0
  49. package/dist/svelte5/hydrate/components-flex/layout/types.d.ts +1 -0
  50. package/dist/svelte5/hydrate/components-flex/modal/types.d.ts +2 -2
  51. package/dist/svelte5/hydrate/components-flex/props.d.ts +5 -1
  52. package/dist/svelte5/hydrate/components-flex/utils/obj-to-style.d.ts +1 -1
  53. package/dist/svelte5/hydrate/functions.d.ts +4 -0
  54. package/dist/svelte5/hydrate/index.es.d.ts +11 -0
  55. package/dist/svelte5/hydrate/index.es.js +1394 -240
  56. package/dist/svelte5/hydrate/prop.d.ts +14 -0
  57. package/dist/svelte5/hydrate/stores.d.ts +12 -0
  58. package/dist/svelte5/index.es.d.ts +11 -0
  59. package/dist/svelte5/index.es.js +1394 -240
  60. package/dist/svelte5/index.front2.es.js +1422 -239
  61. package/dist/svelte5/index.svelte5.d.ts +11 -0
  62. package/dist/svelte5/prop.d.ts +14 -0
  63. package/dist/svelte5/stores.d.ts +12 -0
  64. package/dist/templates.cjs.js +10 -5
  65. package/dist/templates.d.ts +0 -3
  66. package/dist/templates.js +10 -5
  67. package/package.json +6 -13
@@ -414,6 +414,22 @@ const OnClickOperationOptions = [
414
414
  default: "/"
415
415
  }]
416
416
  },
417
+ {
418
+ operation: "submitFormFinal",
419
+ args: [{
420
+ name: "state",
421
+ type: "TransitState",
422
+ default: "/"
423
+ }]
424
+ },
425
+ {
426
+ operation: "submitFormProgress",
427
+ args: [{
428
+ name: "state",
429
+ type: "TransitState",
430
+ default: "/"
431
+ }]
432
+ },
417
433
  {
418
434
  operation: "bootChat",
419
435
  args: [
@@ -1085,6 +1101,12 @@ const formData = writable({});
1085
1101
  * @internal
1086
1102
  */
1087
1103
  const identifyFormData = writable({});
1104
+ /**
1105
+ * Store for form data
1106
+ *
1107
+ * @internal
1108
+ */
1109
+ const formFields = writable({});
1088
1110
 
1089
1111
  //#endregion
1090
1112
  //#region src/logger.ts
@@ -1836,9 +1858,9 @@ function getCssVariables(data) {
1836
1858
  * @public
1837
1859
  */
1838
1860
  function getActionRoot() {
1839
- const root$46 = document.querySelector(`.${KARTE_ACTION_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
1840
- if (!root$46?.shadowRoot) return null;
1841
- return root$46.shadowRoot;
1861
+ const root$49 = document.querySelector(`.${KARTE_ACTION_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
1862
+ if (!root$49?.shadowRoot) return null;
1863
+ return root$49.shadowRoot;
1842
1864
  }
1843
1865
  /** @internal */
1844
1866
  function createModal(App, options = {
@@ -2120,8 +2142,8 @@ function createApp(App, options = {
2120
2142
  */
2121
2143
  function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
2122
2144
  console.log("createFog");
2123
- const root$46 = ensureModalRoot();
2124
- if (root$46.querySelector(".__krt-fog")) return {
2145
+ const root$49 = ensureModalRoot();
2146
+ if (root$49.querySelector(".__krt-fog")) return {
2125
2147
  fog: null,
2126
2148
  close: () => {}
2127
2149
  };
@@ -2142,7 +2164,7 @@ function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
2142
2164
  fog.remove();
2143
2165
  };
2144
2166
  fog.onclick = close$1;
2145
- root$46.appendChild(fog);
2167
+ root$49.appendChild(fog);
2146
2168
  return {
2147
2169
  fog,
2148
2170
  close: close$1
@@ -2435,18 +2457,18 @@ function createInputRegisterer(formData$1) {
2435
2457
  const registerInput = createInputRegisterer(formData);
2436
2458
  /** @internal */
2437
2459
  const registerIdentifyInput = createInputRegisterer(identifyFormData);
2438
- function createAnswerValue(value) {
2460
+ function createAnswerValue$1(value) {
2439
2461
  if (Array.isArray(value)) return { choices: value };
2440
2462
  else if (typeof value === "string") return { free_answer: value };
2441
2463
  }
2442
- function formDataToEventValues(campaignId, formData$1) {
2464
+ function formDataToEventValues$1(campaignId, formData$1) {
2443
2465
  const questions = [];
2444
2466
  const answersMap = {};
2445
2467
  Object.entries(formData$1).forEach(([name, dataItem]) => {
2446
2468
  questions.push(name);
2447
2469
  const value = dataItem.value;
2448
2470
  const answerKey = `question_${name}`;
2449
- const answerValue = createAnswerValue(value);
2471
+ const answerValue = createAnswerValue$1(value);
2450
2472
  answersMap[answerKey] = answerValue;
2451
2473
  });
2452
2474
  return { [campaignId]: {
@@ -2467,7 +2489,7 @@ function submit() {
2467
2489
  if (campaignId) {
2468
2490
  const formData$1 = get(formData);
2469
2491
  const identifyFormData$1 = get(identifyFormData);
2470
- const values = formDataToEventValues(campaignId, formData$1);
2492
+ const values = formDataToEventValues$1(campaignId, formData$1);
2471
2493
  const identifyValues = formDataToIdentifyEventValues(identifyFormData$1);
2472
2494
  if (Object.keys(identifyValues).length > 0) identifyValues["user_id"] = getVariables()?.[USER_ID_VARIABLE_NAME];
2473
2495
  return {
@@ -2539,7 +2561,7 @@ function removeAnswer(questionId) {
2539
2561
  function getAnsweredQuestion(questionId) {
2540
2562
  const formData$1 = get(formData);
2541
2563
  const valueState = formData$1[questionId];
2542
- if (valueState) return createAnswerValue(valueState.value);
2564
+ if (valueState) return createAnswerValue$1(valueState.value);
2543
2565
  }
2544
2566
  /**
2545
2567
  * 回答済の回答IDのリストを取得
@@ -2856,9 +2878,252 @@ const LAYOUT_COMPONENT_NAMES = [
2856
2878
  "StateItem"
2857
2879
  ];
2858
2880
 
2881
+ //#endregion
2882
+ //#region src/components-flex/form.ts
2883
+ /**
2884
+ * @internal
2885
+ */
2886
+ const formStore = writable({
2887
+ schemas: [],
2888
+ states: {}
2889
+ });
2890
+ const formSubmittedValues = writable({});
2891
+ /**
2892
+ * @public
2893
+ */
2894
+ const getFormFieldSchema = (name) => {
2895
+ const store = get(formStore);
2896
+ return store.schemas.find((v) => v.name === name) ?? void 0;
2897
+ };
2898
+ /**
2899
+ * @public
2900
+ */
2901
+ const getFormFieldState = (name) => {
2902
+ const store = get(formStore);
2903
+ return store.states[name] ?? void 0;
2904
+ };
2905
+ /**
2906
+ * @public
2907
+ */
2908
+ const getFormFieldValue = (name) => {
2909
+ console.log("getFormFieldValue", getFormFieldState(name)?.value ?? void 0);
2910
+ return getFormFieldState(name)?.value ?? void 0;
2911
+ };
2912
+ /**
2913
+ * @public
2914
+ */
2915
+ const getFormValues = () => {
2916
+ const store = get(formStore);
2917
+ return Object.fromEntries(Object.entries(store.states).map(([name, state$1]) => [name, state$1.value]));
2918
+ };
2919
+ /**
2920
+ * @public
2921
+ */
2922
+ const getFormErrors = () => {
2923
+ const store = get(formStore);
2924
+ return Object.fromEntries(Object.entries(store.states).map(([name, state$1]) => [name, state$1.errorMessage]));
2925
+ };
2926
+ /**
2927
+ * @public
2928
+ */
2929
+ const setFormFieldValue = (name, value) => {
2930
+ formStore.update((updater) => ({
2931
+ ...updater,
2932
+ states: (() => {
2933
+ const states$1 = { ...updater.states };
2934
+ if (!(name in states$1)) return states$1;
2935
+ states$1[name].value = value;
2936
+ if (states$1[name].value !== value) states$1[name].isDirty = true;
2937
+ const schema = updater.schemas.find((v) => v.name === name);
2938
+ if (schema) {
2939
+ const res = validateFormField(schema, value);
2940
+ states$1[name].isValid = res.isValid;
2941
+ states$1[name].errorMessage = res.error;
2942
+ }
2943
+ return states$1;
2944
+ })()
2945
+ }));
2946
+ formSubmittedValues.update((updater) => ({
2947
+ ...updater,
2948
+ [name]: value
2949
+ }));
2950
+ };
2951
+ /**
2952
+ * @public
2953
+ */
2954
+ const setFormFieldError = (name, errorMessage) => {
2955
+ formStore.update((updater) => ({
2956
+ ...updater,
2957
+ states: {
2958
+ ...updater.states,
2959
+ [name]: {
2960
+ ...updater.states[name],
2961
+ errorMessage,
2962
+ isValid: errorMessage !== null
2963
+ }
2964
+ }
2965
+ }));
2966
+ };
2967
+ /**
2968
+ * @public
2969
+ */
2970
+ const setFormFieldTouched = (name) => {
2971
+ formStore.update((updater) => ({
2972
+ ...updater,
2973
+ states: {
2974
+ ...updater.states,
2975
+ [name]: {
2976
+ ...updater.states[name],
2977
+ isTouched: true
2978
+ }
2979
+ }
2980
+ }));
2981
+ };
2982
+ /**
2983
+ * @public
2984
+ */
2985
+ const registerFormField = (schemas) => {
2986
+ schemas = Array.isArray(schemas) ? schemas : [schemas];
2987
+ formStore.update((updater) => ({
2988
+ schemas: (() => {
2989
+ const resultSchemes = [...updater.schemas];
2990
+ schemas.forEach((schema) => {
2991
+ const index = resultSchemes.findIndex((rSchema) => rSchema.name === schema.name);
2992
+ if (index >= 0) resultSchemes[index] = {
2993
+ name: schema.name,
2994
+ defaultValue: schema.defaultValue,
2995
+ type: schema.type,
2996
+ required: schema.required,
2997
+ statePath: getState()
2998
+ };
2999
+ else resultSchemes.push({
3000
+ name: schema.name,
3001
+ defaultValue: schema.defaultValue,
3002
+ type: schema.type,
3003
+ required: schema.required,
3004
+ statePath: getState()
3005
+ });
3006
+ });
3007
+ return resultSchemes;
3008
+ })(),
3009
+ states: (() => {
3010
+ const states$1 = { ...updater.states };
3011
+ const submittedValues = get(formSubmittedValues);
3012
+ schemas.forEach((field) => {
3013
+ if (!(field.name in states$1) && field.name) {
3014
+ states$1[field.name] = {
3015
+ isDirty: false,
3016
+ isValid: false,
3017
+ isTouched: false,
3018
+ value: (() => {
3019
+ if (submittedValues[field.name]) return submittedValues[field.name];
3020
+ if (field.type === "checkboxes") return Array.isArray(field.defaultValue) ? field.defaultValue : [];
3021
+ else return typeof field.defaultValue === "string" ? field.defaultValue : "";
3022
+ })(),
3023
+ errorMessage: null
3024
+ };
3025
+ console.log(`register ${field.name}`, JSON.stringify(states$1[field.name]));
3026
+ }
3027
+ });
3028
+ return states$1;
3029
+ })()
3030
+ }));
3031
+ };
3032
+ /**
3033
+ * @public
3034
+ */
3035
+ const unregisterFormField = (fieldNames) => {
3036
+ fieldNames = typeof fieldNames === "string" ? [fieldNames] : fieldNames;
3037
+ formStore.update((updater) => ({
3038
+ schemas: (() => {
3039
+ return updater.schemas.filter((v) => !fieldNames.some((name) => name === v.name));
3040
+ })(),
3041
+ states: (() => {
3042
+ const states$1 = { ...updater.states };
3043
+ fieldNames.forEach((name) => {
3044
+ if (name in states$1) delete states$1[name];
3045
+ });
3046
+ return states$1;
3047
+ })()
3048
+ }));
3049
+ };
3050
+ const validateFormField = (schema, value) => {
3051
+ const store = get(formStore);
3052
+ if (schema.required) {
3053
+ if (schema.type === "checkboxes") {
3054
+ if (value.length === 0) return {
3055
+ isValid: false,
3056
+ error: "1つ以上選択してください"
3057
+ };
3058
+ } else if (typeof value !== "string" || value.trim() === "") return {
3059
+ isValid: false,
3060
+ error: "入力してください"
3061
+ };
3062
+ }
3063
+ return {
3064
+ isValid: true,
3065
+ error: void 0
3066
+ };
3067
+ };
3068
+ function createAnswerValue(value) {
3069
+ if (Array.isArray(value)) return { choices: value };
3070
+ else if (typeof value === "string") return { free_answer: value };
3071
+ }
3072
+ function formDataToEventValues(campaignId, formData$1) {
3073
+ const questions = [];
3074
+ const answersMap = {};
3075
+ Object.entries(formData$1).forEach(([name, value]) => {
3076
+ questions.push(name);
3077
+ const answerKey = `question_${name}`;
3078
+ answersMap[answerKey] = createAnswerValue(value);
3079
+ });
3080
+ return { [campaignId]: {
3081
+ questions,
3082
+ ...answersMap
3083
+ } };
3084
+ }
3085
+ /**
3086
+ * @public
3087
+ */
3088
+ function onSubmitForm(fn) {
3089
+ const systemConfig = getSystem();
3090
+ const campaignId = systemConfig.campaignId;
3091
+ if (campaignId) {
3092
+ let hasInvalid = false;
3093
+ const formData$1 = get(formStore);
3094
+ const currentState = getState();
3095
+ const currentStateSchemas = formData$1.schemas.filter((v) => v.statePath === currentState);
3096
+ for (const schema of currentStateSchemas) {
3097
+ const { isValid, error: error$1 } = validateFormField(schema, formData$1.states[schema.name]?.value);
3098
+ setFormFieldError(schema.name, isValid ? null : error$1);
3099
+ if (!isValid) hasInvalid = true;
3100
+ }
3101
+ formStore.update((updater) => ({
3102
+ ...updater,
3103
+ states: (() => {
3104
+ const states$1 = { ...updater.states };
3105
+ currentStateSchemas.forEach((schema) => {
3106
+ states$1[schema.name].isTouched = true;
3107
+ });
3108
+ return states$1;
3109
+ })()
3110
+ }));
3111
+ if (hasInvalid) return;
3112
+ const values = getFormValues();
3113
+ formSubmittedValues.update((updater) => ({
3114
+ ...updater,
3115
+ ...values
3116
+ }));
3117
+ fn({
3118
+ currentStateValues: formDataToEventValues(campaignId, values),
3119
+ allValues: formDataToEventValues(campaignId, get(formSubmittedValues))
3120
+ });
3121
+ }
3122
+ }
3123
+
2859
3124
  //#endregion
2860
3125
  //#region src/components-flex/state/Header.svelte
2861
- var root_2$5 = $.template(`<link type="text/css" rel="stylesheet">`);
3126
+ var root_2$9 = $.template(`<link type="text/css" rel="stylesheet">`);
2862
3127
  function Header($$anchor, $$props) {
2863
3128
  $.push($$props, false);
2864
3129
  const [$$stores, $$cleanup] = $.setup_stores();
@@ -2878,7 +3143,7 @@ function Header($$anchor, $$props) {
2878
3143
  var node = $.first_child(fragment);
2879
3144
  {
2880
3145
  var consequent = ($$anchor$2) => {
2881
- var link = root_2$5();
3146
+ var link = root_2$9();
2882
3147
  $.template_effect(() => $.set_attribute(link, "href", $.get(googleFontUrl)));
2883
3148
  $.append($$anchor$2, link);
2884
3149
  };
@@ -2897,14 +3162,20 @@ function Header($$anchor, $$props) {
2897
3162
  const BRAND_KIT_DEFAULT = {
2898
3163
  font_family: "sans-serif, serif, monospace, system-ui",
2899
3164
  color_text_primary: "#222222",
2900
- color_text_secondary: "#555555",
3165
+ color_text_secondary: "#666666",
2901
3166
  color_brand: "#33403e",
2902
3167
  color_link: "#1558d6",
2903
3168
  color_danger: "#f44336",
2904
3169
  color_warning: "#ffa726",
2905
3170
  color_success: "#10b981",
2906
3171
  color_info: "#29b6f6",
2907
- color_white: "#FFFFFF"
3172
+ color_white: "#FFFFFF",
3173
+ color_form_field_placeholder: "#CCCCCC",
3174
+ color_form_field_border: "#DBDBDB",
3175
+ color_form_field_focused_border: "",
3176
+ color_form_field_focused_background: "",
3177
+ color_form_field_accent: "",
3178
+ color_form_field_background: "#f5f5f5"
2908
3179
  };
2909
3180
  const getBrandKit = (customBrandKit) => {
2910
3181
  return {
@@ -2917,7 +3188,13 @@ const getBrandKit = (customBrandKit) => {
2917
3188
  color_warning: customBrandKit?.color_warning ?? BRAND_KIT_DEFAULT.color_warning,
2918
3189
  color_success: customBrandKit?.color_success ?? BRAND_KIT_DEFAULT.color_success,
2919
3190
  color_info: customBrandKit?.color_info ?? BRAND_KIT_DEFAULT.color_info,
2920
- color_white: customBrandKit?.color_white ?? BRAND_KIT_DEFAULT.color_white
3191
+ color_white: customBrandKit?.color_white ?? BRAND_KIT_DEFAULT.color_white,
3192
+ color_form_field_placeholder: customBrandKit?.color_form_field_placeholder ?? BRAND_KIT_DEFAULT.color_form_field_placeholder,
3193
+ color_form_field_border: customBrandKit?.color_form_field_border ?? BRAND_KIT_DEFAULT.color_form_field_border,
3194
+ color_form_field_focused_border: customBrandKit?.color_form_field_focused_border ?? BRAND_KIT_DEFAULT.color_form_field_focused_border,
3195
+ color_form_field_background: customBrandKit?.color_form_field_background ?? BRAND_KIT_DEFAULT.color_form_field_background,
3196
+ color_form_field_focused_background: customBrandKit?.color_form_field_focused_background ?? BRAND_KIT_DEFAULT.color_form_field_focused_background,
3197
+ color_form_field_accent: customBrandKit?.color_form_field_accent ?? BRAND_KIT_DEFAULT.color_form_field_accent
2921
3198
  };
2922
3199
  };
2923
3200
  const useBrandKit = () => {
@@ -2926,13 +3203,13 @@ const useBrandKit = () => {
2926
3203
 
2927
3204
  //#endregion
2928
3205
  //#region src/components-flex/state/State.svelte
2929
- var root$45 = $.template(`<!> <!>`, 1);
3206
+ var root$48 = $.template(`<!> <!>`, 1);
2930
3207
  function State($$anchor, $$props) {
2931
3208
  $.push($$props, false);
2932
3209
  let customBrandKit = $.prop($$props, "customBrandKit", 8, void 0);
2933
3210
  setContext("brandKit", getBrandKit(customBrandKit()));
2934
3211
  $.init();
2935
- var fragment = root$45();
3212
+ var fragment = root$48();
2936
3213
  var node = $.first_child(fragment);
2937
3214
  Header(node, {});
2938
3215
  var node_1 = $.sibling(node, 2);
@@ -2944,14 +3221,14 @@ function State($$anchor, $$props) {
2944
3221
  //#endregion
2945
3222
  //#region src/components-flex/state/StateItem.svelte
2946
3223
  const STATE_ITEM_CONTEXT_KEY = Symbol();
2947
- var root_1$9 = $.template(`<div class="state-item svelte-2qb6dm"></div> <!>`, 1);
2948
- const $$css$23 = {
3224
+ var root_1$15 = $.template(`<div class="state-item svelte-2qb6dm"></div> <!>`, 1);
3225
+ const $$css$31 = {
2949
3226
  hash: "svelte-2qb6dm",
2950
3227
  code: ".state-item.svelte-2qb6dm {position:absolute;display:none;}"
2951
3228
  };
2952
3229
  function StateItem($$anchor, $$props) {
2953
3230
  $.push($$props, false);
2954
- $.append_styles($$anchor, $$css$23);
3231
+ $.append_styles($$anchor, $$css$31);
2955
3232
  const [$$stores, $$cleanup] = $.setup_stores();
2956
3233
  const $state = () => $.store_get(state, "$state", $$stores);
2957
3234
  let path = $.prop($$props, "path", 8);
@@ -2965,7 +3242,7 @@ function StateItem($$anchor, $$props) {
2965
3242
  var node = $.first_child(fragment);
2966
3243
  {
2967
3244
  var consequent = ($$anchor$1) => {
2968
- var fragment_1 = root_1$9();
3245
+ var fragment_1 = root_1$15();
2969
3246
  var div = $.first_child(fragment_1);
2970
3247
  var node_1 = $.sibling(div, 2);
2971
3248
  $.slot(node_1, $$props, "default", {}, null);
@@ -3329,6 +3606,23 @@ const submitForm = (to) => () => {
3329
3606
  _moveTo(to);
3330
3607
  };
3331
3608
  /** @internal */
3609
+ const submitFormProgress = (to) => () => {
3610
+ onSubmitForm(({ currentStateValues }) => {
3611
+ send_event("_answer_question_progress", {
3612
+ ...currentStateValues,
3613
+ state: getState()
3614
+ });
3615
+ _moveTo(to);
3616
+ });
3617
+ };
3618
+ /** @internal */
3619
+ const submitFormFinal = (to) => () => {
3620
+ onSubmitForm(({ allValues }) => {
3621
+ send_event("_answer_question", allValues);
3622
+ _moveTo(to);
3623
+ });
3624
+ };
3625
+ /** @internal */
3332
3626
  const bootChat = (hide_launcher, placement_pc, placement_mobile, horizontal_spacing_pc, horizontal_spacing_mobile, vertical_spacing_pc, vertical_spacing_mobile, theme_color, header_title, header_description, launcher_image) => () => {
3333
3627
  const options = {
3334
3628
  hide_launcher,
@@ -3356,6 +3650,8 @@ const execOnClickOperation = (onClickOperation) => {
3356
3650
  else if (onClickOperation.operation === "closeApp") closeApp(onClickOperation.args[0] || "button")();
3357
3651
  else if (onClickOperation.operation === "runScript") runScript(onClickOperation.args[0])();
3358
3652
  else if (onClickOperation.operation === "submitForm") submitForm(onClickOperation.args[0])();
3653
+ else if (onClickOperation.operation === "submitFormFinal") submitFormFinal(onClickOperation.args[0])();
3654
+ else if (onClickOperation.operation === "submitFormProgress") submitFormProgress(onClickOperation.args[0])();
3359
3655
  else if (onClickOperation.operation === "bootChat") bootChat(...onClickOperation.args)();
3360
3656
  };
3361
3657
  function getAnimation(animation) {
@@ -3487,14 +3783,22 @@ var useClickable_default = useClickable;
3487
3783
  //#region src/hooks/useInjectCustomizeCss.ts
3488
3784
  const useInjectCustomizeCss = (props) => {
3489
3785
  function injectCss() {
3490
- const modalElement = document.querySelector(`.${KARTE_MODAL_ROOT}`);
3786
+ const modalElements = Array.from(document.querySelectorAll(`.${KARTE_MODAL_ROOT}`));
3491
3787
  const style = document.createElement("style");
3788
+ let headAppended = false;
3492
3789
  style.textContent = props.customizeCss;
3493
- if (modalElement?.shadowRoot) modalElement.shadowRoot.appendChild(style);
3494
- else document.head.appendChild(style);
3790
+ modalElements.forEach((modalElement) => {
3791
+ if (modalElement?.shadowRoot) modalElement.shadowRoot.appendChild(style);
3792
+ else if (!headAppended) {
3793
+ document.head.appendChild(style);
3794
+ headAppended = true;
3795
+ }
3796
+ });
3495
3797
  return () => {
3496
- if (modalElement?.shadowRoot) modalElement.shadowRoot.removeChild(style);
3497
- else document.head.removeChild(style);
3798
+ modalElements.forEach((modalElement) => {
3799
+ if (modalElement?.shadowRoot) modalElement.shadowRoot.removeChild(style);
3800
+ else document.head.removeChild(style);
3801
+ });
3498
3802
  };
3499
3803
  }
3500
3804
  onMount$1(() => {
@@ -3533,14 +3837,14 @@ const AVATAR_SIZE_STYLES = {
3533
3837
 
3534
3838
  //#endregion
3535
3839
  //#region src/components-flex/avatar/Avatar.svelte
3536
- var root_1$8 = $.template(`<img class="avatar-image svelte-1xhdr99">`);
3537
- const $$css$22 = {
3840
+ var root_1$14 = $.template(`<img class="avatar-image svelte-1xhdr99">`);
3841
+ const $$css$30 = {
3538
3842
  hash: "svelte-1xhdr99",
3539
3843
  code: ".avatar.svelte-1xhdr99 {display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;border:0;background:none;padding:0;margin:0;text-align:left;-webkit-appearance:none;}"
3540
3844
  };
3541
3845
  function Avatar($$anchor, $$props) {
3542
3846
  $.push($$props, false);
3543
- $.append_styles($$anchor, $$css$22);
3847
+ $.append_styles($$anchor, $$css$30);
3544
3848
  const styleObj = $.mutable_state();
3545
3849
  const style = $.mutable_state();
3546
3850
  const imgStyle = $.mutable_state();
@@ -3595,14 +3899,15 @@ function Avatar($$anchor, $$props) {
3595
3899
  var node = $.first_child(fragment);
3596
3900
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
3597
3901
  let attributes_1;
3598
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
3902
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
3599
3903
  ...attributes,
3600
- class: "avatar",
3904
+ id: props().id,
3905
+ class: $0,
3601
3906
  style: $.get(style),
3602
3907
  "data-layer-id": layerId()
3603
- }, "svelte-1xhdr99"));
3908
+ }, "svelte-1xhdr99"), [() => ["avatar", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
3604
3909
  $.event("click", $$element, handleClick);
3605
- var img = root_1$8();
3910
+ var img = root_1$14();
3606
3911
  $.template_effect(() => {
3607
3912
  $.set_attribute(img, "src", props().image);
3608
3913
  $.set_attribute(img, "alt", props().alt);
@@ -3664,10 +3969,10 @@ const buttonPropsDefault = {
3664
3969
 
3665
3970
  //#endregion
3666
3971
  //#region src/components-flex/icon/variants/IconArrowDown.svelte
3667
- var root$44 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg>`);
3972
+ var root$47 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"></path></svg>`);
3668
3973
  function IconArrowDown($$anchor, $$props) {
3669
3974
  let color = $.prop($$props, "color", 8);
3670
- var svg = root$44();
3975
+ var svg = root$47();
3671
3976
  var path = $.child(svg);
3672
3977
  $.reset(svg);
3673
3978
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3676,10 +3981,10 @@ function IconArrowDown($$anchor, $$props) {
3676
3981
 
3677
3982
  //#endregion
3678
3983
  //#region src/components-flex/icon/variants/IconArrowUp.svelte
3679
- var root$43 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"></path></svg>`);
3984
+ var root$46 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"></path></svg>`);
3680
3985
  function IconArrowUp($$anchor, $$props) {
3681
3986
  let color = $.prop($$props, "color", 8);
3682
- var svg = root$43();
3987
+ var svg = root$46();
3683
3988
  var path = $.child(svg);
3684
3989
  $.reset(svg);
3685
3990
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3688,10 +3993,10 @@ function IconArrowUp($$anchor, $$props) {
3688
3993
 
3689
3994
  //#endregion
3690
3995
  //#region src/components-flex/icon/variants/IconUsers.svelte
3691
- var root$42 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 640 512"><path d="M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"></path></svg>`);
3996
+ var root$45 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 640 512"><path d="M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"></path></svg>`);
3692
3997
  function IconUsers($$anchor, $$props) {
3693
3998
  let color = $.prop($$props, "color", 8);
3694
- var svg = root$42();
3999
+ var svg = root$45();
3695
4000
  var path = $.child(svg);
3696
4001
  $.reset(svg);
3697
4002
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3700,10 +4005,10 @@ function IconUsers($$anchor, $$props) {
3700
4005
 
3701
4006
  //#endregion
3702
4007
  //#region src/components-flex/icon/variants/IconArrowLeft.svelte
3703
- var root$41 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"></path></svg>`);
4008
+ var root$44 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"></path></svg>`);
3704
4009
  function IconArrowLeft($$anchor, $$props) {
3705
4010
  let color = $.prop($$props, "color", 8);
3706
- var svg = root$41();
4011
+ var svg = root$44();
3707
4012
  var path = $.child(svg);
3708
4013
  $.reset(svg);
3709
4014
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3712,10 +4017,10 @@ function IconArrowLeft($$anchor, $$props) {
3712
4017
 
3713
4018
  //#endregion
3714
4019
  //#region src/components-flex/icon/variants/IconArrowRight.svelte
3715
- var root$40 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"></path></svg>`);
4020
+ var root$43 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"></path></svg>`);
3716
4021
  function IconArrowRight($$anchor, $$props) {
3717
4022
  let color = $.prop($$props, "color", 8);
3718
- var svg = root$40();
4023
+ var svg = root$43();
3719
4024
  var path = $.child(svg);
3720
4025
  $.reset(svg);
3721
4026
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3724,10 +4029,10 @@ function IconArrowRight($$anchor, $$props) {
3724
4029
 
3725
4030
  //#endregion
3726
4031
  //#region src/components-flex/icon/variants/IconBell.svelte
3727
- var root$39 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"></path></svg>`);
4032
+ var root$42 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 448 512"><path d="M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"></path></svg>`);
3728
4033
  function IconBell($$anchor, $$props) {
3729
4034
  let color = $.prop($$props, "color", 8);
3730
- var svg = root$39();
4035
+ var svg = root$42();
3731
4036
  var path = $.child(svg);
3732
4037
  $.reset(svg);
3733
4038
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3736,10 +4041,10 @@ function IconBell($$anchor, $$props) {
3736
4041
 
3737
4042
  //#endregion
3738
4043
  //#region src/components-flex/icon/variants/IconArrowUpFromSquare.svelte
3739
- var root$38 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"></path></svg>`);
4044
+ var root$41 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"></path></svg>`);
3740
4045
  function IconArrowUpFromSquare($$anchor, $$props) {
3741
4046
  let color = $.prop($$props, "color", 8);
3742
- var svg = root$38();
4047
+ var svg = root$41();
3743
4048
  var path = $.child(svg);
3744
4049
  $.reset(svg);
3745
4050
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3748,10 +4053,10 @@ function IconArrowUpFromSquare($$anchor, $$props) {
3748
4053
 
3749
4054
  //#endregion
3750
4055
  //#region src/components-flex/icon/variants/IconTicket.svelte
3751
- var root$37 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V320c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6V128c0-35.3-28.7-64-64-64H64zm64 112l0 160c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16zM96 160c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V160z"></path></svg>`);
4056
+ var root$40 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V320c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6V128c0-35.3-28.7-64-64-64H64zm64 112l0 160c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16zM96 160c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V160z"></path></svg>`);
3752
4057
  function IconTicket($$anchor, $$props) {
3753
4058
  let color = $.prop($$props, "color", 8);
3754
- var svg = root$37();
4059
+ var svg = root$40();
3755
4060
  var path = $.child(svg);
3756
4061
  $.reset(svg);
3757
4062
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3760,10 +4065,10 @@ function IconTicket($$anchor, $$props) {
3760
4065
 
3761
4066
  //#endregion
3762
4067
  //#region src/components-flex/icon/variants/IconTrack.svelte
3763
- var root$36 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 640 512"><path d="M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM112 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm368-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"></path></svg>`);
4068
+ var root$39 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 640 512"><path d="M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM112 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm368-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"></path></svg>`);
3764
4069
  function IconTrack($$anchor, $$props) {
3765
4070
  let color = $.prop($$props, "color", 8);
3766
- var svg = root$36();
4071
+ var svg = root$39();
3767
4072
  var path = $.child(svg);
3768
4073
  $.reset(svg);
3769
4074
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3772,10 +4077,10 @@ function IconTrack($$anchor, $$props) {
3772
4077
 
3773
4078
  //#endregion
3774
4079
  //#region src/components-flex/icon/variants/IconCartShopping.svelte
3775
- var root$35 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"></path></svg>`);
4080
+ var root$38 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"></path></svg>`);
3776
4081
  function IconCartShopping($$anchor, $$props) {
3777
4082
  let color = $.prop($$props, "color", 8);
3778
- var svg = root$35();
4083
+ var svg = root$38();
3779
4084
  var path = $.child(svg);
3780
4085
  $.reset(svg);
3781
4086
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3784,10 +4089,10 @@ function IconCartShopping($$anchor, $$props) {
3784
4089
 
3785
4090
  //#endregion
3786
4091
  //#region src/components-flex/icon/variants/IconCircle.svelte
3787
- var root$34 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"></path></svg>`);
4092
+ var root$37 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"></path></svg>`);
3788
4093
  function IconCircle($$anchor, $$props) {
3789
4094
  let color = $.prop($$props, "color", 8);
3790
- var svg = root$34();
4095
+ var svg = root$37();
3791
4096
  var path = $.child(svg);
3792
4097
  $.reset(svg);
3793
4098
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3796,10 +4101,10 @@ function IconCircle($$anchor, $$props) {
3796
4101
 
3797
4102
  //#endregion
3798
4103
  //#region src/components-flex/icon/variants/IconCircleQuestion.svelte
3799
- var root$33 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"></path></svg>`);
4104
+ var root$36 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"></path></svg>`);
3800
4105
  function IconCircleQuestion($$anchor, $$props) {
3801
4106
  let color = $.prop($$props, "color", 8);
3802
- var svg = root$33();
4107
+ var svg = root$36();
3803
4108
  var path = $.child(svg);
3804
4109
  $.reset(svg);
3805
4110
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3808,10 +4113,10 @@ function IconCircleQuestion($$anchor, $$props) {
3808
4113
 
3809
4114
  //#endregion
3810
4115
  //#region src/components-flex/icon/variants/IconCheck.svelte
3811
- var root$32 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"></path></svg>`);
4116
+ var root$35 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"></path></svg>`);
3812
4117
  function IconCheck($$anchor, $$props) {
3813
4118
  let color = $.prop($$props, "color", 8);
3814
- var svg = root$32();
4119
+ var svg = root$35();
3815
4120
  var path = $.child(svg);
3816
4121
  $.reset(svg);
3817
4122
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3820,10 +4125,10 @@ function IconCheck($$anchor, $$props) {
3820
4125
 
3821
4126
  //#endregion
3822
4127
  //#region src/components-flex/icon/variants/IconXMark.svelte
3823
- var root$31 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 320 512"><path d="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"></path></svg>`);
4128
+ var root$34 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 320 512"><path d="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"></path></svg>`);
3824
4129
  function IconXMark($$anchor, $$props) {
3825
4130
  let color = $.prop($$props, "color", 8);
3826
- var svg = root$31();
4131
+ var svg = root$34();
3827
4132
  var path = $.child(svg);
3828
4133
  $.reset(svg);
3829
4134
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3832,10 +4137,10 @@ function IconXMark($$anchor, $$props) {
3832
4137
 
3833
4138
  //#endregion
3834
4139
  //#region src/components-flex/icon/variants/IconPaperPlane.svelte
3835
- var root$30 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"></path></svg>`);
4140
+ var root$33 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"></path></svg>`);
3836
4141
  function IconPaperPlane($$anchor, $$props) {
3837
4142
  let color = $.prop($$props, "color", 8);
3838
- var svg = root$30();
4143
+ var svg = root$33();
3839
4144
  var path = $.child(svg);
3840
4145
  $.reset(svg);
3841
4146
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3844,10 +4149,10 @@ function IconPaperPlane($$anchor, $$props) {
3844
4149
 
3845
4150
  //#endregion
3846
4151
  //#region src/components-flex/icon/variants/IconCopy.svelte
3847
- var root$29 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"></path></svg>`);
4152
+ var root$32 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"></path></svg>`);
3848
4153
  function IconCopy($$anchor, $$props) {
3849
4154
  let color = $.prop($$props, "color", 8);
3850
- var svg = root$29();
4155
+ var svg = root$32();
3851
4156
  var path = $.child(svg);
3852
4157
  $.reset(svg);
3853
4158
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3856,10 +4161,10 @@ function IconCopy($$anchor, $$props) {
3856
4161
 
3857
4162
  //#endregion
3858
4163
  //#region src/components-flex/icon/variants/IconCircleXMark.svelte
3859
- var root$28 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"></path></svg>`);
4164
+ var root$31 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"></path></svg>`);
3860
4165
  function IconCircleXMark($$anchor, $$props) {
3861
4166
  let color = $.prop($$props, "color", 8);
3862
- var svg = root$28();
4167
+ var svg = root$31();
3863
4168
  var path = $.child(svg);
3864
4169
  $.reset(svg);
3865
4170
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3868,10 +4173,10 @@ function IconCircleXMark($$anchor, $$props) {
3868
4173
 
3869
4174
  //#endregion
3870
4175
  //#region src/components-flex/icon/variants/IconHeart.svelte
3871
- var root$27 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"></path></svg>`);
4176
+ var root$30 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"></path></svg>`);
3872
4177
  function IconHeart($$anchor, $$props) {
3873
4178
  let color = $.prop($$props, "color", 8);
3874
- var svg = root$27();
4179
+ var svg = root$30();
3875
4180
  var path = $.child(svg);
3876
4181
  $.reset(svg);
3877
4182
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3880,10 +4185,10 @@ function IconHeart($$anchor, $$props) {
3880
4185
 
3881
4186
  //#endregion
3882
4187
  //#region src/components-flex/icon/variants/IconMagnifyingGrass.svelte
3883
- var root$26 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"></path></svg>`);
4188
+ var root$29 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"></path></svg>`);
3884
4189
  function IconMagnifyingGrass($$anchor, $$props) {
3885
4190
  let color = $.prop($$props, "color", 8);
3886
- var svg = root$26();
4191
+ var svg = root$29();
3887
4192
  var path = $.child(svg);
3888
4193
  $.reset(svg);
3889
4194
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3892,10 +4197,10 @@ function IconMagnifyingGrass($$anchor, $$props) {
3892
4197
 
3893
4198
  //#endregion
3894
4199
  //#region src/components-flex/icon/variants/IconStar.svelte
3895
- var root$25 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg>`);
4200
+ var root$28 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 576 512"><path d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg>`);
3896
4201
  function IconStar($$anchor, $$props) {
3897
4202
  let color = $.prop($$props, "color", 8);
3898
- var svg = root$25();
4203
+ var svg = root$28();
3899
4204
  var path = $.child(svg);
3900
4205
  $.reset(svg);
3901
4206
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3904,10 +4209,10 @@ function IconStar($$anchor, $$props) {
3904
4209
 
3905
4210
  //#endregion
3906
4211
  //#region src/components-flex/icon/variants/IconCircleInfo.svelte
3907
- var root$24 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"></path></svg>`);
4212
+ var root$27 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"></path></svg>`);
3908
4213
  function IconCircleInfo($$anchor, $$props) {
3909
4214
  let color = $.prop($$props, "color", 8);
3910
- var svg = root$24();
4215
+ var svg = root$27();
3911
4216
  var path = $.child(svg);
3912
4217
  $.reset(svg);
3913
4218
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3916,10 +4221,10 @@ function IconCircleInfo($$anchor, $$props) {
3916
4221
 
3917
4222
  //#endregion
3918
4223
  //#region src/components-flex/icon/variants/IconEnvelope.svelte
3919
- var root$23 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"></path></svg>`);
4224
+ var root$26 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"></path></svg>`);
3920
4225
  function IconEnvelope($$anchor, $$props) {
3921
4226
  let color = $.prop($$props, "color", 8);
3922
- var svg = root$23();
4227
+ var svg = root$26();
3923
4228
  var path = $.child(svg);
3924
4229
  $.reset(svg);
3925
4230
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3928,10 +4233,10 @@ function IconEnvelope($$anchor, $$props) {
3928
4233
 
3929
4234
  //#endregion
3930
4235
  //#region src/components-flex/icon/variants/IconGift.svelte
3931
- var root$22 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"></path></svg>`);
4236
+ var root$25 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"></path></svg>`);
3932
4237
  function IconGift($$anchor, $$props) {
3933
4238
  let color = $.prop($$props, "color", 8);
3934
- var svg = root$22();
4239
+ var svg = root$25();
3935
4240
  var path = $.child(svg);
3936
4241
  $.reset(svg);
3937
4242
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3940,10 +4245,10 @@ function IconGift($$anchor, $$props) {
3940
4245
 
3941
4246
  //#endregion
3942
4247
  //#region src/components-flex/icon/variants/IconPaperclip.svelte
3943
- var root$21 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 448 512"><path d="M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"></path></svg>`);
4248
+ var root$24 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 448 512"><path d="M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"></path></svg>`);
3944
4249
  function IconPaperclip($$anchor, $$props) {
3945
4250
  let color = $.prop($$props, "color", 8);
3946
- var svg = root$21();
4251
+ var svg = root$24();
3947
4252
  var path = $.child(svg);
3948
4253
  $.reset(svg);
3949
4254
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3952,10 +4257,10 @@ function IconPaperclip($$anchor, $$props) {
3952
4257
 
3953
4258
  //#endregion
3954
4259
  //#region src/components-flex/icon/variants/IconFire.svelte
3955
- var root$20 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 448 512"><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"></path></svg>`);
4260
+ var root$23 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 448 512"><path d="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z"></path></svg>`);
3956
4261
  function IconFire($$anchor, $$props) {
3957
4262
  let color = $.prop($$props, "color", 8);
3958
- var svg = root$20();
4263
+ var svg = root$23();
3959
4264
  var path = $.child(svg);
3960
4265
  $.reset(svg);
3961
4266
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3964,10 +4269,10 @@ function IconFire($$anchor, $$props) {
3964
4269
 
3965
4270
  //#endregion
3966
4271
  //#region src/components-flex/icon/variants/IconLink.svelte
3967
- var root$19 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 640 512"><path d="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"></path></svg>`);
4272
+ var root$22 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 640 512"><path d="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"></path></svg>`);
3968
4273
  function IconLink($$anchor, $$props) {
3969
4274
  let color = $.prop($$props, "color", 8);
3970
- var svg = root$19();
4275
+ var svg = root$22();
3971
4276
  var path = $.child(svg);
3972
4277
  $.reset(svg);
3973
4278
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3976,10 +4281,10 @@ function IconLink($$anchor, $$props) {
3976
4281
 
3977
4282
  //#endregion
3978
4283
  //#region src/components-flex/icon/variants/IconBuildings.svelte
3979
- var root$18 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 512 512"><path d="M256 0c-35.3 0-64 28.7-64 64l0 64L64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0 192 0c35.3 0 64-28.7 64-64l0-256 0-128c0-35.3-28.7-64-64-64L256 0zM64 304c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm208 16c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0zm112-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zM80 192l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM400 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 208l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm144 16c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0z"></path></svg>`);
4284
+ var root$21 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 512 512"><path d="M256 0c-35.3 0-64 28.7-64 64l0 64L64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0 192 0c35.3 0 64-28.7 64-64l0-256 0-128c0-35.3-28.7-64-64-64L256 0zM64 304c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm208 16c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0zm112-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zM80 192l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM400 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 208l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm144 16c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0z"></path></svg>`);
3980
4285
  function IconBuildings($$anchor, $$props) {
3981
4286
  let color = $.prop($$props, "color", 8);
3982
- var svg = root$18();
4287
+ var svg = root$21();
3983
4288
  var path = $.child(svg);
3984
4289
  $.reset(svg);
3985
4290
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3988,10 +4293,10 @@ function IconBuildings($$anchor, $$props) {
3988
4293
 
3989
4294
  //#endregion
3990
4295
  //#region src/components-flex/icon/variants/IconChevronsRight.svelte
3991
- var root$17 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-192-192c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 233.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l192-192zm-384 192l192-192c12.5-12.5 12.5-32.8 0-45.3l-192-192c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 41.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"></path></svg>`);
4296
+ var root$20 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-192-192c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 233.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l192-192zm-384 192l192-192c12.5-12.5 12.5-32.8 0-45.3l-192-192c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 41.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"></path></svg>`);
3992
4297
  function IconChevronsRight($$anchor, $$props) {
3993
4298
  let color = $.prop($$props, "color", 8);
3994
- var svg = root$17();
4299
+ var svg = root$20();
3995
4300
  var path = $.child(svg);
3996
4301
  $.reset(svg);
3997
4302
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -4000,10 +4305,10 @@ function IconChevronsRight($$anchor, $$props) {
4000
4305
 
4001
4306
  //#endregion
4002
4307
  //#region src/components-flex/icon/variants/IconChevronRight.svelte
4003
- var root$16 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 320 512"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"></path></svg>`);
4308
+ var root$19 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%; height: 100%;" viewBox="0 0 320 512"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"></path></svg>`);
4004
4309
  function IconChevronRight($$anchor, $$props) {
4005
4310
  let color = $.prop($$props, "color", 8);
4006
- var svg = root$16();
4311
+ var svg = root$19();
4007
4312
  var path = $.child(svg);
4008
4313
  $.reset(svg);
4009
4314
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -4012,10 +4317,10 @@ function IconChevronRight($$anchor, $$props) {
4012
4317
 
4013
4318
  //#endregion
4014
4319
  //#region src/components-flex/icon/variants/IconPhone.svelte
4015
- var root$15 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"></path></svg>`);
4320
+ var root$18 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 512 512"><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"></path></svg>`);
4016
4321
  function IconPhone($$anchor, $$props) {
4017
4322
  let color = $.prop($$props, "color", 8);
4018
- var svg = root$15();
4323
+ var svg = root$18();
4019
4324
  var path = $.child(svg);
4020
4325
  $.reset(svg);
4021
4326
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -4024,10 +4329,10 @@ function IconPhone($$anchor, $$props) {
4024
4329
 
4025
4330
  //#endregion
4026
4331
  //#region src/components-flex/icon/variants/IconLocationDot.svelte
4027
- var root$14 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"></path></svg>`);
4332
+ var root$17 = $.ns_template(`<svg xmlns="http://www.w3.org/2000/svg" style="width: 100%;height: 100%;" viewBox="0 0 384 512"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"></path></svg>`);
4028
4333
  function IconLocationDot($$anchor, $$props) {
4029
4334
  let color = $.prop($$props, "color", 8);
4030
- var svg = root$14();
4335
+ var svg = root$17();
4031
4336
  var path = $.child(svg);
4032
4337
  $.reset(svg);
4033
4338
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -4102,13 +4407,13 @@ const ICON_VARIANTS = {
4102
4407
 
4103
4408
  //#endregion
4104
4409
  //#region src/components-flex/icon/Icon.svelte
4105
- const $$css$21 = {
4410
+ const $$css$29 = {
4106
4411
  hash: "svelte-1kl9m59",
4107
4412
  code: ".icon.svelte-1kl9m59 {display:flex;align-items:center;overflow:hidden;width:auto;cursor:pointer;text-decoration:none;border:0;background:none;padding:0;margin:0;text-align:left;-webkit-appearance:none;}"
4108
4413
  };
4109
4414
  function Icon($$anchor, $$props) {
4110
4415
  $.push($$props, false);
4111
- $.append_styles($$anchor, $$css$21);
4416
+ $.append_styles($$anchor, $$css$29);
4112
4417
  const style = $.mutable_state();
4113
4418
  const IconComponent = $.mutable_state();
4114
4419
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4137,12 +4442,13 @@ function Icon($$anchor, $$props) {
4137
4442
  var node = $.first_child(fragment);
4138
4443
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4139
4444
  let attributes_1;
4140
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
4445
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4141
4446
  ...attributes,
4142
- class: "icon",
4447
+ id: props().id,
4448
+ class: $0,
4143
4449
  style: $.get(style),
4144
4450
  "data-layer-id": layerId()
4145
- }, "svelte-1kl9m59"));
4451
+ }, "svelte-1kl9m59"), [() => ["icon", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4146
4452
  $.event("click", $$element, handleClick);
4147
4453
  var fragment_1 = $.comment();
4148
4454
  var node_1 = $.first_child(fragment_1);
@@ -4327,15 +4633,15 @@ function darkenColor(color, percent) {
4327
4633
 
4328
4634
  //#endregion
4329
4635
  //#region src/components-flex/button/Button.svelte
4330
- var root_2$4 = $.template(`<div class="button-icon svelte-l0rauj"><!></div>`);
4331
- var root_1$7 = $.template(`<!> <span class="button-label"> </span>`, 1);
4332
- const $$css$20 = {
4636
+ var root_2$8 = $.template(`<div class="button-icon svelte-l0rauj"><!></div>`);
4637
+ var root_1$13 = $.template(`<!> <span class="button-label"> </span>`, 1);
4638
+ const $$css$28 = {
4333
4639
  hash: "svelte-l0rauj",
4334
4640
  code: ".button.svelte-l0rauj {display:inline-flex;gap:0.8em;align-items:center;justify-content:center;text-decoration:none;outline:0;border-width:1px;border-style:solid;line-height:1.5;transition:background-color 0.12s,\n border-color 0.12s,\n color 0.12s;cursor:pointer;color:var(--color);border-color:var(--border-color);background-color:var(--bg-color);}.button.svelte-l0rauj:hover {background-color:var(--hover-bg-color);border-color:var(--hover-border-color);}.button-icon.svelte-l0rauj {display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em;}"
4335
4641
  };
4336
4642
  function Button($$anchor, $$props) {
4337
4643
  $.push($$props, false);
4338
- $.append_styles($$anchor, $$css$20);
4644
+ $.append_styles($$anchor, $$css$28);
4339
4645
  const variables$1 = $.mutable_state();
4340
4646
  const style = $.mutable_state();
4341
4647
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4409,19 +4715,20 @@ function Button($$anchor, $$props) {
4409
4715
  var node = $.first_child(fragment);
4410
4716
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4411
4717
  let attributes_1;
4412
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
4718
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4413
4719
  ...attributes,
4414
- class: "button",
4720
+ id: props().id,
4721
+ class: $0,
4415
4722
  style: $.get(style),
4416
4723
  "data-layer-id": layerId(),
4417
4724
  "data-variant": variant
4418
- }, "svelte-l0rauj"));
4725
+ }, "svelte-l0rauj"), [() => ["button", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4419
4726
  $.event("click", $$element, handleClick);
4420
- var fragment_1 = root_1$7();
4727
+ var fragment_1 = root_1$13();
4421
4728
  var node_1 = $.first_child(fragment_1);
4422
4729
  {
4423
4730
  var consequent = ($$anchor$2) => {
4424
- var div = root_2$4();
4731
+ var div = root_2$8();
4425
4732
  var node_2 = $.child(div);
4426
4733
  const expression = $.derived_safe_equal(() => ({
4427
4734
  variant: props().iconVariant,
@@ -4544,15 +4851,15 @@ const BUTTON_OUTLINED_WRAP_STYLES = {
4544
4851
 
4545
4852
  //#endregion
4546
4853
  //#region src/components-flex/button-outlined/ButtonOutlined.svelte
4547
- var root_2$3 = $.template(`<div class="button-outlined-icon svelte-z8gomx"><!></div>`);
4548
- var root_1$6 = $.template(`<!> <span class="button-outlined-label svelte-z8gomx"> </span>`, 1);
4549
- const $$css$19 = {
4854
+ var root_2$7 = $.template(`<div class="button-outlined-icon svelte-z8gomx"><!></div>`);
4855
+ var root_1$12 = $.template(`<!> <span class="button-outlined-label svelte-z8gomx"> </span>`, 1);
4856
+ const $$css$27 = {
4550
4857
  hash: "svelte-z8gomx",
4551
4858
  code: ".button-outlined.svelte-z8gomx {display:inline-flex;gap:0.65em;align-items:center;justify-content:center;text-decoration:none;outline:0;border-width:1px;border-style:solid;line-height:1.5;transition:background-color 0.12s,\n border-color 0.12s,\n color 0.12s;cursor:pointer;background-color:var(--bg-color);}.button-outlined.svelte-z8gomx:hover {background-color:var(--hover-bg-color);}.button-outlined-icon.svelte-z8gomx {display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em;margin-bottom:0.1em;}"
4552
4859
  };
4553
4860
  function ButtonOutlined($$anchor, $$props) {
4554
4861
  $.push($$props, false);
4555
- $.append_styles($$anchor, $$css$19);
4862
+ $.append_styles($$anchor, $$css$27);
4556
4863
  const variables$1 = $.mutable_state();
4557
4864
  const style = $.mutable_state();
4558
4865
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4601,11 +4908,11 @@ function ButtonOutlined($$anchor, $$props) {
4601
4908
  "data-layer-id": layerId()
4602
4909
  }, "svelte-z8gomx"));
4603
4910
  $.event("click", $$element, handleClick);
4604
- var fragment_1 = root_1$6();
4911
+ var fragment_1 = root_1$12();
4605
4912
  var node_1 = $.first_child(fragment_1);
4606
4913
  {
4607
4914
  var consequent = ($$anchor$2) => {
4608
- var div = root_2$3();
4915
+ var div = root_2$7();
4609
4916
  var node_2 = $.child(div);
4610
4917
  const expression = $.derived_safe_equal(() => ({
4611
4918
  variant: props().iconVariant,
@@ -4693,15 +5000,15 @@ const getButtonTextThemeStyles = getPropStyles(callback$2);
4693
5000
 
4694
5001
  //#endregion
4695
5002
  //#region src/components-flex/button-text/ButtonText.svelte
4696
- var root_2$2 = $.template(`<div class="button-text-icon svelte-l90o4j"><!></div>`);
4697
- var root_1$5 = $.template(`<!> <span class="button-text-label svelte-l90o4j"> </span>`, 1);
4698
- const $$css$18 = {
5003
+ var root_2$6 = $.template(`<div class="button-text-icon svelte-l90o4j"><!></div>`);
5004
+ var root_1$11 = $.template(`<!> <span class="button-text-label svelte-l90o4j"> </span>`, 1);
5005
+ const $$css$26 = {
4699
5006
  hash: "svelte-l90o4j",
4700
5007
  code: ".button-text.svelte-l90o4j {display:inline-flex;gap:0.65em;align-items:center;justify-content:center;text-decoration:none;outline:0;border:0;line-height:1.5;transition:background-color 0.12s,\n border-color 0.12s,\n color 0.12s;cursor:pointer;background-color:rgba(255, 255, 255, 0);}.button-text.svelte-l90o4j:hover {background-color:var(--hover-bg-color);}.button-text-icon.svelte-l90o4j {display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em;}"
4701
5008
  };
4702
5009
  function ButtonText($$anchor, $$props) {
4703
5010
  $.push($$props, false);
4704
- $.append_styles($$anchor, $$css$18);
5011
+ $.append_styles($$anchor, $$css$26);
4705
5012
  const variables$1 = $.mutable_state();
4706
5013
  const style = $.mutable_state();
4707
5014
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4744,11 +5051,11 @@ function ButtonText($$anchor, $$props) {
4744
5051
  "data-layer-id": layerId()
4745
5052
  }, "svelte-l90o4j"));
4746
5053
  $.event("click", $$element, handleClick);
4747
- var fragment_1 = root_1$5();
5054
+ var fragment_1 = root_1$11();
4748
5055
  var node_1 = $.first_child(fragment_1);
4749
5056
  {
4750
5057
  var consequent = ($$anchor$2) => {
4751
- var div = root_2$2();
5058
+ var div = root_2$6();
4752
5059
  var node_2 = $.child(div);
4753
5060
  const expression = $.derived_safe_equal(() => ({
4754
5061
  variant: props().iconVariant,
@@ -4810,15 +5117,15 @@ const getTextThemeStyles = getPropStyles(callback$1);
4810
5117
 
4811
5118
  //#endregion
4812
5119
  //#region src/components-flex/close-button/CloseButton.svelte
4813
- var root_2$1 = $.template(`<span></span>`);
4814
- var root_1$4 = $.template(`<span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" style="width: 100%; height: 100%;" class="svelte-18wmfyq"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"></path></svg></span> <!>`, 1);
4815
- const $$css$17 = {
5120
+ var root_2$5 = $.template(`<span></span>`);
5121
+ var root_1$10 = $.template(`<span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" style="width: 100%; height: 100%;" class="svelte-18wmfyq"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"></path></svg></span> <!>`, 1);
5122
+ const $$css$25 = {
4816
5123
  hash: "svelte-18wmfyq",
4817
5124
  code: ".close-button.svelte-18wmfyq {display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:8px;border-radius:100%;background:none;cursor:pointer;border:0;outline:0;flex-shrink:0;transition:background-color 0.12s,\n border-color 0.12s,\n color 0.12s;}.close-button.svelte-18wmfyq svg:where(.svelte-18wmfyq) {transition:transform 0.12s;}.close-button.svelte-18wmfyq:hover svg:where(.svelte-18wmfyq) {transform:rotate(90deg);}.close-button-order-one.svelte-18wmfyq {order:1;}.close-button-order-two.svelte-18wmfyq {order:2;}"
4818
5125
  };
4819
5126
  function CloseButton($$anchor, $$props) {
4820
5127
  $.push($$props, false);
4821
- $.append_styles($$anchor, $$css$17);
5128
+ $.append_styles($$anchor, $$css$25);
4822
5129
  const hasLabel = $.mutable_state();
4823
5130
  const styleObj = $.mutable_state();
4824
5131
  const style = $.mutable_state();
@@ -4832,7 +5139,7 @@ function CloseButton($$anchor, $$props) {
4832
5139
  let eventValue = $.prop($$props, "eventValue", 8, void 0);
4833
5140
  const { brandKit } = useBrandKit();
4834
5141
  useInjectCustomizeCss(props());
4835
- const { attributes, element, handleClick } = useClickable_default({
5142
+ const { attributes, element, handleClick } = useClickable_default(props().onClick ? props() : {
4836
5143
  onClick: {
4837
5144
  operation: "closeApp",
4838
5145
  args: ["button"]
@@ -4922,14 +5229,15 @@ function CloseButton($$anchor, $$props) {
4922
5229
  var node = $.first_child(fragment);
4923
5230
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4924
5231
  let attributes_1;
4925
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5232
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4926
5233
  ...attributes,
4927
- class: `close-button ${isLeftLabelPlacement ? "close-button-order-two" : ""}`,
5234
+ id: props().id,
5235
+ class: $0,
4928
5236
  "data-layer-id": layerId(),
4929
5237
  style: $.get(style)
4930
- }, "svelte-18wmfyq"));
5238
+ }, "svelte-18wmfyq"), [() => [`close-button ${isLeftLabelPlacement ? "close-button-order-two" : ""}`, ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4931
5239
  $.event("click", $$element, handleClick);
4932
- var fragment_1 = root_1$4();
5240
+ var fragment_1 = root_1$10();
4933
5241
  var span = $.first_child(fragment_1);
4934
5242
  var svg = $.child(span);
4935
5243
  $.set_attribute(svg, "fill", color);
@@ -4937,7 +5245,7 @@ function CloseButton($$anchor, $$props) {
4937
5245
  var node_1 = $.sibling(span, 2);
4938
5246
  {
4939
5247
  var consequent = ($$anchor$2) => {
4940
- var span_1 = root_2$1();
5248
+ var span_1 = root_2$5();
4941
5249
  $.set_class(span_1, 1, `close-button-label ${isLeftLabelPlacement ? "close-button-order-one" : ""}`, "svelte-18wmfyq");
4942
5250
  span_1.textContent = label;
4943
5251
  $.template_effect(() => $.set_style(span_1, $.get(labelStyle)));
@@ -5030,14 +5338,14 @@ const IMAGE_ROUND_STYLES = {
5030
5338
 
5031
5339
  //#endregion
5032
5340
  //#region src/components-flex/image/Image.svelte
5033
- var root_1$3 = $.template(`<img class="image-img svelte-1olvu11">`);
5034
- const $$css$16 = {
5341
+ var root_1$9 = $.template(`<img class="image-img svelte-1olvu11">`);
5342
+ const $$css$24 = {
5035
5343
  hash: "svelte-1olvu11",
5036
5344
  code: ".image.svelte-1olvu11 {max-width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:0;background:none;padding:0;margin:0;text-align:left;-webkit-appearance:none;}.image-img.svelte-1olvu11 {vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none;}"
5037
5345
  };
5038
5346
  function Image($$anchor, $$props) {
5039
5347
  $.push($$props, false);
5040
- $.append_styles($$anchor, $$css$16);
5348
+ $.append_styles($$anchor, $$css$24);
5041
5349
  const styleObj = $.mutable_state();
5042
5350
  const style = $.mutable_state();
5043
5351
  const imgStyle = $.mutable_state();
@@ -5082,14 +5390,15 @@ function Image($$anchor, $$props) {
5082
5390
  var node = $.first_child(fragment);
5083
5391
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5084
5392
  let attributes_1;
5085
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5393
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5086
5394
  ...attributes,
5087
- class: "image",
5395
+ id: props().id,
5396
+ class: $0,
5088
5397
  style: $.get(style),
5089
5398
  "data-layer-id": layerId()
5090
- }, "svelte-1olvu11"));
5399
+ }, "svelte-1olvu11"), [() => ["image", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5091
5400
  $.event("click", $$element, handleClick);
5092
- var img = root_1$3();
5401
+ var img = root_1$9();
5093
5402
  $.template_effect(() => {
5094
5403
  $.set_attribute(img, "src", props().image);
5095
5404
  $.set_attribute(img, "alt", props().alt);
@@ -5123,13 +5432,13 @@ const IMAGE_ASPECT_VARIANTS = {
5123
5432
 
5124
5433
  //#endregion
5125
5434
  //#region src/components-flex/layout/Layout.svelte
5126
- const $$css$15 = {
5435
+ const $$css$23 = {
5127
5436
  hash: "svelte-1o103hp",
5128
5437
  code: ".layout.svelte-1o103hp {text-decoration:none;color:inherit;}.layout[data-clickable='true'].svelte-1o103hp {cursor:pointer;}.layout[data-clickable='true'].svelte-1o103hp:hover {opacity:0.8;}"
5129
5438
  };
5130
5439
  function Layout($$anchor, $$props) {
5131
5440
  $.push($$props, false);
5132
- $.append_styles($$anchor, $$css$15);
5441
+ $.append_styles($$anchor, $$css$23);
5133
5442
  const style = $.mutable_state();
5134
5443
  let props = $.prop($$props, "props", 24, () => ({}));
5135
5444
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -5145,6 +5454,7 @@ function Layout($$anchor, $$props) {
5145
5454
  rowGap: props().rowGap ?? props().gap,
5146
5455
  columnGap: props().columnGap ?? props().gap,
5147
5456
  width: props().width,
5457
+ maxWidth: props().maxWidth,
5148
5458
  height: props().height,
5149
5459
  ...toCssOverflow(props()),
5150
5460
  ...toCssShadow(props()),
@@ -5161,12 +5471,13 @@ function Layout($$anchor, $$props) {
5161
5471
  var node = $.first_child(fragment);
5162
5472
  $.element(node, () => "div", false, ($$element, $$anchor$1) => {
5163
5473
  let attributes_1;
5164
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5474
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5165
5475
  ...attributes,
5166
- class: "layout",
5476
+ id: props().id,
5477
+ class: $0,
5167
5478
  style: $.get(style),
5168
5479
  "data-layer-id": layerId()
5169
- }, "svelte-1o103hp"));
5480
+ }, "svelte-1o103hp"), [() => ["layout", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5170
5481
  $.event("click", $$element, handleClick);
5171
5482
  var fragment_1 = $.comment();
5172
5483
  var node_1 = $.first_child(fragment_1);
@@ -5205,15 +5516,15 @@ const LAYOUT_JUSTIFY = [
5205
5516
 
5206
5517
  //#endregion
5207
5518
  //#region src/components-flex/slider/Slider.svelte
5208
- var root_1$2 = $.template(`<button><i></i></button>`);
5209
- var root$13 = $.template(`<div class="slider svelte-wwv1o"><div class="slider-container svelte-wwv1o"><ul class="slider-list svelte-wwv1o"><!></ul></div> <div></div></div>`);
5210
- const $$css$14 = {
5519
+ var root_1$8 = $.template(`<button><i></i></button>`);
5520
+ var root$16 = $.template(`<div><div class="slider-container svelte-wwv1o"><ul class="slider-list svelte-wwv1o"><!></ul></div> <div></div></div>`);
5521
+ const $$css$22 = {
5211
5522
  hash: "svelte-wwv1o",
5212
5523
  code: ".slider.svelte-wwv1o {width:100%;overflow:hidden;overscroll-behavior:contain;touch-action:pan-y;}.slider-container.svelte-wwv1o {width:100%;overflow:hidden;overscroll-behavior:contain;touch-action:pan-y;}.slider-list.svelte-wwv1o {-webkit-user-drag:none;margin:0;padding:0;list-style:none;will-change:transform;}"
5213
5524
  };
5214
5525
  function Slider($$anchor, $$props) {
5215
5526
  $.push($$props, false);
5216
- $.append_styles($$anchor, $$css$14);
5527
+ $.append_styles($$anchor, $$css$22);
5217
5528
  const indicators = $.mutable_state();
5218
5529
  const itemWidthPercentage = $.mutable_state();
5219
5530
  const baseContainerStyle = $.mutable_state();
@@ -5376,7 +5687,7 @@ function Slider($$anchor, $$props) {
5376
5687
  });
5377
5688
  $.legacy_pre_effect_reset();
5378
5689
  $.init();
5379
- var div = root$13();
5690
+ var div = root$16();
5380
5691
  var div_1 = $.child(div);
5381
5692
  var ul = $.child(div_1);
5382
5693
  var node = $.child(ul);
@@ -5387,7 +5698,7 @@ function Slider($$anchor, $$props) {
5387
5698
  $.bind_this(div_1, ($$value) => $.set(containerElement, $$value), () => $.get(containerElement));
5388
5699
  var div_2 = $.sibling(div_1, 2);
5389
5700
  $.each(div_2, 5, () => $.get(indicators) ?? [], $.index, ($$anchor$1, indicator, i) => {
5390
- var button = root_1$2();
5701
+ var button = root_1$8();
5391
5702
  var i_1 = $.child(button);
5392
5703
  $.reset(button);
5393
5704
  $.template_effect(($0, $1) => {
@@ -5406,11 +5717,13 @@ function Slider($$anchor, $$props) {
5406
5717
  });
5407
5718
  $.reset(div_2);
5408
5719
  $.reset(div);
5409
- $.template_effect(($0) => {
5720
+ $.template_effect(($0, $1) => {
5721
+ $.set_attribute(div, "id", props().id);
5722
+ $.set_class(div, 1, $0, "svelte-wwv1o");
5410
5723
  $.set_attribute(div, "data-layer-id", layerId());
5411
- $.set_style(ul, $0);
5724
+ $.set_style(ul, $1);
5412
5725
  $.set_style(div_2, $.get(indicatorListStyle));
5413
- }, [() => [$.get(containerStyle), overrideStyle()].join(" ")], $.derived_safe_equal);
5726
+ }, [() => $.clsx(["slider", ...props().classNames ?? []].join(" ")), () => [$.get(containerStyle), overrideStyle()].join(" ")], $.derived_safe_equal);
5414
5727
  $.event("mousedown", div_1, handleMousedown);
5415
5728
  $.event("touchstart", div_1, handleTouchstart);
5416
5729
  $.append($$anchor, div);
@@ -5419,20 +5732,20 @@ function Slider($$anchor, $$props) {
5419
5732
 
5420
5733
  //#endregion
5421
5734
  //#region src/components-flex/slider/SliderItem.svelte
5422
- var root$12 = $.template(`<li class="slider-item svelte-1m93md9"><!></li>`);
5423
- const $$css$13 = {
5735
+ var root$15 = $.template(`<li><!></li>`);
5736
+ const $$css$21 = {
5424
5737
  hash: "svelte-1m93md9",
5425
5738
  code: ".slider-item.svelte-1m93md9 {overflow:hidden;}.slider-item-inner.svelte-1m93md9 {text-decoration:none;border:0;background:none;padding:0;margin:0;text-align:left;-webkit-appearance:none;text-align:left;color:inherit;-webkit-user-drag:none;user-select:none;}"
5426
5739
  };
5427
5740
  function SliderItem($$anchor, $$props) {
5428
5741
  $.push($$props, false);
5429
- $.append_styles($$anchor, $$css$13);
5742
+ $.append_styles($$anchor, $$css$21);
5430
5743
  let layerId = $.prop($$props, "layerId", 8);
5431
5744
  let props = $.prop($$props, "props", 8);
5432
5745
  useInjectCustomizeCss(props());
5433
5746
  const { attributes, element, handleClick } = useClickable_default(props());
5434
5747
  $.init();
5435
- var li = root$12();
5748
+ var li = root$15();
5436
5749
  var node = $.child(li);
5437
5750
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5438
5751
  let attributes_1;
@@ -5447,7 +5760,11 @@ function SliderItem($$anchor, $$props) {
5447
5760
  $.append($$anchor$1, fragment);
5448
5761
  });
5449
5762
  $.reset(li);
5450
- $.template_effect(() => $.set_attribute(li, "data-layer-id", layerId()));
5763
+ $.template_effect(($0) => {
5764
+ $.set_attribute(li, "data-layer-id", layerId());
5765
+ $.set_attribute(li, "id", props().id);
5766
+ $.set_class(li, 1, $0, "svelte-1m93md9");
5767
+ }, [() => $.clsx(["slider-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5451
5768
  $.append($$anchor, li);
5452
5769
  $.pop();
5453
5770
  }
@@ -5494,14 +5811,14 @@ const TEXT_VARIANTS = { size: {
5494
5811
 
5495
5812
  //#endregion
5496
5813
  //#region src/components-flex/text/Text.svelte
5497
- var root$11 = $.template(`<p class="text svelte-vifn7y"><!></p>`);
5498
- const $$css$12 = {
5814
+ var root$14 = $.template(`<p><!></p>`);
5815
+ const $$css$20 = {
5499
5816
  hash: "svelte-vifn7y",
5500
5817
  code: ".text.svelte-vifn7y {margin:0;word-break:break-all;text-decoration:none;}"
5501
5818
  };
5502
5819
  function Text($$anchor, $$props) {
5503
5820
  $.push($$props, false);
5504
- $.append_styles($$anchor, $$css$12);
5821
+ $.append_styles($$anchor, $$css$20);
5505
5822
  const escapedHTML = $.mutable_state();
5506
5823
  const style = $.mutable_state();
5507
5824
  let props = $.prop($$props, "props", 24, () => ({ content: "" }));
@@ -5576,28 +5893,30 @@ function Text($$anchor, $$props) {
5576
5893
  });
5577
5894
  $.legacy_pre_effect_reset();
5578
5895
  $.init();
5579
- var p = root$11();
5896
+ var p = root$14();
5580
5897
  var node = $.child(p);
5581
5898
  $.html(node, () => $.get(escapedHTML), false, false);
5582
5899
  $.reset(p);
5583
- $.template_effect(() => {
5900
+ $.template_effect(($0) => {
5901
+ $.set_class(p, 1, $0, "svelte-vifn7y");
5902
+ $.set_attribute(p, "id", props().id);
5584
5903
  $.set_attribute(p, "data-layer-id", layerId());
5585
5904
  $.set_style(p, $.get(style));
5586
- });
5905
+ }, [() => $.clsx(["text", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5587
5906
  $.append($$anchor, p);
5588
5907
  $.pop();
5589
5908
  }
5590
5909
 
5591
5910
  //#endregion
5592
5911
  //#region src/components-flex/rich-text/RichText.svelte
5593
- var root$10 = $.template(`<div class="rich-text svelte-dxr423"><!></div>`);
5594
- const $$css$11 = {
5912
+ var root$13 = $.template(`<div><!></div>`);
5913
+ const $$css$19 = {
5595
5914
  hash: "svelte-dxr423",
5596
5915
  code: ".rich-text.svelte-dxr423 p {margin:0;word-break:break-all;text-decoration:none;}.rich-text.svelte-dxr423 p + p {margin-top:0.75em;}"
5597
5916
  };
5598
5917
  function RichText($$anchor, $$props) {
5599
5918
  $.push($$props, false);
5600
- $.append_styles($$anchor, $$css$11);
5919
+ $.append_styles($$anchor, $$css$19);
5601
5920
  const style = $.mutable_state();
5602
5921
  let props = $.prop($$props, "props", 24, () => ({ content: "" }));
5603
5922
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -5648,14 +5967,16 @@ function RichText($$anchor, $$props) {
5648
5967
  });
5649
5968
  $.legacy_pre_effect_reset();
5650
5969
  $.init();
5651
- var div = root$10();
5970
+ var div = root$13();
5652
5971
  var node = $.child(div);
5653
5972
  $.html(node, () => props().content, false, false);
5654
5973
  $.reset(div);
5655
- $.template_effect(() => {
5974
+ $.template_effect(($0) => {
5975
+ $.set_attribute(div, "id", props().id);
5976
+ $.set_class(div, 1, $0, "svelte-dxr423");
5656
5977
  $.set_style(div, $.get(style));
5657
5978
  $.set_attribute(div, "data-layer-id", layerId());
5658
- });
5979
+ }, [() => $.clsx(["rich-text", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5659
5980
  $.append($$anchor, div);
5660
5981
  $.pop();
5661
5982
  }
@@ -5714,14 +6035,14 @@ const getTextLinkThemeStyles = getPropStyles(callback);
5714
6035
 
5715
6036
  //#endregion
5716
6037
  //#region src/components-flex/text-link/TextLink.svelte
5717
- var root_1$1 = $.template(`<!> <span><!></span>`, 1);
5718
- const $$css$10 = {
6038
+ var root_1$7 = $.template(`<!> <span><!></span>`, 1);
6039
+ const $$css$18 = {
5719
6040
  hash: "svelte-dc9m5n",
5720
6041
  code: ".link.svelte-dc9m5n {-webkit-appearance:none;border:0;background:none;padding:0;display:inline-flex;}.link.svelte-dc9m5n,\n .link.svelte-dc9m5n:visited,\n .link.svelte-dc9m5n:link {color:var(--color);}.link.svelte-dc9m5n:hover {color:var(--hover-color);}.link.svelte-dc9m5n:active {color:var(--active-color);}.link.underline-hover-on.svelte-dc9m5n {text-decoration:none;}.link.underline-hover-on.svelte-dc9m5n:hover {text-decoration:underline;}.link.underline-hover-off.svelte-dc9m5n {text-decoration:underline;}.link.underline-hover-off.svelte-dc9m5n:hover {text-decoration:none;}.link.underline-on.svelte-dc9m5n {text-decoration:underline;}.link.underline-off.svelte-dc9m5n {text-decoration:none;}"
5721
6042
  };
5722
6043
  function TextLink($$anchor, $$props) {
5723
6044
  $.push($$props, false);
5724
- $.append_styles($$anchor, $$css$10);
6045
+ $.append_styles($$anchor, $$css$18);
5725
6046
  const escapedHTML = $.mutable_state();
5726
6047
  const variables$1 = $.mutable_state();
5727
6048
  const style = $.mutable_state();
@@ -5780,14 +6101,15 @@ function TextLink($$anchor, $$props) {
5780
6101
  var node = $.first_child(fragment);
5781
6102
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5782
6103
  let attributes_1;
5783
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
6104
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5784
6105
  ...attributes,
5785
- class: `link ${underlineClass}`,
6106
+ id: props().id,
6107
+ class: $0,
5786
6108
  style: $.get(style),
5787
6109
  "data-layer-id": layerId()
5788
- }, "svelte-dc9m5n"));
6110
+ }, "svelte-dc9m5n"), [() => [`link ${underlineClass}`, ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5789
6111
  $.event("click", $$element, handleClick);
5790
- var fragment_1 = root_1$1();
6112
+ var fragment_1 = root_1$7();
5791
6113
  var node_1 = $.first_child(fragment_1);
5792
6114
  {
5793
6115
  var consequent = ($$anchor$2) => {
@@ -5839,14 +6161,14 @@ const TEXT_LINK_UNDERLINE = {
5839
6161
 
5840
6162
  //#endregion
5841
6163
  //#region src/components-flex/background-overlay/BackgroundOverlay.svelte
5842
- var root_1 = $.template(`<div></div>`);
5843
- const $$css$9 = {
6164
+ var root_1$6 = $.template(`<div></div>`);
6165
+ const $$css$17 = {
5844
6166
  hash: "svelte-18nkdjz",
5845
6167
  code: ".v2-background.svelte-18nkdjz {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646;}"
5846
6168
  };
5847
6169
  function BackgroundOverlay($$anchor, $$props) {
5848
6170
  $.push($$props, false);
5849
- $.append_styles($$anchor, $$css$9);
6171
+ $.append_styles($$anchor, $$css$17);
5850
6172
  let backgroundOverlay = $.prop($$props, "backgroundOverlay", 8, false);
5851
6173
  let className = $.prop($$props, "class", 8, void 0);
5852
6174
  const dispatch = createEventDispatcher();
@@ -5855,7 +6177,7 @@ function BackgroundOverlay($$anchor, $$props) {
5855
6177
  var node = $.first_child(fragment);
5856
6178
  {
5857
6179
  var consequent = ($$anchor$1) => {
5858
- var div = root_1();
6180
+ var div = root_1$6();
5859
6181
  $.template_effect(($0) => $.set_class(div, 1, $0, "svelte-18nkdjz"), [() => $.clsx(["v2-background", className() || ""].join(" "))], $.derived_safe_equal);
5860
6182
  $.event("click", div, () => dispatch("click"));
5861
6183
  $.append($$anchor$1, div);
@@ -5870,16 +6192,16 @@ function BackgroundOverlay($$anchor, $$props) {
5870
6192
 
5871
6193
  //#endregion
5872
6194
  //#region src/components-flex/modal/Modal.svelte
5873
- var root_2 = $.template(`<!> <!>`, 1);
6195
+ var root_2$4 = $.template(`<!> <!>`, 1);
5874
6196
  var root_4 = $.template(`<div role="dialog" aria-modal="true"><!></div>`);
5875
- var root$9 = $.template(`<!> <!>`, 1);
5876
- const $$css$8 = {
6197
+ var root$12 = $.template(`<!> <!>`, 1);
6198
+ const $$css$16 = {
5877
6199
  hash: "svelte-45ue06",
5878
6200
  code: "* {box-sizing:border-box;}.modal.svelte-45ue06 {position:fixed;z-index:2147483647;display:flex;}.modal.svelte-45ue06 > .button {flex:auto;display:flex;}\n /* PC */\n @media screen and (min-width: 641px) {.modal-bp.svelte-45ue06 {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);margin:var(--modal-bp-margin-pc) !important;}.background-bp-pc {display:block;}.background-bp-sp {display:none;}\n }\n\n /* SP */\n @media screen and (max-width: 640px) {.modal-bp.svelte-45ue06 {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);margin:var(--modal-bp-margin-sp) !important;}.background-bp-pc {display:none;}.background-bp-sp {display:block;}\n }"
5879
6201
  };
5880
6202
  function Modal($$anchor, $$props) {
5881
6203
  $.push($$props, false);
5882
- $.append_styles($$anchor, $$css$8);
6204
+ $.append_styles($$anchor, $$css$16);
5883
6205
  const close$1 = $.mutable_state();
5884
6206
  const backgroundClick = $.mutable_state();
5885
6207
  const backgroundClickPC = $.mutable_state();
@@ -6007,6 +6329,7 @@ function Modal($$anchor, $$props) {
6007
6329
  });
6008
6330
  const propsStyle = objToStyle({
6009
6331
  width: props().width,
6332
+ ...toCssPadding(props()),
6010
6333
  ...toCssOverflow(props()),
6011
6334
  ...toCssShadow(props()),
6012
6335
  ...toCssRadius(props()),
@@ -6026,7 +6349,7 @@ function Modal($$anchor, $$props) {
6026
6349
  });
6027
6350
  $.legacy_pre_effect_reset();
6028
6351
  $.init();
6029
- var fragment = root$9();
6352
+ var fragment = root$12();
6030
6353
  $.event("keydown", $.window, function(...$$args) {
6031
6354
  $.get(handle_keydown)?.apply(this, $$args);
6032
6355
  });
@@ -6036,7 +6359,7 @@ function Modal($$anchor, $$props) {
6036
6359
  var alternate = ($$anchor$1, $$elseif) => {
6037
6360
  {
6038
6361
  var consequent_1 = ($$anchor$2) => {
6039
- var fragment_1 = root_2();
6362
+ var fragment_1 = root_2$4();
6040
6363
  var node_1 = $.first_child(fragment_1);
6041
6364
  BackgroundOverlay(node_1, {
6042
6365
  class: "background-bp-pc",
@@ -6109,14 +6432,14 @@ function Modal($$anchor, $$props) {
6109
6432
 
6110
6433
  //#endregion
6111
6434
  //#region src/components-flex/code/Code.svelte
6112
- var root$8 = $.template(`<div class="code svelte-igivoz"><!></div>`);
6113
- const $$css$7 = {
6435
+ var root$11 = $.template(`<div><!></div>`);
6436
+ const $$css$15 = {
6114
6437
  hash: "svelte-igivoz",
6115
6438
  code: ".code.svelte-igivoz {flex-grow:1;flex-shrink:0;align-self:stretch;}\n /*{@html props.rawCss}*/"
6116
6439
  };
6117
6440
  function Code($$anchor, $$props) {
6118
6441
  $.push($$props, false);
6119
- $.append_styles($$anchor, $$css$7);
6442
+ $.append_styles($$anchor, $$css$15);
6120
6443
  let props = $.prop($$props, "props", 24, () => ({}));
6121
6444
  let layerId = $.prop($$props, "layerId", 8, "");
6122
6445
  function unescapeBraces(str) {
@@ -6149,11 +6472,15 @@ function Code($$anchor, $$props) {
6149
6472
  };
6150
6473
  });
6151
6474
  $.init();
6152
- var div = root$8();
6475
+ var div = root$11();
6153
6476
  var node = $.child(div);
6154
6477
  $.html(node, () => props().rawHtml, false, false);
6155
6478
  $.reset(div);
6156
- $.template_effect(() => $.set_attribute(div, "data-layer-id", layerId()));
6479
+ $.template_effect(($0) => {
6480
+ $.set_attribute(div, "id", props().id);
6481
+ $.set_class(div, 1, $0, "svelte-igivoz");
6482
+ $.set_attribute(div, "data-layer-id", layerId());
6483
+ }, [() => $.clsx(["code", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6157
6484
  $.append($$anchor, div);
6158
6485
  $.pop();
6159
6486
  }
@@ -6164,14 +6491,14 @@ const LIST_ITEM_CONTEXT_KEY = "ListItemContext";
6164
6491
 
6165
6492
  //#endregion
6166
6493
  //#region src/components-flex/list/ListItem.svelte
6167
- var root$7 = $.template(`<li class="list-item svelte-b4b4gh"><!></li>`);
6168
- const $$css$6 = {
6494
+ var root$10 = $.template(`<li><!></li>`);
6495
+ const $$css$14 = {
6169
6496
  hash: "svelte-b4b4gh",
6170
6497
  code: ".list-item.svelte-b4b4gh {margin:0;padding:0;}.list-item-inner.svelte-b4b4gh {display:flex;align-items:center;width:100%;text-decoration:none;color:inherit;border:0;background:none;padding:0;margin:0;text-align:left;-webkit-appearance:none;}.list-item-inner.svelte-b4b4gh:hover {opacity:0.8;}.list-item.svelte-b4b4gh:not(:first-child) {border-top-width:var(--list-item-border-width);border-top-style:var(--list-item-border-style);border-top-color:var(--list-item-border-color);}"
6171
6498
  };
6172
6499
  function ListItem($$anchor, $$props) {
6173
6500
  $.push($$props, false);
6174
- $.append_styles($$anchor, $$css$6);
6501
+ $.append_styles($$anchor, $$css$14);
6175
6502
  const variables$1 = $.mutable_state();
6176
6503
  const style = $.mutable_state();
6177
6504
  const innerStyle = $.mutable_state();
@@ -6202,7 +6529,7 @@ function ListItem($$anchor, $$props) {
6202
6529
  });
6203
6530
  $.legacy_pre_effect_reset();
6204
6531
  $.init();
6205
- var li = root$7();
6532
+ var li = root$10();
6206
6533
  var node = $.child(li);
6207
6534
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
6208
6535
  let attributes_1;
@@ -6218,24 +6545,26 @@ function ListItem($$anchor, $$props) {
6218
6545
  $.append($$anchor$1, fragment);
6219
6546
  });
6220
6547
  $.reset(li);
6221
- $.template_effect(() => {
6548
+ $.template_effect(($0) => {
6549
+ $.set_attribute(li, "id", props().id);
6550
+ $.set_class(li, 1, $0, "svelte-b4b4gh");
6222
6551
  $.set_attribute(li, "data-layer-id", layerId());
6223
6552
  $.set_style(li, $.get(style));
6224
- });
6553
+ }, [() => $.clsx(["list-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6225
6554
  $.append($$anchor, li);
6226
6555
  $.pop();
6227
6556
  }
6228
6557
 
6229
6558
  //#endregion
6230
6559
  //#region src/components-flex/list/List.svelte
6231
- var root$6 = $.template(`<ul class="list svelte-v2vy6p"><!></ul>`);
6232
- const $$css$5 = {
6560
+ var root$9 = $.template(`<ul><!></ul>`);
6561
+ const $$css$13 = {
6233
6562
  hash: "svelte-v2vy6p",
6234
6563
  code: ".list.svelte-v2vy6p {padding:0;margin:0;list-style:none;display:flex;flex-direction:column;--border-width: 0;--border-style: solit;--border-color: rgba(255, 255, 255, 0);border-top-width:var(--border-width);border-top-style:var(--border-style);border-top-color:var(--border-color);border-bottom-width:var(--border-width);border-bottom-style:var(--border-style);border-bottom-color:var(--border-color);}"
6235
6564
  };
6236
6565
  function List($$anchor, $$props) {
6237
6566
  $.push($$props, false);
6238
- $.append_styles($$anchor, $$css$5);
6567
+ $.append_styles($$anchor, $$css$13);
6239
6568
  const variables$1 = $.mutable_state();
6240
6569
  const actionTableData = $.mutable_state();
6241
6570
  const items = $.mutable_state();
@@ -6277,14 +6606,16 @@ function List($$anchor, $$props) {
6277
6606
  });
6278
6607
  $.legacy_pre_effect_reset();
6279
6608
  $.init();
6280
- var ul = root$6();
6609
+ var ul = root$9();
6281
6610
  var node = $.child(ul);
6282
6611
  $.slot(node, $$props, "default", {}, null);
6283
6612
  $.reset(ul);
6284
- $.template_effect(() => {
6613
+ $.template_effect(($0) => {
6614
+ $.set_attribute(ul, "id", props().id);
6615
+ $.set_class(ul, 1, $0, "svelte-v2vy6p");
6285
6616
  $.set_attribute(ul, "data-layer-id", layerId());
6286
6617
  $.set_style(ul, $.get(style));
6287
- });
6618
+ }, [() => $.clsx(["list", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6288
6619
  $.append($$anchor, ul);
6289
6620
  $.pop();
6290
6621
  }
@@ -6314,14 +6645,14 @@ function splitNumberAndUnit(value) {
6314
6645
 
6315
6646
  //#endregion
6316
6647
  //#region src/components-flex/multi-column/MultiColumn.svelte
6317
- var root$5 = $.template(`<ul class="list svelte-aoppwp"><!></ul>`);
6318
- const $$css$4 = {
6319
- hash: "svelte-aoppwp",
6320
- code: ".list.svelte-aoppwp {padding:0;margin:0;list-style:none;display:flex;flex-direction:row;}"
6648
+ var root$8 = $.template(`<ul><!></ul>`);
6649
+ const $$css$12 = {
6650
+ hash: "svelte-9pwfkr",
6651
+ code: ".multi-column.svelte-9pwfkr {padding:0;margin:0;list-style:none;display:flex;flex-direction:row;}"
6321
6652
  };
6322
6653
  function MultiColumn($$anchor, $$props) {
6323
6654
  $.push($$props, false);
6324
- $.append_styles($$anchor, $$css$4);
6655
+ $.append_styles($$anchor, $$css$12);
6325
6656
  const style = $.mutable_state();
6326
6657
  let layerId = $.prop($$props, "layerId", 8);
6327
6658
  let props = $.prop($$props, "props", 8);
@@ -6357,28 +6688,30 @@ function MultiColumn($$anchor, $$props) {
6357
6688
  });
6358
6689
  $.legacy_pre_effect_reset();
6359
6690
  $.init();
6360
- var ul = root$5();
6691
+ var ul = root$8();
6361
6692
  var node = $.child(ul);
6362
6693
  $.slot(node, $$props, "default", {}, null);
6363
6694
  $.reset(ul);
6364
- $.template_effect(() => {
6695
+ $.template_effect(($0) => {
6365
6696
  $.set_attribute(ul, "data-layer-id", layerId());
6697
+ $.set_attribute(ul, "id", props().id);
6698
+ $.set_class(ul, 1, $0, "svelte-9pwfkr");
6366
6699
  $.set_style(ul, $.get(style));
6367
- });
6700
+ }, [() => $.clsx(["multi-column", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6368
6701
  $.append($$anchor, ul);
6369
6702
  $.pop();
6370
6703
  }
6371
6704
 
6372
6705
  //#endregion
6373
6706
  //#region src/components-flex/multi-column/MultiColumnItem.svelte
6374
- var root$4 = $.template(`<li class="multi-column-item svelte-18bwzrs"><!></li>`);
6375
- const $$css$3 = {
6707
+ var root$7 = $.template(`<li><!></li>`);
6708
+ const $$css$11 = {
6376
6709
  hash: "svelte-18bwzrs",
6377
6710
  code: ".multi-column-item.svelte-18bwzrs {margin:0;width:100%;padding-top:0;padding-bottom:0;padding-left:var(--multi-column-item-padding);padding-right:var(--multi-column-item-padding);}.multi-column-item-inner.svelte-18bwzrs {display:flex;flex-direction:column;align-items:center;gap:var(--multi-column-item-gap);width:100%;text-decoration:none;border:0;background:none;margin:0;text-align:left;-webkit-appearance:none;padding-top:var(--multi-column-item-padding-top);padding-left:var(--multi-column-item-padding-left);padding-right:var(--multi-column-item-padding-right);padding-bottom:var(--multi-column-item-padding-bottom);}.multi-column-item-inner.svelte-18bwzrs:hover {opacity:0.8;}.multi-column-item.svelte-18bwzrs:not(:first-child) {border-left-width:var(--multi-column-item-border-width);border-left-style:var(--multi-column-item-border-style);border-left-color:var(--multi-column-item-border-color);}"
6378
6711
  };
6379
6712
  function MultiColumnItem($$anchor, $$props) {
6380
6713
  $.push($$props, false);
6381
- $.append_styles($$anchor, $$css$3);
6714
+ $.append_styles($$anchor, $$css$11);
6382
6715
  const variables$1 = $.mutable_state();
6383
6716
  const style = $.mutable_state();
6384
6717
  let layerId = $.prop($$props, "layerId", 8);
@@ -6406,7 +6739,7 @@ function MultiColumnItem($$anchor, $$props) {
6406
6739
  });
6407
6740
  $.legacy_pre_effect_reset();
6408
6741
  $.init();
6409
- var li = root$4();
6742
+ var li = root$7();
6410
6743
  var node = $.child(li);
6411
6744
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
6412
6745
  let attributes_1;
@@ -6421,24 +6754,26 @@ function MultiColumnItem($$anchor, $$props) {
6421
6754
  $.append($$anchor$1, fragment);
6422
6755
  });
6423
6756
  $.reset(li);
6424
- $.template_effect(() => {
6757
+ $.template_effect(($0) => {
6758
+ $.set_attribute(li, "id", props().id);
6759
+ $.set_class(li, 1, $0, "svelte-18bwzrs");
6425
6760
  $.set_attribute(li, "data-layer-id", layerId());
6426
6761
  $.set_style(li, $.get(style));
6427
- });
6762
+ }, [() => $.clsx(["multi-column-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6428
6763
  $.append($$anchor, li);
6429
6764
  $.pop();
6430
6765
  }
6431
6766
 
6432
6767
  //#endregion
6433
6768
  //#region src/components-flex/youtube/Youtube.svelte
6434
- var root$3 = $.template(`<div class="youtube svelte-odfkc2"><div class="youtube-player"></div></div>`);
6435
- const $$css$2 = {
6769
+ var root$6 = $.template(`<div><div class="youtube-player"></div></div>`);
6770
+ const $$css$10 = {
6436
6771
  hash: "svelte-odfkc2",
6437
6772
  code: ".youtube.svelte-odfkc2 {position:relative;aspect-ratio:16 / 9;width:100%;border-radius:3px;}.youtube.svelte-odfkc2 iframe {position:absolute;width:100%;height:100%;object-fit:cover;}"
6438
6773
  };
6439
6774
  function Youtube($$anchor, $$props) {
6440
6775
  $.push($$props, false);
6441
- $.append_styles($$anchor, $$css$2);
6776
+ $.append_styles($$anchor, $$css$10);
6442
6777
  const style = $.mutable_state();
6443
6778
  let props = $.prop($$props, "props", 24, () => ({}));
6444
6779
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -6518,28 +6853,30 @@ function Youtube($$anchor, $$props) {
6518
6853
  });
6519
6854
  $.legacy_pre_effect_reset();
6520
6855
  $.init();
6521
- var div = root$3();
6856
+ var div = root$6();
6522
6857
  var div_1 = $.child(div);
6523
6858
  $.bind_this(div_1, ($$value) => $.set(playerRef, $$value), () => $.get(playerRef));
6524
6859
  $.reset(div);
6525
- $.template_effect(() => {
6860
+ $.template_effect(($0) => {
6861
+ $.set_attribute(div, "id", props().id);
6862
+ $.set_class(div, 1, $0, "svelte-odfkc2");
6526
6863
  $.set_style(div, $.get(style));
6527
6864
  $.set_attribute(div, "data-layer-id", layerId());
6528
- });
6865
+ }, [() => $.clsx(["youtube", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6529
6866
  $.append($$anchor, div);
6530
6867
  $.pop();
6531
6868
  }
6532
6869
 
6533
6870
  //#endregion
6534
6871
  //#region src/components-flex/count-down/CountDown.svelte
6535
- var root$2 = $.template(`<div class="countdown svelte-1n395il"><!></div>`);
6536
- const $$css$1 = {
6872
+ var root$5 = $.template(`<div><!></div>`);
6873
+ const $$css$9 = {
6537
6874
  hash: "svelte-1n395il",
6538
6875
  code: ".countdown.svelte-1n395il {display:flex;align-items:center;gap:4px;}"
6539
6876
  };
6540
6877
  function CountDown($$anchor, $$props) {
6541
6878
  $.push($$props, false);
6542
- $.append_styles($$anchor, $$css$1);
6879
+ $.append_styles($$anchor, $$css$9);
6543
6880
  const day = $.mutable_state();
6544
6881
  const hour = $.mutable_state();
6545
6882
  const min = $.mutable_state();
@@ -6595,7 +6932,7 @@ function CountDown($$anchor, $$props) {
6595
6932
  });
6596
6933
  $.legacy_pre_effect_reset();
6597
6934
  $.init();
6598
- var div = root$2();
6935
+ var div = root$5();
6599
6936
  var node = $.child(div);
6600
6937
  $.slot(node, $$props, "default", {
6601
6938
  get day() {
@@ -6612,7 +6949,11 @@ function CountDown($$anchor, $$props) {
6612
6949
  }
6613
6950
  }, null);
6614
6951
  $.reset(div);
6615
- $.template_effect(() => $.set_attribute(div, "data-layer-id", layerId()));
6952
+ $.template_effect(($0) => {
6953
+ $.set_attribute(div, "id", props().id);
6954
+ $.set_class(div, 1, $0, "svelte-1n395il");
6955
+ $.set_attribute(div, "data-layer-id", layerId());
6956
+ }, [() => $.clsx(["countdown", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6616
6957
  $.append($$anchor, div);
6617
6958
  $.pop();
6618
6959
  }
@@ -6676,7 +7017,7 @@ const useText = (props) => {
6676
7017
 
6677
7018
  //#endregion
6678
7019
  //#region src/components-flex/count-down/CountDownValue.svelte
6679
- var root$1 = $.template(`<span class="count-down-value"> </span>`);
7020
+ var root$4 = $.template(`<span> </span>`);
6680
7021
  function CountDownValue($$anchor, $$props) {
6681
7022
  $.push($$props, false);
6682
7023
  const [$$stores, $$cleanup] = $.setup_stores();
@@ -6700,14 +7041,16 @@ function CountDownValue($$anchor, $$props) {
6700
7041
  });
6701
7042
  $.legacy_pre_effect_reset();
6702
7043
  $.init();
6703
- var span = root$1();
7044
+ var span = root$4();
6704
7045
  $.set_style(span, style);
6705
7046
  var text = $.child(span, true);
6706
7047
  $.reset(span);
6707
- $.template_effect(() => {
7048
+ $.template_effect(($0) => {
7049
+ $.set_attribute(span, "id", props().id);
7050
+ $.set_class(span, 1, $0);
6708
7051
  $.set_attribute(span, "data-layer-id", layerId());
6709
7052
  $.set_text(text, $.get(value));
6710
- });
7053
+ }, [() => $.clsx(["count-down-value", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6711
7054
  $.append($$anchor, span);
6712
7055
  $.pop();
6713
7056
  $$cleanup();
@@ -6715,14 +7058,14 @@ function CountDownValue($$anchor, $$props) {
6715
7058
 
6716
7059
  //#endregion
6717
7060
  //#region src/components-flex/clip-copy/ClipCopy.svelte
6718
- var root = $.template(`<div class="clipboard svelte-orhp4c"><button class="clipboard-button svelte-orhp4c"><!></button> <span class="clipboard-tooltip svelte-orhp4c">コピーしました</span></div>`);
6719
- const $$css = {
7061
+ var root$3 = $.template(`<div><button class="clipboard-button svelte-orhp4c"><!></button> <span class="clipboard-tooltip svelte-orhp4c">コピーしました</span></div>`);
7062
+ const $$css$8 = {
6720
7063
  hash: "svelte-orhp4c",
6721
7064
  code: ".clipboard.svelte-orhp4c {position:relative;display:inline-flex;}.clipboard-button.svelte-orhp4c {position:relative;display:inline-flex;align-items:center;white-space:nowrap;gap:12px;background:none;border:0;transition:0.12s;cursor:pointer;}.clipboard-button.svelte-orhp4c:hover {opacity:0.8;}.clipboard-button.svelte-orhp4c:active {opacity:0.6;}.clipboard-tooltip.svelte-orhp4c {position:absolute;top:-8px;left:50%;display:block;transform:translate(-50%, -100%);padding:4px 10px;background-color:#333333;color:#ffffff;font-size:11px;font-weight:bold;border-radius:4px;transition:transform 0.2s ease-out;white-space:nowrap;pointer-events:none;}.clipboard-tooltip.svelte-orhp4c:after {content:'';display:block;position:absolute;bottom:0;left:50%;width:8px;height:8px;background-color:#333333;border-radius:1px;transform:translate(-50%, 40%) rotate(45deg);}.clipboard-tooltip[aria-hidden='true'].svelte-orhp4c {opacity:0;transform:translate(-50%, -80%);}"
6722
7065
  };
6723
7066
  function ClipCopy($$anchor, $$props) {
6724
7067
  $.push($$props, false);
6725
- $.append_styles($$anchor, $$css);
7068
+ $.append_styles($$anchor, $$css$8);
6726
7069
  let props = $.prop($$props, "props", 24, () => ({}));
6727
7070
  let layerId = $.prop($$props, "layerId", 8, "");
6728
7071
  useInjectCustomizeCss(props());
@@ -6740,7 +7083,7 @@ function ClipCopy($$anchor, $$props) {
6740
7083
  }, 3e3);
6741
7084
  };
6742
7085
  $.init();
6743
- var div = root();
7086
+ var div = root$3();
6744
7087
  var button = $.child(div);
6745
7088
  var node = $.child(button);
6746
7089
  $.slot(node, $$props, "default", {}, null);
@@ -6748,15 +7091,826 @@ function ClipCopy($$anchor, $$props) {
6748
7091
  $.bind_this(button, ($$value) => $.set(buttonElement, $$value), () => $.get(buttonElement));
6749
7092
  var span = $.sibling(button, 2);
6750
7093
  $.reset(div);
6751
- $.template_effect(() => {
7094
+ $.template_effect(($0) => {
7095
+ $.set_attribute(div, "id", props().id);
7096
+ $.set_class(div, 1, $0, "svelte-orhp4c");
6752
7097
  $.set_attribute(div, "data-layer-id", layerId());
6753
7098
  $.set_attribute(span, "aria-hidden", !$.get(showTooltip));
6754
- });
7099
+ }, [() => $.clsx(["clipboard", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6755
7100
  $.event("click", button, handleClick);
6756
7101
  $.append($$anchor, div);
6757
7102
  $.pop();
6758
7103
  }
6759
7104
 
7105
+ //#endregion
7106
+ //#region src/components-flex/embed/Embed.svelte
7107
+ var root$2 = $.template(`<div><!></div>`);
7108
+ const $$css$7 = {
7109
+ hash: "svelte-13tkwh0",
7110
+ code: ".embed.svelte-13tkwh0 {width:var(--width);height:var(--height);aspect-ratio:var(--aspect);}.embed.svelte-13tkwh0 iframe {vertical-align:bottom;max-width:100%;width:var(--width) !important;height:var(--height) !important;aspect-ratio:var(--aspect) !important;}"
7111
+ };
7112
+ function Embed($$anchor, $$props) {
7113
+ $.push($$props, false);
7114
+ $.append_styles($$anchor, $$css$7);
7115
+ const variables$1 = $.mutable_state();
7116
+ const styleObj = $.mutable_state();
7117
+ const style = $.mutable_state();
7118
+ let props = $.prop($$props, "props", 24, () => ({}));
7119
+ let layerId = $.prop($$props, "layerId", 8, "");
7120
+ useInjectCustomizeCss(props());
7121
+ const aspectVariantStyles = ASPECT_VARIANT[props().aspectVariant]?.getProps();
7122
+ const width = props().width ?? "100%";
7123
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7124
+ $.set(variables$1, {
7125
+ "--width": width,
7126
+ "--height": props().height ?? "auto",
7127
+ "--aspect": props().aspect ?? aspectVariantStyles?.aspect
7128
+ });
7129
+ });
7130
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(variables$1)), () => {
7131
+ $.set(styleObj, {
7132
+ ...toCssCommon(props()),
7133
+ ...$.get(variables$1)
7134
+ });
7135
+ });
7136
+ $.legacy_pre_effect(() => $.get(styleObj), () => {
7137
+ $.set(style, objToStyle($.get(styleObj)));
7138
+ });
7139
+ $.legacy_pre_effect_reset();
7140
+ $.init();
7141
+ var div = root$2();
7142
+ var node = $.child(div);
7143
+ $.html(node, () => props().iframe, false, false);
7144
+ $.reset(div);
7145
+ $.template_effect(($0) => {
7146
+ $.set_attribute(div, "id", props().id);
7147
+ $.set_style(div, $.get(style));
7148
+ $.set_class(div, 1, $0, "svelte-13tkwh0");
7149
+ $.set_attribute(div, "data-layer-id", layerId());
7150
+ }, [() => $.clsx(["embed", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
7151
+ $.append($$anchor, div);
7152
+ $.pop();
7153
+ }
7154
+
7155
+ //#endregion
7156
+ //#region src/components-flex/form/Form.svelte
7157
+ var root$1 = $.template(`<div><!></div>`);
7158
+ const $$css$6 = {
7159
+ hash: "svelte-nekp9e",
7160
+ code: ".form.svelte-nekp9e {width:100%;}"
7161
+ };
7162
+ function Form($$anchor, $$props) {
7163
+ $.push($$props, false);
7164
+ $.append_styles($$anchor, $$css$6);
7165
+ let props = $.prop($$props, "props", 24, () => ({}));
7166
+ let layerId = $.prop($$props, "layerId", 8, "");
7167
+ useInjectCustomizeCss(props());
7168
+ $.init();
7169
+ var div = root$1();
7170
+ var node = $.child(div);
7171
+ $.slot(node, $$props, "default", {}, null);
7172
+ $.reset(div);
7173
+ $.template_effect(($0) => {
7174
+ $.set_attribute(div, "id", props().id);
7175
+ $.set_class(div, 1, $0, "svelte-nekp9e");
7176
+ $.set_attribute(div, "data-layer-id", layerId());
7177
+ }, [() => $.clsx(["form", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
7178
+ $.append($$anchor, div);
7179
+ $.pop();
7180
+ }
7181
+
7182
+ //#endregion
7183
+ //#region src/components-flex/form/styles.ts
7184
+ const getFormFieldLabelThemeStyles = getPropStyles(({ brandKit }) => {
7185
+ return {
7186
+ default: { color: brandKit.color_text_primary },
7187
+ gray: { color: brandKit.color_text_secondary },
7188
+ brand: { color: brandKit.color_brand }
7189
+ };
7190
+ });
7191
+ const FORM_FIELD_LABEL_SIZE_STYLES = {
7192
+ small: { fontSize: "12px" },
7193
+ medium: { fontSize: "14px" },
7194
+ large: { fontSize: "16px" }
7195
+ };
7196
+
7197
+ //#endregion
7198
+ //#region src/components-flex/form/FormField.svelte
7199
+ var root_2$3 = $.template(`<span class="field-required svelte-1maygd6">*</span>`);
7200
+ var root_1$5 = $.template(`<dt class="svelte-1maygd6"><span> </span> <!></dt>`);
7201
+ var root_3 = $.template(`<p class="field-error svelte-1maygd6"> </p>`);
7202
+ var root = $.template(`<dl><!> <dd class="svelte-1maygd6"><!> <!></dd></dl>`);
7203
+ const $$css$5 = {
7204
+ hash: "svelte-1maygd6",
7205
+ code: ".field.svelte-1maygd6 {margin:0;padding:0;border:0;display:flex;width:100%;flex-direction:var(--form-field-direction);gap:var(--form-field-gap);}.field.svelte-1maygd6 > dt:where(.svelte-1maygd6) {position:relative;font-weight:bold;font-size:var(--form-field-label-font-size);width:var(--form-field-label-width);flex-shrink:0;color:var(--form-field-label-color);display:inline-flex;gap:0.4em;}.field-required.svelte-1maygd6 {flex-shrink:0;font-size:0.6em;color:var(--danger-color);}.field.svelte-1maygd6 > dd:where(.svelte-1maygd6) {position:relative;margin:0;flex-grow:1;}.field-error.svelte-1maygd6 {position:absolute;top:calc(100% + 8px);left:0;display:inline-flex;color:var(--danger-color);border:1px solid var(--danger-color);border-radius:4px;background-color:#fff;padding:6px 12px;font-size:12px;margin:0;z-index:10;}.field-error.svelte-1maygd6::after {content:'';display:block;position:absolute;top:0;left:8px;width:8px;height:8px;transform:rotate(45deg) translateY(-80%);border-top:1px solid var(--danger-color);border-left:1px solid var(--danger-color);border-radius:1px;background-color:#fff;}"
7206
+ };
7207
+ function FormField($$anchor, $$props) {
7208
+ $.push($$props, false);
7209
+ $.append_styles($$anchor, $$css$5);
7210
+ const variables$1 = $.mutable_state();
7211
+ const style = $.mutable_state();
7212
+ let props = $.prop($$props, "props", 24, () => ({}));
7213
+ let layerId = $.prop($$props, "layerId", 8, "");
7214
+ useInjectCustomizeCss(props());
7215
+ const { brandKit } = useBrandKit();
7216
+ let registeredFieldName = $.mutable_state("");
7217
+ let errorMessage = $.mutable_state(null);
7218
+ let isShowErrorMessage = $.mutable_state(false);
7219
+ const theme = getFormFieldLabelThemeStyles(brandKit)[props().labelTheme ?? "gray"];
7220
+ const size = FORM_FIELD_LABEL_SIZE_STYLES[props().labelSize ?? "medium"];
7221
+ onDestory(() => {
7222
+ if (!$.get(registeredFieldName)) return;
7223
+ unregisterFormField($.get(registeredFieldName));
7224
+ });
7225
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7226
+ $.set(variables$1, {
7227
+ "--danger-color": brandKit.color_danger,
7228
+ "--form-field-direction": props().direction ?? "column",
7229
+ "--form-field-gap": props().gap ?? "4px",
7230
+ "--form-field-label-width": props().labelWidth ?? "100%",
7231
+ "--form-field-label-font-size": size.fontSize,
7232
+ "--form-field-label-color": theme.color
7233
+ });
7234
+ });
7235
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7236
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7237
+ });
7238
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(registeredFieldName), formStore), () => {
7239
+ if (props().fieldName) {
7240
+ if ($.get(registeredFieldName) && $.get(registeredFieldName) !== props().fieldName) unregisterFormField($.get(registeredFieldName));
7241
+ registerFormField({
7242
+ type: props().fieldType,
7243
+ name: props().fieldName,
7244
+ defaultValue: props().defaultValue,
7245
+ required: props().required
7246
+ });
7247
+ formStore.subscribe(($store) => {
7248
+ $.set(errorMessage, $store.states[props().fieldName]?.errorMessage ?? null);
7249
+ $.set(isShowErrorMessage, $store.states[props().fieldName]?.isTouched ?? false);
7250
+ });
7251
+ $.set(registeredFieldName, props().fieldName);
7252
+ }
7253
+ });
7254
+ $.legacy_pre_effect_reset();
7255
+ $.init();
7256
+ var dl = root();
7257
+ var node = $.child(dl);
7258
+ {
7259
+ var consequent_1 = ($$anchor$1) => {
7260
+ var dt = root_1$5();
7261
+ var span = $.child(dt);
7262
+ var text = $.child(span, true);
7263
+ $.reset(span);
7264
+ var node_1 = $.sibling(span, 2);
7265
+ {
7266
+ var consequent = ($$anchor$2) => {
7267
+ var span_1 = root_2$3();
7268
+ $.append($$anchor$2, span_1);
7269
+ };
7270
+ $.if(node_1, ($$render) => {
7271
+ if (props().required) $$render(consequent);
7272
+ });
7273
+ }
7274
+ $.reset(dt);
7275
+ $.template_effect(() => $.set_text(text, props().label));
7276
+ $.append($$anchor$1, dt);
7277
+ };
7278
+ $.if(node, ($$render) => {
7279
+ if (props().label) $$render(consequent_1);
7280
+ });
7281
+ }
7282
+ var dd = $.sibling(node, 2);
7283
+ var node_2 = $.child(dd);
7284
+ $.slot(node_2, $$props, "default", { get "data-layer-id"() {
7285
+ return layerId();
7286
+ } }, null);
7287
+ var node_3 = $.sibling(node_2, 2);
7288
+ {
7289
+ var consequent_2 = ($$anchor$1) => {
7290
+ var p = root_3();
7291
+ var text_1 = $.child(p, true);
7292
+ $.reset(p);
7293
+ $.template_effect(() => $.set_text(text_1, $.get(errorMessage)));
7294
+ $.append($$anchor$1, p);
7295
+ };
7296
+ $.if(node_3, ($$render) => {
7297
+ if ($.get(isShowErrorMessage) && $.get(errorMessage)) $$render(consequent_2);
7298
+ });
7299
+ }
7300
+ $.reset(dd);
7301
+ $.reset(dl);
7302
+ $.template_effect(($0) => {
7303
+ $.set_attribute(dl, "id", props().id);
7304
+ $.set_class(dl, 1, $0, "svelte-1maygd6");
7305
+ $.set_attribute(dl, "data-layer-id", layerId());
7306
+ $.set_style(dl, $.get(style));
7307
+ }, [() => $.clsx([
7308
+ "field",
7309
+ props().required ? "required" : "",
7310
+ ...props().classNames ?? []
7311
+ ].join(" "))], $.derived_safe_equal);
7312
+ $.append($$anchor, dl);
7313
+ $.pop();
7314
+ }
7315
+
7316
+ //#endregion
7317
+ //#region src/components-flex/form/FormInput.svelte
7318
+ var root_1$4 = $.template(`<input type="text">`);
7319
+ const $$css$4 = {
7320
+ hash: "svelte-176cxs0",
7321
+ code: ".form-input.svelte-176cxs0 {margin:0;width:var(--form-input-width);-webkit-appearance:none;color:var(--font-color);transition:all 0.2s;}.form-input.small.svelte-176cxs0 {font-size:12px;line-height:19px;padding:6px 10px 5px;border-radius:4px;}.form-input.medium.svelte-176cxs0 {font-size:14px;line-height:21px;padding:8px 12px 7px;border-radius:6px;}.form-input.large.svelte-176cxs0 {font-size:16px;line-height:25px;padding:11px 16px 10px;border-radius:8px;}.form-input.outlined.svelte-176cxs0 {border:1px solid var(--border-color);}.form-input.filled.svelte-176cxs0 {background-color:var(--background-color);border:1px solid var(--background-color);}.form-input.underlined.svelte-176cxs0 {border-radius:0;border-width:0 0 1px;border-style:solid;border-color:rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) var(--border-color);}.form-input.underlined.svelte-176cxs0:focus-visible {outline:0;border-bottom-color:1px solid var(--focused-outline-color);}.form-input.svelte-176cxs0:focus-visible {outline-color:var(--focused-outline-color);}.form-input.svelte-176cxs0::placeholder {color:var(--placeholder-color);}"
7322
+ };
7323
+ function FormInput($$anchor, $$props) {
7324
+ $.push($$props, false);
7325
+ $.append_styles($$anchor, $$css$4);
7326
+ const variant = $.mutable_state();
7327
+ const size = $.mutable_state();
7328
+ const variables$1 = $.mutable_state();
7329
+ const style = $.mutable_state();
7330
+ const type = $.mutable_state();
7331
+ let props = $.prop($$props, "props", 24, () => ({}));
7332
+ let layerId = $.prop($$props, "layerId", 8, "");
7333
+ const { brandKit } = useBrandKit();
7334
+ useInjectCustomizeCss(props());
7335
+ let value = $.mutable_state("");
7336
+ const handleBlur = () => {
7337
+ if (props().fieldName) {
7338
+ setFormFieldTouched(props().fieldName);
7339
+ setFormFieldValue(props().fieldName, $.get(value));
7340
+ }
7341
+ };
7342
+ const handleInput = () => {
7343
+ setFormFieldValue(props().fieldName, $.get(value));
7344
+ };
7345
+ onMount$1(() => {
7346
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7347
+ });
7348
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7349
+ $.set(variant, props().variant ?? "outlined");
7350
+ });
7351
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7352
+ $.set(size, props().size ?? "medium");
7353
+ });
7354
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7355
+ $.set(variables$1, (() => {
7356
+ return {
7357
+ "--form-input-width": props().width ?? "100%",
7358
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7359
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7360
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7361
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7362
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7363
+ };
7364
+ })());
7365
+ });
7366
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7367
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7368
+ });
7369
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7370
+ $.set(type, (() => {
7371
+ if (props().inputType === "url") return "url";
7372
+ if (props().inputType === "tel") return "tel";
7373
+ if (props().inputType === "email") return "email";
7374
+ return "text";
7375
+ })());
7376
+ });
7377
+ $.legacy_pre_effect_reset();
7378
+ $.init();
7379
+ FormField($$anchor, {
7380
+ get layerId() {
7381
+ return layerId();
7382
+ },
7383
+ get props() {
7384
+ return props();
7385
+ },
7386
+ children: ($$anchor$1, $$slotProps) => {
7387
+ var input = root_1$4();
7388
+ $.remove_input_defaults(input);
7389
+ $.template_effect(($0) => {
7390
+ $.set_attribute(input, "placeholder", props().placeholder);
7391
+ $.set_attribute(input, "name", props().fieldName);
7392
+ $.set_class(input, 1, $0, "svelte-176cxs0");
7393
+ $.set_style(input, $.get(style));
7394
+ }, [() => $.clsx([
7395
+ "form-input",
7396
+ $.get(variant),
7397
+ $.get(size)
7398
+ ].join(" "))], $.derived_safe_equal);
7399
+ $.bind_value(input, () => $.get(value), ($$value) => $.set(value, $$value));
7400
+ $.event("blur", input, handleBlur);
7401
+ $.event("input", input, handleInput);
7402
+ $.append($$anchor$1, input);
7403
+ },
7404
+ $$slots: { default: true }
7405
+ });
7406
+ $.pop();
7407
+ }
7408
+
7409
+ //#endregion
7410
+ //#region src/components-flex/form/FormTextarea.svelte
7411
+ var root_1$3 = $.template(`<textarea></textarea>`);
7412
+ const $$css$3 = {
7413
+ hash: "svelte-1oqg2c0",
7414
+ code: ".form-textarea.svelte-1oqg2c0 {margin:0;width:var(--form-textarea-width);max-width:var(--form-textarea-width);min-width:var(--form-textarea-width);-webkit-appearance:none;vertical-align:bottom;color:var(--font-color);transition:all 0.2s;}.form-textarea.small.svelte-1oqg2c0 {font-size:12px;line-height:19px;padding:6px 10px 5px;border-radius:4px;}.form-textarea.medium.svelte-1oqg2c0 {font-size:14px;line-height:21px;padding:8px 12px 7px;border-radius:6px;}.form-textarea.large.svelte-1oqg2c0 {font-size:16px;line-height:25px;padding:11px 16px 10px;border-radius:8px;}.form-textarea.outlined.svelte-1oqg2c0 {border:1px solid var(--border-color);}.form-textarea.filled.svelte-1oqg2c0 {background-color:var(--background-color);border:1px solid var(--background-color);}.form-textarea.underlined.svelte-1oqg2c0 {border-radius:0;border-width:0 0 1px;border-style:solid;border-color:rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) var(--border-color);}.form-textarea.underlined.svelte-1oqg2c0:focus-visible {outline:0;border-bottom-color:1px solid var(--focused-outline-color);}.form-textarea.svelte-1oqg2c0:focus-visible {outline-color:var(--focused-outline-color);}.form-textarea.svelte-1oqg2c0::placeholder {color:var(--placeholder-color);}"
7415
+ };
7416
+ function FormTextarea($$anchor, $$props) {
7417
+ $.push($$props, false);
7418
+ $.append_styles($$anchor, $$css$3);
7419
+ const variant = $.mutable_state();
7420
+ const size = $.mutable_state();
7421
+ const variables$1 = $.mutable_state();
7422
+ const style = $.mutable_state();
7423
+ let props = $.prop($$props, "props", 24, () => ({}));
7424
+ let layerId = $.prop($$props, "layerId", 8, "");
7425
+ const { brandKit } = useBrandKit();
7426
+ useInjectCustomizeCss(props());
7427
+ let value = $.mutable_state("");
7428
+ const handleBlur = () => {
7429
+ if (props().fieldName) {
7430
+ setFormFieldTouched(props().fieldName);
7431
+ setFormFieldValue(props().fieldName, $.get(value));
7432
+ }
7433
+ };
7434
+ const handleInput = () => {
7435
+ setFormFieldValue(props().fieldName, $.get(value));
7436
+ };
7437
+ onMount$1(() => {
7438
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7439
+ });
7440
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7441
+ $.set(variant, props().variant ?? "outlined");
7442
+ });
7443
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7444
+ $.set(size, props().size ?? "medium");
7445
+ });
7446
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7447
+ $.set(variables$1, (() => {
7448
+ return {
7449
+ "--form-textarea-width": props().width ?? "100%",
7450
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7451
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7452
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7453
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7454
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7455
+ };
7456
+ })());
7457
+ });
7458
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7459
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7460
+ });
7461
+ $.legacy_pre_effect_reset();
7462
+ $.init();
7463
+ FormField($$anchor, {
7464
+ get layerId() {
7465
+ return layerId();
7466
+ },
7467
+ get props() {
7468
+ return props();
7469
+ },
7470
+ children: ($$anchor$1, $$slotProps) => {
7471
+ var textarea = root_1$3();
7472
+ $.remove_textarea_child(textarea);
7473
+ $.template_effect(($0) => {
7474
+ $.set_attribute(textarea, "placeholder", props().placeholder);
7475
+ $.set_attribute(textarea, "rows", props().rows);
7476
+ $.set_attribute(textarea, "name", props().fieldName);
7477
+ $.set_class(textarea, 1, $0, "svelte-1oqg2c0");
7478
+ $.set_style(textarea, $.get(style));
7479
+ }, [() => $.clsx([
7480
+ "form-textarea",
7481
+ $.get(variant),
7482
+ $.get(size)
7483
+ ].join(" "))], $.derived_safe_equal);
7484
+ $.bind_value(textarea, () => $.get(value), ($$value) => $.set(value, $$value));
7485
+ $.event("blur", textarea, handleBlur);
7486
+ $.event("input", textarea, handleInput);
7487
+ $.append($$anchor$1, textarea);
7488
+ },
7489
+ $$slots: { default: true }
7490
+ });
7491
+ $.pop();
7492
+ }
7493
+
7494
+ //#endregion
7495
+ //#region src/components-flex/form/FormSelect.svelte
7496
+ var root_2$2 = $.template(`<option class="svelte-p118m"> </option>`);
7497
+ var root_1$2 = $.template(`<div><select class="form-select-select svelte-p118m"><option disabled class="svelte-p118m"> </option><!></select></div>`);
7498
+ const $$css$2 = {
7499
+ hash: "svelte-p118m",
7500
+ code: ".form-select.svelte-p118m {position:relative;display:inline-flex;width:var(--width);color:var(--font-color);}.form-select.empty.svelte-p118m select:where(.svelte-p118m) {color:var(--placeholder-color);}.form-select.svelte-p118m:after {content:'';display:block;position:absolute;top:50%;right:12px;width:6px;height:6px;border-bottom:1px solid var(--font-color);border-left:1px solid var(--font-color);transform:translateY(-75%) rotate(-45deg);}.form-select.svelte-p118m select:where(.svelte-p118m) {margin:0;width:100%;-webkit-appearance:none;transition:all 0.2s;}.form-select.small.svelte-p118m select:where(.svelte-p118m) {font-size:12px;line-height:19px;padding:6px 32px 5px 10px;border-radius:4px;}.form-select.medium.svelte-p118m select:where(.svelte-p118m) {font-size:14px;line-height:21px;padding:8px 36px 7px 12px;border-radius:6px;}.form-select.large.svelte-p118m select:where(.svelte-p118m) {font-size:16px;line-height:25px;padding:11px 40px 10px 16px;border-radius:8px;}.form-select.large.svelte-p118m:after {right:20px;}.form-select.outlined.svelte-p118m select:where(.svelte-p118m) {border:1px solid var(--border-color);}.form-select.filled.svelte-p118m select:where(.svelte-p118m) {background-color:var(--background-color);border:1px solid var(--background-color);}.form-select.underlined.svelte-p118m select:where(.svelte-p118m) {border-radius:0;border-width:0 0 1px;border-style:solid;border-color:rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) var(--border-color);}.form-select.underlined.svelte-p118m select:where(.svelte-p118m):focus-visible {outline:0;border-bottom-color:1px solid var(--focused-outline-color);}.form-select.svelte-p118m select:where(.svelte-p118m):focus-visible {outline-color:var(--focused-outline-color);}.form-select.svelte-p118m select:where(.svelte-p118m) option:where(.svelte-p118m) {color:var(--font-color);}"
7501
+ };
7502
+ function FormSelect($$anchor, $$props) {
7503
+ $.push($$props, false);
7504
+ $.append_styles($$anchor, $$css$2);
7505
+ const variant = $.mutable_state();
7506
+ const size = $.mutable_state();
7507
+ const isEmpty$1 = $.mutable_state();
7508
+ const variables$1 = $.mutable_state();
7509
+ const style = $.mutable_state();
7510
+ let props = $.prop($$props, "props", 24, () => ({}));
7511
+ let layerId = $.prop($$props, "layerId", 8, "");
7512
+ const { brandKit } = useBrandKit();
7513
+ useInjectCustomizeCss(props());
7514
+ let value = $.mutable_state("");
7515
+ const handleChange = () => {
7516
+ if (props().fieldName) {
7517
+ setFormFieldTouched(props().fieldName);
7518
+ setFormFieldValue(props().fieldName, $.get(value));
7519
+ }
7520
+ };
7521
+ onMount$1(() => {
7522
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7523
+ });
7524
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7525
+ $.set(variant, props().variant ?? "outlined");
7526
+ });
7527
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7528
+ $.set(size, props().size ?? "medium");
7529
+ });
7530
+ $.legacy_pre_effect(() => $.get(value), () => {
7531
+ $.set(isEmpty$1, $.get(value) === "");
7532
+ });
7533
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7534
+ $.set(variables$1, (() => {
7535
+ return {
7536
+ "--width": props().width ?? "100%",
7537
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7538
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7539
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7540
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7541
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7542
+ };
7543
+ })());
7544
+ });
7545
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7546
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7547
+ });
7548
+ $.legacy_pre_effect_reset();
7549
+ $.init();
7550
+ FormField($$anchor, {
7551
+ get layerId() {
7552
+ return layerId();
7553
+ },
7554
+ get props() {
7555
+ return props();
7556
+ },
7557
+ children: ($$anchor$1, $$slotProps) => {
7558
+ var div = root_1$2();
7559
+ var select = $.child(div);
7560
+ $.template_effect(() => {
7561
+ $.get(value);
7562
+ $.invalidate_inner_signals(() => {
7563
+ props();
7564
+ });
7565
+ });
7566
+ var option_1 = $.child(select);
7567
+ option_1.value = null == (option_1.__value = "") ? "" : "";
7568
+ var text = $.child(option_1, true);
7569
+ $.reset(option_1);
7570
+ var node = $.sibling(option_1);
7571
+ $.each(node, 1, () => props().options, $.index, ($$anchor$2, option) => {
7572
+ var option_2 = root_2$2();
7573
+ var option_2_value = {};
7574
+ var text_1 = $.child(option_2, true);
7575
+ $.reset(option_2);
7576
+ $.template_effect(() => {
7577
+ if (option_2_value !== (option_2_value = $.get(option).value)) option_2.value = null == (option_2.__value = $.get(option).value) ? "" : $.get(option).value;
7578
+ $.set_text(text_1, $.get(option).label);
7579
+ });
7580
+ $.append($$anchor$2, option_2);
7581
+ });
7582
+ $.reset(select);
7583
+ $.reset(div);
7584
+ $.template_effect(($0) => {
7585
+ $.set_class(div, 1, $0, "svelte-p118m");
7586
+ $.set_style(div, $.get(style));
7587
+ $.set_attribute(select, "name", props().fieldName);
7588
+ $.set_text(text, props().placeholder ?? "選択してください");
7589
+ }, [() => $.clsx([
7590
+ "form-select",
7591
+ $.get(variant),
7592
+ $.get(size),
7593
+ $.get(isEmpty$1) ? "empty" : ""
7594
+ ].join(" "))], $.derived_safe_equal);
7595
+ $.bind_select_value(select, () => $.get(value), ($$value) => $.set(value, $$value));
7596
+ $.event("change", select, handleChange);
7597
+ $.append($$anchor$1, div);
7598
+ },
7599
+ $$slots: { default: true }
7600
+ });
7601
+ $.pop();
7602
+ }
7603
+
7604
+ //#endregion
7605
+ //#region src/components-flex/form/types.ts
7606
+ const FORM_FIELD_LABEL_SIZE = {
7607
+ small: "スモール",
7608
+ medium: "ミディアム",
7609
+ large: "ラージ"
7610
+ };
7611
+ const FORM_FIELD_LABEL_THEME = {
7612
+ default: "デフォルト",
7613
+ gray: "グレー",
7614
+ brand: "ブランド"
7615
+ };
7616
+ const FORM_FIELD_TYPE = {
7617
+ INPUT: "input",
7618
+ SELECT: "select",
7619
+ CHECKBOX: "checkbox",
7620
+ CHECKBOXES: "checkboxes",
7621
+ RADIOS: "radio",
7622
+ TEXTAREA: "textarea"
7623
+ };
7624
+ const FORM_FIELD_VARIANT = {
7625
+ outlined: "アウトライン",
7626
+ underlined: "アンダーライン",
7627
+ filled: "塗りつぶし"
7628
+ };
7629
+ const FORM_FIELD_VARIANT_FOR_CHECKER = {
7630
+ outlined: "アウトライン",
7631
+ filled: "塗りつぶし"
7632
+ };
7633
+ const FORM_FIELD_SIZE = {
7634
+ small: "スモール",
7635
+ medium: "ミディアム",
7636
+ large: "ラージ"
7637
+ };
7638
+ const FORM_INPUT_TYPE = {
7639
+ TEXT: "text",
7640
+ URL: "url",
7641
+ TEL: "tel",
7642
+ EMAIL: "email"
7643
+ };
7644
+
7645
+ //#endregion
7646
+ //#region src/components-flex/form/FormCheckboxes.svelte
7647
+ var root_2$1 = $.template(`<li><label class="form-checkbox svelte-rx48m9"><input type="checkbox" class="form-checkbox-input svelte-rx48m9"> <span class="form-checkbox-check svelte-rx48m9"><i class="form-checkbox-check-icon svelte-rx48m9"></i></span> <span class="form-checkbox-label svelte-rx48m9"> </span></label></li>`);
7648
+ var root_1$1 = $.template(`<ul></ul>`);
7649
+ const $$css$1 = {
7650
+ hash: "svelte-rx48m9",
7651
+ code: ".form-checkboxes.svelte-rx48m9 {position:relative;display:var(--checkboxes-display);flex-direction:var(--checkboxes-direction);flex-wrap:wrap;column-gap:var(--checkboxes-gap-x);row-gap:var(--checkboxes-gap-y);grid-template-columns:var(--checkboxes-grid-cols);width:100%;list-style:none;padding:2px 0;}.form-checkboxes.outlined.svelte-rx48m9 .form-checkbox-check:where(.svelte-rx48m9) {background-color:#fff;border:1px solid var(--border-color);}.form-checkboxes.filled.svelte-rx48m9 .form-checkbox-check:where(.svelte-rx48m9) {background-color:var(--background-color);border:1px solid var(--background-color);}.form-checkbox.svelte-rx48m9 {display:flex;align-items:center;gap:var(--checkbox-gap);cursor:pointer;}.form-checkbox-input.svelte-rx48m9 {appearance:none;margin:0;width:var(--checkbox-check-size);height:var(--checkbox-check-size);cursor:pointer;position:absolute;}.form-checkbox-check.svelte-rx48m9 {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--checkbox-check-size);height:var(--checkbox-check-size);border-radius:var(--checkbox-check-radius);transition:0.2s;}.form-checkbox-check-icon.svelte-rx48m9 {display:block;width:0.625em;height:0.375em;border-bottom:2px solid white;border-left:2px solid white;transform:translateY(-25%) rotate(-45deg);opacity:0;transition:0.2s;}.form-checkbox-label.svelte-rx48m9 {font-size:var(--checkbox-font-size);color:var(--font-color);white-space:nowrap;user-select:none;}.form-checkbox-input.svelte-rx48m9:checked ~ .form-checkbox-check:where(.svelte-rx48m9) {background-color:var(--accent-color);border-color:var(--accent-color);}.form-checkbox-input.svelte-rx48m9:checked ~ .form-checkbox-check:where(.svelte-rx48m9) .form-checkbox-check-icon:where(.svelte-rx48m9) {opacity:1;}"
7652
+ };
7653
+ function FormCheckboxes($$anchor, $$props) {
7654
+ $.push($$props, false);
7655
+ $.append_styles($$anchor, $$css$1);
7656
+ const variant = $.mutable_state();
7657
+ const size = $.mutable_state();
7658
+ const options = $.mutable_state();
7659
+ const variables$1 = $.mutable_state();
7660
+ const listStyles = $.mutable_state();
7661
+ const binding_group = [];
7662
+ let props = $.prop($$props, "props", 24, () => ({}));
7663
+ let layerId = $.prop($$props, "layerId", 8, "");
7664
+ useInjectCustomizeCss(props());
7665
+ const { brandKit } = useBrandKit();
7666
+ let values = $.mutable_state([]);
7667
+ const handleChange = () => {
7668
+ if (props().fieldName) {
7669
+ setFormFieldTouched(props().fieldName);
7670
+ setFormFieldValue(props().fieldName, $.get(values));
7671
+ }
7672
+ };
7673
+ onMount$1(() => {
7674
+ if (props().fieldName) $.set(values, getFormFieldValue(props().fieldName));
7675
+ });
7676
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), FORM_FIELD_VARIANT_FOR_CHECKER), () => {
7677
+ $.set(variant, props().variant && Object.keys(FORM_FIELD_VARIANT_FOR_CHECKER).includes(props().variant) ? props().variant : "outlined");
7678
+ });
7679
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7680
+ $.set(size, props().size ?? "medium");
7681
+ });
7682
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7683
+ $.set(options, (props().options ?? []).filter((v) => v.label && v.value));
7684
+ });
7685
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(size)), () => {
7686
+ $.set(variables$1, {
7687
+ "--checkboxes-display": props().layout === "grid" ? "grid" : "flex",
7688
+ "--checkboxes-direction": (() => {
7689
+ if (props().layout === "grid") return void 0;
7690
+ return props().layout === "horizontal" ? "row" : "column";
7691
+ })(),
7692
+ "--checkboxes-grid-cols": (() => {
7693
+ if (props().layout !== "grid") return void 0;
7694
+ return `repeat(${props().layoutGridCols ?? 1},minmax(0,1fr))`;
7695
+ })(),
7696
+ "--checkboxes-gap-y": props().layoutGapY ?? "0",
7697
+ "--checkboxes-gap-x": props().layoutGapX ?? "0",
7698
+ "--checkbox-font-size": (() => {
7699
+ if ($.get(size) === "small") return "12px";
7700
+ if ($.get(size) === "large") return "16px";
7701
+ return "14px";
7702
+ })(),
7703
+ "--checkbox-check-size": (() => {
7704
+ if ($.get(size) === "small") return "14x";
7705
+ if ($.get(size) === "large") return "20px";
7706
+ return "16px";
7707
+ })(),
7708
+ "--checkbox-check-radius": (() => {
7709
+ if ($.get(size) === "small") return "2px";
7710
+ if ($.get(size) === "large") return "6px";
7711
+ return "4px";
7712
+ })(),
7713
+ "--checkbox-gap": (() => {
7714
+ if ($.get(size) === "small") return "6px";
7715
+ if ($.get(size) === "large") return "12px";
7716
+ return "8px";
7717
+ })(),
7718
+ "--accent-color": props().accentColor || brandKit.color_brand,
7719
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7720
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7721
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7722
+ });
7723
+ });
7724
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7725
+ $.set(listStyles, objToStyle({ ...$.get(variables$1) }));
7726
+ });
7727
+ $.legacy_pre_effect_reset();
7728
+ $.init();
7729
+ FormField($$anchor, {
7730
+ get layerId() {
7731
+ return layerId();
7732
+ },
7733
+ get props() {
7734
+ return props();
7735
+ },
7736
+ children: ($$anchor$1, $$slotProps) => {
7737
+ var ul = root_1$1();
7738
+ $.each(ul, 5, () => $.get(options), $.index, ($$anchor$2, option) => {
7739
+ var li = root_2$1();
7740
+ var label = $.child(li);
7741
+ var input = $.child(label);
7742
+ $.remove_input_defaults(input);
7743
+ var input_value;
7744
+ var span = $.sibling(input, 4);
7745
+ var text = $.child(span, true);
7746
+ $.reset(span);
7747
+ $.reset(label);
7748
+ $.reset(li);
7749
+ $.template_effect(() => {
7750
+ if (input_value !== (input_value = $.get(option).value)) input.value = null == (input.__value = $.get(option).value) ? "" : $.get(option).value;
7751
+ $.set_attribute(input, "name", props().fieldName);
7752
+ $.set_text(text, $.get(option).label);
7753
+ });
7754
+ $.bind_group(binding_group, [], input, () => {
7755
+ $.get(option).value;
7756
+ return $.get(values);
7757
+ }, ($$value) => $.set(values, $$value));
7758
+ $.event("change", input, handleChange);
7759
+ $.append($$anchor$2, li);
7760
+ });
7761
+ $.reset(ul);
7762
+ $.template_effect(($0) => {
7763
+ $.set_class(ul, 1, $0, "svelte-rx48m9");
7764
+ $.set_style(ul, $.get(listStyles));
7765
+ }, [() => $.clsx([
7766
+ "form-checkboxes",
7767
+ $.get(variant),
7768
+ $.get(size)
7769
+ ].join(" "))], $.derived_safe_equal);
7770
+ $.append($$anchor$1, ul);
7771
+ },
7772
+ $$slots: { default: true }
7773
+ });
7774
+ $.pop();
7775
+ }
7776
+
7777
+ //#endregion
7778
+ //#region src/components-flex/form/FormRadios.svelte
7779
+ var root_2 = $.template(`<li><label class="form-radio svelte-ps4qqa"><input type="radio" class="form-radio-input svelte-ps4qqa"> <span class="form-radio-check svelte-ps4qqa"><i class="form-radio-check-icon svelte-ps4qqa"></i></span> <span class="form-radio-label svelte-ps4qqa"> </span></label></li>`);
7780
+ var root_1 = $.template(`<ul></ul>`);
7781
+ const $$css = {
7782
+ hash: "svelte-ps4qqa",
7783
+ code: ".form-radios.svelte-ps4qqa {position:relative;display:var(--radios-display);flex-direction:var(--radios-direction);flex-wrap:wrap;column-gap:var(--radios-gap-x);row-gap:var(--radios-gap-y);grid-template-columns:var(--radios-grid-cols);width:100%;list-style:none;padding:2px 0;}.form-radios.outlined.svelte-ps4qqa .form-radio-check:where(.svelte-ps4qqa) {background-color:#fff;border:1px solid var(--border-color);}.form-radios.filled.svelte-ps4qqa .form-radio-check:where(.svelte-ps4qqa) {background-color:var(--background-color);border:1px solid var(--background-color);}.form-radio.svelte-ps4qqa {display:flex;align-items:center;gap:var(--radio-gap);cursor:pointer;}.form-radio-input.svelte-ps4qqa {appearance:none;width:var(--radio-check-size);height:var(--radio-check-size);margin:0;cursor:pointer;position:absolute;}.form-radio-check.svelte-ps4qqa {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--radio-check-size);height:var(--radio-check-size);border-radius:100%;transition:0.2s;}.form-radio-check-icon.svelte-ps4qqa {display:block;width:var(--radio-check-icon-size);height:var(--radio-check-icon-size);border-radius:100%;background-color:var(--accent-color);opacity:0;transition:0.2s;}.form-radio-label.svelte-ps4qqa {font-size:var(--radio-font-size);color:var(--font-color);white-space:nowrap;user-select:none;}.form-radio-input.svelte-ps4qqa:checked ~ .form-radio-check:where(.svelte-ps4qqa) {border-color:var(--accent-color);}.form-radio-input.svelte-ps4qqa:checked ~ .form-radio-check:where(.svelte-ps4qqa) .form-radio-check-icon:where(.svelte-ps4qqa) {opacity:1;}"
7784
+ };
7785
+ function FormRadios($$anchor, $$props) {
7786
+ $.push($$props, false);
7787
+ $.append_styles($$anchor, $$css);
7788
+ const variant = $.mutable_state();
7789
+ const size = $.mutable_state();
7790
+ const options = $.mutable_state();
7791
+ const variables$1 = $.mutable_state();
7792
+ const listStyles = $.mutable_state();
7793
+ const binding_group = [];
7794
+ let props = $.prop($$props, "props", 24, () => ({}));
7795
+ let layerId = $.prop($$props, "layerId", 8, "");
7796
+ useInjectCustomizeCss(props());
7797
+ const { brandKit } = useBrandKit();
7798
+ let value = $.mutable_state("");
7799
+ const handleChange = () => {
7800
+ if (props().fieldName) {
7801
+ setFormFieldTouched(props().fieldName);
7802
+ setFormFieldValue(props().fieldName, $.get(value));
7803
+ }
7804
+ };
7805
+ onMount$1(() => {
7806
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7807
+ });
7808
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), FORM_FIELD_VARIANT_FOR_CHECKER), () => {
7809
+ $.set(variant, props().variant && Object.keys(FORM_FIELD_VARIANT_FOR_CHECKER).includes(props().variant) ? props().variant : "outlined");
7810
+ });
7811
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7812
+ $.set(size, props().size ?? "medium");
7813
+ });
7814
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7815
+ $.set(options, (props().options ?? []).filter((v) => v.label && v.value));
7816
+ });
7817
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(size)), () => {
7818
+ $.set(variables$1, {
7819
+ "--radios-display": props().layout === "grid" ? "grid" : "flex",
7820
+ "--radios-direction": (() => {
7821
+ if (props().layout === "grid") return void 0;
7822
+ return props().layout === "horizontal" ? "row" : "column";
7823
+ })(),
7824
+ "--radios-grid-cols": (() => {
7825
+ if (props().layout !== "grid") return void 0;
7826
+ return `repeat(${props().layoutGridCols ?? 1},minmax(0,1fr))`;
7827
+ })(),
7828
+ "--radios-gap-y": props().layoutGapY ?? "0",
7829
+ "--radios-gap-x": props().layoutGapX ?? "0",
7830
+ "--radio-font-size": (() => {
7831
+ if ($.get(size) === "small") return "12px";
7832
+ if ($.get(size) === "large") return "16px";
7833
+ return "14px";
7834
+ })(),
7835
+ "--radio-check-size": (() => {
7836
+ if ($.get(size) === "small") return "14px";
7837
+ if ($.get(size) === "large") return "20px";
7838
+ return "16px";
7839
+ })(),
7840
+ "--radio-check-icon-size": (() => {
7841
+ if ($.get(size) === "small") return "8px";
7842
+ if ($.get(size) === "large") return "14px";
7843
+ return "10px";
7844
+ })(),
7845
+ "--radio-check-radius": (() => {
7846
+ if ($.get(size) === "small") return "2px";
7847
+ if ($.get(size) === "large") return "6px";
7848
+ return "4px";
7849
+ })(),
7850
+ "--radio-gap": (() => {
7851
+ if ($.get(size) === "small") return "6px";
7852
+ if ($.get(size) === "large") return "12px";
7853
+ return "8px";
7854
+ })(),
7855
+ "--accent-color": props().accentColor || brandKit.color_brand,
7856
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7857
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7858
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7859
+ });
7860
+ });
7861
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7862
+ $.set(listStyles, objToStyle({ ...$.get(variables$1) }));
7863
+ });
7864
+ $.legacy_pre_effect_reset();
7865
+ $.init();
7866
+ FormField($$anchor, {
7867
+ get layerId() {
7868
+ return layerId();
7869
+ },
7870
+ get props() {
7871
+ return props();
7872
+ },
7873
+ children: ($$anchor$1, $$slotProps) => {
7874
+ var ul = root_1();
7875
+ $.each(ul, 5, () => $.get(options), $.index, ($$anchor$2, option) => {
7876
+ var li = root_2();
7877
+ var label = $.child(li);
7878
+ var input = $.child(label);
7879
+ $.remove_input_defaults(input);
7880
+ var input_value;
7881
+ var span = $.sibling(input, 4);
7882
+ var text = $.child(span, true);
7883
+ $.reset(span);
7884
+ $.reset(label);
7885
+ $.reset(li);
7886
+ $.template_effect(() => {
7887
+ if (input_value !== (input_value = $.get(option).value)) input.value = null == (input.__value = $.get(option).value) ? "" : $.get(option).value;
7888
+ $.set_attribute(input, "name", props().fieldName);
7889
+ $.set_text(text, $.get(option).label);
7890
+ });
7891
+ $.bind_group(binding_group, [], input, () => {
7892
+ $.get(option).value;
7893
+ return $.get(value);
7894
+ }, ($$value) => $.set(value, $$value));
7895
+ $.event("change", input, handleChange);
7896
+ $.append($$anchor$2, li);
7897
+ });
7898
+ $.reset(ul);
7899
+ $.template_effect(($0) => {
7900
+ $.set_class(ul, 1, $0, "svelte-ps4qqa");
7901
+ $.set_style(ul, $.get(listStyles));
7902
+ }, [() => $.clsx([
7903
+ "form-radios",
7904
+ $.get(variant),
7905
+ $.get(size)
7906
+ ].join(" "))], $.derived_safe_equal);
7907
+ $.append($$anchor$1, ul);
7908
+ },
7909
+ $$slots: { default: true }
7910
+ });
7911
+ $.pop();
7912
+ }
7913
+
6760
7914
  //#endregion
6761
7915
  //#region src/components-flex/shared/styles.ts
6762
7916
  const ROUND_STYLES = {
@@ -6965,4 +8119,4 @@ const flexComponentSchemes = {
6965
8119
  };
6966
8120
 
6967
8121
  //#endregion
6968
- export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, Alignments, AnimationStyles, BACKGROUND_COLOR_VARIANT, BACKGROUND_COLOR_VARIANTS, BORDER_COLOR_VARIANT, BORDER_COLOR_VARIANTS, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, IMAGE_ROUND_STYLES, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, avatarPropsDefault, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection, create, createApp, createFog, createProp, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, flexComponentSchemes, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getLogs, getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, useBrandKit, variables, widget_exports as widget };
8122
+ export { ACTION_HOOK_LABEL, ASPECT_VARIANT, ASPECT_VARIANTS, AVATAR_SHAPE, AVATAR_SIZE, AVATAR_SIZE_STYLES, Alignments, AnimationStyles, BACKGROUND_COLOR_VARIANT, BACKGROUND_COLOR_VARIANTS, BORDER_COLOR_VARIANT, BORDER_COLOR_VARIANTS, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_OUTLINED_ROUND_STYLES, BUTTON_OUTLINED_SIZE_STYLES, BUTTON_OUTLINED_WRAP_STYLES, BUTTON_ROUND, BUTTON_ROUND_STYLES, BUTTON_SIZE, BUTTON_SIZE_STYLES, BUTTON_TEXT_SIZE, BUTTON_TEXT_SIZE_STYLES, BUTTON_TEXT_THEME, BUTTON_THEME, BUTTON_VARIANT, BUTTON_WRAP_STYLES, BackgroundSizes, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, ClipPaths, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, FONT_FAMILY_VARIANT, FONT_FAMILY_VARIANTS, FONT_FAMILY_VARIANT_GROUPS, FORM_FIELD_LABEL_SIZE, FORM_FIELD_LABEL_THEME, FORM_FIELD_SIZE, FORM_FIELD_TYPE, FORM_FIELD_VARIANT, FORM_FIELD_VARIANT_FOR_CHECKER, FORM_INPUT_TYPE, Avatar as FlexAvatar, Button as FlexButton, ButtonOutlined as FlexButtonOutlined, ButtonText as FlexButtonText, ClipCopy as FlexClipCopy, CloseButton as FlexCloseButton, Code as FlexCode, CountDown as FlexCountDown, CountDownValue as FlexCountDownValue, FlexDirections, Embed as FlexEmbed, Form as FlexForm, FormCheckboxes as FlexFormCheckboxes, FormField as FlexFormField, FormInput as FlexFormInput, FormRadios as FlexFormRadios, FormSelect as FlexFormSelect, FormTextarea as FlexFormTextarea, Icon as FlexIcon, Image as FlexImage, Layout as FlexLayout, List as FlexList, ListItem as FlexListItem, Modal as FlexModal, MultiColumn as FlexMultiColumn, MultiColumnItem as FlexMultiColumnItem, RichText as FlexRichText, Slider as FlexSlider, SliderItem as FlexSliderItem, Text as FlexText, TextLink as FlexTextLink, Youtube as FlexYoutube, Fonts, FormIdentifyBooleanFields, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, ICON_SIZE, ICON_SIZE_STYLES, ICON_VARIANTS, IMAGE_ASPECT_VARIANTS, IMAGE_ROUND_SHAPE, IMAGE_ROUND_STYLES, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LIST_ITEM_CONTEXT_KEY, LengthUnits, ListBackgroundTypes, ListDirections, ListSeparatorTypes, MULTI_COLUMN_ITEM_CONTEXT_KEY, MediaQueries, ModalPositions, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, ROUND_STYLES, ROUND_VARIANT, Repeats, SHADOW_VARIANT, SHADOW_VARIANTS, SYSTEM_FONT, State, StateItem, TEXT_LINK_SIZE, TEXT_LINK_SIZE_STYLES, TEXT_LINK_THEME, TEXT_LINK_UNDERLINE, TEXT_STYLE, TEXT_THEME, TEXT_VARIANTS, TextDirections, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, avatarPropsDefault, beforeUpdate, buttonOutlinedPropsDefault, buttonPropsDefault, close, closeAction, collection, create, createApp, createFog, createProp, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, flexComponentSchemes, formData, formStore, formSubmittedValues, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getBrandKit, getButtonOutlinedThemeStyles, getButtonTextThemeStyles, getButtonThemeStyles, getCssVariables, getEventHandlers, getEvents, getFormErrors, getFormFieldSchema, getFormFieldState, getFormFieldValue, getFormValues, getLogs, getState, getStates, getSystem, getTextLinkThemeStyles, getTextThemeStyles, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onSubmitForm, onTime, registerFormField, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setFormFieldError, setFormFieldTouched, setFormFieldValue, setSetting, setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, unregisterFormField, useBrandKit, validateFormField, variables, widget_exports as widget };