fastn_builtins/lib.rs
1#![allow(clippy::derive_partial_eq_without_eq, clippy::get_first)]
2#![warn(clippy::used_underscore_binding)]
3
4extern crate self as fastn_builtins;
5
6pub mod constants;
7
8pub type Map<T> = std::collections::BTreeMap<String, T>;
9use fastn_resolved::evalexpr::ContextWithMutableFunctions;
10
11/**
12* The `default_aliases` function is intended to provide default aliases for the `ftd` module,
13* with the only default alias being "ftd" itself. This allows users to reference the `ftd` module
14* using this alias instead of the full module name.
15**/
16pub fn default_aliases() -> Map<String> {
17 std::iter::IntoIterator::into_iter([
18 ("ftd".to_string(), "ftd".to_string()),
19 ("inherited".to_string(), "inherited".to_string()),
20 ])
21 .collect()
22}
23
24/*
25The `default_functions` function returns a map of string keys to Function values. These functions
26are built-in and available for use in the evaluation of an expression.
27
281. `is_empty` - This function takes an argument and returns a boolean value indicating whether or not
29the argument is empty. It checks for empty values, strings, and tuples.
30
312. `enable_dark_mode` - This function takes no arguments and returns an empty value. It is used to
32enable dark mode in the application.
33
343. `enable_light_mode` - This function takes no arguments and returns an empty value. It is used to
35enable light mode in the application.
36
374. `enable_system_mode` - This function takes no arguments and returns an empty value. It is used to
38enable system mode in the application, which means the application will use the system's default
39color scheme.
40*/
41pub fn default_functions() -> Map<fastn_resolved::evalexpr::Function> {
42 use fastn_resolved::evalexpr::*;
43
44 std::iter::IntoIterator::into_iter([
45 (
46 "ftd.clean_code".to_string(),
47 Function::new(|argument| {
48 if argument.as_empty().is_ok() {
49 Ok(Value::String("".to_string()))
50 } else if let Ok(s) = argument.as_string() {
51 let mut new_string = vec![];
52 for line in s.split('\n') {
53 new_string.push(
54 fastn_builtins::constants::FTD_HIGHLIGHTER.replace(line, regex::NoExpand("")),
55 );
56 }
57 Ok(Value::String(new_string.join("\n")))
58 } else if let Ok(tuple) = argument.as_tuple() {
59 if tuple.len().ne(&2) {
60 Err(
61 fastn_resolved::evalexpr::error::EvalexprError::WrongFunctionArgumentAmount {
62 expected: 2,
63 actual: tuple.len(),
64 },
65 )
66 } else {
67 let s = tuple.first().unwrap().as_string()?;
68 let lang = tuple.last().unwrap().as_string()?;
69 if lang.eq("ftd") {
70 let mut new_string = vec![];
71 for line in s.split('\n') {
72 new_string.push(
73 fastn_builtins::constants::FTD_HIGHLIGHTER
74 .replace(line, regex::NoExpand("")),
75 );
76 }
77 Ok(Value::String(new_string.join("\n")))
78 } else {
79 Ok(Value::String(s))
80 }
81 }
82 } else {
83 Err(fastn_resolved::evalexpr::error::EvalexprError::ExpectedString {
84 actual: argument.clone(),
85 })
86 }
87 }),
88 ),
89 (
90 "ftd.is_empty".to_string(),
91 Function::new(|argument| {
92 if argument.as_empty().is_ok() {
93 Ok(Value::Boolean(true))
94 } else if let Ok(s) = argument.as_string() {
95 Ok(Value::Boolean(s.is_empty()))
96 } else if let Ok(s) = argument.as_tuple() {
97 Ok(Value::Boolean(s.is_empty()))
98 } else {
99 Ok(Value::Boolean(false)) //todo: throw error
100 }
101 }),
102 ),
103 (
104 "ftd.append".to_string(),
105 Function::new(|argument| {
106 if let Ok(s) = argument.as_tuple() {
107 if s.len() != 2 {
108 Err(
109 fastn_resolved::evalexpr::error::EvalexprError::WrongFunctionArgumentAmount {
110 expected: 2,
111 actual: s.len(),
112 },
113 )
114 } else {
115 let mut argument = s.first().unwrap().as_tuple()?;
116 let value = s.last().unwrap();
117 argument.push(value.to_owned());
118 Ok(Value::Tuple(argument))
119 }
120 } else {
121 Ok(Value::Boolean(false)) //todo: throw error
122 }
123 }),
124 ),
125 (
126 "enable_dark_mode".to_string(),
127 Function::new(|_| Ok(Value::Empty)),
128 ),
129 (
130 "enable_light_mode".to_string(),
131 Function::new(|_| Ok(Value::Empty)),
132 ),
133 (
134 "enable_system_mode".to_string(),
135 Function::new(|_| Ok(Value::Empty)),
136 ),
137 ])
138 .collect()
139}
140
141pub fn default_context(
142) -> Result<fastn_resolved::evalexpr::HashMapContext, fastn_resolved::evalexpr::EvalexprError> {
143 let mut context = fastn_resolved::evalexpr::HashMapContext::new();
144 for (key, function) in default_functions() {
145 context.set_function(key, function)?;
146 }
147 Ok(context)
148}
149
150/**
151The `default_bag` function is a public function that returns a `Map` of `Thing`s.
152
153The `Map` is a data structure that stores key-value pairs in a hash table. In this case, the keys
154are `String`s representing the names of different `Thing`s, and the values are the `Thing`s
155themselves.
156**/
157pub fn default_bag() -> indexmap::IndexMap<String, fastn_resolved::Definition> {
158 let record = |n: &str, r: &str| (n.to_string(), fastn_resolved::Kind::record(r));
159 let _color = |n: &str| record(n, "ftd#color");
160 let things = vec![
161 (
162 "ftd#row".to_string(),
163 fastn_resolved::Definition::Component(row_function()),
164 ),
165 (
166 "ftd#rive".to_string(),
167 fastn_resolved::Definition::Component(rive_function()),
168 ),
169 (
170 "ftd#container".to_string(),
171 fastn_resolved::Definition::Component(container_function()),
172 ),
173 (
174 "ftd#desktop".to_string(),
175 fastn_resolved::Definition::Component(desktop_function()),
176 ),
177 (
178 "ftd#mobile".to_string(),
179 fastn_resolved::Definition::Component(mobile_function()),
180 ),
181 (
182 "ftd#code".to_string(),
183 fastn_resolved::Definition::Component(code_function()),
184 ),
185 (
186 "ftd#iframe".to_string(),
187 fastn_resolved::Definition::Component(iframe_function()),
188 ),
189 (
190 "ftd#column".to_string(),
191 fastn_resolved::Definition::Component(column_function()),
192 ),
193 (
194 "ftd#document".to_string(),
195 fastn_resolved::Definition::Component(document_function()),
196 ),
197 (
198 "ftd#text".to_string(),
199 fastn_resolved::Definition::Component(markup_function()),
200 ),
201 (
202 "ftd#integer".to_string(),
203 fastn_resolved::Definition::Component(integer_function()),
204 ),
205 (
206 "ftd#decimal".to_string(),
207 fastn_resolved::Definition::Component(decimal_function()),
208 ),
209 (
210 "ftd#boolean".to_string(),
211 fastn_resolved::Definition::Component(boolean_function()),
212 ),
213 (
214 "ftd#text-input".to_string(),
215 fastn_resolved::Definition::Component(text_input_function()),
216 ),
217 (
218 "ftd#checkbox".to_string(),
219 fastn_resolved::Definition::Component(checkbox_function()),
220 ),
221 (
222 "ftd#image".to_string(),
223 fastn_resolved::Definition::Component(image_function()),
224 ),
225
226 (
227 "ftd#audio".to_string(),
228 fastn_resolved::Definition::Component(audio_function()),
229 ),
230 (
231 "ftd#video".to_string(),
232 fastn_resolved::Definition::Component(video_function()),
233 ),
234 (
235 "ftd#set-rive-boolean".to_string(),
236 fastn_resolved::Definition::Function(fastn_resolved::Function {
237 name: "ftd#set-rive-boolean".to_string(),
238 return_kind: fastn_resolved::KindData {
239 kind: fastn_resolved::Kind::void(),
240 caption: false,
241 body: false,
242 },
243 arguments: vec![
244 fastn_resolved::Argument {
245 name: "rive".to_string(),
246 kind: fastn_resolved::Kind::string().into_kind_data(),
247 mutable: false,
248 value: None,
249 access_modifier: Default::default(),
250 line_number: 0,
251 },
252 fastn_resolved::Argument {
253 name: "input".to_string(),
254 kind: fastn_resolved::Kind::string().into_kind_data(),
255 mutable: false,
256 value: None,
257 access_modifier: Default::default(),
258 line_number: 0,
259 },
260 fastn_resolved::Argument {
261 name: "value".to_string(),
262 kind: fastn_resolved::Kind::boolean().into_kind_data(),
263 mutable: false,
264 value: None,
265 access_modifier: Default::default(),
266 line_number: 0,
267 },
268 ],
269 expression: vec![
270 fastn_resolved::FunctionExpression {
271 expression: "ftd.set_rive_boolean(rive, input, value)".to_string(),
272 line_number: 0,
273 }
274 ],
275 js: None,
276 line_number: 0,
277 external_implementation: true,
278 })
279 ),
280 (
281 "ftd#toggle-rive-boolean".to_string(),
282 fastn_resolved::Definition::Function(fastn_resolved::Function {
283 name: "ftd#toggle-rive-boolean".to_string(),
284 return_kind: fastn_resolved::KindData {
285 kind: fastn_resolved::Kind::void(),
286 caption: false,
287 body: false,
288 },
289 arguments: vec![
290 fastn_resolved::Argument {
291 name: "rive".to_string(),
292 kind: fastn_resolved::Kind::string().into_kind_data(),
293 mutable: false,
294 value: None,
295 access_modifier: Default::default(),
296 line_number: 0,
297 },
298 fastn_resolved::Argument {
299 name: "input".to_string(),
300 kind: fastn_resolved::Kind::string().into_kind_data(),
301 mutable: false,
302 value: None,
303 access_modifier: Default::default(),
304 line_number: 0,
305 },
306 ],
307 expression: vec![
308 fastn_resolved::FunctionExpression {
309 expression: "ftd.toggle_rive_boolean(rive, input)".to_string(),
310 line_number: 0,
311 }
312 ],
313 js: None,
314 line_number: 0,
315 external_implementation: true
316 })
317 ),
318 (
319 "ftd#set-rive-integer".to_string(),
320 fastn_resolved::Definition::Function(fastn_resolved::Function {
321 name: "ftd#set-rive-integer".to_string(),
322 return_kind: fastn_resolved::KindData {
323 kind: fastn_resolved::Kind::void(),
324 caption: false,
325 body: false,
326 },
327 arguments: vec![
328 fastn_resolved::Argument {
329 name: "rive".to_string(),
330 kind: fastn_resolved::Kind::string().into_kind_data(),
331 mutable: false,
332 value: None,
333 access_modifier: Default::default(),
334 line_number: 0,
335 },
336 fastn_resolved::Argument {
337 name: "input".to_string(),
338 kind: fastn_resolved::Kind::string().into_kind_data(),
339 mutable: false,
340 value: None,
341 access_modifier: Default::default(),
342 line_number: 0,
343 },
344 fastn_resolved::Argument {
345 name: "value".to_string(),
346 kind: fastn_resolved::Kind::integer().into_kind_data(),
347 mutable: false,
348 value: None,
349 access_modifier: Default::default(),
350 line_number: 0,
351 },
352 ],
353 expression: vec![
354 fastn_resolved::FunctionExpression {
355 expression: "ftd.set_rive_integer(rive, input, value)".to_string(),
356 line_number: 0,
357 }
358 ],
359 js: None,
360 line_number: 0,
361 external_implementation: true
362 })
363 ),
364 (
365 "ftd#fire-rive".to_string(),
366 fastn_resolved::Definition::Function(fastn_resolved::Function {
367 name: "ftd#fire-rive".to_string(),
368 return_kind: fastn_resolved::KindData {
369 kind: fastn_resolved::Kind::void(),
370 caption: false,
371 body: false,
372 },
373 arguments: vec![
374 fastn_resolved::Argument {
375 name: "rive".to_string(),
376 kind: fastn_resolved::Kind::string().into_kind_data(),
377 mutable: false,
378 value: None,
379 access_modifier: Default::default(),
380 line_number: 0,
381 },
382 fastn_resolved::Argument {
383 name: "input".to_string(),
384 kind: fastn_resolved::Kind::string().into_kind_data(),
385 mutable: false,
386 value: None,
387 access_modifier: Default::default(),
388 line_number: 0,
389 },
390 ],
391 expression: vec![
392 fastn_resolved::FunctionExpression {
393 expression: "ftd.fire_rive(rive, input)".to_string(),
394 line_number: 0,
395 }
396 ],
397 js: None,
398 line_number: 0,
399 external_implementation: true
400 })
401 ),
402 (
403 "ftd#play-rive".to_string(),
404 fastn_resolved::Definition::Function(fastn_resolved::Function {
405 name: "ftd#play-rive".to_string(),
406 return_kind: fastn_resolved::KindData {
407 kind: fastn_resolved::Kind::void(),
408 caption: false,
409 body: false,
410 },
411 arguments: vec![
412 fastn_resolved::Argument {
413 name: "rive".to_string(),
414 kind: fastn_resolved::Kind::string().into_kind_data(),
415 mutable: false,
416 value: None,
417 access_modifier: Default::default(),
418 line_number: 0,
419 },
420 fastn_resolved::Argument {
421 name: "input".to_string(),
422 kind: fastn_resolved::Kind::string().into_kind_data(),
423 mutable: false,
424 value: None,
425 access_modifier: Default::default(),
426 line_number: 0,
427 },
428 ],
429 expression: vec![
430 fastn_resolved::FunctionExpression {
431 expression: "ftd.play_rive(rive, input)".to_string(),
432 line_number: 0,
433 }
434 ],
435 js: None,
436 line_number: 0,
437 external_implementation: true
438 })
439 ),
440 (
441 "ftd#pause-rive".to_string(),
442 fastn_resolved::Definition::Function(fastn_resolved::Function {
443 name: "ftd#pause-rive".to_string(),
444 return_kind: fastn_resolved::KindData {
445 kind: fastn_resolved::Kind::void(),
446 caption: false,
447 body: false,
448 },
449 arguments: vec![
450 fastn_resolved::Argument {
451 name: "rive".to_string(),
452 kind: fastn_resolved::Kind::string().into_kind_data(),
453 mutable: false,
454 value: None,
455 access_modifier: Default::default(),
456 line_number: 0,
457 },
458 fastn_resolved::Argument {
459 name: "input".to_string(),
460 kind: fastn_resolved::Kind::string().into_kind_data(),
461 mutable: false,
462 value: None,
463 access_modifier: Default::default(),
464 line_number: 0,
465 },
466 ],
467 expression: vec![
468 fastn_resolved::FunctionExpression {
469 expression: "ftd.pause_rive(rive, input)".to_string(),
470 line_number: 0,
471 }
472 ],
473 js: None,
474 line_number: 0,
475 external_implementation: true
476 })
477 ),
478 (
479 "ftd#toggle-play-rive".to_string(),
480 fastn_resolved::Definition::Function(fastn_resolved::Function {
481 name: "ftd#toggle-play-rive".to_string(),
482 return_kind: fastn_resolved::KindData {
483 kind: fastn_resolved::Kind::void(),
484 caption: false,
485 body: false,
486 },
487 arguments: vec![
488 fastn_resolved::Argument {
489 name: "rive".to_string(),
490 kind: fastn_resolved::Kind::string().into_kind_data(),
491 mutable: false,
492 value: None,
493 access_modifier: Default::default(),
494 line_number: 0,
495 },
496 fastn_resolved::Argument {
497 name: "input".to_string(),
498 kind: fastn_resolved::Kind::string().into_kind_data(),
499 mutable: false,
500 value: None,
501 access_modifier: Default::default(),
502 line_number: 0,
503 },
504 ],
505 expression: vec![
506 fastn_resolved::FunctionExpression {
507 expression: "ftd.toggle_play_rive(rive, input)".to_string(),
508 line_number: 0,
509 }
510 ],
511 js: None,
512 line_number: 0,
513 external_implementation: true
514 })
515 ),
516 (
517 "ftd#toggle".to_string(),
518 fastn_resolved::Definition::Function(fastn_resolved::Function {
519 name: "ftd#toggle".to_string(),
520 return_kind: fastn_resolved::KindData {
521 kind: fastn_resolved::Kind::void(),
522 caption: false,
523 body: false,
524 },
525 arguments: vec![
526 fastn_resolved::Argument {
527 name: "a".to_string(),
528 kind: fastn_resolved::KindData {
529 kind: fastn_resolved::Kind::boolean(),
530 caption: false,
531 body: false,
532 },
533 mutable: true,
534 value: None,
535 access_modifier: Default::default(),
536 line_number: 0,
537 },
538 ],
539 expression: vec![
540 fastn_resolved::FunctionExpression {
541 expression: "a = !a".to_string(),
542 line_number: 0,
543 }
544 ],
545 js: None,
546 line_number: 0,
547 external_implementation: false
548 })
549 ),
550 (
551 "ftd#integer-field-with-default".to_string(),
552 fastn_resolved::Definition::Function(fastn_resolved::Function {
553 name: "ftd#integer-field-with-default".to_string(),
554 return_kind: fastn_resolved::KindData {
555 kind: fastn_resolved::Kind::record("ftd#integer-field"),
556 caption: false,
557 body: false,
558 },
559 arguments: vec![
560 fastn_resolved::Argument {
561 name: "name".to_string(),
562 kind: fastn_resolved::KindData {
563 kind: fastn_resolved::Kind::string(),
564 caption: false,
565 body: false,
566 },
567 mutable: false,
568 value: None,
569 access_modifier: Default::default(),
570 line_number: 0,
571 },
572 fastn_resolved::Argument {
573 name: "default".to_string(),
574 kind: fastn_resolved::KindData {
575 kind: fastn_resolved::Kind::integer(),
576 caption: false,
577 body: false,
578 },
579 mutable: false,
580 value: None,
581 access_modifier: Default::default(),
582 line_number: 0,
583 },
584 ],
585 expression: vec![
586 fastn_resolved::FunctionExpression {
587 expression: "ftd.field_with_default_js(name, default)".to_string(),
588 line_number: 0,
589 }
590 ],
591 js: None,
592 line_number: 0,
593 external_implementation: false
594 })
595 ),
596 (
597 "ftd#decimal-field-with-default".to_string(),
598 fastn_resolved::Definition::Function(fastn_resolved::Function {
599 name: "ftd#decimal-field-with-default".to_string(),
600 return_kind: fastn_resolved::KindData {
601 kind: fastn_resolved::Kind::record("ftd#decimal-field"),
602 caption: false,
603 body: false,
604 },
605 arguments: vec![
606 fastn_resolved::Argument {
607 name: "name".to_string(),
608 kind: fastn_resolved::KindData {
609 kind: fastn_resolved::Kind::string(),
610 caption: false,
611 body: false,
612 },
613 mutable: false,
614 value: None,
615 access_modifier: Default::default(),
616 line_number: 0,
617 },
618 fastn_resolved::Argument {
619 name: "default".to_string(),
620 kind: fastn_resolved::KindData {
621 kind: fastn_resolved::Kind::decimal(),
622 caption: false,
623 body: false,
624 },
625 mutable: false,
626 value: None,
627 access_modifier: Default::default(),
628 line_number: 0,
629 },
630 ],
631 expression: vec![
632 fastn_resolved::FunctionExpression {
633 expression: "ftd.field_with_default_js(name, default)".to_string(),
634 line_number: 0,
635 }
636 ],
637 js: None,
638 line_number: 0,
639 external_implementation: false
640 })
641 ),
642 (
643 "ftd#boolean-field-with-default".to_string(),
644 fastn_resolved::Definition::Function(fastn_resolved::Function {
645 name: "ftd#boolean-field-with-default".to_string(),
646 return_kind: fastn_resolved::KindData {
647 kind: fastn_resolved::Kind::record("ftd#boolean-field"),
648 caption: false,
649 body: false,
650 },
651 arguments: vec![
652 fastn_resolved::Argument {
653 name: "name".to_string(),
654 kind: fastn_resolved::KindData {
655 kind: fastn_resolved::Kind::string(),
656 caption: false,
657 body: false,
658 },
659 mutable: false,
660 value: None,
661 access_modifier: Default::default(),
662 line_number: 0,
663 },
664 fastn_resolved::Argument {
665 name: "default".to_string(),
666 kind: fastn_resolved::KindData {
667 kind: fastn_resolved::Kind::boolean(),
668 caption: false,
669 body: false,
670 },
671 mutable: false,
672 value: None,
673 access_modifier: Default::default(),
674 line_number: 0,
675 },
676 ],
677 expression: vec![
678 fastn_resolved::FunctionExpression {
679 expression: "ftd.field_with_default_js(name, default)".to_string(),
680 line_number: 0,
681 }
682 ],
683 js: None,
684 line_number: 0,
685 external_implementation: false
686 })
687 ), (
688 "ftd#string-field-with-default".to_string(),
689 fastn_resolved::Definition::Function(fastn_resolved::Function {
690 name: "ftd#string-field-with-default".to_string(),
691 return_kind: fastn_resolved::KindData {
692 kind: fastn_resolved::Kind::record("ftd#string-field"),
693 caption: false,
694 body: false,
695 },
696 arguments: vec![
697 fastn_resolved::Argument {
698 name: "name".to_string(),
699 kind: fastn_resolved::KindData {
700 kind: fastn_resolved::Kind::string(),
701 caption: false,
702 body: false,
703 },
704 mutable: false,
705 value: None,
706 access_modifier: Default::default(),
707 line_number: 0,
708 },
709 fastn_resolved::Argument {
710 name: "default".to_string(),
711 kind: fastn_resolved::KindData {
712 kind: fastn_resolved::Kind::string(),
713 caption: false,
714 body: false,
715 },
716 mutable: false,
717 value: None,
718 access_modifier: Default::default(),
719 line_number: 0,
720 },
721 ],
722 expression: vec![
723 fastn_resolved::FunctionExpression {
724 expression: "ftd.field_with_default_js(name, default)".to_string(),
725 line_number: 0,
726 }
727 ],
728 js: None,
729 line_number: 0,
730 external_implementation: false
731 })
732 ),
733 (
734 "ftd#increment".to_string(),
735 fastn_resolved::Definition::Function(fastn_resolved::Function {
736 name: "ftd#increment".to_string(),
737 return_kind: fastn_resolved::KindData {
738 kind: fastn_resolved::Kind::void(),
739 caption: false,
740 body: false,
741 },
742 arguments: vec![
743 fastn_resolved::Argument {
744 name: "a".to_string(),
745 kind: fastn_resolved::KindData {
746 kind: fastn_resolved::Kind::integer(),
747 caption: false,
748 body: false,
749 },
750 mutable: true,
751 value: None,
752 access_modifier: Default::default(),
753 line_number: 0,
754 },
755 ],
756 expression: vec![
757 fastn_resolved::FunctionExpression {
758 expression: "a = a + 1".to_string(),
759 line_number: 0,
760 }
761 ],
762 js: None,
763 line_number: 0,
764 external_implementation: false
765 })
766 ),
767 (
768 "ftd#increment-by".to_string(),
769 fastn_resolved::Definition::Function(fastn_resolved::Function {
770 name: "ftd#increment-by".to_string(),
771 return_kind: fastn_resolved::KindData {
772 kind: fastn_resolved::Kind::void(),
773 caption: false,
774 body: false,
775 },
776 arguments: vec![
777 fastn_resolved::Argument {
778 name: "a".to_string(),
779 kind: fastn_resolved::KindData {
780 kind: fastn_resolved::Kind::integer(),
781 caption: false,
782 body: false,
783 },
784 mutable: true,
785 value: None,
786 access_modifier: Default::default(),
787 line_number: 0,
788 },
789 fastn_resolved::Argument {
790 name: "v".to_string(),
791 kind: fastn_resolved::KindData {
792 kind: fastn_resolved::Kind::integer(),
793 caption: false,
794 body: false,
795 },
796 mutable: false,
797 value: None,
798 access_modifier: Default::default(),
799 line_number: 0,
800 },
801 ],
802 expression: vec![
803 fastn_resolved::FunctionExpression {
804 expression: "a = a + v".to_string(),
805 line_number: 0,
806 }
807 ],
808 js: None,
809 line_number: 0,
810 external_implementation: false
811 })
812 ),
813 (
814 "ftd#decrement".to_string(),
815 fastn_resolved::Definition::Function(fastn_resolved::Function {
816 name: "ftd#decrement".to_string(),
817 return_kind: fastn_resolved::KindData {
818 kind: fastn_resolved::Kind::void(),
819 caption: false,
820 body: false,
821 },
822 arguments: vec![
823 fastn_resolved::Argument {
824 name: "a".to_string(),
825 kind: fastn_resolved::KindData {
826 kind: fastn_resolved::Kind::integer(),
827 caption: false,
828 body: false,
829 },
830 mutable: true,
831 value: None,
832 access_modifier: Default::default(),
833 line_number: 0,
834 },
835 ],
836 expression: vec![
837 fastn_resolved::FunctionExpression {
838 expression: "a = a - 1".to_string(),
839 line_number: 0,
840 }
841 ],
842 js: None,
843 line_number: 0,
844 external_implementation: false
845 })
846 ),
847 (
848 "ftd#decrement-by".to_string(),
849 fastn_resolved::Definition::Function(fastn_resolved::Function {
850 name: "ftd#decrement-by".to_string(),
851 return_kind: fastn_resolved::KindData {
852 kind: fastn_resolved::Kind::void(),
853 caption: false,
854 body: false,
855 },
856 arguments: vec![
857 fastn_resolved::Argument {
858 name: "a".to_string(),
859 kind: fastn_resolved::KindData {
860 kind: fastn_resolved::Kind::integer(),
861 caption: false,
862 body: false,
863 },
864 mutable: true,
865 value: None,
866 access_modifier: Default::default(),
867 line_number: 0,
868 },
869 fastn_resolved::Argument {
870 name: "v".to_string(),
871 kind: fastn_resolved::KindData {
872 kind: fastn_resolved::Kind::integer(),
873 caption: false,
874 body: false,
875 },
876 mutable: false,
877 value: None,
878 access_modifier: Default::default(),
879 line_number: 0,
880 },
881 ],
882 expression: vec![
883 fastn_resolved::FunctionExpression {
884 expression: "a = a - v".to_string(),
885 line_number: 0,
886 }
887 ],
888 js: None,
889 line_number: 0,
890 external_implementation: false
891 })
892 ),
893 (
894 "ftd#enable-light-mode".to_string(),
895 fastn_resolved::Definition::Function(fastn_resolved::Function {
896 name: "ftd#enable-light-mode".to_string(),
897 return_kind: fastn_resolved::KindData {
898 kind: fastn_resolved::Kind::void(),
899 caption: false,
900 body: false,
901 },
902 arguments: vec![
903 ],
904 expression: vec![
905 fastn_resolved::FunctionExpression {
906 expression: "enable_light_mode()".to_string(),
907 line_number: 0,
908 }
909 ],
910 js: None,
911 line_number: 0,
912 external_implementation: false
913 })
914 ),
915 (
916 "ftd#enable-dark-mode".to_string(),
917 fastn_resolved::Definition::Function(fastn_resolved::Function {
918 name: "ftd#enable-dark-mode".to_string(),
919 return_kind: fastn_resolved::KindData {
920 kind: fastn_resolved::Kind::void(),
921 caption: false,
922 body: false,
923 },
924 arguments: vec![
925 ],
926 expression: vec![
927 fastn_resolved::FunctionExpression {
928 expression: "enable_dark_mode()".to_string(),
929 line_number: 0,
930 }
931 ],
932 js: None,
933 line_number: 0,
934 external_implementation: false
935 })
936 ),
937 (
938 "ftd#enable-system-mode".to_string(),
939 fastn_resolved::Definition::Function(fastn_resolved::Function {
940 name: "ftd#enable-system-mode".to_string(),
941 return_kind: fastn_resolved::KindData {
942 kind: fastn_resolved::Kind::void(),
943 caption: false,
944 body: false,
945 },
946 arguments: vec![
947 ],
948 expression: vec![
949 fastn_resolved::FunctionExpression {
950 expression: "enable_system_mode()".to_string(),
951 line_number: 0,
952 }
953 ],
954 js: None,
955 line_number: 0,
956 external_implementation: false
957 })
958 ),
959 (
960 "ftd#clean-code".to_string(),
961 fastn_resolved::Definition::Function(fastn_resolved::Function {
962 name: "ftd#clean-code".to_string(),
963 return_kind: fastn_resolved::KindData {
964 kind: fastn_resolved::Kind::string(),
965 caption: false,
966 body: false,
967 },
968 arguments: vec![
969 fastn_resolved::Argument {
970 name: "a".to_string(),
971 kind: fastn_resolved::KindData {
972 kind: fastn_resolved::Kind::string(),
973 caption: false,
974 body: false,
975 },
976 mutable: false,
977 value: None,
978 access_modifier: Default::default(),
979 line_number: 0,
980 },
981 fastn_resolved::Argument {
982 name: "lang".to_string(),
983 kind: fastn_resolved::KindData {
984 kind: fastn_resolved::Kind::string(),
985 caption: false,
986 body: false,
987 },
988 mutable: false,
989 value: None,
990 access_modifier: Default::default(),
991 line_number: 0,
992 },
993 ],
994 expression: vec![
995 fastn_resolved::FunctionExpression {
996 expression: "ftd.clean_code(a, lang)".to_string(),
997 line_number: 0,
998 }
999 ],
1000 js: None,
1001 line_number: 0,
1002 external_implementation: true
1003 })
1004 ),
1005 (
1006 "ftd#copy-to-clipboard".to_string(),
1007 fastn_resolved::Definition::Function(fastn_resolved::Function {
1008 name: "ftd#copy-to-clipboard".to_string(),
1009 return_kind: fastn_resolved::KindData {
1010 kind: fastn_resolved::Kind::void(),
1011 caption: false,
1012 body: false,
1013 },
1014 arguments: vec![
1015 fastn_resolved::Argument {
1016 name: "a".to_string(),
1017 kind: fastn_resolved::KindData {
1018 kind: fastn_resolved::Kind::string(),
1019 caption: false,
1020 body: false,
1021 },
1022 mutable: false,
1023 value: None,
1024 access_modifier: Default::default(),
1025 line_number: 0,
1026 },
1027 ],
1028 expression: vec![
1029 fastn_resolved::FunctionExpression {
1030 expression: "ftd.copy_to_clipboard(a)".to_string(),
1031 line_number: 0,
1032 }
1033 ],
1034 js: None,
1035 line_number: 0,
1036 external_implementation: true
1037 })
1038 ),
1039 (
1040 "ftd#set-bool".to_string(),
1041 fastn_resolved::Definition::Function(fastn_resolved::Function {
1042 name: "ftd#set-bool".to_string(),
1043 return_kind: fastn_resolved::KindData {
1044 kind: fastn_resolved::Kind::void(),
1045 caption: false,
1046 body: false,
1047 },
1048 arguments: vec![
1049 fastn_resolved::Argument {
1050 name: "a".to_string(),
1051 kind: fastn_resolved::KindData {
1052 kind: fastn_resolved::Kind::boolean(),
1053 caption: false,
1054 body: false,
1055 },
1056 mutable: true,
1057 value: None,
1058 access_modifier: Default::default(),
1059 line_number: 0,
1060 },
1061 fastn_resolved::Argument {
1062 name: "v".to_string(),
1063 kind: fastn_resolved::KindData {
1064 kind: fastn_resolved::Kind::boolean(),
1065 caption: false,
1066 body: false,
1067 },
1068 mutable: false,
1069 value: None,
1070 access_modifier: Default::default(),
1071 line_number: 0,
1072 },
1073 ],
1074 expression: vec![
1075 fastn_resolved::FunctionExpression {
1076 expression: "a = v".to_string(),
1077 line_number: 0,
1078 }
1079 ],
1080 js: None,
1081 line_number: 0,
1082 external_implementation: false
1083 })
1084 ),
1085 (
1086 "ftd#set-boolean".to_string(),
1087 fastn_resolved::Definition::Function(fastn_resolved::Function {
1088 name: "ftd#set-boolean".to_string(),
1089 return_kind: fastn_resolved::KindData {
1090 kind: fastn_resolved::Kind::void(),
1091 caption: false,
1092 body: false,
1093 },
1094 arguments: vec![
1095 fastn_resolved::Argument {
1096 name: "a".to_string(),
1097 kind: fastn_resolved::KindData {
1098 kind: fastn_resolved::Kind::boolean(),
1099 caption: false,
1100 body: false,
1101 },
1102 mutable: true,
1103 value: None,
1104 access_modifier: Default::default(),
1105 line_number: 0,
1106 },
1107 fastn_resolved::Argument {
1108 name: "v".to_string(),
1109 kind: fastn_resolved::KindData {
1110 kind: fastn_resolved::Kind::boolean(),
1111 caption: false,
1112 body: false,
1113 },
1114 mutable: false,
1115 value: None,
1116 access_modifier: Default::default(),
1117 line_number: 0,
1118 },
1119 ],
1120 expression: vec![
1121 fastn_resolved::FunctionExpression {
1122 expression: "a = v".to_string(),
1123 line_number: 0,
1124 }
1125 ],
1126 js: None,
1127 line_number: 0,
1128 external_implementation: false
1129 })
1130 ),
1131 (
1132 "ftd#set-string".to_string(),
1133 fastn_resolved::Definition::Function(fastn_resolved::Function {
1134 name: "ftd#set-string".to_string(),
1135 return_kind: fastn_resolved::KindData {
1136 kind: fastn_resolved::Kind::void(),
1137 caption: false,
1138 body: false,
1139 },
1140 arguments: vec![
1141 fastn_resolved::Argument {
1142 name: "a".to_string(),
1143 kind: fastn_resolved::KindData {
1144 kind: fastn_resolved::Kind::string(),
1145 caption: false,
1146 body: false,
1147 },
1148 mutable: true,
1149 value: None,
1150 access_modifier: Default::default(),
1151 line_number: 0,
1152 },
1153 fastn_resolved::Argument {
1154 name: "v".to_string(),
1155 kind: fastn_resolved::KindData {
1156 kind: fastn_resolved::Kind::string(),
1157 caption: false,
1158 body: false,
1159 },
1160 mutable: false,
1161 value: None,
1162 access_modifier: Default::default(),
1163 line_number: 0,
1164 },
1165 ],
1166 expression: vec![
1167 fastn_resolved::FunctionExpression {
1168 expression: "a = v".to_string(),
1169 line_number: 0,
1170 }
1171 ],
1172 js: None,
1173 line_number: 0,
1174 external_implementation: false
1175 })
1176 ),
1177 (
1178 "ftd#set-integer".to_string(),
1179 fastn_resolved::Definition::Function(fastn_resolved::Function {
1180 name: "ftd#set-integer".to_string(),
1181 return_kind: fastn_resolved::KindData {
1182 kind: fastn_resolved::Kind::void(),
1183 caption: false,
1184 body: false,
1185 },
1186 arguments: vec![
1187 fastn_resolved::Argument {
1188 name: "a".to_string(),
1189 kind: fastn_resolved::KindData {
1190 kind: fastn_resolved::Kind::integer(),
1191 caption: false,
1192 body: false,
1193 },
1194 mutable: true,
1195 value: None,
1196 access_modifier: Default::default(),
1197 line_number: 0,
1198 },
1199 fastn_resolved::Argument {
1200 name: "v".to_string(),
1201 kind: fastn_resolved::KindData {
1202 kind: fastn_resolved::Kind::integer(),
1203 caption: false,
1204 body: false,
1205 },
1206 mutable: false,
1207 value: None,
1208 access_modifier: Default::default(),
1209 line_number: 0,
1210 },
1211 ],
1212 expression: vec![
1213 fastn_resolved::FunctionExpression {
1214 expression: "a = v".to_string(),
1215 line_number: 0,
1216 }
1217 ],
1218 js: None,
1219 line_number: 0,
1220 external_implementation: false
1221 })
1222 ),
1223 (
1224 fastn_builtins::constants::FTD_IMAGE_SRC.to_string(),
1225 fastn_resolved::Definition::Record(fastn_resolved::Record {
1226 name: fastn_builtins::constants::FTD_IMAGE_SRC.to_string(),
1227 fields: std::iter::IntoIterator::into_iter([
1228 fastn_resolved::Field {
1229 name: "light".to_string(),
1230 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
1231 mutable: false,
1232 value: None,
1233 access_modifier: Default::default(),
1234 line_number: 0,
1235 },
1236 fastn_resolved::Field {
1237 name: "dark".to_string(),
1238 kind: fastn_resolved::Kind::string().into_kind_data(),
1239 mutable: false,
1240 value: Some(fastn_resolved::PropertyValue::Reference {
1241 name: fastn_builtins::constants::FTD_IMAGE_SRC_LIGHT.to_string(),
1242 kind: fastn_resolved::Kind::string().into_kind_data(),
1243 source: fastn_resolved::PropertyValueSource::Local(
1244 fastn_builtins::constants::FTD_IMAGE_SRC.to_string(),
1245 ),
1246 is_mutable: false,
1247 line_number: 0,
1248 }),
1249 access_modifier: Default::default(),
1250 line_number: 0,
1251 },
1252 ])
1253 .collect(),
1254 line_number: 0,
1255 }),
1256 ),
1257 (
1258 fastn_builtins::constants::FTD_VIDEO_SRC.to_string(),
1259 fastn_resolved::Definition::Record(fastn_resolved::Record {
1260 name: fastn_builtins::constants::FTD_VIDEO_SRC.to_string(),
1261 fields: std::iter::IntoIterator::into_iter([
1262 fastn_resolved::Field {
1263 name: "light".to_string(),
1264 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
1265 mutable: false,
1266 value: None,
1267 access_modifier: Default::default(),
1268 line_number: 0,
1269 },
1270 fastn_resolved::Field {
1271 name: "dark".to_string(),
1272 kind: fastn_resolved::Kind::string().into_kind_data(),
1273 mutable: false,
1274 value: Some(fastn_resolved::PropertyValue::Reference {
1275 name: fastn_builtins::constants::FTD_VIDEO_SRC_LIGHT.to_string(),
1276 kind: fastn_resolved::Kind::string().into_kind_data(),
1277 source: fastn_resolved::PropertyValueSource::Local(
1278 fastn_builtins::constants::FTD_VIDEO_SRC.to_string(),
1279 ),
1280 is_mutable: false,
1281 line_number: 0,
1282 }),
1283 access_modifier: Default::default(),
1284 line_number: 0,
1285 },
1286 ])
1287 .collect(),
1288 line_number: 0,
1289 }),
1290 ),
1291 (
1292 fastn_builtins::constants::FTD_RAW_IMAGE_SRC.to_string(),
1293 fastn_resolved::Definition::Record(fastn_resolved::Record {
1294 name: fastn_builtins::constants::FTD_RAW_IMAGE_SRC.to_string(),
1295 fields: std::iter::IntoIterator::into_iter([
1296 fastn_resolved::Field {
1297 name: "src".to_string(),
1298 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
1299 mutable: false,
1300 value: None,
1301 access_modifier: Default::default(),
1302 line_number: 0,
1303 },
1304 ])
1305 .collect(),
1306 line_number: 0,
1307 }),
1308 ),
1309 (
1310 fastn_builtins::constants::FTD_COLOR.to_string(),
1311 fastn_resolved::Definition::Record(fastn_resolved::Record {
1312 name: fastn_builtins::constants::FTD_COLOR.to_string(),
1313 fields: std::iter::IntoIterator::into_iter([
1314 fastn_resolved::Field {
1315 name: "light".to_string(),
1316 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
1317 mutable: false,
1318 value: None,
1319 access_modifier: Default::default(),
1320 line_number: 0,
1321 },
1322 fastn_resolved::Field {
1323 name: "dark".to_string(),
1324 kind: fastn_resolved::Kind::string().into_kind_data(),
1325 mutable: false,
1326 value: Some(fastn_resolved::PropertyValue::Reference {
1327 name: fastn_builtins::constants::FTD_COLOR_LIGHT.to_string(),
1328 kind: fastn_resolved::Kind::string().into_kind_data(),
1329 source: fastn_resolved::PropertyValueSource::Local(
1330 fastn_builtins::constants::FTD_COLOR.to_string(),
1331 ),
1332 is_mutable: false,
1333 line_number: 0,
1334 }),
1335 access_modifier: Default::default(),
1336 line_number: 0,
1337 },
1338 ])
1339 .collect(),
1340 line_number: 0,
1341 }),
1342 ),
1343 (
1344 fastn_builtins::constants::FTD_SHADOW.to_string(),
1345 fastn_resolved::Definition::Record(fastn_resolved::Record {
1346 name: fastn_builtins::constants::FTD_SHADOW.to_string(),
1347 fields: std::iter::IntoIterator::into_iter([
1348 fastn_resolved::Field {
1349 name: "x-offset".to_string(),
1350 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1351 .into_kind_data(),
1352 mutable: false,
1353 value: Some(fastn_resolved::PropertyValue::Value {
1354 value: fastn_resolved::Value::OrType {
1355 name: fastn_builtins::constants::FTD_LENGTH.to_string(),
1356 variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1357 full_variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1358 value: Box::new
1359 (fastn_resolved::PropertyValue::Value {
1360 value: fastn_resolved::Value::Integer {
1361 value: 0
1362 },
1363 is_mutable: false,
1364 line_number: 0
1365 }),
1366 },
1367 is_mutable: false,
1368 line_number: 0,
1369 }),
1370 access_modifier: Default::default(),
1371 line_number: 0,
1372 },
1373 fastn_resolved::Field {
1374 name: "y-offset".to_string(),
1375 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1376 .into_kind_data(),
1377 mutable: false,
1378 value: Some(fastn_resolved::PropertyValue::Value {
1379 value: fastn_resolved::Value::OrType {
1380 name: fastn_builtins::constants::FTD_LENGTH.to_string(),
1381 variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1382 full_variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1383 value: Box::new
1384 (fastn_resolved::PropertyValue::Value {
1385 value: fastn_resolved::Value::Integer {
1386 value: 0
1387 },
1388 is_mutable: false,
1389 line_number: 0
1390 }),
1391 },
1392 is_mutable: false,
1393 line_number: 0,
1394 }),
1395 access_modifier: Default::default(),
1396 line_number: 0,
1397 },
1398 fastn_resolved::Field {
1399 name: "blur".to_string(),
1400 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1401 .into_kind_data(),
1402 mutable: false,
1403 value: Some(fastn_resolved::PropertyValue::Value {
1404 value: fastn_resolved::Value::OrType {
1405 name: fastn_builtins::constants::FTD_LENGTH.to_string(),
1406 variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1407 full_variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1408 value: Box::new
1409 (fastn_resolved::PropertyValue::Value {
1410 value: fastn_resolved::Value::Integer {
1411 value: 0
1412 },
1413 is_mutable: false,
1414 line_number: 0
1415 }),
1416 },
1417 is_mutable: false,
1418 line_number: 0,
1419 }),
1420 access_modifier: Default::default(),
1421 line_number: 0,
1422 },
1423 fastn_resolved::Field {
1424 name: "spread".to_string(),
1425 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1426 .into_kind_data(),
1427 mutable: false,
1428 value: Some(fastn_resolved::PropertyValue::Value {
1429 value: fastn_resolved::Value::OrType {
1430 name: fastn_builtins::constants::FTD_LENGTH.to_string(),
1431 variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1432 full_variant: fastn_builtins::constants::FTD_LENGTH_PX.to_string(),
1433 value: Box::new
1434 (fastn_resolved::PropertyValue::Value {
1435 value: fastn_resolved::Value::Integer {
1436 value: 0
1437 },
1438 is_mutable: false,
1439 line_number: 0
1440 }),
1441 },
1442 is_mutable: false,
1443 line_number: 0,
1444 }),
1445 access_modifier: Default::default(),
1446 line_number: 0,
1447 },
1448 fastn_resolved::Field {
1449 name: "color".to_string(),
1450 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
1451 .into_kind_data(),
1452 mutable: false,
1453 access_modifier: Default::default(),
1454 value: Some(fastn_resolved::PropertyValue::Value {
1455 value: fastn_resolved::Value::Record {
1456 name: fastn_builtins::constants::FTD_COLOR.to_string(),
1457 fields: std::iter::IntoIterator::into_iter([
1458 (
1459 "light".to_string(),
1460 fastn_resolved::PropertyValue::Value {
1461 value: fastn_resolved::Value::String { text: "black".to_string() },
1462 is_mutable: false,
1463 line_number: 0,
1464 }
1465 ),
1466 (
1467 "dark".to_string(),
1468 fastn_resolved::PropertyValue::Value {
1469 value: fastn_resolved::Value::String { text: "white".to_string() },
1470 is_mutable: false,
1471 line_number: 0,
1472 }
1473 ),
1474 ]).collect()
1475 },
1476 is_mutable: false,
1477 line_number: 0,
1478 }),
1479 line_number: 0,
1480 },
1481 fastn_resolved::Field {
1482 name: "inset".to_string(),
1483 kind: fastn_resolved::Kind::boolean()
1484 .into_kind_data(),
1485 mutable: false,
1486 access_modifier: Default::default(),
1487 value: Some(fastn_resolved::PropertyValue::Value {
1488 value: fastn_resolved::Value::Boolean { value: false },
1489 is_mutable: false,
1490 line_number: 0,
1491 }),
1492 line_number: 0,
1493 },
1494 ]).collect(),
1495 line_number: 0,
1496 }),
1497 ),
1498 (
1499 fastn_builtins::constants::FTD_BACKDROP_FILTER.to_string(),
1500 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
1501 name: fastn_builtins::constants::FTD_BACKDROP_FILTER.to_string(),
1502 variants: vec![
1503 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1504 fastn_builtins::constants::FTD_BACKDROP_FILTER_BLUR,
1505 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1506 .into_kind_data(),
1507 false,
1508 None,
1509 0,
1510 )),
1511 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1512 fastn_builtins::constants::FTD_BACKDROP_FILTER_BRIGHTNESS,
1513 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1514 .into_kind_data(),
1515 false,
1516 None,
1517 0,
1518 )),
1519 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1520 fastn_builtins::constants::FTD_BACKDROP_FILTER_CONTRAST,
1521 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1522 .into_kind_data(),
1523 false,
1524 None,
1525 0,
1526 )),
1527 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1528 fastn_builtins::constants::FTD_BACKDROP_FILTER_GRAYSCALE,
1529 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1530 .into_kind_data(),
1531 false,
1532 None,
1533 0,
1534 )),
1535 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1536 fastn_builtins::constants::FTD_BACKDROP_FILTER_INVERT,
1537 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1538 .into_kind_data(),
1539 false,
1540 None,
1541 0,
1542 )),
1543 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1544 fastn_builtins::constants::FTD_BACKDROP_FILTER_OPACITY,
1545 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1546 .into_kind_data(),
1547 false,
1548 None,
1549 0,
1550 )),
1551 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1552 fastn_builtins::constants::FTD_BACKDROP_FILTER_SEPIA,
1553 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1554 .into_kind_data(),
1555 false,
1556 None,
1557 0,
1558 )),
1559 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1560 fastn_builtins::constants::FTD_BACKDROP_FILTER_SATURATE,
1561 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1562 .into_kind_data(),
1563 false,
1564 None,
1565 0,
1566 )),
1567 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1568 fastn_builtins::constants::FTD_BACKDROP_FILTER_MULTI,
1569 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_BACKDROP_MULTI)
1570 .into_kind_data(),
1571 false,
1572 None,
1573 0,
1574 )),
1575 ],
1576 line_number: 0,
1577 }),
1578 ),
1579 (
1580 fastn_builtins::constants::FTD_BACKDROP_MULTI.to_string(),
1581 fastn_resolved::Definition::Record(fastn_resolved::Record {
1582 name: fastn_builtins::constants::FTD_BACKDROP_MULTI.to_string(),
1583 fields: std::iter::IntoIterator::into_iter([
1584 fastn_resolved::Field {
1585 name: "blur".to_string(),
1586 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1587 .into_kind_data().into_optional(),
1588 mutable: false,
1589 value: None,
1590 access_modifier: Default::default(),
1591 line_number: 0,
1592 },
1593 fastn_resolved::Field {
1594 name: "brightness".to_string(),
1595 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1596 .into_kind_data().into_optional(),
1597 mutable: false,
1598 value: None,
1599 access_modifier: Default::default(),
1600 line_number: 0,
1601 },
1602 fastn_resolved::Field {
1603 name: "contrast".to_string(),
1604 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1605 .into_kind_data().into_optional(),
1606 mutable: false,
1607 value: None,
1608 access_modifier: Default::default(),
1609 line_number: 0,
1610 },
1611 fastn_resolved::Field {
1612 name: "grayscale".to_string(),
1613 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1614 .into_kind_data().into_optional(),
1615 mutable: false,
1616 value: None,
1617 access_modifier: Default::default(),
1618 line_number: 0,
1619 },
1620 fastn_resolved::Field {
1621 name: "invert".to_string(),
1622 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1623 .into_kind_data().into_optional(),
1624 mutable: false,
1625 value: None,
1626 access_modifier: Default::default(),
1627 line_number: 0,
1628 },
1629 fastn_resolved::Field {
1630 name: "opacity".to_string(),
1631 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1632 .into_kind_data().into_optional(),
1633 mutable: false,
1634 value: None,
1635 access_modifier: Default::default(),
1636 line_number: 0,
1637 },
1638 fastn_resolved::Field {
1639 name: "sepia".to_string(),
1640 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1641 .into_kind_data().into_optional(),
1642 mutable: false,
1643 value: None,
1644 access_modifier: Default::default(),
1645 line_number: 0,
1646 },
1647 fastn_resolved::Field {
1648 name: "saturate".to_string(),
1649 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1650 .into_kind_data().into_optional(),
1651 mutable: false,
1652 value: None,
1653 access_modifier: Default::default(),
1654 line_number: 0,
1655 },
1656 ]).collect(),
1657 line_number: 0,
1658 }),
1659 ),
1660 (
1661 fastn_builtins::constants::FTD_LENGTH_PAIR.to_string(),
1662 fastn_resolved::Definition::Record(fastn_resolved::Record {
1663 name: fastn_builtins::constants::FTD_LENGTH_PAIR.to_string(),
1664 fields: std::iter::IntoIterator::into_iter([
1665 fastn_resolved::Field {
1666 name: "x".to_string(),
1667 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1668 .into_kind_data(),
1669 mutable: false,
1670 value: None,
1671 access_modifier: Default::default(),
1672 line_number: 0,
1673 },
1674 fastn_resolved::Field {
1675 name: "y".to_string(),
1676 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1677 .into_kind_data(),
1678 mutable: false,
1679 value: None,
1680 access_modifier: Default::default(),
1681 line_number: 0,
1682 },
1683 ]).collect(),
1684 line_number: 0,
1685 }),
1686 ),
1687 (
1688 fastn_builtins::constants::FTD_BG_IMAGE.to_string(),
1689 fastn_resolved::Definition::Record(fastn_resolved::Record {
1690 name: fastn_builtins::constants::FTD_BG_IMAGE.to_string(),
1691 fields: std::iter::IntoIterator::into_iter([
1692 fastn_resolved::Field {
1693 name: "src".to_string(),
1694 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_IMAGE_SRC)
1695 .into_kind_data().caption(),
1696 mutable: false,
1697 value: None,
1698 access_modifier: Default::default(),
1699 line_number: 0,
1700 },
1701 fastn_resolved::Field {
1702 name: "repeat".to_string(),
1703 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BACKGROUND_REPEAT)
1704 .into_kind_data().into_optional(),
1705 mutable: false,
1706 value: None,
1707 access_modifier: Default::default(),
1708 line_number: 0,
1709 },
1710 fastn_resolved::Field {
1711 name: "size".to_string(),
1712 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BACKGROUND_SIZE)
1713 .into_kind_data().into_optional(),
1714 mutable: false,
1715 value: None,
1716 access_modifier: Default::default(),
1717 line_number: 0,
1718 },
1719 fastn_resolved::Field {
1720 name: "position".to_string(),
1721 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BACKGROUND_POSITION)
1722 .into_kind_data().into_optional(),
1723 mutable: false,
1724 value: None,
1725 access_modifier: Default::default(),
1726 line_number: 0,
1727 },
1728 ]).collect(),
1729 line_number: 0,
1730 }),
1731 ),
1732 (
1733 fastn_builtins::constants::FTD_LINEAR_GRADIENT_COLOR.to_string(),
1734 fastn_resolved::Definition::Record(fastn_resolved::Record {
1735 name: fastn_builtins::constants::FTD_LINEAR_GRADIENT_COLOR.to_string(),
1736 fields: std::iter::IntoIterator::into_iter([
1737 fastn_resolved::Field {
1738 name: "color".to_string(),
1739 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
1740 .into_kind_data().caption(),
1741 mutable: false,
1742 value: None,
1743 access_modifier: Default::default(),
1744 line_number: 0,
1745 },
1746 fastn_resolved::Field {
1747 name: "start".to_string(),
1748 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1749 .into_kind_data().into_optional(),
1750 mutable: false,
1751 value: None,
1752 access_modifier: Default::default(),
1753 line_number: 0,
1754 },
1755 fastn_resolved::Field {
1756 name: "end".to_string(),
1757 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1758 .into_kind_data().into_optional(),
1759 mutable: false,
1760 value: None,
1761 access_modifier: Default::default(),
1762 line_number: 0,
1763 },
1764 fastn_resolved::Field {
1765 name: "stop-position".to_string(),
1766 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
1767 .into_kind_data().into_optional(),
1768 mutable: false,
1769 value: None,
1770 access_modifier: Default::default(),
1771 line_number: 0,
1772 },
1773 ]).collect(),
1774 line_number: 0,
1775 }),
1776 ),
1777 (
1778 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS.to_string(),
1779 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
1780 name: fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS.to_string(),
1781 variants: vec![
1782 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1783 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_ANGLE,
1784 fastn_resolved::Kind::decimal()
1785 .into_kind_data(),
1786 false,
1787 None,
1788 0,
1789 )),
1790 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1791 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_TURN,
1792 fastn_resolved::Kind::decimal()
1793 .into_kind_data(),
1794 false,
1795 None,
1796 0,
1797 )),
1798 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1799 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_LEFT,
1800 fastn_resolved::Kind::string().into_kind_data(),
1801 false,
1802 Some(
1803 fastn_resolved::Value::new_string("to left")
1804 .into_property_value(false, 0),
1805 ),
1806 0,
1807 )),
1808 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1809 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_RIGHT,
1810 fastn_resolved::Kind::string().into_kind_data(),
1811 false,
1812 Some(
1813 fastn_resolved::Value::new_string("to right")
1814 .into_property_value(false, 0),
1815 ),
1816 0,
1817 )),
1818 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1819 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_TOP,
1820 fastn_resolved::Kind::string().into_kind_data(),
1821 false,
1822 Some(
1823 fastn_resolved::Value::new_string("to top")
1824 .into_property_value(false, 0),
1825 ),
1826 0,
1827 )),
1828 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1829 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_BOTTOM,
1830 fastn_resolved::Kind::string().into_kind_data(),
1831 false,
1832 Some(
1833 fastn_resolved::Value::new_string("to bottom")
1834 .into_property_value(false, 0),
1835 ),
1836 0,
1837 )),
1838 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1839 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_TOP_LEFT,
1840 fastn_resolved::Kind::string().into_kind_data(),
1841 false,
1842 Some(
1843 fastn_resolved::Value::new_string("to top left")
1844 .into_property_value(false, 0),
1845 ),
1846 0,
1847 )),
1848 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1849 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_BOTTOM_LEFT,
1850 fastn_resolved::Kind::string().into_kind_data(),
1851 false,
1852 Some(
1853 fastn_resolved::Value::new_string("to bottom left")
1854 .into_property_value(false, 0),
1855 ),
1856 0,
1857 )),
1858 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1859 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_TOP_RIGHT,
1860 fastn_resolved::Kind::string().into_kind_data(),
1861 false,
1862 Some(
1863 fastn_resolved::Value::new_string("to top right")
1864 .into_property_value(false, 0),
1865 ),
1866 0,
1867 )),
1868 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
1869 fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_BOTTOM_RIGHT,
1870 fastn_resolved::Kind::string().into_kind_data(),
1871 false,
1872 Some(
1873 fastn_resolved::Value::new_string("to bottom right")
1874 .into_property_value(false, 0),
1875 ),
1876 0,
1877 )),
1878 ],
1879 line_number: 0,
1880 }),
1881 ),
1882 (
1883 fastn_builtins::constants::FTD_LINEAR_GRADIENT.to_string(),
1884 fastn_resolved::Definition::Record(fastn_resolved::Record {
1885 name: fastn_builtins::constants::FTD_LINEAR_GRADIENT.to_string(),
1886 fields: std::iter::IntoIterator::into_iter([
1887 fastn_resolved::Field {
1888 name: "direction".to_string(),
1889 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS)
1890 .into_kind_data().into_optional(),
1891 mutable: false,
1892 value: Some(fastn_resolved::PropertyValue::Value {
1893 value: fastn_resolved::Value::OrType {
1894 name: fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS.to_string(),
1895 variant: fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_BOTTOM
1896 .to_string(),
1897 full_variant: fastn_builtins::constants::FTD_LINEAR_GRADIENT_DIRECTIONS_BOTTOM.to_string(),
1898 value: Box::new
1899 (fastn_resolved::PropertyValue::Value {
1900 value: fastn_resolved::Value::String {
1901 text: "bottom".to_string(),
1902 },
1903 is_mutable: false,
1904 line_number: 0
1905 }),
1906 },
1907 is_mutable: false,
1908 line_number: 0,
1909 }),
1910 access_modifier: Default::default(),
1911 line_number: 0,
1912 },
1913 fastn_resolved::Field {
1914 name: "colors".to_string(),
1915 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_LINEAR_GRADIENT_COLOR)
1916 .into_list().into_kind_data(),
1917 mutable: false,
1918 value: None,
1919 access_modifier: Default::default(),
1920 line_number: 0,
1921 },
1922 ]).collect(),
1923 line_number: 0,
1924 }),
1925 ),
1926 (
1927 fastn_builtins::constants::FTD_BACKGROUND.to_string(),
1928 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
1929 name: fastn_builtins::constants::FTD_BACKGROUND.to_string(),
1930 variants: vec![
1931 fastn_resolved::OrTypeVariant::Regular(
1932 fastn_resolved::Field::new(
1933 fastn_builtins::constants::FTD_BACKGROUND_SOLID,
1934 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
1935 .into_kind_data(),
1936 false,
1937 None,
1938 0,
1939 )),
1940 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1941 fastn_builtins::constants::FTD_BACKGROUND_IMAGE,
1942 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_BG_IMAGE)
1943 .into_kind_data(),
1944 false,
1945 None,
1946 0,
1947 )),
1948 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
1949 fastn_builtins::constants::FTD_BACKGROUND_LINEAR_GRADIENT,
1950 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_LINEAR_GRADIENT)
1951 .into_kind_data(),
1952 false,
1953 None,
1954 0,
1955 )),
1956 ],
1957 line_number: 0,
1958 }),
1959 ),
1960 (
1961 fastn_builtins::constants::FTD_BACKGROUND_REPEAT.to_string(),
1962 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
1963 name: fastn_builtins::constants::FTD_BACKGROUND_REPEAT.to_string(),
1964 variants: vec![
1965 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
1966 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_BOTH_REPEAT,
1967 fastn_resolved::Kind::string()
1968 .into_kind_data()
1969 .caption(),
1970 false,
1971 Some(fastn_resolved::Value::new_string("repeat")
1972 .into_property_value(false, 0),),
1973 0,
1974 )),
1975 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
1976 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_X_REPEAT,
1977 fastn_resolved::Kind::string()
1978 .into_kind_data()
1979 .caption(),
1980 false,
1981 Some(fastn_resolved::Value::new_string("repeat-x")
1982 .into_property_value(false, 0)),
1983 0,
1984 )),
1985 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
1986 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_Y_REPEAT,
1987 fastn_resolved::Kind::string()
1988 .into_kind_data()
1989 .caption(),
1990 false,
1991 Some(fastn_resolved::Value::new_string("repeat-y")
1992 .into_property_value(false, 0)),
1993 0,
1994 )),
1995 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
1996 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_NO_REPEAT,
1997 fastn_resolved::Kind::string()
1998 .into_kind_data()
1999 .caption(),
2000 false,
2001 Some(fastn_resolved::Value::new_string("no-repeat")
2002 .into_property_value(false, 0)),
2003 0,
2004 )),
2005 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2006 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_SPACE,
2007 fastn_resolved::Kind::string()
2008 .into_kind_data()
2009 .caption(),
2010 false,
2011 Some(fastn_resolved::Value::new_string("space")
2012 .into_property_value(false, 0)),
2013 0,
2014 )),
2015 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2016 fastn_builtins::constants::FTD_BACKGROUND_REPEAT_ROUND,
2017 fastn_resolved::Kind::string()
2018 .into_kind_data()
2019 .caption(),
2020 false,
2021 Some(fastn_resolved::Value::new_string("round")
2022 .into_property_value(false, 0)),
2023 0,
2024 )),
2025 ],
2026 line_number: 0,
2027 }),
2028 ),
2029 (
2030 fastn_builtins::constants::FTD_BACKGROUND_SIZE.to_string(),
2031 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2032 name: fastn_builtins::constants::FTD_BACKGROUND_SIZE.to_string(),
2033 variants: vec![
2034 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2035 fastn_builtins::constants::FTD_BACKGROUND_SIZE_AUTO,
2036 fastn_resolved::Kind::string()
2037 .into_kind_data()
2038 .caption(),
2039 false,
2040 Some(fastn_resolved::Value::new_string("auto")
2041 .into_property_value(false, 0),),
2042 0,
2043 )),
2044 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2045 fastn_builtins::constants::FTD_BACKGROUND_SIZE_COVER,
2046 fastn_resolved::Kind::string()
2047 .into_kind_data()
2048 .caption(),
2049 false,
2050 Some(fastn_resolved::Value::new_string("cover")
2051 .into_property_value(false, 0)),
2052 0,
2053 )),
2054 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2055 fastn_builtins::constants::FTD_BACKGROUND_SIZE_CONTAIN,
2056 fastn_resolved::Kind::string()
2057 .into_kind_data()
2058 .caption(),
2059 false,
2060 Some(fastn_resolved::Value::new_string("contain")
2061 .into_property_value(false, 0)),
2062 0,
2063 )),
2064 fastn_resolved::OrTypeVariant::AnonymousRecord(fastn_resolved::Record {
2065 name: fastn_builtins::constants::FTD_BACKGROUND_SIZE_LENGTH.to_string(),
2066 fields: std::iter::IntoIterator::into_iter([
2067 fastn_resolved::Field {
2068 name: "x".to_string(),
2069 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
2070 .into_kind_data(),
2071 mutable: false,
2072 value: None,
2073 access_modifier: Default::default(),
2074 line_number: 0,
2075 },
2076 fastn_resolved::Field {
2077 name: "y".to_string(),
2078 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
2079 .into_kind_data(),
2080 mutable: false,
2081 value: None,
2082 access_modifier: Default::default(),
2083 line_number: 0,
2084 },
2085 ]).collect(),
2086 line_number: 0,
2087 }),
2088 ],
2089 line_number: 0,
2090 }),
2091 ),
2092 (
2093 fastn_builtins::constants::FTD_BACKGROUND_POSITION.to_string(),
2094 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2095 name: fastn_builtins::constants::FTD_BACKGROUND_POSITION.to_string(),
2096 variants: vec![
2097 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2098 fastn_builtins::constants::FTD_BACKGROUND_POSITION_LEFT,
2099 fastn_resolved::Kind::string()
2100 .into_kind_data()
2101 .caption(),
2102 false,
2103 Some(fastn_resolved::Value::new_string("left")
2104 .into_property_value(false, 0),),
2105 0,
2106 )),
2107 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2108 fastn_builtins::constants::FTD_BACKGROUND_POSITION_CENTER,
2109 fastn_resolved::Kind::string()
2110 .into_kind_data()
2111 .caption(),
2112 false,
2113 Some(fastn_resolved::Value::new_string("center")
2114 .into_property_value(false, 0)),
2115 0,
2116 )),
2117 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2118 fastn_builtins::constants::FTD_BACKGROUND_POSITION_RIGHT,
2119 fastn_resolved::Kind::string()
2120 .into_kind_data()
2121 .caption(),
2122 false,
2123 Some(fastn_resolved::Value::new_string("right")
2124 .into_property_value(false, 0)),
2125 0,
2126 )),
2127 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2128 fastn_builtins::constants::FTD_BACKGROUND_POSITION_LEFT_TOP,
2129 fastn_resolved::Kind::string()
2130 .into_kind_data()
2131 .caption(),
2132 false,
2133 Some(fastn_resolved::Value::new_string("left-top")
2134 .into_property_value(false, 0)),
2135 0,
2136 )),
2137 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2138 fastn_builtins::constants::FTD_BACKGROUND_POSITION_LEFT_CENTER,
2139 fastn_resolved::Kind::string()
2140 .into_kind_data()
2141 .caption(),
2142 false,
2143 Some(fastn_resolved::Value::new_string("left-center")
2144 .into_property_value(false, 0)),
2145 0,
2146 )),
2147 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2148 fastn_builtins::constants::FTD_BACKGROUND_POSITION_LEFT_BOTTOM,
2149 fastn_resolved::Kind::string()
2150 .into_kind_data()
2151 .caption(),
2152 false,
2153 Some(fastn_resolved::Value::new_string("left-bottom")
2154 .into_property_value(false, 0)),
2155 0,
2156 )),
2157 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2158 fastn_builtins::constants::FTD_BACKGROUND_POSITION_CENTER_TOP,
2159 fastn_resolved::Kind::string()
2160 .into_kind_data()
2161 .caption(),
2162 false,
2163 Some(fastn_resolved::Value::new_string("center-top")
2164 .into_property_value(false, 0)),
2165 0,
2166 )),
2167 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2168 fastn_builtins::constants::FTD_BACKGROUND_POSITION_CENTER_CENTER,
2169 fastn_resolved::Kind::string()
2170 .into_kind_data()
2171 .caption(),
2172 false,
2173 Some(fastn_resolved::Value::new_string("center-center")
2174 .into_property_value(false, 0)),
2175 0,
2176 )),
2177 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2178 fastn_builtins::constants::FTD_BACKGROUND_POSITION_CENTER_BOTTOM,
2179 fastn_resolved::Kind::string()
2180 .into_kind_data()
2181 .caption(),
2182 false,
2183 Some(fastn_resolved::Value::new_string("center-bottom")
2184 .into_property_value(false, 0)),
2185 0,
2186 )),
2187 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2188 fastn_builtins::constants::FTD_BACKGROUND_POSITION_RIGHT_TOP,
2189 fastn_resolved::Kind::string()
2190 .into_kind_data()
2191 .caption(),
2192 false,
2193 Some(fastn_resolved::Value::new_string("right-top")
2194 .into_property_value(false, 0)),
2195 0,
2196 )),
2197 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2198 fastn_builtins::constants::FTD_BACKGROUND_POSITION_RIGHT_CENTER,
2199 fastn_resolved::Kind::string()
2200 .into_kind_data()
2201 .caption(),
2202 false,
2203 Some(fastn_resolved::Value::new_string("right-center")
2204 .into_property_value(false, 0)),
2205 0,
2206 )),
2207 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
2208 fastn_builtins::constants::FTD_BACKGROUND_POSITION_RIGHT_BOTTOM,
2209 fastn_resolved::Kind::string()
2210 .into_kind_data()
2211 .caption(),
2212 false,
2213 Some(fastn_resolved::Value::new_string("right-bottom")
2214 .into_property_value(false, 0)),
2215 0,
2216 )),
2217 fastn_resolved::OrTypeVariant::AnonymousRecord(fastn_resolved::Record {
2218 name: fastn_builtins::constants::FTD_BACKGROUND_POSITION_LENGTH.to_string(),
2219 fields: std::iter::IntoIterator::into_iter([
2220 fastn_resolved::Field {
2221 name: "x".to_string(),
2222 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
2223 .into_kind_data(),
2224 mutable: false,
2225 value: None,
2226 access_modifier: Default::default(),
2227 line_number: 0,
2228 },
2229 fastn_resolved::Field {
2230 name: "y".to_string(),
2231 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
2232 .into_kind_data(),
2233 mutable: false,
2234 value: None,
2235 access_modifier: Default::default(),
2236 line_number: 0,
2237 },
2238 ]).collect(),
2239 line_number: 0,
2240 }),
2241 ],
2242 line_number: 0,
2243 }),
2244 ),
2245 (
2246 fastn_builtins::constants::FTD_ALIGN.to_string(),
2247 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2248 name: fastn_builtins::constants::FTD_ALIGN.to_string(),
2249 variants: vec![
2250 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2251 fastn_builtins::constants::FTD_ALIGN_TOP_LEFT,
2252 fastn_resolved::Kind::string().into_kind_data(),
2253 false,
2254 Some(
2255 fastn_resolved::Value::new_string(
2256 fastn_builtins::constants::FTD_ALIGN_TOP_LEFT,
2257 )
2258 .into_property_value(false, 0),
2259 ),
2260 0,
2261 )),
2262 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2263 fastn_builtins::constants::FTD_ALIGN_TOP_CENTER,
2264 fastn_resolved::Kind::string().into_kind_data(),
2265 false,
2266 Some(
2267 fastn_resolved::Value::new_string(
2268 fastn_builtins::constants::FTD_ALIGN_TOP_CENTER,
2269 )
2270 .into_property_value(false, 0),
2271 ),
2272 0,
2273 )),
2274 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2275 fastn_builtins::constants::FTD_ALIGN_TOP_RIGHT,
2276 fastn_resolved::Kind::string().into_kind_data(),
2277 false,
2278 Some(
2279 fastn_resolved::Value::new_string(
2280 fastn_builtins::constants::FTD_ALIGN_TOP_RIGHT,
2281 )
2282 .into_property_value(false, 0),
2283 ),
2284 0,
2285 )),
2286 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2287 fastn_builtins::constants::FTD_ALIGN_LEFT,
2288 fastn_resolved::Kind::string().into_kind_data(),
2289 false,
2290 Some(
2291 fastn_resolved::Value::new_string(fastn_builtins::constants::FTD_ALIGN_LEFT)
2292 .into_property_value(false, 0),
2293 ),
2294 0,
2295 )),
2296 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2297 fastn_builtins::constants::FTD_ALIGN_CENTER,
2298 fastn_resolved::Kind::string().into_kind_data(),
2299 false,
2300 Some(
2301 fastn_resolved::Value::new_string(
2302 fastn_builtins::constants::FTD_ALIGN_CENTER,
2303 )
2304 .into_property_value(false, 0),
2305 ),
2306 0,
2307 )),
2308 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2309 fastn_builtins::constants::FTD_ALIGN_RIGHT,
2310 fastn_resolved::Kind::string().into_kind_data(),
2311 false,
2312 Some(
2313 fastn_resolved::Value::new_string(
2314 fastn_builtins::constants::FTD_ALIGN_RIGHT,
2315 )
2316 .into_property_value(false, 0),
2317 ),
2318 0,
2319 )),
2320 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2321 fastn_builtins::constants::FTD_ALIGN_BOTTOM_LEFT,
2322 fastn_resolved::Kind::string().into_kind_data(),
2323 false,
2324 Some(
2325 fastn_resolved::Value::new_string(
2326 fastn_builtins::constants::FTD_ALIGN_BOTTOM_LEFT,
2327 )
2328 .into_property_value(false, 0),
2329 ),
2330 0,
2331 )),
2332 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2333 fastn_builtins::constants::FTD_ALIGN_BOTTOM_CENTER,
2334 fastn_resolved::Kind::string().into_kind_data(),
2335 false,
2336 Some(
2337 fastn_resolved::Value::new_string(
2338 fastn_builtins::constants::FTD_ALIGN_BOTTOM_CENTER,
2339 )
2340 .into_property_value(false, 0),
2341 ),
2342 0,
2343 )),
2344 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2345 fastn_builtins::constants::FTD_ALIGN_BOTTOM_RIGHT,
2346 fastn_resolved::Kind::string().into_kind_data(),
2347 false,
2348 Some(
2349 fastn_resolved::Value::new_string(
2350 fastn_builtins::constants::FTD_ALIGN_BOTTOM_RIGHT,
2351 )
2352 .into_property_value(false, 0),
2353 ),
2354 0,
2355 )),
2356 ],
2357 line_number: 0,
2358 }),
2359 ),
2360 (
2361 fastn_builtins::constants::FTD_SPACING.to_string(),
2362 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2363 name: fastn_builtins::constants::FTD_SPACING.to_string(),
2364 variants: vec![
2365 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
2366 fastn_builtins::constants::FTD_SPACING_FIXED,
2367 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
2368 .into_kind_data(),
2369 false,
2370 None,
2371 0,
2372 )),
2373 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2374 fastn_builtins::constants::FTD_SPACING_SPACE_BETWEEN,
2375 fastn_resolved::Kind::string().into_kind_data(),
2376 false,
2377 Some(
2378 fastn_resolved::Value::new_string("space-between")
2379 .into_property_value(false, 0),
2380 ),
2381 0,
2382 )),
2383 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2384 fastn_builtins::constants::FTD_SPACING_SPACE_EVENLY,
2385 fastn_resolved::Kind::string().into_kind_data(),
2386 false,
2387 Some(
2388 fastn_resolved::Value::new_string("space-evenly")
2389 .into_property_value(false, 0),
2390 ),
2391 0,
2392 )),
2393 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2394 fastn_builtins::constants::FTD_SPACING_SPACE_AROUND,
2395 fastn_resolved::Kind::string().into_kind_data(),
2396 false,
2397 Some(
2398 fastn_resolved::Value::new_string("space-around")
2399 .into_property_value(false, 0),
2400 ),
2401 0,
2402 )),
2403 ],
2404 line_number: 0,
2405 }),
2406 ),
2407 (
2408 fastn_builtins::constants::FTD_IMAGE_FIT.to_string(),
2409 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2410 name: fastn_builtins::constants::FTD_IMAGE_FIT.to_string(),
2411 variants: vec![
2412 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2413 fastn_builtins::constants::FTD_IMAGE_FIT_NONE,
2414 fastn_resolved::Kind::string().into_kind_data(),
2415 false,
2416 Some(
2417 fastn_resolved::Value::new_string("none")
2418 .into_property_value(false, 0),
2419 ),
2420 0,
2421 )),
2422 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2423 fastn_builtins::constants::FTD_IMAGE_FIT_COVER,
2424 fastn_resolved::Kind::string().into_kind_data(),
2425 false,
2426 Some(
2427 fastn_resolved::Value::new_string("cover")
2428 .into_property_value(false, 0),
2429 ),
2430 0,
2431 )),
2432 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2433 fastn_builtins::constants::FTD_IMAGE_FIT_CONTAIN,
2434 fastn_resolved::Kind::string().into_kind_data(),
2435 false,
2436 Some(
2437 fastn_resolved::Value::new_string("contain")
2438 .into_property_value(false, 0),
2439 ),
2440 0,
2441 )),
2442 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2443 fastn_builtins::constants::FTD_IMAGE_FIT_FILL,
2444 fastn_resolved::Kind::string().into_kind_data(),
2445 false,
2446 Some(
2447 fastn_resolved::Value::new_string("fill")
2448 .into_property_value(false, 0),
2449 ),
2450 0,
2451 )),
2452 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2453 fastn_builtins::constants::FTD_IMAGE_FIT_SCALE_DOWN,
2454 fastn_resolved::Kind::string().into_kind_data(),
2455 false,
2456 Some(
2457 fastn_resolved::Value::new_string("scale-down")
2458 .into_property_value(false, 0),
2459 ),
2460 0,
2461 )),
2462
2463 ],
2464 line_number: 0,
2465 }),
2466 ),
2467 (
2468 fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY.to_string(),
2469 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2470 name: fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY.to_string(),
2471 variants: vec![
2472 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2473 fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY_AUTO,
2474 fastn_resolved::Kind::string().into_kind_data(),
2475 false,
2476 Some(
2477 fastn_resolved::Value::new_string("auto")
2478 .into_property_value(false, 0),
2479 ),
2480 0,
2481 )),
2482 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2483 fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY_LOW,
2484 fastn_resolved::Kind::string().into_kind_data(),
2485 false,
2486 Some(
2487 fastn_resolved::Value::new_string("low")
2488 .into_property_value(false, 0),
2489 ),
2490 0,
2491 )),
2492 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2493 fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY_HIGH,
2494 fastn_resolved::Kind::string().into_kind_data(),
2495 false,
2496 Some(
2497 fastn_resolved::Value::new_string("high")
2498 .into_property_value(false, 0),
2499 ),
2500 0,
2501 )),
2502 ],
2503 line_number: 0,
2504 }),
2505 ),
2506 (
2507 fastn_builtins::constants::FTD_ANCHOR.to_string(),
2508 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2509 name: fastn_builtins::constants::FTD_ANCHOR.to_string(),
2510 variants: vec![
2511 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
2512 fastn_builtins::constants::FTD_ANCHOR_ID,
2513 fastn_resolved::Kind::string()
2514 .into_kind_data(),
2515 false,
2516 None,
2517 0,
2518 )),
2519 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2520 fastn_builtins::constants::FTD_ANCHOR_PARENT,
2521 fastn_resolved::Kind::string().into_kind_data(),
2522 false,
2523 Some(
2524 fastn_resolved::Value::new_string("absolute")
2525 .into_property_value(false, 0),
2526 ),
2527 0,
2528 )),
2529 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2530 fastn_builtins::constants::FTD_ANCHOR_WINDOW,
2531 fastn_resolved::Kind::string().into_kind_data(),
2532 false,
2533 Some(
2534 fastn_resolved::Value::new_string("fixed")
2535 .into_property_value(false, 0),
2536 ),
2537 0,
2538 )),
2539 ],
2540 line_number: 0,
2541 }),
2542 ),
2543 (
2544 fastn_builtins::constants::FTD_OVERFLOW.to_string(),
2545 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2546 name: fastn_builtins::constants::FTD_OVERFLOW.to_string(),
2547 variants: vec![
2548 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2549 fastn_builtins::constants::FTD_OVERFLOW_SCROLL,
2550 fastn_resolved::Kind::string().into_kind_data(),
2551 false,
2552 Some(
2553 fastn_resolved::Value::new_string("scroll")
2554 .into_property_value(false, 0),
2555 ),
2556 0,
2557 )),
2558 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2559 fastn_builtins::constants::FTD_OVERFLOW_VISIBLE,
2560 fastn_resolved::Kind::string().into_kind_data(),
2561 false,
2562 Some(
2563 fastn_resolved::Value::new_string("visible")
2564 .into_property_value(false, 0),
2565 ),
2566 0,
2567 )),
2568 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2569 fastn_builtins::constants::FTD_OVERFLOW_HIDDEN,
2570 fastn_resolved::Kind::string().into_kind_data(),
2571 false,
2572 Some(
2573 fastn_resolved::Value::new_string("hidden")
2574 .into_property_value(false, 0),
2575 ),
2576 0,
2577 )),
2578 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2579 fastn_builtins::constants::FTD_OVERFLOW_AUTO,
2580 fastn_resolved::Kind::string().into_kind_data(),
2581 false,
2582 Some(
2583 fastn_resolved::Value::new_string("auto")
2584 .into_property_value(false, 0),
2585 ),
2586 0,
2587 )),
2588 ],
2589 line_number: 0,
2590 }),
2591 ),
2592 (
2593 fastn_builtins::constants::FTD_RESIZE.to_string(),
2594 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2595 name: fastn_builtins::constants::FTD_RESIZE.to_string(),
2596 variants: vec![
2597 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2598 fastn_builtins::constants::FTD_RESIZE_HORIZONTAL,
2599 fastn_resolved::Kind::string().into_kind_data(),
2600 false,
2601 Some(
2602 fastn_resolved::Value::new_string("horizontal")
2603 .into_property_value(false, 0),
2604 ),
2605 0,
2606 )),
2607 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2608 fastn_builtins::constants::FTD_RESIZE_VERTICAL,
2609 fastn_resolved::Kind::string().into_kind_data(),
2610 false,
2611 Some(
2612 fastn_resolved::Value::new_string("vertical")
2613 .into_property_value(false, 0),
2614 ),
2615 0,
2616 )),
2617 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2618 fastn_builtins::constants::FTD_RESIZE_BOTH,
2619 fastn_resolved::Kind::string().into_kind_data(),
2620 false,
2621 Some(
2622 fastn_resolved::Value::new_string("both")
2623 .into_property_value(false, 0),
2624 ),
2625 0,
2626 )),
2627 ],
2628 line_number: 0,
2629 }),
2630 ),
2631 (
2632 fastn_builtins::constants::FTD_CURSOR.to_string(),
2633 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2634 name: fastn_builtins::constants::FTD_CURSOR.to_string(),
2635 variants: vec![
2636 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2637 fastn_builtins::constants::FTD_CURSOR_DEFAULT,
2638 fastn_resolved::Kind::string().into_kind_data(),
2639 false,
2640 Some(
2641 fastn_resolved::Value::new_string("default")
2642 .into_property_value(false, 0),
2643 ),
2644 0,
2645 )),
2646 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2647 fastn_builtins::constants::FTD_CURSOR_NONE,
2648 fastn_resolved::Kind::string().into_kind_data(),
2649 false,
2650 Some(
2651 fastn_resolved::Value::new_string("none")
2652 .into_property_value(false, 0),
2653 ),
2654 0,
2655 )),
2656 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2657 fastn_builtins::constants::FTD_CURSOR_CONTEXT_MENU,
2658 fastn_resolved::Kind::string().into_kind_data(),
2659 false,
2660 Some(
2661 fastn_resolved::Value::new_string("context-menu")
2662 .into_property_value(false, 0),
2663 ),
2664 0,
2665 )),
2666 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2667 fastn_builtins::constants::FTD_CURSOR_HELP,
2668 fastn_resolved::Kind::string().into_kind_data(),
2669 false,
2670 Some(
2671 fastn_resolved::Value::new_string("help")
2672 .into_property_value(false, 0),
2673 ),
2674 0,
2675 )),
2676 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2677 fastn_builtins::constants::FTD_CURSOR_POINTER,
2678 fastn_resolved::Kind::string().into_kind_data(),
2679 false,
2680 Some(
2681 fastn_resolved::Value::new_string("pointer")
2682 .into_property_value(false, 0),
2683 ),
2684 0,
2685 )),
2686 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2687 fastn_builtins::constants::FTD_CURSOR_PROGRESS,
2688 fastn_resolved::Kind::string().into_kind_data(),
2689 false,
2690 Some(
2691 fastn_resolved::Value::new_string("progress")
2692 .into_property_value(false, 0),
2693 ),
2694 0,
2695 )),
2696 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2697 fastn_builtins::constants::FTD_CURSOR_WAIT,
2698 fastn_resolved::Kind::string().into_kind_data(),
2699 false,
2700 Some(
2701 fastn_resolved::Value::new_string("wait")
2702 .into_property_value(false, 0),
2703 ),
2704 0,
2705 )),
2706 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2707 fastn_builtins::constants::FTD_CURSOR_CELL,
2708 fastn_resolved::Kind::string().into_kind_data(),
2709 false,
2710 Some(
2711 fastn_resolved::Value::new_string("cell")
2712 .into_property_value(false, 0),
2713 ),
2714 0,
2715 )),
2716 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2717 fastn_builtins::constants::FTD_CURSOR_CROSSHAIR,
2718 fastn_resolved::Kind::string().into_kind_data(),
2719 false,
2720 Some(
2721 fastn_resolved::Value::new_string("crosshair")
2722 .into_property_value(false, 0),
2723 ),
2724 0,
2725 )),
2726 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2727 fastn_builtins::constants::FTD_CURSOR_TEXT,
2728 fastn_resolved::Kind::string().into_kind_data(),
2729 false,
2730 Some(
2731 fastn_resolved::Value::new_string("text")
2732 .into_property_value(false, 0),
2733 ),
2734 0,
2735 )),
2736 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2737 fastn_builtins::constants::FTD_CURSOR_VERTICAL_TEXT,
2738 fastn_resolved::Kind::string().into_kind_data(),
2739 false,
2740 Some(
2741 fastn_resolved::Value::new_string("vertical-text")
2742 .into_property_value(false, 0),
2743 ),
2744 0,
2745 )),
2746 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2747 fastn_builtins::constants::FTD_CURSOR_ALIAS,
2748 fastn_resolved::Kind::string().into_kind_data(),
2749 false,
2750 Some(
2751 fastn_resolved::Value::new_string("alias")
2752 .into_property_value(false, 0),
2753 ),
2754 0,
2755 )),
2756 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2757 fastn_builtins::constants::FTD_CURSOR_COPY,
2758 fastn_resolved::Kind::string().into_kind_data(),
2759 false,
2760 Some(
2761 fastn_resolved::Value::new_string("copy")
2762 .into_property_value(false, 0),
2763 ),
2764 0,
2765 )),
2766 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2767 fastn_builtins::constants::FTD_CURSOR_MOVE,
2768 fastn_resolved::Kind::string().into_kind_data(),
2769 false,
2770 Some(
2771 fastn_resolved::Value::new_string("move")
2772 .into_property_value(false, 0),
2773 ),
2774 0,
2775 )),
2776 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2777 fastn_builtins::constants::FTD_CURSOR_NO_DROP,
2778 fastn_resolved::Kind::string().into_kind_data(),
2779 false,
2780 Some(
2781 fastn_resolved::Value::new_string("no-drop")
2782 .into_property_value(false, 0),
2783 ),
2784 0,
2785 )),
2786 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2787 fastn_builtins::constants::FTD_CURSOR_NOT_ALLOWED,
2788 fastn_resolved::Kind::string().into_kind_data(),
2789 false,
2790 Some(
2791 fastn_resolved::Value::new_string("not-allowed")
2792 .into_property_value(false, 0),
2793 ),
2794 0,
2795 )),
2796 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2797 fastn_builtins::constants::FTD_CURSOR_GRAB,
2798 fastn_resolved::Kind::string().into_kind_data(),
2799 false,
2800 Some(
2801 fastn_resolved::Value::new_string("grab")
2802 .into_property_value(false, 0),
2803 ),
2804 0,
2805 )),
2806 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2807 fastn_builtins::constants::FTD_CURSOR_GRABBING,
2808 fastn_resolved::Kind::string().into_kind_data(),
2809 false,
2810 Some(
2811 fastn_resolved::Value::new_string("grabbing")
2812 .into_property_value(false, 0),
2813 ),
2814 0,
2815 )),
2816 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2817 fastn_builtins::constants::FTD_CURSOR_E_RESIZE,
2818 fastn_resolved::Kind::string().into_kind_data(),
2819 false,
2820 Some(
2821 fastn_resolved::Value::new_string("e-resize")
2822 .into_property_value(false, 0),
2823 ),
2824 0,
2825 )),
2826 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2827 fastn_builtins::constants::FTD_CURSOR_N_RESIZE,
2828 fastn_resolved::Kind::string().into_kind_data(),
2829 false,
2830 Some(
2831 fastn_resolved::Value::new_string("n-resize")
2832 .into_property_value(false, 0),
2833 ),
2834 0,
2835 )),
2836 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2837 fastn_builtins::constants::FTD_CURSOR_NE_RESIZE,
2838 fastn_resolved::Kind::string().into_kind_data(),
2839 false,
2840 Some(
2841 fastn_resolved::Value::new_string("ne-resize")
2842 .into_property_value(false, 0),
2843 ),
2844 0,
2845 )),
2846 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2847 fastn_builtins::constants::FTD_CURSOR_NW_RESIZE,
2848 fastn_resolved::Kind::string().into_kind_data(),
2849 false,
2850 Some(
2851 fastn_resolved::Value::new_string("nw-resize")
2852 .into_property_value(false, 0),
2853 ),
2854 0,
2855 )),
2856 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2857 fastn_builtins::constants::FTD_CURSOR_S_RESIZE,
2858 fastn_resolved::Kind::string().into_kind_data(),
2859 false,
2860 Some(
2861 fastn_resolved::Value::new_string("s-resize")
2862 .into_property_value(false, 0),
2863 ),
2864 0,
2865 )),
2866 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2867 fastn_builtins::constants::FTD_CURSOR_SE_RESIZE,
2868 fastn_resolved::Kind::string().into_kind_data(),
2869 false,
2870 Some(
2871 fastn_resolved::Value::new_string("se-resize")
2872 .into_property_value(false, 0),
2873 ),
2874 0,
2875 )),
2876 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2877 fastn_builtins::constants::FTD_CURSOR_SW_RESIZE,
2878 fastn_resolved::Kind::string().into_kind_data(),
2879 false,
2880 Some(
2881 fastn_resolved::Value::new_string("sw-resize")
2882 .into_property_value(false, 0),
2883 ),
2884 0,
2885 )),
2886 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2887 fastn_builtins::constants::FTD_CURSOR_W_RESIZE,
2888 fastn_resolved::Kind::string().into_kind_data(),
2889 false,
2890 Some(
2891 fastn_resolved::Value::new_string("w-resize")
2892 .into_property_value(false, 0),
2893 ),
2894 0,
2895 )),
2896 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2897 fastn_builtins::constants::FTD_CURSOR_EW_RESIZE,
2898 fastn_resolved::Kind::string().into_kind_data(),
2899 false,
2900 Some(
2901 fastn_resolved::Value::new_string("ew-resize")
2902 .into_property_value(false, 0),
2903 ),
2904 0,
2905 )),
2906 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2907 fastn_builtins::constants::FTD_CURSOR_NS_RESIZE,
2908 fastn_resolved::Kind::string().into_kind_data(),
2909 false,
2910 Some(
2911 fastn_resolved::Value::new_string("ns-resize")
2912 .into_property_value(false, 0),
2913 ),
2914 0,
2915 )),
2916 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2917 fastn_builtins::constants::FTD_CURSOR_NESW_RESIZE,
2918 fastn_resolved::Kind::string().into_kind_data(),
2919 false,
2920 Some(
2921 fastn_resolved::Value::new_string("nesw-resize")
2922 .into_property_value(false, 0),
2923 ),
2924 0,
2925 )),
2926 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2927 fastn_builtins::constants::FTD_CURSOR_NWSE_RESIZE,
2928 fastn_resolved::Kind::string().into_kind_data(),
2929 false,
2930 Some(
2931 fastn_resolved::Value::new_string("nwse-resize")
2932 .into_property_value(false, 0),
2933 ),
2934 0,
2935 )),
2936 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2937 fastn_builtins::constants::FTD_CURSOR_COL_RESIZE,
2938 fastn_resolved::Kind::string().into_kind_data(),
2939 false,
2940 Some(
2941 fastn_resolved::Value::new_string("col-resize")
2942 .into_property_value(false, 0),
2943 ),
2944 0,
2945 )),
2946 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2947 fastn_builtins::constants::FTD_CURSOR_ROW_RESIZE,
2948 fastn_resolved::Kind::string().into_kind_data(),
2949 false,
2950 Some(
2951 fastn_resolved::Value::new_string("row-resize")
2952 .into_property_value(false, 0),
2953 ),
2954 0,
2955 )),
2956 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2957 fastn_builtins::constants::FTD_CURSOR_ALL_SCROLL,
2958 fastn_resolved::Kind::string().into_kind_data(),
2959 false,
2960 Some(
2961 fastn_resolved::Value::new_string("all-scroll")
2962 .into_property_value(false, 0),
2963 ),
2964 0,
2965 )),
2966 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2967 fastn_builtins::constants::FTD_CURSOR_ZOOM_IN,
2968 fastn_resolved::Kind::string().into_kind_data(),
2969 false,
2970 Some(
2971 fastn_resolved::Value::new_string("zoom-in")
2972 .into_property_value(false, 0),
2973 ),
2974 0,
2975 )),
2976 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2977 fastn_builtins::constants::FTD_CURSOR_ZOOM_OUT,
2978 fastn_resolved::Kind::string().into_kind_data(),
2979 false,
2980 Some(
2981 fastn_resolved::Value::new_string("zoom-out")
2982 .into_property_value(false, 0),
2983 ),
2984 0,
2985 )),
2986 ],
2987 line_number: 0,
2988 }),
2989 ),
2990 (
2991 fastn_builtins::constants::FTD_ALIGN_SELF.to_string(),
2992 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
2993 name: fastn_builtins::constants::FTD_ALIGN_SELF.to_string(),
2994 variants: vec![
2995 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
2996 fastn_builtins::constants::FTD_ALIGN_SELF_START,
2997 fastn_resolved::Kind::string().into_kind_data(),
2998 false,
2999 Some(
3000 fastn_resolved::Value::new_string("start")
3001 .into_property_value(false, 0),
3002 ),
3003 0,
3004 )),
3005 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3006 fastn_builtins::constants::FTD_ALIGN_SELF_CENTER,
3007 fastn_resolved::Kind::string().into_kind_data(),
3008 false,
3009 Some(
3010 fastn_resolved::Value::new_string("center")
3011 .into_property_value(false, 0),
3012 ),
3013 0,
3014 )),
3015 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3016 fastn_builtins::constants::FTD_ALIGN_SELF_END,
3017 fastn_resolved::Kind::string().into_kind_data(),
3018 false,
3019 Some(
3020 fastn_resolved::Value::new_string("end")
3021 .into_property_value(false, 0),
3022 ),
3023 0,
3024 )),
3025 ],
3026 line_number: 0,
3027 }),
3028 ),
3029 (
3030 fastn_builtins::constants::FTD_TEXT_ALIGN.to_string(),
3031 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3032 name: fastn_builtins::constants::FTD_TEXT_ALIGN.to_string(),
3033 variants: vec![
3034 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3035 fastn_builtins::constants::FTD_TEXT_ALIGN_START,
3036 fastn_resolved::Kind::string().into_kind_data(),
3037 false,
3038 Some(
3039 fastn_resolved::Value::new_string("start")
3040 .into_property_value(false, 0),
3041 ),
3042 0,
3043 )),
3044 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3045 fastn_builtins::constants::FTD_TEXT_ALIGN_CENTER,
3046 fastn_resolved::Kind::string().into_kind_data(),
3047 false,
3048 Some(
3049 fastn_resolved::Value::new_string("center")
3050 .into_property_value(false, 0),
3051 ),
3052 0,
3053 )),
3054 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3055 fastn_builtins::constants::FTD_TEXT_ALIGN_END,
3056 fastn_resolved::Kind::string().into_kind_data(),
3057 false,
3058 Some(
3059 fastn_resolved::Value::new_string("end")
3060 .into_property_value(false, 0),
3061 ),
3062 0,
3063 )),
3064 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3065 fastn_builtins::constants::FTD_TEXT_ALIGN_JUSTIFY,
3066 fastn_resolved::Kind::string().into_kind_data(),
3067 false,
3068 Some(
3069 fastn_resolved::Value::new_string("justify")
3070 .into_property_value(false, 0),
3071 ),
3072 0,
3073 )),
3074 ],
3075 line_number: 0,
3076 }),
3077 ),
3078 (
3079 fastn_builtins::constants::FTD_LINK_REL.to_string(),
3080 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3081 name: fastn_builtins::constants::FTD_LINK_REL.to_string(),
3082 variants: vec![
3083 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3084 fastn_builtins::constants::FTD_LINK_REL_NO_FOLLOW,
3085 fastn_resolved::Kind::string().into_kind_data(),
3086 false,
3087 Some(
3088 fastn_resolved::Value::new_string("no-follow")
3089 .into_property_value(false, 0),
3090 ),
3091 0,
3092 )),
3093 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3094 fastn_builtins::constants::FTD_LINK_REL_SPONSORED,
3095 fastn_resolved::Kind::string().into_kind_data(),
3096 false,
3097 Some(
3098 fastn_resolved::Value::new_string("sponsored")
3099 .into_property_value(false, 0),
3100 ),
3101 0,
3102 )),
3103 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3104 fastn_builtins::constants::FTD_LINK_REL_UGC,
3105 fastn_resolved::Kind::string().into_kind_data(),
3106 false,
3107 Some(
3108 fastn_resolved::Value::new_string("ugc")
3109 .into_property_value(false, 0),
3110 ),
3111 0,
3112 )),
3113 ],
3114 line_number: 0,
3115 }),
3116 ),
3117 (
3118 fastn_builtins::constants::FTD_RESIZING.to_string(),
3119 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3120 name: fastn_builtins::constants::FTD_RESIZING.to_string(),
3121 variants: vec![
3122 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3123 fastn_builtins::constants::FTD_RESIZING_HUG_CONTENT,
3124 fastn_resolved::Kind::string().into_kind_data(),
3125 false,
3126 Some(
3127 fastn_resolved::Value::new_string(
3128 fastn_builtins::constants::FTD_RESIZING_HUG_CONTENT,
3129 )
3130 .into_property_value(false, 0),
3131 ),
3132 0,
3133 )),
3134 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3135 fastn_builtins::constants::FTD_RESIZING_AUTO,
3136 fastn_resolved::Kind::string().into_kind_data(),
3137 false,
3138 Some(
3139 fastn_resolved::Value::new_string(
3140 fastn_builtins::constants::FTD_RESIZING_AUTO,
3141 )
3142 .into_property_value(false, 0),
3143 ),
3144 0,
3145 )),
3146 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
3147 fastn_builtins::constants::FTD_RESIZING_FILL_CONTAINER,
3148 fastn_resolved::Kind::string().into_kind_data(),
3149 false,
3150 Some(
3151 fastn_resolved::Value::new_string(
3152 fastn_builtins::constants::FTD_RESIZING_FILL_CONTAINER,
3153 )
3154 .into_property_value(false, 0),
3155 ),
3156 0,
3157 )),
3158 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3159 fastn_builtins::constants::FTD_RESIZING_FIXED,
3160 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
3161 .into_kind_data(),
3162 false,
3163 None,
3164 0,
3165 )),
3166 ],
3167 line_number: 0,
3168 }),
3169 ),
3170 (
3171 fastn_builtins::constants::FTD_WHITESPACE.to_string(),
3172 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3173 name: fastn_builtins::constants::FTD_WHITESPACE.to_string(),
3174 variants: vec![
3175 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3176 fastn_builtins::constants::FTD_WHITESPACE_NORMAL,
3177 fastn_resolved::Kind::string()
3178 .into_kind_data()
3179 .caption(),
3180 false,
3181 Some(fastn_resolved::Value::new_string("normal")
3182 .into_property_value(false, 0),),
3183 0,
3184 )),
3185 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3186 fastn_builtins::constants::FTD_WHITESPACE_NOWRAP,
3187 fastn_resolved::Kind::string()
3188 .into_kind_data()
3189 .caption(),
3190 false,
3191 Some(fastn_resolved::Value::new_string("nowrap")
3192 .into_property_value(false, 0)),
3193 0,
3194 )),
3195 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3196 fastn_builtins::constants::FTD_WHITESPACE_PRE,
3197 fastn_resolved::Kind::string()
3198 .into_kind_data()
3199 .caption(),
3200 false,
3201 Some(fastn_resolved::Value::new_string("pre")
3202 .into_property_value(false, 0)),
3203 0,
3204 )),
3205 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3206 fastn_builtins::constants::FTD_WHITESPACE_PREWRAP,
3207 fastn_resolved::Kind::string()
3208 .into_kind_data()
3209 .caption(),
3210 false,
3211 Some(fastn_resolved::Value::new_string("pre-wrap")
3212 .into_property_value(false, 0)),
3213 0,
3214 )),
3215 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3216 fastn_builtins::constants::FTD_WHITESPACE_PRELINE,
3217 fastn_resolved::Kind::string()
3218 .into_kind_data()
3219 .caption(),
3220 false,
3221 Some(fastn_resolved::Value::new_string("pre-line")
3222 .into_property_value(false, 0)),
3223 0,
3224 )),
3225 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3226 fastn_builtins::constants::FTD_WHITESPACE_BREAKSPACES,
3227 fastn_resolved::Kind::string()
3228 .into_kind_data()
3229 .caption(),
3230 false,
3231 Some(fastn_resolved::Value::new_string("break-spaces")
3232 .into_property_value(false, 0)),
3233 0,
3234 )),
3235 ],
3236 line_number: 0,
3237 }),
3238 ),
3239 (
3240 fastn_builtins::constants::FTD_DISPLAY.to_string(),
3241 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3242 name: fastn_builtins::constants::FTD_DISPLAY.to_string(),
3243 variants: vec![
3244 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3245 fastn_builtins::constants::FTD_DISPLAY_BLOCK,
3246 fastn_resolved::Kind::string()
3247 .into_kind_data()
3248 .caption(),
3249 false,
3250 Some(fastn_resolved::Value::new_string("block")
3251 .into_property_value(false, 0),),
3252 0,
3253 )),
3254 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3255 fastn_builtins::constants::FTD_DISPLAY_INLINE,
3256 fastn_resolved::Kind::string()
3257 .into_kind_data()
3258 .caption(),
3259 false,
3260 Some(fastn_resolved::Value::new_string("inline")
3261 .into_property_value(false, 0)),
3262 0,
3263 )),
3264 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3265 fastn_builtins::constants::FTD_DISPLAY_INLINE_BLOCK,
3266 fastn_resolved::Kind::string()
3267 .into_kind_data()
3268 .caption(),
3269 false,
3270 Some(fastn_resolved::Value::new_string("inline-block")
3271 .into_property_value(false, 0)),
3272 0,
3273 )),
3274 ],
3275 line_number: 0,
3276 }),
3277 ),
3278 (
3279 fastn_builtins::constants::FTD_LENGTH.to_string(),
3280 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3281 name: fastn_builtins::constants::FTD_LENGTH.to_string(),
3282 variants: vec![
3283 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3284 fastn_builtins::constants::FTD_LENGTH_PX,
3285 fastn_resolved::Kind::integer()
3286 .into_kind_data()
3287 .caption(),
3288 false,
3289 None,
3290 0,
3291 )),
3292 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3293 fastn_builtins::constants::FTD_LENGTH_PERCENT,
3294 fastn_resolved::Kind::decimal()
3295 .into_kind_data()
3296 .caption(),
3297 false,
3298 None,
3299 0,
3300 )),
3301 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3302 fastn_builtins::constants::FTD_LENGTH_CALC,
3303 fastn_resolved::Kind::string().into_kind_data().caption(),
3304 false,
3305 None,
3306 0,
3307 )),
3308 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3309 fastn_builtins::constants::FTD_LENGTH_VH,
3310 fastn_resolved::Kind::decimal()
3311 .into_kind_data()
3312 .caption(),
3313 false,
3314 None,
3315 0,
3316 )),
3317 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3318 fastn_builtins::constants::FTD_LENGTH_VW,
3319 fastn_resolved::Kind::decimal()
3320 .into_kind_data()
3321 .caption(),
3322 false,
3323 None,
3324 0,
3325 )),
3326 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3327 fastn_builtins::constants::FTD_LENGTH_VMIN,
3328 fastn_resolved::Kind::decimal()
3329 .into_kind_data()
3330 .caption(),
3331 false,
3332 None,
3333 0,
3334 )),
3335 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3336 fastn_builtins::constants::FTD_LENGTH_VMAX,
3337 fastn_resolved::Kind::decimal()
3338 .into_kind_data()
3339 .caption(),
3340 false,
3341 None,
3342 0,
3343 )),
3344
3345 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3346 fastn_builtins::constants::FTD_LENGTH_DVH,
3347 fastn_resolved::Kind::decimal()
3348 .into_kind_data()
3349 .caption(),
3350 false,
3351 None,
3352 0,
3353 )),
3354 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3355 fastn_builtins::constants::FTD_LENGTH_LVH,
3356 fastn_resolved::Kind::decimal()
3357 .into_kind_data()
3358 .caption(),
3359 false,
3360 None,
3361 0,
3362 )),
3363 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3364 fastn_builtins::constants::FTD_LENGTH_SVH,
3365 fastn_resolved::Kind::decimal()
3366 .into_kind_data()
3367 .caption(),
3368 false,
3369 None,
3370 0,
3371 )),
3372
3373 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3374 fastn_builtins::constants::FTD_LENGTH_EM,
3375 fastn_resolved::Kind::decimal()
3376 .into_kind_data()
3377 .caption(),
3378 false,
3379 None,
3380 0,
3381 )),
3382 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3383 fastn_builtins::constants::FTD_LENGTH_REM,
3384 fastn_resolved::Kind::decimal()
3385 .into_kind_data()
3386 .caption(),
3387 false,
3388 None,
3389 0,
3390 )),
3391 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3392 fastn_builtins::constants::FTD_LENGTH_RESPONSIVE,
3393 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_LENGTH)
3394 .into_kind_data()
3395 .caption(),
3396 false,
3397 None,
3398 0,
3399 )),
3400 ],
3401 line_number: 0,
3402 }),
3403 ),
3404 (
3405 fastn_builtins::constants::FTD_RESPONSIVE_LENGTH.to_string(),
3406 fastn_resolved::Definition::Record(fastn_resolved::Record {
3407 name: fastn_builtins::constants::FTD_RESPONSIVE_LENGTH.to_string(),
3408 fields: std::iter::IntoIterator::into_iter([
3409 fastn_resolved::Field {
3410 name: "desktop".to_string(),
3411 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
3412 .into_kind_data()
3413 .caption(),
3414 mutable: false,
3415 value: None,
3416 access_modifier: Default::default(),
3417 line_number: 0,
3418 },
3419 fastn_resolved::Field {
3420 name: "mobile".to_string(),
3421 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
3422 .into_kind_data(),
3423 mutable: false,
3424 access_modifier: Default::default(),
3425 value: Some(fastn_resolved::PropertyValue::Reference {
3426 name: fastn_builtins::constants::FTD_RESPONSIVE_LENGTH_DESKTOP.to_string(),
3427 kind: fastn_resolved::Kind::string().into_kind_data(),
3428 source: fastn_resolved::PropertyValueSource::Local(
3429 fastn_builtins::constants::FTD_RESPONSIVE_LENGTH.to_string(),
3430 ),
3431 is_mutable: false,
3432 line_number: 0,
3433 }),
3434 line_number: 0,
3435 },
3436 ])
3437 .collect(),
3438 line_number: 0,
3439 }),
3440 ),
3441 (
3442 fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
3443 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3444 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
3445 variants: vec![
3446 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3447 fastn_builtins::constants::FTD_FONT_SIZE_PX,
3448 fastn_resolved::Kind::integer()
3449 .into_kind_data()
3450 .caption(),
3451 false,
3452 None,
3453 0,
3454 )),
3455 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3456 fastn_builtins::constants::FTD_FONT_SIZE_EM,
3457 fastn_resolved::Kind::decimal()
3458 .into_kind_data()
3459 .caption(),
3460 false,
3461 None,
3462 0,
3463 )),
3464 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
3465 fastn_builtins::constants::FTD_FONT_SIZE_REM,
3466 fastn_resolved::Kind::decimal()
3467 .into_kind_data()
3468 .caption(),
3469 false,
3470 None,
3471 0,
3472 )),
3473 ],
3474 line_number: 0,
3475 }),
3476 ),
3477 (
3478 fastn_builtins::constants::FTD_REGION.to_string(),
3479 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3480 name: fastn_builtins::constants::FTD_REGION.to_string(),
3481 variants: vec![
3482 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3483 fastn_builtins::constants::FTD_REGION_H1,
3484 fastn_resolved::Kind::string()
3485 .into_kind_data()
3486 .caption(),
3487 false,
3488 Some( fastn_resolved::Value::new_string("h1")
3489 .into_property_value(false, 0),),
3490 0,
3491 )),
3492 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3493 fastn_builtins::constants::FTD_REGION_H2,
3494 fastn_resolved::Kind::string()
3495 .into_kind_data()
3496 .caption(),
3497 false,
3498 Some(fastn_resolved::Value::new_string("h2")
3499 .into_property_value(false, 0)),
3500 0,
3501 )),
3502 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3503 fastn_builtins::constants::FTD_REGION_H3,
3504 fastn_resolved::Kind::string()
3505 .into_kind_data()
3506 .caption(),
3507 false,
3508 Some(fastn_resolved::Value::new_string("h3")
3509 .into_property_value(false, 0)),
3510 0,
3511 )),
3512 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3513 fastn_builtins::constants::FTD_REGION_H4,
3514 fastn_resolved::Kind::string()
3515 .into_kind_data()
3516 .caption(),
3517 false,
3518 Some(fastn_resolved::Value::new_string("h4")
3519 .into_property_value(false, 0)),
3520 0,
3521 )),
3522 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3523 fastn_builtins::constants::FTD_REGION_H5,
3524 fastn_resolved::Kind::string()
3525 .into_kind_data()
3526 .caption(),
3527 false,
3528 Some(fastn_resolved::Value::new_string("h5")
3529 .into_property_value(false, 0)),
3530 0,
3531 )),
3532 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3533 fastn_builtins::constants::FTD_REGION_H6,
3534 fastn_resolved::Kind::string()
3535 .into_kind_data()
3536 .caption(),
3537 false,
3538 Some(fastn_resolved::Value::new_string("h6")
3539 .into_property_value(false, 0)),
3540 0,
3541 )),
3542 ],
3543 line_number: 0,
3544 }),
3545 ),
3546 (
3547 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE.to_string(),
3548 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3549 name: fastn_builtins::constants::FTD_TEXT_INPUT_TYPE.to_string(),
3550 variants: vec![
3551 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3552 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_TEXT,
3553 fastn_resolved::Kind::string()
3554 .into_kind_data()
3555 .caption(),
3556 false,
3557 Some( fastn_resolved::Value::new_string("text")
3558 .into_property_value(false, 0),),
3559 0,
3560 )),
3561 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3562 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_EMAIL,
3563 fastn_resolved::Kind::string()
3564 .into_kind_data()
3565 .caption(),
3566 false,
3567 Some(fastn_resolved::Value::new_string("email")
3568 .into_property_value(false, 0)),
3569 0,
3570 )),
3571 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3572 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_PASSWORD,
3573 fastn_resolved::Kind::string()
3574 .into_kind_data()
3575 .caption(),
3576 false,
3577 Some(fastn_resolved::Value::new_string("password")
3578 .into_property_value(false, 0)),
3579 0,
3580 )),
3581 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3582 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_URL,
3583 fastn_resolved::Kind::string()
3584 .into_kind_data()
3585 .caption(),
3586 false,
3587 Some(fastn_resolved::Value::new_string("url")
3588 .into_property_value(false, 0)),
3589 0,
3590 )),
3591 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3592 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_DATETIME,
3593 fastn_resolved::Kind::string()
3594 .into_kind_data()
3595 .caption(),
3596 false,
3597 Some(fastn_resolved::Value::new_string("datetime-local")
3598 .into_property_value(false, 0)),
3599 0,
3600 )),
3601 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3602 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_DATE,
3603 fastn_resolved::Kind::string()
3604 .into_kind_data()
3605 .caption(),
3606 false,
3607 Some(fastn_resolved::Value::new_string("date")
3608 .into_property_value(false, 0)),
3609 0,
3610 )),
3611 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3612 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_TIME,
3613 fastn_resolved::Kind::string()
3614 .into_kind_data()
3615 .caption(),
3616 false,
3617 Some(fastn_resolved::Value::new_string("time")
3618 .into_property_value(false, 0)),
3619 0,
3620 )),
3621 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3622 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_MONTH,
3623 fastn_resolved::Kind::string()
3624 .into_kind_data()
3625 .caption(),
3626 false,
3627 Some(fastn_resolved::Value::new_string("month")
3628 .into_property_value(false, 0)),
3629 0,
3630 )),
3631 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3632 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_WEEK,
3633 fastn_resolved::Kind::string()
3634 .into_kind_data()
3635 .caption(),
3636 false,
3637 Some(fastn_resolved::Value::new_string("week")
3638 .into_property_value(false, 0)),
3639 0,
3640 )),
3641 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3642 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_COLOR,
3643 fastn_resolved::Kind::string()
3644 .into_kind_data()
3645 .caption(),
3646 false,
3647 Some(fastn_resolved::Value::new_string("color")
3648 .into_property_value(false, 0)),
3649 0,
3650 )),
3651 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3652 fastn_builtins::constants::FTD_TEXT_INPUT_TYPE_FILE,
3653 fastn_resolved::Kind::string()
3654 .into_kind_data()
3655 .caption(),
3656 false,
3657 Some(fastn_resolved::Value::new_string("file")
3658 .into_property_value(false, 0)),
3659 0,
3660 )),
3661 ],
3662 line_number: 0,
3663 }),
3664 ),
3665 (
3666 fastn_builtins::constants::FTD_LOADING.to_string(),
3667 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3668 name: fastn_builtins::constants::FTD_LOADING.to_string(),
3669 variants: vec![
3670 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3671 fastn_builtins::constants::FTD_LOADING_EAGER,
3672 fastn_resolved::Kind::string()
3673 .into_kind_data()
3674 .caption(),
3675 false,
3676 Some( fastn_resolved::Value::new_string("eager")
3677 .into_property_value(false, 0),),
3678 0,
3679 )),
3680 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3681 fastn_builtins::constants::FTD_LOADING_LAZY,
3682 fastn_resolved::Kind::string()
3683 .into_kind_data()
3684 .caption(),
3685 false,
3686 Some(fastn_resolved::Value::new_string("lazy")
3687 .into_property_value(false, 0)),
3688 0,
3689 )),
3690 ],
3691 line_number: 0,
3692 }),
3693 ),
3694 (
3695 fastn_builtins::constants::FTD_BORDER_STYLE.to_string(),
3696 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3697 name: fastn_builtins::constants::FTD_BORDER_STYLE.to_string(),
3698 variants: vec![
3699 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3700 fastn_builtins::constants::FTD_BORDER_STYLE_DASHED,
3701 fastn_resolved::Kind::string()
3702 .into_kind_data()
3703 .caption(),
3704 false,
3705 Some( fastn_resolved::Value::new_string("dashed")
3706 .into_property_value(false, 0),),
3707 0,
3708 )),
3709 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3710 fastn_builtins::constants::FTD_BORDER_STYLE_DOTTED,
3711 fastn_resolved::Kind::string()
3712 .into_kind_data()
3713 .caption(),
3714 false,
3715 Some( fastn_resolved::Value::new_string("dotted")
3716 .into_property_value(false, 0),),
3717 0,
3718 )),
3719 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3720 fastn_builtins::constants::FTD_BORDER_STYLE_DOUBLE,
3721 fastn_resolved::Kind::string()
3722 .into_kind_data()
3723 .caption(),
3724 false,
3725 Some( fastn_resolved::Value::new_string("double")
3726 .into_property_value(false, 0),),
3727 0,
3728 )),
3729 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3730 fastn_builtins::constants::FTD_BORDER_STYLE_GROOVE,
3731 fastn_resolved::Kind::string()
3732 .into_kind_data()
3733 .caption(),
3734 false,
3735 Some( fastn_resolved::Value::new_string("groove")
3736 .into_property_value(false, 0),),
3737 0,
3738 )),
3739 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3740 fastn_builtins::constants::FTD_BORDER_STYLE_INSET,
3741 fastn_resolved::Kind::string()
3742 .into_kind_data()
3743 .caption(),
3744 false,
3745 Some( fastn_resolved::Value::new_string("inset")
3746 .into_property_value(false, 0),),
3747 0,
3748 )),
3749 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3750 fastn_builtins::constants::FTD_BORDER_STYLE_OUTSET,
3751 fastn_resolved::Kind::string()
3752 .into_kind_data()
3753 .caption(),
3754 false,
3755 Some( fastn_resolved::Value::new_string("outset")
3756 .into_property_value(false, 0),),
3757 0,
3758 )),
3759 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3760 fastn_builtins::constants::FTD_BORDER_STYLE_RIDGE,
3761 fastn_resolved::Kind::string()
3762 .into_kind_data()
3763 .caption(),
3764 false,
3765 Some( fastn_resolved::Value::new_string("ridge")
3766 .into_property_value(false, 0),),
3767 0,
3768 )),
3769 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3770 fastn_builtins::constants::FTD_BORDER_STYLE_SOLID,
3771 fastn_resolved::Kind::string()
3772 .into_kind_data()
3773 .caption(),
3774 false,
3775 Some( fastn_resolved::Value::new_string("solid")
3776 .into_property_value(false, 0),),
3777 0,
3778 )),
3779 ],
3780 line_number: 0,
3781 }),
3782 ),
3783 (
3784 fastn_builtins::constants::FTD_TEXT_STYLE.to_string(),
3785 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3786 name: fastn_builtins::constants::FTD_TEXT_STYLE.to_string(),
3787 variants: vec![
3788 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3789 fastn_builtins::constants::FTD_TEXT_STYLE_UNDERLINE,
3790 fastn_resolved::Kind::string()
3791 .into_kind_data()
3792 .caption(),
3793 false,
3794 Some(fastn_resolved::Value::new_string("underline").into_property_value(false, 0),),
3795 0,
3796 )),
3797 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3798 fastn_builtins::constants::FTD_TEXT_STYLE_STRIKE,
3799 fastn_resolved::Kind::string()
3800 .into_kind_data()
3801 .caption(),
3802 false,
3803 Some(fastn_resolved::Value::new_string("strike").into_property_value(false, 0),),
3804 0,
3805 )),
3806 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3807 fastn_builtins::constants::FTD_TEXT_STYLE_ITALIC,
3808 fastn_resolved::Kind::string()
3809 .into_kind_data()
3810 .caption(),
3811 false,
3812 Some(fastn_resolved::Value::new_string("italic").into_property_value(false, 0),),
3813 0,
3814 )),
3815 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3816 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_HEAVY,
3817 fastn_resolved::Kind::string()
3818 .into_kind_data()
3819 .caption(),
3820 false,
3821 Some(fastn_resolved::Value::new_string("heavy").into_property_value(false, 0),),
3822 0,
3823 )),
3824 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3825 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_EXTRA_BOLD,
3826 fastn_resolved::Kind::string()
3827 .into_kind_data()
3828 .caption(),
3829 false,
3830 Some(fastn_resolved::Value::new_string("extra-bold").into_property_value(false, 0),),
3831 0,
3832 )),
3833 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3834 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_BOLD,
3835 fastn_resolved::Kind::string()
3836 .into_kind_data()
3837 .caption(),
3838 false,
3839 Some(fastn_resolved::Value::new_string("bold").into_property_value(false, 0),),
3840 0,
3841 )),
3842 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3843 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_SEMI_BOLD,
3844 fastn_resolved::Kind::string()
3845 .into_kind_data()
3846 .caption(),
3847 false,
3848 Some(fastn_resolved::Value::new_string("semi-bold").into_property_value(false, 0),),
3849 0,
3850 )),
3851 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3852 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_MEDIUM,
3853 fastn_resolved::Kind::string()
3854 .into_kind_data()
3855 .caption(),
3856 false,
3857 Some(fastn_resolved::Value::new_string("medium").into_property_value(false, 0),),
3858 0,
3859 )),
3860 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3861 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_REGULAR,
3862 fastn_resolved::Kind::string()
3863 .into_kind_data()
3864 .caption(),
3865 false,
3866 Some(fastn_resolved::Value::new_string("regular").into_property_value(false, 0),),
3867 0,
3868 )),
3869 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3870 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_LIGHT,
3871 fastn_resolved::Kind::string()
3872 .into_kind_data()
3873 .caption(),
3874 false,
3875 Some(fastn_resolved::Value::new_string("light").into_property_value(false, 0),),
3876 0,
3877 )),
3878 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3879 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_EXTRA_LIGHT,
3880 fastn_resolved::Kind::string()
3881 .into_kind_data()
3882 .caption(),
3883 false,
3884 Some(fastn_resolved::Value::new_string("extra-light").into_property_value(false, 0),),
3885 0,
3886 )),
3887 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3888 fastn_builtins::constants::FTD_TEXT_STYLE_WEIGHT_HAIRLINE,
3889 fastn_resolved::Kind::string()
3890 .into_kind_data()
3891 .caption(),
3892 false,
3893 Some(fastn_resolved::Value::new_string("hairline").into_property_value(false, 0),),
3894 0,
3895 )),
3896 ],
3897 line_number: 0,
3898 }),
3899 ),
3900 (
3901 fastn_builtins::constants::FTD_TEXT_TRANSFORM.to_string(),
3902 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
3903 name: fastn_builtins::constants::FTD_TEXT_TRANSFORM.to_string(),
3904 variants: vec![
3905 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3906 fastn_builtins::constants::FTD_TEXT_TRANSFORM_NONE,
3907 fastn_resolved::Kind::string()
3908 .into_kind_data()
3909 .caption(),
3910 false,
3911 Some( fastn_resolved::Value::new_string("none")
3912 .into_property_value(false, 0),),
3913 0,
3914 )),
3915 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3916 fastn_builtins::constants::FTD_TEXT_TRANSFORM_CAPITALIZE,
3917 fastn_resolved::Kind::string()
3918 .into_kind_data()
3919 .caption(),
3920 false,
3921 Some(fastn_resolved::Value::new_string("capitalize")
3922 .into_property_value(false, 0)),
3923 0,
3924 )),
3925 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3926 fastn_builtins::constants::FTD_TEXT_TRANSFORM_UPPERCASE,
3927 fastn_resolved::Kind::string()
3928 .into_kind_data()
3929 .caption(),
3930 false,
3931 Some(fastn_resolved::Value::new_string("uppercase")
3932 .into_property_value(false, 0)),
3933 0,
3934 )),
3935 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3936 fastn_builtins::constants::FTD_TEXT_TRANSFORM_LOWERCASE,
3937 fastn_resolved::Kind::string()
3938 .into_kind_data()
3939 .caption(),
3940 false,
3941 Some(fastn_resolved::Value::new_string("lowercase")
3942 .into_property_value(false, 0)),
3943 0,
3944 )),
3945 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3946 fastn_builtins::constants::FTD_TEXT_TRANSFORM_INITIAL,
3947 fastn_resolved::Kind::string()
3948 .into_kind_data()
3949 .caption(),
3950 false,
3951 Some(fastn_resolved::Value::new_string("initial")
3952 .into_property_value(false, 0)),
3953 0,
3954 )),
3955 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
3956 fastn_builtins::constants::FTD_TEXT_TRANSFORM_INHERIT,
3957 fastn_resolved::Kind::string()
3958 .into_kind_data()
3959 .caption(),
3960 false,
3961 Some(fastn_resolved::Value::new_string("inherit")
3962 .into_property_value(false, 0)),
3963 0,
3964 )),
3965 ],
3966 line_number: 0,
3967 }),
3968 ),
3969 (
3970 fastn_builtins::constants::FTD_TYPE.to_string(),
3971 fastn_resolved::Definition::Record(fastn_resolved::Record {
3972 name: fastn_builtins::constants::FTD_TYPE.to_string(),
3973 fields: std::iter::IntoIterator::into_iter([
3974 fastn_resolved::Field {
3975 name: "size".to_string(),
3976 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_FONT_SIZE)
3977 .into_optional()
3978 .into_kind_data(),
3979 mutable: false,
3980 value: None,
3981 access_modifier: Default::default(),
3982 line_number: 0,
3983 },
3984 fastn_resolved::Field {
3985 name: "line-height".to_string(),
3986 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_FONT_SIZE)
3987 .into_optional()
3988 .into_kind_data(),
3989 mutable: false,
3990 value: None,
3991 access_modifier: Default::default(),
3992 line_number: 0,
3993 },
3994 fastn_resolved::Field {
3995 name: "letter-spacing".to_string(),
3996 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_FONT_SIZE)
3997 .into_optional()
3998 .into_kind_data(),
3999 mutable: false,
4000 value: None,
4001 access_modifier: Default::default(),
4002 line_number: 0,
4003 },
4004 fastn_resolved::Field {
4005 name: "weight".to_string(),
4006 kind: fastn_resolved::Kind::integer()
4007 .into_optional()
4008 .into_kind_data(),
4009 mutable: false,
4010 value: None,
4011 access_modifier: Default::default(),
4012 line_number: 0,
4013 },
4014 fastn_resolved::Field {
4015 name: "font-family".to_string(),
4016 kind: fastn_resolved::Kind::string()
4017 .into_list()
4018 .into_kind_data(),
4019 mutable: false,
4020 value: None,
4021 access_modifier: Default::default(),
4022 line_number: 0,
4023 },
4024 ])
4025 .collect(),
4026 line_number: 0,
4027 }),
4028 ),
4029 (
4030 fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
4031 fastn_resolved::Definition::Record(fastn_resolved::Record {
4032 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
4033 fields: std::iter::IntoIterator::into_iter([
4034 fastn_resolved::Field {
4035 name: "desktop".to_string(),
4036 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE)
4037 .into_kind_data().caption(),
4038 mutable: false,
4039 value: None,
4040 access_modifier: Default::default(),
4041 line_number: 0,
4042 },
4043 fastn_resolved::Field {
4044 name: "mobile".to_string(),
4045 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE)
4046 .into_kind_data(),
4047 mutable: false,
4048 access_modifier: Default::default(),
4049 value: Some(fastn_resolved::PropertyValue::Reference {
4050 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE_DESKTOP.to_string(),
4051 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE)
4052 .into_kind_data(),
4053 source: fastn_resolved::PropertyValueSource::Local(
4054 fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
4055 ),
4056 is_mutable: false,
4057 line_number: 0,
4058 }),
4059 line_number: 0,
4060 },
4061 ])
4062 .collect(),
4063 line_number: 0,
4064 }),
4065 ),
4066 (
4067 "ftd#dark-mode".to_string(),
4068 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4069 name: "ftd#dark-mode".to_string(),
4070 kind: fastn_resolved::Kind::boolean().into_kind_data(),
4071 mutable: true,
4072 value: fastn_resolved::PropertyValue::Value {
4073 value: fastn_resolved::Value::Boolean { value: false },
4074 is_mutable: true,
4075 line_number: 0,
4076 },
4077 conditional_value: vec![],
4078 line_number: 0,
4079 is_static: false,
4080 }),
4081 ),
4082 (
4083 "ftd#empty".to_string(),
4084 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4085 name: "ftd#empty".to_string(),
4086 kind: fastn_resolved::Kind::string().into_kind_data(),
4087 mutable: false,
4088 value: fastn_resolved::PropertyValue::Value {
4089 value: fastn_resolved::Value::String { text: "".to_string() },
4090 is_mutable: false,
4091 line_number: 0,
4092 },
4093 conditional_value: vec![],
4094 line_number: 0,
4095 is_static: false,
4096 }),
4097 ),
4098 (
4099 "ftd#space".to_string(),
4100 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4101 name: "ftd#space".to_string(),
4102 kind: fastn_resolved::Kind::string().into_kind_data(),
4103 mutable: false,
4104 value: fastn_resolved::PropertyValue::Value {
4105 value: fastn_resolved::Value::String { text: " ".to_string() },
4106 is_mutable: false,
4107 line_number: 0,
4108 },
4109 conditional_value: vec![],
4110 line_number: 0,
4111 is_static: false,
4112 }),
4113 ),
4114 (
4115 "ftd#nbsp".to_string(),
4116 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4117 name: "ftd#nbsp".to_string(),
4118 kind: fastn_resolved::Kind::string().into_kind_data(),
4119 mutable: false,
4120 value: fastn_resolved::PropertyValue::Value {
4121 value: fastn_resolved::Value::String { text: " ".to_string() },
4122 is_mutable: false,
4123 line_number: 0,
4124 },
4125 conditional_value: vec![],
4126 line_number: 0,
4127 is_static: false,
4128 }),
4129 ),
4130 (
4131 "ftd#non-breaking-space".to_string(),
4132 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4133 name: "ftd#non-breaking-space".to_string(),
4134 kind: fastn_resolved::Kind::string().into_kind_data(),
4135 mutable: false,
4136 value: fastn_resolved::PropertyValue::Value {
4137 value: fastn_resolved::Value::String { text: " ".to_string() },
4138 is_mutable: false,
4139 line_number: 0,
4140 },
4141 conditional_value: vec![],
4142 line_number: 0,
4143 is_static: false,
4144 }),
4145 ),
4146 (
4147 "ftd#system-dark-mode".to_string(),
4148 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4149 name: "ftd#system-dark-mode".to_string(),
4150 kind: fastn_resolved::Kind::boolean().into_kind_data(),
4151 mutable: true,
4152 value: fastn_resolved::PropertyValue::Value {
4153 value: fastn_resolved::Value::Boolean { value: false },
4154 is_mutable: true,
4155 line_number: 0,
4156 },
4157 conditional_value: vec![],
4158 line_number: 0,
4159 is_static: false,
4160 }),
4161 ),
4162 (
4163 "ftd#follow-system-dark-mode".to_string(),
4164 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4165 name: "ftd#follow-system-dark-mode".to_string(),
4166 kind: fastn_resolved::Kind::boolean().into_kind_data(),
4167 mutable: true,
4168 value: fastn_resolved::PropertyValue::Value {
4169 value: fastn_resolved::Value::Boolean { value: true },
4170 is_mutable: true,
4171 line_number: 0,
4172 },
4173 conditional_value: vec![],
4174 line_number: 0,
4175 is_static: false,
4176 }),
4177 ),
4178 (
4179 "ftd#permanent-redirect".to_string(),
4180 fastn_resolved::Definition::Component(fastn_resolved::ComponentDefinition {
4181 name: "ftd#permanent-redirect".to_string(),
4182 arguments: vec![
4183 fastn_resolved::Argument::default(
4184 "url",
4185 fastn_resolved::Kind::string()
4186 .into_kind_data().caption_or_body(),
4187 ),
4188 ],
4189 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
4190 css: None,
4191 line_number: 0,
4192 }),
4193 ),
4194 (
4195 "ftd#temporary-redirect".to_string(),
4196 fastn_resolved::Definition::Component(fastn_resolved::ComponentDefinition {
4197 name: "ftd#temporary-redirect".to_string(),
4198 arguments: vec![
4199 fastn_resolved::Argument::default(
4200 "url",
4201 fastn_resolved::Kind::string()
4202 .into_kind_data().caption_or_body(),
4203 ),
4204 ],
4205 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
4206 css: None,
4207 line_number: 0,
4208 }),
4209 ),
4210 (
4211 fastn_builtins::constants::FTD_BACKGROUND_COLOR.to_string(),
4212 fastn_resolved::Definition::Record(fastn_resolved::Record {
4213 name: fastn_builtins::constants::FTD_BACKGROUND_COLOR.to_string(),
4214 fields: vec![
4215 fastn_resolved::Field {
4216 name: "base".to_string(),
4217 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4218 .into_kind_data(),
4219 mutable: false,
4220 value: None,
4221 access_modifier: Default::default(),
4222 line_number: 0,
4223 },
4224 fastn_resolved::Field {
4225 name: "step-1".to_string(),
4226 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4227 .into_kind_data(),
4228 mutable: false,
4229 value: None,
4230 access_modifier: Default::default(),
4231 line_number: 0,
4232 },
4233 fastn_resolved::Field {
4234 name: "step-2".to_string(),
4235 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4236 .into_kind_data(),
4237 mutable: false,
4238 value: None,
4239 access_modifier: Default::default(),
4240 line_number: 0,
4241 },
4242 fastn_resolved::Field {
4243 name: "overlay".to_string(),
4244 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4245 .into_kind_data(),
4246 mutable: false,
4247 value: None,
4248 access_modifier: Default::default(),
4249 line_number: 0,
4250 },
4251 fastn_resolved::Field {
4252 name: "code".to_string(),
4253 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4254 .into_kind_data(),
4255 mutable: false,
4256 value: None,
4257 access_modifier: Default::default(),
4258 line_number: 0,
4259 },
4260 ],
4261 line_number: 0,
4262 }),
4263 ),
4264 (
4265 fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
4266 fastn_resolved::Definition::Record(fastn_resolved::Record {
4267 name: fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
4268 fields: vec![
4269 fastn_resolved::Field {
4270 name: "base".to_string(),
4271 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4272 .into_kind_data(),
4273 mutable: false,
4274 value: None,
4275 access_modifier: Default::default(),
4276 line_number: 0,
4277 },
4278 fastn_resolved::Field {
4279 name: "hover".to_string(),
4280 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4281 .into_kind_data(),
4282 mutable: false,
4283 value: None,
4284 access_modifier: Default::default(),
4285 line_number: 0,
4286 },
4287 fastn_resolved::Field {
4288 name: "pressed".to_string(),
4289 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4290 .into_kind_data(),
4291 mutable: false,
4292 value: None,
4293 access_modifier: Default::default(),
4294 line_number: 0,
4295 },
4296 fastn_resolved::Field {
4297 name: "disabled".to_string(),
4298 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4299 .into_kind_data(),
4300 mutable: false,
4301 value: None,
4302 access_modifier: Default::default(),
4303 line_number: 0,
4304 },
4305 fastn_resolved::Field {
4306 name: "focused".to_string(),
4307 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4308 .into_kind_data(),
4309 mutable: false,
4310 value: None,
4311 access_modifier: Default::default(),
4312 line_number: 0,
4313 },
4314 fastn_resolved::Field {
4315 name: "border".to_string(),
4316 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4317 .into_kind_data(),
4318 mutable: false,
4319 value: None,
4320 access_modifier: Default::default(),
4321 line_number: 0,
4322 },
4323 fastn_resolved::Field {
4324 name: "border-disabled".to_string(),
4325 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4326 .into_kind_data(),
4327 mutable: false,
4328 value: None,
4329 access_modifier: Default::default(),
4330 line_number: 0,
4331 },
4332 fastn_resolved::Field {
4333 name: "text".to_string(),
4334 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4335 .into_kind_data(),
4336 mutable: false,
4337 value: None,
4338 access_modifier: Default::default(),
4339 line_number: 0,
4340 },
4341 fastn_resolved::Field {
4342 name: "text-disabled".to_string(),
4343 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4344 .into_kind_data(),
4345 mutable: false,
4346 value: None,
4347 access_modifier: Default::default(),
4348 line_number: 0,
4349 },
4350 ],
4351 line_number: 0,
4352 }),
4353 ),
4354 (
4355 fastn_builtins::constants::FTD_PST.to_string(),
4356 fastn_resolved::Definition::Record(fastn_resolved::Record {
4357 name: fastn_builtins::constants::FTD_PST.to_string(),
4358 fields: vec![
4359 fastn_resolved::Field {
4360 name: "primary".to_string(),
4361 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4362 .into_kind_data(),
4363 mutable: false,
4364 value: None,
4365 access_modifier: Default::default(),
4366 line_number: 0,
4367 },
4368 fastn_resolved::Field {
4369 name: "secondary".to_string(),
4370 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4371 .into_kind_data(),
4372 mutable: false,
4373 value: None,
4374 access_modifier: Default::default(),
4375 line_number: 0,
4376 },
4377 fastn_resolved::Field {
4378 name: "tertiary".to_string(),
4379 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4380 .into_kind_data(),
4381 mutable: false,
4382 value: None,
4383 access_modifier: Default::default(),
4384 line_number: 0,
4385 },
4386 ],
4387 line_number: 0,
4388 }),
4389 ),
4390 (
4391 fastn_builtins::constants::FTD_BTB.to_string(),
4392 fastn_resolved::Definition::Record(fastn_resolved::Record {
4393 name: fastn_builtins::constants::FTD_BTB.to_string(),
4394 fields: vec![
4395 fastn_resolved::Field {
4396 name: "base".to_string(),
4397 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4398 .into_kind_data(),
4399 mutable: false,
4400 value: None,
4401 access_modifier: Default::default(),
4402 line_number: 0,
4403 },
4404 fastn_resolved::Field {
4405 name: "text".to_string(),
4406 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4407 .into_kind_data(),
4408 mutable: false,
4409 value: None,
4410 access_modifier: Default::default(),
4411 line_number: 0,
4412 },
4413 fastn_resolved::Field {
4414 name: "border".to_string(),
4415 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4416 .into_kind_data(),
4417 mutable: false,
4418 value: None,
4419 access_modifier: Default::default(),
4420 line_number: 0,
4421 },
4422 ],
4423 line_number: 0,
4424 }),
4425 ),
4426 (
4427 fastn_builtins::constants::FTD_CUSTOM_COLORS.to_string(),
4428 fastn_resolved::Definition::Record(fastn_resolved::Record {
4429 name: fastn_builtins::constants::FTD_CUSTOM_COLORS.to_string(),
4430 fields: vec![
4431 fastn_resolved::Field {
4432 name: "one".to_string(),
4433 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4434 .into_kind_data(),
4435 mutable: false,
4436 value: None,
4437 access_modifier: Default::default(),
4438 line_number: 0,
4439 },
4440 fastn_resolved::Field {
4441 name: "two".to_string(),
4442 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4443 .into_kind_data(),
4444 mutable: false,
4445 value: None,
4446 access_modifier: Default::default(),
4447 line_number: 0,
4448 },
4449 fastn_resolved::Field {
4450 name: "three".to_string(),
4451 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4452 .into_kind_data(),
4453 mutable: false,
4454 value: None,
4455 access_modifier: Default::default(),
4456 line_number: 0,
4457 },
4458 fastn_resolved::Field {
4459 name: "four".to_string(),
4460 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4461 .into_kind_data(),
4462 mutable: false,
4463 value: None,
4464 access_modifier: Default::default(),
4465 line_number: 0,
4466 },
4467 fastn_resolved::Field {
4468 name: "five".to_string(),
4469 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4470 .into_kind_data(),
4471 mutable: false,
4472 value: None,
4473 access_modifier: Default::default(),
4474 line_number: 0,
4475 },
4476 fastn_resolved::Field {
4477 name: "six".to_string(),
4478 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4479 .into_kind_data(),
4480 mutable: false,
4481 value: None,
4482 access_modifier: Default::default(),
4483 line_number: 0,
4484 },
4485 fastn_resolved::Field {
4486 name: "seven".to_string(),
4487 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4488 .into_kind_data(),
4489 mutable: false,
4490 value: None,
4491 access_modifier: Default::default(),
4492 line_number: 0,
4493 },
4494 fastn_resolved::Field {
4495 name: "eight".to_string(),
4496 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4497 .into_kind_data(),
4498 mutable: false,
4499 value: None,
4500 access_modifier: Default::default(),
4501 line_number: 0,
4502 },
4503 fastn_resolved::Field {
4504 name: "nine".to_string(),
4505 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4506 .into_kind_data(),
4507 mutable: false,
4508 value: None,
4509 access_modifier: Default::default(),
4510 line_number: 0,
4511 },
4512 fastn_resolved::Field {
4513 name: "ten".to_string(),
4514 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4515 .into_kind_data(),
4516 mutable: false,
4517 value: None,
4518 access_modifier: Default::default(),
4519 line_number: 0,
4520 },
4521 ],
4522 line_number: 0,
4523 }),
4524 ),
4525 (
4526 fastn_builtins::constants::FTD_COLOR_SCHEME.to_string(),
4527 fastn_resolved::Definition::Record(fastn_resolved::Record {
4528 name: fastn_builtins::constants::FTD_COLOR_SCHEME.to_string(),
4529 fields: vec![
4530 fastn_resolved::Field {
4531 name: "background".to_string(),
4532 kind: fastn_resolved::Kind::record("ftd#background-colors")
4533 .into_kind_data(),
4534 mutable: false,
4535 value: None,
4536 access_modifier: Default::default(),
4537 line_number: 0,
4538 },
4539 fastn_resolved::Field {
4540 name: "border".to_string(),
4541 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4542 .into_kind_data(),
4543 mutable: false,
4544 value: None,
4545 access_modifier: Default::default(),
4546 line_number: 0,
4547 },
4548 fastn_resolved::Field {
4549 name: "border-strong".to_string(),
4550 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4551 .into_kind_data(),
4552 mutable: false,
4553 value: None,
4554 access_modifier: Default::default(),
4555 line_number: 0,
4556 },
4557 fastn_resolved::Field {
4558 name: "text".to_string(),
4559 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4560 .into_kind_data(),
4561 mutable: false,
4562 value: None,
4563 access_modifier: Default::default(),
4564 line_number: 0,
4565 },
4566 fastn_resolved::Field {
4567 name: "text-strong".to_string(),
4568 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4569 .into_kind_data(),
4570 mutable: false,
4571 value: None,
4572 line_number: 0,
4573 access_modifier: Default::default(),
4574 },
4575 fastn_resolved::Field {
4576 name: "shadow".to_string(),
4577 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4578 .into_kind_data(),
4579 mutable: false,
4580 value: None,
4581 line_number: 0,
4582 access_modifier: Default::default(),
4583 },
4584 fastn_resolved::Field {
4585 name: "scrim".to_string(),
4586 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
4587 .into_kind_data(),
4588 mutable: false,
4589 value: None,
4590 line_number: 0,
4591 access_modifier: Default::default(),
4592 },
4593 fastn_resolved::Field {
4594 name: "cta-primary".to_string(),
4595 kind: fastn_resolved::Kind::record("ftd#cta-colors").into_kind_data(),
4596 mutable: false,
4597 value: None,
4598 line_number: 0,
4599 access_modifier: Default::default(),
4600 },
4601 fastn_resolved::Field {
4602 name: "cta-secondary".to_string(),
4603 kind: fastn_resolved::Kind::record("ftd#cta-colors").into_kind_data(),
4604 mutable: false,
4605 value: None,
4606 line_number: 0,
4607 access_modifier: Default::default(),
4608 },
4609 fastn_resolved::Field {
4610 name: "cta-tertiary".to_string(),
4611 kind: fastn_resolved::Kind::record("ftd#cta-colors").into_kind_data(),
4612 mutable: false,
4613 value: None,
4614 line_number: 0,
4615 access_modifier: Default::default(),
4616 },
4617 fastn_resolved::Field {
4618 name: "cta-danger".to_string(),
4619 kind: fastn_resolved::Kind::record("ftd#cta-colors").into_kind_data(),
4620 mutable: false,
4621 value: None,
4622 line_number: 0,
4623 access_modifier: Default::default(),
4624 },
4625 fastn_resolved::Field {
4626 name: "accent".to_string(),
4627 kind: fastn_resolved::Kind::record("ftd#pst").into_kind_data(),
4628 mutable: false,
4629 value: None,
4630 line_number: 0,
4631 access_modifier: Default::default(),
4632 },
4633 fastn_resolved::Field {
4634 name: "error".to_string(),
4635 kind: fastn_resolved::Kind::record("ftd#btb").into_kind_data(),
4636 mutable: false,
4637 value: None,
4638 line_number: 0,
4639 access_modifier: Default::default(),
4640 },
4641 fastn_resolved::Field {
4642 name: "success".to_string(),
4643 kind: fastn_resolved::Kind::record("ftd#btb").into_kind_data(),
4644 mutable: false,
4645 value: None,
4646 access_modifier: Default::default(),
4647 line_number: 0,
4648 },
4649 fastn_resolved::Field {
4650 name: "info".to_string(),
4651 kind: fastn_resolved::Kind::record("ftd#btb").into_kind_data(),
4652 mutable: false,
4653 value: None,
4654 access_modifier: Default::default(),
4655 line_number: 0,
4656 },
4657 fastn_resolved::Field {
4658 name: "warning".to_string(),
4659 kind: fastn_resolved::Kind::record("ftd#btb").into_kind_data(),
4660 mutable: false,
4661 value: None,
4662 access_modifier: Default::default(),
4663 line_number: 0,
4664 },
4665 fastn_resolved::Field {
4666 name: "custom".to_string(),
4667 kind: fastn_resolved::Kind::record("ftd#custom-colors").into_kind_data(),
4668 mutable: false,
4669 value: None,
4670 access_modifier: Default::default(),
4671 line_number: 0,
4672 },
4673 ],
4674 line_number: 0,
4675 }),
4676 ),
4677 (
4678 fastn_builtins::constants::FTD_TYPE_DATA.to_string(),
4679 fastn_resolved::Definition::Record(fastn_resolved::Record {
4680 name: fastn_builtins::constants::FTD_TYPE_DATA.to_string(),
4681 fields: vec![fastn_resolved::Field {
4682 name: "heading-large".to_string(),
4683 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4684 .into_kind_data(),
4685 mutable: false,
4686 value: None,
4687 access_modifier: Default::default(),
4688 line_number: 0
4689 }, fastn_resolved::Field {
4690 name: "heading-medium".to_string(),
4691 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4692 .into_kind_data(),
4693 mutable: false,
4694 value: None,
4695 access_modifier: Default::default(),
4696 line_number: 0
4697 }, fastn_resolved::Field {
4698 name: "heading-small".to_string(),
4699 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4700 .into_kind_data(),
4701 mutable: false,
4702 value: None,
4703 access_modifier: Default::default(),
4704 line_number: 0
4705 }, fastn_resolved::Field {
4706 name: "heading-hero".to_string(),
4707 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4708 .into_kind_data(),
4709 mutable: false,
4710 value: None,
4711 access_modifier: Default::default(),
4712 line_number: 0
4713 }, fastn_resolved::Field {
4714 name: "heading-tiny".to_string(),
4715 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4716 .into_kind_data(),
4717 mutable: false,
4718 value: None,
4719 access_modifier: Default::default(),
4720 line_number: 0
4721 }, fastn_resolved::Field {
4722 name: "copy-small".to_string(),
4723 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4724 .into_kind_data(),
4725 mutable: false,
4726 value: None,
4727 access_modifier: Default::default(),
4728 line_number: 0
4729 }, fastn_resolved::Field {
4730 name: "copy-regular".to_string(),
4731 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4732 .into_kind_data(),
4733 mutable: false,
4734 value: None,
4735 access_modifier: Default::default(),
4736 line_number: 0
4737 }, fastn_resolved::Field {
4738 name: "copy-large".to_string(),
4739 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4740 .into_kind_data(),
4741 mutable: false,
4742 value: None,
4743 access_modifier: Default::default(),
4744 line_number: 0
4745 }, fastn_resolved::Field {
4746 name: "fine-print".to_string(),
4747 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4748 .into_kind_data(),
4749 mutable: false,
4750 value: None,
4751 access_modifier: Default::default(),
4752 line_number: 0
4753 }, fastn_resolved::Field {
4754 name: "blockquote".to_string(),
4755 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4756 .into_kind_data(),
4757 mutable: false,
4758 value: None,
4759 access_modifier: Default::default(),
4760 line_number: 0
4761 }, fastn_resolved::Field {
4762 name: "source-code".to_string(),
4763 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4764 .into_kind_data(),
4765 mutable: false,
4766 value: None,
4767 access_modifier: Default::default(),
4768 line_number: 0
4769 }, fastn_resolved::Field {
4770 name: "button-small".to_string(),
4771 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4772 .into_kind_data(),
4773 mutable: false,
4774 value: None,
4775 access_modifier: Default::default(),
4776 line_number: 0
4777 }, fastn_resolved::Field {
4778 name: "button-medium".to_string(),
4779 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4780 .into_kind_data(),
4781 mutable: false,
4782 value: None,
4783 access_modifier: Default::default(),
4784 line_number: 0,
4785 }, fastn_resolved::Field {
4786 name: "button-large".to_string(),
4787 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4788 .into_kind_data(),
4789 mutable: false,
4790 value: None,
4791 access_modifier: Default::default(),
4792 line_number: 0,
4793 }, fastn_resolved::Field {
4794 name: "link".to_string(),
4795 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4796 .into_kind_data(),
4797 mutable: false,
4798 value: None,
4799 access_modifier: Default::default(),
4800 line_number: 0,
4801 }, fastn_resolved::Field {
4802 name: "label-large".to_string(),
4803 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4804 .into_kind_data(),
4805 mutable: false,
4806 value: None,
4807 access_modifier: Default::default(),
4808 line_number: 0
4809 }, fastn_resolved::Field {
4810 name: "label-small".to_string(),
4811 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
4812 .into_kind_data(),
4813 mutable: false,
4814 value: None,
4815 access_modifier: Default::default(),
4816 line_number: 0
4817 },],
4818 line_number: 0
4819 })
4820 ),
4821 (
4822 "ftd#font-display".to_string(),
4823 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4824 name: "ftd#font-display".to_string(),
4825 kind: fastn_resolved::Kind::string().into_kind_data(),
4826 mutable: true,
4827 value: fastn_resolved::PropertyValue::Value {
4828 value: fastn_resolved::Value::new_string("sans-serif"),
4829 is_mutable: true,
4830 line_number: 0
4831 },
4832 conditional_value: vec![],
4833 line_number: 0,
4834 is_static: false
4835 })
4836 ),
4837 (
4838 "ftd#font-copy".to_string(),
4839 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4840 name: "ftd#font-copy".to_string(),
4841 kind: fastn_resolved::Kind::string().into_kind_data(),
4842 mutable: true,
4843 value: fastn_resolved::PropertyValue::Value {
4844 value: fastn_resolved::Value::new_string("sans-serif"),
4845 is_mutable: true,
4846 line_number: 0
4847 },
4848 conditional_value: vec![],
4849 line_number: 0,
4850 is_static: false
4851 })
4852 ),
4853 (
4854 "ftd#font-code".to_string(),
4855 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4856 name: "ftd#font-code".to_string(),
4857 kind: fastn_resolved::Kind::string().into_kind_data(),
4858 mutable: true,
4859 value: fastn_resolved::PropertyValue::Value {
4860 value: fastn_resolved::Value::new_string("sans-serif"),
4861 is_mutable: true,
4862 line_number: 0
4863 },
4864 conditional_value: vec![],
4865 line_number: 0,
4866 is_static: false
4867 })
4868 ),
4869 (
4870 "ftd#default-types".to_string(),
4871 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
4872 name: "ftd#default-types".to_string(),
4873 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE_DATA).into_kind_data(),
4874 mutable: true,
4875 value: fastn_resolved::PropertyValue::Value {
4876 value: fastn_resolved::Value::Record {
4877 name: fastn_builtins::constants::FTD_TYPE_DATA.to_string(),
4878 fields: std::iter::IntoIterator::into_iter([
4879 // HEADING TYPES -------------------------------------------
4880 (
4881 "heading-hero".to_string(),
4882 fastn_resolved::PropertyValue::Value {
4883 value: fastn_resolved::Value::Record {
4884 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
4885 fields: std::iter::IntoIterator::into_iter([
4886 (
4887 "desktop".to_string(),
4888 fastn_resolved::PropertyValue::Value {
4889 value: fastn_resolved::Value::Record {
4890 name: fastn_builtins::constants::FTD_TYPE.to_string(),
4891 fields: std::iter::IntoIterator::into_iter([
4892 (
4893 "font-family".to_string(),
4894 fastn_resolved::PropertyValue::Reference {
4895 name: "ftd#font-display".to_string(),
4896 kind:
4897 fastn_resolved::Kind::string().into_kind_data(),
4898 source:
4899 fastn_resolved::PropertyValueSource::Global,
4900 is_mutable: false,
4901 line_number: 0
4902 }
4903 ),
4904 (
4905 "size".to_string(),
4906 fastn_resolved::PropertyValue::Value {
4907 value: fastn_resolved::Value::OrType {
4908 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
4909 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4910 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4911 value: Box::new
4912 (fastn_resolved::PropertyValue::Value {
4913 value: fastn_resolved::Value::Integer {
4914 value: 80
4915 },
4916 is_mutable: false,
4917 line_number: 0
4918 })
4919 },
4920 is_mutable: false,
4921 line_number: 0
4922 }
4923 ),
4924 (
4925 "line-height".to_string(),
4926 fastn_resolved::PropertyValue::Value {
4927 value: fastn_resolved::Value::OrType {
4928 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
4929 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4930 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4931 value: Box::new
4932 (fastn_resolved::PropertyValue::Value {
4933 value: fastn_resolved::Value::Integer {
4934 value: 104
4935 },
4936 is_mutable: false,
4937 line_number: 0
4938 })
4939 },
4940 is_mutable: false,
4941 line_number: 0
4942 }
4943 ),
4944 (
4945 "weight".to_string(),
4946 fastn_resolved::PropertyValue::Value {
4947 value:
4948 fastn_resolved::Value::Integer {
4949 value: 400
4950 },
4951 is_mutable: false,
4952 line_number: 0
4953 }
4954 ),
4955 ]).collect()
4956 },
4957 is_mutable: false,
4958 line_number: 0
4959 }
4960 ), (
4961 "mobile".to_string(),
4962 fastn_resolved::PropertyValue::Value {
4963 value: fastn_resolved::Value::Record {
4964 name: fastn_builtins::constants::FTD_TYPE.to_string(),
4965 fields: std::iter::IntoIterator::into_iter([
4966 (
4967 "font-family".to_string(),
4968 fastn_resolved::PropertyValue::Reference {
4969 name: "ftd#font-display".to_string(),
4970 kind:
4971 fastn_resolved::Kind::string().into_kind_data(),
4972 source:
4973 fastn_resolved::PropertyValueSource::Global,
4974 is_mutable: false,
4975 line_number: 0
4976 }
4977 ),
4978 (
4979 "size".to_string(),
4980 fastn_resolved::PropertyValue::Value {
4981 value: fastn_resolved::Value::OrType {
4982 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
4983 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4984 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
4985 value: Box::new
4986 (fastn_resolved::PropertyValue::Value {
4987 value: fastn_resolved::Value::Integer {
4988 value: 48
4989 },
4990 is_mutable: false,
4991 line_number: 0
4992 })
4993 },
4994 is_mutable: false,
4995 line_number: 0
4996 }
4997 ),
4998 (
4999 "line-height".to_string(),
5000 fastn_resolved::PropertyValue::Value {
5001 value: fastn_resolved::Value::OrType {
5002 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5003 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5004 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5005 value: Box::new
5006 (fastn_resolved::PropertyValue::Value {
5007 value: fastn_resolved::Value::Integer {
5008 value: 64
5009 },
5010 is_mutable: false,
5011 line_number: 0
5012 })
5013 },
5014 is_mutable: false,
5015 line_number: 0
5016 }
5017 ),
5018 (
5019 "weight".to_string(),
5020 fastn_resolved::PropertyValue::Value {
5021 value:
5022 fastn_resolved::Value::Integer {
5023 value: 400
5024 },
5025 is_mutable: false,
5026 line_number: 0
5027 }
5028 ),
5029 ]).collect()
5030 },
5031 is_mutable: false,
5032 line_number: 0
5033 }
5034 )
5035 ]).collect()
5036 },
5037 is_mutable: false,
5038 line_number: 0
5039 }
5040 ),
5041 (
5042 "heading-large".to_string(),
5043 fastn_resolved::PropertyValue::Value {
5044 value: fastn_resolved::Value::Record {
5045 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5046 fields: std::iter::IntoIterator::into_iter([
5047 (
5048 "desktop".to_string(),
5049 fastn_resolved::PropertyValue::Value {
5050 value: fastn_resolved::Value::Record {
5051 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5052 fields: std::iter::IntoIterator::into_iter([
5053 (
5054 "font-family".to_string(),
5055 fastn_resolved::PropertyValue::Reference {
5056 name: "ftd#font-display".to_string(),
5057 kind:
5058 fastn_resolved::Kind::string().into_kind_data(),
5059 source:
5060 fastn_resolved::PropertyValueSource::Global,
5061 is_mutable: false,
5062 line_number: 0
5063 }
5064 ),
5065 (
5066 "size".to_string(),
5067 fastn_resolved::PropertyValue::Value {
5068 value: fastn_resolved::Value::OrType {
5069 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5070 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5071 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5072 value: Box::new
5073 (fastn_resolved::PropertyValue::Value {
5074 value: fastn_resolved::Value::Integer {
5075 value: 50
5076 },
5077 is_mutable: false,
5078 line_number: 0
5079 })
5080 },
5081 is_mutable: false,
5082 line_number: 0
5083 }
5084 ),
5085 (
5086 "line-height".to_string(),
5087 fastn_resolved::PropertyValue::Value {
5088 value: fastn_resolved::Value::OrType {
5089 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5090 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5091 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5092 value: Box::new
5093 (fastn_resolved::PropertyValue::Value {
5094 value: fastn_resolved::Value::Integer {
5095 value: 65
5096 },
5097 is_mutable: false,
5098 line_number: 0
5099 })
5100 },
5101 is_mutable: false,
5102 line_number: 0
5103 }
5104 ),
5105 (
5106 "weight".to_string(),
5107 fastn_resolved::PropertyValue::Value {
5108 value:
5109 fastn_resolved::Value::Integer {
5110 value: 400
5111 },
5112 is_mutable: false,
5113 line_number: 0
5114 }
5115 ),
5116 ]).collect()
5117 },
5118 is_mutable: false,
5119 line_number: 0
5120 }
5121 ), (
5122 "mobile".to_string(),
5123 fastn_resolved::PropertyValue::Value {
5124 value: fastn_resolved::Value::Record {
5125 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5126 fields: std::iter::IntoIterator::into_iter([
5127 (
5128 "font-family".to_string(),
5129 fastn_resolved::PropertyValue::Reference {
5130 name: "ftd#font-display".to_string(),
5131 kind:
5132 fastn_resolved::Kind::string().into_kind_data(),
5133 source:
5134 fastn_resolved::PropertyValueSource::Global,
5135 is_mutable: false,
5136 line_number: 0
5137 }
5138 ),
5139 (
5140 "size".to_string(),
5141 fastn_resolved::PropertyValue::Value {
5142 value: fastn_resolved::Value::OrType {
5143 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5144 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5145 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5146 value: Box::new
5147 (fastn_resolved::PropertyValue::Value {
5148 value: fastn_resolved::Value::Integer {
5149 value: 36
5150 },
5151 is_mutable: false,
5152 line_number: 0
5153 })
5154 },
5155 is_mutable: false,
5156 line_number: 0
5157 }
5158 ),
5159 (
5160 "line-height".to_string(),
5161 fastn_resolved::PropertyValue::Value {
5162 value: fastn_resolved::Value::OrType {
5163 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5164 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5165 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5166 value: Box::new
5167 (fastn_resolved::PropertyValue::Value {
5168 value: fastn_resolved::Value::Integer {
5169 value: 54
5170 },
5171 is_mutable: false,
5172 line_number: 0
5173 })
5174 },
5175 is_mutable: false,
5176 line_number: 0
5177 }
5178 ),
5179 (
5180 "weight".to_string(),
5181 fastn_resolved::PropertyValue::Value {
5182 value:
5183 fastn_resolved::Value::Integer {
5184 value: 400
5185 },
5186 is_mutable: false,
5187 line_number: 0
5188 }
5189 ),
5190 ]).collect()
5191 },
5192 is_mutable: false,
5193 line_number: 0
5194 }
5195 )
5196 ]).collect()
5197 },
5198 is_mutable: false,
5199 line_number: 0
5200 }
5201 ),
5202 (
5203 "heading-medium".to_string(),
5204 fastn_resolved::PropertyValue::Value {
5205 value: fastn_resolved::Value::Record {
5206 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5207 fields: std::iter::IntoIterator::into_iter([
5208 (
5209 "desktop".to_string(),
5210 fastn_resolved::PropertyValue::Value {
5211 value: fastn_resolved::Value::Record {
5212 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5213 fields: std::iter::IntoIterator::into_iter([
5214 (
5215 "font-family".to_string(),
5216 fastn_resolved::PropertyValue::Reference {
5217 name: "ftd#font-display".to_string(),
5218 kind:
5219 fastn_resolved::Kind::string().into_kind_data(),
5220 source:
5221 fastn_resolved::PropertyValueSource::Global,
5222 is_mutable: false,
5223 line_number: 0
5224 }
5225 ),
5226 (
5227 "size".to_string(),
5228 fastn_resolved::PropertyValue::Value {
5229 value: fastn_resolved::Value::OrType {
5230 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5231 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5232 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5233 value: Box::new
5234 (fastn_resolved::PropertyValue::Value {
5235 value: fastn_resolved::Value::Integer {
5236 value: 38
5237 },
5238 is_mutable: false,
5239 line_number: 0
5240 })
5241 },
5242 is_mutable: false,
5243 line_number: 0
5244 }
5245 ),
5246 (
5247 "line-height".to_string(),
5248 fastn_resolved::PropertyValue::Value {
5249 value: fastn_resolved::Value::OrType {
5250 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5251 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5252 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5253 value: Box::new
5254 (fastn_resolved::PropertyValue::Value {
5255 value: fastn_resolved::Value::Integer {
5256 value: 57
5257 },
5258 is_mutable: false,
5259 line_number: 0
5260 })
5261 },
5262 is_mutable: false,
5263 line_number: 0
5264 }
5265 ),
5266 (
5267 "weight".to_string(),
5268 fastn_resolved::PropertyValue::Value {
5269 value:
5270 fastn_resolved::Value::Integer {
5271 value: 400
5272 },
5273 is_mutable: false,
5274 line_number: 0
5275 }
5276 ),
5277 ]).collect()
5278 },
5279 is_mutable: false,
5280 line_number: 0
5281 }
5282 ), (
5283 "mobile".to_string(),
5284 fastn_resolved::PropertyValue::Value {
5285 value: fastn_resolved::Value::Record {
5286 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5287 fields: std::iter::IntoIterator::into_iter([
5288 (
5289 "font-family".to_string(),
5290 fastn_resolved::PropertyValue::Reference {
5291 name: "ftd#font-display".to_string(),
5292 kind:
5293 fastn_resolved::Kind::string().into_kind_data(),
5294 source:
5295 fastn_resolved::PropertyValueSource::Global,
5296 is_mutable: false,
5297 line_number: 0
5298 }
5299 ),
5300 (
5301 "size".to_string(),
5302 fastn_resolved::PropertyValue::Value {
5303 value: fastn_resolved::Value::OrType {
5304 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5305 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5306 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5307 value: Box::new
5308 (fastn_resolved::PropertyValue::Value {
5309 value: fastn_resolved::Value::Integer {
5310 value: 26
5311 },
5312 is_mutable: false,
5313 line_number: 0
5314 })
5315 },
5316 is_mutable: false,
5317 line_number: 0
5318 }
5319 ),
5320 (
5321 "line-height".to_string(),
5322 fastn_resolved::PropertyValue::Value {
5323 value: fastn_resolved::Value::OrType {
5324 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5325 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5326 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5327 value: Box::new
5328 (fastn_resolved::PropertyValue::Value {
5329 value: fastn_resolved::Value::Integer {
5330 value: 40
5331 },
5332 is_mutable: false,
5333 line_number: 0
5334 })
5335 },
5336 is_mutable: false,
5337 line_number: 0
5338 }
5339 ),
5340 (
5341 "weight".to_string(),
5342 fastn_resolved::PropertyValue::Value {
5343 value:
5344 fastn_resolved::Value::Integer {
5345 value: 400
5346 },
5347 is_mutable: false,
5348 line_number: 0
5349 }
5350 ),
5351 ]).collect()
5352 },
5353 is_mutable: false,
5354 line_number: 0
5355 }
5356 )
5357 ]).collect()
5358 },
5359 is_mutable: false,
5360 line_number: 0
5361 }
5362 ),
5363 (
5364 "heading-small".to_string(),
5365 fastn_resolved::PropertyValue::Value {
5366 value: fastn_resolved::Value::Record {
5367 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5368 fields: std::iter::IntoIterator::into_iter([
5369 (
5370 "desktop".to_string(),
5371 fastn_resolved::PropertyValue::Value {
5372 value: fastn_resolved::Value::Record {
5373 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5374 fields: std::iter::IntoIterator::into_iter([
5375 (
5376 "font-family".to_string(),
5377 fastn_resolved::PropertyValue::Reference {
5378 name: "ftd#font-display".to_string(),
5379 kind:
5380 fastn_resolved::Kind::string().into_kind_data(),
5381 source:
5382 fastn_resolved::PropertyValueSource::Global,
5383 is_mutable: false,
5384 line_number: 0
5385 }
5386 ),
5387 (
5388 "size".to_string(),
5389 fastn_resolved::PropertyValue::Value {
5390 value: fastn_resolved::Value::OrType {
5391 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5392 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5393 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5394 value: Box::new
5395 (fastn_resolved::PropertyValue::Value {
5396 value: fastn_resolved::Value::Integer {
5397 value: 24
5398 },
5399 is_mutable: false,
5400 line_number: 0
5401 })
5402 },
5403 is_mutable: false,
5404 line_number: 0
5405 }
5406 ),
5407 (
5408 "line-height".to_string(),
5409 fastn_resolved::PropertyValue::Value {
5410 value: fastn_resolved::Value::OrType {
5411 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5412 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5413 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5414 value: Box::new
5415 (fastn_resolved::PropertyValue::Value {
5416 value: fastn_resolved::Value::Integer {
5417 value: 31
5418 },
5419 is_mutable: false,
5420 line_number: 0
5421 })
5422 },
5423 is_mutable: false,
5424 line_number: 0
5425 }
5426 ),
5427 (
5428 "weight".to_string(),
5429 fastn_resolved::PropertyValue::Value {
5430 value:
5431 fastn_resolved::Value::Integer {
5432 value: 400
5433 },
5434 is_mutable: false,
5435 line_number: 0
5436 }
5437 ),
5438 ]).collect()
5439 },
5440 is_mutable: false,
5441 line_number: 0
5442 }
5443 ), (
5444 "mobile".to_string(),
5445 fastn_resolved::PropertyValue::Value {
5446 value: fastn_resolved::Value::Record {
5447 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5448 fields: std::iter::IntoIterator::into_iter([
5449 (
5450 "font-family".to_string(),
5451 fastn_resolved::PropertyValue::Reference {
5452 name: "ftd#font-display".to_string(),
5453 kind:
5454 fastn_resolved::Kind::string().into_kind_data(),
5455 source:
5456 fastn_resolved::PropertyValueSource::Global,
5457 is_mutable: false,
5458 line_number: 0
5459 }
5460 ),
5461 (
5462 "size".to_string(),
5463 fastn_resolved::PropertyValue::Value {
5464 value: fastn_resolved::Value::OrType {
5465 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5466 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5467 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5468 value: Box::new
5469 (fastn_resolved::PropertyValue::Value {
5470 value: fastn_resolved::Value::Integer {
5471 value: 22
5472 },
5473 is_mutable: false,
5474 line_number: 0
5475 })
5476 },
5477 is_mutable: false,
5478 line_number: 0
5479 }
5480 ),
5481 (
5482 "line-height".to_string(),
5483 fastn_resolved::PropertyValue::Value {
5484 value: fastn_resolved::Value::OrType {
5485 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5486 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5487 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5488 value: Box::new
5489 (fastn_resolved::PropertyValue::Value {
5490 value: fastn_resolved::Value::Integer {
5491 value: 29
5492 },
5493 is_mutable: false,
5494 line_number: 0
5495 })
5496 },
5497 is_mutable: false,
5498 line_number: 0
5499 }
5500 ),
5501 (
5502 "weight".to_string(),
5503 fastn_resolved::PropertyValue::Value {
5504 value:
5505 fastn_resolved::Value::Integer {
5506 value: 400
5507 },
5508 is_mutable: false,
5509 line_number: 0
5510 }
5511 ),
5512 ]).collect()
5513 },
5514 is_mutable: false,
5515 line_number: 0
5516 }
5517 )
5518 ]).collect()
5519 },
5520 is_mutable: false,
5521 line_number: 0
5522 }
5523 ),
5524 (
5525 "heading-tiny".to_string(),
5526 fastn_resolved::PropertyValue::Value {
5527 value: fastn_resolved::Value::Record {
5528 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5529 fields: std::iter::IntoIterator::into_iter([
5530 (
5531 "desktop".to_string(),
5532 fastn_resolved::PropertyValue::Value {
5533 value: fastn_resolved::Value::Record {
5534 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5535 fields: std::iter::IntoIterator::into_iter([
5536 (
5537 "font-family".to_string(),
5538 fastn_resolved::PropertyValue::Reference {
5539 name: "ftd#font-display".to_string(),
5540 kind:
5541 fastn_resolved::Kind::string().into_kind_data(),
5542 source:
5543 fastn_resolved::PropertyValueSource::Global,
5544 is_mutable: false,
5545 line_number: 0
5546 }
5547 ),
5548 (
5549 "size".to_string(),
5550 fastn_resolved::PropertyValue::Value {
5551 value: fastn_resolved::Value::OrType {
5552 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5553 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5554 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5555 value: Box::new
5556 (fastn_resolved::PropertyValue::Value {
5557 value: fastn_resolved::Value::Integer {
5558 value: 20
5559 },
5560 is_mutable: false,
5561 line_number: 0
5562 })
5563 },
5564 is_mutable: false,
5565 line_number: 0
5566 }
5567 ),
5568 (
5569 "line-height".to_string(),
5570 fastn_resolved::PropertyValue::Value {
5571 value: fastn_resolved::Value::OrType {
5572 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5573 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5574 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5575 value: Box::new
5576 (fastn_resolved::PropertyValue::Value {
5577 value: fastn_resolved::Value::Integer {
5578 value: 26
5579 },
5580 is_mutable: false,
5581 line_number: 0
5582 })
5583 },
5584 is_mutable: false,
5585 line_number: 0
5586 }
5587 ),
5588 (
5589 "weight".to_string(),
5590 fastn_resolved::PropertyValue::Value {
5591 value:
5592 fastn_resolved::Value::Integer {
5593 value: 400
5594 },
5595 is_mutable: false,
5596 line_number: 0
5597 }
5598 ),
5599 ]).collect()
5600 },
5601 is_mutable: false,
5602 line_number: 0
5603 }
5604 ), (
5605 "mobile".to_string(),
5606 fastn_resolved::PropertyValue::Value {
5607 value: fastn_resolved::Value::Record {
5608 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5609 fields: std::iter::IntoIterator::into_iter([
5610 (
5611 "font-family".to_string(),
5612 fastn_resolved::PropertyValue::Reference {
5613 name: "ftd#font-display".to_string(),
5614 kind:
5615 fastn_resolved::Kind::string().into_kind_data(),
5616 source:
5617 fastn_resolved::PropertyValueSource::Global,
5618 is_mutable: false,
5619 line_number: 0
5620 }
5621 ),
5622 (
5623 "size".to_string(),
5624 fastn_resolved::PropertyValue::Value {
5625 value: fastn_resolved::Value::OrType {
5626 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5627 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5628 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5629 value: Box::new
5630 (fastn_resolved::PropertyValue::Value {
5631 value: fastn_resolved::Value::Integer {
5632 value: 18
5633 },
5634 is_mutable: false,
5635 line_number: 0
5636 })
5637 },
5638 is_mutable: false,
5639 line_number: 0
5640 }
5641 ),
5642 (
5643 "line-height".to_string(),
5644 fastn_resolved::PropertyValue::Value {
5645 value: fastn_resolved::Value::OrType {
5646 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5647 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5648 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5649 value: Box::new
5650 (fastn_resolved::PropertyValue::Value {
5651 value: fastn_resolved::Value::Integer {
5652 value: 24
5653 },
5654 is_mutable: false,
5655 line_number: 0
5656 })
5657 },
5658 is_mutable: false,
5659 line_number: 0
5660 }
5661 ),
5662 (
5663 "weight".to_string(),
5664 fastn_resolved::PropertyValue::Value {
5665 value:
5666 fastn_resolved::Value::Integer {
5667 value: 400
5668 },
5669 is_mutable: false,
5670 line_number: 0
5671 }
5672 ),
5673 ]).collect()
5674 },
5675 is_mutable: false,
5676 line_number: 0
5677 }
5678 )
5679 ]).collect()
5680 },
5681 is_mutable: false,
5682 line_number: 0
5683 }
5684 ),
5685 // COPY TYPES -------------------------------------------
5686 (
5687 "copy-large".to_string(),
5688 fastn_resolved::PropertyValue::Value {
5689 value: fastn_resolved::Value::Record {
5690 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5691 fields: std::iter::IntoIterator::into_iter([
5692 (
5693 "desktop".to_string(),
5694 fastn_resolved::PropertyValue::Value {
5695 value: fastn_resolved::Value::Record {
5696 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5697 fields: std::iter::IntoIterator::into_iter([
5698 (
5699 "font-family".to_string(),
5700 fastn_resolved::PropertyValue::Reference {
5701 name: "ftd#font-copy".to_string(),
5702 kind:
5703 fastn_resolved::Kind::string().into_kind_data(),
5704 source:
5705 fastn_resolved::PropertyValueSource::Global,
5706 is_mutable: false,
5707 line_number: 0
5708 }
5709 ),
5710 (
5711 "size".to_string(),
5712 fastn_resolved::PropertyValue::Value {
5713 value: fastn_resolved::Value::OrType {
5714 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5715 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5716 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5717 value: Box::new
5718 (fastn_resolved::PropertyValue::Value {
5719 value: fastn_resolved::Value::Integer {
5720 value: 22
5721 },
5722 is_mutable: false,
5723 line_number: 0
5724 })
5725 },
5726 is_mutable: false,
5727 line_number: 0
5728 }
5729 ),
5730 (
5731 "line-height".to_string(),
5732 fastn_resolved::PropertyValue::Value {
5733 value: fastn_resolved::Value::OrType {
5734 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5735 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5736 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5737 value: Box::new
5738 (fastn_resolved::PropertyValue::Value {
5739 value: fastn_resolved::Value::Integer {
5740 value: 34
5741 },
5742 is_mutable: false,
5743 line_number: 0
5744 })
5745 },
5746 is_mutable: false,
5747 line_number: 0
5748 }
5749 ),
5750 (
5751 "weight".to_string(),
5752 fastn_resolved::PropertyValue::Value {
5753 value:
5754 fastn_resolved::Value::Integer {
5755 value: 400
5756 },
5757 is_mutable: false,
5758 line_number: 0
5759 }
5760 ),
5761 ]).collect()
5762 },
5763 is_mutable: false,
5764 line_number: 0
5765 }
5766 ), (
5767 "mobile".to_string(),
5768 fastn_resolved::PropertyValue::Value {
5769 value: fastn_resolved::Value::Record {
5770 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5771 fields: std::iter::IntoIterator::into_iter([
5772 (
5773 "font-family".to_string(),
5774 fastn_resolved::PropertyValue::Reference {
5775 name: "ftd#font-copy".to_string(),
5776 kind:
5777 fastn_resolved::Kind::string().into_kind_data(),
5778 source:
5779 fastn_resolved::PropertyValueSource::Global,
5780 is_mutable: false,
5781 line_number: 0
5782 }
5783 ),
5784 (
5785 "size".to_string(),
5786 fastn_resolved::PropertyValue::Value {
5787 value: fastn_resolved::Value::OrType {
5788 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5789 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5790 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5791 value: Box::new
5792 (fastn_resolved::PropertyValue::Value {
5793 value: fastn_resolved::Value::Integer {
5794 value: 18
5795 },
5796 is_mutable: false,
5797 line_number: 0
5798 })
5799 },
5800 is_mutable: false,
5801 line_number: 0
5802 }
5803 ),
5804 (
5805 "line-height".to_string(),
5806 fastn_resolved::PropertyValue::Value {
5807 value: fastn_resolved::Value::OrType {
5808 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5809 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5810 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5811 value: Box::new
5812 (fastn_resolved::PropertyValue::Value {
5813 value: fastn_resolved::Value::Integer {
5814 value: 28
5815 },
5816 is_mutable: false,
5817 line_number: 0
5818 })
5819 },
5820 is_mutable: false,
5821 line_number: 0
5822 }
5823 ),
5824 (
5825 "weight".to_string(),
5826 fastn_resolved::PropertyValue::Value {
5827 value:
5828 fastn_resolved::Value::Integer {
5829 value: 400
5830 },
5831 is_mutable: false,
5832 line_number: 0
5833 }
5834 ),
5835 ]).collect()
5836 },
5837 is_mutable: false,
5838 line_number: 0
5839 }
5840 )
5841 ]).collect()
5842 },
5843 is_mutable: false,
5844 line_number: 0
5845 }
5846 ),
5847 (
5848 "copy-regular".to_string(),
5849 fastn_resolved::PropertyValue::Value {
5850 value: fastn_resolved::Value::Record {
5851 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
5852 fields: std::iter::IntoIterator::into_iter([
5853 (
5854 "desktop".to_string(),
5855 fastn_resolved::PropertyValue::Value {
5856 value: fastn_resolved::Value::Record {
5857 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5858 fields: std::iter::IntoIterator::into_iter([
5859 (
5860 "font-family".to_string(),
5861 fastn_resolved::PropertyValue::Reference {
5862 name: "ftd#font-copy".to_string(),
5863 kind:
5864 fastn_resolved::Kind::string().into_kind_data(),
5865 source:
5866 fastn_resolved::PropertyValueSource::Global,
5867 is_mutable: false,
5868 line_number: 0
5869 }
5870 ),
5871 (
5872 "size".to_string(),
5873 fastn_resolved::PropertyValue::Value {
5874 value: fastn_resolved::Value::OrType {
5875 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5876 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5877 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5878 value: Box::new
5879 (fastn_resolved::PropertyValue::Value {
5880 value: fastn_resolved::Value::Integer {
5881 value: 18
5882 },
5883 is_mutable: false,
5884 line_number: 0
5885 })
5886 },
5887 is_mutable: false,
5888 line_number: 0
5889 }
5890 ),
5891 (
5892 "line-height".to_string(),
5893 fastn_resolved::PropertyValue::Value {
5894 value: fastn_resolved::Value::OrType {
5895 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5896 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5897 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5898 value: Box::new
5899 (fastn_resolved::PropertyValue::Value {
5900 value: fastn_resolved::Value::Integer {
5901 value: 30
5902 },
5903 is_mutable: false,
5904 line_number: 0
5905 })
5906 },
5907 is_mutable: false,
5908 line_number: 0
5909 }
5910 ),
5911 (
5912 "weight".to_string(),
5913 fastn_resolved::PropertyValue::Value {
5914 value:
5915 fastn_resolved::Value::Integer {
5916 value: 400
5917 },
5918 is_mutable: false,
5919 line_number: 0
5920 }
5921 ),
5922 ]).collect()
5923 },
5924 is_mutable: false,
5925 line_number: 0
5926 }
5927 ), (
5928 "mobile".to_string(),
5929 fastn_resolved::PropertyValue::Value {
5930 value: fastn_resolved::Value::Record {
5931 name: fastn_builtins::constants::FTD_TYPE.to_string(),
5932 fields: std::iter::IntoIterator::into_iter([
5933 (
5934 "font-family".to_string(),
5935 fastn_resolved::PropertyValue::Reference {
5936 name: "ftd#font-copy".to_string(),
5937 kind:
5938 fastn_resolved::Kind::string().into_kind_data(),
5939 source:
5940 fastn_resolved::PropertyValueSource::Global,
5941 is_mutable: false,
5942 line_number: 0
5943 }
5944 ),
5945 (
5946 "size".to_string(),
5947 fastn_resolved::PropertyValue::Value {
5948 value: fastn_resolved::Value::OrType {
5949 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5950 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5951 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5952 value: Box::new
5953 (fastn_resolved::PropertyValue::Value {
5954 value: fastn_resolved::Value::Integer {
5955 value: 16
5956 },
5957 is_mutable: false,
5958 line_number: 0
5959 })
5960 },
5961 is_mutable: false,
5962 line_number: 0
5963 }
5964 ),
5965 (
5966 "line-height".to_string(),
5967 fastn_resolved::PropertyValue::Value {
5968 value: fastn_resolved::Value::OrType {
5969 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
5970 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5971 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
5972 value: Box::new
5973 (fastn_resolved::PropertyValue::Value {
5974 value: fastn_resolved::Value::Integer {
5975 value: 24
5976 },
5977 is_mutable: false,
5978 line_number: 0
5979 })
5980 },
5981 is_mutable: false,
5982 line_number: 0
5983 }
5984 ),
5985 (
5986 "weight".to_string(),
5987 fastn_resolved::PropertyValue::Value {
5988 value:
5989 fastn_resolved::Value::Integer {
5990 value: 400
5991 },
5992 is_mutable: false,
5993 line_number: 0
5994 }
5995 ),
5996 ]).collect()
5997 },
5998 is_mutable: false,
5999 line_number: 0
6000 }
6001 )
6002 ]).collect()
6003 },
6004 is_mutable: false,
6005 line_number: 0
6006 }
6007 ),
6008 (
6009 "copy-small".to_string(),
6010 fastn_resolved::PropertyValue::Value {
6011 value: fastn_resolved::Value::Record {
6012 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6013 fields: std::iter::IntoIterator::into_iter([
6014 (
6015 "desktop".to_string(),
6016 fastn_resolved::PropertyValue::Value {
6017 value: fastn_resolved::Value::Record {
6018 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6019 fields: std::iter::IntoIterator::into_iter([
6020 (
6021 "font-family".to_string(),
6022 fastn_resolved::PropertyValue::Reference {
6023 name: "ftd#font-copy".to_string(),
6024 kind:
6025 fastn_resolved::Kind::string().into_kind_data(),
6026 source:
6027 fastn_resolved::PropertyValueSource::Global,
6028 is_mutable: false,
6029 line_number: 0
6030 }
6031 ),
6032 (
6033 "size".to_string(),
6034 fastn_resolved::PropertyValue::Value {
6035 value: fastn_resolved::Value::OrType {
6036 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6037 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6038 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6039 value: Box::new
6040 (fastn_resolved::PropertyValue::Value {
6041 value: fastn_resolved::Value::Integer {
6042 value: 14
6043 },
6044 is_mutable: false,
6045 line_number: 0
6046 })
6047 },
6048 is_mutable: false,
6049 line_number: 0
6050 }
6051 ),
6052 (
6053 "line-height".to_string(),
6054 fastn_resolved::PropertyValue::Value {
6055 value: fastn_resolved::Value::OrType {
6056 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6057 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6058 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6059 value: Box::new
6060 (fastn_resolved::PropertyValue::Value {
6061 value: fastn_resolved::Value::Integer {
6062 value: 24
6063 },
6064 is_mutable: false,
6065 line_number: 0
6066 })
6067 },
6068 is_mutable: false,
6069 line_number: 0
6070 }
6071 ),
6072 (
6073 "weight".to_string(),
6074 fastn_resolved::PropertyValue::Value {
6075 value:
6076 fastn_resolved::Value::Integer {
6077 value: 400
6078 },
6079 is_mutable: false,
6080 line_number: 0
6081 }
6082 ),
6083 ]).collect()
6084 },
6085 is_mutable: false,
6086 line_number: 0
6087 }
6088 ), (
6089 "mobile".to_string(),
6090 fastn_resolved::PropertyValue::Value {
6091 value: fastn_resolved::Value::Record {
6092 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6093 fields: std::iter::IntoIterator::into_iter([
6094 (
6095 "font-family".to_string(),
6096 fastn_resolved::PropertyValue::Reference {
6097 name: "ftd#font-copy".to_string(),
6098 kind:
6099 fastn_resolved::Kind::string().into_kind_data(),
6100 source:
6101 fastn_resolved::PropertyValueSource::Global,
6102 is_mutable: false,
6103 line_number: 0
6104 }
6105 ),
6106 (
6107 "size".to_string(),
6108 fastn_resolved::PropertyValue::Value {
6109 value: fastn_resolved::Value::OrType {
6110 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6111 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6112 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6113 value: Box::new
6114 (fastn_resolved::PropertyValue::Value {
6115 value: fastn_resolved::Value::Integer {
6116 value: 12
6117 },
6118 is_mutable: false,
6119 line_number: 0
6120 })
6121 },
6122 is_mutable: false,
6123 line_number: 0
6124 }
6125 ),
6126 (
6127 "line-height".to_string(),
6128 fastn_resolved::PropertyValue::Value {
6129 value: fastn_resolved::Value::OrType {
6130 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6131 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6132 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6133 value: Box::new
6134 (fastn_resolved::PropertyValue::Value {
6135 value: fastn_resolved::Value::Integer {
6136 value: 16
6137 },
6138 is_mutable: false,
6139 line_number: 0
6140 })
6141 },
6142 is_mutable: false,
6143 line_number: 0
6144 }
6145 ),
6146 (
6147 "weight".to_string(),
6148 fastn_resolved::PropertyValue::Value {
6149 value:
6150 fastn_resolved::Value::Integer {
6151 value: 400
6152 },
6153 is_mutable: false,
6154 line_number: 0
6155 }
6156 ),
6157 ]).collect()
6158 },
6159 is_mutable: false,
6160 line_number: 0
6161 }
6162 )
6163 ]).collect()
6164 },
6165 is_mutable: false,
6166 line_number: 0
6167 }
6168 ),
6169 // SPECIALIZED TEXT TYPES ---------------------------------
6170 (
6171 "fine-print".to_string(),
6172 fastn_resolved::PropertyValue::Value {
6173 value: fastn_resolved::Value::Record {
6174 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6175 fields: std::iter::IntoIterator::into_iter([
6176 (
6177 "desktop".to_string(),
6178 fastn_resolved::PropertyValue::Value {
6179 value: fastn_resolved::Value::Record {
6180 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6181 fields: std::iter::IntoIterator::into_iter([
6182 (
6183 "font-family".to_string(),
6184 fastn_resolved::PropertyValue::Reference {
6185 name: "ftd#font-code".to_string(),
6186 kind:
6187 fastn_resolved::Kind::string().into_kind_data(),
6188 source:
6189 fastn_resolved::PropertyValueSource::Global,
6190 is_mutable: false,
6191 line_number: 0
6192 }
6193 ),
6194 (
6195 "size".to_string(),
6196 fastn_resolved::PropertyValue::Value {
6197 value: fastn_resolved::Value::OrType {
6198 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6199 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6200 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6201 value: Box::new
6202 (fastn_resolved::PropertyValue::Value {
6203 value: fastn_resolved::Value::Integer {
6204 value: 12
6205 },
6206 is_mutable: false,
6207 line_number: 0
6208 })
6209 },
6210 is_mutable: false,
6211 line_number: 0
6212 }
6213 ),
6214 (
6215 "line-height".to_string(),
6216 fastn_resolved::PropertyValue::Value {
6217 value: fastn_resolved::Value::OrType {
6218 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6219 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6220 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6221 value: Box::new
6222 (fastn_resolved::PropertyValue::Value {
6223 value: fastn_resolved::Value::Integer {
6224 value: 16
6225 },
6226 is_mutable: false,
6227 line_number: 0
6228 })
6229 },
6230 is_mutable: false,
6231 line_number: 0
6232 }
6233 ),
6234 (
6235 "weight".to_string(),
6236 fastn_resolved::PropertyValue::Value {
6237 value:
6238 fastn_resolved::Value::Integer {
6239 value: 400
6240 },
6241 is_mutable: false,
6242 line_number: 0
6243 }
6244 ),
6245 ]).collect()
6246 },
6247 is_mutable: false,
6248 line_number: 0
6249 }
6250 ), (
6251 "mobile".to_string(),
6252 fastn_resolved::PropertyValue::Value {
6253 value: fastn_resolved::Value::Record {
6254 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6255 fields: std::iter::IntoIterator::into_iter([
6256 (
6257 "font-family".to_string(),
6258 fastn_resolved::PropertyValue::Reference {
6259 name: "ftd#font-code".to_string(),
6260 kind:
6261 fastn_resolved::Kind::string().into_kind_data(),
6262 source:
6263 fastn_resolved::PropertyValueSource::Global,
6264 is_mutable: false,
6265 line_number: 0
6266 }
6267 ),
6268 (
6269 "size".to_string(),
6270 fastn_resolved::PropertyValue::Value {
6271 value: fastn_resolved::Value::OrType {
6272 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6273 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6274 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6275 value: Box::new
6276 (fastn_resolved::PropertyValue::Value {
6277 value: fastn_resolved::Value::Integer {
6278 value: 12
6279 },
6280 is_mutable: false,
6281 line_number: 0
6282 })
6283 },
6284 is_mutable: false,
6285 line_number: 0
6286 }
6287 ),
6288 (
6289 "line-height".to_string(),
6290 fastn_resolved::PropertyValue::Value {
6291 value: fastn_resolved::Value::OrType {
6292 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6293 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6294 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6295 value: Box::new
6296 (fastn_resolved::PropertyValue::Value {
6297 value: fastn_resolved::Value::Integer {
6298 value: 16
6299 },
6300 is_mutable: false,
6301 line_number: 0
6302 })
6303 },
6304 is_mutable: false,
6305 line_number: 0
6306 }
6307 ),
6308 (
6309 "weight".to_string(),
6310 fastn_resolved::PropertyValue::Value {
6311 value:
6312 fastn_resolved::Value::Integer {
6313 value: 400
6314 },
6315 is_mutable: false,
6316 line_number: 0
6317 }
6318 ),
6319 ]).collect()
6320 },
6321 is_mutable: false,
6322 line_number: 0
6323 }
6324 )
6325 ]).collect()
6326 },
6327 is_mutable: false,
6328 line_number: 0
6329 }
6330 ),
6331 (
6332 "blockquote".to_string(),
6333 fastn_resolved::PropertyValue::Value {
6334 value: fastn_resolved::Value::Record {
6335 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6336 fields: std::iter::IntoIterator::into_iter([
6337 (
6338 "desktop".to_string(),
6339 fastn_resolved::PropertyValue::Value {
6340 value: fastn_resolved::Value::Record {
6341 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6342 fields: std::iter::IntoIterator::into_iter([
6343 (
6344 "font-family".to_string(),
6345 fastn_resolved::PropertyValue::Reference {
6346 name: "ftd#font-code".to_string(),
6347 kind:
6348 fastn_resolved::Kind::string().into_kind_data(),
6349 source:
6350 fastn_resolved::PropertyValueSource::Global,
6351 is_mutable: false,
6352 line_number: 0
6353 }
6354 ),
6355 (
6356 "size".to_string(),
6357 fastn_resolved::PropertyValue::Value {
6358 value: fastn_resolved::Value::OrType {
6359 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6360 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6361 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6362 value: Box::new
6363 (fastn_resolved::PropertyValue::Value {
6364 value: fastn_resolved::Value::Integer {
6365 value: 16
6366 },
6367 is_mutable: false,
6368 line_number: 0
6369 })
6370 },
6371 is_mutable: false,
6372 line_number: 0
6373 }
6374 ),
6375 (
6376 "line-height".to_string(),
6377 fastn_resolved::PropertyValue::Value {
6378 value: fastn_resolved::Value::OrType {
6379 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6380 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6381 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6382 value: Box::new
6383 (fastn_resolved::PropertyValue::Value {
6384 value: fastn_resolved::Value::Integer {
6385 value: 21
6386 },
6387 is_mutable: false,
6388 line_number: 0
6389 })
6390 },
6391 is_mutable: false,
6392 line_number: 0
6393 }
6394 ),
6395 (
6396 "weight".to_string(),
6397 fastn_resolved::PropertyValue::Value {
6398 value:
6399 fastn_resolved::Value::Integer {
6400 value: 400
6401 },
6402 is_mutable: false,
6403 line_number: 0
6404 }
6405 ),
6406 ]).collect()
6407 },
6408 is_mutable: false,
6409 line_number: 0
6410 }
6411 ), (
6412 "mobile".to_string(),
6413 fastn_resolved::PropertyValue::Value {
6414 value: fastn_resolved::Value::Record {
6415 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6416 fields: std::iter::IntoIterator::into_iter([
6417 (
6418 "font-family".to_string(),
6419 fastn_resolved::PropertyValue::Reference {
6420 name: "ftd#font-code".to_string(),
6421 kind:
6422 fastn_resolved::Kind::string().into_kind_data(),
6423 source:
6424 fastn_resolved::PropertyValueSource::Global,
6425 is_mutable: false,
6426 line_number: 0
6427 }
6428 ),
6429 (
6430 "size".to_string(),
6431 fastn_resolved::PropertyValue::Value {
6432 value: fastn_resolved::Value::OrType {
6433 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6434 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6435 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6436 value: Box::new
6437 (fastn_resolved::PropertyValue::Value {
6438 value: fastn_resolved::Value::Integer {
6439 value: 16
6440 },
6441 is_mutable: false,
6442 line_number: 0
6443 })
6444 },
6445 is_mutable: false,
6446 line_number: 0
6447 }
6448 ),
6449 (
6450 "line-height".to_string(),
6451 fastn_resolved::PropertyValue::Value {
6452 value: fastn_resolved::Value::OrType {
6453 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6454 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6455 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6456 value: Box::new
6457 (fastn_resolved::PropertyValue::Value {
6458 value: fastn_resolved::Value::Integer {
6459 value: 21
6460 },
6461 is_mutable: false,
6462 line_number: 0
6463 })
6464 },
6465 is_mutable: false,
6466 line_number: 0
6467 }
6468 ),
6469 (
6470 "weight".to_string(),
6471 fastn_resolved::PropertyValue::Value {
6472 value:
6473 fastn_resolved::Value::Integer {
6474 value: 400
6475 },
6476 is_mutable: false,
6477 line_number: 0
6478 }
6479 ),
6480 ]).collect()
6481 },
6482 is_mutable: false,
6483 line_number: 0
6484 }
6485 )
6486 ]).collect()
6487 },
6488 is_mutable: false,
6489 line_number: 0
6490 }
6491 ),
6492 (
6493 "source-code".to_string(),
6494 fastn_resolved::PropertyValue::Value {
6495 value: fastn_resolved::Value::Record {
6496 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6497 fields: std::iter::IntoIterator::into_iter([
6498 (
6499 "desktop".to_string(),
6500 fastn_resolved::PropertyValue::Value {
6501 value: fastn_resolved::Value::Record {
6502 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6503 fields: std::iter::IntoIterator::into_iter([
6504 (
6505 "font-family".to_string(),
6506 fastn_resolved::PropertyValue::Reference {
6507 name: "ftd#font-code".to_string(),
6508 kind:
6509 fastn_resolved::Kind::string().into_kind_data(),
6510 source:
6511 fastn_resolved::PropertyValueSource::Global,
6512 is_mutable: false,
6513 line_number: 0
6514 }
6515 ),
6516 (
6517 "size".to_string(),
6518 fastn_resolved::PropertyValue::Value {
6519 value: fastn_resolved::Value::OrType {
6520 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6521 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6522 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6523 value: Box::new
6524 (fastn_resolved::PropertyValue::Value {
6525 value: fastn_resolved::Value::Integer {
6526 value: 18
6527 },
6528 is_mutable: false,
6529 line_number: 0
6530 })
6531 },
6532 is_mutable: false,
6533 line_number: 0
6534 }
6535 ),
6536 (
6537 "line-height".to_string(),
6538 fastn_resolved::PropertyValue::Value {
6539 value: fastn_resolved::Value::OrType {
6540 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6541 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6542 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6543 value: Box::new
6544 (fastn_resolved::PropertyValue::Value {
6545 value: fastn_resolved::Value::Integer {
6546 value: 30
6547 },
6548 is_mutable: false,
6549 line_number: 0
6550 })
6551 },
6552 is_mutable: false,
6553 line_number: 0
6554 }
6555 ),
6556 (
6557 "weight".to_string(),
6558 fastn_resolved::PropertyValue::Value {
6559 value:
6560 fastn_resolved::Value::Integer {
6561 value: 400
6562 },
6563 is_mutable: false,
6564 line_number: 0
6565 }
6566 ),
6567 ]).collect()
6568 },
6569 is_mutable: false,
6570 line_number: 0
6571 }
6572 ), (
6573 "mobile".to_string(),
6574 fastn_resolved::PropertyValue::Value {
6575 value: fastn_resolved::Value::Record {
6576 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6577 fields: std::iter::IntoIterator::into_iter([
6578 (
6579 "font-family".to_string(),
6580 fastn_resolved::PropertyValue::Reference {
6581 name: "ftd#font-code".to_string(),
6582 kind:
6583 fastn_resolved::Kind::string().into_kind_data(),
6584 source:
6585 fastn_resolved::PropertyValueSource::Global,
6586 is_mutable: false,
6587 line_number: 0
6588 }
6589 ),
6590 (
6591 "size".to_string(),
6592 fastn_resolved::PropertyValue::Value {
6593 value: fastn_resolved::Value::OrType {
6594 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6595 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6596 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6597 value: Box::new
6598 (fastn_resolved::PropertyValue::Value {
6599 value: fastn_resolved::Value::Integer {
6600 value: 16
6601 },
6602 is_mutable: false,
6603 line_number: 0
6604 })
6605 },
6606 is_mutable: false,
6607 line_number: 0
6608 }
6609 ),
6610 (
6611 "line-height".to_string(),
6612 fastn_resolved::PropertyValue::Value {
6613 value: fastn_resolved::Value::OrType {
6614 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6615 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6616 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6617 value: Box::new
6618 (fastn_resolved::PropertyValue::Value {
6619 value: fastn_resolved::Value::Integer {
6620 value: 21
6621 },
6622 is_mutable: false,
6623 line_number: 0
6624 })
6625 },
6626 is_mutable: false,
6627 line_number: 0
6628 }
6629 ),
6630 (
6631 "weight".to_string(),
6632 fastn_resolved::PropertyValue::Value {
6633 value:
6634 fastn_resolved::Value::Integer {
6635 value: 400
6636 },
6637 is_mutable: false,
6638 line_number: 0
6639 }
6640 ),
6641 ]).collect()
6642 },
6643 is_mutable: false,
6644 line_number: 0
6645 }
6646 )
6647 ]).collect()
6648 },
6649 is_mutable: false,
6650 line_number: 0
6651 }
6652 ),
6653 // LABEL TYPES -------------------------------------
6654 (
6655 "label-large".to_string(),
6656 fastn_resolved::PropertyValue::Value {
6657 value: fastn_resolved::Value::Record {
6658 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6659 fields: std::iter::IntoIterator::into_iter([
6660 (
6661 "desktop".to_string(),
6662 fastn_resolved::PropertyValue::Value {
6663 value: fastn_resolved::Value::Record {
6664 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6665 fields: std::iter::IntoIterator::into_iter([
6666 (
6667 "font-family".to_string(),
6668 fastn_resolved::PropertyValue::Reference {
6669 name: "ftd#font-display".to_string(),
6670 kind:
6671 fastn_resolved::Kind::string().into_kind_data(),
6672 source:
6673 fastn_resolved::PropertyValueSource::Global,
6674 is_mutable: false,
6675 line_number: 0
6676 }
6677 ),
6678 (
6679 "size".to_string(),
6680 fastn_resolved::PropertyValue::Value {
6681 value: fastn_resolved::Value::OrType {
6682 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6683 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6684 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6685 value: Box::new
6686 (fastn_resolved::PropertyValue::Value {
6687 value: fastn_resolved::Value::Integer {
6688 value: 14
6689 },
6690 is_mutable: false,
6691 line_number: 0
6692 })
6693 },
6694 is_mutable: false,
6695 line_number: 0
6696 }
6697 ),
6698 (
6699 "line-height".to_string(),
6700 fastn_resolved::PropertyValue::Value {
6701 value: fastn_resolved::Value::OrType {
6702 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6703 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6704 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6705 value: Box::new
6706 (fastn_resolved::PropertyValue::Value {
6707 value: fastn_resolved::Value::Integer {
6708 value: 19
6709 },
6710 is_mutable: false,
6711 line_number: 0
6712 })
6713 },
6714 is_mutable: false,
6715 line_number: 0
6716 }
6717 ),
6718 (
6719 "weight".to_string(),
6720 fastn_resolved::PropertyValue::Value {
6721 value:
6722 fastn_resolved::Value::Integer {
6723 value: 400
6724 },
6725 is_mutable: false,
6726 line_number: 0
6727 }
6728 ),
6729 ]).collect()
6730 },
6731 is_mutable: false,
6732 line_number: 0
6733 }
6734 ), (
6735 "mobile".to_string(),
6736 fastn_resolved::PropertyValue::Value {
6737 value: fastn_resolved::Value::Record {
6738 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6739 fields: std::iter::IntoIterator::into_iter([
6740 (
6741 "font-family".to_string(),
6742 fastn_resolved::PropertyValue::Reference {
6743 name: "ftd#font-display".to_string(),
6744 kind:
6745 fastn_resolved::Kind::string().into_kind_data(),
6746 source:
6747 fastn_resolved::PropertyValueSource::Global,
6748 is_mutable: false,
6749 line_number: 0
6750 }
6751 ),
6752 (
6753 "size".to_string(),
6754 fastn_resolved::PropertyValue::Value {
6755 value: fastn_resolved::Value::OrType {
6756 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6757 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6758 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6759 value: Box::new
6760 (fastn_resolved::PropertyValue::Value {
6761 value: fastn_resolved::Value::Integer {
6762 value: 14
6763 },
6764 is_mutable: false,
6765 line_number: 0
6766 })
6767 },
6768 is_mutable: false,
6769 line_number: 0
6770 }
6771 ),
6772 (
6773 "line-height".to_string(),
6774 fastn_resolved::PropertyValue::Value {
6775 value: fastn_resolved::Value::OrType {
6776 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6777 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6778 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6779 value: Box::new
6780 (fastn_resolved::PropertyValue::Value {
6781 value: fastn_resolved::Value::Integer {
6782 value: 19
6783 },
6784 is_mutable: false,
6785 line_number: 0
6786 })
6787 },
6788 is_mutable: false,
6789 line_number: 0
6790 }
6791 ),
6792 (
6793 "weight".to_string(),
6794 fastn_resolved::PropertyValue::Value {
6795 value:
6796 fastn_resolved::Value::Integer {
6797 value: 400
6798 },
6799 is_mutable: false,
6800 line_number: 0
6801 }
6802 ),
6803 ]).collect()
6804 },
6805 is_mutable: false,
6806 line_number: 0
6807 }
6808 )
6809 ]).collect()
6810 },
6811 is_mutable: false,
6812 line_number: 0
6813 }
6814 ),
6815 (
6816 "label-small".to_string(),
6817 fastn_resolved::PropertyValue::Value {
6818 value: fastn_resolved::Value::Record {
6819 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6820 fields: std::iter::IntoIterator::into_iter([
6821 (
6822 "desktop".to_string(),
6823 fastn_resolved::PropertyValue::Value {
6824 value: fastn_resolved::Value::Record {
6825 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6826 fields: std::iter::IntoIterator::into_iter([
6827 (
6828 "font-family".to_string(),
6829 fastn_resolved::PropertyValue::Reference {
6830 name: "ftd#font-display".to_string(),
6831 kind:
6832 fastn_resolved::Kind::string().into_kind_data(),
6833 source:
6834 fastn_resolved::PropertyValueSource::Global,
6835 is_mutable: false,
6836 line_number: 0
6837 }
6838 ),
6839 (
6840 "size".to_string(),
6841 fastn_resolved::PropertyValue::Value {
6842 value: fastn_resolved::Value::OrType {
6843 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6844 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6845 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6846 value: Box::new
6847 (fastn_resolved::PropertyValue::Value {
6848 value: fastn_resolved::Value::Integer {
6849 value: 12
6850 },
6851 is_mutable: false,
6852 line_number: 0
6853 })
6854 },
6855 is_mutable: false,
6856 line_number: 0
6857 }
6858 ),
6859 (
6860 "line-height".to_string(),
6861 fastn_resolved::PropertyValue::Value {
6862 value: fastn_resolved::Value::OrType {
6863 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6864 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6865 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6866 value: Box::new
6867 (fastn_resolved::PropertyValue::Value {
6868 value: fastn_resolved::Value::Integer {
6869 value: 16
6870 },
6871 is_mutable: false,
6872 line_number: 0
6873 })
6874 },
6875 is_mutable: false,
6876 line_number: 0
6877 }
6878 ),
6879 (
6880 "weight".to_string(),
6881 fastn_resolved::PropertyValue::Value {
6882 value:
6883 fastn_resolved::Value::Integer {
6884 value: 400
6885 },
6886 is_mutable: false,
6887 line_number: 0
6888 }
6889 ),
6890 ]).collect()
6891 },
6892 is_mutable: false,
6893 line_number: 0
6894 }
6895 ), (
6896 "mobile".to_string(),
6897 fastn_resolved::PropertyValue::Value {
6898 value: fastn_resolved::Value::Record {
6899 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6900 fields: std::iter::IntoIterator::into_iter([
6901 (
6902 "font-family".to_string(),
6903 fastn_resolved::PropertyValue::Reference {
6904 name: "ftd#font-display".to_string(),
6905 kind:
6906 fastn_resolved::Kind::string().into_kind_data(),
6907 source:
6908 fastn_resolved::PropertyValueSource::Global,
6909 is_mutable: false,
6910 line_number: 0
6911 }
6912 ),
6913 (
6914 "size".to_string(),
6915 fastn_resolved::PropertyValue::Value {
6916 value: fastn_resolved::Value::OrType {
6917 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6918 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6919 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6920 value: Box::new
6921 (fastn_resolved::PropertyValue::Value {
6922 value: fastn_resolved::Value::Integer {
6923 value: 12
6924 },
6925 is_mutable: false,
6926 line_number: 0
6927 })
6928 },
6929 is_mutable: false,
6930 line_number: 0
6931 }
6932 ),
6933 (
6934 "line-height".to_string(),
6935 fastn_resolved::PropertyValue::Value {
6936 value: fastn_resolved::Value::OrType {
6937 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
6938 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6939 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
6940 value: Box::new
6941 (fastn_resolved::PropertyValue::Value {
6942 value: fastn_resolved::Value::Integer {
6943 value: 16
6944 },
6945 is_mutable: false,
6946 line_number: 0
6947 })
6948 },
6949 is_mutable: false,
6950 line_number: 0
6951 }
6952 ),
6953 (
6954 "weight".to_string(),
6955 fastn_resolved::PropertyValue::Value {
6956 value:
6957 fastn_resolved::Value::Integer {
6958 value: 400
6959 },
6960 is_mutable: false,
6961 line_number: 0
6962 }
6963 ),
6964 ]).collect()
6965 },
6966 is_mutable: false,
6967 line_number: 0
6968 }
6969 )
6970 ]).collect()
6971 },
6972 is_mutable: false,
6973 line_number: 0
6974 }
6975 ),
6976 // BUTTON TYPES -------------------------------------
6977 (
6978 "button-large".to_string(),
6979 fastn_resolved::PropertyValue::Value {
6980 value: fastn_resolved::Value::Record {
6981 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
6982 fields: std::iter::IntoIterator::into_iter([
6983 (
6984 "desktop".to_string(),
6985 fastn_resolved::PropertyValue::Value {
6986 value: fastn_resolved::Value::Record {
6987 name: fastn_builtins::constants::FTD_TYPE.to_string(),
6988 fields: std::iter::IntoIterator::into_iter([
6989 (
6990 "font-family".to_string(),
6991 fastn_resolved::PropertyValue::Reference {
6992 name: "ftd#font-display".to_string(),
6993 kind:
6994 fastn_resolved::Kind::string().into_kind_data(),
6995 source:
6996 fastn_resolved::PropertyValueSource::Global,
6997 is_mutable: false,
6998 line_number: 0
6999 }
7000 ),
7001 (
7002 "size".to_string(),
7003 fastn_resolved::PropertyValue::Value {
7004 value: fastn_resolved::Value::OrType {
7005 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7006 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7007 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7008 value: Box::new
7009 (fastn_resolved::PropertyValue::Value {
7010 value: fastn_resolved::Value::Integer {
7011 value: 18
7012 },
7013 is_mutable: false,
7014 line_number: 0
7015 })
7016 },
7017 is_mutable: false,
7018 line_number: 0
7019 }
7020 ),
7021 (
7022 "line-height".to_string(),
7023 fastn_resolved::PropertyValue::Value {
7024 value: fastn_resolved::Value::OrType {
7025 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7026 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7027 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7028 value: Box::new
7029 (fastn_resolved::PropertyValue::Value {
7030 value: fastn_resolved::Value::Integer {
7031 value: 24
7032 },
7033 is_mutable: false,
7034 line_number: 0
7035 })
7036 },
7037 is_mutable: false,
7038 line_number: 0
7039 }
7040 ),
7041 (
7042 "weight".to_string(),
7043 fastn_resolved::PropertyValue::Value {
7044 value:
7045 fastn_resolved::Value::Integer {
7046 value: 400
7047 },
7048 is_mutable: false,
7049 line_number: 0
7050 }
7051 ),
7052 ]).collect()
7053 },
7054 is_mutable: false,
7055 line_number: 0
7056 }
7057 ), (
7058 "mobile".to_string(),
7059 fastn_resolved::PropertyValue::Value {
7060 value: fastn_resolved::Value::Record {
7061 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7062 fields: std::iter::IntoIterator::into_iter([
7063 (
7064 "font-family".to_string(),
7065 fastn_resolved::PropertyValue::Reference {
7066 name: "ftd#font-display".to_string(),
7067 kind:
7068 fastn_resolved::Kind::string().into_kind_data(),
7069 source:
7070 fastn_resolved::PropertyValueSource::Global,
7071 is_mutable: false,
7072 line_number: 0
7073 }
7074 ),
7075 (
7076 "size".to_string(),
7077 fastn_resolved::PropertyValue::Value {
7078 value: fastn_resolved::Value::OrType {
7079 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7080 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7081 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7082 value: Box::new
7083 (fastn_resolved::PropertyValue::Value {
7084 value: fastn_resolved::Value::Integer {
7085 value: 18
7086 },
7087 is_mutable: false,
7088 line_number: 0
7089 })
7090 },
7091 is_mutable: false,
7092 line_number: 0
7093 }
7094 ),
7095 (
7096 "line-height".to_string(),
7097 fastn_resolved::PropertyValue::Value {
7098 value: fastn_resolved::Value::OrType {
7099 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7100 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7101 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7102 value: Box::new
7103 (fastn_resolved::PropertyValue::Value {
7104 value: fastn_resolved::Value::Integer {
7105 value: 24
7106 },
7107 is_mutable: false,
7108 line_number: 0
7109 })
7110 },
7111 is_mutable: false,
7112 line_number: 0
7113 }
7114 ),
7115 (
7116 "weight".to_string(),
7117 fastn_resolved::PropertyValue::Value {
7118 value:
7119 fastn_resolved::Value::Integer {
7120 value: 400
7121 },
7122 is_mutable: false,
7123 line_number: 0
7124 }
7125 ),
7126 ]).collect()
7127 },
7128 is_mutable: false,
7129 line_number: 0
7130 }
7131 )
7132 ]).collect()
7133 },
7134 is_mutable: false,
7135 line_number: 0
7136 }
7137 ),
7138 (
7139 "button-medium".to_string(),
7140 fastn_resolved::PropertyValue::Value {
7141 value: fastn_resolved::Value::Record {
7142 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
7143 fields: std::iter::IntoIterator::into_iter([
7144 (
7145 "desktop".to_string(),
7146 fastn_resolved::PropertyValue::Value {
7147 value: fastn_resolved::Value::Record {
7148 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7149 fields: std::iter::IntoIterator::into_iter([
7150 (
7151 "font-family".to_string(),
7152 fastn_resolved::PropertyValue::Reference {
7153 name: "ftd#font-display".to_string(),
7154 kind:
7155 fastn_resolved::Kind::string().into_kind_data(),
7156 source:
7157 fastn_resolved::PropertyValueSource::Global,
7158 is_mutable: false,
7159 line_number: 0
7160 }
7161 ),
7162 (
7163 "size".to_string(),
7164 fastn_resolved::PropertyValue::Value {
7165 value: fastn_resolved::Value::OrType {
7166 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7167 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7168 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7169 value: Box::new
7170 (fastn_resolved::PropertyValue::Value {
7171 value: fastn_resolved::Value::Integer {
7172 value: 16
7173 },
7174 is_mutable: false,
7175 line_number: 0
7176 })
7177 },
7178 is_mutable: false,
7179 line_number: 0
7180 }
7181 ),
7182 (
7183 "line-height".to_string(),
7184 fastn_resolved::PropertyValue::Value {
7185 value: fastn_resolved::Value::OrType {
7186 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7187 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7188 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7189 value: Box::new
7190 (fastn_resolved::PropertyValue::Value {
7191 value: fastn_resolved::Value::Integer {
7192 value: 21
7193 },
7194 is_mutable: false,
7195 line_number: 0
7196 })
7197 },
7198 is_mutable: false,
7199 line_number: 0
7200 }
7201 ),
7202 (
7203 "weight".to_string(),
7204 fastn_resolved::PropertyValue::Value {
7205 value:
7206 fastn_resolved::Value::Integer {
7207 value: 400
7208 },
7209 is_mutable: false,
7210 line_number: 0
7211 }
7212 ),
7213 ]).collect()
7214 },
7215 is_mutable: false,
7216 line_number: 0
7217 }
7218 ), (
7219 "mobile".to_string(),
7220 fastn_resolved::PropertyValue::Value {
7221 value: fastn_resolved::Value::Record {
7222 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7223 fields: std::iter::IntoIterator::into_iter([
7224 (
7225 "font-family".to_string(),
7226 fastn_resolved::PropertyValue::Reference {
7227 name: "ftd#font-display".to_string(),
7228 kind:
7229 fastn_resolved::Kind::string().into_kind_data(),
7230 source:
7231 fastn_resolved::PropertyValueSource::Global,
7232 is_mutable: false,
7233 line_number: 0
7234 }
7235 ),
7236 (
7237 "size".to_string(),
7238 fastn_resolved::PropertyValue::Value {
7239 value: fastn_resolved::Value::OrType {
7240 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7241 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7242 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7243 value: Box::new
7244 (fastn_resolved::PropertyValue::Value {
7245 value: fastn_resolved::Value::Integer {
7246 value: 16
7247 },
7248 is_mutable: false,
7249 line_number: 0
7250 })
7251 },
7252 is_mutable: false,
7253 line_number: 0
7254 }
7255 ),
7256 (
7257 "line-height".to_string(),
7258 fastn_resolved::PropertyValue::Value {
7259 value: fastn_resolved::Value::OrType {
7260 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7261 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7262 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7263 value: Box::new
7264 (fastn_resolved::PropertyValue::Value {
7265 value: fastn_resolved::Value::Integer {
7266 value: 21
7267 },
7268 is_mutable: false,
7269 line_number: 0
7270 })
7271 },
7272 is_mutable: false,
7273 line_number: 0
7274 }
7275 ),
7276 (
7277 "weight".to_string(),
7278 fastn_resolved::PropertyValue::Value {
7279 value:
7280 fastn_resolved::Value::Integer {
7281 value: 400
7282 },
7283 is_mutable: false,
7284 line_number: 0
7285 }
7286 ),
7287 ]).collect()
7288 },
7289 is_mutable: false,
7290 line_number: 0
7291 }
7292 )
7293 ]).collect()
7294 },
7295 is_mutable: false,
7296 line_number: 0
7297 }
7298 ),
7299 (
7300 "button-small".to_string(),
7301 fastn_resolved::PropertyValue::Value {
7302 value: fastn_resolved::Value::Record {
7303 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
7304 fields: std::iter::IntoIterator::into_iter([
7305 (
7306 "desktop".to_string(),
7307 fastn_resolved::PropertyValue::Value {
7308 value: fastn_resolved::Value::Record {
7309 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7310 fields: std::iter::IntoIterator::into_iter([
7311 (
7312 "font-family".to_string(),
7313 fastn_resolved::PropertyValue::Reference {
7314 name: "ftd#font-display".to_string(),
7315 kind:
7316 fastn_resolved::Kind::string().into_kind_data(),
7317 source:
7318 fastn_resolved::PropertyValueSource::Global,
7319 is_mutable: false,
7320 line_number: 0
7321 }
7322 ),
7323 (
7324 "size".to_string(),
7325 fastn_resolved::PropertyValue::Value {
7326 value: fastn_resolved::Value::OrType {
7327 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7328 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7329 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7330 value: Box::new
7331 (fastn_resolved::PropertyValue::Value {
7332 value: fastn_resolved::Value::Integer {
7333 value: 14
7334 },
7335 is_mutable: false,
7336 line_number: 0
7337 })
7338 },
7339 is_mutable: false,
7340 line_number: 0
7341 }
7342 ),
7343 (
7344 "line-height".to_string(),
7345 fastn_resolved::PropertyValue::Value {
7346 value: fastn_resolved::Value::OrType {
7347 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7348 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7349 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7350 value: Box::new
7351 (fastn_resolved::PropertyValue::Value {
7352 value: fastn_resolved::Value::Integer {
7353 value: 19
7354 },
7355 is_mutable: false,
7356 line_number: 0
7357 })
7358 },
7359 is_mutable: false,
7360 line_number: 0
7361 }
7362 ),
7363 (
7364 "weight".to_string(),
7365 fastn_resolved::PropertyValue::Value {
7366 value:
7367 fastn_resolved::Value::Integer {
7368 value: 400
7369 },
7370 is_mutable: false,
7371 line_number: 0
7372 }
7373 ),
7374 ]).collect()
7375 },
7376 is_mutable: false,
7377 line_number: 0
7378 }
7379 ), (
7380 "mobile".to_string(),
7381 fastn_resolved::PropertyValue::Value {
7382 value: fastn_resolved::Value::Record {
7383 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7384 fields: std::iter::IntoIterator::into_iter([
7385 (
7386 "font-family".to_string(),
7387 fastn_resolved::PropertyValue::Reference {
7388 name: "ftd#font-display".to_string(),
7389 kind:
7390 fastn_resolved::Kind::string().into_kind_data(),
7391 source:
7392 fastn_resolved::PropertyValueSource::Global,
7393 is_mutable: false,
7394 line_number: 0
7395 }
7396 ),
7397 (
7398 "size".to_string(),
7399 fastn_resolved::PropertyValue::Value {
7400 value: fastn_resolved::Value::OrType {
7401 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7402 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7403 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7404 value: Box::new
7405 (fastn_resolved::PropertyValue::Value {
7406 value: fastn_resolved::Value::Integer {
7407 value: 14
7408 },
7409 is_mutable: false,
7410 line_number: 0
7411 })
7412 },
7413 is_mutable: false,
7414 line_number: 0
7415 }
7416 ),
7417 (
7418 "line-height".to_string(),
7419 fastn_resolved::PropertyValue::Value {
7420 value: fastn_resolved::Value::OrType {
7421 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7422 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7423 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7424 value: Box::new
7425 (fastn_resolved::PropertyValue::Value {
7426 value: fastn_resolved::Value::Integer {
7427 value: 19
7428 },
7429 is_mutable: false,
7430 line_number: 0
7431 })
7432 },
7433 is_mutable: false,
7434 line_number: 0
7435 }
7436 ),
7437 (
7438 "weight".to_string(),
7439 fastn_resolved::PropertyValue::Value {
7440 value:
7441 fastn_resolved::Value::Integer {
7442 value: 400
7443 },
7444 is_mutable: false,
7445 line_number: 0
7446 }
7447 ),
7448 ]).collect()
7449 },
7450 is_mutable: false,
7451 line_number: 0
7452 }
7453 )
7454 ]).collect()
7455 },
7456 is_mutable: false,
7457 line_number: 0
7458 }
7459 ),
7460 (
7461 "link".to_string(),
7462 fastn_resolved::PropertyValue::Value {
7463 value: fastn_resolved::Value::Record {
7464 name: fastn_builtins::constants::FTD_RESPONSIVE_TYPE.to_string(),
7465 fields: std::iter::IntoIterator::into_iter([
7466 (
7467 "desktop".to_string(),
7468 fastn_resolved::PropertyValue::Value {
7469 value: fastn_resolved::Value::Record {
7470 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7471 fields: std::iter::IntoIterator::into_iter([
7472 (
7473 "font-family".to_string(),
7474 fastn_resolved::PropertyValue::Reference {
7475 name: "ftd#font-display".to_string(),
7476 kind:
7477 fastn_resolved::Kind::string().into_kind_data(),
7478 source:
7479 fastn_resolved::PropertyValueSource::Global,
7480 is_mutable: false,
7481 line_number: 0
7482 }
7483 ),
7484 (
7485 "size".to_string(),
7486 fastn_resolved::PropertyValue::Value {
7487 value: fastn_resolved::Value::OrType {
7488 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7489 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7490 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7491 value: Box::new
7492 (fastn_resolved::PropertyValue::Value {
7493 value: fastn_resolved::Value::Integer {
7494 value: 14
7495 },
7496 is_mutable: false,
7497 line_number: 0
7498 })
7499 },
7500 is_mutable: false,
7501 line_number: 0
7502 }
7503 ),
7504 (
7505 "line-height".to_string(),
7506 fastn_resolved::PropertyValue::Value {
7507 value: fastn_resolved::Value::OrType {
7508 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7509 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7510 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7511 value: Box::new
7512 (fastn_resolved::PropertyValue::Value {
7513 value: fastn_resolved::Value::Integer {
7514 value: 19
7515 },
7516 is_mutable: false,
7517 line_number: 0
7518 })
7519 },
7520 is_mutable: false,
7521 line_number: 0
7522 }
7523 ),
7524 (
7525 "weight".to_string(),
7526 fastn_resolved::PropertyValue::Value {
7527 value:
7528 fastn_resolved::Value::Integer {
7529 value: 400
7530 },
7531 is_mutable: false,
7532 line_number: 0
7533 }
7534 ),
7535 ]).collect()
7536 },
7537 is_mutable: false,
7538 line_number: 0
7539 }
7540 ), (
7541 "mobile".to_string(),
7542 fastn_resolved::PropertyValue::Value {
7543 value: fastn_resolved::Value::Record {
7544 name: fastn_builtins::constants::FTD_TYPE.to_string(),
7545 fields: std::iter::IntoIterator::into_iter([
7546 (
7547 "font-family".to_string(),
7548 fastn_resolved::PropertyValue::Reference {
7549 name: "ftd#font-display".to_string(),
7550 kind:
7551 fastn_resolved::Kind::string().into_kind_data(),
7552 source:
7553 fastn_resolved::PropertyValueSource::Global,
7554 is_mutable: false,
7555 line_number: 0
7556 }
7557 ),
7558 (
7559 "size".to_string(),
7560 fastn_resolved::PropertyValue::Value {
7561 value: fastn_resolved::Value::OrType {
7562 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7563 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7564 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7565 value: Box::new
7566 (fastn_resolved::PropertyValue::Value {
7567 value: fastn_resolved::Value::Integer {
7568 value: 14
7569 },
7570 is_mutable: false,
7571 line_number: 0
7572 })
7573 },
7574 is_mutable: false,
7575 line_number: 0
7576 }
7577 ),
7578 (
7579 "line-height".to_string(),
7580 fastn_resolved::PropertyValue::Value {
7581 value: fastn_resolved::Value::OrType {
7582 name: fastn_builtins::constants::FTD_FONT_SIZE.to_string(),
7583 variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7584 full_variant: fastn_builtins::constants::FTD_FONT_SIZE_PX.to_string(),
7585 value: Box::new
7586 (fastn_resolved::PropertyValue::Value {
7587 value: fastn_resolved::Value::Integer {
7588 value: 19
7589 },
7590 is_mutable: false,
7591 line_number: 0
7592 })
7593 },
7594 is_mutable: false,
7595 line_number: 0
7596 }
7597 ),
7598 (
7599 "weight".to_string(),
7600 fastn_resolved::PropertyValue::Value {
7601 value:
7602 fastn_resolved::Value::Integer {
7603 value: 400
7604 },
7605 is_mutable: false,
7606 line_number: 0
7607 }
7608 ),
7609 ]).collect()
7610 },
7611 is_mutable: false,
7612 line_number: 0
7613 }
7614 )
7615 ]).collect()
7616 },
7617 is_mutable: false,
7618 line_number: 0
7619 }
7620 ),
7621 ]).collect()
7622 },
7623 is_mutable: false,
7624 line_number: 0
7625 },
7626 conditional_value: vec![],
7627 line_number: 0,
7628 is_static: false
7629 })
7630 ),
7631 (
7632 "ftd#default-colors".to_string(),
7633 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
7634 name: "ftd#default-colors".to_string(),
7635 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR_SCHEME)
7636 .into_kind_data(),
7637 mutable: true,
7638 value: fastn_resolved::PropertyValue::Value {
7639 value: fastn_resolved::Value::Record {
7640 name: fastn_builtins::constants::FTD_COLOR_SCHEME.to_string(),
7641 fields: std::iter::IntoIterator::into_iter([
7642 (
7643 "background".to_string(),
7644 fastn_resolved::PropertyValue::Value {
7645 value: fastn_resolved::Value::Record {
7646 name: fastn_builtins::constants::FTD_BACKGROUND_COLOR.to_string(),
7647 fields: std::iter::IntoIterator::into_iter([
7648 (
7649 "base".to_string(),
7650 fastn_resolved::PropertyValue::Value {
7651 value: fastn_resolved::Value::Record {
7652 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7653 fields: std::iter::IntoIterator::into_iter([(
7654 "light".to_string(),
7655 fastn_resolved::PropertyValue::Value {
7656 value:
7657 fastn_resolved::Value::String {
7658 text: "#e7e7e4".to_string(),
7659 },
7660 is_mutable: false,
7661 line_number: 0,
7662 }
7663 ), (
7664 "dark".to_string(),
7665 fastn_resolved::PropertyValue::Value {
7666 value:
7667 fastn_resolved::Value::String {
7668 text: "#18181b".to_string(),
7669 },
7670 is_mutable: false,
7671 line_number: 0,
7672 }
7673 )])
7674 .collect(),
7675 },
7676 is_mutable: false,
7677 line_number: 0,
7678 }
7679 ),
7680 (
7681 "step-1".to_string(),
7682 fastn_resolved::PropertyValue::Value {
7683 value: fastn_resolved::Value::Record {
7684 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7685 fields: std::iter::IntoIterator::into_iter([(
7686 "light".to_string(),
7687 fastn_resolved::PropertyValue::Value {
7688 value:
7689 fastn_resolved::Value::String {
7690 text: "#f3f3f3".to_string(),
7691 },
7692 is_mutable: false,
7693 line_number: 0,
7694 }
7695 ), (
7696 "dark".to_string(),
7697 fastn_resolved::PropertyValue::Value {
7698 value:
7699 fastn_resolved::Value::String {
7700 text: "#141414".to_string(),
7701 },
7702 is_mutable: false,
7703 line_number: 0,
7704 }
7705 )])
7706 .collect(),
7707 },
7708 is_mutable: false,
7709 line_number: 0,
7710 }
7711 ),
7712 (
7713 "step-2".to_string(),
7714 fastn_resolved::PropertyValue::Value {
7715 value: fastn_resolved::Value::Record {
7716 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7717 fields: std::iter::IntoIterator::into_iter([(
7718 "light".to_string(),
7719 fastn_resolved::PropertyValue::Value {
7720 value:
7721 fastn_resolved::Value::String {
7722 text: "#c9cece".to_string(),
7723 },
7724 is_mutable: false,
7725 line_number: 0,
7726 }
7727 ), (
7728 "dark".to_string(),
7729 fastn_resolved::PropertyValue::Value {
7730 value:
7731 fastn_resolved::Value::String {
7732 text: "#585656".to_string(),
7733 },
7734 is_mutable: false,
7735 line_number: 0,
7736 }
7737 )])
7738 .collect(),
7739 },
7740 is_mutable: false,
7741 line_number: 0,
7742 }
7743 ),
7744 (
7745 "overlay".to_string(),
7746 fastn_resolved::PropertyValue::Value {
7747 value: fastn_resolved::Value::Record {
7748 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7749 fields: std::iter::IntoIterator::into_iter([(
7750 "light".to_string(),
7751 fastn_resolved::PropertyValue::Value {
7752 value:
7753 fastn_resolved::Value::String {
7754 text: "rgba(0, 0, 0, 0.8)"
7755 .to_string(),
7756 },
7757 is_mutable: false,
7758 line_number: 0,
7759 }
7760 ), (
7761 "dark".to_string(),
7762 fastn_resolved::PropertyValue::Value {
7763 value:
7764 fastn_resolved::Value::String {
7765 text: "rgba(0, 0, 0, 0.8)"
7766 .to_string(),
7767 },
7768 is_mutable: false,
7769 line_number: 0,
7770 }
7771 )])
7772 .collect(),
7773 },
7774 is_mutable: false,
7775 line_number: 0,
7776 }
7777 ),
7778 (
7779 "code".to_string(),
7780 fastn_resolved::PropertyValue::Value {
7781 value: fastn_resolved::Value::Record {
7782 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7783 fields: std::iter::IntoIterator::into_iter([(
7784 "light".to_string(),
7785 fastn_resolved::PropertyValue::Value {
7786 value:
7787 fastn_resolved::Value::String {
7788 text: "#F5F5F5".to_string(),
7789 },
7790 is_mutable: false,
7791 line_number: 0,
7792 }
7793 ), (
7794 "dark".to_string(),
7795 fastn_resolved::PropertyValue::Value {
7796 value:
7797 fastn_resolved::Value::String {
7798 text: "#21222C".to_string(),
7799 },
7800 is_mutable: false,
7801 line_number: 0,
7802 }
7803 )])
7804 .collect(),
7805 },
7806 is_mutable: false,
7807 line_number: 0,
7808 }
7809 ),
7810 ])
7811 .collect(),
7812 },
7813 is_mutable: false,
7814 line_number: 0,
7815 }
7816 ),
7817 (
7818 "border".to_string(),
7819 fastn_resolved::PropertyValue::Value {
7820 value: fastn_resolved::Value::Record {
7821 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7822 fields: std::iter::IntoIterator::into_iter([(
7823 "light".to_string(),
7824 fastn_resolved::PropertyValue::Value {
7825 value:
7826 fastn_resolved::Value::String {
7827 text: "#434547".to_string(),
7828 },
7829 is_mutable: false,
7830 line_number: 0,
7831 }
7832 ), (
7833 "dark".to_string(),
7834 fastn_resolved::PropertyValue::Value {
7835 value:
7836 fastn_resolved::Value::String {
7837 text: "#434547".to_string(),
7838 },
7839 is_mutable: false,
7840 line_number: 0,
7841 }
7842 )])
7843 .collect()
7844 },
7845 is_mutable: false,
7846 line_number: 0
7847 }
7848 ),
7849 (
7850 "border-strong".to_string(),
7851 fastn_resolved::PropertyValue::Value {
7852 value: fastn_resolved::Value::Record {
7853 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7854 fields: std::iter::IntoIterator::into_iter([(
7855 "light".to_string(),
7856 fastn_resolved::PropertyValue::Value {
7857 value:
7858 fastn_resolved::Value::String {
7859 text: "#919192".to_string(),
7860 },
7861 is_mutable: false,
7862 line_number: 0,
7863 }
7864 ), (
7865 "dark".to_string(),
7866 fastn_resolved::PropertyValue::Value {
7867 value:
7868 fastn_resolved::Value::String {
7869 text: "#919192".to_string(),
7870 },
7871 is_mutable: false,
7872 line_number: 0,
7873 }
7874 )])
7875 .collect()
7876 },
7877 is_mutable: false,
7878 line_number: 0
7879 }
7880 ),
7881 (
7882 "text".to_string(),
7883 fastn_resolved::PropertyValue::Value {
7884 value: fastn_resolved::Value::Record {
7885 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7886 fields: std::iter::IntoIterator::into_iter([(
7887 "light".to_string(),
7888 fastn_resolved::PropertyValue::Value {
7889 value:
7890 fastn_resolved::Value::String {
7891 text: "#584b42".to_string(),
7892 },
7893 is_mutable: false,
7894 line_number: 0,
7895 }
7896 ), (
7897 "dark".to_string(),
7898 fastn_resolved::PropertyValue::Value {
7899 value:
7900 fastn_resolved::Value::String {
7901 text: "#a8a29e".to_string(),
7902 },
7903 is_mutable: false,
7904 line_number: 0,
7905 }
7906 )])
7907 .collect()
7908 },
7909 is_mutable: false,
7910 line_number: 0
7911 }
7912 ),
7913 (
7914 "text-strong".to_string(),
7915 fastn_resolved::PropertyValue::Value {
7916 value: fastn_resolved::Value::Record {
7917 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7918 fields: std::iter::IntoIterator::into_iter([(
7919 "light".to_string(),
7920 fastn_resolved::PropertyValue::Value {
7921 value:
7922 fastn_resolved::Value::String {
7923 text: "#141414".to_string(),
7924 },
7925 is_mutable: false,
7926 line_number: 0,
7927 }
7928 ), (
7929 "dark".to_string(),
7930 fastn_resolved::PropertyValue::Value {
7931 value:
7932 fastn_resolved::Value::String {
7933 text: "#ffffff".to_string(),
7934 },
7935 is_mutable: false,
7936 line_number: 0,
7937 }
7938 )])
7939 .collect()
7940 },
7941 is_mutable: false,
7942 line_number: 0
7943 }
7944 ),
7945 (
7946 "shadow".to_string(),
7947 fastn_resolved::PropertyValue::Value {
7948 value: fastn_resolved::Value::Record {
7949 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7950 fields: std::iter::IntoIterator::into_iter([(
7951 "light".to_string().to_string(),
7952 fastn_resolved::PropertyValue::Value {
7953 value:
7954 fastn_resolved::Value::String {
7955 text: "#007f9b".to_string(),
7956 },
7957 is_mutable: false,
7958 line_number: 0,
7959 },
7960 ), (
7961 "dark".to_string(),
7962 fastn_resolved::PropertyValue::Value {
7963 value:
7964 fastn_resolved::Value::String {
7965 text: "#007f9b".to_string(),
7966 },
7967 is_mutable: false,
7968 line_number: 0,
7969 },
7970 )])
7971 .collect()
7972 },
7973 is_mutable: false,
7974 line_number: 0
7975 }
7976 ),
7977 (
7978 "scrim".to_string(),
7979 fastn_resolved::PropertyValue::Value {
7980 value: fastn_resolved::Value::Record {
7981 name: fastn_builtins::constants::FTD_COLOR.to_string(),
7982 fields: std::iter::IntoIterator::into_iter([(
7983 "light".to_string(),
7984 fastn_resolved::PropertyValue::Value {
7985 value:
7986 fastn_resolved::Value::String {
7987 text: "#007f9b".to_string(),
7988 },
7989 is_mutable: false,
7990 line_number: 0,
7991 },
7992 ), (
7993 "dark".to_string(),
7994 fastn_resolved::PropertyValue::Value {
7995 value:
7996 fastn_resolved::Value::String {
7997 text: "#007f9b".to_string(),
7998 },
7999 is_mutable: false,
8000 line_number: 0,
8001 },
8002 )])
8003 .collect()
8004 },
8005 is_mutable: false,
8006 line_number: 0
8007 }
8008 ),
8009 (
8010 "cta-primary".to_string(),
8011 fastn_resolved::PropertyValue::Value {
8012 value: fastn_resolved::Value::Record {
8013 name: fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
8014 fields: std::iter::IntoIterator::into_iter([
8015 (
8016 "base".to_string(),
8017 fastn_resolved::PropertyValue::Value {
8018 value: fastn_resolved::Value::Record {
8019 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8020 fields: std::iter::IntoIterator::into_iter([(
8021 "light".to_string(),
8022 fastn_resolved::PropertyValue::Value {
8023 value: fastn_resolved::Value::String {
8024 text: "#2dd4bf".to_string()
8025 },
8026 is_mutable: false,
8027 line_number: 0,
8028 },
8029 ), (
8030 "dark".to_string(),
8031 fastn_resolved::PropertyValue::Value {
8032 value: fastn_resolved::Value::String {
8033 text: "#2dd4bf".to_string()
8034 },
8035 is_mutable: false,
8036 line_number: 0,
8037 },
8038 )]).collect()
8039 },
8040 is_mutable: false,
8041 line_number: 0,
8042 },
8043 ),
8044 (
8045 "hover".to_string(),
8046 fastn_resolved::PropertyValue::Value {
8047 value: fastn_resolved::Value::Record {
8048 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8049 fields: std::iter::IntoIterator::into_iter([(
8050 "light".to_string(),
8051 fastn_resolved::PropertyValue::Value {
8052 value: fastn_resolved::Value::String {
8053 text: "#2c9f90".to_string()
8054 },
8055 is_mutable: false,
8056 line_number: 0,
8057 },
8058 ), (
8059 "dark".to_string(),
8060 fastn_resolved::PropertyValue::Value {
8061 value: fastn_resolved::Value::String {
8062 text: "#2c9f90".to_string()
8063 },
8064 is_mutable: false,
8065 line_number: 0,
8066 },
8067 )]).collect()
8068 },
8069 is_mutable: false,
8070 line_number: 0,
8071 },
8072 ),
8073 (
8074 "pressed".to_string(),
8075 fastn_resolved::PropertyValue::Value {
8076 value: fastn_resolved::Value::Record {
8077 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8078 fields: std::iter::IntoIterator::into_iter([(
8079 "light".to_string(),
8080 fastn_resolved::PropertyValue::Value {
8081 value: fastn_resolved::Value::String {
8082 text: "#2cc9b5".to_string()
8083 },
8084 is_mutable: false,
8085 line_number: 0,
8086 },
8087 ), (
8088 "dark".to_string(),
8089 fastn_resolved::PropertyValue::Value {
8090 value: fastn_resolved::Value::String {
8091 text: "#2cc9b5".to_string()
8092 },
8093 is_mutable: false,
8094 line_number: 0,
8095 },
8096 )]).collect()
8097 },
8098 is_mutable: false,
8099 line_number: 0,
8100 },
8101 ),
8102 (
8103 "disabled".to_string(),
8104 fastn_resolved::PropertyValue::Value {
8105 value: fastn_resolved::Value::Record {
8106 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8107 fields: std::iter::IntoIterator::into_iter([(
8108 "light".to_string(),
8109 fastn_resolved::PropertyValue::Value {
8110 value: fastn_resolved::Value::String {
8111 text: "rgba(44, 201, 181, 0.1)".to_string()
8112 },
8113 is_mutable: false,
8114 line_number: 0,
8115 },
8116 ), (
8117 "dark".to_string(),
8118 fastn_resolved::PropertyValue::Value {
8119 value: fastn_resolved::Value::String {
8120 text: "rgba(44, 201, 181, 0.1)".to_string()
8121 },
8122 is_mutable: false,
8123 line_number: 0,
8124 },
8125 )]).collect()
8126 },
8127 is_mutable: false,
8128 line_number: 0,
8129 },
8130 ),
8131 (
8132 "focused".to_string(),
8133 fastn_resolved::PropertyValue::Value {
8134 value: fastn_resolved::Value::Record {
8135 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8136 fields: std::iter::IntoIterator::into_iter([(
8137 "light".to_string(),
8138 fastn_resolved::PropertyValue::Value {
8139 value: fastn_resolved::Value::String {
8140 text: "#2cbfac".to_string()
8141 },
8142 is_mutable: false,
8143 line_number: 0,
8144 },
8145 ), (
8146 "dark".to_string(),
8147 fastn_resolved::PropertyValue::Value {
8148 value: fastn_resolved::Value::String {
8149 text: "#2cbfac".to_string()
8150 },
8151 is_mutable: false,
8152 line_number: 0,
8153 },
8154 )]).collect()
8155 },
8156 is_mutable: false,
8157 line_number: 0,
8158 },
8159 ),
8160 (
8161 "border".to_string(),
8162 fastn_resolved::PropertyValue::Value {
8163 value: fastn_resolved::Value::Record {
8164 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8165 fields: std::iter::IntoIterator::into_iter([(
8166 "light".to_string(),
8167 fastn_resolved::PropertyValue::Value {
8168 value: fastn_resolved::Value::String {
8169 text: "#2b8074".to_string()
8170 },
8171 is_mutable: false,
8172 line_number: 0,
8173 },
8174 ), (
8175 "dark".to_string(),
8176 fastn_resolved::PropertyValue::Value {
8177 value: fastn_resolved::Value::String {
8178 text: "#2b8074".to_string()
8179 },
8180 is_mutable: false,
8181 line_number: 0,
8182 },
8183 )]).collect()
8184 },
8185 is_mutable: false,
8186 line_number: 0,
8187 },
8188 ),
8189 (
8190 "text".to_string(),
8191 fastn_resolved::PropertyValue::Value {
8192 value: fastn_resolved::Value::Record {
8193 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8194 fields: std::iter::IntoIterator::into_iter([(
8195 "light".to_string(),
8196 fastn_resolved::PropertyValue::Value {
8197 value: fastn_resolved::Value::String {
8198 text: "#feffff".to_string()
8199 },
8200 is_mutable: false,
8201 line_number: 0,
8202 },
8203 ), (
8204 "dark".to_string(),
8205 fastn_resolved::PropertyValue::Value {
8206 value: fastn_resolved::Value::String {
8207 text: "#feffff".to_string()
8208 },
8209 is_mutable: false,
8210 line_number: 0,
8211 },
8212 )]).collect()
8213 },
8214 is_mutable: false,
8215 line_number: 0,
8216 },
8217 ),
8218 (
8219 "border-disabled".to_string(),
8220 fastn_resolved::PropertyValue::Value {
8221 value: fastn_resolved::Value::Record {
8222 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8223 fields: std::iter::IntoIterator::into_iter([(
8224 "light".to_string(),
8225 fastn_resolved::PropertyValue::Value {
8226 value: fastn_resolved::Value::String {
8227 text: "#65b693".to_string()
8228 },
8229 is_mutable: false,
8230 line_number: 0,
8231 },
8232 ), (
8233 "dark".to_string().to_string(),
8234 fastn_resolved::PropertyValue::Value {
8235 value: fastn_resolved::Value::String {
8236 text: "#65b693".to_string()
8237 },
8238 is_mutable: false,
8239 line_number: 0,
8240 },
8241 )]).collect()
8242 },
8243 is_mutable: false,
8244 line_number: 0,
8245 },
8246 ),
8247 (
8248 "text-disabled".to_string(),
8249 fastn_resolved::PropertyValue::Value {
8250 value: fastn_resolved::Value::Record {
8251 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8252 fields: std::iter::IntoIterator::into_iter([(
8253 "light".to_string(),
8254 fastn_resolved::PropertyValue::Value {
8255 value: fastn_resolved::Value::String {
8256 text: "#65b693".to_string()
8257 },
8258 is_mutable: false,
8259 line_number: 0,
8260 },
8261 ), (
8262 "dark".to_string(),
8263 fastn_resolved::PropertyValue::Value {
8264 value: fastn_resolved::Value::String {
8265 text: "#65b693".to_string()
8266 },
8267 is_mutable: false,
8268 line_number: 0,
8269 },
8270 )]).collect()
8271 },
8272 is_mutable: false,
8273 line_number: 0,
8274 },
8275 )
8276 ]).collect()
8277 },
8278 is_mutable: false,
8279 line_number: 0
8280 }
8281 ),
8282 (
8283 "cta-secondary".to_string(),
8284 fastn_resolved::PropertyValue::Value {
8285 value: fastn_resolved::Value::Record {
8286 name: fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
8287 fields: std::iter::IntoIterator::into_iter([
8288 (
8289 "base".to_string(),
8290 fastn_resolved::PropertyValue::Value {
8291 value: fastn_resolved::Value::Record {
8292 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8293 fields: std::iter::IntoIterator::into_iter([(
8294 "light".to_string(),
8295 fastn_resolved::PropertyValue::Value {
8296 value: fastn_resolved::Value::String {
8297 text: "#4fb2df".to_string()
8298 },
8299 is_mutable: false,
8300 line_number: 0,
8301 },
8302 ), (
8303 "dark".to_string(),
8304 fastn_resolved::PropertyValue::Value {
8305 value: fastn_resolved::Value::String {
8306 text: "#4fb2df".to_string()
8307 },
8308 is_mutable: false,
8309 line_number: 0,
8310 },
8311 )]).collect()
8312 },
8313 is_mutable: false,
8314 line_number: 0,
8315 },
8316 ),
8317 (
8318 "hover".to_string(),
8319 fastn_resolved::PropertyValue::Value {
8320 value: fastn_resolved::Value::Record {
8321 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8322 fields: std::iter::IntoIterator::into_iter([(
8323 "light".to_string(),
8324 fastn_resolved::PropertyValue::Value {
8325 value: fastn_resolved::Value::String {
8326 text: "#40afe1".to_string()
8327 },
8328 is_mutable: false,
8329 line_number: 0,
8330 },
8331 ), (
8332 "dark".to_string(),
8333 fastn_resolved::PropertyValue::Value {
8334 value: fastn_resolved::Value::String {
8335 text: "#40afe1".to_string()
8336 },
8337 is_mutable: false,
8338 line_number: 0,
8339 },
8340 )]).collect()
8341 },
8342 is_mutable: false,
8343 line_number: 0,
8344 },
8345 ),
8346 (
8347 "pressed".to_string(),
8348 fastn_resolved::PropertyValue::Value {
8349 value: fastn_resolved::Value::Record {
8350 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8351 fields: std::iter::IntoIterator::into_iter([(
8352 "light".to_string(),
8353 fastn_resolved::PropertyValue::Value {
8354 value: fastn_resolved::Value::String {
8355 text: "#4fb2df".to_string()
8356 },
8357 is_mutable: false,
8358 line_number: 0,
8359 },
8360 ), (
8361 "dark".to_string(),
8362 fastn_resolved::PropertyValue::Value {
8363 value: fastn_resolved::Value::String {
8364 text: "#4fb2df".to_string()
8365 },
8366 is_mutable: false,
8367 line_number: 0,
8368 },
8369 )]).collect()
8370 },
8371 is_mutable: false,
8372 line_number: 0,
8373 },
8374 ),
8375 (
8376 "disabled".to_string(),
8377 fastn_resolved::PropertyValue::Value {
8378 value: fastn_resolved::Value::Record {
8379 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8380 fields: std::iter::IntoIterator::into_iter([(
8381 "light".to_string(),
8382 fastn_resolved::PropertyValue::Value {
8383 value: fastn_resolved::Value::String {
8384 text: "rgba(79, 178, 223, 0.1)".to_string()
8385 },
8386 is_mutable: false,
8387 line_number: 0,
8388 },
8389 ), (
8390 "dark".to_string(),
8391 fastn_resolved::PropertyValue::Value {
8392 value: fastn_resolved::Value::String {
8393 text: "rgba(79, 178, 223, 0.1)".to_string()
8394 },
8395 is_mutable: false,
8396 line_number: 0,
8397 },
8398 )]).collect()
8399 },
8400 is_mutable: false,
8401 line_number: 0,
8402 },
8403 ),
8404 (
8405 "focused".to_string(),
8406 fastn_resolved::PropertyValue::Value {
8407 value: fastn_resolved::Value::Record {
8408 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8409 fields: std::iter::IntoIterator::into_iter([(
8410 "light".to_string(),
8411 fastn_resolved::PropertyValue::Value {
8412 value: fastn_resolved::Value::String {
8413 text: "#4fb1df".to_string()
8414 },
8415 is_mutable: false,
8416 line_number: 0,
8417 },
8418 ), (
8419 "dark".to_string(),
8420 fastn_resolved::PropertyValue::Value {
8421 value: fastn_resolved::Value::String {
8422 text: "#4fb1df".to_string()
8423 },
8424 is_mutable: false,
8425 line_number: 0,
8426 },
8427 )]).collect()
8428 },
8429 is_mutable: false,
8430 line_number: 0,
8431 },
8432 ),
8433 (
8434 "border".to_string(),
8435 fastn_resolved::PropertyValue::Value {
8436 value: fastn_resolved::Value::Record {
8437 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8438 fields: std::iter::IntoIterator::into_iter([(
8439 "light".to_string(),
8440 fastn_resolved::PropertyValue::Value {
8441 value: fastn_resolved::Value::String {
8442 text: "#209fdb".to_string()
8443 },
8444 is_mutable: false,
8445 line_number: 0,
8446 },
8447 ), (
8448 "dark".to_string(),
8449 fastn_resolved::PropertyValue::Value {
8450 value: fastn_resolved::Value::String {
8451 text: "#209fdb".to_string()
8452 },
8453 is_mutable: false,
8454 line_number: 0,
8455 },
8456 )]).collect()
8457 },
8458 is_mutable: false,
8459 line_number: 0,
8460 },
8461 ),
8462 (
8463 "text".to_string(),
8464 fastn_resolved::PropertyValue::Value {
8465 value: fastn_resolved::Value::Record {
8466 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8467 fields: std::iter::IntoIterator::into_iter([(
8468 "light".to_string(),
8469 fastn_resolved::PropertyValue::Value {
8470 value: fastn_resolved::Value::String {
8471 text: "#584b42".to_string()
8472 },
8473 is_mutable: false,
8474 line_number: 0,
8475 },
8476 ), (
8477 "dark".to_string(),
8478 fastn_resolved::PropertyValue::Value {
8479 value: fastn_resolved::Value::String {
8480 text: "#ffffff".to_string()
8481 },
8482 is_mutable: false,
8483 line_number: 0,
8484 },
8485 )]).collect()
8486 },
8487 is_mutable: false,
8488 line_number: 0,
8489 },
8490 ),
8491 (
8492 "border-disabled".to_string(),
8493 fastn_resolved::PropertyValue::Value {
8494 value: fastn_resolved::Value::Record {
8495 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8496 fields: std::iter::IntoIterator::into_iter([(
8497 "light".to_string(),
8498 fastn_resolved::PropertyValue::Value {
8499 value: fastn_resolved::Value::String {
8500 text: "#65b693".to_string()
8501 },
8502 is_mutable: false,
8503 line_number: 0,
8504 },
8505 ), (
8506 "dark".to_string(),
8507 fastn_resolved::PropertyValue::Value {
8508 value: fastn_resolved::Value::String {
8509 text: "#65b693".to_string()
8510 },
8511 is_mutable: false,
8512 line_number: 0,
8513 },
8514 )]).collect()
8515 },
8516 is_mutable: false,
8517 line_number: 0,
8518 },
8519 ),
8520 (
8521 "text-disabled".to_string(),
8522 fastn_resolved::PropertyValue::Value {
8523 value: fastn_resolved::Value::Record {
8524 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8525 fields: std::iter::IntoIterator::into_iter([(
8526 "light".to_string(),
8527 fastn_resolved::PropertyValue::Value {
8528 value: fastn_resolved::Value::String {
8529 text: "#65b693".to_string()
8530 },
8531 is_mutable: false,
8532 line_number: 0,
8533 },
8534 ), (
8535 "dark".to_string(),
8536 fastn_resolved::PropertyValue::Value {
8537 value: fastn_resolved::Value::String {
8538 text: "#65b693".to_string()
8539 },
8540 is_mutable: false,
8541 line_number: 0,
8542 },
8543 )]).collect()
8544 },
8545 is_mutable: false,
8546 line_number: 0,
8547 },
8548 )
8549 ]).collect()
8550 },
8551 is_mutable: false,
8552 line_number: 0
8553 }
8554 ),
8555 (
8556 "cta-tertiary".to_string(),
8557 fastn_resolved::PropertyValue::Value {
8558 value: fastn_resolved::Value::Record {
8559 name: fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
8560 fields: std::iter::IntoIterator::into_iter([
8561 (
8562 "base".to_string(),
8563 fastn_resolved::PropertyValue::Value {
8564 value: fastn_resolved::Value::Record {
8565 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8566 fields: std::iter::IntoIterator::into_iter([(
8567 "light".to_string(),
8568 fastn_resolved::PropertyValue::Value {
8569 value: fastn_resolved::Value::String {
8570 text: "#556375".to_string()
8571 },
8572 is_mutable: false,
8573 line_number: 0,
8574 },
8575 ), (
8576 "dark".to_string(),
8577 fastn_resolved::PropertyValue::Value {
8578 value: fastn_resolved::Value::String {
8579 text: "#556375".to_string()
8580 },
8581 is_mutable: false,
8582 line_number: 0,
8583 },
8584 )]).collect()
8585 },
8586 is_mutable: false,
8587 line_number: 0,
8588 },
8589 ),
8590 (
8591 "hover".to_string(),
8592 fastn_resolved::PropertyValue::Value {
8593 value: fastn_resolved::Value::Record {
8594 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8595 fields: std::iter::IntoIterator::into_iter([(
8596 "light".to_string(),
8597 fastn_resolved::PropertyValue::Value {
8598 value: fastn_resolved::Value::String {
8599 text: "#c7cbd1".to_string()
8600 },
8601 is_mutable: false,
8602 line_number: 0,
8603 },
8604 ), (
8605 "dark".to_string(),
8606 fastn_resolved::PropertyValue::Value {
8607 value: fastn_resolved::Value::String {
8608 text: "#c7cbd1".to_string()
8609 },
8610 is_mutable: false,
8611 line_number: 0,
8612 },
8613 )]).collect()
8614 },
8615 is_mutable: false,
8616 line_number: 0,
8617 },
8618 ),
8619 (
8620 "pressed".to_string(),
8621 fastn_resolved::PropertyValue::Value {
8622 value: fastn_resolved::Value::Record {
8623 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8624 fields: std::iter::IntoIterator::into_iter([(
8625 "light".to_string(),
8626 fastn_resolved::PropertyValue::Value {
8627 value: fastn_resolved::Value::String {
8628 text: "#3b4047".to_string()
8629 },
8630 is_mutable: false,
8631 line_number: 0,
8632 },
8633 ), (
8634 "dark".to_string(),
8635 fastn_resolved::PropertyValue::Value {
8636 value: fastn_resolved::Value::String {
8637 text: "#3b4047".to_string()
8638 },
8639 is_mutable: false,
8640 line_number: 0,
8641 },
8642 )]).collect()
8643 },
8644 is_mutable: false,
8645 line_number: 0,
8646 },
8647 ),
8648 (
8649 "disabled".to_string(),
8650 fastn_resolved::PropertyValue::Value {
8651 value: fastn_resolved::Value::Record {
8652 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8653 fields: std::iter::IntoIterator::into_iter([(
8654 "light".to_string(),
8655 fastn_resolved::PropertyValue::Value {
8656 value: fastn_resolved::Value::String {
8657 text: "rgba(85, 99, 117, 0.1)".to_string()
8658 },
8659 is_mutable: false,
8660 line_number: 0,
8661 },
8662 ), (
8663 "dark".to_string(),
8664 fastn_resolved::PropertyValue::Value {
8665 value: fastn_resolved::Value::String {
8666 text: "rgba(85, 99, 117, 0.1)".to_string()
8667 },
8668 is_mutable: false,
8669 line_number: 0,
8670 },
8671 )]).collect()
8672 },
8673 is_mutable: false,
8674 line_number: 0,
8675 },
8676 ),
8677 (
8678 "focused".to_string(),
8679 fastn_resolved::PropertyValue::Value {
8680 value: fastn_resolved::Value::Record {
8681 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8682 fields: std::iter::IntoIterator::into_iter([(
8683 "light".to_string(),
8684 fastn_resolved::PropertyValue::Value {
8685 value: fastn_resolved::Value::String {
8686 text: "#e0e2e6".to_string()
8687 },
8688 is_mutable: false,
8689 line_number: 0,
8690 },
8691 ), (
8692 "dark".to_string(),
8693 fastn_resolved::PropertyValue::Value {
8694 value: fastn_resolved::Value::String {
8695 text: "#e0e2e6".to_string()
8696 },
8697 is_mutable: false,
8698 line_number: 0,
8699 },
8700 )]).collect()
8701 },
8702 is_mutable: false,
8703 line_number: 0,
8704 },
8705 ),
8706 (
8707 "border".to_string(),
8708 fastn_resolved::PropertyValue::Value {
8709 value: fastn_resolved::Value::Record {
8710 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8711 fields: std::iter::IntoIterator::into_iter([(
8712 "light".to_string(),
8713 fastn_resolved::PropertyValue::Value {
8714 value: fastn_resolved::Value::String {
8715 text: "#e2e4e7".to_string()
8716 },
8717 is_mutable: false,
8718 line_number: 0,
8719 },
8720 ), (
8721 "dark".to_string(),
8722 fastn_resolved::PropertyValue::Value {
8723 value: fastn_resolved::Value::String {
8724 text: "#e2e4e7".to_string()
8725 },
8726 is_mutable: false,
8727 line_number: 0,
8728 },
8729 )]).collect()
8730 },
8731 is_mutable: false,
8732 line_number: 0,
8733 },
8734 ),
8735 (
8736 "text".to_string(),
8737 fastn_resolved::PropertyValue::Value {
8738 value: fastn_resolved::Value::Record {
8739 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8740 fields: std::iter::IntoIterator::into_iter([(
8741 "light".to_string(),
8742 fastn_resolved::PropertyValue::Value {
8743 value: fastn_resolved::Value::String {
8744 text: "#ffffff".to_string()
8745 },
8746 is_mutable: false,
8747 line_number: 0,
8748 },
8749 ), (
8750 "dark".to_string(),
8751 fastn_resolved::PropertyValue::Value {
8752 value: fastn_resolved::Value::String {
8753 text: "#ffffff".to_string()
8754 },
8755 is_mutable: false,
8756 line_number: 0,
8757 },
8758 )]).collect()
8759 },
8760 is_mutable: false,
8761 line_number: 0,
8762 },
8763 ),
8764 (
8765 "border-disabled".to_string(),
8766 fastn_resolved::PropertyValue::Value {
8767 value: fastn_resolved::Value::Record {
8768 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8769 fields: std::iter::IntoIterator::into_iter([(
8770 "light".to_string(),
8771 fastn_resolved::PropertyValue::Value {
8772 value: fastn_resolved::Value::String {
8773 text: "#65b693".to_string()
8774 },
8775 is_mutable: false,
8776 line_number: 0,
8777 },
8778 ), (
8779 "dark".to_string(),
8780 fastn_resolved::PropertyValue::Value {
8781 value: fastn_resolved::Value::String {
8782 text: "#65b693".to_string()
8783 },
8784 is_mutable: false,
8785 line_number: 0,
8786 },
8787 )]).collect()
8788 },
8789 is_mutable: false,
8790 line_number: 0,
8791 },
8792 ),
8793 (
8794 "text-disabled".to_string(),
8795 fastn_resolved::PropertyValue::Value {
8796 value: fastn_resolved::Value::Record {
8797 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8798 fields: std::iter::IntoIterator::into_iter([(
8799 "light".to_string(),
8800 fastn_resolved::PropertyValue::Value {
8801 value: fastn_resolved::Value::String {
8802 text: "#65b693".to_string()
8803 },
8804 is_mutable: false,
8805 line_number: 0,
8806 },
8807 ), (
8808 "dark".to_string(),
8809 fastn_resolved::PropertyValue::Value {
8810 value: fastn_resolved::Value::String {
8811 text: "#65b693".to_string()
8812 },
8813 is_mutable: false,
8814 line_number: 0,
8815 },
8816 )]).collect()
8817 },
8818 is_mutable: false,
8819 line_number: 0,
8820 },
8821 )
8822 ]).collect()
8823 },
8824 is_mutable: false,
8825 line_number: 0
8826 }
8827 ),
8828 (
8829 "cta-danger".to_string(),
8830 fastn_resolved::PropertyValue::Value {
8831 value: fastn_resolved::Value::Record {
8832 name: fastn_builtins::constants::FTD_CTA_COLOR.to_string(),
8833 fields: std::iter::IntoIterator::into_iter([
8834 (
8835 "base".to_string(),
8836 fastn_resolved::PropertyValue::Value {
8837 value: fastn_resolved::Value::Record {
8838 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8839 fields: std::iter::IntoIterator::into_iter([(
8840 "light".to_string(),
8841 fastn_resolved::PropertyValue::Value {
8842 value: fastn_resolved::Value::String {
8843 text: "#1C1B1F".to_string()
8844 },
8845 is_mutable: false,
8846 line_number: 0,
8847 },
8848 ), (
8849 "dark".to_string(),
8850 fastn_resolved::PropertyValue::Value {
8851 value: fastn_resolved::Value::String {
8852 text: "#1C1B1F".to_string()
8853 },
8854 is_mutable: false,
8855 line_number: 0,
8856 },
8857 )]).collect()
8858 },
8859 is_mutable: false,
8860 line_number: 0,
8861 },
8862 ),
8863 (
8864 "hover".to_string(),
8865 fastn_resolved::PropertyValue::Value {
8866 value: fastn_resolved::Value::Record {
8867 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8868 fields: std::iter::IntoIterator::into_iter([(
8869 "light".to_string(),
8870 fastn_resolved::PropertyValue::Value {
8871 value: fastn_resolved::Value::String {
8872 text: "#1C1B1F".to_string()
8873 },
8874 is_mutable: false,
8875 line_number: 0,
8876 },
8877 ), (
8878 "dark".to_string(),
8879 fastn_resolved::PropertyValue::Value {
8880 value: fastn_resolved::Value::String {
8881 text: "#1C1B1F".to_string()
8882 },
8883 is_mutable: false,
8884 line_number: 0,
8885 },
8886 )]).collect()
8887 },
8888 is_mutable: false,
8889 line_number: 0,
8890 },
8891 ),
8892 (
8893 "pressed".to_string(),
8894 fastn_resolved::PropertyValue::Value {
8895 value: fastn_resolved::Value::Record {
8896 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8897 fields: std::iter::IntoIterator::into_iter([(
8898 "light".to_string(),
8899 fastn_resolved::PropertyValue::Value {
8900 value: fastn_resolved::Value::String {
8901 text: "#1C1B1F".to_string()
8902 },
8903 is_mutable: false,
8904 line_number: 0,
8905 },
8906 ), (
8907 "dark".to_string(),
8908 fastn_resolved::PropertyValue::Value {
8909 value: fastn_resolved::Value::String {
8910 text: "#1C1B1F".to_string()
8911 },
8912 is_mutable: false,
8913 line_number: 0,
8914 },
8915 )]).collect()
8916 },
8917 is_mutable: false,
8918 line_number: 0,
8919 },
8920 ),
8921 (
8922 "disabled".to_string(),
8923 fastn_resolved::PropertyValue::Value {
8924 value: fastn_resolved::Value::Record {
8925 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8926 fields: std::iter::IntoIterator::into_iter([(
8927 "light".to_string(),
8928 fastn_resolved::PropertyValue::Value {
8929 value: fastn_resolved::Value::String {
8930 text: "#1C1B1F".to_string()
8931 },
8932 is_mutable: false,
8933 line_number: 0,
8934 },
8935 ), (
8936 "dark".to_string(),
8937 fastn_resolved::PropertyValue::Value {
8938 value: fastn_resolved::Value::String {
8939 text: "#1C1B1F".to_string()
8940 },
8941 is_mutable: false,
8942 line_number: 0,
8943 },
8944 )]).collect()
8945 },
8946 is_mutable: false,
8947 line_number: 0,
8948 },
8949 ),
8950 (
8951 "focused".to_string(),
8952 fastn_resolved::PropertyValue::Value {
8953 value: fastn_resolved::Value::Record {
8954 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8955 fields: std::iter::IntoIterator::into_iter([(
8956 "light".to_string(),
8957 fastn_resolved::PropertyValue::Value {
8958 value: fastn_resolved::Value::String {
8959 text: "#1C1B1F".to_string()
8960 },
8961 is_mutable: false,
8962 line_number: 0,
8963 },
8964 ), (
8965 "dark".to_string(),
8966 fastn_resolved::PropertyValue::Value {
8967 value: fastn_resolved::Value::String {
8968 text: "#1C1B1F".to_string()
8969 },
8970 is_mutable: false,
8971 line_number: 0,
8972 },
8973 )]).collect()
8974 },
8975 is_mutable: false,
8976 line_number: 0,
8977 },
8978 ),
8979 (
8980 "border".to_string(),
8981 fastn_resolved::PropertyValue::Value {
8982 value: fastn_resolved::Value::Record {
8983 name: fastn_builtins::constants::FTD_COLOR.to_string(),
8984 fields: std::iter::IntoIterator::into_iter([(
8985 "light".to_string(),
8986 fastn_resolved::PropertyValue::Value {
8987 value: fastn_resolved::Value::String {
8988 text: "#1C1B1F".to_string()
8989 },
8990 is_mutable: false,
8991 line_number: 0,
8992 },
8993 ), (
8994 "dark".to_string(),
8995 fastn_resolved::PropertyValue::Value {
8996 value: fastn_resolved::Value::String {
8997 text: "#1C1B1F".to_string()
8998 },
8999 is_mutable: false,
9000 line_number: 0,
9001 },
9002 )]).collect()
9003 },
9004 is_mutable: false,
9005 line_number: 0,
9006 },
9007 ),
9008 (
9009 "text".to_string(),
9010 fastn_resolved::PropertyValue::Value {
9011 value: fastn_resolved::Value::Record {
9012 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9013 fields: std::iter::IntoIterator::into_iter([
9014 (
9015 "light".to_string(),
9016 fastn_resolved::PropertyValue::Value {
9017 value: fastn_resolved::Value::String {
9018 text: "#1C1B1F".to_string()
9019 },
9020 is_mutable: false,
9021 line_number: 0,
9022 }
9023 ), (
9024 "dark".to_string(),
9025 fastn_resolved::PropertyValue::Value {
9026 value: fastn_resolved::Value::String {
9027 text: "#1C1B1F".to_string()
9028 },
9029 is_mutable: false,
9030 line_number: 0,
9031 }
9032 )
9033 ]).collect()
9034 },
9035 is_mutable: false,
9036 line_number: 0,
9037 },
9038 ),
9039 (
9040 "border-disabled".to_string(),
9041 fastn_resolved::PropertyValue::Value {
9042 value: fastn_resolved::Value::Record {
9043 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9044 fields: std::iter::IntoIterator::into_iter([(
9045 "light".to_string(),
9046 fastn_resolved::PropertyValue::Value {
9047 value: fastn_resolved::Value::String {
9048 text: "#feffff".to_string()
9049 },
9050 is_mutable: false,
9051 line_number: 0,
9052 },
9053 ), (
9054 "dark".to_string(),
9055 fastn_resolved::PropertyValue::Value {
9056 value: fastn_resolved::Value::String {
9057 text: "#feffff".to_string()
9058 },
9059 is_mutable: false,
9060 line_number: 0,
9061 },
9062 )]).collect()
9063 },
9064 is_mutable: false,
9065 line_number: 0,
9066 },
9067 ),
9068 (
9069 "text-disabled".to_string(),
9070 fastn_resolved::PropertyValue::Value {
9071 value: fastn_resolved::Value::Record {
9072 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9073 fields: std::iter::IntoIterator::into_iter([(
9074 "light".to_string(),
9075 fastn_resolved::PropertyValue::Value {
9076 value: fastn_resolved::Value::String {
9077 text: "#feffff".to_string()
9078 },
9079 is_mutable: false,
9080 line_number: 0,
9081 },
9082 ), (
9083 "dark".to_string(),
9084 fastn_resolved::PropertyValue::Value {
9085 value: fastn_resolved::Value::String {
9086 text: "#feffff".to_string()
9087 },
9088 is_mutable: false,
9089 line_number: 0,
9090 },
9091 )]).collect()
9092 },
9093 is_mutable: false,
9094 line_number: 0,
9095 },
9096 )
9097 ]).collect()
9098 },
9099 is_mutable: false,
9100 line_number: 0
9101 }
9102 ),
9103 (
9104 "accent".to_string(),
9105 fastn_resolved::PropertyValue::Value {
9106 value: fastn_resolved::Value::Record {
9107 name: fastn_builtins::constants::FTD_PST.to_string(),
9108 fields: std::iter::IntoIterator::into_iter([
9109 (
9110 "primary".to_string(),
9111 fastn_resolved::PropertyValue::Value {
9112 value: fastn_resolved::Value::Record {
9113 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9114 fields: std::iter::IntoIterator::into_iter([
9115 (
9116 "light".to_string(),
9117 fastn_resolved::PropertyValue::Value {
9118 value: fastn_resolved::Value::String {
9119 text: "#2dd4bf".to_string()
9120 },
9121 is_mutable: false,
9122 line_number: 0
9123 }
9124 ), (
9125 "dark".to_string(),
9126 fastn_resolved::PropertyValue::Value {
9127 value: fastn_resolved::Value::String {
9128 text: "#2dd4bf".to_string()
9129 },
9130 is_mutable: false,
9131 line_number: 0
9132 }
9133 )
9134 ]).collect()
9135 },
9136 is_mutable: false,
9137 line_number: 0
9138 }
9139 ),
9140 (
9141 "secondary".to_string(),
9142 fastn_resolved::PropertyValue::Value {
9143 value: fastn_resolved::Value::Record {
9144 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9145 fields: std::iter::IntoIterator::into_iter([
9146 (
9147 "light".to_string(),
9148 fastn_resolved::PropertyValue::Value {
9149 value: fastn_resolved::Value::String {
9150 text: "#4fb2df".to_string()
9151 },
9152 is_mutable: false,
9153 line_number: 0
9154 }
9155 ), (
9156 "dark".to_string(),
9157 fastn_resolved::PropertyValue::Value {
9158 value: fastn_resolved::Value::String {
9159 text: "#4fb2df".to_string()
9160 },
9161 is_mutable: false,
9162 line_number: 0
9163 }
9164 )
9165 ]).collect()
9166 },
9167 is_mutable: false,
9168 line_number: 0
9169 }
9170 ),
9171 (
9172 "tertiary".to_string(),
9173 fastn_resolved::PropertyValue::Value {
9174 value: fastn_resolved::Value::Record {
9175 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9176 fields: std::iter::IntoIterator::into_iter([
9177 (
9178 "light".to_string(),
9179 fastn_resolved::PropertyValue::Value {
9180 value: fastn_resolved::Value::String {
9181 text: "#c5cbd7".to_string()
9182 },
9183 is_mutable: false,
9184 line_number: 0
9185 }
9186 ), (
9187 "dark".to_string(),
9188 fastn_resolved::PropertyValue::Value {
9189 value: fastn_resolved::Value::String {
9190 text: "#c5cbd7".to_string()
9191 },
9192 is_mutable: false,
9193 line_number: 0
9194 }
9195 )
9196 ]).collect()
9197 },
9198 is_mutable: false,
9199 line_number: 0
9200 }
9201 )
9202 ]).collect()
9203 },
9204 is_mutable: false,
9205 line_number: 0
9206 }
9207 ),
9208 (
9209 "error".to_string(),
9210 fastn_resolved::PropertyValue::Value {
9211 value: fastn_resolved::Value::Record {
9212 name: fastn_builtins::constants::FTD_BTB.to_string(),
9213 fields: std::iter::IntoIterator::into_iter([
9214 (
9215 "base".to_string(),
9216 fastn_resolved::PropertyValue::Value {
9217 value: fastn_resolved::Value::Record {
9218 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9219 fields: std::iter::IntoIterator::into_iter([
9220 (
9221 "light".to_string(),
9222 fastn_resolved::PropertyValue::Value {
9223 value: fastn_resolved::Value::String {
9224 text: "#f5bdbb".to_string()
9225 },
9226 is_mutable: false,
9227 line_number: 0
9228 }
9229 ), (
9230 "dark".to_string(),
9231 fastn_resolved::PropertyValue::Value {
9232 value: fastn_resolved::Value::String {
9233 text: "#311b1f".to_string()
9234 },
9235 is_mutable: false,
9236 line_number: 0
9237 }
9238 )
9239 ]).collect()
9240 },
9241 is_mutable: false,
9242 line_number: 0
9243 }
9244 ),
9245 (
9246 "text".to_string(),
9247 fastn_resolved::PropertyValue::Value {
9248 value: fastn_resolved::Value::Record {
9249 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9250 fields: std::iter::IntoIterator::into_iter([
9251 (
9252 "light".to_string(),
9253 fastn_resolved::PropertyValue::Value {
9254 value: fastn_resolved::Value::String {
9255 text: "#c62a21".to_string()
9256 },
9257 is_mutable: false,
9258 line_number: 0
9259 }
9260 ), (
9261 "dark".to_string(),
9262 fastn_resolved::PropertyValue::Value {
9263 value: fastn_resolved::Value::String {
9264 text: "#c62a21".to_string()
9265 },
9266 is_mutable: false,
9267 line_number: 0
9268 }
9269 )
9270 ]).collect()
9271 },
9272 is_mutable: false,
9273 line_number: 0
9274 }
9275 ),
9276 (
9277 "border".to_string(),
9278 fastn_resolved::PropertyValue::Value {
9279 value: fastn_resolved::Value::Record {
9280 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9281 fields: std::iter::IntoIterator::into_iter([
9282 (
9283 "light".to_string(),
9284 fastn_resolved::PropertyValue::Value {
9285 value: fastn_resolved::Value::String {
9286 text: "#df2b2b".to_string()
9287 },
9288 is_mutable: false,
9289 line_number: 0
9290 }
9291 ), (
9292 "dark".to_string(),
9293 fastn_resolved::PropertyValue::Value {
9294 value: fastn_resolved::Value::String {
9295 text: "#df2b2b".to_string()
9296 },
9297 is_mutable: false,
9298 line_number: 0
9299 }
9300 )
9301 ]).collect()
9302 },
9303 is_mutable: false,
9304 line_number: 0
9305 }
9306 )
9307 ]).collect()
9308 },
9309 is_mutable: false,
9310 line_number: 0
9311 }
9312 ),
9313 (
9314 "success".to_string(),
9315 fastn_resolved::PropertyValue::Value {
9316 value: fastn_resolved::Value::Record {
9317 name: fastn_builtins::constants::FTD_BTB.to_string(),
9318 fields: std::iter::IntoIterator::into_iter([
9319 (
9320 "base".to_string(),
9321 fastn_resolved::PropertyValue::Value {
9322 value: fastn_resolved::Value::Record {
9323 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9324 fields: std::iter::IntoIterator::into_iter([
9325 (
9326 "light".to_string(),
9327 fastn_resolved::PropertyValue::Value {
9328 value: fastn_resolved::Value::String {
9329 text: "#e3f0c4".to_string()
9330 },
9331 is_mutable: false,
9332 line_number: 0
9333 }
9334 ), (
9335 "dark".to_string(),
9336 fastn_resolved::PropertyValue::Value {
9337 value: fastn_resolved::Value::String {
9338 text: "#405508ad".to_string()
9339 },
9340 is_mutable: false,
9341 line_number: 0
9342 }
9343 )
9344 ]).collect()
9345 },
9346 is_mutable: false,
9347 line_number: 0
9348 }
9349 ),
9350 (
9351 "text".to_string(),
9352 fastn_resolved::PropertyValue::Value {
9353 value: fastn_resolved::Value::Record {
9354 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9355 fields: std::iter::IntoIterator::into_iter([
9356 (
9357 "light".to_string(),
9358 fastn_resolved::PropertyValue::Value {
9359 value: fastn_resolved::Value::String {
9360 text: "#467b28".to_string()
9361 },
9362 is_mutable: false,
9363 line_number: 0
9364 }
9365 ), (
9366 "dark".to_string(),
9367 fastn_resolved::PropertyValue::Value {
9368 value: fastn_resolved::Value::String {
9369 text: "#479f16".to_string()
9370 },
9371 is_mutable: false,
9372 line_number: 0
9373 }
9374 )
9375 ]).collect()
9376 },
9377 is_mutable: false,
9378 line_number: 0
9379 }
9380 ),
9381 (
9382 "border".to_string(),
9383 fastn_resolved::PropertyValue::Value {
9384 value: fastn_resolved::Value::Record {
9385 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9386 fields: std::iter::IntoIterator::into_iter([
9387 (
9388 "light".to_string(),
9389 fastn_resolved::PropertyValue::Value {
9390 value: fastn_resolved::Value::String {
9391 text: "#3d741f".to_string()
9392 },
9393 is_mutable: false,
9394 line_number: 0
9395 }
9396 ), (
9397 "dark".to_string(),
9398 fastn_resolved::PropertyValue::Value {
9399 value: fastn_resolved::Value::String {
9400 text: "#3d741f".to_string()
9401 },
9402 is_mutable: false,
9403 line_number: 0
9404 }
9405 )
9406 ]).collect()
9407 },
9408 is_mutable: false,
9409 line_number: 0
9410 }
9411 )
9412 ]).collect()
9413 },
9414 is_mutable: false,
9415 line_number: 0
9416 }
9417 ),
9418 (
9419 "info".to_string(),
9420 fastn_resolved::PropertyValue::Value {
9421 value: fastn_resolved::Value::Record {
9422 name: fastn_builtins::constants::FTD_BTB.to_string(),
9423 fields: std::iter::IntoIterator::into_iter([
9424 (
9425 "base".to_string(),
9426 fastn_resolved::PropertyValue::Value {
9427 value: fastn_resolved::Value::Record {
9428 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9429 fields: std::iter::IntoIterator::into_iter([
9430 (
9431 "light".to_string(),
9432 fastn_resolved::PropertyValue::Value {
9433 value: fastn_resolved::Value::String {
9434 text: "#c4edfd".to_string()
9435 },
9436 is_mutable: false,
9437 line_number: 0
9438 }
9439 ), (
9440 "dark".to_string(),
9441 fastn_resolved::PropertyValue::Value {
9442 value: fastn_resolved::Value::String {
9443 text: "#15223a".to_string()
9444 },
9445 is_mutable: false,
9446 line_number: 0
9447 }
9448 )
9449 ]).collect()
9450 },
9451 is_mutable: false,
9452 line_number: 0
9453 }
9454 ),
9455 (
9456 "text".to_string(),
9457 fastn_resolved::PropertyValue::Value {
9458 value: fastn_resolved::Value::Record {
9459 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9460 fields: std::iter::IntoIterator::into_iter([
9461 (
9462 "light".to_string(),
9463 fastn_resolved::PropertyValue::Value {
9464 value: fastn_resolved::Value::String {
9465 text: "#205694".to_string()
9466 },
9467 is_mutable: false,
9468 line_number: 0
9469 }
9470 ), (
9471 "dark".to_string(),
9472 fastn_resolved::PropertyValue::Value {
9473 value: fastn_resolved::Value::String {
9474 text: "#1f6feb".to_string()
9475 },
9476 is_mutable: false,
9477 line_number: 0
9478 }
9479 )
9480 ]).collect()
9481 },
9482 is_mutable: false,
9483 line_number: 0
9484 }
9485 ),
9486 (
9487 "border".to_string(),
9488 fastn_resolved::PropertyValue::Value {
9489 value: fastn_resolved::Value::Record {
9490 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9491 fields: std::iter::IntoIterator::into_iter([
9492 (
9493 "light".to_string(),
9494 fastn_resolved::PropertyValue::Value {
9495 value: fastn_resolved::Value::String {
9496 text: "#205694".to_string()
9497 },
9498 is_mutable: false,
9499 line_number: 0
9500 }
9501 ), (
9502 "dark".to_string(),
9503 fastn_resolved::PropertyValue::Value {
9504 value: fastn_resolved::Value::String {
9505 text: "#205694".to_string()
9506 },
9507 is_mutable: false,
9508 line_number: 0
9509 }
9510 )
9511 ]).collect()
9512 },
9513 is_mutable: false,
9514 line_number: 0
9515 }
9516 ),
9517 ]).collect()
9518 },
9519 is_mutable: false,
9520 line_number: 0
9521 }
9522 ),
9523 (
9524 "warning".to_string(),
9525 fastn_resolved::PropertyValue::Value {
9526 value: fastn_resolved::Value::Record {
9527 name: fastn_builtins::constants::FTD_BTB.to_string(),
9528 fields: std::iter::IntoIterator::into_iter([
9529 (
9530 "base".to_string(),
9531 fastn_resolved::PropertyValue::Value {
9532 value: fastn_resolved::Value::Record {
9533 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9534 fields: std::iter::IntoIterator::into_iter([
9535 (
9536 "light".to_string(),
9537 fastn_resolved::PropertyValue::Value {
9538 value: fastn_resolved::Value::String {
9539 text: "#fbefba".to_string()
9540 },
9541 is_mutable: false,
9542 line_number: 0
9543 }
9544 ), (
9545 "dark".to_string(),
9546 fastn_resolved::PropertyValue::Value {
9547 value: fastn_resolved::Value::String {
9548 text: "#544607a3".to_string()
9549 },
9550 is_mutable: false,
9551 line_number: 0
9552 }
9553 )
9554 ]).collect()
9555 },
9556 is_mutable: false,
9557 line_number: 0
9558 }
9559 ),
9560 (
9561 "text".to_string(),
9562 fastn_resolved::PropertyValue::Value {
9563 value: fastn_resolved::Value::Record {
9564 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9565 fields: std::iter::IntoIterator::into_iter([
9566 (
9567 "light".to_string(),
9568 fastn_resolved::PropertyValue::Value {
9569 value: fastn_resolved::Value::String {
9570 text: "#966220".to_string()
9571 },
9572 is_mutable: false,
9573 line_number: 0
9574 }
9575 ), (
9576 "dark".to_string(),
9577 fastn_resolved::PropertyValue::Value {
9578 value: fastn_resolved::Value::String {
9579 text: "#d07f19".to_string()
9580 },
9581 is_mutable: false,
9582 line_number: 0
9583 }
9584 )
9585 ]).collect()
9586 },
9587 is_mutable: false,
9588 line_number: 0
9589 }
9590 ),
9591 (
9592 "border".to_string(),
9593 fastn_resolved::PropertyValue::Value {
9594 value: fastn_resolved::Value::Record {
9595 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9596 fields: std::iter::IntoIterator::into_iter([
9597 (
9598 "light".to_string(),
9599 fastn_resolved::PropertyValue::Value {
9600 value: fastn_resolved::Value::String {
9601 text: "#966220".to_string()
9602 },
9603 is_mutable: false,
9604 line_number: 0
9605 }
9606 ), (
9607 "dark".to_string(),
9608 fastn_resolved::PropertyValue::Value {
9609 value: fastn_resolved::Value::String {
9610 text: "#966220".to_string()
9611 },
9612 is_mutable: false,
9613 line_number: 0
9614 }
9615 )
9616 ]).collect()
9617 },
9618 is_mutable: false,
9619 line_number: 0
9620 }
9621 ),
9622 ]).collect()
9623 },
9624 is_mutable: false,
9625 line_number: 0
9626 }
9627 ),
9628 (
9629 "custom".to_string(),
9630 fastn_resolved::PropertyValue::Value {
9631 value: fastn_resolved::Value::Record {
9632 name: fastn_builtins::constants::FTD_CUSTOM_COLORS.to_string(),
9633 fields: std::iter::IntoIterator::into_iter([
9634 (
9635 "one".to_string(),
9636 fastn_resolved::PropertyValue::Value {
9637 value: fastn_resolved::Value::Record {
9638 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9639 fields: std::iter::IntoIterator::into_iter([
9640 (
9641 "light".to_string(),
9642 fastn_resolved::PropertyValue::Value {
9643 value: fastn_resolved::Value::String {
9644 text: "#ed753a".to_string()
9645 },
9646 is_mutable: false,
9647 line_number: 0
9648 }
9649 ), (
9650 "dark".to_string(),
9651 fastn_resolved::PropertyValue::Value {
9652 value: fastn_resolved::Value::String {
9653 text: "#ed753a".to_string()
9654 },
9655 is_mutable: false,
9656 line_number: 0
9657 }
9658 )
9659 ]).collect()
9660 },
9661 is_mutable: false,
9662 line_number: 0
9663 }
9664 ),
9665 (
9666 "two".to_string(),
9667 fastn_resolved::PropertyValue::Value {
9668 value: fastn_resolved::Value::Record {
9669 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9670 fields: std::iter::IntoIterator::into_iter([
9671 (
9672 "light".to_string(),
9673 fastn_resolved::PropertyValue::Value {
9674 value: fastn_resolved::Value::String {
9675 text: "#f3db5f".to_string()
9676 },
9677 is_mutable: false,
9678 line_number: 0
9679 }
9680 ), (
9681 "dark".to_string(),
9682 fastn_resolved::PropertyValue::Value {
9683 value: fastn_resolved::Value::String {
9684 text: "#f3db5f".to_string()
9685 },
9686 is_mutable: false,
9687 line_number: 0
9688 }
9689 )
9690 ]).collect()
9691 },
9692 is_mutable: false,
9693 line_number: 0
9694 }
9695 ),
9696 (
9697 "three".to_string(),
9698 fastn_resolved::PropertyValue::Value {
9699 value: fastn_resolved::Value::Record {
9700 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9701 fields: std::iter::IntoIterator::into_iter([
9702 (
9703 "light".to_string(),
9704 fastn_resolved::PropertyValue::Value {
9705 value: fastn_resolved::Value::String {
9706 text: "#8fdcf8".to_string()
9707 },
9708 is_mutable: false,
9709 line_number: 0
9710 }
9711 ), (
9712 "dark".to_string(),
9713 fastn_resolved::PropertyValue::Value {
9714 value: fastn_resolved::Value::String {
9715 text: "#8fdcf8".to_string()
9716 },
9717 is_mutable: false,
9718 line_number: 0
9719 }
9720 )
9721 ]).collect()
9722 },
9723 is_mutable: false,
9724 line_number: 0
9725 }
9726 ),
9727 (
9728 "four".to_string(),
9729 fastn_resolved::PropertyValue::Value {
9730 value: fastn_resolved::Value::Record {
9731 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9732 fields: std::iter::IntoIterator::into_iter([
9733 (
9734 "light".to_string(),
9735 fastn_resolved::PropertyValue::Value {
9736 value: fastn_resolved::Value::String {
9737 text: "#7a65c7".to_string()
9738 },
9739 is_mutable: false,
9740 line_number: 0
9741 }
9742 ), (
9743 "dark".to_string(),
9744 fastn_resolved::PropertyValue::Value {
9745 value: fastn_resolved::Value::String {
9746 text: "#7a65c7".to_string()
9747 },
9748 is_mutable: false,
9749 line_number: 0
9750 }
9751 )
9752 ]).collect()
9753 },
9754 is_mutable: false,
9755 line_number: 0
9756 }
9757 ),
9758 (
9759 "five".to_string(),
9760 fastn_resolved::PropertyValue::Value {
9761 value: fastn_resolved::Value::Record {
9762 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9763 fields: std::iter::IntoIterator::into_iter([
9764 (
9765 "light".to_string(),
9766 fastn_resolved::PropertyValue::Value {
9767 value: fastn_resolved::Value::String {
9768 text: "#eb57be".to_string()
9769 },
9770 is_mutable: false,
9771 line_number: 0
9772 }
9773 ), (
9774 "dark".to_string(),
9775 fastn_resolved::PropertyValue::Value {
9776 value: fastn_resolved::Value::String {
9777 text: "#eb57be".to_string()
9778 },
9779 is_mutable: false,
9780 line_number: 0
9781 }
9782 )
9783 ]).collect()
9784 },
9785 is_mutable: false,
9786 line_number: 0
9787 }
9788 ),
9789 (
9790 "six".to_string(),
9791 fastn_resolved::PropertyValue::Value {
9792 value: fastn_resolved::Value::Record {
9793 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9794 fields: std::iter::IntoIterator::into_iter([
9795 (
9796 "light".to_string(),
9797 fastn_resolved::PropertyValue::Value {
9798 value: fastn_resolved::Value::String {
9799 text: "#ef8dd6".to_string()
9800 },
9801 is_mutable: false,
9802 line_number: 0
9803 }
9804 ), (
9805 "dark".to_string(),
9806 fastn_resolved::PropertyValue::Value {
9807 value: fastn_resolved::Value::String {
9808 text: "#ef8dd6".to_string()
9809 },
9810 is_mutable: false,
9811 line_number: 0
9812 }
9813 )
9814 ]).collect()
9815 },
9816 is_mutable: false,
9817 line_number: 0
9818 }
9819 ),
9820 (
9821 "seven".to_string(),
9822 fastn_resolved::PropertyValue::Value {
9823 value: fastn_resolved::Value::Record {
9824 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9825 fields: std::iter::IntoIterator::into_iter([
9826 (
9827 "light".to_string(),
9828 fastn_resolved::PropertyValue::Value {
9829 value: fastn_resolved::Value::String {
9830 text: "#7564be".to_string()
9831 },
9832 is_mutable: false,
9833 line_number: 0
9834 }
9835 ), (
9836 "dark".to_string(),
9837 fastn_resolved::PropertyValue::Value {
9838 value: fastn_resolved::Value::String {
9839 text: "#7564be".to_string()
9840 },
9841 is_mutable: false,
9842 line_number: 0
9843 }
9844 )
9845 ]).collect()
9846 },
9847 is_mutable: false,
9848 line_number: 0
9849 }
9850 ),
9851 (
9852 "eight".to_string(),
9853 fastn_resolved::PropertyValue::Value {
9854 value: fastn_resolved::Value::Record {
9855 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9856 fields: std::iter::IntoIterator::into_iter([
9857 (
9858 "light".to_string(),
9859 fastn_resolved::PropertyValue::Value {
9860 value: fastn_resolved::Value::String {
9861 text: "#d554b3".to_string()
9862 },
9863 is_mutable: false,
9864 line_number: 0
9865 }
9866 ), (
9867 "dark".to_string(),
9868 fastn_resolved::PropertyValue::Value {
9869 value: fastn_resolved::Value::String {
9870 text: "#d554b3".to_string()
9871 },
9872 is_mutable: false,
9873 line_number: 0
9874 }
9875 )
9876 ]).collect()
9877 },
9878 is_mutable: false,
9879 line_number: 0
9880 }
9881 ),
9882 (
9883 "nine".to_string(),
9884 fastn_resolved::PropertyValue::Value {
9885 value: fastn_resolved::Value::Record {
9886 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9887 fields: std::iter::IntoIterator::into_iter([
9888 (
9889 "light".to_string(),
9890 fastn_resolved::PropertyValue::Value {
9891 value: fastn_resolved::Value::String {
9892 text: "#ec8943".to_string()
9893 },
9894 is_mutable: false,
9895 line_number: 0
9896 }
9897 ), (
9898 "dark".to_string(),
9899 fastn_resolved::PropertyValue::Value {
9900 value: fastn_resolved::Value::String {
9901 text: "#ec8943".to_string()
9902 },
9903 is_mutable: false,
9904 line_number: 0
9905 }
9906 )
9907 ]).collect()
9908 },
9909 is_mutable: false,
9910 line_number: 0
9911 }
9912 ),
9913 (
9914 "ten".to_string(),
9915 fastn_resolved::PropertyValue::Value {
9916 value: fastn_resolved::Value::Record {
9917 name: fastn_builtins::constants::FTD_COLOR.to_string(),
9918 fields: std::iter::IntoIterator::into_iter([
9919 (
9920 "light".to_string(),
9921 fastn_resolved::PropertyValue::Value {
9922 value: fastn_resolved::Value::String {
9923 text: "#da7a4a".to_string()
9924 },
9925 is_mutable: false,
9926 line_number: 0
9927 }
9928 ), (
9929 "dark".to_string(),
9930 fastn_resolved::PropertyValue::Value {
9931 value: fastn_resolved::Value::String {
9932 text: "#da7a4a".to_string()
9933 },
9934 is_mutable: false,
9935 line_number: 0
9936 }
9937 )
9938 ]).collect()
9939 },
9940 is_mutable: false,
9941 line_number: 0
9942 }
9943 ),
9944 ]).collect()
9945 },
9946 is_mutable: false,
9947 line_number: 0
9948 }
9949 ),
9950 ])
9951 .collect(),
9952 },
9953 is_mutable: false,
9954 line_number: 0,
9955 },
9956 conditional_value: vec![],
9957 line_number: 0,
9958 is_static: false,
9959 }),
9960 ),
9961 (
9962 fastn_builtins::constants::FTD_BREAKPOINT_WIDTH_DATA.to_string(),
9963 fastn_resolved::Definition::Record(fastn_resolved::Record {
9964 name: fastn_builtins::constants::FTD_BREAKPOINT_WIDTH_DATA.to_string(),
9965 fields: vec![fastn_resolved::Field {
9966 name: "mobile".to_string(),
9967 kind: fastn_resolved::Kind::integer().into_kind_data().caption(),
9968 mutable: false,
9969 value: None,
9970 access_modifier: Default::default(),
9971 line_number: 0
9972 }],
9973 line_number: 0
9974 })
9975 ),
9976 (
9977 fastn_builtins::constants::FTD_BREAKPOINT_WIDTH.to_string(),
9978 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
9979 name: fastn_builtins::constants::FTD_BREAKPOINT_WIDTH.to_string(),
9980 kind: fastn_resolved::Kind::record
9981 (fastn_builtins::constants::FTD_BREAKPOINT_WIDTH_DATA).into_kind_data(),
9982 mutable: true,
9983 value: fastn_resolved::PropertyValue::Value {
9984 value: fastn_resolved::Value::Record {
9985 name: fastn_builtins::constants::FTD_BREAKPOINT_WIDTH_DATA.to_string(),
9986 fields: std::iter::IntoIterator::into_iter([
9987 (
9988 "mobile".to_string(),
9989 fastn_resolved::PropertyValue::Value {
9990 value: fastn_resolved::Value::Integer {
9991 value: 768
9992 },
9993 is_mutable: false,
9994 line_number: 0
9995 }
9996 )
9997 ]).collect()
9998 },
9999 is_mutable: true,
10000 line_number: 0
10001 },
10002 conditional_value: vec![],
10003 line_number: 0,
10004 is_static: false
10005 })
10006 ),
10007 (
10008 fastn_builtins::constants::FTD_DEVICE_DATA.to_string(),
10009 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10010 name: fastn_builtins::constants::FTD_DEVICE_DATA.to_string(),
10011 variants: vec![
10012 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10013 fastn_builtins::constants::FTD_DEVICE_DATA_MOBILE,
10014 fastn_resolved::Kind::string()
10015 .into_kind_data()
10016 .caption(),
10017 false,
10018 Some(fastn_resolved::Value::new_string("mobile")
10019 .into_property_value(false, 0),),
10020 0,
10021 )),
10022 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10023 fastn_builtins::constants::FTD_DEVICE_DATA_DESKTOP,
10024 fastn_resolved::Kind::string()
10025 .into_kind_data()
10026 .caption(),
10027 false,
10028 Some(fastn_resolved::Value::new_string("desktop")
10029 .into_property_value(false, 0),),
10030 0,
10031 )),
10032 ],
10033 line_number: 0
10034 })
10035 ),
10036 (
10037 fastn_builtins::constants::FTD_DEVICE.to_string(),
10038 fastn_resolved::Definition::Variable(fastn_resolved::Variable {
10039 name: fastn_builtins::constants::FTD_DEVICE.to_string(),
10040 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_DEVICE_DATA)
10041 .into_kind_data(),
10042 mutable: true,
10043 value: fastn_resolved::PropertyValue::Value {
10044 value: fastn_resolved::Value::OrType {
10045 name: fastn_builtins::constants::FTD_DEVICE_DATA.to_string(),
10046 variant: fastn_builtins::constants::FTD_DEVICE_DATA_MOBILE.to_string(),
10047 full_variant: fastn_builtins::constants::FTD_DEVICE_DATA_MOBILE.to_string(),
10048 value: Box::new(fastn_resolved::Value::new_string("mobile")
10049 .into_property_value(false, 0))
10050 },
10051 is_mutable: true,
10052 line_number: 0
10053 },
10054 conditional_value: vec![],
10055 line_number: 0,
10056 is_static: false
10057 })
10058 ),
10059 (
10060 fastn_builtins::constants::FTD_MASK_IMAGE_DATA.to_string(),
10061 fastn_resolved::Definition::Record(fastn_resolved::Record {
10062 name: fastn_builtins::constants::FTD_MASK_IMAGE_DATA.to_string(),
10063 fields: std::iter::IntoIterator::into_iter([
10064 fastn_resolved::Field {
10065 name: "src".to_string(),
10066 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_IMAGE_SRC)
10067 .into_kind_data().caption().into_optional(),
10068 mutable: false,
10069 value: None,
10070 access_modifier: Default::default(),
10071 line_number: 0,
10072 },
10073 fastn_resolved::Field {
10074 name: "linear-gradient".to_string(),
10075 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_LINEAR_GRADIENT)
10076 .into_kind_data()
10077 .into_optional(),
10078 mutable: false,
10079 value: None,
10080 access_modifier: Default::default(),
10081 line_number: 0,
10082 },
10083 fastn_resolved::Field {
10084 name: "color".to_string(),
10085 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
10086 .into_kind_data()
10087 .into_optional(),
10088 mutable: false,
10089 value: None,
10090 access_modifier: Default::default(),
10091 line_number: 0,
10092 },
10093 ]).collect(),
10094 line_number: 0,
10095 }),
10096 ),
10097 (
10098 fastn_builtins::constants::FTD_MASK_SIZE.to_string(),
10099 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10100 name: fastn_builtins::constants::FTD_MASK_SIZE.to_string(),
10101 variants: vec![
10102 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
10103 fastn_builtins::constants::FTD_MASK_SIZE_FIXED,
10104 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
10105 .into_kind_data(),
10106 false,
10107 None,
10108 0,
10109 )),
10110 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10111 fastn_builtins::constants::FTD_MASK_SIZE_AUTO,
10112 fastn_resolved::Kind::string().into_kind_data(),
10113 false,
10114 Some(
10115 fastn_resolved::Value::new_string(
10116 fastn_builtins::constants::FTD_MASK_SIZE_AUTO,
10117 )
10118 .into_property_value(false, 0),
10119 ),
10120 0,
10121 )),
10122 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10123 fastn_builtins::constants::FTD_MASK_SIZE_COVER,
10124 fastn_resolved::Kind::string().into_kind_data(),
10125 false,
10126 Some(
10127 fastn_resolved::Value::new_string(
10128 fastn_builtins::constants::FTD_MASK_SIZE_CONTAIN,
10129 )
10130 .into_property_value(false, 0),
10131 ),
10132 0,
10133 )),
10134 ],
10135 line_number: 0,
10136 }),
10137 ),
10138
10139 (
10140 fastn_builtins::constants::FTD_MASK_REPEAT.to_string(),
10141 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10142 name: fastn_builtins::constants::FTD_MASK_REPEAT.to_string(),
10143 variants: vec![
10144 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10145 fastn_builtins::constants::FTD_MASK_REPEAT_BOTH_REPEAT,
10146 fastn_resolved::Kind::string()
10147 .into_kind_data()
10148 .caption(),
10149 false,
10150 Some(fastn_resolved::Value::new_string("repeat")
10151 .into_property_value(false, 0),),
10152 0,
10153 )),
10154 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10155 fastn_builtins::constants::FTD_MASK_REPEAT_X_REPEAT,
10156 fastn_resolved::Kind::string()
10157 .into_kind_data()
10158 .caption(),
10159 false,
10160 Some(fastn_resolved::Value::new_string("repeat-x")
10161 .into_property_value(false, 0)),
10162 0,
10163 )),
10164 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10165 fastn_builtins::constants::FTD_MASK_REPEAT_Y_REPEAT,
10166 fastn_resolved::Kind::string()
10167 .into_kind_data()
10168 .caption(),
10169 false,
10170 Some(fastn_resolved::Value::new_string("repeat-y")
10171 .into_property_value(false, 0)),
10172 0,
10173 )),
10174 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10175 fastn_builtins::constants::FTD_MASK_REPEAT_NO_REPEAT,
10176 fastn_resolved::Kind::string()
10177 .into_kind_data()
10178 .caption(),
10179 false,
10180 Some(fastn_resolved::Value::new_string("no-repeat")
10181 .into_property_value(false, 0)),
10182 0,
10183 )),
10184 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10185 fastn_builtins::constants::FTD_MASK_REPEAT_SPACE,
10186 fastn_resolved::Kind::string()
10187 .into_kind_data()
10188 .caption(),
10189 false,
10190 Some(fastn_resolved::Value::new_string("space")
10191 .into_property_value(false, 0)),
10192 0,
10193 )),
10194 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10195 fastn_builtins::constants::FTD_MASK_REPEAT_ROUND,
10196 fastn_resolved::Kind::string()
10197 .into_kind_data()
10198 .caption(),
10199 false,
10200 Some(fastn_resolved::Value::new_string("round")
10201 .into_property_value(false, 0)),
10202 0,
10203 )),
10204 ],
10205 line_number: 0,
10206 }),
10207 ),
10208 (
10209 fastn_builtins::constants::FTD_MASK_POSITION.to_string(),
10210 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10211 name: fastn_builtins::constants::FTD_MASK_POSITION.to_string(),
10212 variants: vec![
10213 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10214 fastn_builtins::constants::FTD_MASK_POSITION_LEFT,
10215 fastn_resolved::Kind::string()
10216 .into_kind_data()
10217 .caption(),
10218 false,
10219 Some(fastn_resolved::Value::new_string("left")
10220 .into_property_value(false, 0),),
10221 0,
10222 )),
10223 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10224 fastn_builtins::constants::FTD_MASK_POSITION_CENTER,
10225 fastn_resolved::Kind::string()
10226 .into_kind_data()
10227 .caption(),
10228 false,
10229 Some(fastn_resolved::Value::new_string("center")
10230 .into_property_value(false, 0)),
10231 0,
10232 )),
10233 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10234 fastn_builtins::constants::FTD_MASK_POSITION_RIGHT,
10235 fastn_resolved::Kind::string()
10236 .into_kind_data()
10237 .caption(),
10238 false,
10239 Some(fastn_resolved::Value::new_string("right")
10240 .into_property_value(false, 0)),
10241 0,
10242 )),
10243 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10244 fastn_builtins::constants::FTD_MASK_POSITION_LEFT_TOP,
10245 fastn_resolved::Kind::string()
10246 .into_kind_data()
10247 .caption(),
10248 false,
10249 Some(fastn_resolved::Value::new_string("left-top")
10250 .into_property_value(false, 0)),
10251 0,
10252 )),
10253 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10254 fastn_builtins::constants::FTD_MASK_POSITION_LEFT_CENTER,
10255 fastn_resolved::Kind::string()
10256 .into_kind_data()
10257 .caption(),
10258 false,
10259 Some(fastn_resolved::Value::new_string("left-center")
10260 .into_property_value(false, 0)),
10261 0,
10262 )),
10263 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10264 fastn_builtins::constants::FTD_MASK_POSITION_LEFT_BOTTOM,
10265 fastn_resolved::Kind::string()
10266 .into_kind_data()
10267 .caption(),
10268 false,
10269 Some(fastn_resolved::Value::new_string("left-bottom")
10270 .into_property_value(false, 0)),
10271 0,
10272 )),
10273 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10274 fastn_builtins::constants::FTD_MASK_POSITION_CENTER_TOP,
10275 fastn_resolved::Kind::string()
10276 .into_kind_data()
10277 .caption(),
10278 false,
10279 Some(fastn_resolved::Value::new_string("center-top")
10280 .into_property_value(false, 0)),
10281 0,
10282 )),
10283 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10284 fastn_builtins::constants::FTD_MASK_POSITION_CENTER_CENTER,
10285 fastn_resolved::Kind::string()
10286 .into_kind_data()
10287 .caption(),
10288 false,
10289 Some(fastn_resolved::Value::new_string("center-center")
10290 .into_property_value(false, 0)),
10291 0,
10292 )),
10293 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10294 fastn_builtins::constants::FTD_MASK_POSITION_CENTER_BOTTOM,
10295 fastn_resolved::Kind::string()
10296 .into_kind_data()
10297 .caption(),
10298 false,
10299 Some(fastn_resolved::Value::new_string("center-bottom")
10300 .into_property_value(false, 0)),
10301 0,
10302 )),
10303 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10304 fastn_builtins::constants::FTD_MASK_POSITION_RIGHT_TOP,
10305 fastn_resolved::Kind::string()
10306 .into_kind_data()
10307 .caption(),
10308 false,
10309 Some(fastn_resolved::Value::new_string("right-top")
10310 .into_property_value(false, 0)),
10311 0,
10312 )),
10313 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10314 fastn_builtins::constants::FTD_MASK_POSITION_RIGHT_CENTER,
10315 fastn_resolved::Kind::string()
10316 .into_kind_data()
10317 .caption(),
10318 false,
10319 Some(fastn_resolved::Value::new_string("right-center")
10320 .into_property_value(false, 0)),
10321 0,
10322 )),
10323 fastn_resolved::OrTypeVariant::Constant(fastn_resolved::Field::new(
10324 fastn_builtins::constants::FTD_MASK_POSITION_RIGHT_BOTTOM,
10325 fastn_resolved::Kind::string()
10326 .into_kind_data()
10327 .caption(),
10328 false,
10329 Some(fastn_resolved::Value::new_string("right-bottom")
10330 .into_property_value(false, 0)),
10331 0,
10332 )),
10333 fastn_resolved::OrTypeVariant::AnonymousRecord(fastn_resolved::Record {
10334 name: fastn_builtins::constants::FTD_MASK_POSITION_LENGTH.to_string(),
10335 fields: std::iter::IntoIterator::into_iter([
10336 fastn_resolved::Field {
10337 name: "x".to_string(),
10338 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
10339 .into_kind_data(),
10340 mutable: false,
10341 value: None,
10342 access_modifier: Default::default(),
10343 line_number: 0,
10344 },
10345 fastn_resolved::Field {
10346 name: "y".to_string(),
10347 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
10348 .into_kind_data(),
10349 mutable: false,
10350 value: None,
10351 access_modifier: Default::default(),
10352 line_number: 0,
10353 },
10354 ]).collect(),
10355 line_number: 0,
10356 }),
10357 ],
10358 line_number: 0,
10359 }),
10360 ),
10361 (
10362 fastn_builtins::constants::FTD_MASK_MULTI_DATA.to_string(),
10363 fastn_resolved::Definition::Record(fastn_resolved::Record {
10364 name: fastn_builtins::constants::FTD_MASK_MULTI_DATA.to_string(),
10365 fields: std::iter::IntoIterator::into_iter([
10366 fastn_resolved::Field {
10367 name: "image".to_string(),
10368 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_MASK_IMAGE_DATA)
10369 .into_kind_data(),
10370 mutable: false,
10371 value: None,
10372 access_modifier: Default::default(),
10373 line_number: 0,
10374 },
10375 fastn_resolved::Field {
10376 name: "size".to_string(),
10377 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK_SIZE)
10378 .into_kind_data()
10379 .into_optional(),
10380 mutable: false,
10381 value: None,
10382 access_modifier: Default::default(),
10383 line_number: 0,
10384 },
10385 fastn_resolved::Field {
10386 name: "size-x".to_string(),
10387 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK_SIZE)
10388 .into_kind_data()
10389 .into_optional(),
10390 mutable: false,
10391 value: None,
10392 access_modifier: Default::default(),
10393 line_number: 0,
10394 },
10395 fastn_resolved::Field {
10396 name: "size-y".to_string(),
10397 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK_SIZE)
10398 .into_kind_data()
10399 .into_optional(),
10400 mutable: false,
10401 value: None,
10402 access_modifier: Default::default(),
10403 line_number: 0,
10404 },
10405 fastn_resolved::Field {
10406 name: "repeat".to_string(),
10407 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK_REPEAT)
10408 .into_kind_data()
10409 .into_optional(),
10410 mutable: false,
10411 value: None,
10412 access_modifier: Default::default(),
10413 line_number: 0,
10414 },
10415 fastn_resolved::Field {
10416 name: "position".to_string(),
10417 kind: fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK_POSITION)
10418 .into_kind_data()
10419 .into_optional(),
10420 mutable: false,
10421 value: None,
10422 access_modifier: Default::default(),
10423 line_number: 0,
10424 },
10425 ]).collect(),
10426 line_number: 0,
10427 }),
10428 ),
10429 (
10430 fastn_builtins::constants::FTD_MASK.to_string(),
10431 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10432 name: fastn_builtins::constants::FTD_MASK.to_string(),
10433 variants: vec![
10434 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
10435 fastn_builtins::constants::FTD_MASK_IMAGE,
10436 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_MASK_IMAGE_DATA)
10437 .into_kind_data(),
10438 false,
10439 None,
10440 0,
10441 )),
10442 fastn_resolved::OrTypeVariant::Regular(fastn_resolved::Field::new(
10443 fastn_builtins::constants::FTD_MASK_MULTI,
10444 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_MASK_MULTI_DATA)
10445 .into_kind_data(),
10446 false,
10447 None,
10448 0,
10449 )),
10450 ],
10451 line_number: 0,
10452 }),
10453 ),
10454 (
10455 "ftd#integer-field".to_string(),
10456 fastn_resolved::Definition::Record(fastn_resolved::Record {
10457 name: "ftd#integer-field".to_string(),
10458 fields: std::iter::IntoIterator::into_iter([
10459 fastn_resolved::Field {
10460 name: "name".to_string(),
10461 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
10462 mutable: false,
10463 value: None,
10464 access_modifier: Default::default(),
10465 line_number: 0,
10466 },
10467 fastn_resolved::Field {
10468 name: "value".to_string(),
10469 kind: fastn_resolved::Kind::integer().into_kind_data(),
10470 mutable: false,
10471 value: Some(fastn_resolved::PropertyValue::Value {
10472 value: fastn_resolved::Value::Integer {
10473 value: 0
10474 },
10475 is_mutable: false,
10476 line_number: 0,
10477 }),
10478 access_modifier: Default::default(),
10479 line_number: 0,
10480 },
10481 fastn_resolved::Field {
10482 name: "error".to_string(),
10483 kind: fastn_resolved::Kind::string().into_optional().into_kind_data(),
10484 mutable: false,
10485 value: None,
10486 access_modifier: Default::default(),
10487 line_number: 0,
10488 },
10489 ]).collect(),
10490 line_number: 0,
10491 }),
10492 ),
10493 (
10494 "ftd#decimal-field".to_string(),
10495 fastn_resolved::Definition::Record(fastn_resolved::Record {
10496 name: "ftd#decimal-field".to_string(),
10497 fields: std::iter::IntoIterator::into_iter([
10498 fastn_resolved::Field {
10499 name: "name".to_string(),
10500 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
10501 mutable: false,
10502 value: None,
10503 access_modifier: Default::default(),
10504 line_number: 0,
10505 },
10506 fastn_resolved::Field {
10507 name: "value".to_string(),
10508 kind: fastn_resolved::Kind::decimal().into_kind_data(),
10509 mutable: false,
10510 value: Some(fastn_resolved::PropertyValue::Value {
10511 value: fastn_resolved::Value::Decimal {
10512 value: 0.0,
10513 },
10514 is_mutable: false,
10515 line_number: 0,
10516 }),
10517 access_modifier: Default::default(),
10518 line_number: 0,
10519 },
10520 fastn_resolved::Field {
10521 name: "error".to_string(),
10522 kind: fastn_resolved::Kind::string().into_optional().into_kind_data(),
10523 mutable: false,
10524 value: None,
10525 access_modifier: Default::default(),
10526 line_number: 0,
10527 },
10528 ]).collect(),
10529 line_number: 0,
10530 }),
10531 ),
10532 (
10533 "ftd#boolean-field".to_string(),
10534 fastn_resolved::Definition::Record(fastn_resolved::Record {
10535 name: "ftd#boolean-field".to_string(),
10536 fields: std::iter::IntoIterator::into_iter([
10537 fastn_resolved::Field {
10538 name: "name".to_string(),
10539 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
10540 mutable: false,
10541 value: None,
10542 access_modifier: Default::default(),
10543 line_number: 0,
10544 },
10545 fastn_resolved::Field {
10546 name: "value".to_string(),
10547 kind: fastn_resolved::Kind::boolean().into_kind_data(),
10548 mutable: false,
10549 value: Some(fastn_resolved::PropertyValue::Value {
10550 value: fastn_resolved::Value::Boolean {
10551 value: false,
10552 },
10553 is_mutable: false,
10554 line_number: 0,
10555 }),
10556 access_modifier: Default::default(),
10557 line_number: 0,
10558 },
10559 fastn_resolved::Field {
10560 name: "error".to_string(),
10561 kind: fastn_resolved::Kind::string().into_optional().into_kind_data(),
10562 mutable: false,
10563 value: None,
10564 access_modifier: Default::default(),
10565 line_number: 0,
10566 },
10567 ]).collect(),
10568 line_number: 0,
10569 }),
10570 ),
10571 (
10572 "ftd#string-field".to_string(),
10573 fastn_resolved::Definition::Record(fastn_resolved::Record {
10574 name: "ftd#string-field".to_string(),
10575 fields: std::iter::IntoIterator::into_iter([
10576 fastn_resolved::Field {
10577 name: "name".to_string(),
10578 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
10579 mutable: false,
10580 value: None,
10581 access_modifier: Default::default(),
10582 line_number: 0,
10583 },
10584 fastn_resolved::Field {
10585 name: "value".to_string(),
10586 kind: fastn_resolved::Kind::string().into_kind_data(),
10587 mutable: false,
10588 value: Some(fastn_resolved::PropertyValue::Value {
10589 value: fastn_resolved::Value::String {
10590 text: "".to_string(),
10591 },
10592 is_mutable: false,
10593 line_number: 0,
10594 }),
10595 access_modifier: Default::default(),
10596 line_number: 0,
10597 },
10598 fastn_resolved::Field {
10599 name: "error".to_string(),
10600 kind: fastn_resolved::Kind::string().into_optional().into_kind_data(),
10601 mutable: false,
10602 value: None,
10603 access_modifier: Default::default(),
10604 line_number: 0,
10605 },
10606 ]).collect(),
10607 line_number: 0,
10608 }),
10609 ),
10610 (
10611 "ftd#http-method".to_string(),
10612 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10613 name: "ftd#http-method".to_string(),
10614 variants: vec![
10615 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10616 "ftd#http-method.GET",
10617 fastn_resolved::Kind::string().into_kind_data(),
10618 false,
10619 Some(
10620 fastn_resolved::Value::new_string("GET")
10621 .into_property_value(false, 0),
10622 ),
10623 0
10624 )),
10625 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10626 "ftd#http-method.POST",
10627 fastn_resolved::Kind::string().into_kind_data(),
10628 false,
10629 Some(
10630 fastn_resolved::Value::new_string("POST")
10631 .into_property_value(false, 0),
10632 ),
10633 0
10634 )),
10635 ],
10636 line_number: 0,
10637 }),
10638 ),
10639 (
10640 "ftd#http-redirect".to_string(),
10641 fastn_resolved::Definition::OrType(fastn_resolved::OrType {
10642 name: "ftd#http-redirect".to_string(),
10643 variants: vec![
10644 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10645 "ftd#http-redirect.follow",
10646 fastn_resolved::Kind::string().into_kind_data(),
10647 false,
10648 Some(
10649 fastn_resolved::Value::new_string("follow")
10650 .into_property_value(false, 0),
10651 ),
10652 0
10653 )),
10654 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10655 "ftd#http-redirect.manual",
10656 fastn_resolved::Kind::string().into_kind_data(),
10657 false,
10658 Some(
10659 fastn_resolved::Value::new_string("manual")
10660 .into_property_value(false, 0),
10661 ),
10662 0
10663 )),
10664 fastn_resolved::OrTypeVariant::new_constant(fastn_resolved::Field::new(
10665 "ftd#http-redirect.error",
10666 fastn_resolved::Kind::string().into_kind_data(),
10667 false,
10668 Some(
10669 fastn_resolved::Value::new_string("error")
10670 .into_property_value(false, 0),
10671 ),
10672 0
10673 )),
10674 ],
10675 line_number: 0,
10676 }),
10677 ),
10678 ];
10679
10680 things.into_iter().collect()
10681}
10682
10683pub fn default_migration_bag() -> indexmap::IndexMap<String, fastn_resolved::Definition> {
10684 let test_things = vec![(
10685 "fastn#migration".to_string(),
10686 fastn_resolved::Definition::Component(fastn_migration_function()),
10687 )];
10688 test_things.into_iter().collect()
10689}
10690
10691pub fn fastn_migration_function() -> fastn_resolved::ComponentDefinition {
10692 fastn_resolved::ComponentDefinition {
10693 name: "fastn#migration".to_string(),
10694 arguments: [vec![
10695 fastn_resolved::Argument::default(
10696 "title",
10697 fastn_resolved::Kind::string()
10698 .into_kind_data()
10699 .caption()
10700 .into_optional(),
10701 ),
10702 fastn_resolved::Argument::default(
10703 "query",
10704 fastn_resolved::Kind::string().into_kind_data().body(),
10705 ),
10706 ]]
10707 .concat()
10708 .into_iter()
10709 .collect(),
10710 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10711 css: None,
10712 line_number: 0,
10713 }
10714}
10715
10716pub fn default_test_bag() -> indexmap::IndexMap<String, fastn_resolved::Definition> {
10717 let test_things = vec![
10718 (
10719 fastn_builtins::constants::FASTN_GET_QUERY_PARAMS.to_string(),
10720 fastn_resolved::Definition::Record(fastn_resolved::Record {
10721 name: fastn_builtins::constants::FASTN_GET_QUERY_PARAMS.to_string(),
10722 fields: std::iter::IntoIterator::into_iter([
10723 fastn_resolved::Field {
10724 name: "key".to_string(),
10725 kind: fastn_resolved::Kind::string().into_kind_data().caption(),
10726 mutable: false,
10727 value: None,
10728 access_modifier: Default::default(),
10729 line_number: 0,
10730 },
10731 fastn_resolved::Field {
10732 name: "value".to_string(),
10733 kind: fastn_resolved::Kind::string().into_kind_data(),
10734 mutable: false,
10735 value: None,
10736 access_modifier: Default::default(),
10737 line_number: 0,
10738 },
10739 ])
10740 .collect(),
10741 line_number: 0,
10742 }),
10743 ),
10744 (
10745 "fastn#get".to_string(),
10746 fastn_resolved::Definition::Component(fastn_get_function()),
10747 ),
10748 (
10749 "fastn#post".to_string(),
10750 fastn_resolved::Definition::Component(fastn_post_function()),
10751 ),
10752 (
10753 "fastn#redirect".to_string(),
10754 fastn_resolved::Definition::Component(fastn_redirect_function()),
10755 ),
10756 (
10757 "fastn#test".to_string(),
10758 fastn_resolved::Definition::Component(fastn_test_function()),
10759 ),
10760 ];
10761 test_things.into_iter().collect()
10762}
10763
10764pub fn fastn_get_function() -> fastn_resolved::ComponentDefinition {
10765 fastn_resolved::ComponentDefinition {
10766 name: "fastn#get".to_string(),
10767 arguments: [vec![
10768 fastn_resolved::Argument::default(
10769 "title",
10770 fastn_resolved::Kind::string().into_kind_data().caption(),
10771 ),
10772 fastn_resolved::Argument::default(
10773 "url",
10774 fastn_resolved::Kind::string().into_kind_data(),
10775 ),
10776 fastn_resolved::Argument::default(
10777 "test",
10778 fastn_resolved::Kind::string()
10779 .into_kind_data()
10780 .into_optional(),
10781 ),
10782 fastn_resolved::Argument::default(
10783 "http-status",
10784 fastn_resolved::Kind::string()
10785 .into_kind_data()
10786 .into_optional(),
10787 ),
10788 fastn_resolved::Argument::default(
10789 "http-location",
10790 fastn_resolved::Kind::string()
10791 .into_kind_data()
10792 .into_optional(),
10793 ),
10794 fastn_resolved::Argument::default(
10795 "http-redirect",
10796 fastn_resolved::Kind::string()
10797 .into_kind_data()
10798 .into_optional(),
10799 ),
10800 fastn_resolved::Argument::default(
10801 "id",
10802 fastn_resolved::Kind::string()
10803 .into_kind_data()
10804 .into_optional(),
10805 ),
10806 fastn_resolved::Argument::default(
10807 "query-params",
10808 fastn_resolved::Kind::record(fastn_builtins::constants::FASTN_GET_QUERY_PARAMS)
10809 .into_list()
10810 .into_kind_data(),
10811 ),
10812 ]]
10813 .concat()
10814 .into_iter()
10815 .collect(),
10816 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10817 css: None,
10818 line_number: 0,
10819 }
10820}
10821
10822pub fn fastn_post_function() -> fastn_resolved::ComponentDefinition {
10823 fastn_resolved::ComponentDefinition {
10824 name: "fastn#post".to_string(),
10825 arguments: [vec![
10826 fastn_resolved::Argument::default(
10827 "title",
10828 fastn_resolved::Kind::string().into_kind_data().caption(),
10829 ),
10830 fastn_resolved::Argument::default(
10831 "url",
10832 fastn_resolved::Kind::string().into_kind_data(),
10833 ),
10834 fastn_resolved::Argument::default(
10835 "body",
10836 fastn_resolved::Kind::string().into_kind_data().body(),
10837 ),
10838 fastn_resolved::Argument::default(
10839 "test",
10840 fastn_resolved::Kind::string()
10841 .into_kind_data()
10842 .into_optional(),
10843 ),
10844 fastn_resolved::Argument::default(
10845 "http-status",
10846 fastn_resolved::Kind::string()
10847 .into_kind_data()
10848 .into_optional(),
10849 ),
10850 fastn_resolved::Argument::default(
10851 "http-location",
10852 fastn_resolved::Kind::string()
10853 .into_kind_data()
10854 .into_optional(),
10855 ),
10856 fastn_resolved::Argument::default(
10857 "http-redirect",
10858 fastn_resolved::Kind::string()
10859 .into_kind_data()
10860 .into_optional(),
10861 ),
10862 fastn_resolved::Argument::default(
10863 "id",
10864 fastn_resolved::Kind::string()
10865 .into_kind_data()
10866 .into_optional(),
10867 ),
10868 ]]
10869 .concat()
10870 .into_iter()
10871 .collect(),
10872 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10873 css: None,
10874 line_number: 0,
10875 }
10876}
10877
10878pub fn fastn_redirect_function() -> fastn_resolved::ComponentDefinition {
10879 fastn_resolved::ComponentDefinition {
10880 name: "fastn#redirect".to_string(),
10881 arguments: vec![fastn_resolved::Argument::default(
10882 "http-redirect",
10883 fastn_resolved::Kind::string().into_kind_data().caption(),
10884 )],
10885 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10886 css: None,
10887 line_number: 0,
10888 }
10889}
10890
10891pub fn fastn_test_function() -> fastn_resolved::ComponentDefinition {
10892 fastn_resolved::ComponentDefinition {
10893 name: "fastn#test".to_string(),
10894 arguments: [vec![
10895 fastn_resolved::Argument::default(
10896 "title",
10897 fastn_resolved::Kind::string()
10898 .into_kind_data()
10899 .caption()
10900 .into_optional(),
10901 ),
10902 fastn_resolved::Argument::default(
10903 "fixtures",
10904 fastn_resolved::Kind::string().into_list().into_kind_data(),
10905 ),
10906 ]]
10907 .concat()
10908 .into_iter()
10909 .collect(),
10910 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10911 css: None,
10912 line_number: 0,
10913 }
10914}
10915
10916pub static DEFAULT_BAG: std::sync::LazyLock<
10917 indexmap::IndexMap<String, fastn_resolved::Definition>,
10918> = std::sync::LazyLock::new(default_bag);
10919
10920pub fn get_default_bag() -> &'static indexmap::IndexMap<String, fastn_resolved::Definition> {
10921 &DEFAULT_BAG
10922}
10923
10924pub fn image_function() -> fastn_resolved::ComponentDefinition {
10925 fastn_resolved::ComponentDefinition {
10926 name: "ftd#image".to_string(),
10927 arguments: [
10928 common_arguments(),
10929 vec![
10930 fastn_resolved::Argument::default(
10931 "src",
10932 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_IMAGE_SRC)
10933 .into_kind_data()
10934 .caption(),
10935 ),
10936 fastn_resolved::Argument::default(
10937 "fit",
10938 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_IMAGE_FIT)
10939 .into_kind_data()
10940 .into_optional(),
10941 ),
10942 fastn_resolved::Argument::default(
10943 "alt",
10944 fastn_resolved::Kind::string()
10945 .into_kind_data()
10946 .into_optional(),
10947 ),
10948 fastn_resolved::Argument::default(
10949 "fetch-priority",
10950 fastn_resolved::Kind::or_type(
10951 fastn_builtins::constants::FTD_IMAGE_FETCH_PRIORITY,
10952 )
10953 .into_kind_data()
10954 .into_optional(),
10955 ),
10956 ],
10957 ]
10958 .concat()
10959 .into_iter()
10960 .collect(),
10961 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
10962 css: None,
10963 line_number: 0,
10964 }
10965}
10966
10967pub fn audio_function() -> fastn_resolved::ComponentDefinition {
10968 fastn_resolved::ComponentDefinition {
10969 name: "ftd#audio".to_string(),
10970 arguments: [
10971 common_arguments(),
10972 vec![
10973 fastn_resolved::Argument::default(
10974 "src",
10975 fastn_resolved::Kind::string().into_kind_data(),
10976 ),
10977 fastn_resolved::Argument::default(
10978 "controls",
10979 fastn_resolved::Kind::boolean()
10980 .into_optional()
10981 .into_kind_data(),
10982 ),
10983 fastn_resolved::Argument::default(
10984 "loop",
10985 fastn_resolved::Kind::boolean()
10986 .into_optional()
10987 .into_kind_data(),
10988 ),
10989 fastn_resolved::Argument::default(
10990 "autoplay",
10991 fastn_resolved::Kind::boolean()
10992 .into_optional()
10993 .into_kind_data(),
10994 ),
10995 fastn_resolved::Argument::default(
10996 "muted",
10997 fastn_resolved::Kind::boolean()
10998 .into_optional()
10999 .into_kind_data(),
11000 ),
11001 ],
11002 ]
11003 .concat()
11004 .into_iter()
11005 .collect(),
11006 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11007 css: None,
11008 line_number: 0,
11009 }
11010}
11011
11012pub fn video_function() -> fastn_resolved::ComponentDefinition {
11013 fastn_resolved::ComponentDefinition {
11014 name: "ftd#video".to_string(),
11015 arguments: [
11016 common_arguments(),
11017 vec![
11018 fastn_resolved::Argument::default(
11019 "src",
11020 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_VIDEO_SRC)
11021 .into_kind_data()
11022 .caption(),
11023 ),
11024 fastn_resolved::Argument::default(
11025 "fit",
11026 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_IMAGE_FIT)
11027 .into_kind_data()
11028 .into_optional(),
11029 ),
11030 fastn_resolved::Argument::default(
11031 "controls",
11032 fastn_resolved::Kind::boolean()
11033 .into_optional()
11034 .into_kind_data(),
11035 ),
11036 fastn_resolved::Argument::default(
11037 "loop",
11038 fastn_resolved::Kind::boolean()
11039 .into_optional()
11040 .into_kind_data(),
11041 ),
11042 fastn_resolved::Argument::default(
11043 "autoplay",
11044 fastn_resolved::Kind::boolean()
11045 .into_optional()
11046 .into_kind_data(),
11047 ),
11048 fastn_resolved::Argument::default(
11049 "muted",
11050 fastn_resolved::Kind::boolean()
11051 .into_optional()
11052 .into_kind_data(),
11053 ),
11054 fastn_resolved::Argument::default(
11055 "poster",
11056 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_IMAGE_SRC)
11057 .into_optional()
11058 .into_kind_data(),
11059 ),
11060 ],
11061 ]
11062 .concat()
11063 .into_iter()
11064 .collect(),
11065 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11066 css: None,
11067 line_number: 0,
11068 }
11069}
11070
11071pub fn boolean_function() -> fastn_resolved::ComponentDefinition {
11072 fastn_resolved::ComponentDefinition {
11073 name: "ftd#boolean".to_string(),
11074 arguments: [
11075 text_arguments(),
11076 common_arguments(),
11077 vec![
11078 fastn_resolved::Argument::default(
11079 "value",
11080 fastn_resolved::Kind::boolean()
11081 .into_kind_data()
11082 .caption_or_body(),
11083 ),
11084 fastn_resolved::Argument::default(
11085 "style",
11086 fastn_resolved::Kind::string()
11087 .into_optional()
11088 .into_kind_data(),
11089 ),
11090 fastn_resolved::Argument::default(
11091 "format",
11092 fastn_resolved::Kind::string()
11093 .into_optional()
11094 .into_kind_data(),
11095 ),
11096 fastn_resolved::Argument::default(
11097 "text-align",
11098 fastn_resolved::Kind::string()
11099 .into_optional()
11100 .into_kind_data(),
11101 ),
11102 ],
11103 ]
11104 .concat()
11105 .into_iter()
11106 .collect(),
11107 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11108 css: None,
11109 line_number: 0,
11110 }
11111}
11112
11113pub fn checkbox_function() -> fastn_resolved::ComponentDefinition {
11114 fastn_resolved::ComponentDefinition {
11115 name: "ftd#checkbox".to_string(),
11116 arguments: [
11117 common_arguments(),
11118 vec![
11119 fastn_resolved::Argument::default(
11120 "checked",
11121 fastn_resolved::Kind::boolean()
11122 .into_optional()
11123 .into_kind_data(),
11124 ),
11125 fastn_resolved::Argument::default(
11126 "enabled",
11127 fastn_resolved::Kind::boolean()
11128 .into_optional()
11129 .into_kind_data(),
11130 ),
11131 ],
11132 ]
11133 .concat()
11134 .into_iter()
11135 .collect(),
11136 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11137 css: None,
11138 line_number: 0,
11139 }
11140}
11141
11142pub fn text_input_function() -> fastn_resolved::ComponentDefinition {
11143 fastn_resolved::ComponentDefinition {
11144 name: "ftd#text-input".to_string(),
11145 arguments: [
11146 text_arguments(),
11147 common_arguments(),
11148 vec![
11149 fastn_resolved::Argument::default(
11150 "placeholder",
11151 fastn_resolved::Kind::string()
11152 .into_optional()
11153 .into_kind_data(),
11154 ),
11155 fastn_resolved::Argument::default(
11156 "value",
11157 fastn_resolved::Kind::string()
11158 .into_optional()
11159 .into_kind_data(),
11160 ),
11161 fastn_resolved::Argument::default(
11162 "default-value",
11163 fastn_resolved::Kind::string()
11164 .into_optional()
11165 .into_kind_data(),
11166 ),
11167 fastn_resolved::Argument::default(
11168 "multiline",
11169 fastn_resolved::Kind::boolean()
11170 .into_optional()
11171 .into_kind_data(),
11172 ),
11173 fastn_resolved::Argument::default(
11174 "enabled",
11175 fastn_resolved::Kind::boolean()
11176 .into_optional()
11177 .into_kind_data(),
11178 ),
11179 fastn_resolved::Argument::default(
11180 "max-length",
11181 fastn_resolved::Kind::integer()
11182 .into_optional()
11183 .into_kind_data(),
11184 ),
11185 fastn_resolved::Argument::default(
11186 "type",
11187 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_TEXT_INPUT_TYPE)
11188 .into_optional()
11189 .into_kind_data(),
11190 ),
11191 ],
11192 ]
11193 .concat()
11194 .into_iter()
11195 .collect(),
11196 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11197 css: None,
11198 line_number: 0,
11199 }
11200}
11201
11202pub fn integer_function() -> fastn_resolved::ComponentDefinition {
11203 fastn_resolved::ComponentDefinition {
11204 name: "ftd#integer".to_string(),
11205 arguments: [
11206 text_arguments(),
11207 common_arguments(),
11208 vec![
11209 fastn_resolved::Argument::default(
11210 "value",
11211 fastn_resolved::Kind::integer()
11212 .into_kind_data()
11213 .caption_or_body(),
11214 ),
11215 fastn_resolved::Argument::default(
11216 "style",
11217 fastn_resolved::Kind::string()
11218 .into_optional()
11219 .into_kind_data(),
11220 ),
11221 fastn_resolved::Argument::default(
11222 "format",
11223 fastn_resolved::Kind::string()
11224 .into_optional()
11225 .into_kind_data(),
11226 ),
11227 fastn_resolved::Argument::default(
11228 "text-align",
11229 fastn_resolved::Kind::string()
11230 .into_optional()
11231 .into_kind_data(),
11232 ),
11233 ],
11234 ]
11235 .concat()
11236 .into_iter()
11237 .collect(),
11238 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11239 css: None,
11240 line_number: 0,
11241 }
11242}
11243
11244pub fn decimal_function() -> fastn_resolved::ComponentDefinition {
11245 fastn_resolved::ComponentDefinition {
11246 name: "ftd#decimal".to_string(),
11247 arguments: [
11248 text_arguments(),
11249 common_arguments(),
11250 vec![
11251 fastn_resolved::Argument::default(
11252 "value",
11253 fastn_resolved::Kind::decimal()
11254 .into_kind_data()
11255 .caption_or_body(),
11256 ),
11257 fastn_resolved::Argument::default(
11258 "style",
11259 fastn_resolved::Kind::string()
11260 .into_optional()
11261 .into_kind_data(),
11262 ),
11263 fastn_resolved::Argument::default(
11264 "format",
11265 fastn_resolved::Kind::string()
11266 .into_optional()
11267 .into_kind_data(),
11268 ),
11269 ],
11270 ]
11271 .concat()
11272 .into_iter()
11273 .collect(),
11274 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11275 css: None,
11276 line_number: 0,
11277 }
11278}
11279
11280pub fn markup_function() -> fastn_resolved::ComponentDefinition {
11281 fastn_resolved::ComponentDefinition {
11282 name: "ftd#text".to_string(),
11283 arguments: [
11284 text_arguments(),
11285 common_arguments(),
11286 vec![fastn_resolved::Argument::default(
11287 "text",
11288 fastn_resolved::Kind::string()
11289 .into_kind_data()
11290 .caption_or_body(),
11291 )],
11292 ]
11293 .concat()
11294 .into_iter()
11295 .collect(),
11296 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11297 css: None,
11298 line_number: 0,
11299 }
11300}
11301
11302pub fn row_function() -> fastn_resolved::ComponentDefinition {
11303 fastn_resolved::ComponentDefinition {
11304 name: "ftd#row".to_string(),
11305 arguments: [
11306 container_root_arguments(),
11307 container_arguments(),
11308 common_arguments(),
11309 ]
11310 .concat()
11311 .into_iter()
11312 .collect(),
11313 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11314 css: None,
11315 line_number: 0,
11316 }
11317}
11318
11319pub fn rive_function() -> fastn_resolved::ComponentDefinition {
11320 use itertools::Itertools;
11321
11322 fastn_resolved::ComponentDefinition {
11323 name: "ftd#rive".to_string(),
11324 arguments: [
11325 common_arguments()
11326 .into_iter()
11327 .filter(|v| v.name.ne("id"))
11328 .collect_vec(),
11329 vec![
11330 fastn_resolved::Argument::default(
11331 "id",
11332 fastn_resolved::Kind::string().into_kind_data().caption(),
11333 ),
11334 fastn_resolved::Argument::default(
11335 "src",
11336 fastn_resolved::Kind::string().into_kind_data(),
11337 ),
11338 fastn_resolved::Argument::default(
11339 "canvas-width",
11340 fastn_resolved::Kind::integer()
11341 .into_optional()
11342 .into_kind_data(),
11343 ),
11344 fastn_resolved::Argument::default(
11345 "canvas-height",
11346 fastn_resolved::Kind::integer()
11347 .into_optional()
11348 .into_kind_data(),
11349 ),
11350 fastn_resolved::Argument::default(
11351 "state-machine",
11352 fastn_resolved::Kind::string().into_list().into_kind_data(),
11353 ),
11354 fastn_resolved::Argument {
11355 name: "autoplay".to_string(),
11356 kind: fastn_resolved::Kind::boolean().into_kind_data(),
11357 mutable: false,
11358 value: Some(fastn_resolved::PropertyValue::Value {
11359 value: fastn_resolved::Value::Boolean { value: true },
11360 is_mutable: false,
11361 line_number: 0,
11362 }),
11363 access_modifier: Default::default(),
11364 line_number: 0,
11365 },
11366 fastn_resolved::Argument::default(
11367 "artboard",
11368 fastn_resolved::Kind::string()
11369 .into_optional()
11370 .into_kind_data(),
11371 ),
11372 ],
11373 ]
11374 .concat()
11375 .into_iter()
11376 .collect(),
11377 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11378 css: None,
11379 line_number: 0,
11380 }
11381}
11382
11383pub fn container_function() -> fastn_resolved::ComponentDefinition {
11384 fastn_resolved::ComponentDefinition {
11385 name: "ftd#container".to_string(),
11386 arguments: [
11387 container_root_arguments(),
11388 common_arguments(),
11389 vec![fastn_resolved::Argument::default(
11390 "display",
11391 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_DISPLAY)
11392 .into_optional()
11393 .into_kind_data(),
11394 )],
11395 ]
11396 .concat()
11397 .into_iter()
11398 .collect(),
11399 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11400 css: None,
11401 line_number: 0,
11402 }
11403}
11404
11405pub fn desktop_function() -> fastn_resolved::ComponentDefinition {
11406 fastn_resolved::ComponentDefinition {
11407 name: "ftd#desktop".to_string(),
11408 arguments: [container_root_arguments()].concat().into_iter().collect(),
11409 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11410 css: None,
11411 line_number: 0,
11412 }
11413}
11414
11415pub fn mobile_function() -> fastn_resolved::ComponentDefinition {
11416 fastn_resolved::ComponentDefinition {
11417 name: "ftd#mobile".to_string(),
11418 arguments: [container_root_arguments()].concat().into_iter().collect(),
11419 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11420 css: None,
11421 line_number: 0,
11422 }
11423}
11424
11425pub fn code_function() -> fastn_resolved::ComponentDefinition {
11426 fastn_resolved::ComponentDefinition {
11427 name: "ftd#code".to_string(),
11428 arguments: [
11429 text_arguments(),
11430 common_arguments(),
11431 vec![
11432 fastn_resolved::Argument::default(
11433 "text",
11434 fastn_resolved::Kind::string()
11435 .into_kind_data()
11436 .caption_or_body(),
11437 ),
11438 // TODO: Added `txt` as default
11439 fastn_resolved::Argument::default(
11440 "lang",
11441 fastn_resolved::Kind::string()
11442 .into_optional()
11443 .into_kind_data(),
11444 ),
11445 // TODO: Added `CODE_DEFAULT_THEME` as default
11446 fastn_resolved::Argument::default(
11447 "theme",
11448 fastn_resolved::Kind::string()
11449 .into_optional()
11450 .into_kind_data(),
11451 ),
11452 fastn_resolved::Argument::default_with_value(
11453 "show-line-number",
11454 fastn_resolved::Kind::boolean().into_kind_data(),
11455 fastn_resolved::Value::Boolean { value: false }.into_property_value(false, 0),
11456 ),
11457 ],
11458 ]
11459 .concat()
11460 .into_iter()
11461 .collect(),
11462 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11463 css: None,
11464 line_number: 0,
11465 }
11466}
11467
11468pub fn iframe_function() -> fastn_resolved::ComponentDefinition {
11469 fastn_resolved::ComponentDefinition {
11470 name: "ftd#iframe".to_string(),
11471 arguments: [
11472 common_arguments(),
11473 vec![
11474 fastn_resolved::Argument::default(
11475 "src",
11476 fastn_resolved::Kind::string()
11477 .into_optional()
11478 .into_kind_data()
11479 .caption(),
11480 ),
11481 fastn_resolved::Argument::default(
11482 "youtube",
11483 fastn_resolved::Kind::string()
11484 .into_optional()
11485 .into_kind_data(),
11486 ),
11487 fastn_resolved::Argument::default(
11488 "srcdoc",
11489 fastn_resolved::Kind::string()
11490 .into_optional()
11491 .into_kind_data()
11492 .body(),
11493 ),
11494 fastn_resolved::Argument::default(
11495 "loading",
11496 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LOADING)
11497 .into_optional()
11498 .into_kind_data(),
11499 ),
11500 ],
11501 ]
11502 .concat()
11503 .into_iter()
11504 .collect(),
11505 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11506 css: None,
11507 line_number: 0,
11508 }
11509}
11510
11511pub fn column_function() -> fastn_resolved::ComponentDefinition {
11512 fastn_resolved::ComponentDefinition {
11513 name: "ftd#column".to_string(),
11514 arguments: [
11515 container_root_arguments(),
11516 container_arguments(),
11517 common_arguments(),
11518 ]
11519 .concat()
11520 .into_iter()
11521 .collect(),
11522 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11523 css: None,
11524 line_number: 0,
11525 }
11526}
11527
11528pub fn document_function() -> fastn_resolved::ComponentDefinition {
11529 fastn_resolved::ComponentDefinition {
11530 name: "ftd#document".to_string(),
11531 arguments: [vec![
11532 fastn_resolved::Argument::default(
11533 "favicon",
11534 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RAW_IMAGE_SRC)
11535 .into_optional()
11536 .into_kind_data(),
11537 ),
11538 fastn_resolved::Argument::default(
11539 "breakpoint",
11540 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_BREAKPOINT_WIDTH_DATA)
11541 .into_optional()
11542 .into_kind_data(),
11543 ),
11544 fastn_resolved::Argument::default(
11545 "facebook-domain-verification",
11546 fastn_resolved::Kind::string()
11547 .into_optional()
11548 .into_kind_data(),
11549 ),
11550 fastn_resolved::Argument::default(
11551 "title",
11552 fastn_resolved::Kind::string()
11553 .into_optional()
11554 .into_kind_data()
11555 .caption_or_body(),
11556 ),
11557 fastn_resolved::Argument {
11558 name: "og-title".to_string(),
11559 kind: fastn_resolved::Kind::string()
11560 .into_optional()
11561 .into_kind_data(),
11562 mutable: false,
11563 value: Some(fastn_resolved::PropertyValue::Reference {
11564 name: "ftd#document.title".to_string(),
11565 kind: fastn_resolved::Kind::string()
11566 .into_optional()
11567 .into_kind_data(),
11568 source: fastn_resolved::PropertyValueSource::Local("document".to_string()),
11569 is_mutable: false,
11570 line_number: 0,
11571 }),
11572 access_modifier: Default::default(),
11573 line_number: 0,
11574 },
11575 fastn_resolved::Argument {
11576 name: "twitter-title".to_string(),
11577 kind: fastn_resolved::Kind::string()
11578 .into_optional()
11579 .into_kind_data(),
11580 mutable: false,
11581 value: Some(fastn_resolved::PropertyValue::Reference {
11582 name: "ftd#document.title".to_string(),
11583 kind: fastn_resolved::Kind::string()
11584 .into_optional()
11585 .into_kind_data(),
11586 source: fastn_resolved::PropertyValueSource::Local("document".to_string()),
11587 is_mutable: false,
11588 line_number: 0,
11589 }),
11590 access_modifier: Default::default(),
11591 line_number: 0,
11592 },
11593 fastn_resolved::Argument::default(
11594 "description",
11595 fastn_resolved::Kind::string()
11596 .into_optional()
11597 .into_kind_data(),
11598 ),
11599 fastn_resolved::Argument {
11600 name: "og-description".to_string(),
11601 kind: fastn_resolved::Kind::string()
11602 .into_optional()
11603 .into_kind_data(),
11604 mutable: false,
11605 value: Some(fastn_resolved::PropertyValue::Reference {
11606 name: "ftd#document.description".to_string(),
11607 kind: fastn_resolved::Kind::string()
11608 .into_optional()
11609 .into_kind_data(),
11610 source: fastn_resolved::PropertyValueSource::Local("document".to_string()),
11611 is_mutable: false,
11612 line_number: 0,
11613 }),
11614 access_modifier: Default::default(),
11615 line_number: 0,
11616 },
11617 fastn_resolved::Argument {
11618 name: "twitter-description".to_string(),
11619 kind: fastn_resolved::Kind::string()
11620 .into_optional()
11621 .into_kind_data(),
11622 mutable: false,
11623 value: Some(fastn_resolved::PropertyValue::Reference {
11624 name: "ftd#document.description".to_string(),
11625 kind: fastn_resolved::Kind::string()
11626 .into_optional()
11627 .into_kind_data(),
11628 source: fastn_resolved::PropertyValueSource::Local("document".to_string()),
11629 is_mutable: false,
11630 line_number: 0,
11631 }),
11632 access_modifier: Default::default(),
11633 line_number: 0,
11634 },
11635 fastn_resolved::Argument::default(
11636 "og-image",
11637 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RAW_IMAGE_SRC)
11638 .into_optional()
11639 .into_kind_data(),
11640 ),
11641 fastn_resolved::Argument {
11642 name: "twitter-image".to_string(),
11643 kind: fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RAW_IMAGE_SRC)
11644 .into_optional()
11645 .into_kind_data(),
11646 mutable: false,
11647 value: Some(fastn_resolved::PropertyValue::Reference {
11648 name: "ftd#document.og-image".to_string(),
11649 kind: fastn_resolved::Kind::string().into_kind_data(),
11650 source: fastn_resolved::PropertyValueSource::Local("document".to_string()),
11651 is_mutable: false,
11652 line_number: 0,
11653 }),
11654 access_modifier: Default::default(),
11655 line_number: 0,
11656 },
11657 fastn_resolved::Argument::default(
11658 "theme-color",
11659 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
11660 .into_optional()
11661 .into_kind_data(),
11662 ),
11663 fastn_resolved::Argument::default(
11664 "children",
11665 fastn_resolved::Kind::subsection_ui()
11666 .into_list()
11667 .into_kind_data(),
11668 ),
11669 fastn_resolved::Argument::default(
11670 "colors",
11671 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR_SCHEME)
11672 .into_optional()
11673 .into_kind_data(),
11674 ),
11675 fastn_resolved::Argument::default(
11676 "types",
11677 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE_DATA)
11678 .into_optional()
11679 .into_kind_data(),
11680 ),
11681 ]]
11682 .concat()
11683 .into_iter()
11684 .collect(),
11685 definition: fastn_resolved::ComponentInvocation::from_name("ftd.kernel"),
11686 css: None,
11687 line_number: 0,
11688 }
11689}
11690
11691fn container_root_arguments() -> Vec<fastn_resolved::Argument> {
11692 vec![
11693 fastn_resolved::Argument::default(
11694 "children",
11695 fastn_resolved::Kind::subsection_ui()
11696 .into_list()
11697 .into_kind_data(),
11698 ),
11699 fastn_resolved::Argument::default(
11700 "colors",
11701 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR_SCHEME)
11702 .into_optional()
11703 .into_kind_data(),
11704 ),
11705 fastn_resolved::Argument::default(
11706 "types",
11707 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_TYPE_DATA)
11708 .into_optional()
11709 .into_kind_data(),
11710 ),
11711 ]
11712}
11713
11714fn container_arguments() -> Vec<fastn_resolved::Argument> {
11715 vec![
11716 fastn_resolved::Argument::default(
11717 "wrap",
11718 fastn_resolved::Kind::boolean()
11719 .into_optional()
11720 .into_kind_data(),
11721 ),
11722 fastn_resolved::Argument::default(
11723 "align-content",
11724 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_ALIGN)
11725 .into_optional()
11726 .into_kind_data(),
11727 ),
11728 fastn_resolved::Argument::default(
11729 "spacing",
11730 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_SPACING)
11731 .into_optional()
11732 .into_kind_data(),
11733 ),
11734 fastn_resolved::Argument::default(
11735 "backdrop-filter",
11736 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BACKDROP_FILTER)
11737 .into_optional()
11738 .into_kind_data(),
11739 ),
11740 ]
11741}
11742
11743fn common_arguments() -> Vec<fastn_resolved::Argument> {
11744 vec![
11745 fastn_resolved::Argument::default(
11746 "opacity",
11747 fastn_resolved::Kind::decimal()
11748 .into_optional()
11749 .into_kind_data(),
11750 ),
11751 fastn_resolved::Argument::default(
11752 "shadow",
11753 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_SHADOW)
11754 .into_optional()
11755 .into_kind_data(),
11756 ),
11757 fastn_resolved::Argument::default(
11758 "sticky",
11759 fastn_resolved::Kind::boolean()
11760 .into_optional()
11761 .into_kind_data(),
11762 ),
11763 fastn_resolved::Argument::default(
11764 "rel",
11765 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LINK_REL)
11766 .into_list()
11767 .into_kind_data(),
11768 ),
11769 fastn_resolved::Argument::default(
11770 "download",
11771 fastn_resolved::Kind::string()
11772 .into_optional()
11773 .into_kind_data(),
11774 ),
11775 fastn_resolved::Argument::default(
11776 "id",
11777 fastn_resolved::Kind::string()
11778 .into_optional()
11779 .into_kind_data(),
11780 ),
11781 fastn_resolved::Argument::default(
11782 "border-style",
11783 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11784 .into_optional()
11785 .into_kind_data(),
11786 ),
11787 fastn_resolved::Argument::default(
11788 "border-style-left",
11789 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11790 .into_optional()
11791 .into_kind_data(),
11792 ),
11793 fastn_resolved::Argument::default(
11794 "border-style-right",
11795 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11796 .into_optional()
11797 .into_kind_data(),
11798 ),
11799 fastn_resolved::Argument::default(
11800 "border-style-top",
11801 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11802 .into_optional()
11803 .into_kind_data(),
11804 ),
11805 fastn_resolved::Argument::default(
11806 "border-style-bottom",
11807 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11808 .into_optional()
11809 .into_kind_data(),
11810 ),
11811 fastn_resolved::Argument::default(
11812 "border-style-vertical",
11813 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11814 .into_optional()
11815 .into_kind_data(),
11816 ),
11817 fastn_resolved::Argument::default(
11818 "border-style-horizontal",
11819 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BORDER_STYLE)
11820 .into_optional()
11821 .into_kind_data(),
11822 ),
11823 fastn_resolved::Argument::default(
11824 "z-index",
11825 fastn_resolved::Kind::integer()
11826 .into_optional()
11827 .into_kind_data(),
11828 ),
11829 fastn_resolved::Argument::default(
11830 "white-space",
11831 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_WHITESPACE)
11832 .into_optional()
11833 .into_kind_data(),
11834 ),
11835 fastn_resolved::Argument::default(
11836 "text-transform",
11837 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_TEXT_TRANSFORM)
11838 .into_optional()
11839 .into_kind_data(),
11840 ),
11841 fastn_resolved::Argument::default(
11842 "region",
11843 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_REGION)
11844 .into_optional()
11845 .into_kind_data(),
11846 ),
11847 fastn_resolved::Argument::default(
11848 "left",
11849 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
11850 .into_optional()
11851 .into_kind_data(),
11852 ),
11853 fastn_resolved::Argument::default(
11854 "right",
11855 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
11856 .into_optional()
11857 .into_kind_data(),
11858 ),
11859 fastn_resolved::Argument::default(
11860 "top",
11861 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
11862 .into_optional()
11863 .into_kind_data(),
11864 ),
11865 fastn_resolved::Argument::default(
11866 "bottom",
11867 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
11868 .into_optional()
11869 .into_kind_data(),
11870 ),
11871 fastn_resolved::Argument::default(
11872 "anchor",
11873 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_ANCHOR)
11874 .into_optional()
11875 .into_kind_data(),
11876 ),
11877 fastn_resolved::Argument::default(
11878 "role",
11879 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_RESPONSIVE_TYPE)
11880 .into_optional()
11881 .into_kind_data(),
11882 ),
11883 fastn_resolved::Argument::default(
11884 "cursor",
11885 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_CURSOR)
11886 .into_optional()
11887 .into_kind_data(),
11888 ),
11889 fastn_resolved::Argument::default(
11890 "classes",
11891 fastn_resolved::Kind::string().into_list().into_kind_data(),
11892 ),
11893 fastn_resolved::Argument::default(
11894 "js",
11895 fastn_resolved::Kind::string().into_list().into_kind_data(),
11896 ),
11897 fastn_resolved::Argument::default(
11898 "css",
11899 fastn_resolved::Kind::string().into_list().into_kind_data(),
11900 ),
11901 fastn_resolved::Argument::default(
11902 "open-in-new-tab",
11903 fastn_resolved::Kind::boolean()
11904 .into_optional()
11905 .into_kind_data(),
11906 ),
11907 fastn_resolved::Argument::default(
11908 "resize",
11909 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZE)
11910 .into_optional()
11911 .into_kind_data(),
11912 ),
11913 fastn_resolved::Argument::default(
11914 "overflow",
11915 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_OVERFLOW)
11916 .into_optional()
11917 .into_kind_data(),
11918 ),
11919 fastn_resolved::Argument::default(
11920 "overflow-x",
11921 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_OVERFLOW)
11922 .into_optional()
11923 .into_kind_data(),
11924 ),
11925 fastn_resolved::Argument::default(
11926 "overflow-y",
11927 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_OVERFLOW)
11928 .into_optional()
11929 .into_kind_data(),
11930 ),
11931 fastn_resolved::Argument::default(
11932 "align-self",
11933 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_ALIGN_SELF)
11934 .into_optional()
11935 .into_kind_data(),
11936 ),
11937 fastn_resolved::Argument::default(
11938 "background",
11939 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_BACKGROUND)
11940 .into_optional()
11941 .into_kind_data(),
11942 ),
11943 fastn_resolved::Argument::default(
11944 "border-color",
11945 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
11946 .into_optional()
11947 .into_kind_data(),
11948 ),
11949 fastn_resolved::Argument::default(
11950 "color",
11951 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
11952 .into_optional()
11953 .into_kind_data(),
11954 ),
11955 fastn_resolved::Argument::default(
11956 "max-width",
11957 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11958 .into_optional()
11959 .into_kind_data(),
11960 ),
11961 fastn_resolved::Argument::default(
11962 "min-width",
11963 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11964 .into_optional()
11965 .into_kind_data(),
11966 ),
11967 fastn_resolved::Argument::default(
11968 "min-height",
11969 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11970 .into_optional()
11971 .into_kind_data(),
11972 ),
11973 fastn_resolved::Argument::default(
11974 "max-height",
11975 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11976 .into_optional()
11977 .into_kind_data(),
11978 ),
11979 fastn_resolved::Argument::default(
11980 "width",
11981 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11982 .into_optional()
11983 .into_kind_data(),
11984 ),
11985 fastn_resolved::Argument::default(
11986 "height",
11987 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_RESIZING)
11988 .into_optional()
11989 .into_kind_data(),
11990 ),
11991 fastn_resolved::Argument::default(
11992 "padding",
11993 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
11994 .into_optional()
11995 .into_kind_data(),
11996 ),
11997 fastn_resolved::Argument::default(
11998 "padding-vertical",
11999 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12000 .into_optional()
12001 .into_kind_data(),
12002 ),
12003 fastn_resolved::Argument::default(
12004 "padding-horizontal",
12005 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12006 .into_optional()
12007 .into_kind_data(),
12008 ),
12009 fastn_resolved::Argument::default(
12010 "padding-left",
12011 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12012 .into_optional()
12013 .into_kind_data(),
12014 ),
12015 fastn_resolved::Argument::default(
12016 "padding-right",
12017 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12018 .into_optional()
12019 .into_kind_data(),
12020 ),
12021 fastn_resolved::Argument::default(
12022 "padding-top",
12023 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12024 .into_optional()
12025 .into_kind_data(),
12026 ),
12027 fastn_resolved::Argument::default(
12028 "padding-bottom",
12029 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12030 .into_optional()
12031 .into_kind_data(),
12032 ),
12033 fastn_resolved::Argument::default(
12034 "margin",
12035 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12036 .into_optional()
12037 .into_kind_data(),
12038 ),
12039 fastn_resolved::Argument::default(
12040 "margin-vertical",
12041 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12042 .into_optional()
12043 .into_kind_data(),
12044 ),
12045 fastn_resolved::Argument::default(
12046 "margin-horizontal",
12047 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12048 .into_optional()
12049 .into_kind_data(),
12050 ),
12051 fastn_resolved::Argument::default(
12052 "margin-left",
12053 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12054 .into_optional()
12055 .into_kind_data(),
12056 ),
12057 fastn_resolved::Argument::default(
12058 "margin-right",
12059 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12060 .into_optional()
12061 .into_kind_data(),
12062 ),
12063 fastn_resolved::Argument::default(
12064 "margin-top",
12065 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12066 .into_optional()
12067 .into_kind_data(),
12068 ),
12069 fastn_resolved::Argument::default(
12070 "margin-bottom",
12071 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12072 .into_optional()
12073 .into_kind_data(),
12074 ),
12075 fastn_resolved::Argument::default(
12076 "border-width",
12077 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12078 .into_optional()
12079 .into_kind_data(),
12080 ),
12081 fastn_resolved::Argument::default(
12082 "border-bottom-width",
12083 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12084 .into_optional()
12085 .into_kind_data(),
12086 ),
12087 fastn_resolved::Argument::default(
12088 "border-bottom-color",
12089 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
12090 .into_optional()
12091 .into_kind_data(),
12092 ),
12093 fastn_resolved::Argument::default(
12094 "border-top-width",
12095 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12096 .into_optional()
12097 .into_kind_data(),
12098 ),
12099 fastn_resolved::Argument::default(
12100 "border-top-color",
12101 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
12102 .into_optional()
12103 .into_kind_data(),
12104 ),
12105 fastn_resolved::Argument::default(
12106 "border-left-width",
12107 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12108 .into_optional()
12109 .into_kind_data(),
12110 ),
12111 fastn_resolved::Argument::default(
12112 "border-left-color",
12113 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
12114 .into_optional()
12115 .into_kind_data(),
12116 ),
12117 fastn_resolved::Argument::default(
12118 "border-right-width",
12119 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12120 .into_optional()
12121 .into_kind_data(),
12122 ),
12123 fastn_resolved::Argument::default(
12124 "border-right-color",
12125 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
12126 .into_optional()
12127 .into_kind_data(),
12128 ),
12129 fastn_resolved::Argument::default(
12130 "border-radius",
12131 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12132 .into_optional()
12133 .into_kind_data(),
12134 ),
12135 fastn_resolved::Argument::default(
12136 "border-top-left-radius",
12137 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12138 .into_optional()
12139 .into_kind_data(),
12140 ),
12141 fastn_resolved::Argument::default(
12142 "border-top-right-radius",
12143 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12144 .into_optional()
12145 .into_kind_data(),
12146 ),
12147 fastn_resolved::Argument::default(
12148 "border-bottom-left-radius",
12149 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12150 .into_optional()
12151 .into_kind_data(),
12152 ),
12153 fastn_resolved::Argument::default(
12154 "border-bottom-right-radius",
12155 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12156 .into_optional()
12157 .into_kind_data(),
12158 ),
12159 fastn_resolved::Argument::default(
12160 "link",
12161 fastn_resolved::Kind::string()
12162 .into_optional()
12163 .into_kind_data(),
12164 ),
12165 fastn_resolved::Argument::default(
12166 "selectable",
12167 fastn_resolved::Kind::boolean()
12168 .into_optional()
12169 .into_kind_data(),
12170 ),
12171 fastn_resolved::Argument::default(
12172 "mask",
12173 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_MASK)
12174 .into_optional()
12175 .into_kind_data(),
12176 ),
12177 ]
12178}
12179
12180fn text_arguments() -> Vec<fastn_resolved::Argument> {
12181 vec![
12182 fastn_resolved::Argument::default(
12183 "display",
12184 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_DISPLAY)
12185 .into_optional()
12186 .into_kind_data(),
12187 ),
12188 fastn_resolved::Argument::default(
12189 "text-align",
12190 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_TEXT_ALIGN)
12191 .into_optional()
12192 .into_kind_data(),
12193 ),
12194 fastn_resolved::Argument::default(
12195 "line-clamp",
12196 fastn_resolved::Kind::integer()
12197 .into_kind_data()
12198 .into_optional(),
12199 ),
12200 fastn_resolved::Argument::default(
12201 "text-indent",
12202 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_LENGTH)
12203 .into_kind_data()
12204 .into_optional(),
12205 ),
12206 fastn_resolved::Argument::default(
12207 "style",
12208 fastn_resolved::Kind::or_type(fastn_builtins::constants::FTD_TEXT_STYLE)
12209 .into_list()
12210 .into_optional()
12211 .into_kind_data(),
12212 ),
12213 fastn_resolved::Argument::default(
12214 "link-color",
12215 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_COLOR)
12216 .into_optional()
12217 .into_kind_data(),
12218 ),
12219 fastn_resolved::Argument::default(
12220 "text-shadow",
12221 fastn_resolved::Kind::record(fastn_builtins::constants::FTD_SHADOW)
12222 .into_optional()
12223 .into_kind_data(),
12224 ),
12225 ]
12226}
12227
12228/*fn kernel_component() -> fastn_resolved::ComponentDefinition {
12229 fastn_resolved::ComponentDefinition {
12230 name: "ftd.kernel".to_string(),
12231 arguments: vec![],
12232 definition: fastn_resolved::Component {
12233 name: "ftd.kernel".to_string(),
12234 properties: vec![],
12235 iteration: Box::new(None),
12236 condition: Box::new(None),
12237 events: vec![],
12238 children: vec![],
12239 line_number: 0,
12240 },
12241 line_number: 0,
12242 }
12243}*/