@plaidev/karte-action-sdk 1.1.270-29170585.8999f4d3 → 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 +7 -14
@@ -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
@@ -1805,9 +1827,9 @@ function getCssVariables(data) {
1805
1827
  * @public
1806
1828
  */
1807
1829
  function getActionRoot() {
1808
- const root$46 = document.querySelector(`.${KARTE_ACTION_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
1809
- if (!root$46?.shadowRoot) return null;
1810
- return root$46.shadowRoot;
1830
+ const root$49 = document.querySelector(`.${KARTE_ACTION_ROOT}[data-${KARTE_ACTION_RID}='${actionId}']`);
1831
+ if (!root$49?.shadowRoot) return null;
1832
+ return root$49.shadowRoot;
1811
1833
  }
1812
1834
  /** @internal */
1813
1835
  function createModal(App, options = {
@@ -2089,8 +2111,8 @@ function createApp(App, options = {
2089
2111
  */
2090
2112
  function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
2091
2113
  console.log("createFog");
2092
- const root$46 = ensureModalRoot();
2093
- if (root$46.querySelector(".__krt-fog")) return {
2114
+ const root$49 = ensureModalRoot();
2115
+ if (root$49.querySelector(".__krt-fog")) return {
2094
2116
  fog: null,
2095
2117
  close: () => {}
2096
2118
  };
@@ -2111,7 +2133,7 @@ function createFog({ color = "#000", opacity = "50%", zIndex = 999, onclick }) {
2111
2133
  fog.remove();
2112
2134
  };
2113
2135
  fog.onclick = close$1;
2114
- root$46.appendChild(fog);
2136
+ root$49.appendChild(fog);
2115
2137
  return {
2116
2138
  fog,
2117
2139
  close: close$1
@@ -2404,18 +2426,18 @@ function createInputRegisterer(formData$1) {
2404
2426
  const registerInput = createInputRegisterer(formData);
2405
2427
  /** @internal */
2406
2428
  const registerIdentifyInput = createInputRegisterer(identifyFormData);
2407
- function createAnswerValue(value) {
2429
+ function createAnswerValue$1(value) {
2408
2430
  if (Array.isArray(value)) return { choices: value };
2409
2431
  else if (typeof value === "string") return { free_answer: value };
2410
2432
  }
2411
- function formDataToEventValues(campaignId, formData$1) {
2433
+ function formDataToEventValues$1(campaignId, formData$1) {
2412
2434
  const questions = [];
2413
2435
  const answersMap = {};
2414
2436
  Object.entries(formData$1).forEach(([name, dataItem]) => {
2415
2437
  questions.push(name);
2416
2438
  const value = dataItem.value;
2417
2439
  const answerKey = `question_${name}`;
2418
- const answerValue = createAnswerValue(value);
2440
+ const answerValue = createAnswerValue$1(value);
2419
2441
  answersMap[answerKey] = answerValue;
2420
2442
  });
2421
2443
  return { [campaignId]: {
@@ -2436,7 +2458,7 @@ function submit() {
2436
2458
  if (campaignId) {
2437
2459
  const formData$1 = get(formData);
2438
2460
  const identifyFormData$1 = get(identifyFormData);
2439
- const values = formDataToEventValues(campaignId, formData$1);
2461
+ const values = formDataToEventValues$1(campaignId, formData$1);
2440
2462
  const identifyValues = formDataToIdentifyEventValues(identifyFormData$1);
2441
2463
  if (Object.keys(identifyValues).length > 0) identifyValues["user_id"] = getVariables()?.[USER_ID_VARIABLE_NAME];
2442
2464
  return {
@@ -2508,7 +2530,7 @@ function removeAnswer(questionId) {
2508
2530
  function getAnsweredQuestion(questionId) {
2509
2531
  const formData$1 = get(formData);
2510
2532
  const valueState = formData$1[questionId];
2511
- if (valueState) return createAnswerValue(valueState.value);
2533
+ if (valueState) return createAnswerValue$1(valueState.value);
2512
2534
  }
2513
2535
  /**
2514
2536
  * 回答済の回答IDのリストを取得
@@ -2825,9 +2847,252 @@ const LAYOUT_COMPONENT_NAMES = [
2825
2847
  "StateItem"
2826
2848
  ];
2827
2849
 
2850
+ //#endregion
2851
+ //#region src/components-flex/form.ts
2852
+ /**
2853
+ * @internal
2854
+ */
2855
+ const formStore = writable({
2856
+ schemas: [],
2857
+ states: {}
2858
+ });
2859
+ const formSubmittedValues = writable({});
2860
+ /**
2861
+ * @public
2862
+ */
2863
+ const getFormFieldSchema = (name) => {
2864
+ const store = get(formStore);
2865
+ return store.schemas.find((v) => v.name === name) ?? void 0;
2866
+ };
2867
+ /**
2868
+ * @public
2869
+ */
2870
+ const getFormFieldState = (name) => {
2871
+ const store = get(formStore);
2872
+ return store.states[name] ?? void 0;
2873
+ };
2874
+ /**
2875
+ * @public
2876
+ */
2877
+ const getFormFieldValue = (name) => {
2878
+ console.log("getFormFieldValue", getFormFieldState(name)?.value ?? void 0);
2879
+ return getFormFieldState(name)?.value ?? void 0;
2880
+ };
2881
+ /**
2882
+ * @public
2883
+ */
2884
+ const getFormValues = () => {
2885
+ const store = get(formStore);
2886
+ return Object.fromEntries(Object.entries(store.states).map(([name, state$1]) => [name, state$1.value]));
2887
+ };
2888
+ /**
2889
+ * @public
2890
+ */
2891
+ const getFormErrors = () => {
2892
+ const store = get(formStore);
2893
+ return Object.fromEntries(Object.entries(store.states).map(([name, state$1]) => [name, state$1.errorMessage]));
2894
+ };
2895
+ /**
2896
+ * @public
2897
+ */
2898
+ const setFormFieldValue = (name, value) => {
2899
+ formStore.update((updater) => ({
2900
+ ...updater,
2901
+ states: (() => {
2902
+ const states$1 = { ...updater.states };
2903
+ if (!(name in states$1)) return states$1;
2904
+ states$1[name].value = value;
2905
+ if (states$1[name].value !== value) states$1[name].isDirty = true;
2906
+ const schema = updater.schemas.find((v) => v.name === name);
2907
+ if (schema) {
2908
+ const res = validateFormField(schema, value);
2909
+ states$1[name].isValid = res.isValid;
2910
+ states$1[name].errorMessage = res.error;
2911
+ }
2912
+ return states$1;
2913
+ })()
2914
+ }));
2915
+ formSubmittedValues.update((updater) => ({
2916
+ ...updater,
2917
+ [name]: value
2918
+ }));
2919
+ };
2920
+ /**
2921
+ * @public
2922
+ */
2923
+ const setFormFieldError = (name, errorMessage) => {
2924
+ formStore.update((updater) => ({
2925
+ ...updater,
2926
+ states: {
2927
+ ...updater.states,
2928
+ [name]: {
2929
+ ...updater.states[name],
2930
+ errorMessage,
2931
+ isValid: errorMessage !== null
2932
+ }
2933
+ }
2934
+ }));
2935
+ };
2936
+ /**
2937
+ * @public
2938
+ */
2939
+ const setFormFieldTouched = (name) => {
2940
+ formStore.update((updater) => ({
2941
+ ...updater,
2942
+ states: {
2943
+ ...updater.states,
2944
+ [name]: {
2945
+ ...updater.states[name],
2946
+ isTouched: true
2947
+ }
2948
+ }
2949
+ }));
2950
+ };
2951
+ /**
2952
+ * @public
2953
+ */
2954
+ const registerFormField = (schemas) => {
2955
+ schemas = Array.isArray(schemas) ? schemas : [schemas];
2956
+ formStore.update((updater) => ({
2957
+ schemas: (() => {
2958
+ const resultSchemes = [...updater.schemas];
2959
+ schemas.forEach((schema) => {
2960
+ const index = resultSchemes.findIndex((rSchema) => rSchema.name === schema.name);
2961
+ if (index >= 0) resultSchemes[index] = {
2962
+ name: schema.name,
2963
+ defaultValue: schema.defaultValue,
2964
+ type: schema.type,
2965
+ required: schema.required,
2966
+ statePath: getState()
2967
+ };
2968
+ else resultSchemes.push({
2969
+ name: schema.name,
2970
+ defaultValue: schema.defaultValue,
2971
+ type: schema.type,
2972
+ required: schema.required,
2973
+ statePath: getState()
2974
+ });
2975
+ });
2976
+ return resultSchemes;
2977
+ })(),
2978
+ states: (() => {
2979
+ const states$1 = { ...updater.states };
2980
+ const submittedValues = get(formSubmittedValues);
2981
+ schemas.forEach((field) => {
2982
+ if (!(field.name in states$1) && field.name) {
2983
+ states$1[field.name] = {
2984
+ isDirty: false,
2985
+ isValid: false,
2986
+ isTouched: false,
2987
+ value: (() => {
2988
+ if (submittedValues[field.name]) return submittedValues[field.name];
2989
+ if (field.type === "checkboxes") return Array.isArray(field.defaultValue) ? field.defaultValue : [];
2990
+ else return typeof field.defaultValue === "string" ? field.defaultValue : "";
2991
+ })(),
2992
+ errorMessage: null
2993
+ };
2994
+ console.log(`register ${field.name}`, JSON.stringify(states$1[field.name]));
2995
+ }
2996
+ });
2997
+ return states$1;
2998
+ })()
2999
+ }));
3000
+ };
3001
+ /**
3002
+ * @public
3003
+ */
3004
+ const unregisterFormField = (fieldNames) => {
3005
+ fieldNames = typeof fieldNames === "string" ? [fieldNames] : fieldNames;
3006
+ formStore.update((updater) => ({
3007
+ schemas: (() => {
3008
+ return updater.schemas.filter((v) => !fieldNames.some((name) => name === v.name));
3009
+ })(),
3010
+ states: (() => {
3011
+ const states$1 = { ...updater.states };
3012
+ fieldNames.forEach((name) => {
3013
+ if (name in states$1) delete states$1[name];
3014
+ });
3015
+ return states$1;
3016
+ })()
3017
+ }));
3018
+ };
3019
+ const validateFormField = (schema, value) => {
3020
+ const store = get(formStore);
3021
+ if (schema.required) {
3022
+ if (schema.type === "checkboxes") {
3023
+ if (value.length === 0) return {
3024
+ isValid: false,
3025
+ error: "1つ以上選択してください"
3026
+ };
3027
+ } else if (typeof value !== "string" || value.trim() === "") return {
3028
+ isValid: false,
3029
+ error: "入力してください"
3030
+ };
3031
+ }
3032
+ return {
3033
+ isValid: true,
3034
+ error: void 0
3035
+ };
3036
+ };
3037
+ function createAnswerValue(value) {
3038
+ if (Array.isArray(value)) return { choices: value };
3039
+ else if (typeof value === "string") return { free_answer: value };
3040
+ }
3041
+ function formDataToEventValues(campaignId, formData$1) {
3042
+ const questions = [];
3043
+ const answersMap = {};
3044
+ Object.entries(formData$1).forEach(([name, value]) => {
3045
+ questions.push(name);
3046
+ const answerKey = `question_${name}`;
3047
+ answersMap[answerKey] = createAnswerValue(value);
3048
+ });
3049
+ return { [campaignId]: {
3050
+ questions,
3051
+ ...answersMap
3052
+ } };
3053
+ }
3054
+ /**
3055
+ * @public
3056
+ */
3057
+ function onSubmitForm(fn) {
3058
+ const systemConfig = getSystem();
3059
+ const campaignId = systemConfig.campaignId;
3060
+ if (campaignId) {
3061
+ let hasInvalid = false;
3062
+ const formData$1 = get(formStore);
3063
+ const currentState = getState();
3064
+ const currentStateSchemas = formData$1.schemas.filter((v) => v.statePath === currentState);
3065
+ for (const schema of currentStateSchemas) {
3066
+ const { isValid, error: error$1 } = validateFormField(schema, formData$1.states[schema.name]?.value);
3067
+ setFormFieldError(schema.name, isValid ? null : error$1);
3068
+ if (!isValid) hasInvalid = true;
3069
+ }
3070
+ formStore.update((updater) => ({
3071
+ ...updater,
3072
+ states: (() => {
3073
+ const states$1 = { ...updater.states };
3074
+ currentStateSchemas.forEach((schema) => {
3075
+ states$1[schema.name].isTouched = true;
3076
+ });
3077
+ return states$1;
3078
+ })()
3079
+ }));
3080
+ if (hasInvalid) return;
3081
+ const values = getFormValues();
3082
+ formSubmittedValues.update((updater) => ({
3083
+ ...updater,
3084
+ ...values
3085
+ }));
3086
+ fn({
3087
+ currentStateValues: formDataToEventValues(campaignId, values),
3088
+ allValues: formDataToEventValues(campaignId, get(formSubmittedValues))
3089
+ });
3090
+ }
3091
+ }
3092
+
2828
3093
  //#endregion
2829
3094
  //#region src/components-flex/state/Header.svelte
2830
- var root_2$5 = $.template(`<link type="text/css" rel="stylesheet">`);
3095
+ var root_2$9 = $.template(`<link type="text/css" rel="stylesheet">`);
2831
3096
  function Header($$anchor, $$props) {
2832
3097
  $.push($$props, false);
2833
3098
  const [$$stores, $$cleanup] = $.setup_stores();
@@ -2847,7 +3112,7 @@ function Header($$anchor, $$props) {
2847
3112
  var node = $.first_child(fragment);
2848
3113
  {
2849
3114
  var consequent = ($$anchor$2) => {
2850
- var link = root_2$5();
3115
+ var link = root_2$9();
2851
3116
  $.template_effect(() => $.set_attribute(link, "href", $.get(googleFontUrl)));
2852
3117
  $.append($$anchor$2, link);
2853
3118
  };
@@ -2866,14 +3131,20 @@ function Header($$anchor, $$props) {
2866
3131
  const BRAND_KIT_DEFAULT = {
2867
3132
  font_family: "sans-serif, serif, monospace, system-ui",
2868
3133
  color_text_primary: "#222222",
2869
- color_text_secondary: "#555555",
3134
+ color_text_secondary: "#666666",
2870
3135
  color_brand: "#33403e",
2871
3136
  color_link: "#1558d6",
2872
3137
  color_danger: "#f44336",
2873
3138
  color_warning: "#ffa726",
2874
3139
  color_success: "#10b981",
2875
3140
  color_info: "#29b6f6",
2876
- color_white: "#FFFFFF"
3141
+ color_white: "#FFFFFF",
3142
+ color_form_field_placeholder: "#CCCCCC",
3143
+ color_form_field_border: "#DBDBDB",
3144
+ color_form_field_focused_border: "",
3145
+ color_form_field_focused_background: "",
3146
+ color_form_field_accent: "",
3147
+ color_form_field_background: "#f5f5f5"
2877
3148
  };
2878
3149
  const getBrandKit = (customBrandKit) => {
2879
3150
  return {
@@ -2886,7 +3157,13 @@ const getBrandKit = (customBrandKit) => {
2886
3157
  color_warning: customBrandKit?.color_warning ?? BRAND_KIT_DEFAULT.color_warning,
2887
3158
  color_success: customBrandKit?.color_success ?? BRAND_KIT_DEFAULT.color_success,
2888
3159
  color_info: customBrandKit?.color_info ?? BRAND_KIT_DEFAULT.color_info,
2889
- color_white: customBrandKit?.color_white ?? BRAND_KIT_DEFAULT.color_white
3160
+ color_white: customBrandKit?.color_white ?? BRAND_KIT_DEFAULT.color_white,
3161
+ color_form_field_placeholder: customBrandKit?.color_form_field_placeholder ?? BRAND_KIT_DEFAULT.color_form_field_placeholder,
3162
+ color_form_field_border: customBrandKit?.color_form_field_border ?? BRAND_KIT_DEFAULT.color_form_field_border,
3163
+ color_form_field_focused_border: customBrandKit?.color_form_field_focused_border ?? BRAND_KIT_DEFAULT.color_form_field_focused_border,
3164
+ color_form_field_background: customBrandKit?.color_form_field_background ?? BRAND_KIT_DEFAULT.color_form_field_background,
3165
+ color_form_field_focused_background: customBrandKit?.color_form_field_focused_background ?? BRAND_KIT_DEFAULT.color_form_field_focused_background,
3166
+ color_form_field_accent: customBrandKit?.color_form_field_accent ?? BRAND_KIT_DEFAULT.color_form_field_accent
2890
3167
  };
2891
3168
  };
2892
3169
  const useBrandKit = () => {
@@ -2895,13 +3172,13 @@ const useBrandKit = () => {
2895
3172
 
2896
3173
  //#endregion
2897
3174
  //#region src/components-flex/state/State.svelte
2898
- var root$45 = $.template(`<!> <!>`, 1);
3175
+ var root$48 = $.template(`<!> <!>`, 1);
2899
3176
  function State($$anchor, $$props) {
2900
3177
  $.push($$props, false);
2901
3178
  let customBrandKit = $.prop($$props, "customBrandKit", 8, void 0);
2902
3179
  setContext("brandKit", getBrandKit(customBrandKit()));
2903
3180
  $.init();
2904
- var fragment = root$45();
3181
+ var fragment = root$48();
2905
3182
  var node = $.first_child(fragment);
2906
3183
  Header(node, {});
2907
3184
  var node_1 = $.sibling(node, 2);
@@ -2913,14 +3190,14 @@ function State($$anchor, $$props) {
2913
3190
  //#endregion
2914
3191
  //#region src/components-flex/state/StateItem.svelte
2915
3192
  const STATE_ITEM_CONTEXT_KEY = Symbol();
2916
- var root_1$9 = $.template(`<div class="state-item svelte-2qb6dm"></div> <!>`, 1);
2917
- const $$css$23 = {
3193
+ var root_1$15 = $.template(`<div class="state-item svelte-2qb6dm"></div> <!>`, 1);
3194
+ const $$css$31 = {
2918
3195
  hash: "svelte-2qb6dm",
2919
3196
  code: ".state-item.svelte-2qb6dm {position:absolute;display:none;}"
2920
3197
  };
2921
3198
  function StateItem($$anchor, $$props) {
2922
3199
  $.push($$props, false);
2923
- $.append_styles($$anchor, $$css$23);
3200
+ $.append_styles($$anchor, $$css$31);
2924
3201
  const [$$stores, $$cleanup] = $.setup_stores();
2925
3202
  const $state = () => $.store_get(state, "$state", $$stores);
2926
3203
  let path = $.prop($$props, "path", 8);
@@ -2934,7 +3211,7 @@ function StateItem($$anchor, $$props) {
2934
3211
  var node = $.first_child(fragment);
2935
3212
  {
2936
3213
  var consequent = ($$anchor$1) => {
2937
- var fragment_1 = root_1$9();
3214
+ var fragment_1 = root_1$15();
2938
3215
  var div = $.first_child(fragment_1);
2939
3216
  var node_1 = $.sibling(div, 2);
2940
3217
  $.slot(node_1, $$props, "default", {}, null);
@@ -3298,6 +3575,23 @@ const submitForm = (to) => () => {
3298
3575
  _moveTo(to);
3299
3576
  };
3300
3577
  /** @internal */
3578
+ const submitFormProgress = (to) => () => {
3579
+ onSubmitForm(({ currentStateValues }) => {
3580
+ send_event("_answer_question_progress", {
3581
+ ...currentStateValues,
3582
+ state: getState()
3583
+ });
3584
+ _moveTo(to);
3585
+ });
3586
+ };
3587
+ /** @internal */
3588
+ const submitFormFinal = (to) => () => {
3589
+ onSubmitForm(({ allValues }) => {
3590
+ send_event("_answer_question", allValues);
3591
+ _moveTo(to);
3592
+ });
3593
+ };
3594
+ /** @internal */
3301
3595
  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) => () => {
3302
3596
  const options = {
3303
3597
  hide_launcher,
@@ -3325,6 +3619,8 @@ const execOnClickOperation = (onClickOperation) => {
3325
3619
  else if (onClickOperation.operation === "closeApp") closeApp(onClickOperation.args[0] || "button")();
3326
3620
  else if (onClickOperation.operation === "runScript") runScript(onClickOperation.args[0])();
3327
3621
  else if (onClickOperation.operation === "submitForm") submitForm(onClickOperation.args[0])();
3622
+ else if (onClickOperation.operation === "submitFormFinal") submitFormFinal(onClickOperation.args[0])();
3623
+ else if (onClickOperation.operation === "submitFormProgress") submitFormProgress(onClickOperation.args[0])();
3328
3624
  else if (onClickOperation.operation === "bootChat") bootChat(...onClickOperation.args)();
3329
3625
  };
3330
3626
  function getAnimation(animation) {
@@ -3456,14 +3752,22 @@ var useClickable_default = useClickable;
3456
3752
  //#region src/hooks/useInjectCustomizeCss.ts
3457
3753
  const useInjectCustomizeCss = (props) => {
3458
3754
  function injectCss() {
3459
- const modalElement = document.querySelector(`.${KARTE_MODAL_ROOT}`);
3755
+ const modalElements = Array.from(document.querySelectorAll(`.${KARTE_MODAL_ROOT}`));
3460
3756
  const style = document.createElement("style");
3757
+ let headAppended = false;
3461
3758
  style.textContent = props.customizeCss;
3462
- if (modalElement?.shadowRoot) modalElement.shadowRoot.appendChild(style);
3463
- else document.head.appendChild(style);
3759
+ modalElements.forEach((modalElement) => {
3760
+ if (modalElement?.shadowRoot) modalElement.shadowRoot.appendChild(style);
3761
+ else if (!headAppended) {
3762
+ document.head.appendChild(style);
3763
+ headAppended = true;
3764
+ }
3765
+ });
3464
3766
  return () => {
3465
- if (modalElement?.shadowRoot) modalElement.shadowRoot.removeChild(style);
3466
- else document.head.removeChild(style);
3767
+ modalElements.forEach((modalElement) => {
3768
+ if (modalElement?.shadowRoot) modalElement.shadowRoot.removeChild(style);
3769
+ else document.head.removeChild(style);
3770
+ });
3467
3771
  };
3468
3772
  }
3469
3773
  onMount(() => {
@@ -3502,14 +3806,14 @@ const AVATAR_SIZE_STYLES = {
3502
3806
 
3503
3807
  //#endregion
3504
3808
  //#region src/components-flex/avatar/Avatar.svelte
3505
- var root_1$8 = $.template(`<img class="avatar-image svelte-1xhdr99">`);
3506
- const $$css$22 = {
3809
+ var root_1$14 = $.template(`<img class="avatar-image svelte-1xhdr99">`);
3810
+ const $$css$30 = {
3507
3811
  hash: "svelte-1xhdr99",
3508
3812
  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;}"
3509
3813
  };
3510
3814
  function Avatar($$anchor, $$props) {
3511
3815
  $.push($$props, false);
3512
- $.append_styles($$anchor, $$css$22);
3816
+ $.append_styles($$anchor, $$css$30);
3513
3817
  const styleObj = $.mutable_state();
3514
3818
  const style = $.mutable_state();
3515
3819
  const imgStyle = $.mutable_state();
@@ -3564,14 +3868,15 @@ function Avatar($$anchor, $$props) {
3564
3868
  var node = $.first_child(fragment);
3565
3869
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
3566
3870
  let attributes_1;
3567
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
3871
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
3568
3872
  ...attributes,
3569
- class: "avatar",
3873
+ id: props().id,
3874
+ class: $0,
3570
3875
  style: $.get(style),
3571
3876
  "data-layer-id": layerId()
3572
- }, "svelte-1xhdr99"));
3877
+ }, "svelte-1xhdr99"), [() => ["avatar", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
3573
3878
  $.event("click", $$element, handleClick);
3574
- var img = root_1$8();
3879
+ var img = root_1$14();
3575
3880
  $.template_effect(() => {
3576
3881
  $.set_attribute(img, "src", props().image);
3577
3882
  $.set_attribute(img, "alt", props().alt);
@@ -3633,10 +3938,10 @@ const buttonPropsDefault = {
3633
3938
 
3634
3939
  //#endregion
3635
3940
  //#region src/components-flex/icon/variants/IconArrowDown.svelte
3636
- 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>`);
3941
+ 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>`);
3637
3942
  function IconArrowDown($$anchor, $$props) {
3638
3943
  let color = $.prop($$props, "color", 8);
3639
- var svg = root$44();
3944
+ var svg = root$47();
3640
3945
  var path = $.child(svg);
3641
3946
  $.reset(svg);
3642
3947
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3645,10 +3950,10 @@ function IconArrowDown($$anchor, $$props) {
3645
3950
 
3646
3951
  //#endregion
3647
3952
  //#region src/components-flex/icon/variants/IconArrowUp.svelte
3648
- 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>`);
3953
+ 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>`);
3649
3954
  function IconArrowUp($$anchor, $$props) {
3650
3955
  let color = $.prop($$props, "color", 8);
3651
- var svg = root$43();
3956
+ var svg = root$46();
3652
3957
  var path = $.child(svg);
3653
3958
  $.reset(svg);
3654
3959
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3657,10 +3962,10 @@ function IconArrowUp($$anchor, $$props) {
3657
3962
 
3658
3963
  //#endregion
3659
3964
  //#region src/components-flex/icon/variants/IconUsers.svelte
3660
- 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>`);
3965
+ 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>`);
3661
3966
  function IconUsers($$anchor, $$props) {
3662
3967
  let color = $.prop($$props, "color", 8);
3663
- var svg = root$42();
3968
+ var svg = root$45();
3664
3969
  var path = $.child(svg);
3665
3970
  $.reset(svg);
3666
3971
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3669,10 +3974,10 @@ function IconUsers($$anchor, $$props) {
3669
3974
 
3670
3975
  //#endregion
3671
3976
  //#region src/components-flex/icon/variants/IconArrowLeft.svelte
3672
- 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>`);
3977
+ 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>`);
3673
3978
  function IconArrowLeft($$anchor, $$props) {
3674
3979
  let color = $.prop($$props, "color", 8);
3675
- var svg = root$41();
3980
+ var svg = root$44();
3676
3981
  var path = $.child(svg);
3677
3982
  $.reset(svg);
3678
3983
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3681,10 +3986,10 @@ function IconArrowLeft($$anchor, $$props) {
3681
3986
 
3682
3987
  //#endregion
3683
3988
  //#region src/components-flex/icon/variants/IconArrowRight.svelte
3684
- 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>`);
3989
+ 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>`);
3685
3990
  function IconArrowRight($$anchor, $$props) {
3686
3991
  let color = $.prop($$props, "color", 8);
3687
- var svg = root$40();
3992
+ var svg = root$43();
3688
3993
  var path = $.child(svg);
3689
3994
  $.reset(svg);
3690
3995
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3693,10 +3998,10 @@ function IconArrowRight($$anchor, $$props) {
3693
3998
 
3694
3999
  //#endregion
3695
4000
  //#region src/components-flex/icon/variants/IconBell.svelte
3696
- 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>`);
4001
+ 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>`);
3697
4002
  function IconBell($$anchor, $$props) {
3698
4003
  let color = $.prop($$props, "color", 8);
3699
- var svg = root$39();
4004
+ var svg = root$42();
3700
4005
  var path = $.child(svg);
3701
4006
  $.reset(svg);
3702
4007
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3705,10 +4010,10 @@ function IconBell($$anchor, $$props) {
3705
4010
 
3706
4011
  //#endregion
3707
4012
  //#region src/components-flex/icon/variants/IconArrowUpFromSquare.svelte
3708
- 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>`);
4013
+ 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>`);
3709
4014
  function IconArrowUpFromSquare($$anchor, $$props) {
3710
4015
  let color = $.prop($$props, "color", 8);
3711
- var svg = root$38();
4016
+ var svg = root$41();
3712
4017
  var path = $.child(svg);
3713
4018
  $.reset(svg);
3714
4019
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3717,10 +4022,10 @@ function IconArrowUpFromSquare($$anchor, $$props) {
3717
4022
 
3718
4023
  //#endregion
3719
4024
  //#region src/components-flex/icon/variants/IconTicket.svelte
3720
- 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>`);
4025
+ 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>`);
3721
4026
  function IconTicket($$anchor, $$props) {
3722
4027
  let color = $.prop($$props, "color", 8);
3723
- var svg = root$37();
4028
+ var svg = root$40();
3724
4029
  var path = $.child(svg);
3725
4030
  $.reset(svg);
3726
4031
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3729,10 +4034,10 @@ function IconTicket($$anchor, $$props) {
3729
4034
 
3730
4035
  //#endregion
3731
4036
  //#region src/components-flex/icon/variants/IconTrack.svelte
3732
- 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>`);
4037
+ 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>`);
3733
4038
  function IconTrack($$anchor, $$props) {
3734
4039
  let color = $.prop($$props, "color", 8);
3735
- var svg = root$36();
4040
+ var svg = root$39();
3736
4041
  var path = $.child(svg);
3737
4042
  $.reset(svg);
3738
4043
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3741,10 +4046,10 @@ function IconTrack($$anchor, $$props) {
3741
4046
 
3742
4047
  //#endregion
3743
4048
  //#region src/components-flex/icon/variants/IconCartShopping.svelte
3744
- 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>`);
4049
+ 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>`);
3745
4050
  function IconCartShopping($$anchor, $$props) {
3746
4051
  let color = $.prop($$props, "color", 8);
3747
- var svg = root$35();
4052
+ var svg = root$38();
3748
4053
  var path = $.child(svg);
3749
4054
  $.reset(svg);
3750
4055
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3753,10 +4058,10 @@ function IconCartShopping($$anchor, $$props) {
3753
4058
 
3754
4059
  //#endregion
3755
4060
  //#region src/components-flex/icon/variants/IconCircle.svelte
3756
- 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>`);
4061
+ 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>`);
3757
4062
  function IconCircle($$anchor, $$props) {
3758
4063
  let color = $.prop($$props, "color", 8);
3759
- var svg = root$34();
4064
+ var svg = root$37();
3760
4065
  var path = $.child(svg);
3761
4066
  $.reset(svg);
3762
4067
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3765,10 +4070,10 @@ function IconCircle($$anchor, $$props) {
3765
4070
 
3766
4071
  //#endregion
3767
4072
  //#region src/components-flex/icon/variants/IconCircleQuestion.svelte
3768
- 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>`);
4073
+ 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>`);
3769
4074
  function IconCircleQuestion($$anchor, $$props) {
3770
4075
  let color = $.prop($$props, "color", 8);
3771
- var svg = root$33();
4076
+ var svg = root$36();
3772
4077
  var path = $.child(svg);
3773
4078
  $.reset(svg);
3774
4079
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3777,10 +4082,10 @@ function IconCircleQuestion($$anchor, $$props) {
3777
4082
 
3778
4083
  //#endregion
3779
4084
  //#region src/components-flex/icon/variants/IconCheck.svelte
3780
- 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>`);
4085
+ 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>`);
3781
4086
  function IconCheck($$anchor, $$props) {
3782
4087
  let color = $.prop($$props, "color", 8);
3783
- var svg = root$32();
4088
+ var svg = root$35();
3784
4089
  var path = $.child(svg);
3785
4090
  $.reset(svg);
3786
4091
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3789,10 +4094,10 @@ function IconCheck($$anchor, $$props) {
3789
4094
 
3790
4095
  //#endregion
3791
4096
  //#region src/components-flex/icon/variants/IconXMark.svelte
3792
- 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>`);
4097
+ 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>`);
3793
4098
  function IconXMark($$anchor, $$props) {
3794
4099
  let color = $.prop($$props, "color", 8);
3795
- var svg = root$31();
4100
+ var svg = root$34();
3796
4101
  var path = $.child(svg);
3797
4102
  $.reset(svg);
3798
4103
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3801,10 +4106,10 @@ function IconXMark($$anchor, $$props) {
3801
4106
 
3802
4107
  //#endregion
3803
4108
  //#region src/components-flex/icon/variants/IconPaperPlane.svelte
3804
- 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>`);
4109
+ 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>`);
3805
4110
  function IconPaperPlane($$anchor, $$props) {
3806
4111
  let color = $.prop($$props, "color", 8);
3807
- var svg = root$30();
4112
+ var svg = root$33();
3808
4113
  var path = $.child(svg);
3809
4114
  $.reset(svg);
3810
4115
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3813,10 +4118,10 @@ function IconPaperPlane($$anchor, $$props) {
3813
4118
 
3814
4119
  //#endregion
3815
4120
  //#region src/components-flex/icon/variants/IconCopy.svelte
3816
- 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>`);
4121
+ 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>`);
3817
4122
  function IconCopy($$anchor, $$props) {
3818
4123
  let color = $.prop($$props, "color", 8);
3819
- var svg = root$29();
4124
+ var svg = root$32();
3820
4125
  var path = $.child(svg);
3821
4126
  $.reset(svg);
3822
4127
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3825,10 +4130,10 @@ function IconCopy($$anchor, $$props) {
3825
4130
 
3826
4131
  //#endregion
3827
4132
  //#region src/components-flex/icon/variants/IconCircleXMark.svelte
3828
- 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>`);
4133
+ 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>`);
3829
4134
  function IconCircleXMark($$anchor, $$props) {
3830
4135
  let color = $.prop($$props, "color", 8);
3831
- var svg = root$28();
4136
+ var svg = root$31();
3832
4137
  var path = $.child(svg);
3833
4138
  $.reset(svg);
3834
4139
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3837,10 +4142,10 @@ function IconCircleXMark($$anchor, $$props) {
3837
4142
 
3838
4143
  //#endregion
3839
4144
  //#region src/components-flex/icon/variants/IconHeart.svelte
3840
- 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>`);
4145
+ 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>`);
3841
4146
  function IconHeart($$anchor, $$props) {
3842
4147
  let color = $.prop($$props, "color", 8);
3843
- var svg = root$27();
4148
+ var svg = root$30();
3844
4149
  var path = $.child(svg);
3845
4150
  $.reset(svg);
3846
4151
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3849,10 +4154,10 @@ function IconHeart($$anchor, $$props) {
3849
4154
 
3850
4155
  //#endregion
3851
4156
  //#region src/components-flex/icon/variants/IconMagnifyingGrass.svelte
3852
- 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>`);
4157
+ 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>`);
3853
4158
  function IconMagnifyingGrass($$anchor, $$props) {
3854
4159
  let color = $.prop($$props, "color", 8);
3855
- var svg = root$26();
4160
+ var svg = root$29();
3856
4161
  var path = $.child(svg);
3857
4162
  $.reset(svg);
3858
4163
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3861,10 +4166,10 @@ function IconMagnifyingGrass($$anchor, $$props) {
3861
4166
 
3862
4167
  //#endregion
3863
4168
  //#region src/components-flex/icon/variants/IconStar.svelte
3864
- 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>`);
4169
+ 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>`);
3865
4170
  function IconStar($$anchor, $$props) {
3866
4171
  let color = $.prop($$props, "color", 8);
3867
- var svg = root$25();
4172
+ var svg = root$28();
3868
4173
  var path = $.child(svg);
3869
4174
  $.reset(svg);
3870
4175
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3873,10 +4178,10 @@ function IconStar($$anchor, $$props) {
3873
4178
 
3874
4179
  //#endregion
3875
4180
  //#region src/components-flex/icon/variants/IconCircleInfo.svelte
3876
- 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>`);
4181
+ 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>`);
3877
4182
  function IconCircleInfo($$anchor, $$props) {
3878
4183
  let color = $.prop($$props, "color", 8);
3879
- var svg = root$24();
4184
+ var svg = root$27();
3880
4185
  var path = $.child(svg);
3881
4186
  $.reset(svg);
3882
4187
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3885,10 +4190,10 @@ function IconCircleInfo($$anchor, $$props) {
3885
4190
 
3886
4191
  //#endregion
3887
4192
  //#region src/components-flex/icon/variants/IconEnvelope.svelte
3888
- 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>`);
4193
+ 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>`);
3889
4194
  function IconEnvelope($$anchor, $$props) {
3890
4195
  let color = $.prop($$props, "color", 8);
3891
- var svg = root$23();
4196
+ var svg = root$26();
3892
4197
  var path = $.child(svg);
3893
4198
  $.reset(svg);
3894
4199
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3897,10 +4202,10 @@ function IconEnvelope($$anchor, $$props) {
3897
4202
 
3898
4203
  //#endregion
3899
4204
  //#region src/components-flex/icon/variants/IconGift.svelte
3900
- 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>`);
4205
+ 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>`);
3901
4206
  function IconGift($$anchor, $$props) {
3902
4207
  let color = $.prop($$props, "color", 8);
3903
- var svg = root$22();
4208
+ var svg = root$25();
3904
4209
  var path = $.child(svg);
3905
4210
  $.reset(svg);
3906
4211
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3909,10 +4214,10 @@ function IconGift($$anchor, $$props) {
3909
4214
 
3910
4215
  //#endregion
3911
4216
  //#region src/components-flex/icon/variants/IconPaperclip.svelte
3912
- 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>`);
4217
+ 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>`);
3913
4218
  function IconPaperclip($$anchor, $$props) {
3914
4219
  let color = $.prop($$props, "color", 8);
3915
- var svg = root$21();
4220
+ var svg = root$24();
3916
4221
  var path = $.child(svg);
3917
4222
  $.reset(svg);
3918
4223
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3921,10 +4226,10 @@ function IconPaperclip($$anchor, $$props) {
3921
4226
 
3922
4227
  //#endregion
3923
4228
  //#region src/components-flex/icon/variants/IconFire.svelte
3924
- 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>`);
4229
+ 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>`);
3925
4230
  function IconFire($$anchor, $$props) {
3926
4231
  let color = $.prop($$props, "color", 8);
3927
- var svg = root$20();
4232
+ var svg = root$23();
3928
4233
  var path = $.child(svg);
3929
4234
  $.reset(svg);
3930
4235
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3933,10 +4238,10 @@ function IconFire($$anchor, $$props) {
3933
4238
 
3934
4239
  //#endregion
3935
4240
  //#region src/components-flex/icon/variants/IconLink.svelte
3936
- 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>`);
4241
+ 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>`);
3937
4242
  function IconLink($$anchor, $$props) {
3938
4243
  let color = $.prop($$props, "color", 8);
3939
- var svg = root$19();
4244
+ var svg = root$22();
3940
4245
  var path = $.child(svg);
3941
4246
  $.reset(svg);
3942
4247
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3945,10 +4250,10 @@ function IconLink($$anchor, $$props) {
3945
4250
 
3946
4251
  //#endregion
3947
4252
  //#region src/components-flex/icon/variants/IconBuildings.svelte
3948
- 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>`);
4253
+ 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>`);
3949
4254
  function IconBuildings($$anchor, $$props) {
3950
4255
  let color = $.prop($$props, "color", 8);
3951
- var svg = root$18();
4256
+ var svg = root$21();
3952
4257
  var path = $.child(svg);
3953
4258
  $.reset(svg);
3954
4259
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3957,10 +4262,10 @@ function IconBuildings($$anchor, $$props) {
3957
4262
 
3958
4263
  //#endregion
3959
4264
  //#region src/components-flex/icon/variants/IconChevronsRight.svelte
3960
- 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>`);
4265
+ 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>`);
3961
4266
  function IconChevronsRight($$anchor, $$props) {
3962
4267
  let color = $.prop($$props, "color", 8);
3963
- var svg = root$17();
4268
+ var svg = root$20();
3964
4269
  var path = $.child(svg);
3965
4270
  $.reset(svg);
3966
4271
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3969,10 +4274,10 @@ function IconChevronsRight($$anchor, $$props) {
3969
4274
 
3970
4275
  //#endregion
3971
4276
  //#region src/components-flex/icon/variants/IconChevronRight.svelte
3972
- 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>`);
4277
+ 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>`);
3973
4278
  function IconChevronRight($$anchor, $$props) {
3974
4279
  let color = $.prop($$props, "color", 8);
3975
- var svg = root$16();
4280
+ var svg = root$19();
3976
4281
  var path = $.child(svg);
3977
4282
  $.reset(svg);
3978
4283
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3981,10 +4286,10 @@ function IconChevronRight($$anchor, $$props) {
3981
4286
 
3982
4287
  //#endregion
3983
4288
  //#region src/components-flex/icon/variants/IconPhone.svelte
3984
- 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>`);
4289
+ 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>`);
3985
4290
  function IconPhone($$anchor, $$props) {
3986
4291
  let color = $.prop($$props, "color", 8);
3987
- var svg = root$15();
4292
+ var svg = root$18();
3988
4293
  var path = $.child(svg);
3989
4294
  $.reset(svg);
3990
4295
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -3993,10 +4298,10 @@ function IconPhone($$anchor, $$props) {
3993
4298
 
3994
4299
  //#endregion
3995
4300
  //#region src/components-flex/icon/variants/IconLocationDot.svelte
3996
- 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>`);
4301
+ 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>`);
3997
4302
  function IconLocationDot($$anchor, $$props) {
3998
4303
  let color = $.prop($$props, "color", 8);
3999
- var svg = root$14();
4304
+ var svg = root$17();
4000
4305
  var path = $.child(svg);
4001
4306
  $.reset(svg);
4002
4307
  $.template_effect(() => $.set_attribute(path, "fill", color()));
@@ -4071,13 +4376,13 @@ const ICON_VARIANTS = {
4071
4376
 
4072
4377
  //#endregion
4073
4378
  //#region src/components-flex/icon/Icon.svelte
4074
- const $$css$21 = {
4379
+ const $$css$29 = {
4075
4380
  hash: "svelte-1kl9m59",
4076
4381
  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;}"
4077
4382
  };
4078
4383
  function Icon($$anchor, $$props) {
4079
4384
  $.push($$props, false);
4080
- $.append_styles($$anchor, $$css$21);
4385
+ $.append_styles($$anchor, $$css$29);
4081
4386
  const style = $.mutable_state();
4082
4387
  const IconComponent = $.mutable_state();
4083
4388
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4106,12 +4411,13 @@ function Icon($$anchor, $$props) {
4106
4411
  var node = $.first_child(fragment);
4107
4412
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4108
4413
  let attributes_1;
4109
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
4414
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4110
4415
  ...attributes,
4111
- class: "icon",
4416
+ id: props().id,
4417
+ class: $0,
4112
4418
  style: $.get(style),
4113
4419
  "data-layer-id": layerId()
4114
- }, "svelte-1kl9m59"));
4420
+ }, "svelte-1kl9m59"), [() => ["icon", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4115
4421
  $.event("click", $$element, handleClick);
4116
4422
  var fragment_1 = $.comment();
4117
4423
  var node_1 = $.first_child(fragment_1);
@@ -4296,15 +4602,15 @@ function darkenColor(color, percent) {
4296
4602
 
4297
4603
  //#endregion
4298
4604
  //#region src/components-flex/button/Button.svelte
4299
- var root_2$4 = $.template(`<div class="button-icon svelte-l0rauj"><!></div>`);
4300
- var root_1$7 = $.template(`<!> <span class="button-label"> </span>`, 1);
4301
- const $$css$20 = {
4605
+ var root_2$8 = $.template(`<div class="button-icon svelte-l0rauj"><!></div>`);
4606
+ var root_1$13 = $.template(`<!> <span class="button-label"> </span>`, 1);
4607
+ const $$css$28 = {
4302
4608
  hash: "svelte-l0rauj",
4303
4609
  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;}"
4304
4610
  };
4305
4611
  function Button($$anchor, $$props) {
4306
4612
  $.push($$props, false);
4307
- $.append_styles($$anchor, $$css$20);
4613
+ $.append_styles($$anchor, $$css$28);
4308
4614
  const variables$1 = $.mutable_state();
4309
4615
  const style = $.mutable_state();
4310
4616
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4378,19 +4684,20 @@ function Button($$anchor, $$props) {
4378
4684
  var node = $.first_child(fragment);
4379
4685
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4380
4686
  let attributes_1;
4381
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
4687
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4382
4688
  ...attributes,
4383
- class: "button",
4689
+ id: props().id,
4690
+ class: $0,
4384
4691
  style: $.get(style),
4385
4692
  "data-layer-id": layerId(),
4386
4693
  "data-variant": variant
4387
- }, "svelte-l0rauj"));
4694
+ }, "svelte-l0rauj"), [() => ["button", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4388
4695
  $.event("click", $$element, handleClick);
4389
- var fragment_1 = root_1$7();
4696
+ var fragment_1 = root_1$13();
4390
4697
  var node_1 = $.first_child(fragment_1);
4391
4698
  {
4392
4699
  var consequent = ($$anchor$2) => {
4393
- var div = root_2$4();
4700
+ var div = root_2$8();
4394
4701
  var node_2 = $.child(div);
4395
4702
  const expression = $.derived_safe_equal(() => ({
4396
4703
  variant: props().iconVariant,
@@ -4513,15 +4820,15 @@ const BUTTON_OUTLINED_WRAP_STYLES = {
4513
4820
 
4514
4821
  //#endregion
4515
4822
  //#region src/components-flex/button-outlined/ButtonOutlined.svelte
4516
- var root_2$3 = $.template(`<div class="button-outlined-icon svelte-z8gomx"><!></div>`);
4517
- var root_1$6 = $.template(`<!> <span class="button-outlined-label svelte-z8gomx"> </span>`, 1);
4518
- const $$css$19 = {
4823
+ var root_2$7 = $.template(`<div class="button-outlined-icon svelte-z8gomx"><!></div>`);
4824
+ var root_1$12 = $.template(`<!> <span class="button-outlined-label svelte-z8gomx"> </span>`, 1);
4825
+ const $$css$27 = {
4519
4826
  hash: "svelte-z8gomx",
4520
4827
  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;}"
4521
4828
  };
4522
4829
  function ButtonOutlined($$anchor, $$props) {
4523
4830
  $.push($$props, false);
4524
- $.append_styles($$anchor, $$css$19);
4831
+ $.append_styles($$anchor, $$css$27);
4525
4832
  const variables$1 = $.mutable_state();
4526
4833
  const style = $.mutable_state();
4527
4834
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4570,11 +4877,11 @@ function ButtonOutlined($$anchor, $$props) {
4570
4877
  "data-layer-id": layerId()
4571
4878
  }, "svelte-z8gomx"));
4572
4879
  $.event("click", $$element, handleClick);
4573
- var fragment_1 = root_1$6();
4880
+ var fragment_1 = root_1$12();
4574
4881
  var node_1 = $.first_child(fragment_1);
4575
4882
  {
4576
4883
  var consequent = ($$anchor$2) => {
4577
- var div = root_2$3();
4884
+ var div = root_2$7();
4578
4885
  var node_2 = $.child(div);
4579
4886
  const expression = $.derived_safe_equal(() => ({
4580
4887
  variant: props().iconVariant,
@@ -4662,15 +4969,15 @@ const getButtonTextThemeStyles = getPropStyles(callback$2);
4662
4969
 
4663
4970
  //#endregion
4664
4971
  //#region src/components-flex/button-text/ButtonText.svelte
4665
- var root_2$2 = $.template(`<div class="button-text-icon svelte-l90o4j"><!></div>`);
4666
- var root_1$5 = $.template(`<!> <span class="button-text-label svelte-l90o4j"> </span>`, 1);
4667
- const $$css$18 = {
4972
+ var root_2$6 = $.template(`<div class="button-text-icon svelte-l90o4j"><!></div>`);
4973
+ var root_1$11 = $.template(`<!> <span class="button-text-label svelte-l90o4j"> </span>`, 1);
4974
+ const $$css$26 = {
4668
4975
  hash: "svelte-l90o4j",
4669
4976
  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;}"
4670
4977
  };
4671
4978
  function ButtonText($$anchor, $$props) {
4672
4979
  $.push($$props, false);
4673
- $.append_styles($$anchor, $$css$18);
4980
+ $.append_styles($$anchor, $$css$26);
4674
4981
  const variables$1 = $.mutable_state();
4675
4982
  const style = $.mutable_state();
4676
4983
  let props = $.prop($$props, "props", 24, () => ({}));
@@ -4713,11 +5020,11 @@ function ButtonText($$anchor, $$props) {
4713
5020
  "data-layer-id": layerId()
4714
5021
  }, "svelte-l90o4j"));
4715
5022
  $.event("click", $$element, handleClick);
4716
- var fragment_1 = root_1$5();
5023
+ var fragment_1 = root_1$11();
4717
5024
  var node_1 = $.first_child(fragment_1);
4718
5025
  {
4719
5026
  var consequent = ($$anchor$2) => {
4720
- var div = root_2$2();
5027
+ var div = root_2$6();
4721
5028
  var node_2 = $.child(div);
4722
5029
  const expression = $.derived_safe_equal(() => ({
4723
5030
  variant: props().iconVariant,
@@ -4779,15 +5086,15 @@ const getTextThemeStyles = getPropStyles(callback$1);
4779
5086
 
4780
5087
  //#endregion
4781
5088
  //#region src/components-flex/close-button/CloseButton.svelte
4782
- var root_2$1 = $.template(`<span></span>`);
4783
- 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);
4784
- const $$css$17 = {
5089
+ var root_2$5 = $.template(`<span></span>`);
5090
+ 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);
5091
+ const $$css$25 = {
4785
5092
  hash: "svelte-18wmfyq",
4786
5093
  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;}"
4787
5094
  };
4788
5095
  function CloseButton($$anchor, $$props) {
4789
5096
  $.push($$props, false);
4790
- $.append_styles($$anchor, $$css$17);
5097
+ $.append_styles($$anchor, $$css$25);
4791
5098
  const hasLabel = $.mutable_state();
4792
5099
  const styleObj = $.mutable_state();
4793
5100
  const style = $.mutable_state();
@@ -4801,7 +5108,7 @@ function CloseButton($$anchor, $$props) {
4801
5108
  let eventValue = $.prop($$props, "eventValue", 8, void 0);
4802
5109
  const { brandKit } = useBrandKit();
4803
5110
  useInjectCustomizeCss(props());
4804
- const { attributes, element, handleClick } = useClickable_default({
5111
+ const { attributes, element, handleClick } = useClickable_default(props().onClick ? props() : {
4805
5112
  onClick: {
4806
5113
  operation: "closeApp",
4807
5114
  args: ["button"]
@@ -4891,14 +5198,15 @@ function CloseButton($$anchor, $$props) {
4891
5198
  var node = $.first_child(fragment);
4892
5199
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
4893
5200
  let attributes_1;
4894
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5201
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
4895
5202
  ...attributes,
4896
- class: `close-button ${isLeftLabelPlacement ? "close-button-order-two" : ""}`,
5203
+ id: props().id,
5204
+ class: $0,
4897
5205
  "data-layer-id": layerId(),
4898
5206
  style: $.get(style)
4899
- }, "svelte-18wmfyq"));
5207
+ }, "svelte-18wmfyq"), [() => [`close-button ${isLeftLabelPlacement ? "close-button-order-two" : ""}`, ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
4900
5208
  $.event("click", $$element, handleClick);
4901
- var fragment_1 = root_1$4();
5209
+ var fragment_1 = root_1$10();
4902
5210
  var span = $.first_child(fragment_1);
4903
5211
  var svg = $.child(span);
4904
5212
  $.set_attribute(svg, "fill", color);
@@ -4906,7 +5214,7 @@ function CloseButton($$anchor, $$props) {
4906
5214
  var node_1 = $.sibling(span, 2);
4907
5215
  {
4908
5216
  var consequent = ($$anchor$2) => {
4909
- var span_1 = root_2$1();
5217
+ var span_1 = root_2$5();
4910
5218
  $.set_class(span_1, 1, `close-button-label ${isLeftLabelPlacement ? "close-button-order-one" : ""}`, "svelte-18wmfyq");
4911
5219
  span_1.textContent = label;
4912
5220
  $.template_effect(() => $.set_style(span_1, $.get(labelStyle)));
@@ -4999,14 +5307,14 @@ const IMAGE_ROUND_STYLES = {
4999
5307
 
5000
5308
  //#endregion
5001
5309
  //#region src/components-flex/image/Image.svelte
5002
- var root_1$3 = $.template(`<img class="image-img svelte-1olvu11">`);
5003
- const $$css$16 = {
5310
+ var root_1$9 = $.template(`<img class="image-img svelte-1olvu11">`);
5311
+ const $$css$24 = {
5004
5312
  hash: "svelte-1olvu11",
5005
5313
  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;}"
5006
5314
  };
5007
5315
  function Image($$anchor, $$props) {
5008
5316
  $.push($$props, false);
5009
- $.append_styles($$anchor, $$css$16);
5317
+ $.append_styles($$anchor, $$css$24);
5010
5318
  const styleObj = $.mutable_state();
5011
5319
  const style = $.mutable_state();
5012
5320
  const imgStyle = $.mutable_state();
@@ -5051,14 +5359,15 @@ function Image($$anchor, $$props) {
5051
5359
  var node = $.first_child(fragment);
5052
5360
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5053
5361
  let attributes_1;
5054
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5362
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5055
5363
  ...attributes,
5056
- class: "image",
5364
+ id: props().id,
5365
+ class: $0,
5057
5366
  style: $.get(style),
5058
5367
  "data-layer-id": layerId()
5059
- }, "svelte-1olvu11"));
5368
+ }, "svelte-1olvu11"), [() => ["image", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5060
5369
  $.event("click", $$element, handleClick);
5061
- var img = root_1$3();
5370
+ var img = root_1$9();
5062
5371
  $.template_effect(() => {
5063
5372
  $.set_attribute(img, "src", props().image);
5064
5373
  $.set_attribute(img, "alt", props().alt);
@@ -5092,13 +5401,13 @@ const IMAGE_ASPECT_VARIANTS = {
5092
5401
 
5093
5402
  //#endregion
5094
5403
  //#region src/components-flex/layout/Layout.svelte
5095
- const $$css$15 = {
5404
+ const $$css$23 = {
5096
5405
  hash: "svelte-1o103hp",
5097
5406
  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;}"
5098
5407
  };
5099
5408
  function Layout($$anchor, $$props) {
5100
5409
  $.push($$props, false);
5101
- $.append_styles($$anchor, $$css$15);
5410
+ $.append_styles($$anchor, $$css$23);
5102
5411
  const style = $.mutable_state();
5103
5412
  let props = $.prop($$props, "props", 24, () => ({}));
5104
5413
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -5114,6 +5423,7 @@ function Layout($$anchor, $$props) {
5114
5423
  rowGap: props().rowGap ?? props().gap,
5115
5424
  columnGap: props().columnGap ?? props().gap,
5116
5425
  width: props().width,
5426
+ maxWidth: props().maxWidth,
5117
5427
  height: props().height,
5118
5428
  ...toCssOverflow(props()),
5119
5429
  ...toCssShadow(props()),
@@ -5130,12 +5440,13 @@ function Layout($$anchor, $$props) {
5130
5440
  var node = $.first_child(fragment);
5131
5441
  $.element(node, () => "div", false, ($$element, $$anchor$1) => {
5132
5442
  let attributes_1;
5133
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
5443
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5134
5444
  ...attributes,
5135
- class: "layout",
5445
+ id: props().id,
5446
+ class: $0,
5136
5447
  style: $.get(style),
5137
5448
  "data-layer-id": layerId()
5138
- }, "svelte-1o103hp"));
5449
+ }, "svelte-1o103hp"), [() => ["layout", ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5139
5450
  $.event("click", $$element, handleClick);
5140
5451
  var fragment_1 = $.comment();
5141
5452
  var node_1 = $.first_child(fragment_1);
@@ -5174,15 +5485,15 @@ const LAYOUT_JUSTIFY = [
5174
5485
 
5175
5486
  //#endregion
5176
5487
  //#region src/components-flex/slider/Slider.svelte
5177
- var root_1$2 = $.template(`<button><i></i></button>`);
5178
- 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>`);
5179
- const $$css$14 = {
5488
+ var root_1$8 = $.template(`<button><i></i></button>`);
5489
+ var root$16 = $.template(`<div><div class="slider-container svelte-wwv1o"><ul class="slider-list svelte-wwv1o"><!></ul></div> <div></div></div>`);
5490
+ const $$css$22 = {
5180
5491
  hash: "svelte-wwv1o",
5181
5492
  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;}"
5182
5493
  };
