@liascript/editor 1.1.6--0.15.12 → 1.1.7--0.16.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.
Files changed (156) hide show
  1. package/CHANGELOG.md +9 -3
  2. package/README.md +1 -1
  3. package/dist/{Base.9a5d63ee.js → Base.605d9ab5.js} +1 -1
  4. package/dist/{Base.a9e738fa.js → Base.d8e1fc60.js} +1 -1
  5. package/dist/index.11182e74.js +1 -0
  6. package/dist/index.55026812.js +1 -0
  7. package/dist/index.691fb05c.js +1 -0
  8. package/dist/index.756a5816.css +1 -0
  9. package/dist/index.796e2c5e.js +1 -0
  10. package/dist/index.html +1 -1
  11. package/dist/jszip.min.0e12e848.js +13 -0
  12. package/dist/jszip.min.a7b69263.js +13 -0
  13. package/package.json +9 -2
  14. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/LICENSE +0 -11
  15. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/README.md +0 -172
  16. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/artifacts.dat +0 -0
  17. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/docs.json +0 -1
  18. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/LICENSE +0 -27
  19. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/README.md +0 -107
  20. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/artifacts.dat +0 -0
  21. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/docs.json +0 -1
  22. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/LICENSE +0 -29
  23. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/README.md +0 -51
  24. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/artifacts.dat +0 -0
  25. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/docs.json +0 -1
  26. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/LICENSE +0 -21
  27. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/README.md +0 -313
  28. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/artifacts.dat +0 -0
  29. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/docs.json +0 -1
  30. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/LICENSE +0 -202
  31. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/README.md +0 -820
  32. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/artifacts.dat +0 -0
  33. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/docs.json +0 -1
  34. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/LICENSE +0 -24
  35. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/README.md +0 -7
  36. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/artifacts.dat +0 -0
  37. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/docs.json +0 -1
  38. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/LICENSE +0 -11
  39. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/README.md +0 -57
  40. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/artifacts.dat +0 -0
  41. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/docs.json +0 -1
  42. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/LICENSE +0 -11
  43. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/README.md +0 -58
  44. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/artifacts.dat +0 -0
  45. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/docs.json +0 -1
  46. package/.elm/0.19.1/packages/elm/browser/1.0.2/LICENSE +0 -11
  47. package/.elm/0.19.1/packages/elm/browser/1.0.2/README.md +0 -21
  48. package/.elm/0.19.1/packages/elm/browser/1.0.2/artifacts.dat +0 -0
  49. package/.elm/0.19.1/packages/elm/browser/1.0.2/docs.json +0 -1
  50. package/.elm/0.19.1/packages/elm/bytes/1.0.8/LICENSE +0 -30
  51. package/.elm/0.19.1/packages/elm/bytes/1.0.8/README.md +0 -56
  52. package/.elm/0.19.1/packages/elm/bytes/1.0.8/artifacts.dat +0 -0
  53. package/.elm/0.19.1/packages/elm/bytes/1.0.8/docs.json +0 -1
  54. package/.elm/0.19.1/packages/elm/core/1.0.5/LICENSE +0 -11
  55. package/.elm/0.19.1/packages/elm/core/1.0.5/README.md +0 -30
  56. package/.elm/0.19.1/packages/elm/core/1.0.5/artifacts.dat +0 -0
  57. package/.elm/0.19.1/packages/elm/core/1.0.5/docs.json +0 -1
  58. package/.elm/0.19.1/packages/elm/file/1.0.5/LICENSE +0 -30
  59. package/.elm/0.19.1/packages/elm/file/1.0.5/README.md +0 -127
  60. package/.elm/0.19.1/packages/elm/file/1.0.5/artifacts.dat +0 -0
  61. package/.elm/0.19.1/packages/elm/file/1.0.5/docs.json +0 -1
  62. package/.elm/0.19.1/packages/elm/html/1.0.0/LICENSE +0 -30
  63. package/.elm/0.19.1/packages/elm/html/1.0.0/README.md +0 -50
  64. package/.elm/0.19.1/packages/elm/html/1.0.0/artifacts.dat +0 -0
  65. package/.elm/0.19.1/packages/elm/html/1.0.0/docs.json +0 -1
  66. package/.elm/0.19.1/packages/elm/http/2.0.0/LICENSE +0 -30
  67. package/.elm/0.19.1/packages/elm/http/2.0.0/README.md +0 -36
  68. package/.elm/0.19.1/packages/elm/http/2.0.0/artifacts.dat +0 -0
  69. package/.elm/0.19.1/packages/elm/http/2.0.0/docs.json +0 -1
  70. package/.elm/0.19.1/packages/elm/json/1.1.3/LICENSE +0 -30
  71. package/.elm/0.19.1/packages/elm/json/1.1.3/README.md +0 -63
  72. package/.elm/0.19.1/packages/elm/json/1.1.3/artifacts.dat +0 -0
  73. package/.elm/0.19.1/packages/elm/json/1.1.3/docs.json +0 -1
  74. package/.elm/0.19.1/packages/elm/random/1.0.0/LICENSE +0 -30
  75. package/.elm/0.19.1/packages/elm/random/1.0.0/README.md +0 -46
  76. package/.elm/0.19.1/packages/elm/random/1.0.0/artifacts.dat +0 -0
  77. package/.elm/0.19.1/packages/elm/random/1.0.0/docs.json +0 -1
  78. package/.elm/0.19.1/packages/elm/regex/1.0.0/LICENSE +0 -30
  79. package/.elm/0.19.1/packages/elm/regex/1.0.0/README.md +0 -59
  80. package/.elm/0.19.1/packages/elm/regex/1.0.0/artifacts.dat +0 -0
  81. package/.elm/0.19.1/packages/elm/regex/1.0.0/docs.json +0 -1
  82. package/.elm/0.19.1/packages/elm/svg/1.0.1/LICENSE +0 -30
  83. package/.elm/0.19.1/packages/elm/svg/1.0.1/README.md +0 -62
  84. package/.elm/0.19.1/packages/elm/svg/1.0.1/artifacts.dat +0 -0
  85. package/.elm/0.19.1/packages/elm/svg/1.0.1/docs.json +0 -1
  86. package/.elm/0.19.1/packages/elm/time/1.0.0/LICENSE +0 -30
  87. package/.elm/0.19.1/packages/elm/time/1.0.0/README.md +0 -94
  88. package/.elm/0.19.1/packages/elm/time/1.0.0/artifacts.dat +0 -0
  89. package/.elm/0.19.1/packages/elm/time/1.0.0/docs.json +0 -1
  90. package/.elm/0.19.1/packages/elm/url/1.0.0/LICENSE +0 -27
  91. package/.elm/0.19.1/packages/elm/url/1.0.0/README.md +0 -32
  92. package/.elm/0.19.1/packages/elm/url/1.0.0/artifacts.dat +0 -0
  93. package/.elm/0.19.1/packages/elm/url/1.0.0/docs.json +0 -1
  94. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/LICENSE +0 -30
  95. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/README.md +0 -5
  96. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/artifacts.dat +0 -0
  97. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/docs.json +0 -1
  98. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/LICENSE +0 -21
  99. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/README.md +0 -19
  100. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/artifacts.dat +0 -0
  101. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/docs.json +0 -1
  102. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/LICENSE +0 -29
  103. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/README.md +0 -31
  104. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/artifacts.dat +0 -0
  105. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/docs.json +0 -1
  106. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/LICENSE +0 -11
  107. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/README.md +0 -73
  108. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/artifacts.dat +0 -0
  109. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/docs.json +0 -1
  110. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/LICENSE +0 -373
  111. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/README.md +0 -77
  112. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/artifacts.dat +0 -0
  113. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/docs.json +0 -1
  114. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/LICENSE +0 -9
  115. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/README.md +0 -112
  116. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/artifacts.dat +0 -0
  117. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/docs.json +0 -1
  118. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/LICENSE +0 -11
  119. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/README.md +0 -67
  120. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/artifacts.dat +0 -0
  121. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/docs.json +0 -1
  122. package/.elm/0.19.1/packages/lock +0 -0
  123. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/LICENSE +0 -27
  124. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/README.md +0 -32
  125. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/artifacts.dat +0 -0
  126. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/docs.json +0 -1
  127. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/LICENSE +0 -25
  128. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/README.md +0 -14
  129. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/artifacts.dat +0 -0
  130. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/docs.json +0 -1
  131. package/.elm/0.19.1/packages/registry.dat +0 -0
  132. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/LICENSE +0 -29
  133. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/README.md +0 -13
  134. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/artifacts.dat +0 -0
  135. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/docs.json +0 -1
  136. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/LICENSE +0 -27
  137. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/README.md +0 -72
  138. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/artifacts.dat +0 -0
  139. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/docs.json +0 -1
  140. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/LICENSE +0 -22
  141. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/README.md +0 -27
  142. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/artifacts.dat +0 -0
  143. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/docs.json +0 -1
  144. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/LICENSE +0 -27
  145. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/README.md +0 -34
  146. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/artifacts.dat +0 -0
  147. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/docs.json +0 -1
  148. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/LICENSE +0 -29
  149. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/README.md +0 -8
  150. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/artifacts.dat +0 -0
  151. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/docs.json +0 -1
  152. package/dist/index.270309fa.js +0 -1
  153. package/dist/index.2b67d179.js +0 -1
  154. package/dist/index.3d681c84.js +0 -1
  155. package/dist/index.72230c64.css +0 -1
  156. package/dist/index.d57ed7b9.js +0 -1
