@albi_scando/as-const-lib 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,15 @@
1
- const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
1
+ const l = "&", t = 1e-6, i = "px", r = "", o = "deliberately-not-set", s = {
2
+ MP3: "mp3",
3
+ WAV: "wav",
4
+ AAC: "aac",
5
+ FLAC: "flac",
6
+ OGG: "ogg",
7
+ WMA: "wma",
8
+ M4A: "m4a",
9
+ ALAC: "alac",
10
+ AIFF: "aiff",
11
+ OPUS: "opus"
12
+ }, e = {
2
13
  ADD: '<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_227-add" serif:id="227-add" d="M3.887,10.53l6.543,0l0,-6.543l3,0l0,6.543l6.543,0l0,3l-6.543,0l0,6.543l-3,0l0,-6.543l-6.543,0l0,-3Z"/></svg>',
3
14
  ARROW_LEFT: '<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_038-arrow-left" serif:id="038-arrow-left" d="M15.53,6.53l-5.469,5.47l5.469,5.47l-1.06,1.06l-6.531,-6.53l6.531,-6.53c0.353,0.353 0.707,0.707 1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',
4
15
  ARROW_RIGHT: '<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_039-arrow-right" serif:id="039-arrow-right" d="M8.205,6.53l5.469,5.47l-5.469,5.47l1.06,1.06l6.53,-6.53l-6.53,-6.53c-0.353,0.353 -0.707,0.707 -1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',
@@ -28,7 +39,7 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
28
39
  INFO: '<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_223-info" serif:id="223-info" d="M13.684,3.24c0.512,-0 0.943,0.177 1.294,0.532c0.351,0.355 0.526,0.785 0.526,1.288c0,0.504 -0.177,0.933 -0.532,1.288c-0.355,0.355 -0.785,0.532 -1.288,0.532c-0.495,0 -0.92,-0.177 -1.275,-0.532c-0.355,-0.355 -0.533,-0.784 -0.533,-1.288c0,-0.503 0.176,-0.933 0.526,-1.288c0.351,-0.355 0.778,-0.532 1.282,-0.532Zm0.768,5.696l-2.539,8.803c-0.14,0.503 -0.21,0.834 -0.21,0.99c-0,0.091 0.037,0.176 0.111,0.254c0.075,0.079 0.153,0.118 0.236,0.118c0.14,-0 0.28,-0.062 0.421,-0.186c0.371,-0.305 0.817,-0.858 1.337,-1.659l0.421,0.248c-1.247,2.171 -2.572,3.256 -3.975,3.256c-0.536,0 -0.964,-0.151 -1.281,-0.452c-0.318,-0.301 -0.477,-0.683 -0.477,-1.145c-0,-0.306 0.07,-0.694 0.21,-1.164l1.722,-5.919c0.165,-0.569 0.247,-0.998 0.247,-1.287c0,-0.182 -0.078,-0.343 -0.235,-0.483c-0.157,-0.14 -0.372,-0.211 -0.644,-0.211c-0.124,0 -0.272,0.005 -0.446,0.013l0.161,-0.495l4.198,-0.681l0.743,-0Z" style="fill-rule:nonzero;"/></svg>',
29
40
  SAVE: '<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_010-save" serif:id="010-save" d="M14.942,9.325l-9.792,-0l0,-3.908l9.792,-0l0,3.908Zm-2.942,9.792c-0.827,-0 -1.517,-0.276 -2.069,-0.828c-0.551,-0.552 -0.827,-1.249 -0.827,-2.092c-0,-0.843 0.276,-1.54 0.827,-2.091c0.552,-0.552 1.242,-0.828 2.069,-0.828c0.827,0 1.517,0.276 2.069,0.828c0.551,0.551 0.827,1.248 0.827,2.091c0,0.843 -0.276,1.54 -0.827,2.092c-0.552,0.552 -1.242,0.828 -2.069,0.828Zm4.919,-15.677l-11.769,0c-0.582,0 -1.057,0.192 -1.425,0.575c-0.368,0.383 -0.552,0.85 -0.552,1.402l0,13.7c0,0.551 0.192,1.019 0.575,1.402c0.383,0.383 0.851,0.574 1.402,0.574l13.7,0c0.551,0 1.019,-0.191 1.402,-0.574c0.383,-0.383 0.575,-0.851 0.575,-1.402l-0,-11.769l-3.908,-3.908Z" style="fill-rule:nonzero;"/></svg>',
30
41
  SETTINGS: '<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_063-settings" serif:id="063-settings" d="M11.977,15.153c-0.868,-0.028 -1.587,-0.326 -2.157,-0.896c-0.569,-0.569 -0.854,-1.288 -0.854,-2.156c-0,-0.868 0.285,-1.587 0.854,-2.157c0.57,-0.569 1.289,-0.854 2.157,-0.854c0.868,0 1.587,0.285 2.156,0.854c0.57,0.57 0.855,1.289 0.855,2.157c-0,0.868 -0.285,1.587 -0.855,2.156c-0.569,0.57 -1.288,0.868 -2.156,0.896Zm6.469,-2.198c0.027,-0.271 0.041,-0.556 0.041,-0.854c-0,-0.298 -0.014,-0.583 -0.041,-0.855l1.831,-1.424c0.163,-0.162 0.19,-0.352 0.082,-0.569l-1.75,-3.011c-0.108,-0.19 -0.285,-0.244 -0.529,-0.163l-2.156,0.855c-0.434,-0.353 -0.923,-0.638 -1.465,-0.855l-0.326,-2.278c-0.054,-0.245 -0.19,-0.367 -0.407,-0.367l-3.499,0c-0.217,0 -0.352,0.122 -0.407,0.367l-0.325,2.278c-0.543,0.217 -1.031,0.502 -1.465,0.855l-2.156,-0.855c-0.244,-0.081 -0.421,-0.027 -0.529,0.163l-1.75,3.011c-0.108,0.217 -0.081,0.407 0.082,0.569l1.83,1.424c-0.027,0.272 -0.04,0.557 -0.04,0.855c-0,0.298 0.013,0.583 0.04,0.854l-1.83,1.424c-0.163,0.163 -0.19,0.353 -0.082,0.57l1.75,3.011c0.108,0.19 0.285,0.244 0.529,0.163l2.156,-0.855c0.434,0.353 0.922,0.638 1.465,0.855l0.325,2.278c0.055,0.244 0.19,0.367 0.407,0.367l3.499,-0c0.217,-0 0.353,-0.123 0.407,-0.367l0.326,-2.278c0.542,-0.217 1.031,-0.502 1.465,-0.855l2.156,0.855c0.244,0.081 0.421,0.027 0.529,-0.163l1.75,-3.011c0.108,-0.217 0.081,-0.407 -0.082,-0.57l-1.831,-1.424Z" style="fill-rule:nonzero;"/></svg>'
31
- }, o = {
42
+ }, n = {
32
43
  ALIAS: "alias",
33
44
  ALL_SCROLL: "all-scroll",
34
45
  AUTO: "auto",
@@ -66,9 +77,27 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
66
77
  ZOOM_IN: "zoom-in",
67
78
  ZOOM_OUT: "zoom-out",
68
79
  CUSTOM_CROSSHAIR: `url("data:image/svg+xml;base64,${btoa(e.CUSTOM_CROSSHAIR)}") 16 16, auto`
69
- }, n = {
70
- CHANGE_LANGUAGE: "changeLanguage"
71
80
  }, w = {
81
+ CHANGE_LANGUAGE: "changeLanguage"
82
+ }, c = {
83
+ PDF: "pdf",
84
+ DOC: "doc",
85
+ DOCX: "docx",
86
+ XLS: "xls",
87
+ XLSX: "xlsx",
88
+ PPT: "ppt",
89
+ PPTX: "pptx",
90
+ TXT: "txt",
91
+ RTF: "rtf",
92
+ ODT: "odt",
93
+ ODS: "ods",
94
+ ODP: "odp",
95
+ CSV: "csv",
96
+ MD: "md",
97
+ HTML: "html",
98
+ XML: "xml",
99
+ JSON: "json"
100
+ }, E = {
72
101
  DRAG: "drag",
73
102
  DRAG_END: "dragend",
74
103
  DRAG_ENTER: "dragenter",
@@ -76,21 +105,36 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
76
105
  DRAG_OVER: "dragover",
77
106
  DRAG_START: "dragstart",
78
107
  DROP: "drop"
79
- }, c = {
108
+ }, d = {
109
+ JPEG: "jpeg",
110
+ JPG: "jpg",
111
+ PNG: "png",
112
+ GIF: "gif",
113
+ WEBP: "webp",
114
+ BMP: "bmp",
115
+ TIFF: "tiff",
116
+ TIF: "tif",
117
+ SVG: "svg",
118
+ HEIF: "heif",
119
+ HEIC: "heic",
120
+ AVIF: "avif",
121
+ ICO: "ico",
122
+ RAW: "raw"
123
+ }, p = {
80
124
  BEFORE_BEGIN: "beforebegin",
81
125
  AFTER_BEGIN: "afterbegin",
82
126
  BEFORE_END: "beforeend",
83
127
  AFTER_END: "afterend"
84
- }, E = {
128
+ }, m = {
85
129
  KEY_DOWN: "keydown",
86
130
  KEY_UP: "keyup"
87
- }, d = {
131
+ }, g = {
88
132
  ADD_TRACK: "addtrack",
89
133
  ENDED: "ended",
90
134
  MUTE: "mute",
91
135
  REMOVE_TRACK: "removetrack",
92
136
  UNMUTE: "unmute"
93
- }, m = {
137
+ }, h = {
94
138
  MOUSE_DOWN: "mousedown",
95
139
  MOUSE_UP: "mouseup",
96
140
  MOUSE_OVER: "mouseover",
@@ -99,11 +143,11 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
99
143
  CLICK: "click",
100
144
  DOUBLE_CLICK: "dblclick",
101
145
  CONTEXT_MENU: "contextmenu"
102
- }, p = {
146
+ }, v = {
103
147
  ENTER_PICTURE_IN_PICTURE: "enterpictureinpicture",
104
148
  LEAVE_PICTURE_IN_PICTURE: "leavepictureinpicture",
105
149
  RESIZE: "resize"
106
- }, h = {
150
+ }, x = {
107
151
  POINTER_OVER: "pointerover",
108
152
  POINTER_ENTER: "pointerenter",
109
153
  POINTER_DOWN: "pointerdown",
@@ -115,7 +159,7 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
115
159
  POINTER_LEAVE: "pointerleave",
116
160
  POINTER_CAPTURE: "gotpointercapture",
117
161
  LOST_POINTER_CAPTURE: "lostpointercapture"
118
- }, g = {
162
+ }, T = {
119
163
  ARRAY: "object",
120
164
  BOOLEAN: "boolean",
121
165
  CHECK: "check",
@@ -131,15 +175,15 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
131
175
  COLOR: "color",
132
176
  DATE: "date",
133
177
  TEXT: "text"
134
- }, v = {
178
+ }, O = {
135
179
  DARK: "dark",
136
180
  LIGHT: "light"
137
- }, x = {
181
+ }, _ = {
138
182
  TOUCH_START: "touchstart",
139
183
  TOUCH_END: "touchend",
140
184
  TOUCH_MOVE: "touchmove",
141
185
  TOUCH_CANCEL: "touchcancel"
142
- }, _ = {
186
+ }, a = {
143
187
  BIGINT: "bigint",
144
188
  BOOLEAN: "boolean",
145
189
  FUNCTION: "function",
@@ -149,27 +193,41 @@ const l = "&", t = 1e-6, i = "px", r = "", s = "deliberately-not-set", e = {
149
193
  SYMBOL: "symbol",
150
194
  UNDEFINED: "undefined"
151
195
  }, R = {
196
+ MP4: "mp4",
197
+ MOV: "mov",
198
+ AVI: "avi",
199
+ MKV: "mkv",
200
+ WMV: "wmv",
201
+ FLV: "flv",
202
+ WEBM: "webm",
203
+ MPEG: "mpeg",
204
+ MPG: "mpg"
205
+ }, u = {
152
206
  WHEEL: "wheel"
153
207
  };
154
208
  export {
155
209
  l as AMPERSAND,
156
- o as CURSOR,
157
- n as CUSTOM_EVENTS,
158
- w as DRAG_EVENTS,
210
+ s as AUDIO_FILE_FORMATS,
211
+ n as CURSOR,
212
+ w as CUSTOM_EVENTS,
213
+ c as DOCUMENT_FILE_FORMATS,
214
+ E as DRAG_EVENTS,
159
215
  t as FLOAT_TOLERANCE,
160
- c as INSERT_ADJACENT_HTML,
161
- E as KEYBOARD_EVENTS,
162
- d as MEDIA_STREAM_EVENTS,
163
- m as MOUSE_EVENTS,
164
- p as PICTURE_IN_PICTURE_EVENTS,
165
- h as POINTER_EVENTS,
216
+ d as IMAGE_FILE_FORMATS,
217
+ p as INSERT_ADJACENT_HTML,
218
+ m as KEYBOARD_EVENTS,
219
+ g as MEDIA_STREAM_EVENTS,
220
+ h as MOUSE_EVENTS,
221
+ v as PICTURE_IN_PICTURE_EVENTS,
222
+ x as POINTER_EVENTS,
166
223
  i as PX,
167
- g as STORYBOOK_CONTROL_TYPES,
224
+ T as STORYBOOK_CONTROL_TYPES,
168
225
  r as STRING_EMPTY,
169
226
  e as SVG,
170
- v as THEMES,
171
- x as TOUCH_EVENTS,
172
- s as TRANSLATION_DELIBERATELY_UNSET,
173
- _ as TYPEOF,
174
- R as WHEEL_EVENTS
227
+ O as THEMES,
228
+ _ as TOUCH_EVENTS,
229
+ o as TRANSLATION_DELIBERATELY_UNSET,
230
+ a as TYPEOF,
231
+ R as VIDEO_FILE_FORMATS,
232
+ u as WHEEL_EVENTS
175
233
  };
@@ -1,4 +1,4 @@
1
- (function(e,l){typeof exports=="object"&&typeof module<"u"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(e=typeof globalThis<"u"?globalThis:e||self,l(e["as-const-lib"]={}))})(this,(function(e){"use strict";const t="deliberately-not-set",i={ADD:'<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_227-add" serif:id="227-add" d="M3.887,10.53l6.543,0l0,-6.543l3,0l0,6.543l6.543,0l0,3l-6.543,0l0,6.543l-3,0l0,-6.543l-6.543,0l0,-3Z"/></svg>',ARROW_LEFT:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_038-arrow-left" serif:id="038-arrow-left" d="M15.53,6.53l-5.469,5.47l5.469,5.47l-1.06,1.06l-6.531,-6.53l6.531,-6.53c0.353,0.353 0.707,0.707 1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',ARROW_RIGHT:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_039-arrow-right" serif:id="039-arrow-right" d="M8.205,6.53l5.469,5.47l-5.469,5.47l1.06,1.06l6.53,-6.53l-6.53,-6.53c-0.353,0.353 -0.707,0.707 -1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',ARROW_DOWN:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_068-arrow-down" serif:id="068-arrow-down" d="M11.988,12.815l4.822,-4.822l1.547,1.547l-4.822,4.822l-0,-0l-1.547,1.547l-0,-0l-0,-0l-1.547,-1.547l-0,-0l-4.822,-4.822l1.547,-1.547l4.822,4.822Z"/></svg>',ARROW_UP:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_069-arrow-up" serif:id="069-arrow-up" d="M11.93,10.994l4.822,4.822l1.547,-1.547l-4.822,-4.822l0,-0l-1.547,-1.547l0,-0l0,-0l-1.547,1.547l0,-0l-4.822,4.822l1.547,1.547l4.822,-4.822Z"/></svg>',BIN:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_102-bin" serif:id="102-bin" d="M18.612,4.44l-3.284,-0l-0.976,-0.932l-4.704,0l-0.976,0.932l-3.284,-0l0,1.908l13.224,-0l-0,-1.908Zm-12.292,14.199c0,0.533 0.185,0.984 0.555,1.354c0.37,0.369 0.821,0.554 1.353,0.554l7.544,0c0.532,0 0.983,-0.185 1.353,-0.554c0.37,-0.37 0.555,-0.821 0.555,-1.354l-0,-11.359l-11.36,-0l0,11.359Z" style="fill-rule:nonzero;"/></svg>',CHECKED:'<svg width="100%" height="100%" viewBox="0 0 24 24"xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_246-checked" serif:id="246-checked" d="M9.937,18.439l-5.92,-6.421l2.508,-2.508l3.412,3.709l7.512,-7.595l2.621,2.682l-10.133,10.133Z" style="fill-rule:nonzero;"/></svg>',CLOSE:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_206-close" serif:id="206-close" d="M21.164,4.583l-1.846,-1.846l-7.324,7.323l-7.324,-7.323l-1.846,1.846l7.324,7.324l-7.324,7.324l1.846,1.846l7.324,-7.324l7.324,7.324l1.846,-1.846l-7.324,-7.324l7.324,-7.324Z" style="fill-rule:nonzero;"/></svg>',CLOSE_OUTLINED:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_222-close-outlined" serif:id="222-close-outlined" d="M11.773,3.406c3.929,0.038 7.543,3.136 8.293,7.045c1.026,5.353 -3.898,11.104 -9.919,9.982c-3.668,-0.683 -6.408,-3.671 -6.923,-7.189c-0.697,-4.754 3.171,-9.722 8.328,-9.836c0.074,-0.001 0.147,-0.002 0.221,-0.002Zm-0.101,1.497c-3.252,0.031 -6.299,2.528 -6.916,5.747c-0.854,4.449 3.333,9.296 8.39,8.286c2.403,-0.479 5.149,-3.126 5.52,-6.041c0.502,-3.95 -2.709,-8.006 -6.994,-7.992Zm0.041,6.102l3.078,-3.078l1.127,1.128l-3.078,3.078l3.078,3.077l-1.127,1.128l-3.078,-3.078l-3.078,3.078l-1.127,-1.128l3.078,-3.077l-3.078,-3.078l1.127,-1.128l3.078,3.078Z" style="fill-rule:nonzero;"/></svg>',CUSTOM_CROSSHAIR:`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
1
+ (function(e,l){typeof exports=="object"&&typeof module<"u"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(e=typeof globalThis<"u"?globalThis:e||self,l(e["as-const-lib"]={}))})(this,(function(e){"use strict";const t="deliberately-not-set",r={MP3:"mp3",WAV:"wav",AAC:"aac",FLAC:"flac",OGG:"ogg",WMA:"wma",M4A:"m4a",ALAC:"alac",AIFF:"aiff",OPUS:"opus"},i={ADD:'<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_227-add" serif:id="227-add" d="M3.887,10.53l6.543,0l0,-6.543l3,0l0,6.543l6.543,0l0,3l-6.543,0l0,6.543l-3,0l0,-6.543l-6.543,0l0,-3Z"/></svg>',ARROW_LEFT:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_038-arrow-left" serif:id="038-arrow-left" d="M15.53,6.53l-5.469,5.47l5.469,5.47l-1.06,1.06l-6.531,-6.53l6.531,-6.53c0.353,0.353 0.707,0.707 1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',ARROW_RIGHT:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_039-arrow-right" serif:id="039-arrow-right" d="M8.205,6.53l5.469,5.47l-5.469,5.47l1.06,1.06l6.53,-6.53l-6.53,-6.53c-0.353,0.353 -0.707,0.707 -1.06,1.06Z" style="fill-rule:nonzero;"/></svg>',ARROW_DOWN:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_068-arrow-down" serif:id="068-arrow-down" d="M11.988,12.815l4.822,-4.822l1.547,1.547l-4.822,4.822l-0,-0l-1.547,1.547l-0,-0l-0,-0l-1.547,-1.547l-0,-0l-4.822,-4.822l1.547,-1.547l4.822,4.822Z"/></svg>',ARROW_UP:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_069-arrow-up" serif:id="069-arrow-up" d="M11.93,10.994l4.822,4.822l1.547,-1.547l-4.822,-4.822l0,-0l-1.547,-1.547l0,-0l0,-0l-1.547,1.547l0,-0l-4.822,4.822l1.547,1.547l4.822,-4.822Z"/></svg>',BIN:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_102-bin" serif:id="102-bin" d="M18.612,4.44l-3.284,-0l-0.976,-0.932l-4.704,0l-0.976,0.932l-3.284,-0l0,1.908l13.224,-0l-0,-1.908Zm-12.292,14.199c0,0.533 0.185,0.984 0.555,1.354c0.37,0.369 0.821,0.554 1.353,0.554l7.544,0c0.532,0 0.983,-0.185 1.353,-0.554c0.37,-0.37 0.555,-0.821 0.555,-1.354l-0,-11.359l-11.36,-0l0,11.359Z" style="fill-rule:nonzero;"/></svg>',CHECKED:'<svg width="100%" height="100%" viewBox="0 0 24 24"xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_246-checked" serif:id="246-checked" d="M9.937,18.439l-5.92,-6.421l2.508,-2.508l3.412,3.709l7.512,-7.595l2.621,2.682l-10.133,10.133Z" style="fill-rule:nonzero;"/></svg>',CLOSE:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_206-close" serif:id="206-close" d="M21.164,4.583l-1.846,-1.846l-7.324,7.323l-7.324,-7.323l-1.846,1.846l7.324,7.324l-7.324,7.324l1.846,1.846l7.324,-7.324l7.324,7.324l1.846,-1.846l-7.324,-7.324l7.324,-7.324Z" style="fill-rule:nonzero;"/></svg>',CLOSE_OUTLINED:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_222-close-outlined" serif:id="222-close-outlined" d="M11.773,3.406c3.929,0.038 7.543,3.136 8.293,7.045c1.026,5.353 -3.898,11.104 -9.919,9.982c-3.668,-0.683 -6.408,-3.671 -6.923,-7.189c-0.697,-4.754 3.171,-9.722 8.328,-9.836c0.074,-0.001 0.147,-0.002 0.221,-0.002Zm-0.101,1.497c-3.252,0.031 -6.299,2.528 -6.916,5.747c-0.854,4.449 3.333,9.296 8.39,8.286c2.403,-0.479 5.149,-3.126 5.52,-6.041c0.502,-3.95 -2.709,-8.006 -6.994,-7.992Zm0.041,6.102l3.078,-3.078l1.127,1.128l-3.078,3.078l3.078,3.077l-1.127,1.128l-3.078,-3.078l-3.078,3.078l-1.127,-1.128l3.078,-3.077l-3.078,-3.078l1.127,-1.128l3.078,3.078Z" style="fill-rule:nonzero;"/></svg>',CUSTOM_CROSSHAIR:`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
2
2
  <!-- White border (underneath) -->
3
3
  <line x1="16" y1="2" x2="16" y2="30" stroke="white" stroke-width="5"/>
4
4
  <line x1="2" y1="16" x2="30" y2="16" stroke="white" stroke-width="5"/>
@@ -12,4 +12,4 @@
12
12
  <path d="M6,20C5.45,20 4.979,19.804 4.588,19.413C4.196,19.021 4,18.55 4,18L4,15L6,15L6,18L18,18L18,15L20,15L20,18C20,18.55 19.804,19.021 19.413,19.413C19.021,19.804 18.55,20 18,20L6,20ZM12,16L7,11L8.4,9.55L11,12.15L11,4L13,4L13,12.15L15.6,9.55L17,11L12,16Z" style="fill-rule:nonzero;"/>
13
13
  </g>
14
14
  </g>
15
- </svg>`,INFO:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_223-info" serif:id="223-info" d="M13.684,3.24c0.512,-0 0.943,0.177 1.294,0.532c0.351,0.355 0.526,0.785 0.526,1.288c0,0.504 -0.177,0.933 -0.532,1.288c-0.355,0.355 -0.785,0.532 -1.288,0.532c-0.495,0 -0.92,-0.177 -1.275,-0.532c-0.355,-0.355 -0.533,-0.784 -0.533,-1.288c0,-0.503 0.176,-0.933 0.526,-1.288c0.351,-0.355 0.778,-0.532 1.282,-0.532Zm0.768,5.696l-2.539,8.803c-0.14,0.503 -0.21,0.834 -0.21,0.99c-0,0.091 0.037,0.176 0.111,0.254c0.075,0.079 0.153,0.118 0.236,0.118c0.14,-0 0.28,-0.062 0.421,-0.186c0.371,-0.305 0.817,-0.858 1.337,-1.659l0.421,0.248c-1.247,2.171 -2.572,3.256 -3.975,3.256c-0.536,0 -0.964,-0.151 -1.281,-0.452c-0.318,-0.301 -0.477,-0.683 -0.477,-1.145c-0,-0.306 0.07,-0.694 0.21,-1.164l1.722,-5.919c0.165,-0.569 0.247,-0.998 0.247,-1.287c0,-0.182 -0.078,-0.343 -0.235,-0.483c-0.157,-0.14 -0.372,-0.211 -0.644,-0.211c-0.124,0 -0.272,0.005 -0.446,0.013l0.161,-0.495l4.198,-0.681l0.743,-0Z" style="fill-rule:nonzero;"/></svg>',SAVE:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_010-save" serif:id="010-save" d="M14.942,9.325l-9.792,-0l0,-3.908l9.792,-0l0,3.908Zm-2.942,9.792c-0.827,-0 -1.517,-0.276 -2.069,-0.828c-0.551,-0.552 -0.827,-1.249 -0.827,-2.092c-0,-0.843 0.276,-1.54 0.827,-2.091c0.552,-0.552 1.242,-0.828 2.069,-0.828c0.827,0 1.517,0.276 2.069,0.828c0.551,0.551 0.827,1.248 0.827,2.091c0,0.843 -0.276,1.54 -0.827,2.092c-0.552,0.552 -1.242,0.828 -2.069,0.828Zm4.919,-15.677l-11.769,0c-0.582,0 -1.057,0.192 -1.425,0.575c-0.368,0.383 -0.552,0.85 -0.552,1.402l0,13.7c0,0.551 0.192,1.019 0.575,1.402c0.383,0.383 0.851,0.574 1.402,0.574l13.7,0c0.551,0 1.019,-0.191 1.402,-0.574c0.383,-0.383 0.575,-0.851 0.575,-1.402l-0,-11.769l-3.908,-3.908Z" style="fill-rule:nonzero;"/></svg>',SETTINGS:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_063-settings" serif:id="063-settings" d="M11.977,15.153c-0.868,-0.028 -1.587,-0.326 -2.157,-0.896c-0.569,-0.569 -0.854,-1.288 -0.854,-2.156c-0,-0.868 0.285,-1.587 0.854,-2.157c0.57,-0.569 1.289,-0.854 2.157,-0.854c0.868,0 1.587,0.285 2.156,0.854c0.57,0.57 0.855,1.289 0.855,2.157c-0,0.868 -0.285,1.587 -0.855,2.156c-0.569,0.57 -1.288,0.868 -2.156,0.896Zm6.469,-2.198c0.027,-0.271 0.041,-0.556 0.041,-0.854c-0,-0.298 -0.014,-0.583 -0.041,-0.855l1.831,-1.424c0.163,-0.162 0.19,-0.352 0.082,-0.569l-1.75,-3.011c-0.108,-0.19 -0.285,-0.244 -0.529,-0.163l-2.156,0.855c-0.434,-0.353 -0.923,-0.638 -1.465,-0.855l-0.326,-2.278c-0.054,-0.245 -0.19,-0.367 -0.407,-0.367l-3.499,0c-0.217,0 -0.352,0.122 -0.407,0.367l-0.325,2.278c-0.543,0.217 -1.031,0.502 -1.465,0.855l-2.156,-0.855c-0.244,-0.081 -0.421,-0.027 -0.529,0.163l-1.75,3.011c-0.108,0.217 -0.081,0.407 0.082,0.569l1.83,1.424c-0.027,0.272 -0.04,0.557 -0.04,0.855c-0,0.298 0.013,0.583 0.04,0.854l-1.83,1.424c-0.163,0.163 -0.19,0.353 -0.082,0.57l1.75,3.011c0.108,0.19 0.285,0.244 0.529,0.163l2.156,-0.855c0.434,0.353 0.922,0.638 1.465,0.855l0.325,2.278c0.055,0.244 0.19,0.367 0.407,0.367l3.499,-0c0.217,-0 0.353,-0.123 0.407,-0.367l0.326,-2.278c0.542,-0.217 1.031,-0.502 1.465,-0.855l2.156,0.855c0.244,0.081 0.421,0.027 0.529,-0.163l1.75,-3.011c0.108,-0.217 0.081,-0.407 -0.082,-0.57l-1.831,-1.424Z" style="fill-rule:nonzero;"/></svg>'},r={ALIAS:"alias",ALL_SCROLL:"all-scroll",AUTO:"auto",CELL:"cell",COL_RESIZE:"col-resize",CONTEXT_MENU:"context-menu",COPY:"copy",CROSSHAIR:"crosshair",DEFAULT:"default",E_RESIZE:"e-resize",EW_RESIZE:"ew-resize",GRAB:"grab",GRABBING:"grabbing",HELP:"help",MOVE:"move",N_RESIZE:"n-resize",NE_RESIZE:"ne-resize",NESW_RESIZE:"nesw-resize",NS_RESIZE:"ns-resize",NW_RESIZE:"nw-resize",NWSE_RESIZE:"nwse-resize",NO_DROP:"no-drop",NONE:"none",NOT_ALLOWED:"not-allowed",POINTER:"pointer",PROGRESS:"progress",ROW_RESIZE:"row-resize",S_RESIZE:"s-resize",SE_RESIZE:"se-resize",SW_RESIZE:"sw-resize",TEXT:"text",URL:"url(myBall.cur),auto",W_RESIZE:"w-resize",WAIT:"wait",ZOOM_IN:"zoom-in",ZOOM_OUT:"zoom-out",CUSTOM_CROSSHAIR:`url("data:image/svg+xml;base64,${btoa(i.CUSTOM_CROSSHAIR)}") 16 16, auto`},o={CHANGE_LANGUAGE:"changeLanguage"},s={DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DRAG_START:"dragstart",DROP:"drop"},n={BEFORE_BEGIN:"beforebegin",AFTER_BEGIN:"afterbegin",BEFORE_END:"beforeend",AFTER_END:"afterend"},E={KEY_DOWN:"keydown",KEY_UP:"keyup"},w={ADD_TRACK:"addtrack",ENDED:"ended",MUTE:"mute",REMOVE_TRACK:"removetrack",UNMUTE:"unmute"},c={MOUSE_DOWN:"mousedown",MOUSE_UP:"mouseup",MOUSE_OVER:"mouseover",MOUSE_OUT:"mouseout",MOUSE_MOVE:"mousemove",CLICK:"click",DOUBLE_CLICK:"dblclick",CONTEXT_MENU:"contextmenu"},d={ENTER_PICTURE_IN_PICTURE:"enterpictureinpicture",LEAVE_PICTURE_IN_PICTURE:"leavepictureinpicture",RESIZE:"resize"},T={POINTER_OVER:"pointerover",POINTER_ENTER:"pointerenter",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_RAW_UPDATE:"pointerrawupdate",POINTER_UP:"pointerup",POINTER_CANCEL:"pointercancel",POINTER_OUT:"pointerout",POINTER_LEAVE:"pointerleave",POINTER_CAPTURE:"gotpointercapture",LOST_POINTER_CAPTURE:"lostpointercapture"},m={ARRAY:"object",BOOLEAN:"boolean",CHECK:"check",INLINE_CHECK:"inline-check",RADIO:"radio",INLINE_RADIO:"inline-radio",SELECT:"select",MULTI_SELECT:"multi-select",NUMBER:"number",RANGE:"range",FILE:"file",OBJECT:"object",COLOR:"color",DATE:"date",TEXT:"text"},h={DARK:"dark",LIGHT:"light"},_={TOUCH_START:"touchstart",TOUCH_END:"touchend",TOUCH_MOVE:"touchmove",TOUCH_CANCEL:"touchcancel"},R={BIGINT:"bigint",BOOLEAN:"boolean",FUNCTION:"function",NULL:"null",NUMBER:"number",STRING:"string",SYMBOL:"symbol",UNDEFINED:"undefined"},g={WHEEL:"wheel"};e.AMPERSAND="&",e.CURSOR=r,e.CUSTOM_EVENTS=o,e.DRAG_EVENTS=s,e.FLOAT_TOLERANCE=1e-6,e.INSERT_ADJACENT_HTML=n,e.KEYBOARD_EVENTS=E,e.MEDIA_STREAM_EVENTS=w,e.MOUSE_EVENTS=c,e.PICTURE_IN_PICTURE_EVENTS=d,e.POINTER_EVENTS=T,e.PX="px",e.STORYBOOK_CONTROL_TYPES=m,e.STRING_EMPTY="",e.SVG=i,e.THEMES=h,e.TOUCH_EVENTS=_,e.TRANSLATION_DELIBERATELY_UNSET=t,e.TYPEOF=R,e.WHEEL_EVENTS=g,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
15
+ </svg>`,INFO:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_223-info" serif:id="223-info" d="M13.684,3.24c0.512,-0 0.943,0.177 1.294,0.532c0.351,0.355 0.526,0.785 0.526,1.288c0,0.504 -0.177,0.933 -0.532,1.288c-0.355,0.355 -0.785,0.532 -1.288,0.532c-0.495,0 -0.92,-0.177 -1.275,-0.532c-0.355,-0.355 -0.533,-0.784 -0.533,-1.288c0,-0.503 0.176,-0.933 0.526,-1.288c0.351,-0.355 0.778,-0.532 1.282,-0.532Zm0.768,5.696l-2.539,8.803c-0.14,0.503 -0.21,0.834 -0.21,0.99c-0,0.091 0.037,0.176 0.111,0.254c0.075,0.079 0.153,0.118 0.236,0.118c0.14,-0 0.28,-0.062 0.421,-0.186c0.371,-0.305 0.817,-0.858 1.337,-1.659l0.421,0.248c-1.247,2.171 -2.572,3.256 -3.975,3.256c-0.536,0 -0.964,-0.151 -1.281,-0.452c-0.318,-0.301 -0.477,-0.683 -0.477,-1.145c-0,-0.306 0.07,-0.694 0.21,-1.164l1.722,-5.919c0.165,-0.569 0.247,-0.998 0.247,-1.287c0,-0.182 -0.078,-0.343 -0.235,-0.483c-0.157,-0.14 -0.372,-0.211 -0.644,-0.211c-0.124,0 -0.272,0.005 -0.446,0.013l0.161,-0.495l4.198,-0.681l0.743,-0Z" style="fill-rule:nonzero;"/></svg>',SAVE:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_010-save" serif:id="010-save" d="M14.942,9.325l-9.792,-0l0,-3.908l9.792,-0l0,3.908Zm-2.942,9.792c-0.827,-0 -1.517,-0.276 -2.069,-0.828c-0.551,-0.552 -0.827,-1.249 -0.827,-2.092c-0,-0.843 0.276,-1.54 0.827,-2.091c0.552,-0.552 1.242,-0.828 2.069,-0.828c0.827,0 1.517,0.276 2.069,0.828c0.551,0.551 0.827,1.248 0.827,2.091c0,0.843 -0.276,1.54 -0.827,2.092c-0.552,0.552 -1.242,0.828 -2.069,0.828Zm4.919,-15.677l-11.769,0c-0.582,0 -1.057,0.192 -1.425,0.575c-0.368,0.383 -0.552,0.85 -0.552,1.402l0,13.7c0,0.551 0.192,1.019 0.575,1.402c0.383,0.383 0.851,0.574 1.402,0.574l13.7,0c0.551,0 1.019,-0.191 1.402,-0.574c0.383,-0.383 0.575,-0.851 0.575,-1.402l-0,-11.769l-3.908,-3.908Z" style="fill-rule:nonzero;"/></svg>',SETTINGS:'<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path id="_063-settings" serif:id="063-settings" d="M11.977,15.153c-0.868,-0.028 -1.587,-0.326 -2.157,-0.896c-0.569,-0.569 -0.854,-1.288 -0.854,-2.156c-0,-0.868 0.285,-1.587 0.854,-2.157c0.57,-0.569 1.289,-0.854 2.157,-0.854c0.868,0 1.587,0.285 2.156,0.854c0.57,0.57 0.855,1.289 0.855,2.157c-0,0.868 -0.285,1.587 -0.855,2.156c-0.569,0.57 -1.288,0.868 -2.156,0.896Zm6.469,-2.198c0.027,-0.271 0.041,-0.556 0.041,-0.854c-0,-0.298 -0.014,-0.583 -0.041,-0.855l1.831,-1.424c0.163,-0.162 0.19,-0.352 0.082,-0.569l-1.75,-3.011c-0.108,-0.19 -0.285,-0.244 -0.529,-0.163l-2.156,0.855c-0.434,-0.353 -0.923,-0.638 -1.465,-0.855l-0.326,-2.278c-0.054,-0.245 -0.19,-0.367 -0.407,-0.367l-3.499,0c-0.217,0 -0.352,0.122 -0.407,0.367l-0.325,2.278c-0.543,0.217 -1.031,0.502 -1.465,0.855l-2.156,-0.855c-0.244,-0.081 -0.421,-0.027 -0.529,0.163l-1.75,3.011c-0.108,0.217 -0.081,0.407 0.082,0.569l1.83,1.424c-0.027,0.272 -0.04,0.557 -0.04,0.855c-0,0.298 0.013,0.583 0.04,0.854l-1.83,1.424c-0.163,0.163 -0.19,0.353 -0.082,0.57l1.75,3.011c0.108,0.19 0.285,0.244 0.529,0.163l2.156,-0.855c0.434,0.353 0.922,0.638 1.465,0.855l0.325,2.278c0.055,0.244 0.19,0.367 0.407,0.367l3.499,-0c0.217,-0 0.353,-0.123 0.407,-0.367l0.326,-2.278c0.542,-0.217 1.031,-0.502 1.465,-0.855l2.156,0.855c0.244,0.081 0.421,0.027 0.529,-0.163l1.75,-3.011c0.108,-0.217 0.081,-0.407 -0.082,-0.57l-1.831,-1.424Z" style="fill-rule:nonzero;"/></svg>'},o={ALIAS:"alias",ALL_SCROLL:"all-scroll",AUTO:"auto",CELL:"cell",COL_RESIZE:"col-resize",CONTEXT_MENU:"context-menu",COPY:"copy",CROSSHAIR:"crosshair",DEFAULT:"default",E_RESIZE:"e-resize",EW_RESIZE:"ew-resize",GRAB:"grab",GRABBING:"grabbing",HELP:"help",MOVE:"move",N_RESIZE:"n-resize",NE_RESIZE:"ne-resize",NESW_RESIZE:"nesw-resize",NS_RESIZE:"ns-resize",NW_RESIZE:"nw-resize",NWSE_RESIZE:"nwse-resize",NO_DROP:"no-drop",NONE:"none",NOT_ALLOWED:"not-allowed",POINTER:"pointer",PROGRESS:"progress",ROW_RESIZE:"row-resize",S_RESIZE:"s-resize",SE_RESIZE:"se-resize",SW_RESIZE:"sw-resize",TEXT:"text",URL:"url(myBall.cur),auto",W_RESIZE:"w-resize",WAIT:"wait",ZOOM_IN:"zoom-in",ZOOM_OUT:"zoom-out",CUSTOM_CROSSHAIR:`url("data:image/svg+xml;base64,${btoa(i.CUSTOM_CROSSHAIR)}") 16 16, auto`},s={CHANGE_LANGUAGE:"changeLanguage"},n={PDF:"pdf",DOC:"doc",DOCX:"docx",XLS:"xls",XLSX:"xlsx",PPT:"ppt",PPTX:"pptx",TXT:"txt",RTF:"rtf",ODT:"odt",ODS:"ods",ODP:"odp",CSV:"csv",MD:"md",HTML:"html",XML:"xml",JSON:"json"},E={DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DRAG_START:"dragstart",DROP:"drop"},w={JPEG:"jpeg",JPG:"jpg",PNG:"png",GIF:"gif",WEBP:"webp",BMP:"bmp",TIFF:"tiff",TIF:"tif",SVG:"svg",HEIF:"heif",HEIC:"heic",AVIF:"avif",ICO:"ico",RAW:"raw"},c={BEFORE_BEGIN:"beforebegin",AFTER_BEGIN:"afterbegin",BEFORE_END:"beforeend",AFTER_END:"afterend"},d={KEY_DOWN:"keydown",KEY_UP:"keyup"},T={ADD_TRACK:"addtrack",ENDED:"ended",MUTE:"mute",REMOVE_TRACK:"removetrack",UNMUTE:"unmute"},m={MOUSE_DOWN:"mousedown",MOUSE_UP:"mouseup",MOUSE_OVER:"mouseover",MOUSE_OUT:"mouseout",MOUSE_MOVE:"mousemove",CLICK:"click",DOUBLE_CLICK:"dblclick",CONTEXT_MENU:"contextmenu"},_={ENTER_PICTURE_IN_PICTURE:"enterpictureinpicture",LEAVE_PICTURE_IN_PICTURE:"leavepictureinpicture",RESIZE:"resize"},O={POINTER_OVER:"pointerover",POINTER_ENTER:"pointerenter",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_RAW_UPDATE:"pointerrawupdate",POINTER_UP:"pointerup",POINTER_CANCEL:"pointercancel",POINTER_OUT:"pointerout",POINTER_LEAVE:"pointerleave",POINTER_CAPTURE:"gotpointercapture",LOST_POINTER_CAPTURE:"lostpointercapture"},R={ARRAY:"object",BOOLEAN:"boolean",CHECK:"check",INLINE_CHECK:"inline-check",RADIO:"radio",INLINE_RADIO:"inline-radio",SELECT:"select",MULTI_SELECT:"multi-select",NUMBER:"number",RANGE:"range",FILE:"file",OBJECT:"object",COLOR:"color",DATE:"date",TEXT:"text"},g={DARK:"dark",LIGHT:"light"},h={TOUCH_START:"touchstart",TOUCH_END:"touchend",TOUCH_MOVE:"touchmove",TOUCH_CANCEL:"touchcancel"},p={BIGINT:"bigint",BOOLEAN:"boolean",FUNCTION:"function",NULL:"null",NUMBER:"number",STRING:"string",SYMBOL:"symbol",UNDEFINED:"undefined"},v={MP4:"mp4",MOV:"mov",AVI:"avi",MKV:"mkv",WMV:"wmv",FLV:"flv",WEBM:"webm",MPEG:"mpeg",MPG:"mpg"},S={WHEEL:"wheel"};e.AMPERSAND="&",e.AUDIO_FILE_FORMATS=r,e.CURSOR=o,e.CUSTOM_EVENTS=s,e.DOCUMENT_FILE_FORMATS=n,e.DRAG_EVENTS=E,e.FLOAT_TOLERANCE=1e-6,e.IMAGE_FILE_FORMATS=w,e.INSERT_ADJACENT_HTML=c,e.KEYBOARD_EVENTS=d,e.MEDIA_STREAM_EVENTS=T,e.MOUSE_EVENTS=m,e.PICTURE_IN_PICTURE_EVENTS=_,e.POINTER_EVENTS=O,e.PX="px",e.STORYBOOK_CONTROL_TYPES=R,e.STRING_EMPTY="",e.SVG=i,e.THEMES=g,e.TOUCH_EVENTS=h,e.TRANSLATION_DELIBERATELY_UNSET=t,e.TYPEOF=p,e.VIDEO_FILE_FORMATS=v,e.WHEEL_EVENTS=S,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * {@link https://en.wikipedia.org/wiki/Audio_file_format | Audio File Formats}
3
+ */
4
+ export declare const AUDIO_FILE_FORMATS: {
5
+ readonly MP3: "mp3";
6
+ readonly WAV: "wav";
7
+ readonly AAC: "aac";
8
+ readonly FLAC: "flac";
9
+ readonly OGG: "ogg";
10
+ readonly WMA: "wma";
11
+ readonly M4A: "m4a";
12
+ readonly ALAC: "alac";
13
+ readonly AIFF: "aiff";
14
+ readonly OPUS: "opus";
15
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * {@link https://en.wikipedia.org/wiki/List_of_filename_extensions | Document File Formats}
3
+ */
4
+ export declare const DOCUMENT_FILE_FORMATS: {
5
+ readonly PDF: "pdf";
6
+ readonly DOC: "doc";
7
+ readonly DOCX: "docx";
8
+ readonly XLS: "xls";
9
+ readonly XLSX: "xlsx";
10
+ readonly PPT: "ppt";
11
+ readonly PPTX: "pptx";
12
+ readonly TXT: "txt";
13
+ readonly RTF: "rtf";
14
+ readonly ODT: "odt";
15
+ readonly ODS: "ods";
16
+ readonly ODP: "odp";
17
+ readonly CSV: "csv";
18
+ readonly MD: "md";
19
+ readonly HTML: "html";
20
+ readonly XML: "xml";
21
+ readonly JSON: "json";
22
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * {@link https://en.wikipedia.org/wiki/Image_file_formats | Image File Formats}
3
+ */
4
+ export declare const IMAGE_FILE_FORMATS: {
5
+ readonly JPEG: "jpeg";
6
+ readonly JPG: "jpg";
7
+ readonly PNG: "png";
8
+ readonly GIF: "gif";
9
+ readonly WEBP: "webp";
10
+ readonly BMP: "bmp";
11
+ readonly TIFF: "tiff";
12
+ readonly TIF: "tif";
13
+ readonly SVG: "svg";
14
+ readonly HEIF: "heif";
15
+ readonly HEIC: "heic";
16
+ readonly AVIF: "avif";
17
+ readonly ICO: "ico";
18
+ readonly RAW: "raw";
19
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * {@link https://en.wikipedia.org/wiki/Video_file_format | Video File Formats}
3
+ */
4
+ export declare const VIDEO_FILE_FORMATS: {
5
+ readonly MP4: "mp4";
6
+ readonly MOV: "mov";
7
+ readonly AVI: "avi";
8
+ readonly MKV: "mkv";
9
+ readonly WMV: "wmv";
10
+ readonly FLV: "flv";
11
+ readonly WEBM: "webm";
12
+ readonly MPEG: "mpeg";
13
+ readonly MPG: "mpg";
14
+ };
@@ -1,10 +1,16 @@
1
1
  export * from './constants/constants.ts';
2
+ export { AUDIO_FILE_FORMATS } from './constants/file-formats/audio-file-formats.contant.ts';
3
+ export type { AudioFileFormats } from './types/file-formats/audio-file-formats.type.ts';
2
4
  export { CURSOR } from './constants/cursor.constant.ts';
3
5
  export type { Cursor } from './types/cursor.type.ts';
4
6
  export { CUSTOM_EVENTS } from './constants/events/custom-events.constant.ts';
5
7
  export type { CustomEvents } from './types/events/custom-events.type.ts';
8
+ export { DOCUMENT_FILE_FORMATS } from './constants/file-formats/document-file-formats.constant.ts';
9
+ export type { DocumentFileFormats } from './types/file-formats/document-file-formats.type.ts';
6
10
  export { DRAG_EVENTS } from './constants/events/drag-events.constant.ts';
7
11
  export type { DragEvents } from './types/events/drag-events.type.ts';
12
+ export { IMAGE_FILE_FORMATS } from './constants/file-formats/image-file-formats.constant.ts';
13
+ export type { ImageFileFormats } from './types/file-formats/image-file-formats.type.ts';
8
14
  export { INSERT_ADJACENT_HTML } from './constants/insert-adjacent-html.constant.ts';
9
15
  export type { InsertAdjacentHtml } from './types/insert-adjacent-html.type.ts';
10
16
  export { KEYBOARD_EVENTS } from './constants/events/keyboard-events.constant.ts';
@@ -27,5 +33,7 @@ export { TOUCH_EVENTS } from './constants/events/touch-events.constant.ts';
27
33
  export type { TouchEvents } from './types/events/touch-events.type.ts';
28
34
  export { TYPEOF } from './constants/typeof.constant.ts';
29
35
  export type { TypeOf } from './types/typeof.type.ts';
36
+ export { VIDEO_FILE_FORMATS } from './constants/file-formats/video-file-formats.constant.ts';
37
+ export type { VideoFileFormats } from './types/file-formats/video-file-formats.type.ts';
30
38
  export { WHEEL_EVENTS } from './constants/events/wheel-events.constant.ts';
31
39
  export type { WheelEvents } from './types/events/wheel-events.type.ts';
@@ -0,0 +1,5 @@
1
+ import { AUDIO_FILE_FORMATS } from '../../constants/file-formats/audio-file-formats.contant.ts';
2
+ /**
3
+ * Union type of all values in the {@link AUDIO_FILE_FORMATS} constant.
4
+ */
5
+ export type AudioFileFormats = (typeof AUDIO_FILE_FORMATS)[keyof typeof AUDIO_FILE_FORMATS];
@@ -0,0 +1,5 @@
1
+ import { DOCUMENT_FILE_FORMATS } from '../../constants/file-formats/document-file-formats.constant.ts';
2
+ /**
3
+ * Union type of all values in the {@link DOCUMENT_FILE_FORMATS} constant.
4
+ */
5
+ export type DocumentFileFormats = (typeof DOCUMENT_FILE_FORMATS)[keyof typeof DOCUMENT_FILE_FORMATS];
@@ -0,0 +1,5 @@
1
+ import { IMAGE_FILE_FORMATS } from '../../constants/file-formats/image-file-formats.constant.ts';
2
+ /**
3
+ * Union type of all values in the {@link IMAGE_FILE_FORMATS} constant.
4
+ */
5
+ export type ImageFileFormats = (typeof IMAGE_FILE_FORMATS)[keyof typeof IMAGE_FILE_FORMATS];
@@ -0,0 +1,5 @@
1
+ import { VIDEO_FILE_FORMATS } from '../../constants/file-formats/video-file-formats.constant.ts';
2
+ /**
3
+ * Union type of all values in the {@link VIDEO_FILE_FORMATS} constant.
4
+ */
5
+ export type VideoFileFormats = (typeof VIDEO_FILE_FORMATS)[keyof typeof VIDEO_FILE_FORMATS];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@albi_scando/as-const-lib",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "A TypeScript library providing strongly typed constants and utility types for safer, more predictable code.",
5
5
  "type": "module",
6
6
  "files": [