5183
5494
  function Slider($$anchor, $$props) {
5184
5495
  $.push($$props, false);
5185
- $.append_styles($$anchor, $$css$14);
5496
+ $.append_styles($$anchor, $$css$22);
5186
5497
  const indicators = $.mutable_state();
5187
5498
  const itemWidthPercentage = $.mutable_state();
5188
5499
  const baseContainerStyle = $.mutable_state();
@@ -5345,7 +5656,7 @@ function Slider($$anchor, $$props) {
5345
5656
  });
5346
5657
  $.legacy_pre_effect_reset();
5347
5658
  $.init();
5348
- var div = root$13();
5659
+ var div = root$16();
5349
5660
  var div_1 = $.child(div);
5350
5661
  var ul = $.child(div_1);
5351
5662
  var node = $.child(ul);
@@ -5356,7 +5667,7 @@ function Slider($$anchor, $$props) {
5356
5667
  $.bind_this(div_1, ($$value) => $.set(containerElement, $$value), () => $.get(containerElement));
5357
5668
  var div_2 = $.sibling(div_1, 2);
5358
5669
  $.each(div_2, 5, () => $.get(indicators) ?? [], $.index, ($$anchor$1, indicator, i) => {
5359
- var button = root_1$2();
5670
+ var button = root_1$8();
5360
5671
  var i_1 = $.child(button);
5361
5672
  $.reset(button);
5362
5673
  $.template_effect(($0, $1) => {
@@ -5375,11 +5686,13 @@ function Slider($$anchor, $$props) {
5375
5686
  });
5376
5687
  $.reset(div_2);
5377
5688
  $.reset(div);
5378
- $.template_effect(($0) => {
5689
+ $.template_effect(($0, $1) => {
5690
+ $.set_attribute(div, "id", props().id);
5691
+ $.set_class(div, 1, $0, "svelte-wwv1o");
5379
5692
  $.set_attribute(div, "data-layer-id", layerId());
5380
- $.set_style(ul, $0);
5693
+ $.set_style(ul, $1);
5381
5694
  $.set_style(div_2, $.get(indicatorListStyle));
5382
- }, [() => [$.get(containerStyle), overrideStyle()].join(" ")], $.derived_safe_equal);
5695
+ }, [() => $.clsx(["slider", ...props().classNames ?? []].join(" ")), () => [$.get(containerStyle), overrideStyle()].join(" ")], $.derived_safe_equal);
5383
5696
  $.event("mousedown", div_1, handleMousedown);
5384
5697
  $.event("touchstart", div_1, handleTouchstart);
5385
5698
  $.append($$anchor, div);
@@ -5388,20 +5701,20 @@ function Slider($$anchor, $$props) {
5388
5701
 
5389
5702
  //#endregion
5390
5703
  //#region src/components-flex/slider/SliderItem.svelte
5391
- var root$12 = $.template(`<li class="slider-item svelte-1m93md9"><!></li>`);
5392
- const $$css$13 = {
5704
+ var root$15 = $.template(`<li><!></li>`);
5705
+ const $$css$21 = {
5393
5706
  hash: "svelte-1m93md9",
5394
5707
  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;}"
5395
5708
  };
5396
5709
  function SliderItem($$anchor, $$props) {
5397
5710
  $.push($$props, false);
5398
- $.append_styles($$anchor, $$css$13);
5711
+ $.append_styles($$anchor, $$css$21);
5399
5712
  let layerId = $.prop($$props, "layerId", 8);
5400
5713
  let props = $.prop($$props, "props", 8);
5401
5714
  useInjectCustomizeCss(props());
5402
5715
  const { attributes, element, handleClick } = useClickable_default(props());
5403
5716
  $.init();
5404
- var li = root$12();
5717
+ var li = root$15();
5405
5718
  var node = $.child(li);
5406
5719
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5407
5720
  let attributes_1;
@@ -5416,7 +5729,11 @@ function SliderItem($$anchor, $$props) {
5416
5729
  $.append($$anchor$1, fragment);
5417
5730
  });
5418
5731
  $.reset(li);
5419
- $.template_effect(() => $.set_attribute(li, "data-layer-id", layerId()));
5732
+ $.template_effect(($0) => {
5733
+ $.set_attribute(li, "data-layer-id", layerId());
5734
+ $.set_attribute(li, "id", props().id);
5735
+ $.set_class(li, 1, $0, "svelte-1m93md9");
5736
+ }, [() => $.clsx(["slider-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5420
5737
  $.append($$anchor, li);
5421
5738
  $.pop();
5422
5739
  }
@@ -5463,14 +5780,14 @@ const TEXT_VARIANTS = { size: {
5463
5780
 
5464
5781
  //#endregion
5465
5782
  //#region src/components-flex/text/Text.svelte
5466
- var root$11 = $.template(`<p class="text svelte-vifn7y"><!></p>`);
5467
- const $$css$12 = {
5783
+ var root$14 = $.template(`<p><!></p>`);
5784
+ const $$css$20 = {
5468
5785
  hash: "svelte-vifn7y",
5469
5786
  code: ".text.svelte-vifn7y {margin:0;word-break:break-all;text-decoration:none;}"
5470
5787
  };
5471
5788
  function Text($$anchor, $$props) {
5472
5789
  $.push($$props, false);
5473
- $.append_styles($$anchor, $$css$12);
5790
+ $.append_styles($$anchor, $$css$20);
5474
5791
  const escapedHTML = $.mutable_state();
5475
5792
  const style = $.mutable_state();
5476
5793
  let props = $.prop($$props, "props", 24, () => ({ content: "" }));
@@ -5545,28 +5862,30 @@ function Text($$anchor, $$props) {
5545
5862
  });
5546
5863
  $.legacy_pre_effect_reset();
5547
5864
  $.init();
5548
- var p = root$11();
5865
+ var p = root$14();
5549
5866
  var node = $.child(p);
5550
5867
  $.html(node, () => $.get(escapedHTML), false, false);
5551
5868
  $.reset(p);
5552
- $.template_effect(() => {
5869
+ $.template_effect(($0) => {
5870
+ $.set_class(p, 1, $0, "svelte-vifn7y");
5871
+ $.set_attribute(p, "id", props().id);
5553
5872
  $.set_attribute(p, "data-layer-id", layerId());
5554
5873
  $.set_style(p, $.get(style));
5555
- });
5874
+ }, [() => $.clsx(["text", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5556
5875
  $.append($$anchor, p);
5557
5876
  $.pop();
5558
5877
  }
5559
5878
 
5560
5879
  //#endregion
5561
5880
  //#region src/components-flex/rich-text/RichText.svelte
5562
- var root$10 = $.template(`<div class="rich-text svelte-dxr423"><!></div>`);
5563
- const $$css$11 = {
5881
+ var root$13 = $.template(`<div><!></div>`);
5882
+ const $$css$19 = {
5564
5883
  hash: "svelte-dxr423",
5565
5884
  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;}"
5566
5885
  };
5567
5886
  function RichText($$anchor, $$props) {
5568
5887
  $.push($$props, false);
5569
- $.append_styles($$anchor, $$css$11);
5888
+ $.append_styles($$anchor, $$css$19);
5570
5889
  const style = $.mutable_state();
5571
5890
  let props = $.prop($$props, "props", 24, () => ({ content: "" }));
5572
5891
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -5617,14 +5936,16 @@ function RichText($$anchor, $$props) {
5617
5936
  });
5618
5937
  $.legacy_pre_effect_reset();
5619
5938
  $.init();
5620
- var div = root$10();
5939
+ var div = root$13();
5621
5940
  var node = $.child(div);
5622
5941
  $.html(node, () => props().content, false, false);
5623
5942
  $.reset(div);
5624
- $.template_effect(() => {
5943
+ $.template_effect(($0) => {
5944
+ $.set_attribute(div, "id", props().id);
5945
+ $.set_class(div, 1, $0, "svelte-dxr423");
5625
5946
  $.set_style(div, $.get(style));
5626
5947
  $.set_attribute(div, "data-layer-id", layerId());
5627
- });
5948
+ }, [() => $.clsx(["rich-text", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
5628
5949
  $.append($$anchor, div);
5629
5950
  $.pop();
5630
5951
  }
@@ -5683,14 +6004,14 @@ const getTextLinkThemeStyles = getPropStyles(callback);
5683
6004
 
5684
6005
  //#endregion
5685
6006
  //#region src/components-flex/text-link/TextLink.svelte
5686
- var root_1$1 = $.template(`<!> <span><!></span>`, 1);
5687
- const $$css$10 = {
6007
+ var root_1$7 = $.template(`<!> <span><!></span>`, 1);
6008
+ const $$css$18 = {
5688
6009
  hash: "svelte-dc9m5n",
5689
6010
  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;}"
5690
6011
  };
5691
6012
  function TextLink($$anchor, $$props) {
5692
6013
  $.push($$props, false);
5693
- $.append_styles($$anchor, $$css$10);
6014
+ $.append_styles($$anchor, $$css$18);
5694
6015
  const escapedHTML = $.mutable_state();
5695
6016
  const variables$1 = $.mutable_state();
5696
6017
  const style = $.mutable_state();
@@ -5749,14 +6070,15 @@ function TextLink($$anchor, $$props) {
5749
6070
  var node = $.first_child(fragment);
5750
6071
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
5751
6072
  let attributes_1;
5752
- $.template_effect(() => attributes_1 = $.set_attributes($$element, attributes_1, {
6073
+ $.template_effect(($0) => attributes_1 = $.set_attributes($$element, attributes_1, {
5753
6074
  ...attributes,
5754
- class: `link ${underlineClass}`,
6075
+ id: props().id,
6076
+ class: $0,
5755
6077
  style: $.get(style),
5756
6078
  "data-layer-id": layerId()
5757
- }, "svelte-dc9m5n"));
6079
+ }, "svelte-dc9m5n"), [() => [`link ${underlineClass}`, ...props().classNames ?? []].join(" ")], $.derived_safe_equal);
5758
6080
  $.event("click", $$element, handleClick);
5759
- var fragment_1 = root_1$1();
6081
+ var fragment_1 = root_1$7();
5760
6082
  var node_1 = $.first_child(fragment_1);
5761
6083
  {
5762
6084
  var consequent = ($$anchor$2) => {
@@ -5808,14 +6130,14 @@ const TEXT_LINK_UNDERLINE = {
5808
6130
 
5809
6131
  //#endregion
5810
6132
  //#region src/components-flex/background-overlay/BackgroundOverlay.svelte
5811
- var root_1 = $.template(`<div></div>`);
5812
- const $$css$9 = {
6133
+ var root_1$6 = $.template(`<div></div>`);
6134
+ const $$css$17 = {
5813
6135
  hash: "svelte-18nkdjz",
5814
6136
  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;}"
5815
6137
  };
5816
6138
  function BackgroundOverlay($$anchor, $$props) {
5817
6139
  $.push($$props, false);
5818
- $.append_styles($$anchor, $$css$9);
6140
+ $.append_styles($$anchor, $$css$17);
5819
6141
  let backgroundOverlay = $.prop($$props, "backgroundOverlay", 8, false);
5820
6142
  let className = $.prop($$props, "class", 8, void 0);
5821
6143
  const dispatch = createEventDispatcher();
@@ -5824,7 +6146,7 @@ function BackgroundOverlay($$anchor, $$props) {
5824
6146
  var node = $.first_child(fragment);
5825
6147
  {
5826
6148
  var consequent = ($$anchor$1) => {
5827
- var div = root_1();
6149
+ var div = root_1$6();
5828
6150
  $.template_effect(($0) => $.set_class(div, 1, $0, "svelte-18nkdjz"), [() => $.clsx(["v2-background", className() || ""].join(" "))], $.derived_safe_equal);
5829
6151
  $.event("click", div, () => dispatch("click"));
5830
6152
  $.append($$anchor$1, div);
@@ -5839,16 +6161,16 @@ function BackgroundOverlay($$anchor, $$props) {
5839
6161
 
5840
6162
  //#endregion
5841
6163
  //#region src/components-flex/modal/Modal.svelte
5842
- var root_2 = $.template(`<!> <!>`, 1);
6164
+ var root_2$4 = $.template(`<!> <!>`, 1);
5843
6165
  var root_4 = $.template(`<div role="dialog" aria-modal="true"><!></div>`);
5844
- var root$9 = $.template(`<!> <!>`, 1);
5845
- const $$css$8 = {
6166
+ var root$12 = $.template(`<!> <!>`, 1);
6167
+ const $$css$16 = {
5846
6168
  hash: "svelte-45ue06",
5847
6169
  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 }"
5848
6170
  };
5849
6171
  function Modal($$anchor, $$props) {
5850
6172
  $.push($$props, false);
5851
- $.append_styles($$anchor, $$css$8);
6173
+ $.append_styles($$anchor, $$css$16);
5852
6174
  const close$1 = $.mutable_state();
5853
6175
  const backgroundClick = $.mutable_state();
5854
6176
  const backgroundClickPC = $.mutable_state();
@@ -5976,6 +6298,7 @@ function Modal($$anchor, $$props) {
5976
6298
  });
5977
6299
  const propsStyle = objToStyle({
5978
6300
  width: props().width,
6301
+ ...toCssPadding(props()),
5979
6302
  ...toCssOverflow(props()),
5980
6303
  ...toCssShadow(props()),
5981
6304
  ...toCssRadius(props()),
@@ -5995,7 +6318,7 @@ function Modal($$anchor, $$props) {
5995
6318
  });
5996
6319
  $.legacy_pre_effect_reset();
5997
6320
  $.init();
5998
- var fragment = root$9();
6321
+ var fragment = root$12();
5999
6322
  $.event("keydown", $.window, function(...$$args) {
6000
6323
  $.get(handle_keydown)?.apply(this, $$args);
6001
6324
  });
@@ -6005,7 +6328,7 @@ function Modal($$anchor, $$props) {
6005
6328
  var alternate = ($$anchor$1, $$elseif) => {
6006
6329
  {
6007
6330
  var consequent_1 = ($$anchor$2) => {
6008
- var fragment_1 = root_2();
6331
+ var fragment_1 = root_2$4();
6009
6332
  var node_1 = $.first_child(fragment_1);
6010
6333
  BackgroundOverlay(node_1, {
6011
6334
  class: "background-bp-pc",
@@ -6078,14 +6401,14 @@ function Modal($$anchor, $$props) {
6078
6401
 
6079
6402
  //#endregion
6080
6403
  //#region src/components-flex/code/Code.svelte
6081
- var root$8 = $.template(`<div class="code svelte-igivoz"><!></div>`);
6082
- const $$css$7 = {
6404
+ var root$11 = $.template(`<div><!></div>`);
6405
+ const $$css$15 = {
6083
6406
  hash: "svelte-igivoz",
6084
6407
  code: ".code.svelte-igivoz {flex-grow:1;flex-shrink:0;align-self:stretch;}\n /*{@html props.rawCss}*/"
6085
6408
  };
6086
6409
  function Code($$anchor, $$props) {
6087
6410
  $.push($$props, false);
6088
- $.append_styles($$anchor, $$css$7);
6411
+ $.append_styles($$anchor, $$css$15);
6089
6412
  let props = $.prop($$props, "props", 24, () => ({}));
6090
6413
  let layerId = $.prop($$props, "layerId", 8, "");
6091
6414
  function unescapeBraces(str) {
@@ -6118,11 +6441,15 @@ function Code($$anchor, $$props) {
6118
6441
  };
6119
6442
  });
6120
6443
  $.init();
6121
- var div = root$8();
6444
+ var div = root$11();
6122
6445
  var node = $.child(div);
6123
6446
  $.html(node, () => props().rawHtml, false, false);
6124
6447
  $.reset(div);
6125
- $.template_effect(() => $.set_attribute(div, "data-layer-id", layerId()));
6448
+ $.template_effect(($0) => {
6449
+ $.set_attribute(div, "id", props().id);
6450
+ $.set_class(div, 1, $0, "svelte-igivoz");
6451
+ $.set_attribute(div, "data-layer-id", layerId());
6452
+ }, [() => $.clsx(["code", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6126
6453
  $.append($$anchor, div);
6127
6454
  $.pop();
6128
6455
  }
@@ -6133,14 +6460,14 @@ const LIST_ITEM_CONTEXT_KEY = "ListItemContext";
6133
6460
 
6134
6461
  //#endregion
6135
6462
  //#region src/components-flex/list/ListItem.svelte
6136
- var root$7 = $.template(`<li class="list-item svelte-b4b4gh"><!></li>`);
6137
- const $$css$6 = {
6463
+ var root$10 = $.template(`<li><!></li>`);
6464
+ const $$css$14 = {
6138
6465
  hash: "svelte-b4b4gh",
6139
6466
  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);}"
6140
6467
  };
6141
6468
  function ListItem($$anchor, $$props) {
6142
6469
  $.push($$props, false);
6143
- $.append_styles($$anchor, $$css$6);
6470
+ $.append_styles($$anchor, $$css$14);
6144
6471
  const variables$1 = $.mutable_state();
6145
6472
  const style = $.mutable_state();
6146
6473
  const innerStyle = $.mutable_state();
@@ -6171,7 +6498,7 @@ function ListItem($$anchor, $$props) {
6171
6498
  });
6172
6499
  $.legacy_pre_effect_reset();
6173
6500
  $.init();
6174
- var li = root$7();
6501
+ var li = root$10();
6175
6502
  var node = $.child(li);
6176
6503
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
6177
6504
  let attributes_1;
@@ -6187,24 +6514,26 @@ function ListItem($$anchor, $$props) {
6187
6514
  $.append($$anchor$1, fragment);
6188
6515
  });
6189
6516
  $.reset(li);
6190
- $.template_effect(() => {
6517
+ $.template_effect(($0) => {
6518
+ $.set_attribute(li, "id", props().id);
6519
+ $.set_class(li, 1, $0, "svelte-b4b4gh");
6191
6520
  $.set_attribute(li, "data-layer-id", layerId());
6192
6521
  $.set_style(li, $.get(style));
6193
- });
6522
+ }, [() => $.clsx(["list-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6194
6523
  $.append($$anchor, li);
6195
6524
  $.pop();
6196
6525
  }
6197
6526
 
6198
6527
  //#endregion
6199
6528
  //#region src/components-flex/list/List.svelte
6200
- var root$6 = $.template(`<ul class="list svelte-v2vy6p"><!></ul>`);
6201
- const $$css$5 = {
6529
+ var root$9 = $.template(`<ul><!></ul>`);
6530
+ const $$css$13 = {
6202
6531
  hash: "svelte-v2vy6p",
6203
6532
  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);}"
6204
6533
  };
6205
6534
  function List($$anchor, $$props) {
6206
6535
  $.push($$props, false);
6207
- $.append_styles($$anchor, $$css$5);
6536
+ $.append_styles($$anchor, $$css$13);
6208
6537
  const variables$1 = $.mutable_state();
6209
6538
  const actionTableData = $.mutable_state();
6210
6539
  const items = $.mutable_state();
@@ -6246,14 +6575,16 @@ function List($$anchor, $$props) {
6246
6575
  });
6247
6576
  $.legacy_pre_effect_reset();
6248
6577
  $.init();
6249
- var ul = root$6();
6578
+ var ul = root$9();
6250
6579
  var node = $.child(ul);
6251
6580
  $.slot(node, $$props, "default", {}, null);
6252
6581
  $.reset(ul);
6253
- $.template_effect(() => {
6582
+ $.template_effect(($0) => {
6583
+ $.set_attribute(ul, "id", props().id);
6584
+ $.set_class(ul, 1, $0, "svelte-v2vy6p");
6254
6585
  $.set_attribute(ul, "data-layer-id", layerId());
6255
6586
  $.set_style(ul, $.get(style));
6256
- });
6587
+ }, [() => $.clsx(["list", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6257
6588
  $.append($$anchor, ul);
6258
6589
  $.pop();
6259
6590
  }
@@ -6283,14 +6614,14 @@ function splitNumberAndUnit(value) {
6283
6614
 
6284
6615
  //#endregion
6285
6616
  //#region src/components-flex/multi-column/MultiColumn.svelte
6286
- var root$5 = $.template(`<ul class="list svelte-aoppwp"><!></ul>`);
6287
- const $$css$4 = {
6288
- hash: "svelte-aoppwp",
6289
- code: ".list.svelte-aoppwp {padding:0;margin:0;list-style:none;display:flex;flex-direction:row;}"
6617
+ var root$8 = $.template(`<ul><!></ul>`);
6618
+ const $$css$12 = {
6619
+ hash: "svelte-9pwfkr",
6620
+ code: ".multi-column.svelte-9pwfkr {padding:0;margin:0;list-style:none;display:flex;flex-direction:row;}"
6290
6621
  };
6291
6622
  function MultiColumn($$anchor, $$props) {
6292
6623
  $.push($$props, false);
6293
- $.append_styles($$anchor, $$css$4);
6624
+ $.append_styles($$anchor, $$css$12);
6294
6625
  const style = $.mutable_state();
6295
6626
  let layerId = $.prop($$props, "layerId", 8);
6296
6627
  let props = $.prop($$props, "props", 8);
@@ -6326,28 +6657,30 @@ function MultiColumn($$anchor, $$props) {
6326
6657
  });
6327
6658
  $.legacy_pre_effect_reset();
6328
6659
  $.init();
6329
- var ul = root$5();
6660
+ var ul = root$8();
6330
6661
  var node = $.child(ul);
6331
6662
  $.slot(node, $$props, "default", {}, null);
6332
6663
  $.reset(ul);
6333
- $.template_effect(() => {
6664
+ $.template_effect(($0) => {
6334
6665
  $.set_attribute(ul, "data-layer-id", layerId());
6666
+ $.set_attribute(ul, "id", props().id);
6667
+ $.set_class(ul, 1, $0, "svelte-9pwfkr");
6335
6668
  $.set_style(ul, $.get(style));
6336
- });
6669
+ }, [() => $.clsx(["multi-column", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6337
6670
  $.append($$anchor, ul);
6338
6671
  $.pop();
6339
6672
  }
6340
6673
 
6341
6674
  //#endregion
6342
6675
  //#region src/components-flex/multi-column/MultiColumnItem.svelte
6343
- var root$4 = $.template(`<li class="multi-column-item svelte-18bwzrs"><!></li>`);
6344
- const $$css$3 = {
6676
+ var root$7 = $.template(`<li><!></li>`);
6677
+ const $$css$11 = {
6345
6678
  hash: "svelte-18bwzrs",
6346
6679
  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);}"
6347
6680
  };
6348
6681
  function MultiColumnItem($$anchor, $$props) {
6349
6682
  $.push($$props, false);
6350
- $.append_styles($$anchor, $$css$3);
6683
+ $.append_styles($$anchor, $$css$11);
6351
6684
  const variables$1 = $.mutable_state();
6352
6685
  const style = $.mutable_state();
6353
6686
  let layerId = $.prop($$props, "layerId", 8);
@@ -6375,7 +6708,7 @@ function MultiColumnItem($$anchor, $$props) {
6375
6708
  });
6376
6709
  $.legacy_pre_effect_reset();
6377
6710
  $.init();
6378
- var li = root$4();
6711
+ var li = root$7();
6379
6712
  var node = $.child(li);
6380
6713
  $.element(node, () => element, false, ($$element, $$anchor$1) => {
6381
6714
  let attributes_1;
@@ -6390,24 +6723,26 @@ function MultiColumnItem($$anchor, $$props) {
6390
6723
  $.append($$anchor$1, fragment);
6391
6724
  });
6392
6725
  $.reset(li);
6393
- $.template_effect(() => {
6726
+ $.template_effect(($0) => {
6727
+ $.set_attribute(li, "id", props().id);
6728
+ $.set_class(li, 1, $0, "svelte-18bwzrs");
6394
6729
  $.set_attribute(li, "data-layer-id", layerId());
6395
6730
  $.set_style(li, $.get(style));
6396
- });
6731
+ }, [() => $.clsx(["multi-column-item", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6397
6732
  $.append($$anchor, li);
6398
6733
  $.pop();
6399
6734
  }
6400
6735
 
6401
6736
  //#endregion
6402
6737
  //#region src/components-flex/youtube/Youtube.svelte
6403
- var root$3 = $.template(`<div class="youtube svelte-odfkc2"><div class="youtube-player"></div></div>`);
6404
- const $$css$2 = {
6738
+ var root$6 = $.template(`<div><div class="youtube-player"></div></div>`);
6739
+ const $$css$10 = {
6405
6740
  hash: "svelte-odfkc2",
6406
6741
  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;}"
6407
6742
  };
6408
6743
  function Youtube($$anchor, $$props) {
6409
6744
  $.push($$props, false);
6410
- $.append_styles($$anchor, $$css$2);
6745
+ $.append_styles($$anchor, $$css$10);
6411
6746
  const style = $.mutable_state();
6412
6747
  let props = $.prop($$props, "props", 24, () => ({}));
6413
6748
  let layerId = $.prop($$props, "layerId", 8, "");
@@ -6487,28 +6822,30 @@ function Youtube($$anchor, $$props) {
6487
6822
  });
6488
6823
  $.legacy_pre_effect_reset();
6489
6824
  $.init();
6490
- var div = root$3();
6825
+ var div = root$6();
6491
6826
  var div_1 = $.child(div);
6492
6827
  $.bind_this(div_1, ($$value) => $.set(playerRef, $$value), () => $.get(playerRef));
6493
6828
  $.reset(div);
6494
- $.template_effect(() => {
6829
+ $.template_effect(($0) => {
6830
+ $.set_attribute(div, "id", props().id);
6831
+ $.set_class(div, 1, $0, "svelte-odfkc2");
6495
6832
  $.set_style(div, $.get(style));
6496
6833
  $.set_attribute(div, "data-layer-id", layerId());
6497
- });
6834
+ }, [() => $.clsx(["youtube", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6498
6835
  $.append($$anchor, div);
6499
6836
  $.pop();
6500
6837
  }
6501
6838
 
6502
6839
  //#endregion
6503
6840
  //#region src/components-flex/count-down/CountDown.svelte
6504
- var root$2 = $.template(`<div class="countdown svelte-1n395il"><!></div>`);
6505
- const $$css$1 = {
6841
+ var root$5 = $.template(`<div><!></div>`);
6842
+ const $$css$9 = {
6506
6843
  hash: "svelte-1n395il",
6507
6844
  code: ".countdown.svelte-1n395il {display:flex;align-items:center;gap:4px;}"
6508
6845
  };
6509
6846
  function CountDown($$anchor, $$props) {
6510
6847
  $.push($$props, false);
6511
- $.append_styles($$anchor, $$css$1);
6848
+ $.append_styles($$anchor, $$css$9);
6512
6849
  const day = $.mutable_state();
6513
6850
  const hour = $.mutable_state();
6514
6851
  const min = $.mutable_state();
@@ -6564,7 +6901,7 @@ function CountDown($$anchor, $$props) {
6564
6901
  });
6565
6902
  $.legacy_pre_effect_reset();
6566
6903
  $.init();
6567
- var div = root$2();
6904
+ var div = root$5();
6568
6905
  var node = $.child(div);
6569
6906
  $.slot(node, $$props, "default", {
6570
6907
  get day() {
@@ -6581,7 +6918,11 @@ function CountDown($$anchor, $$props) {
6581
6918
  }
6582
6919
  }, null);
6583
6920
  $.reset(div);
6584
- $.template_effect(() => $.set_attribute(div, "data-layer-id", layerId()));
6921
+ $.template_effect(($0) => {
6922
+ $.set_attribute(div, "id", props().id);
6923
+ $.set_class(div, 1, $0, "svelte-1n395il");
6924
+ $.set_attribute(div, "data-layer-id", layerId());
6925
+ }, [() => $.clsx(["countdown", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6585
6926
  $.append($$anchor, div);
6586
6927
  $.pop();
6587
6928
  }
@@ -6645,7 +6986,7 @@ const useText = (props) => {
6645
6986
 
6646
6987
  //#endregion
6647
6988
  //#region src/components-flex/count-down/CountDownValue.svelte
6648
- var root$1 = $.template(`<span class="count-down-value"> </span>`);
6989
+ var root$4 = $.template(`<span> </span>`);
6649
6990
  function CountDownValue($$anchor, $$props) {
6650
6991
  $.push($$props, false);
6651
6992
  const [$$stores, $$cleanup] = $.setup_stores();
@@ -6669,14 +7010,16 @@ function CountDownValue($$anchor, $$props) {
6669
7010
  });
6670
7011
  $.legacy_pre_effect_reset();
6671
7012
  $.init();
6672
- var span = root$1();
7013
+ var span = root$4();
6673
7014
  $.set_style(span, style);
6674
7015
  var text = $.child(span, true);
6675
7016
  $.reset(span);
6676
- $.template_effect(() => {
7017
+ $.template_effect(($0) => {
7018
+ $.set_attribute(span, "id", props().id);
7019
+ $.set_class(span, 1, $0);
6677
7020
  $.set_attribute(span, "data-layer-id", layerId());
6678
7021
  $.set_text(text, $.get(value));
6679
- });
7022
+ }, [() => $.clsx(["count-down-value", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6680
7023
  $.append($$anchor, span);
6681
7024
  $.pop();
6682
7025
  $$cleanup();
@@ -6684,14 +7027,14 @@ function CountDownValue($$anchor, $$props) {
6684
7027
 
6685
7028
  //#endregion
6686
7029
  //#region src/components-flex/clip-copy/ClipCopy.svelte
6687
- var root = $.template(`<div class="clipboard svelte-orhp4c"><button class="clipboard-button svelte-orhp4c"><!></button> <span class="clipboard-tooltip svelte-orhp4c">コピーしました</span></div>`);
6688
- const $$css = {
7030
+ var root$3 = $.template(`<div><button class="clipboard-button svelte-orhp4c"><!></button> <span class="clipboard-tooltip svelte-orhp4c">コピーしました</span></div>`);
7031
+ const $$css$8 = {
6689
7032
  hash: "svelte-orhp4c",
6690
7033
  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%);}"
6691
7034
  };
6692
7035
  function ClipCopy($$anchor, $$props) {
6693
7036
  $.push($$props, false);
6694
- $.append_styles($$anchor, $$css);
7037
+ $.append_styles($$anchor, $$css$8);
6695
7038
  let props = $.prop($$props, "props", 24, () => ({}));
6696
7039
  let layerId = $.prop($$props, "layerId", 8, "");
6697
7040
  useInjectCustomizeCss(props());
@@ -6709,7 +7052,7 @@ function ClipCopy($$anchor, $$props) {
6709
7052
  }, 3e3);
6710
7053
  };
6711
7054
  $.init();
6712
- var div = root();
7055
+ var div = root$3();
6713
7056
  var button = $.child(div);
6714
7057
  var node = $.child(button);
6715
7058
  $.slot(node, $$props, "default", {}, null);
@@ -6717,15 +7060,826 @@ function ClipCopy($$anchor, $$props) {
6717
7060
  $.bind_this(button, ($$value) => $.set(buttonElement, $$value), () => $.get(buttonElement));
6718
7061
  var span = $.sibling(button, 2);
6719
7062
  $.reset(div);
6720
- $.template_effect(() => {
7063
+ $.template_effect(($0) => {
7064
+ $.set_attribute(div, "id", props().id);
7065
+ $.set_class(div, 1, $0, "svelte-orhp4c");
6721
7066
  $.set_attribute(div, "data-layer-id", layerId());
6722
7067
  $.set_attribute(span, "aria-hidden", !$.get(showTooltip));
6723
- });
7068
+ }, [() => $.clsx(["clipboard", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
6724
7069
  $.event("click", button, handleClick);
6725
7070
  $.append($$anchor, div);
6726
7071
  $.pop();
6727
7072
  }
6728
7073
 
7074
+ //#endregion
7075
+ //#region src/components-flex/embed/Embed.svelte
7076
+ var root$2 = $.template(`<div><!></div>`);
7077
+ const $$css$7 = {
7078
+ hash: "svelte-13tkwh0",
7079
+ 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;}"
7080
+ };
7081
+ function Embed($$anchor, $$props) {
7082
+ $.push($$props, false);
7083
+ $.append_styles($$anchor, $$css$7);
7084
+ const variables$1 = $.mutable_state();
7085
+ const styleObj = $.mutable_state();
7086
+ const style = $.mutable_state();
7087
+ let props = $.prop($$props, "props", 24, () => ({}));
7088
+ let layerId = $.prop($$props, "layerId", 8, "");
7089
+ useInjectCustomizeCss(props());
7090
+ const aspectVariantStyles = ASPECT_VARIANT[props().aspectVariant]?.getProps();
7091
+ const width = props().width ?? "100%";
7092
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7093
+ $.set(variables$1, {
7094
+ "--width": width,
7095
+ "--height": props().height ?? "auto",
7096
+ "--aspect": props().aspect ?? aspectVariantStyles?.aspect
7097
+ });
7098
+ });
7099
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(variables$1)), () => {
7100
+ $.set(styleObj, {
7101
+ ...toCssCommon(props()),
7102
+ ...$.get(variables$1)
7103
+ });
7104
+ });
7105
+ $.legacy_pre_effect(() => $.get(styleObj), () => {
7106
+ $.set(style, objToStyle($.get(styleObj)));
7107
+ });
7108
+ $.legacy_pre_effect_reset();
7109
+ $.init();
7110
+ var div = root$2();
7111
+ var node = $.child(div);
7112
+ $.html(node, () => props().iframe, false, false);
7113
+ $.reset(div);
7114
+ $.template_effect(($0) => {
7115
+ $.set_attribute(div, "id", props().id);
7116
+ $.set_style(div, $.get(style));
7117
+ $.set_class(div, 1, $0, "svelte-13tkwh0");
7118
+ $.set_attribute(div, "data-layer-id", layerId());
7119
+ }, [() => $.clsx(["embed", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
7120
+ $.append($$anchor, div);
7121
+ $.pop();
7122
+ }
7123
+
7124
+ //#endregion
7125
+ //#region src/components-flex/form/Form.svelte
7126
+ var root$1 = $.template(`<div><!></div>`);
7127
+ const $$css$6 = {
7128
+ hash: "svelte-nekp9e",
7129
+ code: ".form.svelte-nekp9e {width:100%;}"
7130
+ };
7131
+ function Form($$anchor, $$props) {
7132
+ $.push($$props, false);
7133
+ $.append_styles($$anchor, $$css$6);
7134
+ let props = $.prop($$props, "props", 24, () => ({}));
7135
+ let layerId = $.prop($$props, "layerId", 8, "");
7136
+ useInjectCustomizeCss(props());
7137
+ $.init();
7138
+ var div = root$1();
7139
+ var node = $.child(div);
7140
+ $.slot(node, $$props, "default", {}, null);
7141
+ $.reset(div);
7142
+ $.template_effect(($0) => {
7143
+ $.set_attribute(div, "id", props().id);
7144
+ $.set_class(div, 1, $0, "svelte-nekp9e");
7145
+ $.set_attribute(div, "data-layer-id", layerId());
7146
+ }, [() => $.clsx(["form", ...props().classNames ?? []].join(" "))], $.derived_safe_equal);
7147
+ $.append($$anchor, div);
7148
+ $.pop();
7149
+ }
7150
+
7151
+ //#endregion
7152
+ //#region src/components-flex/form/styles.ts
7153
+ const getFormFieldLabelThemeStyles = getPropStyles(({ brandKit }) => {
7154
+ return {
7155
+ default: { color: brandKit.color_text_primary },
7156
+ gray: { color: brandKit.color_text_secondary },
7157
+ brand: { color: brandKit.color_brand }
7158
+ };
7159
+ });
7160
+ const FORM_FIELD_LABEL_SIZE_STYLES = {
7161
+ small: { fontSize: "12px" },
7162
+ medium: { fontSize: "14px" },
7163
+ large: { fontSize: "16px" }
7164
+ };
7165
+
7166
+ //#endregion
7167
+ //#region src/components-flex/form/FormField.svelte
7168
+ var root_2$3 = $.template(`<span class="field-required svelte-1maygd6">*</span>`);
7169
+ var root_1$5 = $.template(`<dt class="svelte-1maygd6"><span> </span> <!></dt>`);
7170
+ var root_3 = $.template(`<p class="field-error svelte-1maygd6"> </p>`);
7171
+ var root = $.template(`<dl><!> <dd class="svelte-1maygd6"><!> <!></dd></dl>`);
7172
+ const $$css$5 = {
7173
+ hash: "svelte-1maygd6",
7174
+ 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;}"
7175
+ };
7176
+ function FormField($$anchor, $$props) {
7177
+ $.push($$props, false);
7178
+ $.append_styles($$anchor, $$css$5);
7179
+ const variables$1 = $.mutable_state();
7180
+ const style = $.mutable_state();
7181
+ let props = $.prop($$props, "props", 24, () => ({}));
7182
+ let layerId = $.prop($$props, "layerId", 8, "");
7183
+ useInjectCustomizeCss(props());
7184
+ const { brandKit } = useBrandKit();
7185
+ let registeredFieldName = $.mutable_state("");
7186
+ let errorMessage = $.mutable_state(null);
7187
+ let isShowErrorMessage = $.mutable_state(false);
7188
+ const theme = getFormFieldLabelThemeStyles(brandKit)[props().labelTheme ?? "gray"];
7189
+ const size = FORM_FIELD_LABEL_SIZE_STYLES[props().labelSize ?? "medium"];
7190
+ onDestory(() => {
7191
+ if (!$.get(registeredFieldName)) return;
7192
+ unregisterFormField($.get(registeredFieldName));
7193
+ });
7194
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7195
+ $.set(variables$1, {
7196
+ "--danger-color": brandKit.color_danger,
7197
+ "--form-field-direction": props().direction ?? "column",
7198
+ "--form-field-gap": props().gap ?? "4px",
7199
+ "--form-field-label-width": props().labelWidth ?? "100%",
7200
+ "--form-field-label-font-size": size.fontSize,
7201
+ "--form-field-label-color": theme.color
7202
+ });
7203
+ });
7204
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7205
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7206
+ });
7207
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(registeredFieldName), formStore), () => {
7208
+ if (props().fieldName) {
7209
+ if ($.get(registeredFieldName) && $.get(registeredFieldName) !== props().fieldName) unregisterFormField($.get(registeredFieldName));
7210
+ registerFormField({
7211
+ type: props().fieldType,
7212
+ name: props().fieldName,
7213
+ defaultValue: props().defaultValue,
7214
+ required: props().required
7215
+ });
7216
+ formStore.subscribe(($store) => {
7217
+ $.set(errorMessage, $store.states[props().fieldName]?.errorMessage ?? null);
7218
+ $.set(isShowErrorMessage, $store.states[props().fieldName]?.isTouched ?? false);
7219
+ });
7220
+ $.set(registeredFieldName, props().fieldName);
7221
+ }
7222
+ });
7223
+ $.legacy_pre_effect_reset();
7224
+ $.init();
7225
+ var dl = root();
7226
+ var node = $.child(dl);
7227
+ {
7228
+ var consequent_1 = ($$anchor$1) => {
7229
+ var dt = root_1$5();
7230
+ var span = $.child(dt);
7231
+ var text = $.child(span, true);
7232
+ $.reset(span);
7233
+ var node_1 = $.sibling(span, 2);
7234
+ {
7235
+ var consequent = ($$anchor$2) => {
7236
+ var span_1 = root_2$3();
7237
+ $.append($$anchor$2, span_1);
7238
+ };
7239
+ $.if(node_1, ($$render) => {
7240
+ if (props().required) $$render(consequent);
7241
+ });
7242
+ }
7243
+ $.reset(dt);
7244
+ $.template_effect(() => $.set_text(text, props().label));
7245
+ $.append($$anchor$1, dt);
7246
+ };
7247
+ $.if(node, ($$render) => {
7248
+ if (props().label) $$render(consequent_1);
7249
+ });
7250
+ }
7251
+ var dd = $.sibling(node, 2);
7252
+ var node_2 = $.child(dd);
7253
+ $.slot(node_2, $$props, "default", { get "data-layer-id"() {
7254
+ return layerId();
7255
+ } }, null);
7256
+ var node_3 = $.sibling(node_2, 2);
7257
+ {
7258
+ var consequent_2 = ($$anchor$1) => {
7259
+ var p = root_3();
7260
+ var text_1 = $.child(p, true);
7261
+ $.reset(p);
7262
+ $.template_effect(() => $.set_text(text_1, $.get(errorMessage)));
7263
+ $.append($$anchor$1, p);
7264
+ };
7265
+ $.if(node_3, ($$render) => {
7266
+ if ($.get(isShowErrorMessage) && $.get(errorMessage)) $$render(consequent_2);
7267
+ });
7268
+ }
7269
+ $.reset(dd);
7270
+ $.reset(dl);
7271
+ $.template_effect(($0) => {
7272
+ $.set_attribute(dl, "id", props().id);
7273
+ $.set_class(dl, 1, $0, "svelte-1maygd6");
7274
+ $.set_attribute(dl, "data-layer-id", layerId());
7275
+ $.set_style(dl, $.get(style));
7276
+ }, [() => $.clsx([
7277
+ "field",
7278
+ props().required ? "required" : "",
7279
+ ...props().classNames ?? []
7280
+ ].join(" "))], $.derived_safe_equal);
7281
+ $.append($$anchor, dl);
7282
+ $.pop();
7283
+ }
7284
+
7285
+ //#endregion
7286
+ //#region src/components-flex/form/FormInput.svelte
7287
+ var root_1$4 = $.template(`<input type="text">`);
7288
+ const $$css$4 = {
7289
+ hash: "svelte-176cxs0",
7290
+ 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);}"
7291
+ };
7292
+ function FormInput($$anchor, $$props) {
7293
+ $.push($$props, false);
7294
+ $.append_styles($$anchor, $$css$4);
7295
+ const variant = $.mutable_state();
7296
+ const size = $.mutable_state();
7297
+ const variables$1 = $.mutable_state();
7298
+ const style = $.mutable_state();
7299
+ const type = $.mutable_state();
7300
+ let props = $.prop($$props, "props", 24, () => ({}));
7301
+ let layerId = $.prop($$props, "layerId", 8, "");
7302
+ const { brandKit } = useBrandKit();
7303
+ useInjectCustomizeCss(props());
7304
+ let value = $.mutable_state("");
7305
+ const handleBlur = () => {
7306
+ if (props().fieldName) {
7307
+ setFormFieldTouched(props().fieldName);
7308
+ setFormFieldValue(props().fieldName, $.get(value));
7309
+ }
7310
+ };
7311
+ const handleInput = () => {
7312
+ setFormFieldValue(props().fieldName, $.get(value));
7313
+ };
7314
+ onMount(() => {
7315
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7316
+ });
7317
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7318
+ $.set(variant, props().variant ?? "outlined");
7319
+ });
7320
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7321
+ $.set(size, props().size ?? "medium");
7322
+ });
7323
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7324
+ $.set(variables$1, (() => {
7325
+ return {
7326
+ "--form-input-width": props().width ?? "100%",
7327
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7328
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7329
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7330
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7331
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7332
+ };
7333
+ })());
7334
+ });
7335
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7336
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7337
+ });
7338
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7339
+ $.set(type, (() => {
7340
+ if (props().inputType === "url") return "url";
7341
+ if (props().inputType === "tel") return "tel";
7342
+ if (props().inputType === "email") return "email";
7343
+ return "text";
7344
+ })());
7345
+ });
7346
+ $.legacy_pre_effect_reset();
7347
+ $.init();
7348
+ FormField($$anchor, {
7349
+ get layerId() {
7350
+ return layerId();
7351
+ },
7352
+ get props() {
7353
+ return props();
7354
+ },
7355
+ children: ($$anchor$1, $$slotProps) => {
7356
+ var input = root_1$4();
7357
+ $.remove_input_defaults(input);
7358
+ $.template_effect(($0) => {
7359
+ $.set_attribute(input, "placeholder", props().placeholder);
7360
+ $.set_attribute(input, "name", props().fieldName);
7361
+ $.set_class(input, 1, $0, "svelte-176cxs0");
7362
+ $.set_style(input, $.get(style));
7363
+ }, [() => $.clsx([
7364
+ "form-input",
7365
+ $.get(variant),
7366
+ $.get(size)
7367
+ ].join(" "))], $.derived_safe_equal);
7368
+ $.bind_value(input, () => $.get(value), ($$value) => $.set(value, $$value));
7369
+ $.event("blur", input, handleBlur);
7370
+ $.event("input", input, handleInput);
7371
+ $.append($$anchor$1, input);
7372
+ },
7373
+ $$slots: { default: true }
7374
+ });
7375
+ $.pop();
7376
+ }
7377
+
7378
+ //#endregion
7379
+ //#region src/components-flex/form/FormTextarea.svelte
7380
+ var root_1$3 = $.template(`<textarea></textarea>`);
7381
+ const $$css$3 = {
7382
+ hash: "svelte-1oqg2c0",
7383
+ 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);}"
7384
+ };
7385
+ function FormTextarea($$anchor, $$props) {
7386
+ $.push($$props, false);
7387
+ $.append_styles($$anchor, $$css$3);
7388
+ const variant = $.mutable_state();
7389
+ const size = $.mutable_state();
7390
+ const variables$1 = $.mutable_state();
7391
+ const style = $.mutable_state();
7392
+ let props = $.prop($$props, "props", 24, () => ({}));
7393
+ let layerId = $.prop($$props, "layerId", 8, "");
7394
+ const { brandKit } = useBrandKit();
7395
+ useInjectCustomizeCss(props());
7396
+ let value = $.mutable_state("");
7397
+ const handleBlur = () => {
7398
+ if (props().fieldName) {
7399
+ setFormFieldTouched(props().fieldName);
7400
+ setFormFieldValue(props().fieldName, $.get(value));
7401
+ }
7402
+ };
7403
+ const handleInput = () => {
7404
+ setFormFieldValue(props().fieldName, $.get(value));
7405
+ };
7406
+ onMount(() => {
7407
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7408
+ });
7409
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7410
+ $.set(variant, props().variant ?? "outlined");
7411
+ });
7412
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7413
+ $.set(size, props().size ?? "medium");
7414
+ });
7415
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7416
+ $.set(variables$1, (() => {
7417
+ return {
7418
+ "--form-textarea-width": props().width ?? "100%",
7419
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7420
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7421
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7422
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7423
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7424
+ };
7425
+ })());
7426
+ });
7427
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7428
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7429
+ });
7430
+ $.legacy_pre_effect_reset();
7431
+ $.init();
7432
+ FormField($$anchor, {
7433
+ get layerId() {
7434
+ return layerId();
7435
+ },
7436
+ get props() {
7437
+ return props();
7438
+ },
7439
+ children: ($$anchor$1, $$slotProps) => {
7440
+ var textarea = root_1$3();
7441
+ $.remove_textarea_child(textarea);
7442
+ $.template_effect(($0) => {
7443
+ $.set_attribute(textarea, "placeholder", props().placeholder);
7444
+ $.set_attribute(textarea, "rows", props().rows);
7445
+ $.set_attribute(textarea, "name", props().fieldName);
7446
+ $.set_class(textarea, 1, $0, "svelte-1oqg2c0");
7447
+ $.set_style(textarea, $.get(style));
7448
+ }, [() => $.clsx([
7449
+ "form-textarea",
7450
+ $.get(variant),
7451
+ $.get(size)
7452
+ ].join(" "))], $.derived_safe_equal);
7453
+ $.bind_value(textarea, () => $.get(value), ($$value) => $.set(value, $$value));
7454
+ $.event("blur", textarea, handleBlur);
7455
+ $.event("input", textarea, handleInput);
7456
+ $.append($$anchor$1, textarea);
7457
+ },
7458
+ $$slots: { default: true }
7459
+ });
7460
+ $.pop();
7461
+ }
7462
+
7463
+ //#endregion
7464
+ //#region src/components-flex/form/FormSelect.svelte
7465
+ var root_2$2 = $.template(`<option class="svelte-p118m"> </option>`);
7466
+ var root_1$2 = $.template(`<div><select class="form-select-select svelte-p118m"><option disabled class="svelte-p118m"> </option><!></select></div>`);
7467
+ const $$css$2 = {
7468
+ hash: "svelte-p118m",
7469
+ 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);}"
7470
+ };
7471
+ function FormSelect($$anchor, $$props) {
7472
+ $.push($$props, false);
7473
+ $.append_styles($$anchor, $$css$2);
7474
+ const variant = $.mutable_state();
7475
+ const size = $.mutable_state();
7476
+ const isEmpty$1 = $.mutable_state();
7477
+ const variables$1 = $.mutable_state();
7478
+ const style = $.mutable_state();
7479
+ let props = $.prop($$props, "props", 24, () => ({}));
7480
+ let layerId = $.prop($$props, "layerId", 8, "");
7481
+ const { brandKit } = useBrandKit();
7482
+ useInjectCustomizeCss(props());
7483
+ let value = $.mutable_state("");
7484
+ const handleChange = () => {
7485
+ if (props().fieldName) {
7486
+ setFormFieldTouched(props().fieldName);
7487
+ setFormFieldValue(props().fieldName, $.get(value));
7488
+ }
7489
+ };
7490
+ onMount(() => {
7491
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7492
+ });
7493
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7494
+ $.set(variant, props().variant ?? "outlined");
7495
+ });
7496
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7497
+ $.set(size, props().size ?? "medium");
7498
+ });
7499
+ $.legacy_pre_effect(() => $.get(value), () => {
7500
+ $.set(isEmpty$1, $.get(value) === "");
7501
+ });
7502
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7503
+ $.set(variables$1, (() => {
7504
+ return {
7505
+ "--width": props().width ?? "100%",
7506
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7507
+ "--focused-outline-color": props().focusedBorderColor || brandKit.color_form_field_focused_border || brandKit.color_brand,
7508
+ "--placeholder-color": props().placeholderColor ?? brandKit.color_form_field_placeholder,
7509
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7510
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7511
+ };
7512
+ })());
7513
+ });
7514
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7515
+ $.set(style, objToStyle({ ...$.get(variables$1) }));
7516
+ });
7517
+ $.legacy_pre_effect_reset();
7518
+ $.init();
7519
+ FormField($$anchor, {
7520
+ get layerId() {
7521
+ return layerId();
7522
+ },
7523
+ get props() {
7524
+ return props();
7525
+ },
7526
+ children: ($$anchor$1, $$slotProps) => {
7527
+ var div = root_1$2();
7528
+ var select = $.child(div);
7529
+ $.template_effect(() => {
7530
+ $.get(value);
7531
+ $.invalidate_inner_signals(() => {
7532
+ props();
7533
+ });
7534
+ });
7535
+ var option_1 = $.child(select);
7536
+ option_1.value = null == (option_1.__value = "") ? "" : "";
7537
+ var text = $.child(option_1, true);
7538
+ $.reset(option_1);
7539
+ var node = $.sibling(option_1);
7540
+ $.each(node, 1, () => props().options, $.index, ($$anchor$2, option) => {
7541
+ var option_2 = root_2$2();
7542
+ var option_2_value = {};
7543
+ var text_1 = $.child(option_2, true);
7544
+ $.reset(option_2);
7545
+ $.template_effect(() => {
7546
+ if (option_2_value !== (option_2_value = $.get(option).value)) option_2.value = null == (option_2.__value = $.get(option).value) ? "" : $.get(option).value;
7547
+ $.set_text(text_1, $.get(option).label);
7548
+ });
7549
+ $.append($$anchor$2, option_2);
7550
+ });
7551
+ $.reset(select);
7552
+ $.reset(div);
7553
+ $.template_effect(($0) => {
7554
+ $.set_class(div, 1, $0, "svelte-p118m");
7555
+ $.set_style(div, $.get(style));
7556
+ $.set_attribute(select, "name", props().fieldName);
7557
+ $.set_text(text, props().placeholder ?? "選択してください");
7558
+ }, [() => $.clsx([
7559
+ "form-select",
7560
+ $.get(variant),
7561
+ $.get(size),
7562
+ $.get(isEmpty$1) ? "empty" : ""
7563
+ ].join(" "))], $.derived_safe_equal);
7564
+ $.bind_select_value(select, () => $.get(value), ($$value) => $.set(value, $$value));
7565
+ $.event("change", select, handleChange);
7566
+ $.append($$anchor$1, div);
7567
+ },
7568
+ $$slots: { default: true }
7569
+ });
7570
+ $.pop();
7571
+ }
7572
+
7573
+ //#endregion
7574
+ //#region src/components-flex/form/types.ts
7575
+ const FORM_FIELD_LABEL_SIZE = {
7576
+ small: "スモール",
7577
+ medium: "ミディアム",
7578
+ large: "ラージ"
7579
+ };
7580
+ const FORM_FIELD_LABEL_THEME = {
7581
+ default: "デフォルト",
7582
+ gray: "グレー",
7583
+ brand: "ブランド"
7584
+ };
7585
+ const FORM_FIELD_TYPE = {
7586
+ INPUT: "input",
7587
+ SELECT: "select",
7588
+ CHECKBOX: "checkbox",
7589
+ CHECKBOXES: "checkboxes",
7590
+ RADIOS: "radio",
7591
+ TEXTAREA: "textarea"
7592
+ };
7593
+ const FORM_FIELD_VARIANT = {
7594
+ outlined: "アウトライン",
7595
+ underlined: "アンダーライン",
7596
+ filled: "塗りつぶし"
7597
+ };
7598
+ const FORM_FIELD_VARIANT_FOR_CHECKER = {
7599
+ outlined: "アウトライン",
7600
+ filled: "塗りつぶし"
7601
+ };
7602
+ const FORM_FIELD_SIZE = {
7603
+ small: "スモール",
7604
+ medium: "ミディアム",
7605
+ large: "ラージ"
7606
+ };
7607
+ const FORM_INPUT_TYPE = {
7608
+ TEXT: "text",
7609
+ URL: "url",
7610
+ TEL: "tel",
7611
+ EMAIL: "email"
7612
+ };
7613
+
7614
+ //#endregion
7615
+ //#region src/components-flex/form/FormCheckboxes.svelte
7616
+ 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>`);
7617
+ var root_1$1 = $.template(`<ul></ul>`);
7618
+ const $$css$1 = {
7619
+ hash: "svelte-rx48m9",
7620
+ 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;}"
7621
+ };
7622
+ function FormCheckboxes($$anchor, $$props) {
7623
+ $.push($$props, false);
7624
+ $.append_styles($$anchor, $$css$1);
7625
+ const variant = $.mutable_state();
7626
+ const size = $.mutable_state();
7627
+ const options = $.mutable_state();
7628
+ const variables$1 = $.mutable_state();
7629
+ const listStyles = $.mutable_state();
7630
+ const binding_group = [];
7631
+ let props = $.prop($$props, "props", 24, () => ({}));
7632
+ let layerId = $.prop($$props, "layerId", 8, "");
7633
+ useInjectCustomizeCss(props());
7634
+ const { brandKit } = useBrandKit();
7635
+ let values = $.mutable_state([]);
7636
+ const handleChange = () => {
7637
+ if (props().fieldName) {
7638
+ setFormFieldTouched(props().fieldName);
7639
+ setFormFieldValue(props().fieldName, $.get(values));
7640
+ }
7641
+ };
7642
+ onMount(() => {
7643
+ if (props().fieldName) $.set(values, getFormFieldValue(props().fieldName));
7644
+ });
7645
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), FORM_FIELD_VARIANT_FOR_CHECKER), () => {
7646
+ $.set(variant, props().variant && Object.keys(FORM_FIELD_VARIANT_FOR_CHECKER).includes(props().variant) ? props().variant : "outlined");
7647
+ });
7648
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7649
+ $.set(size, props().size ?? "medium");
7650
+ });
7651
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7652
+ $.set(options, (props().options ?? []).filter((v) => v.label && v.value));
7653
+ });
7654
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(size)), () => {
7655
+ $.set(variables$1, {
7656
+ "--checkboxes-display": props().layout === "grid" ? "grid" : "flex",
7657
+ "--checkboxes-direction": (() => {
7658
+ if (props().layout === "grid") return void 0;
7659
+ return props().layout === "horizontal" ? "row" : "column";
7660
+ })(),
7661
+ "--checkboxes-grid-cols": (() => {
7662
+ if (props().layout !== "grid") return void 0;
7663
+ return `repeat(${props().layoutGridCols ?? 1},minmax(0,1fr))`;
7664
+ })(),
7665
+ "--checkboxes-gap-y": props().layoutGapY ?? "0",
7666
+ "--checkboxes-gap-x": props().layoutGapX ?? "0",
7667
+ "--checkbox-font-size": (() => {
7668
+ if ($.get(size) === "small") return "12px";
7669
+ if ($.get(size) === "large") return "16px";
7670
+ return "14px";
7671
+ })(),
7672
+ "--checkbox-check-size": (() => {
7673
+ if ($.get(size) === "small") return "14x";
7674
+ if ($.get(size) === "large") return "20px";
7675
+ return "16px";
7676
+ })(),
7677
+ "--checkbox-check-radius": (() => {
7678
+ if ($.get(size) === "small") return "2px";
7679
+ if ($.get(size) === "large") return "6px";
7680
+ return "4px";
7681
+ })(),
7682
+ "--checkbox-gap": (() => {
7683
+ if ($.get(size) === "small") return "6px";
7684
+ if ($.get(size) === "large") return "12px";
7685
+ return "8px";
7686
+ })(),
7687
+ "--accent-color": props().accentColor || brandKit.color_brand,
7688
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7689
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7690
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7691
+ });
7692
+ });
7693
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7694
+ $.set(listStyles, objToStyle({ ...$.get(variables$1) }));
7695
+ });
7696
+ $.legacy_pre_effect_reset();
7697
+ $.init();
7698
+ FormField($$anchor, {
7699
+ get layerId() {
7700
+ return layerId();
7701
+ },
7702
+ get props() {
7703
+ return props();
7704
+ },
7705
+ children: ($$anchor$1, $$slotProps) => {
7706
+ var ul = root_1$1();
7707
+ $.each(ul, 5, () => $.get(options), $.index, ($$anchor$2, option) => {
7708
+ var li = root_2$1();
7709
+ var label = $.child(li);
7710
+ var input = $.child(label);
7711
+ $.remove_input_defaults(input);
7712
+ var input_value;
7713
+ var span = $.sibling(input, 4);
7714
+ var text = $.child(span, true);
7715
+ $.reset(span);
7716
+ $.reset(label);
7717
+ $.reset(li);
7718
+ $.template_effect(() => {
7719
+ if (input_value !== (input_value = $.get(option).value)) input.value = null == (input.__value = $.get(option).value) ? "" : $.get(option).value;
7720
+ $.set_attribute(input, "name", props().fieldName);
7721
+ $.set_text(text, $.get(option).label);
7722
+ });
7723
+ $.bind_group(binding_group, [], input, () => {
7724
+ $.get(option).value;
7725
+ return $.get(values);
7726
+ }, ($$value) => $.set(values, $$value));
7727
+ $.event("change", input, handleChange);
7728
+ $.append($$anchor$2, li);
7729
+ });
7730
+ $.reset(ul);
7731
+ $.template_effect(($0) => {
7732
+ $.set_class(ul, 1, $0, "svelte-rx48m9");
7733
+ $.set_style(ul, $.get(listStyles));
7734
+ }, [() => $.clsx([
7735
+ "form-checkboxes",
7736
+ $.get(variant),
7737
+ $.get(size)
7738
+ ].join(" "))], $.derived_safe_equal);
7739
+ $.append($$anchor$1, ul);
7740
+ },
7741
+ $$slots: { default: true }
7742
+ });
7743
+ $.pop();
7744
+ }
7745
+
7746
+ //#endregion
7747
+ //#region src/components-flex/form/FormRadios.svelte
7748
+ 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>`);
7749
+ var root_1 = $.template(`<ul></ul>`);
7750
+ const $$css = {
7751
+ hash: "svelte-ps4qqa",
7752
+ 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;}"
7753
+ };
7754
+ function FormRadios($$anchor, $$props) {
7755
+ $.push($$props, false);
7756
+ $.append_styles($$anchor, $$css);
7757
+ const variant = $.mutable_state();
7758
+ const size = $.mutable_state();
7759
+ const options = $.mutable_state();
7760
+ const variables$1 = $.mutable_state();
7761
+ const listStyles = $.mutable_state();
7762
+ const binding_group = [];
7763
+ let props = $.prop($$props, "props", 24, () => ({}));
7764
+ let layerId = $.prop($$props, "layerId", 8, "");
7765
+ useInjectCustomizeCss(props());
7766
+ const { brandKit } = useBrandKit();
7767
+ let value = $.mutable_state("");
7768
+ const handleChange = () => {
7769
+ if (props().fieldName) {
7770
+ setFormFieldTouched(props().fieldName);
7771
+ setFormFieldValue(props().fieldName, $.get(value));
7772
+ }
7773
+ };
7774
+ onMount(() => {
7775
+ if (props().fieldName) $.set(value, getFormFieldValue(props().fieldName));
7776
+ });
7777
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), FORM_FIELD_VARIANT_FOR_CHECKER), () => {
7778
+ $.set(variant, props().variant && Object.keys(FORM_FIELD_VARIANT_FOR_CHECKER).includes(props().variant) ? props().variant : "outlined");
7779
+ });
7780
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7781
+ $.set(size, props().size ?? "medium");
7782
+ });
7783
+ $.legacy_pre_effect(() => $.deep_read_state(props()), () => {
7784
+ $.set(options, (props().options ?? []).filter((v) => v.label && v.value));
7785
+ });
7786
+ $.legacy_pre_effect(() => ($.deep_read_state(props()), $.get(size)), () => {
7787
+ $.set(variables$1, {
7788
+ "--radios-display": props().layout === "grid" ? "grid" : "flex",
7789
+ "--radios-direction": (() => {
7790
+ if (props().layout === "grid") return void 0;
7791
+ return props().layout === "horizontal" ? "row" : "column";
7792
+ })(),
7793
+ "--radios-grid-cols": (() => {
7794
+ if (props().layout !== "grid") return void 0;
7795
+ return `repeat(${props().layoutGridCols ?? 1},minmax(0,1fr))`;
7796
+ })(),
7797
+ "--radios-gap-y": props().layoutGapY ?? "0",
7798
+ "--radios-gap-x": props().layoutGapX ?? "0",
7799
+ "--radio-font-size": (() => {
7800
+ if ($.get(size) === "small") return "12px";
7801
+ if ($.get(size) === "large") return "16px";
7802
+ return "14px";
7803
+ })(),
7804
+ "--radio-check-size": (() => {
7805
+ if ($.get(size) === "small") return "14px";
7806
+ if ($.get(size) === "large") return "20px";
7807
+ return "16px";
7808
+ })(),
7809
+ "--radio-check-icon-size": (() => {
7810
+ if ($.get(size) === "small") return "8px";
7811
+ if ($.get(size) === "large") return "14px";
7812
+ return "10px";
7813
+ })(),
7814
+ "--radio-check-radius": (() => {
7815
+ if ($.get(size) === "small") return "2px";
7816
+ if ($.get(size) === "large") return "6px";
7817
+ return "4px";
7818
+ })(),
7819
+ "--radio-gap": (() => {
7820
+ if ($.get(size) === "small") return "6px";
7821
+ if ($.get(size) === "large") return "12px";
7822
+ return "8px";
7823
+ })(),
7824
+ "--accent-color": props().accentColor || brandKit.color_brand,
7825
+ "--border-color": props().borderColor || brandKit.color_form_field_border,
7826
+ "--font-color": props().fontColor || brandKit.color_text_primary,
7827
+ "--background-color": props().backgroundColor || brandKit.color_form_field_background
7828
+ });
7829
+ });
7830
+ $.legacy_pre_effect(() => $.get(variables$1), () => {
7831
+ $.set(listStyles, objToStyle({ ...$.get(variables$1) }));
7832
+ });
7833
+ $.legacy_pre_effect_reset();
7834
+ $.init();
7835
+ FormField($$anchor, {
7836
+ get layerId() {
7837
+ return layerId();
7838
+ },
7839
+ get props() {
7840
+ return props();
7841
+ },
7842
+ children: ($$anchor$1, $$slotProps) => {
7843
+ var ul = root_1();
7844
+ $.each(ul, 5, () => $.get(options), $.index, ($$anchor$2, option) => {
7845
+ var li = root_2();
7846
+ var label = $.child(li);
7847
+ var input = $.child(label);
7848
+ $.remove_input_defaults(input);
7849
+ var input_value;
7850
+ var span = $.sibling(input, 4);
7851
+ var text = $.child(span, true);
7852
+ $.reset(span);
7853
+ $.reset(label);
7854
+ $.reset(li);
7855
+ $.template_effect(() => {
7856
+ if (input_value !== (input_value = $.get(option).value)) input.value = null == (input.__value = $.get(option).value) ? "" : $.get(option).value;
7857
+ $.set_attribute(input, "name", props().fieldName);
7858
+ $.set_text(text, $.get(option).label);
7859
+ });
7860
+ $.bind_group(binding_group, [], input, () => {
7861
+ $.get(option).value;
7862
+ return $.get(value);
7863
+ }, ($$value) => $.set(value, $$value));
7864
+ $.event("change", input, handleChange);
7865
+ $.append($$anchor$2, li);
7866
+ });
7867
+ $.reset(ul);
7868
+ $.template_effect(($0) => {
7869
+ $.set_class(ul, 1, $0, "svelte-ps4qqa");
7870
+ $.set_style(ul, $.get(listStyles));
7871
+ }, [() => $.clsx([
7872
+ "form-radios",
7873
+ $.get(variant),
7874
+ $.get(size)
7875
+ ].join(" "))], $.derived_safe_equal);
7876
+ $.append($$anchor$1, ul);
7877
+ },
7878
+ $$slots: { default: true }
7879
+ });
7880
+ $.pop();
7881
+ }
7882
+
6729
7883
  //#endregion
6730
7884
  //#region src/components-flex/shared/styles.ts
6731
7885
  const ROUND_STYLES = {
@@ -6992,6 +8146,13 @@ __export(index_svelte5_exports, {
6992
8146
  FONT_FAMILY_VARIANT: () => FONT_FAMILY_VARIANT,
6993
8147
  FONT_FAMILY_VARIANTS: () => FONT_FAMILY_VARIANTS,
6994
8148
  FONT_FAMILY_VARIANT_GROUPS: () => FONT_FAMILY_VARIANT_GROUPS,
8149
+ FORM_FIELD_LABEL_SIZE: () => FORM_FIELD_LABEL_SIZE,
8150
+ FORM_FIELD_LABEL_THEME: () => FORM_FIELD_LABEL_THEME,
8151
+ FORM_FIELD_SIZE: () => FORM_FIELD_SIZE,
8152
+ FORM_FIELD_TYPE: () => FORM_FIELD_TYPE,
8153
+ FORM_FIELD_VARIANT: () => FORM_FIELD_VARIANT,
8154
+ FORM_FIELD_VARIANT_FOR_CHECKER: () => FORM_FIELD_VARIANT_FOR_CHECKER,
8155
+ FORM_INPUT_TYPE: () => FORM_INPUT_TYPE,
6995
8156
  FlexAvatar: () => Avatar,
6996
8157
  FlexButton: () => Button,
6997
8158
  FlexButtonOutlined: () => ButtonOutlined,
@@ -7002,6 +8163,14 @@ __export(index_svelte5_exports, {
7002
8163
  FlexCountDown: () => CountDown,
7003
8164
  FlexCountDownValue: () => CountDownValue,
7004
8165
  FlexDirections: () => FlexDirections,
8166
+ FlexEmbed: () => Embed,
8167
+ FlexForm: () => Form,
8168
+ FlexFormCheckboxes: () => FormCheckboxes,
8169
+ FlexFormField: () => FormField,
8170
+ FlexFormInput: () => FormInput,
8171
+ FlexFormRadios: () => FormRadios,
8172
+ FlexFormSelect: () => FormSelect,
8173
+ FlexFormTextarea: () => FormTextarea,
7005
8174
  FlexIcon: () => Icon,
7006
8175
  FlexImage: () => Image,
7007
8176
  FlexLayout: () => Layout,
@@ -7087,6 +8256,8 @@ __export(index_svelte5_exports, {
7087
8256
  finalize: () => finalize,
7088
8257
  flexComponentSchemes: () => flexComponentSchemes,
7089
8258
  formData: () => formData,
8259
+ formStore: () => formStore,
8260
+ formSubmittedValues: () => formSubmittedValues,
7090
8261
  getActionRoot: () => getActionRoot,
7091
8262
  getAnsweredQuestion: () => getAnsweredQuestion,
7092
8263
  getAnsweredQuestionIds: () => getAnsweredQuestionIds,
@@ -7097,6 +8268,11 @@ __export(index_svelte5_exports, {
7097
8268
  getCssVariables: () => getCssVariables,
7098
8269
  getEventHandlers: () => getEventHandlers,
7099
8270
  getEvents: () => getEvents,
8271
+ getFormErrors: () => getFormErrors,
8272
+ getFormFieldSchema: () => getFormFieldSchema,
8273
+ getFormFieldState: () => getFormFieldState,
8274
+ getFormFieldValue: () => getFormFieldValue,
8275
+ getFormValues: () => getFormValues,
7100
8276
  getLogs: () => getLogs,
7101
8277
  getState: () => getState,
7102
8278
  getStates: () => getStates,
@@ -7125,13 +8301,18 @@ __export(index_svelte5_exports, {
7125
8301
  onMount: () => onMount$1,
7126
8302
  onScroll: () => onScroll,
7127
8303
  onShow: () => onShow,
8304
+ onSubmitForm: () => onSubmitForm,
7128
8305
  onTime: () => onTime,
8306
+ registerFormField: () => registerFormField,
7129
8307
  removeAnswer: () => removeAnswer,
7130
8308
  resetEventHandlers: () => resetEventHandlers,
7131
8309
  resetVariables: () => resetVariables,
7132
8310
  sendAnswer: () => sendAnswer,
7133
8311
  sendAnswers: () => sendAnswers,
7134
8312
  setEventHandlers: () => setEventHandlers,
8313
+ setFormFieldError: () => setFormFieldError,
8314
+ setFormFieldTouched: () => setFormFieldTouched,
8315
+ setFormFieldValue: () => setFormFieldValue,
7135
8316
  setSetting: () => setSetting,
7136
8317
  setState: () => setState,
7137
8318
  setVariables: () => setVariables,
@@ -7142,7 +8323,9 @@ __export(index_svelte5_exports, {
7142
8323
  showOnTime: () => showOnTime,
7143
8324
  state: () => state,
7144
8325
  tick: () => tick$1,
8326
+ unregisterFormField: () => unregisterFormField,
7145
8327
  useBrandKit: () => useBrandKit,
8328
+ validateFormField: () => validateFormField,
7146
8329
  variables: () => variables,
7147
8330
  widget: () => widget_exports
7148
8331
  });