package/CHANGELOG.md CHANGED
@@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.15.12] - 28/09/2024
7
+ ## [0.16.0] - 27/09/2024
8
+
9
+ - feat: Allow to upload LiaScript courses at the Index-page directly from the device as single files or as ZIP archives
10
+ - improve: Hide skip navigation link
11
+ - improve(Macro): Escaping of ${ as \${
12
+
13
+ ## [0.15.12] - 28/08/2024
8
14
 
9
15
  - chore: Update npm packages
10
16
  - improve(Macro): Parameter with more than 3 backticks
@@ -16,14 +22,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
16
22
 
17
23
  The 3 backticks were hard-coded, hence it was not possible to pass markdown-blocks with code-blocks. Now it is possible to define multiline parameters with more than 3 backticks, allowing for more complex parameters. Basically it works like an ordinary code-block now, which can contain other code-blocks with less backticks.
18
24
 
19
- ## [0.15.11] - 22/09/2024
25
+ ## [0.15.11] - 22/08/2024
20
26
 
21
27
  - improve: Code-Terminal, which scrolls to the bottom on every new output
22
28
  - feat: Add backslash followed by a newline in a paragraph, will result in a line-break
23
29
  - fix: Single images with a block-comment were interpreted as a paragraph with a starting
24
30
  image and thus resulted in a shorted image, with half of the size
25
31
 
26
- ## [0.15.10] - 14/09/2024
32
+ ## [0.15.10] - 14/08/2024
27
33
 
28
34
  - improve: Translations for code, now also translations for code copy-buttons
29
35
  - improve: onload will block the execution of other scripts until it is finished
package/README.md CHANGED
@@ -23,7 +23,7 @@ install via npm:
23
23
  `npm i @liascript/editor`
24
24
 
25
25
  > **Note:** The version information might look a bit different e.g.
26
- > `1.1.6--0.15.12`. The second version mirrors current version of LiaScript,
26
+ > `1.1.7--0.16.0`. The second version mirrors current version of LiaScript,
27
27
  > while the first number is referring to the changes of the editor-branch.
28
28
 
29
29
  ## HowTo
@@ -1 +1 @@
1
- function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("h7nmo",(function(n,o){e(n.exports,"Connector",(()=>i));var s=t("kEwQO"),r=t("e7gxU");class i{constructor(){}hasIndex(){return!1}storage(){return new s.LiaStorage}initSettings(e,t=!1){return r.Settings.init(e,t,this.setSettings)}setSettings(e){r.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(r.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=r.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t){console.log("getMisc not implemented")}}})),t.register("kEwQO",(function(t,n){e(t.exports,"LiaStorage",(()=>o));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}));
1
+ function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("h7nmo",(function(n,o){e(n.exports,"Connector",(()=>i));var s=t("kEwQO"),r=t("e7gxU");class i{constructor(){}hasIndex(){return!1}storage(){return new s.LiaStorage}initSettings(e,t=!1){return r.Settings.init(e,t,this.setSettings)}setSettings(e){r.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(r.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=r.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}async storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t,n){console.log("getMisc not implemented")}}})),t.register("kEwQO",(function(t,n){e(t.exports,"LiaStorage",(()=>o));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}));
@@ -1 +1 @@
1
- !function(){function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("1uw5Z",(function(n,o){e(n.exports,"Connector",(function(){return i}));var r=t("4c9ow"),s=t("2QXC3");class i{constructor(){}hasIndex(){return!1}storage(){return new r.LiaStorage}initSettings(e,t=!1){return s.Settings.init(e,t,this.setSettings)}setSettings(e){s.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(s.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=s.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t){console.log("getMisc not implemented")}}})),t.register("4c9ow",(function(t,n){e(t.exports,"LiaStorage",(function(){return o}));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}))}();
1
+ !function(){function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("1uw5Z",(function(n,o){e(n.exports,"Connector",(function(){return i}));var r=t("4c9ow"),s=t("2QXC3");class i{constructor(){}hasIndex(){return!1}storage(){return new r.LiaStorage}initSettings(e,t=!1){return s.Settings.init(e,t,this.setSettings)}setSettings(e){s.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(s.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=s.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}async storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t,n){console.log("getMisc not implemented")}}})),t.register("4c9ow",(function(t,n){e(t.exports,"LiaStorage",(function(){return o}));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}))}();