@plaidev/karte-action-sdk 1.1.188-28152496.9b97f7e1 → 1.1.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.js +339 -341
- package/dist/index.es.js +343 -343
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -25,237 +25,6 @@ const ALL_ACTION_SHORTEN_ID = 'KARTE_ALL_ACTION_SHORTEN_ID';
|
|
25
25
|
*/
|
26
26
|
const KARTE_MODAL_ROOT = 'karte-modal-root';
|
27
27
|
|
28
|
-
/** @internal */
|
29
|
-
const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
|
30
|
-
/** @internal */
|
31
|
-
const isPreview = () => {
|
32
|
-
return false;
|
33
|
-
};
|
34
|
-
/** @internal */
|
35
|
-
const setPreviousFocus = () => {
|
36
|
-
const previously_focused = typeof document !== 'undefined' && document.activeElement;
|
37
|
-
if (previously_focused) {
|
38
|
-
previously_focused?.focus();
|
39
|
-
}
|
40
|
-
};
|
41
|
-
/** @internal */
|
42
|
-
const handleKeydown = (handlers) => (e) => {
|
43
|
-
if (handlers[e.key]) {
|
44
|
-
handlers[e.key](e);
|
45
|
-
}
|
46
|
-
};
|
47
|
-
const POSITION_STYLES = {
|
48
|
-
'top-center': 'top: 0; right: 50%; transform: translate(+50%, 0%);',
|
49
|
-
'top-left': 'top: 0; left: 0; transform: translate(0%, 0%);',
|
50
|
-
'top-right': 'top: 0; right: 0; transform: translate(0%, 0%);',
|
51
|
-
'center-left': 'top: 50%; left: 0; transform: translate(0%, -50%);',
|
52
|
-
center: 'top: 50%; left: 50%; transform: translate(-50%, -50%);',
|
53
|
-
'center-right': 'top: 50%; right: 0; transform: translate(0%, -50%);',
|
54
|
-
'bottom-left': 'bottom: 0; left: 0; transform: translate(0%, 0%);',
|
55
|
-
'bottom-center': 'bottom: 0; left: 50%; transform: translate(-50%, 0%);',
|
56
|
-
'bottom-right': 'bottom: 0; right: 0; transform: translate(0%, 0);',
|
57
|
-
none: 'top: 0; bottom: 0; right: 0; left: 0;',
|
58
|
-
};
|
59
|
-
const TRANSFORM = {
|
60
|
-
'top-center': [50, 0],
|
61
|
-
'top-left': [0, 0],
|
62
|
-
'top-right': [0, 0],
|
63
|
-
'center-left': [0, -50],
|
64
|
-
center: [-50, -50],
|
65
|
-
'center-right': [0, -50],
|
66
|
-
'bottom-left': [0, 0],
|
67
|
-
'bottom-center': [-50, 0],
|
68
|
-
'bottom-right': [0, 0],
|
69
|
-
none: [0, 0],
|
70
|
-
};
|
71
|
-
/** @internal */
|
72
|
-
const getPositionStyle = (position) => {
|
73
|
-
const style = POSITION_STYLES[position];
|
74
|
-
if (style != null) {
|
75
|
-
return style;
|
76
|
-
}
|
77
|
-
else {
|
78
|
-
console.warn(`[action-sdk] invalid '${position}', so we use 'center' instead`);
|
79
|
-
return POSITION_STYLES['center'];
|
80
|
-
}
|
81
|
-
};
|
82
|
-
/** @internal */
|
83
|
-
const getTransform = (position) => {
|
84
|
-
const transform = TRANSFORM[position];
|
85
|
-
if (transform != null) {
|
86
|
-
return transform;
|
87
|
-
}
|
88
|
-
else {
|
89
|
-
console.warn(`[action-sdk] invalid '${position}', so we use 'center' instead`);
|
90
|
-
return TRANSFORM['center'];
|
91
|
-
}
|
92
|
-
};
|
93
|
-
/** @internal */
|
94
|
-
const getMarginStyle = (margin) => {
|
95
|
-
return `margin: ${margin?.top ?? 0} ${margin?.right ?? 0} ${margin?.bottom ?? 0} ${margin?.left ?? 0};`;
|
96
|
-
};
|
97
|
-
/** @internal */
|
98
|
-
const parseStyle = (style) => {
|
99
|
-
return Object.fromEntries(style.split(';').map(attr => attr.split(':').map(str => str.trim())));
|
100
|
-
};
|
101
|
-
/** @internal */
|
102
|
-
const stringifyStyleObj = (styleObj) => {
|
103
|
-
return Object.entries(styleObj)
|
104
|
-
.map(([key, value]) => `${key}:${value}`)
|
105
|
-
.join(';');
|
106
|
-
};
|
107
|
-
/**
|
108
|
-
* スクロール率が達したときに呼び出すコールバックを登録します
|
109
|
-
*
|
110
|
-
* @param rate - スクロール率。この値は viewport でのスクロールのパーセンテージ
|
111
|
-
* @param fn - スクロール率が達したときに呼び出されるコールバック関数
|
112
|
-
*
|
113
|
-
* @returns スクロール率によって呼び出されるコールバックを停止する関数を返します
|
114
|
-
*
|
115
|
-
* @public
|
116
|
-
*/
|
117
|
-
function onScroll(rate, fn) {
|
118
|
-
const rates = Array.isArray(rate) ? rate : [rate];
|
119
|
-
const body = window.document.body;
|
120
|
-
const html = window.document.documentElement;
|
121
|
-
const contexts = new Map();
|
122
|
-
rates.forEach(rate => {
|
123
|
-
contexts.set(rate, {
|
124
|
-
rate,
|
125
|
-
repeat: false,
|
126
|
-
zone: 'out',
|
127
|
-
previousRate: 0,
|
128
|
-
deltaRate: 0,
|
129
|
-
scrollRate: 0,
|
130
|
-
scrollTop: html.scrollTop || body.scrollTop,
|
131
|
-
});
|
132
|
-
});
|
133
|
-
const _fn = fn;
|
134
|
-
const direction = (ctx) => ctx.deltaRate > 0 ? 'down' : 'up';
|
135
|
-
const updateStates = (ctx, repeat) => {
|
136
|
-
ctx.repeat = repeat;
|
137
|
-
// prettier-ignore
|
138
|
-
ctx.zone =
|
139
|
-
// case: the scroll rate cannot detect the rate when scrolling to the top
|
140
|
-
ctx.scrollTop === 0 && ctx.scrollRate >= ctx.rate
|
141
|
-
? 'out'
|
142
|
-
: ctx.scrollRate >= ctx.rate
|
143
|
-
? 'in'
|
144
|
-
: 'out';
|
145
|
-
// console.log('updateStates', ctx.zone);
|
146
|
-
};
|
147
|
-
// prettier-ignore
|
148
|
-
const canCall = ({ zone, scrollRate, rate, scrollTop, repeat }) => zone === 'out'
|
149
|
-
? scrollRate >= rate
|
150
|
-
: repeat
|
151
|
-
// case: the scroll rate cannot detect the rate when scrolling to the top
|
152
|
-
? scrollRate < rate || (scrollTop === 0 && scrollRate >= rate)
|
153
|
-
: false;
|
154
|
-
/*
|
155
|
-
// NOTE: same logic the above (code size optimiazation)
|
156
|
-
const canCall = (ctx: OnScrollInternalContext): boolean => {
|
157
|
-
// console.log('repeat', ctx.repeat, 'rate', ctx.rate, 'scrollRate', ctx.scrollRate, '1 - rate', 1 - ctx.rate, '1 - scrollRate', 1 - ctx.scrollRate, 'scrollRate >= rate', ctx.scrollRate >= ctx.rate, '1 - scrollRate >= 1 - rate', 1 - ctx.scrollRate >= 1 - ctx.rate);
|
158
|
-
// console.log(ctx.rate, 'deltaRate', ctx.deltaRate, 'reviousRate', ctx.previousRate)
|
159
|
-
if (ctx.zone === 'out') {
|
160
|
-
return ctx.scrollRate >= ctx.rate;
|
161
|
-
} else {
|
162
|
-
// 'in'
|
163
|
-
if (ctx.repeat) {
|
164
|
-
return ctx.scrollRate < ctx.rate || (ctx.scrollTop === 0 && ctx.scrollRate >= ctx.rate);
|
165
|
-
} else {
|
166
|
-
return false;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
};
|
170
|
-
//*/
|
171
|
-
const onScroll = () => {
|
172
|
-
const scrollTop = html.scrollTop || body.scrollTop;
|
173
|
-
const pageHeight = Math.max(...[body.clientHeight, body.scrollHeight, html.scrollHeight, html.clientHeight]);
|
174
|
-
const viewHeight = Math.min(...[html.clientHeight, body.clientHeight]);
|
175
|
-
const scrollRate = (scrollTop + viewHeight) / pageHeight;
|
176
|
-
// console.log('scrollRate ->', scrollRate, 'scrollTop ->', scrollTop);
|
177
|
-
contexts.forEach(ctx => {
|
178
|
-
ctx.scrollRate = scrollRate;
|
179
|
-
ctx.deltaRate = ctx.scrollRate - ctx.previousRate;
|
180
|
-
ctx.previousRate = ctx.scrollRate;
|
181
|
-
ctx.scrollTop = scrollTop;
|
182
|
-
if (canCall(ctx)) {
|
183
|
-
const repeat = !!_fn(Object.assign({ direction: direction(ctx) }, ctx));
|
184
|
-
updateStates(ctx, repeat);
|
185
|
-
}
|
186
|
-
});
|
187
|
-
};
|
188
|
-
// register scorll event
|
189
|
-
window.addEventListener('scroll', onScroll);
|
190
|
-
// return disposing (finalizing/releasing) function
|
191
|
-
return () => {
|
192
|
-
window.removeEventListener('scroll', onScroll);
|
193
|
-
};
|
194
|
-
}
|
195
|
-
/**
|
196
|
-
* 指定した時間の経過後に呼び出すコールバックを登録します
|
197
|
-
*
|
198
|
-
* @param time - コールバックを呼び出すまでの時間。単位はミリセカンド(ms)
|
199
|
-
* @param fn - 指定した時間が経過後に呼び出されるコールバック関数
|
200
|
-
*
|
201
|
-
* @returns コールバックを呼び出すためのタイマーを停止する関数を返します
|
202
|
-
*
|
203
|
-
* @public
|
204
|
-
*/
|
205
|
-
function onTime(time, fn) {
|
206
|
-
const timeoutHandler = setTimeout(fn, time);
|
207
|
-
return () => timeoutHandler && clearTimeout(timeoutHandler);
|
208
|
-
}
|
209
|
-
/** @internal */
|
210
|
-
function hasSuffix(value, suffix) {
|
211
|
-
return new RegExp(`[0-9]${suffix}$`).test(value);
|
212
|
-
}
|
213
|
-
/** @internal */
|
214
|
-
function randStr(digit = 8) {
|
215
|
-
return Math.random().toString(32).substring(digit);
|
216
|
-
}
|
217
|
-
/**
|
218
|
-
* Goolge Fonts用のURLを生成
|
219
|
-
*
|
220
|
-
* @param fonts - フォント名の配列
|
221
|
-
* @param texts - 使用するテキストの配列
|
222
|
-
*
|
223
|
-
* @remarks
|
224
|
-
* textsを指定した場合フォントサイズが削減される
|
225
|
-
*
|
226
|
-
* @internal
|
227
|
-
*/
|
228
|
-
function makeGoogleFontUrl(fonts, texts) {
|
229
|
-
const params = [];
|
230
|
-
params.push('display=swap');
|
231
|
-
if (texts) {
|
232
|
-
texts.forEach(text => params.push(`text=${text}`));
|
233
|
-
}
|
234
|
-
fonts.forEach(font => params.push(`family=${font.replace(/['"]/g, '').replace(/ /g, '+')}`));
|
235
|
-
return `https://fonts.googleapis.com/css2?${params.join('&')}`;
|
236
|
-
}
|
237
|
-
/**
|
238
|
-
* HTML要素を生成
|
239
|
-
*
|
240
|
-
* @internal
|
241
|
-
*/
|
242
|
-
const h = (type, props, ...children) => {
|
243
|
-
const el = document.createElement(type);
|
244
|
-
for (const key of Object.keys(props)) {
|
245
|
-
const v = props[key];
|
246
|
-
if (key === 'style') {
|
247
|
-
Object.assign(el.style, v);
|
248
|
-
}
|
249
|
-
else {
|
250
|
-
el.setAttribute(key, v);
|
251
|
-
}
|
252
|
-
}
|
253
|
-
for (const child of children) {
|
254
|
-
el.appendChild(child);
|
255
|
-
}
|
256
|
-
return el;
|
257
|
-
};
|
258
|
-
|
259
28
|
/**
|
260
29
|
* ポップアップ(モーダル)のコンポーネントで利用するPropの定義
|
261
30
|
*/
|
@@ -970,6 +739,237 @@ function resetVariables() {
|
|
970
739
|
*/
|
971
740
|
const formData = writable({});
|
972
741
|
|
742
|
+
/** @internal */
|
743
|
+
const NOOP = (_args) => { }; // eslint-disable-line @typescript-eslint/no-unused-vars
|
744
|
+
/** @internal */
|
745
|
+
const isPreview = () => {
|
746
|
+
return false;
|
747
|
+
};
|
748
|
+
/** @internal */
|
749
|
+
const setPreviousFocus = () => {
|
750
|
+
const previously_focused = typeof document !== 'undefined' && document.activeElement;
|
751
|
+
if (previously_focused) {
|
752
|
+
previously_focused?.focus();
|
753
|
+
}
|
754
|
+
};
|
755
|
+
/** @internal */
|
756
|
+
const handleKeydown = (handlers) => (e) => {
|
757
|
+
if (handlers[e.key]) {
|
758
|
+
handlers[e.key](e);
|
759
|
+
}
|
760
|
+
};
|
761
|
+
const POSITION_STYLES = {
|
762
|
+
'top-center': 'top: 0; right: 50%; transform: translate(+50%, 0%);',
|
763
|
+
'top-left': 'top: 0; left: 0; transform: translate(0%, 0%);',
|
764
|
+
'top-right': 'top: 0; right: 0; transform: translate(0%, 0%);',
|
765
|
+
'center-left': 'top: 50%; left: 0; transform: translate(0%, -50%);',
|
766
|
+
center: 'top: 50%; left: 50%; transform: translate(-50%, -50%);',
|
767
|
+
'center-right': 'top: 50%; right: 0; transform: translate(0%, -50%);',
|
768
|
+
'bottom-left': 'bottom: 0; left: 0; transform: translate(0%, 0%);',
|
769
|
+
'bottom-center': 'bottom: 0; left: 50%; transform: translate(-50%, 0%);',
|
770
|
+
'bottom-right': 'bottom: 0; right: 0; transform: translate(0%, 0);',
|
771
|
+
none: 'top: 0; bottom: 0; right: 0; left: 0;',
|
772
|
+
};
|
773
|
+
const TRANSFORM = {
|
774
|
+
'top-center': [50, 0],
|
775
|
+
'top-left': [0, 0],
|
776
|
+
'top-right': [0, 0],
|
777
|
+
'center-left': [0, -50],
|
778
|
+
center: [-50, -50],
|
779
|
+
'center-right': [0, -50],
|
780
|
+
'bottom-left': [0, 0],
|
781
|
+
'bottom-center': [-50, 0],
|
782
|
+
'bottom-right': [0, 0],
|
783
|
+
none: [0, 0],
|
784
|
+
};
|
785
|
+
/** @internal */
|
786
|
+
const getPositionStyle = (position) => {
|
787
|
+
const style = POSITION_STYLES[position];
|
788
|
+
if (style != null) {
|
789
|
+
return style;
|
790
|
+
}
|
791
|
+
else {
|
792
|
+
console.warn(`[action-sdk] invalid '${position}', so we use 'center' instead`);
|
793
|
+
return POSITION_STYLES['center'];
|
794
|
+
}
|
795
|
+
};
|
796
|
+
/** @internal */
|
797
|
+
const getTransform = (position) => {
|
798
|
+
const transform = TRANSFORM[position];
|
799
|
+
if (transform != null) {
|
800
|
+
return transform;
|
801
|
+
}
|
802
|
+
else {
|
803
|
+
console.warn(`[action-sdk] invalid '${position}', so we use 'center' instead`);
|
804
|
+
return TRANSFORM['center'];
|
805
|
+
}
|
806
|
+
};
|
807
|
+
/** @internal */
|
808
|
+
const getMarginStyle = (margin) => {
|
809
|
+
return `margin: ${margin?.top ?? 0} ${margin?.right ?? 0} ${margin?.bottom ?? 0} ${margin?.left ?? 0};`;
|
810
|
+
};
|
811
|
+
/** @internal */
|
812
|
+
const parseStyle = (style) => {
|
813
|
+
return Object.fromEntries(style.split(';').map(attr => attr.split(':').map(str => str.trim())));
|
814
|
+
};
|
815
|
+
/** @internal */
|
816
|
+
const stringifyStyleObj = (styleObj) => {
|
817
|
+
return Object.entries(styleObj)
|
818
|
+
.map(([key, value]) => `${key}:${value}`)
|
819
|
+
.join(';');
|
820
|
+
};
|
821
|
+
/**
|
822
|
+
* スクロール率が達したときに呼び出すコールバックを登録します
|
823
|
+
*
|
824
|
+
* @param rate - スクロール率。この値は viewport でのスクロールのパーセンテージ
|
825
|
+
* @param fn - スクロール率が達したときに呼び出されるコールバック関数
|
826
|
+
*
|
827
|
+
* @returns スクロール率によって呼び出されるコールバックを停止する関数を返します
|
828
|
+
*
|
829
|
+
* @public
|
830
|
+
*/
|
831
|
+
function onScroll(rate, fn) {
|
832
|
+
const rates = Array.isArray(rate) ? rate : [rate];
|
833
|
+
const body = window.document.body;
|
834
|
+
const html = window.document.documentElement;
|
835
|
+
const contexts = new Map();
|
836
|
+
rates.forEach(rate => {
|
837
|
+
contexts.set(rate, {
|
838
|
+
rate,
|
839
|
+
repeat: false,
|
840
|
+
zone: 'out',
|
841
|
+
previousRate: 0,
|
842
|
+
deltaRate: 0,
|
843
|
+
scrollRate: 0,
|
844
|
+
scrollTop: html.scrollTop || body.scrollTop,
|
845
|
+
});
|
846
|
+
});
|
847
|
+
const _fn = fn;
|
848
|
+
const direction = (ctx) => ctx.deltaRate > 0 ? 'down' : 'up';
|
849
|
+
const updateStates = (ctx, repeat) => {
|
850
|
+
ctx.repeat = repeat;
|
851
|
+
// prettier-ignore
|
852
|
+
ctx.zone =
|
853
|
+
// case: the scroll rate cannot detect the rate when scrolling to the top
|
854
|
+
ctx.scrollTop === 0 && ctx.scrollRate >= ctx.rate
|
855
|
+
? 'out'
|
856
|
+
: ctx.scrollRate >= ctx.rate
|
857
|
+
? 'in'
|
858
|
+
: 'out';
|
859
|
+
// console.log('updateStates', ctx.zone);
|
860
|
+
};
|
861
|
+
// prettier-ignore
|
862
|
+
const canCall = ({ zone, scrollRate, rate, scrollTop, repeat }) => zone === 'out'
|
863
|
+
? scrollRate >= rate
|
864
|
+
: repeat
|
865
|
+
// case: the scroll rate cannot detect the rate when scrolling to the top
|
866
|
+
? scrollRate < rate || (scrollTop === 0 && scrollRate >= rate)
|
867
|
+
: false;
|
868
|
+
/*
|
869
|
+
// NOTE: same logic the above (code size optimiazation)
|
870
|
+
const canCall = (ctx: OnScrollInternalContext): boolean => {
|
871
|
+
// console.log('repeat', ctx.repeat, 'rate', ctx.rate, 'scrollRate', ctx.scrollRate, '1 - rate', 1 - ctx.rate, '1 - scrollRate', 1 - ctx.scrollRate, 'scrollRate >= rate', ctx.scrollRate >= ctx.rate, '1 - scrollRate >= 1 - rate', 1 - ctx.scrollRate >= 1 - ctx.rate);
|
872
|
+
// console.log(ctx.rate, 'deltaRate', ctx.deltaRate, 'reviousRate', ctx.previousRate)
|
873
|
+
if (ctx.zone === 'out') {
|
874
|
+
return ctx.scrollRate >= ctx.rate;
|
875
|
+
} else {
|
876
|
+
// 'in'
|
877
|
+
if (ctx.repeat) {
|
878
|
+
return ctx.scrollRate < ctx.rate || (ctx.scrollTop === 0 && ctx.scrollRate >= ctx.rate);
|
879
|
+
} else {
|
880
|
+
return false;
|
881
|
+
}
|
882
|
+
}
|
883
|
+
};
|
884
|
+
//*/
|
885
|
+
const onScroll = () => {
|
886
|
+
const scrollTop = html.scrollTop || body.scrollTop;
|
887
|
+
const pageHeight = Math.max(...[body.clientHeight, body.scrollHeight, html.scrollHeight, html.clientHeight]);
|
888
|
+
const viewHeight = Math.min(...[html.clientHeight, body.clientHeight]);
|
889
|
+
const scrollRate = (scrollTop + viewHeight) / pageHeight;
|
890
|
+
// console.log('scrollRate ->', scrollRate, 'scrollTop ->', scrollTop);
|
891
|
+
contexts.forEach(ctx => {
|
892
|
+
ctx.scrollRate = scrollRate;
|
893
|
+
ctx.deltaRate = ctx.scrollRate - ctx.previousRate;
|
894
|
+
ctx.previousRate = ctx.scrollRate;
|
895
|
+
ctx.scrollTop = scrollTop;
|
896
|
+
if (canCall(ctx)) {
|
897
|
+
const repeat = !!_fn(Object.assign({ direction: direction(ctx) }, ctx));
|
898
|
+
updateStates(ctx, repeat);
|
899
|
+
}
|
900
|
+
});
|
901
|
+
};
|
902
|
+
// register scorll event
|
903
|
+
window.addEventListener('scroll', onScroll);
|
904
|
+
// return disposing (finalizing/releasing) function
|
905
|
+
return () => {
|
906
|
+
window.removeEventListener('scroll', onScroll);
|
907
|
+
};
|
908
|
+
}
|
909
|
+
/**
|
910
|
+
* 指定した時間の経過後に呼び出すコールバックを登録します
|
911
|
+
*
|
912
|
+
* @param time - コールバックを呼び出すまでの時間。単位はミリセカンド(ms)
|
913
|
+
* @param fn - 指定した時間が経過後に呼び出されるコールバック関数
|
914
|
+
*
|
915
|
+
* @returns コールバックを呼び出すためのタイマーを停止する関数を返します
|
916
|
+
*
|
917
|
+
* @public
|
918
|
+
*/
|
919
|
+
function onTime(time, fn) {
|
920
|
+
const timeoutHandler = setTimeout(fn, time);
|
921
|
+
return () => timeoutHandler && clearTimeout(timeoutHandler);
|
922
|
+
}
|
923
|
+
/** @internal */
|
924
|
+
function hasSuffix(value, suffix) {
|
925
|
+
return new RegExp(`[0-9]${suffix}$`).test(value);
|
926
|
+
}
|
927
|
+
/** @internal */
|
928
|
+
function randStr(digit = 8) {
|
929
|
+
return Math.random().toString(32).substring(digit);
|
930
|
+
}
|
931
|
+
/**
|
932
|
+
* Goolge Fonts用のURLを生成
|
933
|
+
*
|
934
|
+
* @param fonts - フォント名の配列
|
935
|
+
* @param texts - 使用するテキストの配列
|
936
|
+
*
|
937
|
+
* @remarks
|
938
|
+
* textsを指定した場合フォントサイズが削減される
|
939
|
+
*
|
940
|
+
* @internal
|
941
|
+
*/
|
942
|
+
function makeGoogleFontUrl(fonts, texts) {
|
943
|
+
const params = [];
|
944
|
+
params.push('display=swap');
|
945
|
+
if (texts) {
|
946
|
+
texts.forEach(text => params.push(`text=${text}`));
|
947
|
+
}
|
948
|
+
fonts.forEach(font => params.push(`family=${font.replace(/['"]/g, '').replace(/ /g, '+')}`));
|
949
|
+
return `https://fonts.googleapis.com/css2?${params.join('&')}`;
|
950
|
+
}
|
951
|
+
/**
|
952
|
+
* HTML要素を生成
|
953
|
+
*
|
954
|
+
* @internal
|
955
|
+
*/
|
956
|
+
const h = (type, props, ...children) => {
|
957
|
+
const el = document.createElement(type);
|
958
|
+
for (const key of Object.keys(props)) {
|
959
|
+
const v = props[key];
|
960
|
+
if (key === 'style') {
|
961
|
+
Object.assign(el.style, v);
|
962
|
+
}
|
963
|
+
else {
|
964
|
+
el.setAttribute(key, v);
|
965
|
+
}
|
966
|
+
}
|
967
|
+
for (const child of children) {
|
968
|
+
el.appendChild(child);
|
969
|
+
}
|
970
|
+
return el;
|
971
|
+
};
|
972
|
+
|
973
973
|
/**
|
974
974
|
* アクションのログの記録の管理
|
975
975
|
*/
|
@@ -2584,7 +2584,7 @@ class State extends SvelteComponent {
|
|
2584
2584
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2585
2585
|
|
2586
2586
|
function add_css$t(target) {
|
2587
|
-
append_styles(target, "svelte-
|
2587
|
+
append_styles(target, "svelte-1amihue", ".state-item.svelte-1amihue{position:absolute;display:none}");
|
2588
2588
|
}
|
2589
2589
|
|
2590
2590
|
// (23:0) {#if $state === path}
|
@@ -2601,7 +2601,7 @@ function create_if_block$8(ctx) {
|
|
2601
2601
|
t = space();
|
2602
2602
|
if (default_slot) default_slot.c();
|
2603
2603
|
attr(div, "data-state-path", /*path*/ ctx[0]);
|
2604
|
-
attr(div, "class", "state-item svelte-
|
2604
|
+
attr(div, "class", "state-item svelte-1amihue");
|
2605
2605
|
},
|
2606
2606
|
m(target, anchor) {
|
2607
2607
|
insert(target, div, anchor);
|
@@ -3002,7 +3002,7 @@ function customAnimation(node, { transform, animationStyle, delay = 0, duration
|
|
3002
3002
|
/* src/components/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
|
3003
3003
|
|
3004
3004
|
function add_css$s(target) {
|
3005
|
-
append_styles(target, "svelte-
|
3005
|
+
append_styles(target, "svelte-g6ucc2", ".background.svelte-g6ucc2{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
|
3006
3006
|
}
|
3007
3007
|
|
3008
3008
|
// (9:0) {#if backgroundOverlay}
|
@@ -3014,7 +3014,7 @@ function create_if_block$7(ctx) {
|
|
3014
3014
|
return {
|
3015
3015
|
c() {
|
3016
3016
|
div = element("div");
|
3017
|
-
attr(div, "class", "background svelte-
|
3017
|
+
attr(div, "class", "background svelte-g6ucc2");
|
3018
3018
|
},
|
3019
3019
|
m(target, anchor) {
|
3020
3020
|
insert(target, div, anchor);
|
@@ -3125,7 +3125,7 @@ function checkStopPropagation(eventName, handler) {
|
|
3125
3125
|
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
3126
3126
|
|
3127
3127
|
function add_css$r(target) {
|
3128
|
-
append_styles(target, "svelte-
|
3128
|
+
append_styles(target, "svelte-1dtbrzj", ".button.svelte-1dtbrzj{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1dtbrzj:link,.button.svelte-1dtbrzj:visited,.button.svelte-1dtbrzj:active,.button.svelte-1dtbrzj:hover{color:inherit}");
|
3129
3129
|
}
|
3130
3130
|
|
3131
3131
|
// (50:0) {:else}
|
@@ -3154,7 +3154,7 @@ function create_else_block$3(ctx) {
|
|
3154
3154
|
button = element("button");
|
3155
3155
|
if (default_slot) default_slot.c();
|
3156
3156
|
set_attributes(button, button_data);
|
3157
|
-
toggle_class(button, "svelte-
|
3157
|
+
toggle_class(button, "svelte-1dtbrzj", true);
|
3158
3158
|
},
|
3159
3159
|
m(target, anchor) {
|
3160
3160
|
insert(target, button, anchor);
|
@@ -3193,7 +3193,7 @@ function create_else_block$3(ctx) {
|
|
3193
3193
|
dataAttrStopPropagation('click')
|
3194
3194
|
]));
|
3195
3195
|
|
3196
|
-
toggle_class(button, "svelte-
|
3196
|
+
toggle_class(button, "svelte-1dtbrzj", true);
|
3197
3197
|
},
|
3198
3198
|
i(local) {
|
3199
3199
|
if (current) return;
|
@@ -3224,7 +3224,7 @@ function create_if_block_2(ctx) {
|
|
3224
3224
|
c() {
|
3225
3225
|
div = element("div");
|
3226
3226
|
if (default_slot) default_slot.c();
|
3227
|
-
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-
|
3227
|
+
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1dtbrzj"));
|
3228
3228
|
attr(div, "style", /*style*/ ctx[1]);
|
3229
3229
|
},
|
3230
3230
|
m(target, anchor) {
|
@@ -3306,7 +3306,7 @@ function create_if_block_1$2(ctx) {
|
|
3306
3306
|
a = element("a");
|
3307
3307
|
if (default_slot) default_slot.c();
|
3308
3308
|
set_attributes(a, a_data);
|
3309
|
-
toggle_class(a, "svelte-
|
3309
|
+
toggle_class(a, "svelte-1dtbrzj", true);
|
3310
3310
|
},
|
3311
3311
|
m(target, anchor) {
|
3312
3312
|
insert(target, a, anchor);
|
@@ -3346,7 +3346,7 @@ function create_if_block_1$2(ctx) {
|
|
3346
3346
|
dataAttrStopPropagation('click')
|
3347
3347
|
]));
|
3348
3348
|
|
3349
|
-
toggle_class(a, "svelte-
|
3349
|
+
toggle_class(a, "svelte-1dtbrzj", true);
|
3350
3350
|
},
|
3351
3351
|
i(local) {
|
3352
3352
|
if (current) return;
|
@@ -3377,7 +3377,7 @@ function create_if_block$6(ctx) {
|
|
3377
3377
|
c() {
|
3378
3378
|
div = element("div");
|
3379
3379
|
if (default_slot) default_slot.c();
|
3380
|
-
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-
|
3380
|
+
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-1dtbrzj"));
|
3381
3381
|
attr(div, "style", /*style*/ ctx[1]);
|
3382
3382
|
},
|
3383
3383
|
m(target, anchor) {
|
@@ -3581,7 +3581,7 @@ class Button extends SvelteComponent {
|
|
3581
3581
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3582
3582
|
|
3583
3583
|
function add_css$q(target) {
|
3584
|
-
append_styles(target, "svelte-
|
3584
|
+
append_styles(target, "svelte-1vrjevr", ".modal.svelte-1vrjevr{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-1vrjevr > .button{flex:auto;display:flex}.close.svelte-1vrjevr{position:absolute;top:0;right:0}.close.svelte-1vrjevr > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-1vrjevr > .button:hover{transform:rotate(90deg)}.modal-content.svelte-1vrjevr{flex:auto;display:flex;justify-content:center;align-items:center}");
|
3585
3585
|
}
|
3586
3586
|
|
3587
3587
|
// (145:0) {#if visible}
|
@@ -3606,7 +3606,7 @@ function create_if_block$5(ctx) {
|
|
3606
3606
|
c() {
|
3607
3607
|
div = element("div");
|
3608
3608
|
create_component(button.$$.fragment);
|
3609
|
-
attr(div, "class", "modal svelte-
|
3609
|
+
attr(div, "class", "modal svelte-1vrjevr");
|
3610
3610
|
attr(div, "role", "dialog");
|
3611
3611
|
attr(div, "aria-modal", "true");
|
3612
3612
|
attr(div, "style", div_style_value = "" + /*pos*/ ctx[16] + " " + /*marginStyle*/ ctx[14] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[17]] + "");
|
@@ -3684,7 +3684,7 @@ function create_if_block_1$1(ctx) {
|
|
3684
3684
|
c() {
|
3685
3685
|
div = element("div");
|
3686
3686
|
create_component(button.$$.fragment);
|
3687
|
-
attr(div, "class", "close svelte-
|
3687
|
+
attr(div, "class", "close svelte-1vrjevr");
|
3688
3688
|
set_style(div, "z-index", /*$maximumZindex*/ ctx[20] + 1);
|
3689
3689
|
},
|
3690
3690
|
m(target, anchor) {
|
@@ -3773,7 +3773,7 @@ function create_default_slot$6(ctx) {
|
|
3773
3773
|
t = space();
|
3774
3774
|
div = element("div");
|
3775
3775
|
if (default_slot) default_slot.c();
|
3776
|
-
attr(div, "class", "modal-content svelte-
|
3776
|
+
attr(div, "class", "modal-content svelte-1vrjevr");
|
3777
3777
|
attr(div, "style", /*_style*/ ctx[4]);
|
3778
3778
|
},
|
3779
3779
|
m(target, anchor) {
|
@@ -4264,7 +4264,7 @@ class Grid extends SvelteComponent {
|
|
4264
4264
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
4265
4265
|
|
4266
4266
|
function add_css$p(target) {
|
4267
|
-
append_styles(target, "svelte-
|
4267
|
+
append_styles(target, "svelte-1cryhmb", ".grid-item.svelte-1cryhmb{word-break:break-all;position:relative}.grid-item-inner.svelte-1cryhmb{position:absolute;inset:0}");
|
4268
4268
|
}
|
4269
4269
|
|
4270
4270
|
function create_fragment$r(ctx) {
|
@@ -4279,8 +4279,8 @@ function create_fragment$r(ctx) {
|
|
4279
4279
|
div1 = element("div");
|
4280
4280
|
div0 = element("div");
|
4281
4281
|
if (default_slot) default_slot.c();
|
4282
|
-
attr(div0, "class", "grid-item-inner svelte-
|
4283
|
-
attr(div1, "class", "grid-item svelte-
|
4282
|
+
attr(div0, "class", "grid-item-inner svelte-1cryhmb");
|
4283
|
+
attr(div1, "class", "grid-item svelte-1cryhmb");
|
4284
4284
|
attr(div1, "data-element-id", /*gridItemId*/ ctx[0]);
|
4285
4285
|
attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
|
4286
4286
|
attr(div1, "style", /*_style*/ ctx[1]);
|
@@ -4585,7 +4585,7 @@ class RenderText extends SvelteComponent {
|
|
4585
4585
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
4586
4586
|
|
4587
4587
|
function add_css$o(target) {
|
4588
|
-
append_styles(target, "svelte-
|
4588
|
+
append_styles(target, "svelte-hffkvs", ".text-element-wrapper.svelte-hffkvs.svelte-hffkvs{position:relative;height:100%}.text-element.svelte-hffkvs.svelte-hffkvs{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000}.text-link-element.svelte-hffkvs.svelte-hffkvs{text-decoration:none;color:inherit}.text-element-inner.svelte-hffkvs.svelte-hffkvs{width:100%;height:auto}.text-direction-vertical.svelte-hffkvs.svelte-hffkvs{writing-mode:vertical-rl}.text-direction-vertical.svelte-hffkvs .text-element-inner.svelte-hffkvs{width:auto;height:100%}.tooltip.svelte-hffkvs.svelte-hffkvs{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-hffkvs.svelte-hffkvs:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-hffkvs.svelte-hffkvs{display:block}.tooltip-error.svelte-hffkvs.svelte-hffkvs{background-color:#c00}.tooltip-error.svelte-hffkvs.svelte-hffkvs:before{border-bottom:7px solid #c00}");
|
4589
4589
|
}
|
4590
4590
|
|
4591
4591
|
// (86:2) {:else}
|
@@ -4602,8 +4602,8 @@ function create_else_block$1(ctx) {
|
|
4602
4602
|
div1 = element("div");
|
4603
4603
|
div0 = element("div");
|
4604
4604
|
create_component(rendertext.$$.fragment);
|
4605
|
-
attr(div0, "class", "text-element-inner svelte-
|
4606
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
4605
|
+
attr(div0, "class", "text-element-inner svelte-hffkvs");
|
4606
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-hffkvs"));
|
4607
4607
|
attr(div1, "style", /*style*/ ctx[5]);
|
4608
4608
|
},
|
4609
4609
|
m(target, anchor) {
|
@@ -4617,7 +4617,7 @@ function create_else_block$1(ctx) {
|
|
4617
4617
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
4618
4618
|
rendertext.$set(rendertext_changes);
|
4619
4619
|
|
4620
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
4620
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-hffkvs"))) {
|
4621
4621
|
attr(div1, "class", div1_class_value);
|
4622
4622
|
}
|
4623
4623
|
|
@@ -4667,12 +4667,12 @@ function create_if_block$3(ctx) {
|
|
4667
4667
|
t2 = space();
|
4668
4668
|
div2 = element("div");
|
4669
4669
|
div2.textContent = "コピーできませんでした";
|
4670
|
-
attr(div0, "class", "text-element-inner svelte-
|
4670
|
+
attr(div0, "class", "text-element-inner svelte-hffkvs");
|
4671
4671
|
attr(a, "href", '');
|
4672
|
-
attr(a, "class", a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
4672
|
+
attr(a, "class", a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-hffkvs"));
|
4673
4673
|
attr(a, "style", /*style*/ ctx[5]);
|
4674
|
-
attr(div1, "class", "tooltip svelte-
|
4675
|
-
attr(div2, "class", "tooltip tooltip-error svelte-
|
4674
|
+
attr(div1, "class", "tooltip svelte-hffkvs");
|
4675
|
+
attr(div2, "class", "tooltip tooltip-error svelte-hffkvs");
|
4676
4676
|
},
|
4677
4677
|
m(target, anchor) {
|
4678
4678
|
insert(target, a, anchor);
|
@@ -4696,7 +4696,7 @@ function create_if_block$3(ctx) {
|
|
4696
4696
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
4697
4697
|
rendertext.$set(rendertext_changes);
|
4698
4698
|
|
4699
|
-
if (!current || dirty & /*textDirection*/ 2 && a_class_value !== (a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
4699
|
+
if (!current || dirty & /*textDirection*/ 2 && a_class_value !== (a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-hffkvs"))) {
|
4700
4700
|
attr(a, "class", a_class_value);
|
4701
4701
|
}
|
4702
4702
|
|
@@ -4748,7 +4748,7 @@ function create_fragment$p(ctx) {
|
|
4748
4748
|
c() {
|
4749
4749
|
div = element("div");
|
4750
4750
|
if_block.c();
|
4751
|
-
attr(div, "class", "text-element-wrapper svelte-
|
4751
|
+
attr(div, "class", "text-element-wrapper svelte-hffkvs");
|
4752
4752
|
},
|
4753
4753
|
m(target, anchor) {
|
4754
4754
|
insert(target, div, anchor);
|
@@ -4913,7 +4913,7 @@ class TextElement extends SvelteComponent {
|
|
4913
4913
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
4914
4914
|
|
4915
4915
|
function add_css$n(target) {
|
4916
|
-
append_styles(target, "svelte-
|
4916
|
+
append_styles(target, "svelte-1ijl494", ".text-button-element.svelte-1ijl494{width:100%;height:100%}.text-button-element.svelte-1ijl494 > .button{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden}.text-button-element.svelte-1ijl494 > .button._disabled{cursor:not-allowed !important;opacity:0.2}.text-button-element.svelte-1ijl494 > .button:not(._disabled):active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button-element.svelte-1ijl494 > .button:not(._disabled):hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
4917
4917
|
}
|
4918
4918
|
|
4919
4919
|
// (46:2) <Button onClick={onClick} {style} {eventName}>
|
@@ -4969,7 +4969,7 @@ function create_fragment$o(ctx) {
|
|
4969
4969
|
c() {
|
4970
4970
|
div = element("div");
|
4971
4971
|
create_component(button.$$.fragment);
|
4972
|
-
attr(div, "class", "text-button-element svelte-
|
4972
|
+
attr(div, "class", "text-button-element svelte-1ijl494");
|
4973
4973
|
},
|
4974
4974
|
m(target, anchor) {
|
4975
4975
|
insert(target, div, anchor);
|
@@ -5061,7 +5061,7 @@ class TextButtonElement extends SvelteComponent {
|
|
5061
5061
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
5062
5062
|
|
5063
5063
|
function add_css$m(target) {
|
5064
|
-
append_styles(target, "svelte-
|
5064
|
+
append_styles(target, "svelte-185kah0", ".image-element.svelte-185kah0{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}.image-element.svelte-185kah0 > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image-element.svelte-185kah0 > .button._disabled{cursor:not-allowed !important;opacity:0.2}.image-element.transport.svelte-185kah0 > .button:not(._disabled):hover,.image-element.transport.svelte-185kah0 > .button:not(._disabled):focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}.image.svelte-185kah0{width:100%;height:100%}");
|
5065
5065
|
}
|
5066
5066
|
|
5067
5067
|
// (40:2) <Button {onClick} style={_style} {eventName}>
|
@@ -5072,7 +5072,7 @@ function create_default_slot$4(ctx) {
|
|
5072
5072
|
return {
|
5073
5073
|
c() {
|
5074
5074
|
img = element("img");
|
5075
|
-
attr(img, "class", "image svelte-
|
5075
|
+
attr(img, "class", "image svelte-185kah0");
|
5076
5076
|
attr(img, "loading", "lazy");
|
5077
5077
|
attr(img, "width", "auto");
|
5078
5078
|
attr(img, "height", "auto");
|
@@ -5122,7 +5122,7 @@ function create_fragment$n(ctx) {
|
|
5122
5122
|
c() {
|
5123
5123
|
div = element("div");
|
5124
5124
|
create_component(button.$$.fragment);
|
5125
|
-
attr(div, "class", div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-
|
5125
|
+
attr(div, "class", div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-185kah0");
|
5126
5126
|
},
|
5127
5127
|
m(target, anchor) {
|
5128
5128
|
insert(target, div, anchor);
|
@@ -5141,7 +5141,7 @@ function create_fragment$n(ctx) {
|
|
5141
5141
|
|
5142
5142
|
button.$set(button_changes);
|
5143
5143
|
|
5144
|
-
if (!current || dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-
|
5144
|
+
if (!current || dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-185kah0")) {
|
5145
5145
|
attr(div, "class", div_class_value);
|
5146
5146
|
}
|
5147
5147
|
},
|
@@ -5210,7 +5210,7 @@ class ImageElement extends SvelteComponent {
|
|
5210
5210
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
5211
5211
|
|
5212
5212
|
function add_css$l(target) {
|
5213
|
-
append_styles(target, "svelte-
|
5213
|
+
append_styles(target, "svelte-e4h4wn", ".list.svelte-e4h4wn{display:flex;width:100%;height:100%;overflow:hidden;border-width:0px;border-style:solid;border-color:#000000}");
|
5214
5214
|
}
|
5215
5215
|
|
5216
5216
|
function create_fragment$m(ctx) {
|
@@ -5223,7 +5223,7 @@ function create_fragment$m(ctx) {
|
|
5223
5223
|
c() {
|
5224
5224
|
div = element("div");
|
5225
5225
|
if (default_slot) default_slot.c();
|
5226
|
-
attr(div, "class", "list svelte-
|
5226
|
+
attr(div, "class", "list svelte-e4h4wn");
|
5227
5227
|
attr(div, "style", /*style*/ ctx[0]);
|
5228
5228
|
},
|
5229
5229
|
m(target, anchor) {
|
@@ -5357,7 +5357,7 @@ class List extends SvelteComponent {
|
|
5357
5357
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
5358
5358
|
|
5359
5359
|
function add_css$k(target) {
|
5360
|
-
append_styles(target, "svelte-
|
5360
|
+
append_styles(target, "svelte-1y59gb", ".list-item.svelte-1y59gb{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item.svelte-1y59gb > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000}");
|
5361
5361
|
}
|
5362
5362
|
|
5363
5363
|
// (67:2) <Button {onClick} style={_style} eventName={clickEventName}>
|
@@ -5427,7 +5427,7 @@ function create_fragment$l(ctx) {
|
|
5427
5427
|
c() {
|
5428
5428
|
div = element("div");
|
5429
5429
|
create_component(button.$$.fragment);
|
5430
|
-
attr(div, "class", "list-item svelte-
|
5430
|
+
attr(div, "class", "list-item svelte-1y59gb");
|
5431
5431
|
attr(div, "style", /*listItemStyle*/ ctx[3]);
|
5432
5432
|
},
|
5433
5433
|
m(target, anchor) {
|
@@ -5553,7 +5553,7 @@ class ListItem extends SvelteComponent {
|
|
5553
5553
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
5554
5554
|
|
5555
5555
|
function add_css$j(target) {
|
5556
|
-
append_styles(target, "svelte-
|
5556
|
+
append_styles(target, "svelte-ni3m8w", ".embed.svelte-ni3m8w{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-ni3m8w iframe{position:absolute;top:0;left:0;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000}");
|
5557
5557
|
}
|
5558
5558
|
|
5559
5559
|
function create_fragment$k(ctx) {
|
@@ -5562,7 +5562,7 @@ function create_fragment$k(ctx) {
|
|
5562
5562
|
return {
|
5563
5563
|
c() {
|
5564
5564
|
div = element("div");
|
5565
|
-
attr(div, "class", "embed svelte-
|
5565
|
+
attr(div, "class", "embed svelte-ni3m8w");
|
5566
5566
|
attr(div, "style", /*_style*/ ctx[1]);
|
5567
5567
|
},
|
5568
5568
|
m(target, anchor) {
|
@@ -5605,7 +5605,7 @@ class EmbedElement extends SvelteComponent {
|
|
5605
5605
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
5606
5606
|
|
5607
5607
|
function add_css$i(target) {
|
5608
|
-
append_styles(target, "svelte-
|
5608
|
+
append_styles(target, "svelte-55gb6a", ".embed.svelte-55gb6a{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000}.embed.svelte-55gb6a iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
5609
5609
|
}
|
5610
5610
|
|
5611
5611
|
function create_fragment$j(ctx) {
|
@@ -5617,7 +5617,7 @@ function create_fragment$j(ctx) {
|
|
5617
5617
|
div1 = element("div");
|
5618
5618
|
div0 = element("div");
|
5619
5619
|
attr(div0, "class", "karte-player");
|
5620
|
-
attr(div1, "class", "embed svelte-
|
5620
|
+
attr(div1, "class", "embed svelte-55gb6a");
|
5621
5621
|
attr(div1, "style", /*_style*/ ctx[0]);
|
5622
5622
|
},
|
5623
5623
|
m(target, anchor) {
|
@@ -5959,7 +5959,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
5959
5959
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
5960
5960
|
|
5961
5961
|
function add_css$h(target) {
|
5962
|
-
append_styles(target, "svelte-
|
5962
|
+
append_styles(target, "svelte-55gb6a", ".embed.svelte-55gb6a{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000}.embed.svelte-55gb6a iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
5963
5963
|
}
|
5964
5964
|
|
5965
5965
|
function create_fragment$i(ctx) {
|
@@ -5971,7 +5971,7 @@ function create_fragment$i(ctx) {
|
|
5971
5971
|
div1 = element("div");
|
5972
5972
|
div0 = element("div");
|
5973
5973
|
attr(div0, "class", "karte-player");
|
5974
|
-
attr(div1, "class", "embed svelte-
|
5974
|
+
attr(div1, "class", "embed svelte-55gb6a");
|
5975
5975
|
attr(div1, "style", /*_style*/ ctx[0]);
|
5976
5976
|
},
|
5977
5977
|
m(target, anchor) {
|
@@ -6155,7 +6155,7 @@ class MovieVimeoElement extends SvelteComponent {
|
|
6155
6155
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
6156
6156
|
|
6157
6157
|
function add_css$g(target) {
|
6158
|
-
append_styles(target, "svelte-
|
6158
|
+
append_styles(target, "svelte-13z4kn0", ".textarea-wrapper.svelte-13z4kn0{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-13z4kn0{width:100%;resize:none}");
|
6159
6159
|
}
|
6160
6160
|
|
6161
6161
|
function create_fragment$h(ctx) {
|
@@ -6168,12 +6168,12 @@ function create_fragment$h(ctx) {
|
|
6168
6168
|
c() {
|
6169
6169
|
div = element("div");
|
6170
6170
|
textarea = element("textarea");
|
6171
|
-
attr(textarea, "class", "textarea svelte-
|
6171
|
+
attr(textarea, "class", "textarea svelte-13z4kn0");
|
6172
6172
|
textarea.value = /*$value*/ ctx[3];
|
6173
6173
|
textarea.required = /*required*/ ctx[0];
|
6174
6174
|
attr(textarea, "rows", /*rows*/ ctx[1]);
|
6175
6175
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
6176
|
-
attr(div, "class", "textarea-wrapper svelte-
|
6176
|
+
attr(div, "class", "textarea-wrapper svelte-13z4kn0");
|
6177
6177
|
},
|
6178
6178
|
m(target, anchor) {
|
6179
6179
|
insert(target, div, anchor);
|
@@ -6269,7 +6269,7 @@ class FormTextarea extends SvelteComponent {
|
|
6269
6269
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
6270
6270
|
|
6271
6271
|
function add_css$f(target) {
|
6272
|
-
append_styles(target, "svelte-
|
6272
|
+
append_styles(target, "svelte-1ntb6j8", ".radio-buttons.svelte-1ntb6j8{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-1ntb6j8{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-1ntb6j8{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-1ntb6j8:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-1ntb6j8{margin-left:0.5em}");
|
6273
6273
|
}
|
6274
6274
|
|
6275
6275
|
function get_each_context$5(ctx, list, i) {
|
@@ -6302,14 +6302,14 @@ function create_each_block$5(ctx) {
|
|
6302
6302
|
t1 = text(t1_value);
|
6303
6303
|
t2 = space();
|
6304
6304
|
attr(input, "type", "radio");
|
6305
|
-
attr(input, "class", "radio-button-input svelte-
|
6305
|
+
attr(input, "class", "radio-button-input svelte-1ntb6j8");
|
6306
6306
|
attr(input, "style", /*buttonStyle*/ ctx[5]);
|
6307
6307
|
attr(input, "name", /*name*/ ctx[0]);
|
6308
6308
|
input.value = input_value_value = /*option*/ ctx[16];
|
6309
6309
|
input.checked = input_checked_value = /*option*/ ctx[16] === /*_value*/ ctx[3];
|
6310
|
-
attr(span, "class", "radio-button-text svelte-
|
6310
|
+
attr(span, "class", "radio-button-text svelte-1ntb6j8");
|
6311
6311
|
attr(span, "style", /*_textStyle*/ ctx[2]);
|
6312
|
-
attr(label, "class", "radio-button svelte-
|
6312
|
+
attr(label, "class", "radio-button svelte-1ntb6j8");
|
6313
6313
|
},
|
6314
6314
|
m(target, anchor) {
|
6315
6315
|
insert(target, label, anchor);
|
@@ -6374,7 +6374,7 @@ function create_fragment$g(ctx) {
|
|
6374
6374
|
each_blocks[i].c();
|
6375
6375
|
}
|
6376
6376
|
|
6377
|
-
attr(div, "class", "radio-buttons svelte-
|
6377
|
+
attr(div, "class", "radio-buttons svelte-1ntb6j8");
|
6378
6378
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
6379
6379
|
},
|
6380
6380
|
m(target, anchor) {
|
@@ -6541,7 +6541,7 @@ class FormRadioButtons extends SvelteComponent {
|
|
6541
6541
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
6542
6542
|
|
6543
6543
|
function add_css$e(target) {
|
6544
|
-
append_styles(target, "svelte-
|
6544
|
+
append_styles(target, "svelte-1ihv110", ".select.svelte-1ihv110{width:100%;height:100%}.select-select.svelte-1ihv110{position:relative;appearance:none;width:100%;height:100%}.select-select.svelte-1ihv110:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.select-icon.svelte-1ihv110{position:absolute;width:calc(var(--icon-size) / 1.41);height:calc(var(--icon-size) / 1.41);top:calc(50% - calc(var(--icon-size) / 4));right:calc(var(--icon-size) * 1.2);box-sizing:border-box;border-right:solid 2px var(--icon-color);border-top:solid 2px var(--icon-color);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
|
6545
6545
|
}
|
6546
6546
|
|
6547
6547
|
function get_each_context$4(ctx, list, i) {
|
@@ -6675,10 +6675,10 @@ function create_fragment$f(ctx) {
|
|
6675
6675
|
|
6676
6676
|
t = space();
|
6677
6677
|
div0 = element("div");
|
6678
|
-
attr(select, "class", "select-select svelte-
|
6678
|
+
attr(select, "class", "select-select svelte-1ihv110");
|
6679
6679
|
attr(select, "style", /*style*/ ctx[3]);
|
6680
|
-
attr(div0, "class", "select-icon svelte-
|
6681
|
-
attr(div1, "class", "select svelte-
|
6680
|
+
attr(div0, "class", "select-icon svelte-1ihv110");
|
6681
|
+
attr(div1, "class", "select svelte-1ihv110");
|
6682
6682
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
6683
6683
|
},
|
6684
6684
|
m(target, anchor) {
|
@@ -6880,7 +6880,7 @@ class FormSelect extends SvelteComponent {
|
|
6880
6880
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6881
6881
|
|
6882
6882
|
function add_css$d(target) {
|
6883
|
-
append_styles(target, "svelte-
|
6883
|
+
append_styles(target, "svelte-wtt98v", ".check-boxes.svelte-wtt98v.svelte-wtt98v{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.check-box.svelte-wtt98v.svelte-wtt98v{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-wtt98v.svelte-wtt98v{width:var(--size);height:var(--size);margin:0;position:absolute;appearance:none;cursor:pointer}.check-box-check.svelte-wtt98v.svelte-wtt98v{display:inline-flex;background-color:var(--color-main);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-wtt98v.svelte-wtt98v{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-wtt98v.svelte-wtt98v:after{content:'';display:block;box-sizing:border-box;width:45%;height:91%;transform:translate(60%, -8%) rotate(45deg);border-style:none solid solid none;border-width:2px;border-color:var(--color-sub)}.check-box-check._checked.svelte-wtt98v.svelte-wtt98v{background-color:var(--color-main-active)}.check-box-check._checked.svelte-wtt98v .check-box-icon.svelte-wtt98v:after{border-color:var(--color-sub-active)}.check-box-text.svelte-wtt98v.svelte-wtt98v{margin-left:0.5em}");
|
6884
6884
|
}
|
6885
6885
|
|
6886
6886
|
function get_each_context$3(ctx, list, i) {
|
@@ -6918,19 +6918,19 @@ function create_each_block$3(ctx) {
|
|
6918
6918
|
span2 = element("span");
|
6919
6919
|
t2 = text(t2_value);
|
6920
6920
|
t3 = space();
|
6921
|
-
attr(input, "class", "check-box-input svelte-
|
6921
|
+
attr(input, "class", "check-box-input svelte-wtt98v");
|
6922
6922
|
attr(input, "type", "checkbox");
|
6923
6923
|
attr(input, "name", /*name*/ ctx[0]);
|
6924
6924
|
input.checked = input_checked_value = /*isCheckedArray*/ ctx[4][/*i*/ ctx[19]];
|
6925
|
-
attr(span0, "class", "check-box-icon svelte-
|
6925
|
+
attr(span0, "class", "check-box-icon svelte-wtt98v");
|
6926
6926
|
|
6927
6927
|
attr(span1, "class", span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[19]]
|
6928
6928
|
? ' _checked'
|
6929
|
-
: ''}`) + " svelte-
|
6929
|
+
: ''}`) + " svelte-wtt98v"));
|
6930
6930
|
|
6931
|
-
attr(span2, "class", "check-box-text svelte-
|
6931
|
+
attr(span2, "class", "check-box-text svelte-wtt98v");
|
6932
6932
|
attr(span2, "style", /*_textStyle*/ ctx[2]);
|
6933
|
-
attr(label, "class", "check-box svelte-
|
6933
|
+
attr(label, "class", "check-box svelte-wtt98v");
|
6934
6934
|
attr(label, "style", /*styleVariables*/ ctx[5]);
|
6935
6935
|
},
|
6936
6936
|
m(target, anchor) {
|
@@ -6962,7 +6962,7 @@ function create_each_block$3(ctx) {
|
|
6962
6962
|
|
6963
6963
|
if (dirty & /*isCheckedArray*/ 16 && span1_class_value !== (span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[19]]
|
6964
6964
|
? ' _checked'
|
6965
|
-
: ''}`) + " svelte-
|
6965
|
+
: ''}`) + " svelte-wtt98v"))) {
|
6966
6966
|
attr(span1, "class", span1_class_value);
|
6967
6967
|
}
|
6968
6968
|
|
@@ -7001,7 +7001,7 @@ function create_fragment$e(ctx) {
|
|
7001
7001
|
each_blocks[i].c();
|
7002
7002
|
}
|
7003
7003
|
|
7004
|
-
attr(div, "class", "check-boxes svelte-
|
7004
|
+
attr(div, "class", "check-boxes svelte-wtt98v");
|
7005
7005
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
7006
7006
|
},
|
7007
7007
|
m(target, anchor) {
|
@@ -7175,7 +7175,7 @@ class FormCheckBoxes extends SvelteComponent {
|
|
7175
7175
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
7176
7176
|
|
7177
7177
|
function add_css$c(target) {
|
7178
|
-
append_styles(target, "svelte-
|
7178
|
+
append_styles(target, "svelte-18pfy31", ".rating-buttons.svelte-18pfy31{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-18pfy31{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s;appearance:none;background:none;border:none;margin:0;padding:0}");
|
7179
7179
|
}
|
7180
7180
|
|
7181
7181
|
function get_each_context$2(ctx, list, i) {
|
@@ -7199,7 +7199,7 @@ function create_each_block$2(ctx) {
|
|
7199
7199
|
button = element("button");
|
7200
7200
|
t0 = text(t0_value);
|
7201
7201
|
t1 = space();
|
7202
|
-
attr(button, "class", "rating-button svelte-
|
7202
|
+
attr(button, "class", "rating-button svelte-18pfy31");
|
7203
7203
|
attr(button, "style", button_style_value = /*getTextButtonStyle*/ ctx[4](/*i*/ ctx[12] === /*_value*/ ctx[1]));
|
7204
7204
|
},
|
7205
7205
|
m(target, anchor) {
|
@@ -7248,7 +7248,7 @@ function create_fragment$d(ctx) {
|
|
7248
7248
|
each_blocks[i].c();
|
7249
7249
|
}
|
7250
7250
|
|
7251
|
-
attr(div, "class", "rating-buttons svelte-
|
7251
|
+
attr(div, "class", "rating-buttons svelte-18pfy31");
|
7252
7252
|
},
|
7253
7253
|
m(target, anchor) {
|
7254
7254
|
insert(target, div, anchor);
|
@@ -7385,7 +7385,7 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
7385
7385
|
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
7386
7386
|
|
7387
7387
|
function add_css$b(target) {
|
7388
|
-
append_styles(target, "svelte-
|
7388
|
+
append_styles(target, "svelte-1b5dvzw", ".rating-buttons.svelte-1b5dvzw{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-1b5dvzw{appearance:none;background:none;border:none;margin:0;padding:0}.rating-button-image.svelte-1b5dvzw{cursor:pointer;user-select:none;-webkit-user-drag:none;width:100%;height:100%}.rating-button-image.svelte-1b5dvzw:not(._active){filter:grayscale(100%)}");
|
7389
7389
|
}
|
7390
7390
|
|
7391
7391
|
function get_each_context$1(ctx, list, i) {
|
@@ -7410,9 +7410,9 @@ function create_each_block$1(ctx) {
|
|
7410
7410
|
img = element("img");
|
7411
7411
|
t = space();
|
7412
7412
|
if (!src_url_equal(img.src, img_src_value = /*ICONS*/ ctx[2][/*i*/ ctx[10]])) attr(img, "src", img_src_value);
|
7413
|
-
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-
|
7413
|
+
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-1b5dvzw"));
|
7414
7414
|
attr(img, "alt", "rate" + /*i*/ ctx[10]);
|
7415
|
-
attr(button, "class", "rating-button svelte-
|
7415
|
+
attr(button, "class", "rating-button svelte-1b5dvzw");
|
7416
7416
|
attr(button, "style", /*buttonStyle*/ ctx[0]);
|
7417
7417
|
},
|
7418
7418
|
m(target, anchor) {
|
@@ -7428,7 +7428,7 @@ function create_each_block$1(ctx) {
|
|
7428
7428
|
p(new_ctx, dirty) {
|
7429
7429
|
ctx = new_ctx;
|
7430
7430
|
|
7431
|
-
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-
|
7431
|
+
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-1b5dvzw"))) {
|
7432
7432
|
attr(img, "class", img_class_value);
|
7433
7433
|
}
|
7434
7434
|
|
@@ -7461,7 +7461,7 @@ function create_fragment$c(ctx) {
|
|
7461
7461
|
each_blocks[i].c();
|
7462
7462
|
}
|
7463
7463
|
|
7464
|
-
attr(div, "class", "rating-buttons svelte-
|
7464
|
+
attr(div, "class", "rating-buttons svelte-1b5dvzw");
|
7465
7465
|
},
|
7466
7466
|
m(target, anchor) {
|
7467
7467
|
insert(target, div, anchor);
|
@@ -7569,7 +7569,7 @@ class FormRatingButtonsFace extends SvelteComponent {
|
|
7569
7569
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
7570
7570
|
|
7571
7571
|
function add_css$a(target) {
|
7572
|
-
append_styles(target, "svelte-
|
7572
|
+
append_styles(target, "svelte-1qfq79t", ".root.svelte-1qfq79t{width:100%;height:100%;position:relative}.container.svelte-1qfq79t{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-width:0px;border-style:solid;border-color:#000000}.slide.svelte-1qfq79t{height:100%;position:absolute;display:flex}.transition.svelte-1qfq79t{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-1qfq79t{height:100%;flex:none}.prev-button-container.svelte-1qfq79t,.next-button-container.svelte-1qfq79t{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button-container.svelte-1qfq79t{left:0}.next-button-container.svelte-1qfq79t{right:0}.move-button.svelte-1qfq79t{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box;border:none;background:none;margin:0;padding:0}.navigation.svelte-1qfq79t{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-1qfq79t{flex-shrink:0;cursor:pointer;border:none;background:none;margin:0;padding:0;appearance:none}.navigation-item-inner.circle.svelte-1qfq79t{border-radius:51%}");
|
7573
7573
|
}
|
7574
7574
|
|
7575
7575
|
function get_each_context(ctx, list, i) {
|
@@ -7598,9 +7598,9 @@ function create_if_block_1(ctx) {
|
|
7598
7598
|
attr(svg, "viewBox", "0 0 10 16");
|
7599
7599
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
7600
7600
|
attr(svg, "style", /*prevIconStyle*/ ctx[10]);
|
7601
|
-
attr(button, "class", "move-button svelte-
|
7601
|
+
attr(button, "class", "move-button svelte-1qfq79t");
|
7602
7602
|
attr(button, "style", /*_prevButtonContainerStyle*/ ctx[9]);
|
7603
|
-
attr(div, "class", "prev-button-container svelte-
|
7603
|
+
attr(div, "class", "prev-button-container svelte-1qfq79t");
|
7604
7604
|
},
|
7605
7605
|
m(target, anchor) {
|
7606
7606
|
insert(target, div, anchor);
|
@@ -7649,9 +7649,9 @@ function create_if_block$1(ctx) {
|
|
7649
7649
|
attr(svg, "viewBox", "0 0 10 16");
|
7650
7650
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
7651
7651
|
attr(svg, "style", /*nextIconStyle*/ ctx[8]);
|
7652
|
-
attr(button, "class", "move-button svelte-
|
7652
|
+
attr(button, "class", "move-button svelte-1qfq79t");
|
7653
7653
|
attr(button, "style", /*_nextButtonContainerStyle*/ ctx[7]);
|
7654
|
-
attr(div, "class", "next-button-container svelte-
|
7654
|
+
attr(div, "class", "next-button-container svelte-1qfq79t");
|
7655
7655
|
},
|
7656
7656
|
m(target, anchor) {
|
7657
7657
|
insert(target, div, anchor);
|
@@ -7699,9 +7699,9 @@ function create_each_block(ctx) {
|
|
7699
7699
|
button = element("button");
|
7700
7700
|
div = element("div");
|
7701
7701
|
t = space();
|
7702
|
-
attr(div, "class", "navigation-item-inner circle svelte-
|
7702
|
+
attr(div, "class", "navigation-item-inner circle svelte-1qfq79t");
|
7703
7703
|
attr(div, "style", div_style_value = /*getNavigationItemInnerStyle*/ ctx[5](/*i*/ ctx[63]));
|
7704
|
-
attr(button, "class", "navigation-item svelte-
|
7704
|
+
attr(button, "class", "navigation-item svelte-1qfq79t");
|
7705
7705
|
attr(button, "style", /*navigationItemStyle*/ ctx[6]);
|
7706
7706
|
},
|
7707
7707
|
m(target, anchor) {
|
@@ -7778,14 +7778,14 @@ function create_fragment$b(ctx) {
|
|
7778
7778
|
each_blocks[i].c();
|
7779
7779
|
}
|
7780
7780
|
|
7781
|
-
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-
|
7781
|
+
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-1qfq79t"));
|
7782
7782
|
attr(div0, "style", /*slideStyle*/ ctx[14]);
|
7783
|
-
attr(div1, "class", "container svelte-
|
7783
|
+
attr(div1, "class", "container svelte-1qfq79t");
|
7784
7784
|
attr(div1, "style", /*_style*/ ctx[0]);
|
7785
|
-
attr(div2, "class", "navigation svelte-
|
7785
|
+
attr(div2, "class", "navigation svelte-1qfq79t");
|
7786
7786
|
attr(div2, "style", /*navigationStyle*/ ctx[4]);
|
7787
7787
|
set_attributes(div3, div3_data);
|
7788
|
-
toggle_class(div3, "svelte-
|
7788
|
+
toggle_class(div3, "svelte-1qfq79t", true);
|
7789
7789
|
},
|
7790
7790
|
m(target, anchor) {
|
7791
7791
|
insert(target, div3, anchor);
|
@@ -7827,7 +7827,7 @@ function create_fragment$b(ctx) {
|
|
7827
7827
|
}
|
7828
7828
|
}
|
7829
7829
|
|
7830
|
-
if (!current || dirty[0] & /*slideClass*/ 8192 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-
|
7830
|
+
if (!current || dirty[0] & /*slideClass*/ 8192 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-1qfq79t"))) {
|
7831
7831
|
attr(div0, "class", div0_class_value);
|
7832
7832
|
}
|
7833
7833
|
|
@@ -7893,7 +7893,7 @@ function create_fragment$b(ctx) {
|
|
7893
7893
|
}
|
7894
7894
|
|
7895
7895
|
set_attributes(div3, div3_data = get_spread_update(div3_levels, [{ class: "root" }, dataAttrStopPropagation('click')]));
|
7896
|
-
toggle_class(div3, "svelte-
|
7896
|
+
toggle_class(div3, "svelte-1qfq79t", true);
|
7897
7897
|
},
|
7898
7898
|
i(local) {
|
7899
7899
|
if (current) return;
|
@@ -8405,7 +8405,7 @@ class Slide extends SvelteComponent {
|
|
8405
8405
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
8406
8406
|
|
8407
8407
|
function add_css$9(target) {
|
8408
|
-
append_styles(target, "svelte-
|
8408
|
+
append_styles(target, "svelte-1ilvo81", ".item.svelte-1ilvo81{height:100%;flex:none;position:relative}.item.svelte-1ilvo81 img{user-select:none;-webkit-user-drag:none}.item-inner.svelte-1ilvo81{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000}");
|
8409
8409
|
}
|
8410
8410
|
|
8411
8411
|
function create_fragment$a(ctx) {
|
@@ -8420,9 +8420,9 @@ function create_fragment$a(ctx) {
|
|
8420
8420
|
div1 = element("div");
|
8421
8421
|
div0 = element("div");
|
8422
8422
|
if (default_slot) default_slot.c();
|
8423
|
-
attr(div0, "class", "item-inner svelte-
|
8423
|
+
attr(div0, "class", "item-inner svelte-1ilvo81");
|
8424
8424
|
attr(div0, "style", /*_style*/ ctx[0]);
|
8425
|
-
attr(div1, "class", "item svelte-
|
8425
|
+
attr(div1, "class", "item svelte-1ilvo81");
|
8426
8426
|
attr(div1, "style", /*itemStyle*/ ctx[1]);
|
8427
8427
|
},
|
8428
8428
|
m(target, anchor) {
|
@@ -8548,7 +8548,7 @@ class SlideItem extends SvelteComponent {
|
|
8548
8548
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
8549
8549
|
|
8550
8550
|
function add_css$8(target) {
|
8551
|
-
append_styles(target, "svelte-
|
8551
|
+
append_styles(target, "svelte-5j9cpu", ".countdown.svelte-5j9cpu{position:relative;width:100%;height:100%}.countdown-inner.svelte-5j9cpu{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000}");
|
8552
8552
|
}
|
8553
8553
|
|
8554
8554
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 2 });
|
@@ -8566,9 +8566,9 @@ function create_fragment$9(ctx) {
|
|
8566
8566
|
div1 = element("div");
|
8567
8567
|
div0 = element("div");
|
8568
8568
|
if (default_slot) default_slot.c();
|
8569
|
-
attr(div0, "class", "countdown-inner svelte-
|
8569
|
+
attr(div0, "class", "countdown-inner svelte-5j9cpu");
|
8570
8570
|
attr(div0, "style", /*_style*/ ctx[0]);
|
8571
|
-
attr(div1, "class", "countdown svelte-
|
8571
|
+
attr(div1, "class", "countdown svelte-5j9cpu");
|
8572
8572
|
},
|
8573
8573
|
m(target, anchor) {
|
8574
8574
|
insert(target, div1, anchor);
|
@@ -8702,7 +8702,7 @@ class Countdown extends SvelteComponent {
|
|
8702
8702
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
8703
8703
|
|
8704
8704
|
function add_css$7(target) {
|
8705
|
-
append_styles(target, "svelte-
|
8705
|
+
append_styles(target, "svelte-ppc4fn", ".box.svelte-ppc4fn{position:relative;width:100%;height:100%}.box.svelte-ppc4fn > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000}");
|
8706
8706
|
}
|
8707
8707
|
|
8708
8708
|
// (24:2) <Button {onClick} style={_style} {eventName}>
|
@@ -8772,7 +8772,7 @@ function create_fragment$8(ctx) {
|
|
8772
8772
|
c() {
|
8773
8773
|
div = element("div");
|
8774
8774
|
create_component(button.$$.fragment);
|
8775
|
-
attr(div, "class", "box svelte-
|
8775
|
+
attr(div, "class", "box svelte-ppc4fn");
|
8776
8776
|
},
|
8777
8777
|
m(target, anchor) {
|
8778
8778
|
insert(target, div, anchor);
|
@@ -8833,7 +8833,7 @@ class Box extends SvelteComponent {
|
|
8833
8833
|
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
8834
8834
|
|
8835
8835
|
function add_css$6(target) {
|
8836
|
-
append_styles(target, "svelte-
|
8836
|
+
append_styles(target, "svelte-1mk6wi4", ".icon.svelte-1mk6wi4{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon.svelte-1mk6wi4 > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.icon.svelte-1mk6wi4 > .button._disabled{cursor:not-allowed !important;opacity:0.2}.icon.svelte-1mk6wi4 svg{width:var(--width);height:var(--height);color:var(--color);stroke:var(--stroke);fill:var(--fill)}");
|
8837
8837
|
}
|
8838
8838
|
|
8839
8839
|
// (56:4) {#if svg}
|
@@ -8915,7 +8915,7 @@ function create_fragment$7(ctx) {
|
|
8915
8915
|
c() {
|
8916
8916
|
div = element("div");
|
8917
8917
|
create_component(button.$$.fragment);
|
8918
|
-
attr(div, "class", "icon svelte-
|
8918
|
+
attr(div, "class", "icon svelte-1mk6wi4");
|
8919
8919
|
},
|
8920
8920
|
m(target, anchor) {
|
8921
8921
|
insert(target, div, anchor);
|
@@ -9024,7 +9024,7 @@ class IconElement extends SvelteComponent {
|
|
9024
9024
|
/* src/components/CodeElement.svelte generated by Svelte v3.53.1 */
|
9025
9025
|
|
9026
9026
|
function add_css$5(target) {
|
9027
|
-
append_styles(target, "svelte-
|
9027
|
+
append_styles(target, "svelte-1ng2n51", ".codeElement.svelte-1ng2n51{box-sizing:border-box;margin:0px;padding:0px;width:100%;height:100%}");
|
9028
9028
|
}
|
9029
9029
|
|
9030
9030
|
function create_fragment$6(ctx) {
|
@@ -9050,7 +9050,7 @@ function create_fragment$6(ctx) {
|
|
9050
9050
|
c() {
|
9051
9051
|
div = element("div");
|
9052
9052
|
if (switch_instance) create_component(switch_instance.$$.fragment);
|
9053
|
-
attr(div, "class", "codeElement svelte-
|
9053
|
+
attr(div, "class", "codeElement svelte-1ng2n51");
|
9054
9054
|
attr(div, "style", /*style*/ ctx[3]);
|
9055
9055
|
},
|
9056
9056
|
m(target, anchor) {
|
@@ -9139,7 +9139,7 @@ class CodeElement extends SvelteComponent {
|
|
9139
9139
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
9140
9140
|
|
9141
9141
|
function add_css$4(target) {
|
9142
|
-
append_styles(target, "svelte-
|
9142
|
+
append_styles(target, "svelte-9v2qdg", ".flex.svelte-9v2qdg{display:flex}");
|
9143
9143
|
}
|
9144
9144
|
|
9145
9145
|
function create_fragment$5(ctx) {
|
@@ -9153,7 +9153,7 @@ function create_fragment$5(ctx) {
|
|
9153
9153
|
c() {
|
9154
9154
|
div = element("div");
|
9155
9155
|
if (default_slot) default_slot.c();
|
9156
|
-
attr(div, "class", "flex svelte-
|
9156
|
+
attr(div, "class", "flex svelte-9v2qdg");
|
9157
9157
|
attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
|
9158
9158
|
},
|
9159
9159
|
m(target, anchor) {
|
@@ -9250,7 +9250,7 @@ class Flex extends SvelteComponent {
|
|
9250
9250
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
9251
9251
|
|
9252
9252
|
function add_css$3(target) {
|
9253
|
-
append_styles(target, "svelte-
|
9253
|
+
append_styles(target, "svelte-164ah5d", ".flex-item.svelte-164ah5d{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
9254
9254
|
}
|
9255
9255
|
|
9256
9256
|
function create_fragment$4(ctx) {
|
@@ -9263,7 +9263,7 @@ function create_fragment$4(ctx) {
|
|
9263
9263
|
c() {
|
9264
9264
|
div = element("div");
|
9265
9265
|
if (default_slot) default_slot.c();
|
9266
|
-
attr(div, "class", "flex-item svelte-
|
9266
|
+
attr(div, "class", "flex-item svelte-164ah5d");
|
9267
9267
|
attr(div, "style", /*style*/ ctx[0]);
|
9268
9268
|
},
|
9269
9269
|
m(target, anchor) {
|
@@ -9671,7 +9671,7 @@ class GridModalState extends SvelteComponent {
|
|
9671
9671
|
/* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
|
9672
9672
|
|
9673
9673
|
function add_css$2(target) {
|
9674
|
-
append_styles(target, "svelte-
|
9674
|
+
append_styles(target, "svelte-q1o685", ".text-block.svelte-q1o685.svelte-q1o685{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-block-inner.svelte-q1o685.svelte-q1o685{width:100%;height:auto}.text-direction-vertical.svelte-q1o685.svelte-q1o685{writing-mode:vertical-rl}.text-direction-vertical.svelte-q1o685 .text-block-inner.svelte-q1o685{width:auto;height:100%}");
|
9675
9675
|
}
|
9676
9676
|
|
9677
9677
|
function create_fragment$2(ctx) {
|
@@ -9687,8 +9687,8 @@ function create_fragment$2(ctx) {
|
|
9687
9687
|
div1 = element("div");
|
9688
9688
|
div0 = element("div");
|
9689
9689
|
create_component(rendertext.$$.fragment);
|
9690
|
-
attr(div0, "class", "text-block-inner svelte-
|
9691
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
9690
|
+
attr(div0, "class", "text-block-inner svelte-q1o685");
|
9691
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-q1o685"));
|
9692
9692
|
attr(div1, "style", /*style*/ ctx[2]);
|
9693
9693
|
},
|
9694
9694
|
m(target, anchor) {
|
@@ -9702,7 +9702,7 @@ function create_fragment$2(ctx) {
|
|
9702
9702
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
9703
9703
|
rendertext.$set(rendertext_changes);
|
9704
9704
|
|
9705
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
9705
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-q1o685"))) {
|
9706
9706
|
attr(div1, "class", div1_class_value);
|
9707
9707
|
}
|
9708
9708
|
|
@@ -9780,7 +9780,7 @@ class TextBlock extends SvelteComponent {
|
|
9780
9780
|
/* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
|
9781
9781
|
|
9782
9782
|
function add_css$1(target) {
|
9783
|
-
append_styles(target, "svelte-
|
9783
|
+
append_styles(target, "svelte-1cungpm", ".text-button-block.svelte-1cungpm{width:100%;height:100%}.text-button.svelte-1cungpm{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s}.text-button.svelte-1cungpm:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1cungpm:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
9784
9784
|
}
|
9785
9785
|
|
9786
9786
|
function create_fragment$1(ctx) {
|
@@ -9797,9 +9797,9 @@ function create_fragment$1(ctx) {
|
|
9797
9797
|
div = element("div");
|
9798
9798
|
button = element("button");
|
9799
9799
|
create_component(rendertext.$$.fragment);
|
9800
|
-
attr(button, "class", "text-button svelte-
|
9800
|
+
attr(button, "class", "text-button svelte-1cungpm");
|
9801
9801
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
9802
|
-
attr(div, "class", "text-button-block svelte-
|
9802
|
+
attr(div, "class", "text-button-block svelte-1cungpm");
|
9803
9803
|
attr(div, "style", /*_style*/ ctx[2]);
|
9804
9804
|
},
|
9805
9805
|
m(target, anchor) {
|
@@ -9905,7 +9905,7 @@ class TextButtonBlock extends SvelteComponent {
|
|
9905
9905
|
/* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
|
9906
9906
|
|
9907
9907
|
function add_css(target) {
|
9908
|
-
append_styles(target, "svelte-
|
9908
|
+
append_styles(target, "svelte-77bqvv", ".image-block.svelte-77bqvv{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.image.svelte-77bqvv{width:100%;height:100%}.transport.svelte-77bqvv:hover,.transport.svelte-77bqvv:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
9909
9909
|
}
|
9910
9910
|
|
9911
9911
|
function create_fragment(ctx) {
|
@@ -9920,14 +9920,14 @@ function create_fragment(ctx) {
|
|
9920
9920
|
c() {
|
9921
9921
|
div = element("div");
|
9922
9922
|
img = element("img");
|
9923
|
-
attr(img, "class", "image svelte-
|
9923
|
+
attr(img, "class", "image svelte-77bqvv");
|
9924
9924
|
attr(img, "loading", "lazy");
|
9925
9925
|
attr(img, "width", "auto");
|
9926
9926
|
attr(img, "height", "auto");
|
9927
9927
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
9928
9928
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
9929
9929
|
attr(img, "alt", /*alt*/ ctx[1]);
|
9930
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
9930
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-77bqvv"));
|
9931
9931
|
attr(div, "style", /*_style*/ ctx[4]);
|
9932
9932
|
},
|
9933
9933
|
m(target, anchor) {
|
@@ -9952,7 +9952,7 @@ function create_fragment(ctx) {
|
|
9952
9952
|
attr(img, "alt", /*alt*/ ctx[1]);
|
9953
9953
|
}
|
9954
9954
|
|
9955
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
9955
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-77bqvv"))) {
|
9956
9956
|
attr(div, "class", div_class_value);
|
9957
9957
|
}
|
9958
9958
|
|