j1-template 2024.3.13 → 2024.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  3. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
  4. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
  5. data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
  6. data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
  7. data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
  8. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
  9. data/assets/data/amplitude.28.html +887 -0
  10. data/assets/data/amplitude.29.html +923 -0
  11. data/assets/data/amplitude.html +311 -46
  12. data/assets/data/banner.html +9 -7
  13. data/assets/data/masterslider.html +128 -7
  14. data/assets/data/panel.html +16 -65
  15. data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
  16. data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
  17. data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
  18. data/assets/theme/j1/adapter/js/amplitude.js +294 -117
  19. data/assets/theme/j1/adapter/js/attic.js +14 -11
  20. data/assets/theme/j1/adapter/js/docsearch.js +2 -2
  21. data/assets/theme/j1/adapter/js/fab.js +2 -2
  22. data/assets/theme/j1/adapter/js/j1.js +8 -8
  23. data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
  24. data/assets/theme/j1/adapter/js/masonry.js +1 -1
  25. data/assets/theme/j1/adapter/js/masterslider.js +2 -2
  26. data/assets/theme/j1/adapter/js/particles.js +2 -2
  27. data/assets/theme/j1/adapter/js/scroller.js +2 -2
  28. data/assets/theme/j1/adapter/js/slick.js +2 -2
  29. data/assets/theme/j1/adapter/js/themes.js +1 -1
  30. data/assets/theme/j1/adapter/js/translator.js +2 -2
  31. data/assets/theme/j1/adapter/js/waves.js +1 -1
  32. data/assets/theme/j1/core/css/animate.css +1634 -1070
  33. data/assets/theme/j1/core/css/animate.css.map +1 -0
  34. data/assets/theme/j1/core/css/animate.min.css +2 -1
  35. data/assets/theme/j1/core/css/animate.min.css.map +1 -0
  36. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
  37. data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
  38. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
  39. data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
  40. data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
  41. data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
  42. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
  43. data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
  44. data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
  45. data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
  46. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
  47. data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
  48. data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
  49. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
  50. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
  51. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
  52. data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
  53. data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
  54. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
  55. data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
  56. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
  57. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
  58. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
  59. data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
  60. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
  61. data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
  62. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
  63. data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
  64. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
  65. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
  66. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
  67. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
  68. data/assets/theme/j1/core/css/vendor.css +1771 -1043
  69. data/assets/theme/j1/core/css/vendor.css.map +1 -0
  70. data/assets/theme/j1/core/css/vendor.min.css +2 -1
  71. data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
  72. data/assets/theme/j1/core/js/template.js +399 -447
  73. data/assets/theme/j1/core/js/template.min.js +7 -7
  74. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  75. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
  76. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
  77. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  78. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
  79. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  80. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
  81. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
  82. data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
  83. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
  84. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
  85. data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
  86. data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
  87. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
  88. data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
  89. data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
  90. data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
  91. data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
  92. data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
  93. data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
  94. data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
  95. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
  96. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
  97. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
  98. data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
  99. data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
  100. data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
  101. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
  102. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
  103. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
  104. data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
  105. data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
  106. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
  107. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
  108. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
  109. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
  110. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
  111. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
  112. data/assets/theme/j1/modules/videojs/js/video.js +2 -2
  113. data/lib/j1/version.rb +1 -1
  114. data/lib/starter_web/README.md +577 -560
  115. data/lib/starter_web/_config.yml +2 -2
  116. data/lib/starter_web/_data/blocks/footer.yml +10 -5
  117. data/lib/starter_web/_data/blocks/panel.yml +2 -2
  118. data/lib/starter_web/_data/layouts/default.yml +14 -3
  119. data/lib/starter_web/_data/modules/amplitude.yml +145 -0
  120. data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
  121. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
  122. data/lib/starter_web/_data/modules/gallery.yml +136 -0
  123. data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
  124. data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
  125. data/lib/starter_web/_data/modules/masonry.yml +4 -4
  126. data/lib/starter_web/_data/modules/masterslider.yml +118 -12
  127. data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
  128. data/lib/starter_web/_data/resources.yml +154 -190
  129. data/lib/starter_web/_data/templates/feed.xml +1 -1
  130. data/lib/starter_web/_includes/attributes.asciidoc +1 -0
  131. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
  132. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
  133. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
  134. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  135. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
  136. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
  137. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
  138. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  139. data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
  140. data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
  141. data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
  142. data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
  143. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
  144. data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
  145. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
  146. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
  147. data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
  148. data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
  149. data/lib/starter_web/package.json +7 -18
  150. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
  151. data/lib/starter_web/pages/public/features/template.adoc +18 -8
  152. data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
  153. data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
  154. data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
  155. data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
  156. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
  157. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
  158. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  159. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  160. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  161. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  162. data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
  163. data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
  164. data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
  165. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
  166. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
  167. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
  168. data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
  169. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
  170. data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
  171. data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
  172. data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
  173. data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
  174. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
  175. data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
  176. metadata +90 -22
  177. /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
  178. /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
  179. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
  180. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
  181. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
  182. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
  183. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
  184. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
  185. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
  186. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
  187. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
  188. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
  189. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
  190. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
  191. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
  192. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
  193. /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
@@ -1,36 +1,36 @@
1
- (()=>{var __webpack_modules__={1922:e=>{"use strict";e.exports=function(e,t){return{_init_:function(){return}}}(j1,window)},7784:()=>{var e;var t=document.documentElement.lang;function n(t){window.clearTimeout(e);t.prev().toggleClass("stacked");t.toggle()}function r(){$(".result").each((function(e,r){var i;var a=$(r);var o=a.prev().find(".title");if(t=="en"){i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="toggle results" data-bs-original-title="toggle results">View</span></div>')}else if(t=="de"){i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="Anzeige umschalten" data-bs-original-title="toggle results">Anzeige</span></div>')}else{i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="toggle results" data-bs-original-title="toggle results">View</span></div>')}o.append(i);$(".btn-viewer").tooltip();i.on("click",(function(e){e.preventDefault();n(a)}))}))}$(r)},258:e=>{"use strict";var t={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:true,timelineOffset:0};var n={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0};var r=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"];var i={CSS:{},springs:{}};function a(e,t,n){return Math.min(Math.max(e,t),n)}function o(e,t){return e.indexOf(t)>-1}function s(e,t){return e.apply(null,t)}var l={arr:function(e){return Array.isArray(e)},obj:function(e){return o(Object.prototype.toString.call(e),"Object")},pth:function(e){return l.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||l.svg(e)},str:function(e){return typeof e==="string"},fnc:function(e){return typeof e==="function"},und:function(e){return typeof e==="undefined"},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return l.hex(e)||l.rgb(e)||l.hsl(e)},key:function(e){return!t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function c(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function u(e,t){var n=c(e);var r=a(l.und(n[0])?1:n[0],.1,100);var o=a(l.und(n[1])?100:n[1],.1,100);var s=a(l.und(n[2])?10:n[2],.1,100);var u=a(l.und(n[3])?0:n[3],.1,100);var d=Math.sqrt(o/r);var p=s/(2*Math.sqrt(o*r));var f=p<1?d*Math.sqrt(1-p*p):0;var h=1;var m=p<1?(p*d+-u)/f:-u+d;function g(e){var n=t?t*e/1e3:e;if(p<1){n=Math.exp(-n*p*d)*(h*Math.cos(f*n)+m*Math.sin(f*n))}else{n=(h+m*n)*Math.exp(-n*d)}if(e===0||e===1){return e}return 1-n}function v(){var t=i.springs[e];if(t){return t}var n=1/6;var r=0;var a=0;while(true){r+=n;if(g(r)===1){a++;if(a>=16){break}}else{a=0}}var o=r*n*1e3;i.springs[e]=o;return o}return t?g:v}function d(e){if(e===void 0)e=10;return function(t){return Math.ceil(a(t,1e-6,1)*e)*(1/e)}}var p=function(){var e=11;var t=1/(e-1);function n(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,a){return((n(t,a)*e+r(t,a))*e+i(t))*e}function o(e,t,a){return 3*n(t,a)*e*e+2*r(t,a)*e+i(t)}function s(e,t,n,r,i){var o,s,l=0;do{s=t+(n-t)/2;o=a(s,r,i)-e;if(o>0){n=s}else{t=s}}while(Math.abs(o)>1e-7&&++l<10);return s}function l(e,t,n,r){for(var i=0;i<4;++i){var s=o(t,n,r);if(s===0){return t}var l=a(t,n,r)-e;t-=l/s}return t}function c(n,r,i,c){if(!(0<=n&&n<=1&&0<=i&&i<=1)){return}var u=new Float32Array(e);if(n!==r||i!==c){for(var d=0;d<e;++d){u[d]=a(d*t,n,i)}}function p(r){var a=0;var c=1;var d=e-1;for(;c!==d&&u[c]<=r;++c){a+=t}--c;var p=(r-u[c])/(u[c+1]-u[c]);var f=a+p*t;var h=o(f,n,i);if(h>=.001){return l(r,f,n,i)}else if(h===0){return f}else{return s(r,a,a+t,n,i)}}return function(e){if(n===r&&i===c){return e}if(e===0||e===1){return e}return a(p(e),r,c)}}return c}();var f=function(){var e={linear:function(){return function(e){return e}}};var t={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11){}return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}},Elastic:function(e,t){if(e===void 0)e=1;if(t===void 0)t=.5;var n=a(e,1,10);var r=a(t,.1,2);return function(e){return e===0||e===1?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(Math.PI*2)*Math.asin(1/n))*(Math.PI*2)/r)}}};var n=["Quad","Cubic","Quart","Quint","Expo"];n.forEach((function(e,n){t[e]=function(){return function(e){return Math.pow(e,n+2)}}}));Object.keys(t).forEach((function(n){var r=t[n];e["easeIn"+n]=r;e["easeOut"+n]=function(e,t){return function(n){return 1-r(e,t)(1-n)}};e["easeInOut"+n]=function(e,t){return function(n){return n<.5?r(e,t)(n*2)/2:1-r(e,t)(n*-2+2)/2}}}));return e}();function h(e,t){if(l.fnc(e)){return e}var n=e.split("(")[0];var r=f[n];var i=c(e);switch(n){case"spring":return u(e,t);case"cubicBezier":return s(p,i);case"steps":return s(d,i);default:return s(r,i)}}function m(e){try{var t=document.querySelectorAll(e);return t}catch(e){return}}function g(e,t){var n=e.length;var r=arguments.length>=2?arguments[1]:void 0;var i=[];for(var a=0;a<n;a++){if(a in e){var o=e[a];if(t.call(r,o,a,e)){i.push(o)}}}return i}function v(e){return e.reduce((function(e,t){return e.concat(l.arr(t)?v(t):t)}),[])}function y(e){if(l.arr(e)){return e}if(l.str(e)){e=m(e)||e}if(e instanceof NodeList||e instanceof HTMLCollection){return[].slice.call(e)}return[e]}function b(e,t){return e.some((function(e){return e===t}))}function w(e){var t={};for(var n in e){t[n]=e[n]}return t}function C(e,t){var n=w(e);for(var r in e){n[r]=t.hasOwnProperty(r)?t[r]:e[r]}return n}function x(e,t){var n=w(e);for(var r in t){n[r]=l.und(e[r])?t[r]:e[r]}return n}function E(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function S(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;var n=e.replace(t,(function(e,t,n,r){return t+t+n+n+r+r}));var r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);var i=parseInt(r[1],16);var a=parseInt(r[2],16);var o=parseInt(r[3],16);return"rgba("+i+","+a+","+o+",1)"}function L(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);var n=parseInt(t[1],10)/360;var r=parseInt(t[2],10)/100;var i=parseInt(t[3],10)/100;var a=t[4]||1;function o(e,t,n){if(n<0){n+=1}if(n>1){n-=1}if(n<1/6){return e+(t-e)*6*n}if(n<1/2){return t}if(n<2/3){return e+(t-e)*(2/3-n)*6}return e}var s,l,c;if(r==0){s=l=c=i}else{var u=i<.5?i*(1+r):i+r-i*r;var d=2*i-u;s=o(d,u,n+1/3);l=o(d,u,n);c=o(d,u,n-1/3)}return"rgba("+s*255+","+l*255+","+c*255+","+a+")"}function k(e){if(l.rgb(e)){return E(e)}if(l.hex(e)){return S(e)}if(l.hsl(e)){return L(e)}}function T(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t){return t[1]}}function A(e){if(o(e,"translate")||e==="perspective"){return"px"}if(o(e,"rotate")||o(e,"skew")){return"deg"}}function I(e,t){if(!l.fnc(e)){return e}return e(t.target,t.id,t.total)}function M(e,t){return e.getAttribute(t)}function N(e,t,n){var r=T(t);if(b([n,"deg","rad","turn"],r)){return t}var a=i.CSS[t+n];if(!l.und(a)){return a}var o=100;var s=document.createElement(e.tagName);var c=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;c.appendChild(s);s.style.position="absolute";s.style.width=o+n;var u=o/s.offsetWidth;c.removeChild(s);var d=u*parseFloat(t);i.CSS[t+n]=d;return d}function D(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?N(e,i,n):i}}function _(e,t){if(l.dom(e)&&!l.inp(e)&&(M(e,t)||l.svg(e)&&e[t])){return"attribute"}if(l.dom(e)&&b(r,t)){return"transform"}if(l.dom(e)&&t!=="transform"&&D(e,t)){return"css"}if(e[t]!=null){return"object"}}function O(e){if(!l.dom(e)){return}var t=e.style.transform||"";var n=/(\w+)\(([^)]*)\)/g;var r=new Map;var i;while(i=n.exec(t)){r.set(i[1],i[2])}return r}function P(e,t,n,r){var i=o(t,"scale")?1:0+A(t);var a=O(e).get(t)||i;if(n){n.transforms.list.set(t,a);n.transforms["last"]=t}return r?N(e,a,r):a}function F(e,t,n,r){switch(_(e,t)){case"transform":return P(e,t,r,n);case"css":return D(e,t,n);case"attribute":return M(e,t);default:return e[t]||0}}function B(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n){return e}var r=T(e)||0;var i=parseFloat(t);var a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return i+a+r;case"-":return i-a+r;case"*":return i*a+r}}function R(e,t){if(l.col(e)){return k(e)}if(/\s/g.test(e)){return e}var n=T(e);var r=n?e.substr(0,e.length-n.length):e;if(t){return r+t}return r}function j(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function $(e){return Math.PI*2*M(e,"r")}function W(e){return M(e,"width")*2+M(e,"height")*2}function H(e){return j({x:M(e,"x1"),y:M(e,"y1")},{x:M(e,"x2"),y:M(e,"y2")})}function U(e){var t=e.points;var n=0;var r;for(var i=0;i<t.numberOfItems;i++){var a=t.getItem(i);if(i>0){n+=j(r,a)}r=a}return n}function G(e){var t=e.points;return U(e)+j(t.getItem(t.numberOfItems-1),t.getItem(0))}function q(e){if(e.getTotalLength){return e.getTotalLength()}switch(e.tagName.toLowerCase()){case"circle":return $(e);case"rect":return W(e);case"line":return H(e);case"polyline":return U(e);case"polygon":return G(e)}}function V(e){var t=q(e);e.setAttribute("stroke-dasharray",t);return t}function z(e){var t=e.parentNode;while(l.svg(t)){if(!l.svg(t.parentNode)){break}t=t.parentNode}return t}function K(e,t){var n=t||{};var r=n.el||z(e);var i=r.getBoundingClientRect();var a=M(r,"viewBox");var o=i.width;var s=i.height;var l=n.viewBox||(a?a.split(" "):[0,0,o,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:o/l[2],h:s/l[3]}}function X(e,t){var n=l.str(e)?m(e)[0]:e;var r=t||100;return function(e){return{property:e,el:n,svg:K(n),totalLength:q(n)*(r/100)}}}function Y(e,t){function n(n){if(n===void 0)n=0;var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var r=K(e.el,e.svg);var i=n();var a=n(-1);var o=n(+1);switch(e.property){case"x":return(i.x-r.x)*r.w;case"y":return(i.y-r.y)*r.h;case"angle":return Math.atan2(o.y-a.y,o.x-a.x)*180/Math.PI}}function J(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g;var r=R(l.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:l.str(e)||t?r.split(n):[]}}function Q(e){var t=e?v(l.arr(e)?e.map(y):y(e)):[];return g(t,(function(e,t,n){return n.indexOf(e)===t}))}function Z(e){var t=Q(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:O(e)}}}))}function ee(e,t){var n=w(t);if(/^spring/.test(n.easing)){n.duration=u(n.easing)}if(l.arr(e)){var r=e.length;var i=r===2&&!l.obj(e[0]);if(!i){if(!l.fnc(t.duration)){n.duration=t.duration/r}}else{e={value:e}}}var a=l.arr(e)?e:[e];return a.map((function(e,n){var r=l.obj(e)&&!l.pth(e)?e:{value:e};if(l.und(r.delay)){r.delay=!n?t.delay:0}if(l.und(r.endDelay)){r.endDelay=n===a.length-1?t.endDelay:0}return r})).map((function(e){return x(e,n)}))}function te(e){var t=g(v(e.map((function(e){return Object.keys(e)}))),(function(e){return l.key(e)})).reduce((function(e,t){if(e.indexOf(t)<0){e.push(t)}return e}),[]);var n={};var r=function(r){var i=t[r];n[i]=e.map((function(e){var t={};for(var n in e){if(l.key(n)){if(n==i){t.value=e[n]}}else{t[n]=e[n]}}return t}))};for(var i=0;i<t.length;i++)r(i);return n}function ne(e,t){var n=[];var r=t.keyframes;if(r){t=x(te(r),t)}for(var i in t){if(l.key(i)){n.push({name:i,tweens:ee(t[i],e)})}}return n}function re(e,t){var n={};for(var r in e){var i=I(e[r],t);if(l.arr(i)){i=i.map((function(e){return I(e,t)}));if(i.length===1){i=i[0]}}n[r]=i}n.duration=parseFloat(n.duration);n.delay=parseFloat(n.delay);return n}function ie(e,t){var n;return e.tweens.map((function(r){var i=re(r,t);var a=i.value;var o=l.arr(a)?a[1]:a;var s=T(o);var c=F(t.target,e.name,s,t);var u=n?n.to.original:c;var d=l.arr(a)?a[0]:u;var p=T(d)||T(c);var f=s||p;if(l.und(o)){o=u}i.from=J(d,f);i.to=J(B(o,d),f);i.start=n?n.end:0;i.end=i.start+i.delay+i.duration+i.endDelay;i.easing=h(i.easing,i.duration);i.isPath=l.pth(a);i.isColor=l.col(i.from.original);if(i.isColor){i.round=1}n=i;return i}))}var ae={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,i){r.list.set(t,n);if(t===r.last||i){var a="";r.list.forEach((function(e,t){a+=t+"("+e+") "}));e.style.transform=a}}};function oe(e,t){var n=Z(e);n.forEach((function(e){for(var n in t){var r=I(t[n],e);var i=e.target;var a=T(r);var o=F(i,n,a,e);var s=a||T(o);var l=B(R(r,s),o);var c=_(i,n);ae[c](i,n,l,e.transforms,true)}}))}function se(e,t){var n=_(e.target,t.name);if(n){var r=ie(t,e);var i=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:i.end,delay:r[0].delay,endDelay:i.endDelay}}}function le(e,t){return g(v(e.map((function(e){return t.map((function(t){return se(e,t)}))}))),(function(e){return!l.und(e)}))}function ce(e,t){var n=e.length;var r=function(e){return e.timelineOffset?e.timelineOffset:0};var i={};i.duration=n?Math.max.apply(Math,e.map((function(e){return r(e)+e.duration}))):t.duration;i.delay=n?Math.min.apply(Math,e.map((function(e){return r(e)+e.delay}))):t.delay;i.endDelay=n?i.duration-Math.max.apply(Math,e.map((function(e){return r(e)+e.duration-e.endDelay}))):t.endDelay;return i}var ue=0;function de(e){var r=C(t,e);var i=C(n,e);var a=ne(i,e);var o=Z(e.targets);var s=le(o,a);var l=ce(s,i);var c=ue;ue++;return x(r,{id:c,children:[],animatables:o,animations:s,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}var pe=[];var fe=[];var he;var me=function(){function e(){he=requestAnimationFrame(t)}function t(t){var n=pe.length;if(n){var r=0;while(r<n){var i=pe[r];if(!i.paused){i.tick(t)}else{var a=pe.indexOf(i);if(a>-1){pe.splice(a,1);n=pe.length}}r++}e()}else{he=cancelAnimationFrame(he)}}return e}();function ge(){if(document.hidden){pe.forEach((function(e){return e.pause()}));fe=pe.slice(0);ve.running=pe=[]}else{fe.forEach((function(e){return e.play()}))}}if(typeof document!=="undefined"){document.addEventListener("visibilitychange",ge)}function ve(e){if(e===void 0)e={};var t=0,n=0,r=0;var i,o=0;var s=null;function l(e){var t=window.Promise&&new Promise((function(e){return s=e}));e.finished=t;return t}var c=de(e);var u=l(c);function d(){var e=c.direction;if(e!=="alternate"){c.direction=e!=="normal"?"normal":"reverse"}c.reversed=!c.reversed;i.forEach((function(e){return e.reversed=c.reversed}))}function p(e){return c.reversed?c.duration-e:e}function f(){t=0;n=p(c.currentTime)*(1/ve.speed)}function h(e,t){if(t){t.seek(e-t.timelineOffset)}}function m(e){if(!c.reversePlayback){for(var t=0;t<o;t++){h(e,i[t])}}else{for(var n=o;n--;){h(e,i[n])}}}function v(e){var t=0;var n=c.animations;var r=n.length;while(t<r){var i=n[t];var o=i.animatable;var s=i.tweens;var l=s.length-1;var u=s[l];if(l){u=g(s,(function(t){return e<t.end}))[0]||u}var d=a(e-u.start-u.delay,0,u.duration)/u.duration;var p=isNaN(d)?1:u.easing(d);var f=u.to.strings;var h=u.round;var m=[];var v=u.to.numbers.length;var y=void 0;for(var b=0;b<v;b++){var w=void 0;var C=u.to.numbers[b];var x=u.from.numbers[b]||0;if(!u.isPath){w=x+p*(C-x)}else{w=Y(u.value,p*C)}if(h){if(!(u.isColor&&b>2)){w=Math.round(w*h)/h}}m.push(w)}var E=f.length;if(!E){y=m[0]}else{y=f[0];for(var S=0;S<E;S++){var L=f[S];var k=f[S+1];var T=m[S];if(!isNaN(T)){if(!k){y+=T+" "}else{y+=T+k}}}}ae[i.type](o.target,i.property,y,o.transforms);i.currentValue=y;t++}}function y(e){if(c[e]&&!c.passThrough){c[e](c)}}function b(){if(c.remaining&&c.remaining!==true){c.remaining--}}function w(e){var o=c.duration;var f=c.delay;var h=o-c.endDelay;var g=p(e);c.progress=a(g/o*100,0,100);c.reversePlayback=g<c.currentTime;if(i){m(g)}if(!c.began&&c.currentTime>0){c.began=true;y("begin")}if(!c.loopBegan&&c.currentTime>0){c.loopBegan=true;y("loopBegin")}if(g<=f&&c.currentTime!==0){v(0)}if(g>=h&&c.currentTime!==o||!o){v(o)}if(g>f&&g<h){if(!c.changeBegan){c.changeBegan=true;c.changeCompleted=false;y("changeBegin")}y("change");v(g)}else{if(c.changeBegan){c.changeCompleted=true;c.changeBegan=false;y("changeComplete")}}c.currentTime=a(g,0,o);if(c.began){y("update")}if(e>=o){n=0;b();if(!c.remaining){c.paused=true;if(!c.completed){c.completed=true;y("loopComplete");y("complete");if(!c.passThrough&&"Promise"in window){s();u=l(c)}}}else{t=r;y("loopComplete");c.loopBegan=false;if(c.direction==="alternate"){d()}}}}c.reset=function(){var e=c.direction;c.passThrough=false;c.currentTime=0;c.progress=0;c.paused=true;c.began=false;c.loopBegan=false;c.changeBegan=false;c.completed=false;c.changeCompleted=false;c.reversePlayback=false;c.reversed=e==="reverse";c.remaining=c.loop;i=c.children;o=i.length;for(var t=o;t--;){c.children[t].reset()}if(c.reversed&&c.loop!==true||e==="alternate"&&c.loop===1){c.remaining++}v(c.reversed?c.duration:0)};c.set=function(e,t){oe(e,t);return c};c.tick=function(e){r=e;if(!t){t=r}w((r+(n-t))*ve.speed)};c.seek=function(e){w(p(e))};c.pause=function(){c.paused=true;f()};c.play=function(){if(!c.paused){return}if(c.completed){c.reset()}c.paused=false;pe.push(c);f();if(!he){me()}};c.reverse=function(){d();c.completed=c.reversed?false:true;f()};c.restart=function(){c.reset();c.play()};c.reset();if(c.autoplay){c.play()}return c}function ye(e,t){for(var n=t.length;n--;){if(b(e,t[n].animatable.target)){t.splice(n,1)}}}function be(e){var t=Q(e);for(var n=pe.length;n--;){var r=pe[n];var i=r.animations;var a=r.children;ye(t,i);for(var o=a.length;o--;){var s=a[o];var l=s.animations;ye(t,l);if(!l.length&&!s.children.length){a.splice(o,1)}}if(!i.length&&!a.length){r.pause()}}}function we(e,t){if(t===void 0)t={};var n=t.direction||"normal";var r=t.easing?h(t.easing):null;var i=t.grid;var a=t.axis;var o=t.from||0;var s=o==="first";var c=o==="center";var u=o==="last";var d=l.arr(e);var p=d?parseFloat(e[0]):parseFloat(e);var f=d?parseFloat(e[1]):0;var m=T(d?e[1]:e)||0;var g=t.start||0+(d?p:0);var v=[];var y=0;return function(e,t,l){if(s){o=0}if(c){o=(l-1)/2}if(u){o=l-1}if(!v.length){for(var h=0;h<l;h++){if(!i){v.push(Math.abs(o-h))}else{var b=!c?o%i[0]:(i[0]-1)/2;var w=!c?Math.floor(o/i[0]):(i[1]-1)/2;var C=h%i[0];var x=Math.floor(h/i[0]);var E=b-C;var S=w-x;var L=Math.sqrt(E*E+S*S);if(a==="x"){L=-E}if(a==="y"){L=-S}v.push(L)}y=Math.max.apply(Math,v)}if(r){v=v.map((function(e){return r(e/y)*y}))}if(n==="reverse"){v=v.map((function(e){return a?e<0?e*-1:-e:Math.abs(y-e)}))}}var k=d?(f-p)/y:p;return g+k*(Math.round(v[t]*100)/100)+m}}function Ce(e){if(e===void 0)e={};var t=ve(e);t.duration=0;t.add=function(r,i){var a=pe.indexOf(t);var o=t.children;if(a>-1){pe.splice(a,1)}function s(e){e.passThrough=true}for(var c=0;c<o.length;c++){s(o[c])}var u=x(r,C(n,e));u.targets=u.targets||e.targets;var d=t.duration;u.autoplay=false;u.direction=t.direction;u.timelineOffset=l.und(i)?d:B(i,d);s(t);t.seek(u.timelineOffset);var p=ve(u);s(p);o.push(p);var f=ce(o,e);t.delay=f.delay;t.endDelay=f.endDelay;t.duration=f.duration;t.seek(0);t.reset();if(t.autoplay){t.play()}return t};return t}ve.version="3.2.0";ve.speed=1;ve.running=pe;ve.remove=be;ve.get=F;ve.set=oe;ve.convertPx=N;ve.path=X;ve.setDashoffset=V;ve.stagger=we;ve.timeline=Ce;ve.easing=h;ve.penner=f;ve.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};e.exports=ve},1702:e=>{"use strict";
1
+ (()=>{var __webpack_modules__={922:e=>{"use strict";e.exports=function(e,t){return{_init_:function e(){return}}}(j1,window)},784:()=>{var e;var t=document.documentElement.lang;function n(t){window.clearTimeout(e);t.prev().toggleClass("stacked");t.toggle()}function r(){$(".result").each((function(e,r){var i;var a=$(r);var o=a.prev().find(".title");if(t=="en"){i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="toggle results" data-bs-original-title="toggle results">View</span></div>')}else if(t=="de"){i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="Anzeige umschalten" data-bs-original-title="toggle results">Anzeige</span></div>')}else{i=$('<div class="j1-viewer"><span class="btn-viewer" data-bs-toggle="tooltip" data-bs-placement="left" title="toggle results" data-bs-original-title="toggle results">View</span></div>')}o.append(i);$(".btn-viewer").tooltip();i.on("click",(function(e){e.preventDefault();n(a)}))}))}$(r)},258:e=>{"use strict";var t={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:true,timelineOffset:0};var n={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0};var r=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"];var i={CSS:{},springs:{}};function a(e,t,n){return Math.min(Math.max(e,t),n)}function o(e,t){return e.indexOf(t)>-1}function s(e,t){return e.apply(null,t)}var l={arr:function e(t){return Array.isArray(t)},obj:function e(t){return o(Object.prototype.toString.call(t),"Object")},pth:function e(t){return l.obj(t)&&t.hasOwnProperty("totalLength")},svg:function e(t){return t instanceof SVGElement},inp:function e(t){return t instanceof HTMLInputElement},dom:function e(t){return t.nodeType||l.svg(t)},str:function e(t){return typeof t==="string"},fnc:function e(t){return typeof t==="function"},und:function e(t){return typeof t==="undefined"},hex:function e(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function e(t){return/^rgb/.test(t)},hsl:function e(t){return/^hsl/.test(t)},col:function e(t){return l.hex(t)||l.rgb(t)||l.hsl(t)},key:function e(r){return!t.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&r!=="targets"&&r!=="keyframes"}};function c(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function u(e,t){var n=c(e);var r=a(l.und(n[0])?1:n[0],.1,100);var o=a(l.und(n[1])?100:n[1],.1,100);var s=a(l.und(n[2])?10:n[2],.1,100);var u=a(l.und(n[3])?0:n[3],.1,100);var d=Math.sqrt(o/r);var p=s/(2*Math.sqrt(o*r));var f=p<1?d*Math.sqrt(1-p*p):0;var h=1;var m=p<1?(p*d+-u)/f:-u+d;function v(e){var n=t?t*e/1e3:e;if(p<1){n=Math.exp(-n*p*d)*(h*Math.cos(f*n)+m*Math.sin(f*n))}else{n=(h+m*n)*Math.exp(-n*d)}if(e===0||e===1){return e}return 1-n}function g(){var t=i.springs[e];if(t){return t}var n=1/6;var r=0;var a=0;while(true){r+=n;if(v(r)===1){a++;if(a>=16){break}}else{a=0}}var o=r*n*1e3;i.springs[e]=o;return o}return t?v:g}function d(e){if(e===void 0)e=10;return function(t){return Math.ceil(a(t,1e-6,1)*e)*(1/e)}}var p=function(){var e=11;var t=1/(e-1);function n(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,a){return((n(t,a)*e+r(t,a))*e+i(t))*e}function o(e,t,a){return 3*n(t,a)*e*e+2*r(t,a)*e+i(t)}function s(e,t,n,r,i){var o,s,l=0;do{s=t+(n-t)/2;o=a(s,r,i)-e;if(o>0){n=s}else{t=s}}while(Math.abs(o)>1e-7&&++l<10);return s}function l(e,t,n,r){for(var i=0;i<4;++i){var s=o(t,n,r);if(s===0){return t}var l=a(t,n,r)-e;t-=l/s}return t}function c(n,r,i,c){if(!(0<=n&&n<=1&&0<=i&&i<=1)){return}var u=new Float32Array(e);if(n!==r||i!==c){for(var d=0;d<e;++d){u[d]=a(d*t,n,i)}}function p(r){var a=0;var c=1;var d=e-1;for(;c!==d&&u[c]<=r;++c){a+=t}--c;var p=(r-u[c])/(u[c+1]-u[c]);var f=a+p*t;var h=o(f,n,i);if(h>=.001){return l(r,f,n,i)}else if(h===0){return f}else{return s(r,a,a+t,n,i)}}return function(e){if(n===r&&i===c){return e}if(e===0||e===1){return e}return a(p(e),r,c)}}return c}();var f=function(){var e={linear:function e(){return function(e){return e}}};var t={Sine:function e(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function e(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function e(){return function(e){return e*e*(3*e-2)}},Bounce:function e(){return function(e){var t,n=4;while(e<((t=Math.pow(2,--n))-1)/11){}return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)}},Elastic:function e(t,n){if(t===void 0)t=1;if(n===void 0)n=.5;var r=a(t,1,10);var i=a(n,.1,2);return function(e){return e===0||e===1?e:-r*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(Math.PI*2)*Math.asin(1/r))*(Math.PI*2)/i)}}};var n=["Quad","Cubic","Quart","Quint","Expo"];n.forEach((function(e,n){t[e]=function(){return function(e){return Math.pow(e,n+2)}}}));Object.keys(t).forEach((function(n){var r=t[n];e["easeIn"+n]=r;e["easeOut"+n]=function(e,t){return function(n){return 1-r(e,t)(1-n)}};e["easeInOut"+n]=function(e,t){return function(n){return n<.5?r(e,t)(n*2)/2:1-r(e,t)(n*-2+2)/2}}}));return e}();function h(e,t){if(l.fnc(e)){return e}var n=e.split("(")[0];var r=f[n];var i=c(e);switch(n){case"spring":return u(e,t);case"cubicBezier":return s(p,i);case"steps":return s(d,i);default:return s(r,i)}}function m(e){try{var t=document.querySelectorAll(e);return t}catch(e){return}}function v(e,t){var n=e.length;var r=arguments.length>=2?arguments[1]:void 0;var i=[];for(var a=0;a<n;a++){if(a in e){var o=e[a];if(t.call(r,o,a,e)){i.push(o)}}}return i}function g(e){return e.reduce((function(e,t){return e.concat(l.arr(t)?g(t):t)}),[])}function y(e){if(l.arr(e)){return e}if(l.str(e)){e=m(e)||e}if(e instanceof NodeList||e instanceof HTMLCollection){return[].slice.call(e)}return[e]}function b(e,t){return e.some((function(e){return e===t}))}function w(e){var t={};for(var n in e){t[n]=e[n]}return t}function C(e,t){var n=w(e);for(var r in e){n[r]=t.hasOwnProperty(r)?t[r]:e[r]}return n}function x(e,t){var n=w(e);for(var r in t){n[r]=l.und(e[r])?t[r]:e[r]}return n}function E(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function S(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;var n=e.replace(t,(function(e,t,n,r){return t+t+n+n+r+r}));var r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);var i=parseInt(r[1],16);var a=parseInt(r[2],16);var o=parseInt(r[3],16);return"rgba("+i+","+a+","+o+",1)"}function L(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);var n=parseInt(t[1],10)/360;var r=parseInt(t[2],10)/100;var i=parseInt(t[3],10)/100;var a=t[4]||1;function o(e,t,n){if(n<0){n+=1}if(n>1){n-=1}if(n<1/6){return e+(t-e)*6*n}if(n<1/2){return t}if(n<2/3){return e+(t-e)*(2/3-n)*6}return e}var s,l,c;if(r==0){s=l=c=i}else{var u=i<.5?i*(1+r):i+r-i*r;var d=2*i-u;s=o(d,u,n+1/3);l=o(d,u,n);c=o(d,u,n-1/3)}return"rgba("+s*255+","+l*255+","+c*255+","+a+")"}function k(e){if(l.rgb(e)){return E(e)}if(l.hex(e)){return S(e)}if(l.hsl(e)){return L(e)}}function A(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t){return t[1]}}function T(e){if(o(e,"translate")||e==="perspective"){return"px"}if(o(e,"rotate")||o(e,"skew")){return"deg"}}function I(e,t){if(!l.fnc(e)){return e}return e(t.target,t.id,t.total)}function M(e,t){return e.getAttribute(t)}function N(e,t,n){var r=A(t);if(b([n,"deg","rad","turn"],r)){return t}var a=i.CSS[t+n];if(!l.und(a)){return a}var o=100;var s=document.createElement(e.tagName);var c=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;c.appendChild(s);s.style.position="absolute";s.style.width=o+n;var u=o/s.offsetWidth;c.removeChild(s);var d=u*parseFloat(t);i.CSS[t+n]=d;return d}function D(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?N(e,i,n):i}}function O(e,t){if(l.dom(e)&&!l.inp(e)&&(M(e,t)||l.svg(e)&&e[t])){return"attribute"}if(l.dom(e)&&b(r,t)){return"transform"}if(l.dom(e)&&t!=="transform"&&D(e,t)){return"css"}if(e[t]!=null){return"object"}}function _(e){if(!l.dom(e)){return}var t=e.style.transform||"";var n=/(\w+)\(([^)]*)\)/g;var r=new Map;var i;while(i=n.exec(t)){r.set(i[1],i[2])}return r}function P(e,t,n,r){var i=o(t,"scale")?1:0+T(t);var a=_(e).get(t)||i;if(n){n.transforms.list.set(t,a);n.transforms["last"]=t}return r?N(e,a,r):a}function F(e,t,n,r){switch(O(e,t)){case"transform":return P(e,t,r,n);case"css":return D(e,t,n);case"attribute":return M(e,t);default:return e[t]||0}}function B(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n){return e}var r=A(e)||0;var i=parseFloat(t);var a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return i+a+r;case"-":return i-a+r;case"*":return i*a+r}}function j(e,t){if(l.col(e)){return k(e)}if(/\s/g.test(e)){return e}var n=A(e);var r=n?e.substr(0,e.length-n.length):e;if(t){return r+t}return r}function R(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function $(e){return Math.PI*2*M(e,"r")}function W(e){return M(e,"width")*2+M(e,"height")*2}function H(e){return R({x:M(e,"x1"),y:M(e,"y1")},{x:M(e,"x2"),y:M(e,"y2")})}function U(e){var t=e.points;var n=0;var r;for(var i=0;i<t.numberOfItems;i++){var a=t.getItem(i);if(i>0){n+=R(r,a)}r=a}return n}function G(e){var t=e.points;return U(e)+R(t.getItem(t.numberOfItems-1),t.getItem(0))}function q(e){if(e.getTotalLength){return e.getTotalLength()}switch(e.tagName.toLowerCase()){case"circle":return $(e);case"rect":return W(e);case"line":return H(e);case"polyline":return U(e);case"polygon":return G(e)}}function V(e){var t=q(e);e.setAttribute("stroke-dasharray",t);return t}function z(e){var t=e.parentNode;while(l.svg(t)){if(!l.svg(t.parentNode)){break}t=t.parentNode}return t}function K(e,t){var n=t||{};var r=n.el||z(e);var i=r.getBoundingClientRect();var a=M(r,"viewBox");var o=i.width;var s=i.height;var l=n.viewBox||(a?a.split(" "):[0,0,o,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:o/l[2],h:s/l[3]}}function X(e,t){var n=l.str(e)?m(e)[0]:e;var r=t||100;return function(e){return{property:e,el:n,svg:K(n),totalLength:q(n)*(r/100)}}}function Y(e,t){function n(n){if(n===void 0)n=0;var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var r=K(e.el,e.svg);var i=n();var a=n(-1);var o=n(+1);switch(e.property){case"x":return(i.x-r.x)*r.w;case"y":return(i.y-r.y)*r.h;case"angle":return Math.atan2(o.y-a.y,o.x-a.x)*180/Math.PI}}function J(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g;var r=j(l.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:l.str(e)||t?r.split(n):[]}}function Q(e){var t=e?g(l.arr(e)?e.map(y):y(e)):[];return v(t,(function(e,t,n){return n.indexOf(e)===t}))}function Z(e){var t=Q(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:_(e)}}}))}function ee(e,t){var n=w(t);if(/^spring/.test(n.easing)){n.duration=u(n.easing)}if(l.arr(e)){var r=e.length;var i=r===2&&!l.obj(e[0]);if(!i){if(!l.fnc(t.duration)){n.duration=t.duration/r}}else{e={value:e}}}var a=l.arr(e)?e:[e];return a.map((function(e,n){var r=l.obj(e)&&!l.pth(e)?e:{value:e};if(l.und(r.delay)){r.delay=!n?t.delay:0}if(l.und(r.endDelay)){r.endDelay=n===a.length-1?t.endDelay:0}return r})).map((function(e){return x(e,n)}))}function te(e){var t=v(g(e.map((function(e){return Object.keys(e)}))),(function(e){return l.key(e)})).reduce((function(e,t){if(e.indexOf(t)<0){e.push(t)}return e}),[]);var n={};var r=function r(i){var a=t[i];n[a]=e.map((function(e){var t={};for(var n in e){if(l.key(n)){if(n==a){t.value=e[n]}}else{t[n]=e[n]}}return t}))};for(var i=0;i<t.length;i++)r(i);return n}function ne(e,t){var n=[];var r=t.keyframes;if(r){t=x(te(r),t)}for(var i in t){if(l.key(i)){n.push({name:i,tweens:ee(t[i],e)})}}return n}function re(e,t){var n={};for(var r in e){var i=I(e[r],t);if(l.arr(i)){i=i.map((function(e){return I(e,t)}));if(i.length===1){i=i[0]}}n[r]=i}n.duration=parseFloat(n.duration);n.delay=parseFloat(n.delay);return n}function ie(e,t){var n;return e.tweens.map((function(r){var i=re(r,t);var a=i.value;var o=l.arr(a)?a[1]:a;var s=A(o);var c=F(t.target,e.name,s,t);var u=n?n.to.original:c;var d=l.arr(a)?a[0]:u;var p=A(d)||A(c);var f=s||p;if(l.und(o)){o=u}i.from=J(d,f);i.to=J(B(o,d),f);i.start=n?n.end:0;i.end=i.start+i.delay+i.duration+i.endDelay;i.easing=h(i.easing,i.duration);i.isPath=l.pth(a);i.isColor=l.col(i.from.original);if(i.isColor){i.round=1}n=i;return i}))}var ae={css:function e(t,n,r){return t.style[n]=r},attribute:function e(t,n,r){return t.setAttribute(n,r)},object:function e(t,n,r){return t[n]=r},transform:function e(t,n,r,i,a){i.list.set(n,r);if(n===i.last||a){var o="";i.list.forEach((function(e,t){o+=t+"("+e+") "}));t.style.transform=o}}};function oe(e,t){var n=Z(e);n.forEach((function(e){for(var n in t){var r=I(t[n],e);var i=e.target;var a=A(r);var o=F(i,n,a,e);var s=a||A(o);var l=B(j(r,s),o);var c=O(i,n);ae[c](i,n,l,e.transforms,true)}}))}function se(e,t){var n=O(e.target,t.name);if(n){var r=ie(t,e);var i=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:i.end,delay:r[0].delay,endDelay:i.endDelay}}}function le(e,t){return v(g(e.map((function(e){return t.map((function(t){return se(e,t)}))}))),(function(e){return!l.und(e)}))}function ce(e,t){var n=e.length;var r=function e(t){return t.timelineOffset?t.timelineOffset:0};var i={};i.duration=n?Math.max.apply(Math,e.map((function(e){return r(e)+e.duration}))):t.duration;i.delay=n?Math.min.apply(Math,e.map((function(e){return r(e)+e.delay}))):t.delay;i.endDelay=n?i.duration-Math.max.apply(Math,e.map((function(e){return r(e)+e.duration-e.endDelay}))):t.endDelay;return i}var ue=0;function de(e){var r=C(t,e);var i=C(n,e);var a=ne(i,e);var o=Z(e.targets);var s=le(o,a);var l=ce(s,i);var c=ue;ue++;return x(r,{id:c,children:[],animatables:o,animations:s,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}var pe=[];var fe=[];var he;var me=function(){function e(){he=requestAnimationFrame(t)}function t(t){var n=pe.length;if(n){var r=0;while(r<n){var i=pe[r];if(!i.paused){i.tick(t)}else{var a=pe.indexOf(i);if(a>-1){pe.splice(a,1);n=pe.length}}r++}e()}else{he=cancelAnimationFrame(he)}}return e}();function ve(){if(document.hidden){pe.forEach((function(e){return e.pause()}));fe=pe.slice(0);ge.running=pe=[]}else{fe.forEach((function(e){return e.play()}))}}if(typeof document!=="undefined"){document.addEventListener("visibilitychange",ve)}function ge(e){if(e===void 0)e={};var t=0,n=0,r=0;var i,o=0;var s=null;function l(e){var t=window.Promise&&new Promise((function(e){return s=e}));e.finished=t;return t}var c=de(e);var u=l(c);function d(){var e=c.direction;if(e!=="alternate"){c.direction=e!=="normal"?"normal":"reverse"}c.reversed=!c.reversed;i.forEach((function(e){return e.reversed=c.reversed}))}function p(e){return c.reversed?c.duration-e:e}function f(){t=0;n=p(c.currentTime)*(1/ge.speed)}function h(e,t){if(t){t.seek(e-t.timelineOffset)}}function m(e){if(!c.reversePlayback){for(var t=0;t<o;t++){h(e,i[t])}}else{for(var n=o;n--;){h(e,i[n])}}}function g(e){var t=0;var n=c.animations;var r=n.length;while(t<r){var i=n[t];var o=i.animatable;var s=i.tweens;var l=s.length-1;var u=s[l];if(l){u=v(s,(function(t){return e<t.end}))[0]||u}var d=a(e-u.start-u.delay,0,u.duration)/u.duration;var p=isNaN(d)?1:u.easing(d);var f=u.to.strings;var h=u.round;var m=[];var g=u.to.numbers.length;var y=void 0;for(var b=0;b<g;b++){var w=void 0;var C=u.to.numbers[b];var x=u.from.numbers[b]||0;if(!u.isPath){w=x+p*(C-x)}else{w=Y(u.value,p*C)}if(h){if(!(u.isColor&&b>2)){w=Math.round(w*h)/h}}m.push(w)}var E=f.length;if(!E){y=m[0]}else{y=f[0];for(var S=0;S<E;S++){var L=f[S];var k=f[S+1];var A=m[S];if(!isNaN(A)){if(!k){y+=A+" "}else{y+=A+k}}}}ae[i.type](o.target,i.property,y,o.transforms);i.currentValue=y;t++}}function y(e){if(c[e]&&!c.passThrough){c[e](c)}}function b(){if(c.remaining&&c.remaining!==true){c.remaining--}}function w(e){var o=c.duration;var f=c.delay;var h=o-c.endDelay;var v=p(e);c.progress=a(v/o*100,0,100);c.reversePlayback=v<c.currentTime;if(i){m(v)}if(!c.began&&c.currentTime>0){c.began=true;y("begin")}if(!c.loopBegan&&c.currentTime>0){c.loopBegan=true;y("loopBegin")}if(v<=f&&c.currentTime!==0){g(0)}if(v>=h&&c.currentTime!==o||!o){g(o)}if(v>f&&v<h){if(!c.changeBegan){c.changeBegan=true;c.changeCompleted=false;y("changeBegin")}y("change");g(v)}else{if(c.changeBegan){c.changeCompleted=true;c.changeBegan=false;y("changeComplete")}}c.currentTime=a(v,0,o);if(c.began){y("update")}if(e>=o){n=0;b();if(!c.remaining){c.paused=true;if(!c.completed){c.completed=true;y("loopComplete");y("complete");if(!c.passThrough&&"Promise"in window){s();u=l(c)}}}else{t=r;y("loopComplete");c.loopBegan=false;if(c.direction==="alternate"){d()}}}}c.reset=function(){var e=c.direction;c.passThrough=false;c.currentTime=0;c.progress=0;c.paused=true;c.began=false;c.loopBegan=false;c.changeBegan=false;c.completed=false;c.changeCompleted=false;c.reversePlayback=false;c.reversed=e==="reverse";c.remaining=c.loop;i=c.children;o=i.length;for(var t=o;t--;){c.children[t].reset()}if(c.reversed&&c.loop!==true||e==="alternate"&&c.loop===1){c.remaining++}g(c.reversed?c.duration:0)};c.set=function(e,t){oe(e,t);return c};c.tick=function(e){r=e;if(!t){t=r}w((r+(n-t))*ge.speed)};c.seek=function(e){w(p(e))};c.pause=function(){c.paused=true;f()};c.play=function(){if(!c.paused){return}if(c.completed){c.reset()}c.paused=false;pe.push(c);f();if(!he){me()}};c.reverse=function(){d();c.completed=c.reversed?false:true;f()};c.restart=function(){c.reset();c.play()};c.reset();if(c.autoplay){c.play()}return c}function ye(e,t){for(var n=t.length;n--;){if(b(e,t[n].animatable.target)){t.splice(n,1)}}}function be(e){var t=Q(e);for(var n=pe.length;n--;){var r=pe[n];var i=r.animations;var a=r.children;ye(t,i);for(var o=a.length;o--;){var s=a[o];var l=s.animations;ye(t,l);if(!l.length&&!s.children.length){a.splice(o,1)}}if(!i.length&&!a.length){r.pause()}}}function we(e,t){if(t===void 0)t={};var n=t.direction||"normal";var r=t.easing?h(t.easing):null;var i=t.grid;var a=t.axis;var o=t.from||0;var s=o==="first";var c=o==="center";var u=o==="last";var d=l.arr(e);var p=d?parseFloat(e[0]):parseFloat(e);var f=d?parseFloat(e[1]):0;var m=A(d?e[1]:e)||0;var v=t.start||0+(d?p:0);var g=[];var y=0;return function(e,t,l){if(s){o=0}if(c){o=(l-1)/2}if(u){o=l-1}if(!g.length){for(var h=0;h<l;h++){if(!i){g.push(Math.abs(o-h))}else{var b=!c?o%i[0]:(i[0]-1)/2;var w=!c?Math.floor(o/i[0]):(i[1]-1)/2;var C=h%i[0];var x=Math.floor(h/i[0]);var E=b-C;var S=w-x;var L=Math.sqrt(E*E+S*S);if(a==="x"){L=-E}if(a==="y"){L=-S}g.push(L)}y=Math.max.apply(Math,g)}if(r){g=g.map((function(e){return r(e/y)*y}))}if(n==="reverse"){g=g.map((function(e){return a?e<0?e*-1:-e:Math.abs(y-e)}))}}var k=d?(f-p)/y:p;return v+k*(Math.round(g[t]*100)/100)+m}}function Ce(e){if(e===void 0)e={};var t=ge(e);t.duration=0;t.add=function(r,i){var a=pe.indexOf(t);var o=t.children;if(a>-1){pe.splice(a,1)}function s(e){e.passThrough=true}for(var c=0;c<o.length;c++){s(o[c])}var u=x(r,C(n,e));u.targets=u.targets||e.targets;var d=t.duration;u.autoplay=false;u.direction=t.direction;u.timelineOffset=l.und(i)?d:B(i,d);s(t);t.seek(u.timelineOffset);var p=ge(u);s(p);o.push(p);var f=ce(o,e);t.delay=f.delay;t.endDelay=f.endDelay;t.duration=f.duration;t.seek(0);t.reset();if(t.autoplay){t.play()}return t};return t}ge.version="3.2.0";ge.speed=1;ge.running=pe;ge.remove=be;ge.get=F;ge.set=oe;ge.convertPx=N;ge.path=X;ge.setDashoffset=V;ge.stagger=we;ge.timeline=Ce;ge.easing=h;ge.penner=f;ge.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};e.exports=ge},702:e=>{"use strict";
2
2
  /*!
3
3
  * J1 Asciidoctor
4
4
  * Copyright (C) 2023, 2024 Juergen Adams
5
5
  * Licensed under MIT License.
6
- */e.exports=function e(t){return{init:function(e){var t=e;var n=log4javascript.getLogger("j1.core.asciidoctor");var r;var i={dummyOption:false};var e=$.extend(i,t);r="J1 Asciidoctor is being initialized";n.info(r);this.callouts()},callouts:function(e){var t="";if($(".colist > table > colgroup").length==0){t+="\x3c!-- [INFO ] [j1.core.asciidoctor ] [ place a colgroup dynamically ] --\x3e"+"\n";t+='<colgroup> <col style="width: 5%;"> <col style="width: 95%;"> </colgroup>';$(".colist > table").prepend(t)}},conums:function(e){var t=setInterval((function(){if(j1.getState()=="finished"){if($(".colist > table > colgroup").length==0){var e="";e+='<colgroup> <col style="width: 5%;"> <col style="width: 95%;"> </colgroup>';$(".colist > table").prepend(e);clearInterval(t)}}}))}}}(jQuery)},7196:()=>{"use strict";(function(e,t,n){var r={init:function(t,n){var r=this;r.$elem=e(n);r.options=e.extend({},e.fn.owlCarousel.options,r.$elem.data(),t);r.userOptions=t;r.loadContent()},loadContent:function(){var t=this,n;function r(e){var n,r="";if(typeof t.options.jsonSuccess==="function"){t.options.jsonSuccess.apply(this,[e])}else{for(n in e.owl){if(e.owl.hasOwnProperty(n)){r+=e.owl[n].item}}t.$elem.html(r)}t.logIn()}if(typeof t.options.beforeInit==="function"){t.options.beforeInit.apply(this,[t.$elem])}if(typeof t.options.jsonPath==="string"){n=t.options.jsonPath;e.getJSON(n,r)}else{t.logIn()}},logIn:function(){var e=this;e.$elem.data({"owl-originalStyles":e.$elem.attr("style"),"owl-originalClasses":e.$elem.attr("class")});e.$elem.css({opacity:0});e.orignalItems=e.options.items;e.checkBrowser();e.wrapperWidth=0;e.checkVisible=null;e.setVars()},setVars:function(){var e=this;if(e.$elem.children().length===0){return false}e.baseClass();e.eventTypes();e.$userItems=e.$elem.children();e.itemsAmount=e.$userItems.length;e.wrapItems();e.$owlItems=e.$elem.find(".owl-item");e.$owlWrapper=e.$elem.find(".owl-wrapper");e.playDirection="next";e.prevItem=0;e.prevArr=[0];e.currentItem=0;e.customEvents();e.onStartup()},onStartup:function(){var e=this;e.updateItems();e.calculateAll();e.buildControls();e.updateControls();e.response();e.moveEvents();e.stopOnHover();e.owlStatus();if(e.options.transitionStyle!==false){e.transitionTypes(e.options.transitionStyle)}if(e.options.autoPlay===true){e.options.autoPlay=5e3}e.play();e.$elem.find(".owl-wrapper").css("display","block");if(!e.$elem.is(":visible")){e.watchVisibility()}else{e.$elem.css("opacity",1)}e.onstartup=false;e.eachMoveUpdate();if(typeof e.options.afterInit==="function"){e.options.afterInit.apply(this,[e.$elem])}},eachMoveUpdate:function(){var e=this;if(e.options.lazyLoad===true){e.lazyLoad()}if(e.options.autoHeight===true){e.autoHeight()}e.onVisibleItems();if(typeof e.options.afterAction==="function"){e.options.afterAction.apply(this,[e.$elem])}},updateVars:function(){var e=this;if(typeof e.options.beforeUpdate==="function"){e.options.beforeUpdate.apply(this,[e.$elem])}e.watchVisibility();e.updateItems();e.calculateAll();e.updatePosition();e.updateControls();e.eachMoveUpdate();if(typeof e.options.afterUpdate==="function"){e.options.afterUpdate.apply(this,[e.$elem])}},reload:function(){var e=this;t.setTimeout((function(){e.updateVars()}),0)},watchVisibility:function(){var e=this;if(e.$elem.is(":visible")===false){e.$elem.css({opacity:0});t.clearInterval(e.autoPlayInterval);t.clearInterval(e.checkVisible)}else{return false}e.checkVisible=t.setInterval((function(){if(e.$elem.is(":visible")){e.reload();e.$elem.animate({opacity:1},200);t.clearInterval(e.checkVisible)}}),500)},wrapItems:function(){var e=this;e.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');e.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');e.wrapperOuter=e.$elem.find(".owl-wrapper-outer");e.$elem.css("display","block")},baseClass:function(){var e=this,t=e.$elem.hasClass(e.options.baseClass),n=e.$elem.hasClass(e.options.theme);if(!t){e.$elem.addClass(e.options.baseClass)}if(!n){e.$elem.addClass(e.options.theme)}},updateItems:function(){var t=this,n,r;if(t.options.responsive===false){return false}if(t.options.singleItem===true){t.options.items=t.orignalItems=1;t.options.itemsCustom=false;t.options.itemsDesktop=false;t.options.itemsDesktopSmall=false;t.options.itemsTablet=false;t.options.itemsTabletSmall=false;t.options.itemsMobile=false;return false}n=e(t.options.responsiveBaseWidth).width();if(n>(t.options.itemsDesktop[0]||t.orignalItems)){t.options.items=t.orignalItems}if(t.options.itemsCustom!==false){t.options.itemsCustom.sort((function(e,t){return e[0]-t[0]}));for(r=0;r<t.options.itemsCustom.length;r+=1){if(t.options.itemsCustom[r][0]<=n){t.options.items=t.options.itemsCustom[r][1]}}}else{if(n<=t.options.itemsDesktop[0]&&t.options.itemsDesktop!==false){t.options.items=t.options.itemsDesktop[1]}if(n<=t.options.itemsDesktopSmall[0]&&t.options.itemsDesktopSmall!==false){t.options.items=t.options.itemsDesktopSmall[1]}if(n<=t.options.itemsTablet[0]&&t.options.itemsTablet!==false){t.options.items=t.options.itemsTablet[1]}if(n<=t.options.itemsTabletSmall[0]&&t.options.itemsTabletSmall!==false){t.options.items=t.options.itemsTabletSmall[1]}if(n<=t.options.itemsMobile[0]&&t.options.itemsMobile!==false){t.options.items=t.options.itemsMobile[1]}}if(t.options.items>t.itemsAmount&&t.options.itemsScaleUp===true){t.options.items=t.itemsAmount}},response:function(){var n=this,r,i;if(n.options.responsive!==true){return false}i=e(t).width();n.resizer=function(){if(e(t).width()!==i){if(n.options.autoPlay!==false){t.clearInterval(n.autoPlayInterval)}t.clearTimeout(r);r=t.setTimeout((function(){i=e(t).width();n.updateVars()}),n.options.responsiveRefreshRate)}};e(t).resize(n.resizer)},updatePosition:function(){var e=this;e.jumpTo(e.currentItem);if(e.options.autoPlay!==false){e.checkAp()}},appendItemsSizes:function(){var t=this,n=0,r=t.itemsAmount-t.options.items;t.$owlItems.each((function(i){var a=e(this);a.css({width:t.itemWidth}).data("owl-item",Number(i));if(i%t.options.items===0||i===r){if(!(i>r)){n+=1}}a.data("owl-roundPages",n)}))},appendWrapperSizes:function(){var e=this,t=e.$owlItems.length*e.itemWidth;e.$owlWrapper.css({width:t*2,left:0});e.appendItemsSizes()},calculateAll:function(){var e=this;e.calculateWidth();e.appendWrapperSizes();e.loops();e.max()},calculateWidth:function(){var e=this;e.itemWidth=Math.round(e.$elem.width()/e.options.items)},max:function(){var e=this,t=(e.itemsAmount*e.itemWidth-e.options.items*e.itemWidth)*-1;if(e.options.items>e.itemsAmount){e.maximumItem=0;t=0;e.maximumPixels=0}else{e.maximumItem=e.itemsAmount-e.options.items;e.maximumPixels=t}return t},min:function(){return 0},loops:function(){var t=this,n=0,r=0,i,a,o;t.positionsInArray=[0];t.pagesInArray=[];for(i=0;i<t.itemsAmount;i+=1){r+=t.itemWidth;t.positionsInArray.push(-r);if(t.options.scrollPerPage===true){a=e(t.$owlItems[i]);o=a.data("owl-roundPages");if(o!==n){t.pagesInArray[n]=t.positionsInArray[i];n=o}}}},buildControls:function(){var t=this;if(t.options.navigation===true||t.options.pagination===true){t.owlControls=e('<div class="owl-controls"/>').toggleClass("clickable",!t.browser.isTouch).appendTo(t.$elem)}if(t.options.pagination===true){t.buildPagination()}if(t.options.navigation===true){t.buildButtons()}},buildButtons:function(){var t=this,n=e('<div class="owl-buttons"/>');t.owlControls.append(n);t.buttonPrev=e("<div/>",{class:"owl-prev",html:t.options.navigationText[0]||""});t.buttonNext=e("<div/>",{class:"owl-next",html:t.options.navigationText[1]||""});n.append(t.buttonPrev).append(t.buttonNext);n.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',(function(e){e.preventDefault()}));n.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',(function(n){n.preventDefault();if(e(this).hasClass("owl-next")){t.next()}else{t.prev()}}))},buildPagination:function(){var t=this;t.paginationWrapper=e('<div class="owl-pagination"/>');t.owlControls.append(t.paginationWrapper);t.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",(function(n){n.preventDefault();if(Number(e(this).data("owl-page"))!==t.currentItem){t.goTo(Number(e(this).data("owl-page")),true)}}))},updatePagination:function(){var t=this,n,r,i,a,o,s;if(t.options.pagination===false){return false}t.paginationWrapper.html("");n=0;r=t.itemsAmount-t.itemsAmount%t.options.items;for(a=0;a<t.itemsAmount;a+=1){if(a%t.options.items===0){n+=1;if(r===a){i=t.itemsAmount-t.options.items}o=e("<div/>",{class:"owl-page"});s=e("<span></span>",{text:t.options.paginationNumbers===true?n:"",class:t.options.paginationNumbers===true?"owl-numbers":""});o.append(s);o.data("owl-page",r===a?i:a);o.data("owl-roundPages",n);t.paginationWrapper.append(o)}}t.checkPagination()},checkPagination:function(){var t=this;if(t.options.pagination===false){return false}t.paginationWrapper.find(".owl-page").each((function(){if(e(this).data("owl-roundPages")===e(t.$owlItems[t.currentItem]).data("owl-roundPages")){t.paginationWrapper.find(".owl-page").removeClass("active");e(this).addClass("active")}}))},checkNavigation:function(){var e=this;if(e.options.navigation===false){return false}if(e.options.rewindNav===false){if(e.currentItem===0&&e.maximumItem===0){e.buttonPrev.addClass("disabled");e.buttonNext.addClass("disabled")}else if(e.currentItem===0&&e.maximumItem!==0){e.buttonPrev.addClass("disabled");e.buttonNext.removeClass("disabled")}else if(e.currentItem===e.maximumItem){e.buttonPrev.removeClass("disabled");e.buttonNext.addClass("disabled")}else if(e.currentItem!==0&&e.currentItem!==e.maximumItem){e.buttonPrev.removeClass("disabled");e.buttonNext.removeClass("disabled")}}},updateControls:function(){var e=this;e.updatePagination();e.checkNavigation();if(e.owlControls){if(e.options.items>=e.itemsAmount){e.owlControls.hide()}else{e.owlControls.show()}}},destroyControls:function(){var e=this;if(e.owlControls){e.owlControls.remove()}},next:function(e){var t=this;if(t.isTransition){return false}t.currentItem+=t.options.scrollPerPage===true?t.options.items:1;if(t.currentItem>t.maximumItem+(t.options.scrollPerPage===true?t.options.items-1:0)){if(t.options.rewindNav===true){t.currentItem=0;e="rewind"}else{t.currentItem=t.maximumItem;return false}}t.goTo(t.currentItem,e)},prev:function(e){var t=this;if(t.isTransition){return false}if(t.options.scrollPerPage===true&&t.currentItem>0&&t.currentItem<t.options.items){t.currentItem=0}else{t.currentItem-=t.options.scrollPerPage===true?t.options.items:1}if(t.currentItem<0){if(t.options.rewindNav===true){t.currentItem=t.maximumItem;e="rewind"}else{t.currentItem=0;return false}}t.goTo(t.currentItem,e)},goTo:function(e,n,r){var i=this,a;if(i.isTransition){return false}if(typeof i.options.beforeMove==="function"){i.options.beforeMove.apply(this,[i.$elem])}if(e>=i.maximumItem){e=i.maximumItem}else if(e<=0){e=0}i.currentItem=i.owl.currentItem=e;if(i.options.transitionStyle!==false&&r!=="drag"&&i.options.items===1&&i.browser.support3d===true){i.swapSpeed(0);if(i.browser.support3d===true){i.transition3d(i.positionsInArray[e])}else{i.css2slide(i.positionsInArray[e],1)}i.afterGo();i.singleItemTransition();return false}a=i.positionsInArray[e];if(i.browser.support3d===true){i.isCss3Finish=false;if(n===true){i.swapSpeed("paginationSpeed");t.setTimeout((function(){i.isCss3Finish=true}),i.options.paginationSpeed)}else if(n==="rewind"){i.swapSpeed(i.options.rewindSpeed);t.setTimeout((function(){i.isCss3Finish=true}),i.options.rewindSpeed)}else{i.swapSpeed("slideSpeed");t.setTimeout((function(){i.isCss3Finish=true}),i.options.slideSpeed)}i.transition3d(a)}else{if(n===true){i.css2slide(a,i.options.paginationSpeed)}else if(n==="rewind"){i.css2slide(a,i.options.rewindSpeed)}else{i.css2slide(a,i.options.slideSpeed)}}i.afterGo()},jumpTo:function(e){var t=this;if(typeof t.options.beforeMove==="function"){t.options.beforeMove.apply(this,[t.$elem])}if(e>=t.maximumItem||e===-1){e=t.maximumItem}else if(e<=0){e=0}t.swapSpeed(0);if(t.browser.support3d===true){t.transition3d(t.positionsInArray[e])}else{t.css2slide(t.positionsInArray[e],1)}t.currentItem=t.owl.currentItem=e;t.afterGo()},afterGo:function(){var e=this;e.prevArr.push(e.currentItem);e.prevItem=e.owl.prevItem=e.prevArr[e.prevArr.length-2];e.prevArr.shift(0);if(e.prevItem!==e.currentItem){e.checkPagination();e.checkNavigation();e.eachMoveUpdate();if(e.options.autoPlay!==false){e.checkAp()}}if(typeof e.options.afterMove==="function"&&e.prevItem!==e.currentItem){e.options.afterMove.apply(this,[e.$elem])}},stop:function(){var e=this;e.apStatus="stop";t.clearInterval(e.autoPlayInterval)},checkAp:function(){var e=this;if(e.apStatus!=="stop"){e.play()}},play:function(){var e=this;e.apStatus="play";if(e.options.autoPlay===false){return false}t.clearInterval(e.autoPlayInterval);e.autoPlayInterval=t.setInterval((function(){e.next(true)}),e.options.autoPlay)},swapSpeed:function(e){var t=this;if(e==="slideSpeed"){t.$owlWrapper.css(t.addCssSpeed(t.options.slideSpeed))}else if(e==="paginationSpeed"){t.$owlWrapper.css(t.addCssSpeed(t.options.paginationSpeed))}else if(typeof e!=="string"){t.$owlWrapper.css(t.addCssSpeed(e))}},addCssSpeed:function(e){return{"-webkit-transition":"all "+e+"ms ease","-moz-transition":"all "+e+"ms ease","-o-transition":"all "+e+"ms ease",transition:"all "+e+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(e){return{"-webkit-transform":"translate3d("+e+"px, 0px, 0px)","-moz-transform":"translate3d("+e+"px, 0px, 0px)","-o-transform":"translate3d("+e+"px, 0px, 0px)","-ms-transform":"translate3d("+e+"px, 0px, 0px)",transform:"translate3d("+e+"px, 0px,0px)"}},transition3d:function(e){var t=this;t.$owlWrapper.css(t.doTranslate(e))},css2move:function(e){var t=this;t.$owlWrapper.css({left:e})},css2slide:function(e,t){var n=this;n.isCssFinish=false;n.$owlWrapper.stop(true,true).animate({left:e},{duration:t||n.options.slideSpeed,complete:function(){n.isCssFinish=true}})},checkBrowser:function(){var e=this,r="translate3d(0px, 0px, 0px)",i=n.createElement("div"),a,o,s,l;i.style.cssText=" -moz-transform:"+r+"; -ms-transform:"+r+"; -o-transform:"+r+"; -webkit-transform:"+r+"; transform:"+r;a=/translate3d\(0px, 0px, 0px\)/g;o=i.style.cssText.match(a);s=o!==null&&o.length===1;l="ontouchstart"in t||t.navigator.msMaxTouchPoints;e.browser={support3d:s,isTouch:l}},moveEvents:function(){var e=this;if(e.options.mouseDrag!==false||e.options.touchDrag!==false){e.gestures();e.disabledEvents()}},eventTypes:function(){var e=this,t=["s","e","x"];e.ev_types={};if(e.options.mouseDrag===true&&e.options.touchDrag===true){t=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]}else if(e.options.mouseDrag===false&&e.options.touchDrag===true){t=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]}else if(e.options.mouseDrag===true&&e.options.touchDrag===false){t=["mousedown.owl","mousemove.owl","mouseup.owl"]}e.ev_types.start=t[0];e.ev_types.move=t[1];e.ev_types.end=t[2]},disabledEvents:function(){var t=this;t.$elem.on("dragstart.owl",(function(e){e.preventDefault()}));t.$elem.on("mousedown.disableTextSelect",(function(t){return e(t.target).is("input, textarea, select, option")}))},gestures:function(){var r=this,i={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};r.isCssFinish=true;function a(e){if(e.touches!==undefined){return{x:e.touches[0].pageX,y:e.touches[0].pageY}}if(e.touches===undefined){if(e.pageX!==undefined){return{x:e.pageX,y:e.pageY}}if(e.pageX===undefined){return{x:e.clientX,y:e.clientY}}}}function o(t){if(t==="on"){e(n).on(r.ev_types.move,l);e(n).on(r.ev_types.end,c)}else if(t==="off"){e(n).off(r.ev_types.move);e(n).off(r.ev_types.end)}}function s(n){var s=n.originalEvent||n||t.event,l;if(s.which===3){return false}if(r.itemsAmount<=r.options.items){return}if(r.isCssFinish===false&&!r.options.dragBeforeAnimFinish){return false}if(r.isCss3Finish===false&&!r.options.dragBeforeAnimFinish){return false}if(r.options.autoPlay!==false){t.clearInterval(r.autoPlayInterval)}if(r.browser.isTouch!==true&&!r.$owlWrapper.hasClass("grabbing")){r.$owlWrapper.addClass("grabbing")}r.newPosX=0;r.newRelativeX=0;e(this).css(r.removeTransition());l=e(this).position();i.relativePos=l.left;i.offsetX=a(s).x-l.left;i.offsetY=a(s).y-l.top;o("on");i.sliding=false;i.targetElement=s.target||s.srcElement}function l(o){var s=o.originalEvent||o||t.event,l,c;r.newPosX=a(s).x-i.offsetX;r.newPosY=a(s).y-i.offsetY;r.newRelativeX=r.newPosX-i.relativePos;if(typeof r.options.startDragging==="function"&&i.dragging!==true&&r.newRelativeX!==0){i.dragging=true;r.options.startDragging.apply(r,[r.$elem])}if((r.newRelativeX>8||r.newRelativeX<-8)&&r.browser.isTouch===true){if(s.preventDefault!==undefined){s.preventDefault()}else{s.returnValue=false}i.sliding=true}if((r.newPosY>10||r.newPosY<-10)&&i.sliding===false){e(n).off("touchmove.owl")}l=function(){return r.newRelativeX/5};c=function(){return r.maximumPixels+r.newRelativeX/5};r.newPosX=Math.max(Math.min(r.newPosX,l()),c());if(r.browser.support3d===true){r.transition3d(r.newPosX)}else{r.css2move(r.newPosX)}}function c(n){var a=n.originalEvent||n||t.event,s,l,c;a.target=a.target||a.srcElement;i.dragging=false;if(r.browser.isTouch!==true){r.$owlWrapper.removeClass("grabbing")}if(r.newRelativeX<0){r.dragDirection=r.owl.dragDirection="left"}else{r.dragDirection=r.owl.dragDirection="right"}if(r.newRelativeX!==0){s=r.getNewPosition();r.goTo(s,false,"drag");if(i.targetElement===a.target&&r.browser.isTouch!==true){e(a.target).on("click.disable",(function(t){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault();e(t.target).off("click.disable")}));l=e._data(a.target,"events").click;c=l.pop();l.splice(0,0,c)}}o("off")}r.$elem.on(r.ev_types.start,".owl-wrapper",s)},getNewPosition:function(){var e=this,t=e.closestItem();if(t>e.maximumItem){e.currentItem=e.maximumItem;t=e.maximumItem}else if(e.newPosX>=0){t=0;e.currentItem=0}return t},closestItem:function(){var t=this,n=t.options.scrollPerPage===true?t.pagesInArray:t.positionsInArray,r=t.newPosX,i=null;e.each(n,(function(a,o){if(r-t.itemWidth/20>n[a+1]&&r-t.itemWidth/20<o&&t.moveDirection()==="left"){i=o;if(t.options.scrollPerPage===true){t.currentItem=e.inArray(i,t.positionsInArray)}else{t.currentItem=a}}else if(r+t.itemWidth/20<o&&r+t.itemWidth/20>(n[a+1]||n[a]-t.itemWidth)&&t.moveDirection()==="right"){if(t.options.scrollPerPage===true){i=n[a+1]||n[n.length-1];t.currentItem=e.inArray(i,t.positionsInArray)}else{i=n[a+1];t.currentItem=a+1}}}));return t.currentItem},moveDirection:function(){var e=this,t;if(e.newRelativeX<0){t="right";e.playDirection="next"}else{t="left";e.playDirection="prev"}return t},customEvents:function(){var e=this;e.$elem.on("owl.next",(function(){e.next()}));e.$elem.on("owl.prev",(function(){e.prev()}));e.$elem.on("owl.play",(function(t,n){e.options.autoPlay=n;e.play();e.hoverStatus="play"}));e.$elem.on("owl.stop",(function(){e.stop();e.hoverStatus="stop"}));e.$elem.on("owl.goTo",(function(t,n){e.goTo(n)}));e.$elem.on("owl.jumpTo",(function(t,n){e.jumpTo(n)}))},stopOnHover:function(){var e=this;if(e.options.stopOnHover===true&&e.browser.isTouch!==true&&e.options.autoPlay!==false){e.$elem.on("mouseover",(function(){e.stop()}));e.$elem.on("mouseout",(function(){if(e.hoverStatus!=="stop"){e.play()}}))}},lazyLoad:function(){var t=this,n,r,i,a,o;if(t.options.lazyLoad===false){return false}for(n=0;n<t.itemsAmount;n+=1){r=e(t.$owlItems[n]);if(r.data("owl-loaded")==="loaded"){continue}i=r.data("owl-item");a=r.find(".lazyOwl");if(typeof a.data("src")!=="string"){r.data("owl-loaded","loaded");continue}if(r.data("owl-loaded")===undefined){a.hide();r.addClass("loading").data("owl-loaded","checked")}if(t.options.lazyFollow===true){o=i>=t.currentItem}else{o=true}if(o&&i<t.currentItem+t.options.items&&a.length){a.each((function(){t.lazyPreload(r,e(this))}))}}},lazyPreload:function(e,n){var r=this,i=0,a;if(n.prop("tagName")==="DIV"){n.css("background-image","url("+n.data("src")+")");a=true}else{n[0].src=n.data("src")}function o(){e.data("owl-loaded","loaded").removeClass("loading");n.removeAttr("data-src");if(r.options.lazyEffect==="fade"){n.fadeIn(400)}else{n.show()}if(typeof r.options.afterLazyLoad==="function"){r.options.afterLazyLoad.apply(this,[r.$elem])}}function s(){i+=1;if(r.completeImg(n.get(0))||a===true){o()}else if(i<=100){t.setTimeout(s,100)}else{o()}}s()},autoHeight:function(){var n=this,r=e(n.$owlItems[n.currentItem]).find("img"),i;function a(){var r=e(n.$owlItems[n.currentItem]).height();n.wrapperOuter.css("height",r+"px");if(!n.wrapperOuter.hasClass("autoHeight")){t.setTimeout((function(){n.wrapperOuter.addClass("autoHeight")}),0)}}function o(){i+=1;if(n.completeImg(r.get(0))){a()}else if(i<=100){t.setTimeout(o,100)}else{n.wrapperOuter.css("height","")}}if(r.get(0)!==undefined){i=0;o()}else{a()}},completeImg:function(e){var t;if(!e.complete){return false}t=typeof e.naturalWidth;if(t!=="undefined"&&e.naturalWidth===0){return false}return true},onVisibleItems:function(){var t=this,n;if(t.options.addClassActive===true){t.$owlItems.removeClass("active")}t.visibleItems=[];for(n=t.currentItem;n<t.currentItem+t.options.items;n+=1){t.visibleItems.push(n);if(t.options.addClassActive===true){e(t.$owlItems[n]).addClass("active")}}t.owl.visibleItems=t.visibleItems},transitionTypes:function(e){var t=this;t.outClass="owl-"+e+"-out";t.inClass="owl-"+e+"-in"},singleItemTransition:function(){var e=this,t=e.outClass,n=e.inClass,r=e.$owlItems.eq(e.currentItem),i=e.$owlItems.eq(e.prevItem),a=Math.abs(e.positionsInArray[e.currentItem])+e.positionsInArray[e.prevItem],o=Math.abs(e.positionsInArray[e.currentItem])+e.itemWidth/2,s="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";e.isTransition=true;e.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":o+"px","-moz-perspective-origin":o+"px","perspective-origin":o+"px"});function l(e){return{position:"relative",left:e+"px"}}i.css(l(a,10)).addClass(t).on(s,(function(){e.endPrev=true;i.off(s);e.clearTransStyle(i,t)}));r.addClass(n).on(s,(function(){e.endCurrent=true;r.off(s);e.clearTransStyle(r,n)}))},clearTransStyle:function(e,t){var n=this;e.css({position:"",left:""}).removeClass(t);if(n.endPrev&&n.endCurrent){n.$owlWrapper.removeClass("owl-origin");n.endPrev=false;n.endCurrent=false;n.isTransition=false}},owlStatus:function(){var e=this;e.owl={userOptions:e.userOptions,baseElement:e.$elem,userItems:e.$userItems,owlItems:e.$owlItems,currentItem:e.currentItem,prevItem:e.prevItem,visibleItems:e.visibleItems,isTouch:e.browser.isTouch,browser:e.browser,dragDirection:e.dragDirection}},clearEvents:function(){var r=this;r.$elem.off(".owl owl mousedown.disableTextSelect");e(n).off(".owl owl");e(t).off("resize",r.resizer)},unWrap:function(){var e=this;if(e.$elem.children().length!==0){e.$owlWrapper.unwrap();e.$userItems.unwrap().unwrap();if(e.owlControls){e.owlControls.remove()}}e.clearEvents();e.$elem.attr({style:e.$elem.data("owl-originalStyles")||"",class:e.$elem.data("owl-originalClasses")})},destroy:function(){var e=this;e.stop();t.clearInterval(e.checkVisible);e.unWrap();e.$elem.removeData()},reinit:function(t){var n=this,r=e.extend({},n.userOptions,t);n.unWrap();n.init(r,n.$elem)},addItem:function(e,t){var n=this,r;if(!e){return false}if(n.$elem.children().length===0){n.$elem.append(e);n.setVars();return false}n.unWrap();if(t===undefined||t===-1){r=-1}else{r=t}if(r>=n.$userItems.length||r===-1){n.$userItems.eq(-1).after(e)}else{n.$userItems.eq(r).before(e)}n.setVars()},removeItem:function(e){var t=this,n;if(t.$elem.children().length===0){return false}if(e===undefined||e===-1){n=-1}else{n=e}t.unWrap();t.$userItems.eq(n).remove();t.setVars()}};e.fn.owlCarousel=function(t){return this.each((function(){if(e(this).data("owl-init")===true){return false}e(this).data("owl-init",true);var n=Object.create(r);n.init(t,this);e.data(this,"owlCarousel",n)}))};e.fn.owlCarousel.options={items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:t,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false}})(jQuery,window,document)},7434:(e,t,n)=>{"use strict";
6
+ */e.exports=function e(t){return{init:function e(t){var n=t;var r=log4javascript.getLogger("j1.core.asciidoctor");var i;var a={dummyOption:false};var t=$.extend(a,n);i="J1 Asciidoctor is being initialized";r.info(i);this.callouts()},callouts:function e(t){var n="";if($(".colist > table > colgroup").length==0){n+="\x3c!-- [INFO ] [j1.core.asciidoctor ] [ place a colgroup dynamically ] --\x3e"+"\n";n+='<colgroup> <col style="width: 5%;"> <col style="width: 95%;"> </colgroup>';$(".colist > table").prepend(n)}},conums:function e(t){var n=setInterval((function(){if(j1.getState()=="finished"){if($(".colist > table > colgroup").length==0){var e="";e+='<colgroup> <col style="width: 5%;"> <col style="width: 95%;"> </colgroup>';$(".colist > table").prepend(e);clearInterval(n)}}}))}}}(jQuery)},196:()=>{"use strict";function e(t){"@babel/helpers - typeof";return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}(function(t,n,r){var i={init:function e(n,r){var i=this;i.$elem=t(r);i.options=t.extend({},t.fn.owlCarousel.options,i.$elem.data(),n);i.userOptions=n;i.loadContent()},loadContent:function e(){var n=this,r;function i(e){var t,r="";if(typeof n.options.jsonSuccess==="function"){n.options.jsonSuccess.apply(this,[e])}else{for(t in e.owl){if(e.owl.hasOwnProperty(t)){r+=e.owl[t].item}}n.$elem.html(r)}n.logIn()}if(typeof n.options.beforeInit==="function"){n.options.beforeInit.apply(this,[n.$elem])}if(typeof n.options.jsonPath==="string"){r=n.options.jsonPath;t.getJSON(r,i)}else{n.logIn()}},logIn:function e(){var t=this;t.$elem.data({"owl-originalStyles":t.$elem.attr("style"),"owl-originalClasses":t.$elem.attr("class")});t.$elem.css({opacity:0});t.orignalItems=t.options.items;t.checkBrowser();t.wrapperWidth=0;t.checkVisible=null;t.setVars()},setVars:function e(){var t=this;if(t.$elem.children().length===0){return false}t.baseClass();t.eventTypes();t.$userItems=t.$elem.children();t.itemsAmount=t.$userItems.length;t.wrapItems();t.$owlItems=t.$elem.find(".owl-item");t.$owlWrapper=t.$elem.find(".owl-wrapper");t.playDirection="next";t.prevItem=0;t.prevArr=[0];t.currentItem=0;t.customEvents();t.onStartup()},onStartup:function e(){var t=this;t.updateItems();t.calculateAll();t.buildControls();t.updateControls();t.response();t.moveEvents();t.stopOnHover();t.owlStatus();if(t.options.transitionStyle!==false){t.transitionTypes(t.options.transitionStyle)}if(t.options.autoPlay===true){t.options.autoPlay=5e3}t.play();t.$elem.find(".owl-wrapper").css("display","block");if(!t.$elem.is(":visible")){t.watchVisibility()}else{t.$elem.css("opacity",1)}t.onstartup=false;t.eachMoveUpdate();if(typeof t.options.afterInit==="function"){t.options.afterInit.apply(this,[t.$elem])}},eachMoveUpdate:function e(){var t=this;if(t.options.lazyLoad===true){t.lazyLoad()}if(t.options.autoHeight===true){t.autoHeight()}t.onVisibleItems();if(typeof t.options.afterAction==="function"){t.options.afterAction.apply(this,[t.$elem])}},updateVars:function e(){var t=this;if(typeof t.options.beforeUpdate==="function"){t.options.beforeUpdate.apply(this,[t.$elem])}t.watchVisibility();t.updateItems();t.calculateAll();t.updatePosition();t.updateControls();t.eachMoveUpdate();if(typeof t.options.afterUpdate==="function"){t.options.afterUpdate.apply(this,[t.$elem])}},reload:function e(){var t=this;n.setTimeout((function(){t.updateVars()}),0)},watchVisibility:function e(){var t=this;if(t.$elem.is(":visible")===false){t.$elem.css({opacity:0});n.clearInterval(t.autoPlayInterval);n.clearInterval(t.checkVisible)}else{return false}t.checkVisible=n.setInterval((function(){if(t.$elem.is(":visible")){t.reload();t.$elem.animate({opacity:1},200);n.clearInterval(t.checkVisible)}}),500)},wrapItems:function e(){var t=this;t.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');t.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');t.wrapperOuter=t.$elem.find(".owl-wrapper-outer");t.$elem.css("display","block")},baseClass:function e(){var t=this,n=t.$elem.hasClass(t.options.baseClass),r=t.$elem.hasClass(t.options.theme);if(!n){t.$elem.addClass(t.options.baseClass)}if(!r){t.$elem.addClass(t.options.theme)}},updateItems:function e(){var n=this,r,i;if(n.options.responsive===false){return false}if(n.options.singleItem===true){n.options.items=n.orignalItems=1;n.options.itemsCustom=false;n.options.itemsDesktop=false;n.options.itemsDesktopSmall=false;n.options.itemsTablet=false;n.options.itemsTabletSmall=false;n.options.itemsMobile=false;return false}r=t(n.options.responsiveBaseWidth).width();if(r>(n.options.itemsDesktop[0]||n.orignalItems)){n.options.items=n.orignalItems}if(n.options.itemsCustom!==false){n.options.itemsCustom.sort((function(e,t){return e[0]-t[0]}));for(i=0;i<n.options.itemsCustom.length;i+=1){if(n.options.itemsCustom[i][0]<=r){n.options.items=n.options.itemsCustom[i][1]}}}else{if(r<=n.options.itemsDesktop[0]&&n.options.itemsDesktop!==false){n.options.items=n.options.itemsDesktop[1]}if(r<=n.options.itemsDesktopSmall[0]&&n.options.itemsDesktopSmall!==false){n.options.items=n.options.itemsDesktopSmall[1]}if(r<=n.options.itemsTablet[0]&&n.options.itemsTablet!==false){n.options.items=n.options.itemsTablet[1]}if(r<=n.options.itemsTabletSmall[0]&&n.options.itemsTabletSmall!==false){n.options.items=n.options.itemsTabletSmall[1]}if(r<=n.options.itemsMobile[0]&&n.options.itemsMobile!==false){n.options.items=n.options.itemsMobile[1]}}if(n.options.items>n.itemsAmount&&n.options.itemsScaleUp===true){n.options.items=n.itemsAmount}},response:function e(){var r=this,i,a;if(r.options.responsive!==true){return false}a=t(n).width();r.resizer=function(){if(t(n).width()!==a){if(r.options.autoPlay!==false){n.clearInterval(r.autoPlayInterval)}n.clearTimeout(i);i=n.setTimeout((function(){a=t(n).width();r.updateVars()}),r.options.responsiveRefreshRate)}};t(n).resize(r.resizer)},updatePosition:function e(){var t=this;t.jumpTo(t.currentItem);if(t.options.autoPlay!==false){t.checkAp()}},appendItemsSizes:function e(){var n=this,r=0,i=n.itemsAmount-n.options.items;n.$owlItems.each((function(e){var a=t(this);a.css({width:n.itemWidth}).data("owl-item",Number(e));if(e%n.options.items===0||e===i){if(!(e>i)){r+=1}}a.data("owl-roundPages",r)}))},appendWrapperSizes:function e(){var t=this,n=t.$owlItems.length*t.itemWidth;t.$owlWrapper.css({width:n*2,left:0});t.appendItemsSizes()},calculateAll:function e(){var t=this;t.calculateWidth();t.appendWrapperSizes();t.loops();t.max()},calculateWidth:function e(){var t=this;t.itemWidth=Math.round(t.$elem.width()/t.options.items)},max:function e(){var t=this,n=(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth)*-1;if(t.options.items>t.itemsAmount){t.maximumItem=0;n=0;t.maximumPixels=0}else{t.maximumItem=t.itemsAmount-t.options.items;t.maximumPixels=n}return n},min:function e(){return 0},loops:function e(){var n=this,r=0,i=0,a,o,s;n.positionsInArray=[0];n.pagesInArray=[];for(a=0;a<n.itemsAmount;a+=1){i+=n.itemWidth;n.positionsInArray.push(-i);if(n.options.scrollPerPage===true){o=t(n.$owlItems[a]);s=o.data("owl-roundPages");if(s!==r){n.pagesInArray[r]=n.positionsInArray[a];r=s}}}},buildControls:function e(){var n=this;if(n.options.navigation===true||n.options.pagination===true){n.owlControls=t('<div class="owl-controls"/>').toggleClass("clickable",!n.browser.isTouch).appendTo(n.$elem)}if(n.options.pagination===true){n.buildPagination()}if(n.options.navigation===true){n.buildButtons()}},buildButtons:function e(){var n=this,r=t('<div class="owl-buttons"/>');n.owlControls.append(r);n.buttonPrev=t("<div/>",{class:"owl-prev",html:n.options.navigationText[0]||""});n.buttonNext=t("<div/>",{class:"owl-next",html:n.options.navigationText[1]||""});r.append(n.buttonPrev).append(n.buttonNext);r.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',(function(e){e.preventDefault()}));r.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',(function(e){e.preventDefault();if(t(this).hasClass("owl-next")){n.next()}else{n.prev()}}))},buildPagination:function e(){var n=this;n.paginationWrapper=t('<div class="owl-pagination"/>');n.owlControls.append(n.paginationWrapper);n.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",(function(e){e.preventDefault();if(Number(t(this).data("owl-page"))!==n.currentItem){n.goTo(Number(t(this).data("owl-page")),true)}}))},updatePagination:function e(){var n=this,r,i,a,o,s,l;if(n.options.pagination===false){return false}n.paginationWrapper.html("");r=0;i=n.itemsAmount-n.itemsAmount%n.options.items;for(o=0;o<n.itemsAmount;o+=1){if(o%n.options.items===0){r+=1;if(i===o){a=n.itemsAmount-n.options.items}s=t("<div/>",{class:"owl-page"});l=t("<span></span>",{text:n.options.paginationNumbers===true?r:"",class:n.options.paginationNumbers===true?"owl-numbers":""});s.append(l);s.data("owl-page",i===o?a:o);s.data("owl-roundPages",r);n.paginationWrapper.append(s)}}n.checkPagination()},checkPagination:function e(){var n=this;if(n.options.pagination===false){return false}n.paginationWrapper.find(".owl-page").each((function(){if(t(this).data("owl-roundPages")===t(n.$owlItems[n.currentItem]).data("owl-roundPages")){n.paginationWrapper.find(".owl-page").removeClass("active");t(this).addClass("active")}}))},checkNavigation:function e(){var t=this;if(t.options.navigation===false){return false}if(t.options.rewindNav===false){if(t.currentItem===0&&t.maximumItem===0){t.buttonPrev.addClass("disabled");t.buttonNext.addClass("disabled")}else if(t.currentItem===0&&t.maximumItem!==0){t.buttonPrev.addClass("disabled");t.buttonNext.removeClass("disabled")}else if(t.currentItem===t.maximumItem){t.buttonPrev.removeClass("disabled");t.buttonNext.addClass("disabled")}else if(t.currentItem!==0&&t.currentItem!==t.maximumItem){t.buttonPrev.removeClass("disabled");t.buttonNext.removeClass("disabled")}}},updateControls:function e(){var t=this;t.updatePagination();t.checkNavigation();if(t.owlControls){if(t.options.items>=t.itemsAmount){t.owlControls.hide()}else{t.owlControls.show()}}},destroyControls:function e(){var t=this;if(t.owlControls){t.owlControls.remove()}},next:function e(t){var n=this;if(n.isTransition){return false}n.currentItem+=n.options.scrollPerPage===true?n.options.items:1;if(n.currentItem>n.maximumItem+(n.options.scrollPerPage===true?n.options.items-1:0)){if(n.options.rewindNav===true){n.currentItem=0;t="rewind"}else{n.currentItem=n.maximumItem;return false}}n.goTo(n.currentItem,t)},prev:function e(t){var n=this;if(n.isTransition){return false}if(n.options.scrollPerPage===true&&n.currentItem>0&&n.currentItem<n.options.items){n.currentItem=0}else{n.currentItem-=n.options.scrollPerPage===true?n.options.items:1}if(n.currentItem<0){if(n.options.rewindNav===true){n.currentItem=n.maximumItem;t="rewind"}else{n.currentItem=0;return false}}n.goTo(n.currentItem,t)},goTo:function e(t,r,i){var a=this,o;if(a.isTransition){return false}if(typeof a.options.beforeMove==="function"){a.options.beforeMove.apply(this,[a.$elem])}if(t>=a.maximumItem){t=a.maximumItem}else if(t<=0){t=0}a.currentItem=a.owl.currentItem=t;if(a.options.transitionStyle!==false&&i!=="drag"&&a.options.items===1&&a.browser.support3d===true){a.swapSpeed(0);if(a.browser.support3d===true){a.transition3d(a.positionsInArray[t])}else{a.css2slide(a.positionsInArray[t],1)}a.afterGo();a.singleItemTransition();return false}o=a.positionsInArray[t];if(a.browser.support3d===true){a.isCss3Finish=false;if(r===true){a.swapSpeed("paginationSpeed");n.setTimeout((function(){a.isCss3Finish=true}),a.options.paginationSpeed)}else if(r==="rewind"){a.swapSpeed(a.options.rewindSpeed);n.setTimeout((function(){a.isCss3Finish=true}),a.options.rewindSpeed)}else{a.swapSpeed("slideSpeed");n.setTimeout((function(){a.isCss3Finish=true}),a.options.slideSpeed)}a.transition3d(o)}else{if(r===true){a.css2slide(o,a.options.paginationSpeed)}else if(r==="rewind"){a.css2slide(o,a.options.rewindSpeed)}else{a.css2slide(o,a.options.slideSpeed)}}a.afterGo()},jumpTo:function e(t){var n=this;if(typeof n.options.beforeMove==="function"){n.options.beforeMove.apply(this,[n.$elem])}if(t>=n.maximumItem||t===-1){t=n.maximumItem}else if(t<=0){t=0}n.swapSpeed(0);if(n.browser.support3d===true){n.transition3d(n.positionsInArray[t])}else{n.css2slide(n.positionsInArray[t],1)}n.currentItem=n.owl.currentItem=t;n.afterGo()},afterGo:function e(){var t=this;t.prevArr.push(t.currentItem);t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2];t.prevArr.shift(0);if(t.prevItem!==t.currentItem){t.checkPagination();t.checkNavigation();t.eachMoveUpdate();if(t.options.autoPlay!==false){t.checkAp()}}if(typeof t.options.afterMove==="function"&&t.prevItem!==t.currentItem){t.options.afterMove.apply(this,[t.$elem])}},stop:function e(){var t=this;t.apStatus="stop";n.clearInterval(t.autoPlayInterval)},checkAp:function e(){var t=this;if(t.apStatus!=="stop"){t.play()}},play:function e(){var t=this;t.apStatus="play";if(t.options.autoPlay===false){return false}n.clearInterval(t.autoPlayInterval);t.autoPlayInterval=n.setInterval((function(){t.next(true)}),t.options.autoPlay)},swapSpeed:function e(t){var n=this;if(t==="slideSpeed"){n.$owlWrapper.css(n.addCssSpeed(n.options.slideSpeed))}else if(t==="paginationSpeed"){n.$owlWrapper.css(n.addCssSpeed(n.options.paginationSpeed))}else if(typeof t!=="string"){n.$owlWrapper.css(n.addCssSpeed(t))}},addCssSpeed:function e(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function e(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function e(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function e(t){var n=this;n.$owlWrapper.css(n.doTranslate(t))},css2move:function e(t){var n=this;n.$owlWrapper.css({left:t})},css2slide:function e(t,n){var r=this;r.isCssFinish=false;r.$owlWrapper.stop(true,true).animate({left:t},{duration:n||r.options.slideSpeed,complete:function e(){r.isCssFinish=true}})},checkBrowser:function e(){var t=this,i="translate3d(0px, 0px, 0px)",a=r.createElement("div"),o,s,l,c;a.style.cssText=" -moz-transform:"+i+"; -ms-transform:"+i+"; -o-transform:"+i+"; -webkit-transform:"+i+"; transform:"+i;o=/translate3d\(0px, 0px, 0px\)/g;s=a.style.cssText.match(o);l=s!==null&&s.length===1;c="ontouchstart"in n||n.navigator.msMaxTouchPoints;t.browser={support3d:l,isTouch:c}},moveEvents:function e(){var t=this;if(t.options.mouseDrag!==false||t.options.touchDrag!==false){t.gestures();t.disabledEvents()}},eventTypes:function e(){var t=this,n=["s","e","x"];t.ev_types={};if(t.options.mouseDrag===true&&t.options.touchDrag===true){n=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]}else if(t.options.mouseDrag===false&&t.options.touchDrag===true){n=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]}else if(t.options.mouseDrag===true&&t.options.touchDrag===false){n=["mousedown.owl","mousemove.owl","mouseup.owl"]}t.ev_types.start=n[0];t.ev_types.move=n[1];t.ev_types.end=n[2]},disabledEvents:function e(){var n=this;n.$elem.on("dragstart.owl",(function(e){e.preventDefault()}));n.$elem.on("mousedown.disableTextSelect",(function(e){return t(e.target).is("input, textarea, select, option")}))},gestures:function e(){var i=this,a={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=true;function o(e){if(e.touches!==undefined){return{x:e.touches[0].pageX,y:e.touches[0].pageY}}if(e.touches===undefined){if(e.pageX!==undefined){return{x:e.pageX,y:e.pageY}}if(e.pageX===undefined){return{x:e.clientX,y:e.clientY}}}}function s(e){if(e==="on"){t(r).on(i.ev_types.move,c);t(r).on(i.ev_types.end,u)}else if(e==="off"){t(r).off(i.ev_types.move);t(r).off(i.ev_types.end)}}function l(e){var r=e.originalEvent||e||n.event,l;if(r.which===3){return false}if(i.itemsAmount<=i.options.items){return}if(i.isCssFinish===false&&!i.options.dragBeforeAnimFinish){return false}if(i.isCss3Finish===false&&!i.options.dragBeforeAnimFinish){return false}if(i.options.autoPlay!==false){n.clearInterval(i.autoPlayInterval)}if(i.browser.isTouch!==true&&!i.$owlWrapper.hasClass("grabbing")){i.$owlWrapper.addClass("grabbing")}i.newPosX=0;i.newRelativeX=0;t(this).css(i.removeTransition());l=t(this).position();a.relativePos=l.left;a.offsetX=o(r).x-l.left;a.offsetY=o(r).y-l.top;s("on");a.sliding=false;a.targetElement=r.target||r.srcElement}function c(e){var s=e.originalEvent||e||n.event,l,c;i.newPosX=o(s).x-a.offsetX;i.newPosY=o(s).y-a.offsetY;i.newRelativeX=i.newPosX-a.relativePos;if(typeof i.options.startDragging==="function"&&a.dragging!==true&&i.newRelativeX!==0){a.dragging=true;i.options.startDragging.apply(i,[i.$elem])}if((i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===true){if(s.preventDefault!==undefined){s.preventDefault()}else{s.returnValue=false}a.sliding=true}if((i.newPosY>10||i.newPosY<-10)&&a.sliding===false){t(r).off("touchmove.owl")}l=function e(){return i.newRelativeX/5};c=function e(){return i.maximumPixels+i.newRelativeX/5};i.newPosX=Math.max(Math.min(i.newPosX,l()),c());if(i.browser.support3d===true){i.transition3d(i.newPosX)}else{i.css2move(i.newPosX)}}function u(e){var r=e.originalEvent||e||n.event,o,l,c;r.target=r.target||r.srcElement;a.dragging=false;if(i.browser.isTouch!==true){i.$owlWrapper.removeClass("grabbing")}if(i.newRelativeX<0){i.dragDirection=i.owl.dragDirection="left"}else{i.dragDirection=i.owl.dragDirection="right"}if(i.newRelativeX!==0){o=i.getNewPosition();i.goTo(o,false,"drag");if(a.targetElement===r.target&&i.browser.isTouch!==true){t(r.target).on("click.disable",(function(e){e.stopImmediatePropagation();e.stopPropagation();e.preventDefault();t(e.target).off("click.disable")}));l=t._data(r.target,"events").click;c=l.pop();l.splice(0,0,c)}}s("off")}i.$elem.on(i.ev_types.start,".owl-wrapper",l)},getNewPosition:function e(){var t=this,n=t.closestItem();if(n>t.maximumItem){t.currentItem=t.maximumItem;n=t.maximumItem}else if(t.newPosX>=0){n=0;t.currentItem=0}return n},closestItem:function e(){var n=this,r=n.options.scrollPerPage===true?n.pagesInArray:n.positionsInArray,i=n.newPosX,a=null;t.each(r,(function(e,o){if(i-n.itemWidth/20>r[e+1]&&i-n.itemWidth/20<o&&n.moveDirection()==="left"){a=o;if(n.options.scrollPerPage===true){n.currentItem=t.inArray(a,n.positionsInArray)}else{n.currentItem=e}}else if(i+n.itemWidth/20<o&&i+n.itemWidth/20>(r[e+1]||r[e]-n.itemWidth)&&n.moveDirection()==="right"){if(n.options.scrollPerPage===true){a=r[e+1]||r[r.length-1];n.currentItem=t.inArray(a,n.positionsInArray)}else{a=r[e+1];n.currentItem=e+1}}}));return n.currentItem},moveDirection:function e(){var t=this,n;if(t.newRelativeX<0){n="right";t.playDirection="next"}else{n="left";t.playDirection="prev"}return n},customEvents:function e(){var t=this;t.$elem.on("owl.next",(function(){t.next()}));t.$elem.on("owl.prev",(function(){t.prev()}));t.$elem.on("owl.play",(function(e,n){t.options.autoPlay=n;t.play();t.hoverStatus="play"}));t.$elem.on("owl.stop",(function(){t.stop();t.hoverStatus="stop"}));t.$elem.on("owl.goTo",(function(e,n){t.goTo(n)}));t.$elem.on("owl.jumpTo",(function(e,n){t.jumpTo(n)}))},stopOnHover:function e(){var t=this;if(t.options.stopOnHover===true&&t.browser.isTouch!==true&&t.options.autoPlay!==false){t.$elem.on("mouseover",(function(){t.stop()}));t.$elem.on("mouseout",(function(){if(t.hoverStatus!=="stop"){t.play()}}))}},lazyLoad:function e(){var n=this,r,i,a,o,s;if(n.options.lazyLoad===false){return false}for(r=0;r<n.itemsAmount;r+=1){i=t(n.$owlItems[r]);if(i.data("owl-loaded")==="loaded"){continue}a=i.data("owl-item");o=i.find(".lazyOwl");if(typeof o.data("src")!=="string"){i.data("owl-loaded","loaded");continue}if(i.data("owl-loaded")===undefined){o.hide();i.addClass("loading").data("owl-loaded","checked")}if(n.options.lazyFollow===true){s=a>=n.currentItem}else{s=true}if(s&&a<n.currentItem+n.options.items&&o.length){o.each((function(){n.lazyPreload(i,t(this))}))}}},lazyPreload:function e(t,r){var i=this,a=0,o;if(r.prop("tagName")==="DIV"){r.css("background-image","url("+r.data("src")+")");o=true}else{r[0].src=r.data("src")}function s(){t.data("owl-loaded","loaded").removeClass("loading");r.removeAttr("data-src");if(i.options.lazyEffect==="fade"){r.fadeIn(400)}else{r.show()}if(typeof i.options.afterLazyLoad==="function"){i.options.afterLazyLoad.apply(this,[i.$elem])}}function l(){a+=1;if(i.completeImg(r.get(0))||o===true){s()}else if(a<=100){n.setTimeout(l,100)}else{s()}}l()},autoHeight:function e(){var r=this,i=t(r.$owlItems[r.currentItem]).find("img"),a;function o(){var e=t(r.$owlItems[r.currentItem]).height();r.wrapperOuter.css("height",e+"px");if(!r.wrapperOuter.hasClass("autoHeight")){n.setTimeout((function(){r.wrapperOuter.addClass("autoHeight")}),0)}}function s(){a+=1;if(r.completeImg(i.get(0))){o()}else if(a<=100){n.setTimeout(s,100)}else{r.wrapperOuter.css("height","")}}if(i.get(0)!==undefined){a=0;s()}else{o()}},completeImg:function t(n){var r;if(!n.complete){return false}r=e(n.naturalWidth);if(r!=="undefined"&&n.naturalWidth===0){return false}return true},onVisibleItems:function e(){var n=this,r;if(n.options.addClassActive===true){n.$owlItems.removeClass("active")}n.visibleItems=[];for(r=n.currentItem;r<n.currentItem+n.options.items;r+=1){n.visibleItems.push(r);if(n.options.addClassActive===true){t(n.$owlItems[r]).addClass("active")}}n.owl.visibleItems=n.visibleItems},transitionTypes:function e(t){var n=this;n.outClass="owl-"+t+"-out";n.inClass="owl-"+t+"-in"},singleItemTransition:function e(){var t=this,n=t.outClass,r=t.inClass,i=t.$owlItems.eq(t.currentItem),a=t.$owlItems.eq(t.prevItem),o=Math.abs(t.positionsInArray[t.currentItem])+t.positionsInArray[t.prevItem],s=Math.abs(t.positionsInArray[t.currentItem])+t.itemWidth/2,l="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";t.isTransition=true;t.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":s+"px","-moz-perspective-origin":s+"px","perspective-origin":s+"px"});function c(e){return{position:"relative",left:e+"px"}}a.css(c(o,10)).addClass(n).on(l,(function(){t.endPrev=true;a.off(l);t.clearTransStyle(a,n)}));i.addClass(r).on(l,(function(){t.endCurrent=true;i.off(l);t.clearTransStyle(i,r)}))},clearTransStyle:function e(t,n){var r=this;t.css({position:"",left:""}).removeClass(n);if(r.endPrev&&r.endCurrent){r.$owlWrapper.removeClass("owl-origin");r.endPrev=false;r.endCurrent=false;r.isTransition=false}},owlStatus:function e(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function e(){var i=this;i.$elem.off(".owl owl mousedown.disableTextSelect");t(r).off(".owl owl");t(n).off("resize",i.resizer)},unWrap:function e(){var t=this;if(t.$elem.children().length!==0){t.$owlWrapper.unwrap();t.$userItems.unwrap().unwrap();if(t.owlControls){t.owlControls.remove()}}t.clearEvents();t.$elem.attr({style:t.$elem.data("owl-originalStyles")||"",class:t.$elem.data("owl-originalClasses")})},destroy:function e(){var t=this;t.stop();n.clearInterval(t.checkVisible);t.unWrap();t.$elem.removeData()},reinit:function e(n){var r=this,i=t.extend({},r.userOptions,n);r.unWrap();r.init(i,r.$elem)},addItem:function e(t,n){var r=this,i;if(!t){return false}if(r.$elem.children().length===0){r.$elem.append(t);r.setVars();return false}r.unWrap();if(n===undefined||n===-1){i=-1}else{i=n}if(i>=r.$userItems.length||i===-1){r.$userItems.eq(-1).after(t)}else{r.$userItems.eq(i).before(t)}r.setVars()},removeItem:function e(t){var n=this,r;if(n.$elem.children().length===0){return false}if(t===undefined||t===-1){r=-1}else{r=t}n.unWrap();n.$userItems.eq(r).remove();n.setVars()}};t.fn.owlCarousel=function(e){return this.each((function(){if(t(this).data("owl-init")===true){return false}t(this).data("owl-init",true);var n=Object.create(i);n.init(e,this);t.data(this,"owlCarousel",n)}))};t.fn.owlCarousel.options={items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:n,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false}})(jQuery,window,document)},434:(e,t,n)=>{"use strict";
7
7
  /*!
8
8
  * J1 Core
9
9
  * Copyright (C) 2023, 2024 Juergen Adams
10
10
  * Licensed under MIT License.
11
- */e.exports=function(e){const t=n(3739);const r=n(8482);const i=r(t);var a=$.extend({foo:"foo_option",bar:"bar_option"},e);var o="loaded";return{_init_:function(e){return},getState:function(){return o},isMobile:function(e){var t=false;(function(e){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(e.substr(0,4)))t=true})(navigator.userAgent||navigator.vendor||window.opera);return t},bsFormClearButton:function(){$(":input").on("keydown focus change mouseover",(function(){if($(this).val().length>0){$(this).nextAll(".form-clear").removeClass("d-none")}})).on("keydown keyup blur",(function(){if($(this).val().length===0){$(this).nextAll(".form-clear").addClass("d-none")}}))},createDropCap:function(){$(".paragraph.dropcap").children("p").addClass("dropcap");if($("p.dropcap").length){$("p.dropcap").each((function(){var e=$(this);var t=$.trim(e.text());var n=t[0];var r='<span class="j1-dropcap">'+n+"</span>";e.html(t.replace(n,r))}))}},parseHeadings:function(){var e=i.selectHeadings(".js-toc-content","h2, h3, h4, h5, h6");return e}}}()},3739:e=>{e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h2, h3, h4, h5, h6",ignoreSelector:".notoc",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:3,scrollSmooth:true,scrollSmoothDuration:300,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:150,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function(e){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},8482:e=>{e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},4338:e=>{"use strict";e.exports=function e(){let t={};const n=e=>{t=e;("IntersectionObserver"in window?a:r)()};const r=()=>{n=false};const i=()=>{let e=document.createElement("link");let n="lazy"+t.selector;e.id=n.replace(".","_");e.rel="stylesheet";e.type="text/css";e.href=t.src;document.head.appendChild(e)};const a=()=>{let e=document.querySelectorAll(t.selector);let n=new IntersectionObserver(((e,n)=>{if(e[0].intersectionRatio>0){i();sessionStorage[t.selector]=true;n.disconnect()}}),{rootMargin:t.rootMargin});e.forEach((e=>{n.observe(e)}))};return{observe:n}}},8497:()=>{"use strict";(function(e){function t(){var e=document.createElement("p");var t=false;if(e.addEventListener){e.addEventListener("DOMAttrModified",(function(){t=true}),false)}else if(e.attachEvent){e.attachEvent("onDOMAttrModified",(function(){t=true}))}else{return false}e.setAttribute("id","target");return t}function n(t,n){if(t){var r=this.data("attr-old-value");if(n.attributeName.indexOf("style")>=0){if(!r["style"])r["style"]={};var i=n.attributeName.split(".");n.attributeName=i[0];n.oldValue=r["style"][i[1]];n.newValue=i[1]+":"+this.prop("style")[e.camelCase(i[1])];r["style"][i[1]]=n.newValue}else{n.oldValue=r[n.attributeName];n.newValue=this.attr(n.attributeName);r[n.attributeName]=n.newValue}this.data("attr-old-value",r)}}var r=window.MutationObserver||window.WebKitMutationObserver;e.fn.attrchange=function(i,a){if(typeof i=="object"){var o={trackValues:false,callback:e.noop};if(typeof i==="function"){o.callback=i}else{e.extend(o,i)}if(o.trackValues){this.each((function(t,n){var r={};for(var i,t=0,a=n.attributes,o=a.length;t<o;t++){i=a.item(t);r[i.nodeName]=i.value}e(this).data("attr-old-value",r)}))}if(r){var s={subtree:false,attributes:true,attributeOldValue:o.trackValues};var l=new r((function(t){t.forEach((function(t){var n=t.target;if(o.trackValues){t.newValue=e(n).attr(t.attributeName)}if(e(n).data("attrchange-status")==="connected"){o.callback.call(n,t)}}))}));return this.data("attrchange-method","Mutation Observer").data("attrchange-status","connected").data("attrchange-obs",l).each((function(){l.observe(this,s)}))}else if(t()){return this.data("attrchange-method","DOMAttrModified").data("attrchange-status","connected").on("DOMAttrModified",(function(t){if(t.originalEvent){t=t.originalEvent}t.attributeName=t.attrName;t.oldValue=t.prevValue;if(e(this).data("attrchange-status")==="connected"){o.callback.call(this,t)}}))}else if("onpropertychange"in document.body){return this.data("attrchange-method","propertychange").data("attrchange-status","connected").on("propertychange",(function(t){t.attributeName=window.event.propertyName;n.call(e(this),o.trackValues,t);if(e(this).data("attrchange-status")==="connected"){o.callback.call(this,t)}}))}return this}else if(typeof i=="string"&&e.fn.attrchange.hasOwnProperty("extensions")&&e.fn.attrchange["extensions"].hasOwnProperty(i)){return e.fn.attrchange["extensions"][i].call(this,a)}};e.fn.attrchange.extensions={disconnect:function(t){if(typeof t!=="undefined"&&t.isPhysicalDisconnect){return this.each((function(){var t=e(this).data("attrchange-method");if(t=="propertychange"||t=="DOMAttrModified"){e(this).off(t)}else if(t=="Mutation Observer"){e(this).data("attrchange-obs").disconnect()}else if(t=="polling"){clearInterval(e(this).data("attrchange-polling-timer"))}})).removeData(["attrchange-method","attrchange-status"])}else{return this.data("attrchange-status","disconnected")}},remove:function(t){return e.fn.attrchange.extensions["disconnect"].call(this,{isPhysicalDisconnect:true})},getProperties:function(t){var n=e(this).data("attrchange-method");var r=e(this).data("attrchange-pollInterval");return{method:n,isPolling:n=="polling",pollingInterval:typeof r==="undefined"?0:parseInt(r,10),status:typeof n==="undefined"?"removed":e(this).data("attrchange-status")}},reconnect:function(e){return this.data("attrchange-status","connected")},polling:function(t){if(t.hasOwnProperty("isComputedStyle")&&t.isComputedStyle=="true"){return this.each((function(n,r){if(!t.hasOwnProperty("properties")||Object.prototype.toString.call(t.properties)!=="[object Array]"||t.properties.length==0){return false}var i={};for(var n=0;n<t.properties.length;n++){i[t.properties[n]]=e(this).css(t.properties[n])}var r=this;e(this).data("attrchange-polling-timer",setInterval((function(){var n={},a=false;for(var o,s=0;s<t.properties.length;s++){o=e(r).css(t.properties[s]);if(i[t.properties[s]]!==o){a=true;n[t.properties[s]]={oldValue:i[t.properties[s]],newValue:o};i[t.properties[s]]=o}}if(a&&e(r).data("attrchange-status")==="connected"){t.callback.call(r,n)}}),t.pollInterval?t.pollInterval:1e3)).data("attrchange-method","polling").data("attrchange-pollInterval",t.pollInterval).data("attrchange-status","connected")}))}else{return this.each((function(n,r){var i={};for(var a,n=0,o=r.attributes,s=o.length;n<s;n++){a=o.item(n);i[a.nodeName]=a.nodeValue}e(r).data("attrchange-polling-timer",setInterval((function(){var n={},a=false;for(var o,s=0,l=r.attributes,c=l.length;s<c;s++){o=l.item(s);if(i.hasOwnProperty(o.nodeName)&&i[o.nodeName]!=o.nodeValue){n[o.nodeName]={oldValue:i[o.nodeName],newValue:o.nodeValue};a=true}else if(!i.hasOwnProperty(o.nodeName)){n[o.nodeName]={oldValue:"",newValue:o.nodeValue};a=true}i[o.nodeName]=o.nodeValue}if(a&&e(r).data("attrchange-status")==="connected"){t.callback.call(r,n)}}),t.pollInterval?t.pollInterval:1e3)).data("attrchange-method","polling").data("attrchange-pollInterval",t.pollInterval).data("attrchange-status","connected")}))}}}})(jQuery)},4102:e=>{"use strict";e.exports=function e(t){var n=j1.getCookieNames();var r=j1.readCookie(n.user_state);var i={};var a;var o;var s;var l=$.extend({foo:"bar",bar:"foo"},t);return{init:function(e,t){o=log4javascript.getLogger("j1.navigator.core");o.debug("\n"+"initializing module: started");$("body").wrapInner('<div id="wrapper-inner" class="wrapper"></div>');this.manageDropdownMenu(e,t);this.navbarSticky();this.eventHandler(e);o.debug("\n"+"initializing module: finished");i.type="state";i.action="core_initialized";i.text="navigator core initialized";j1.sendMessage("j1.navigator.core","j1.adapter.navigator",i);return true},eventHandler:function(e){var t=e;var n=$("nav.navbar.navigator");var r=300;var i;var a;var s;var l;var c;var u;var d;o.debug("\n"+"initializing eventHandler: started");$('a[href="#"]').click((function(e){i=document.querySelector('[id="'+decodeURI(c).split("#").join("")+'"]')?true:false;c=e.target.hash?e.target.hash:false;s=e.target.className?e.target.className:"";l=s.includes("nav-");if(l||!i){o.debug("\n"+'click event on href "#" detected: prevent default action');e.preventDefault?e.preventDefault():e.returnValue=false}}));$(".badge").on("click",(function(e){c=e.target.hash?e.target.hash:false;u=100;if(c){o.debug("\n"+"click event on badge detected: "+c);$("html, body").animate({scrollTop:$(c).offset().top-u},r);event.stopPropagation()}}));$(".badge-tag").on("click",(function(e){c=e.target.hash?e.target.hash:false;u=j1.getScrollOffset();if(c){o.debug("\n"+"click event on badge-tag detected: "+c);$("html, body").animate({scrollTop:$(c).offset().top+u},r);event.stopPropagation()}}));var p=n.hasClass("navbar-sticky");if(p){n.wrap("<div class='wrap-sticky'></div>")}if(n.hasClass("brand-center")){var f=new Array;var h=$("nav.brand-center");var m=h.find("ul.navbar-nav");h.find("ul.navbar-nav > li").each((function(){f.push($(this).html())}));var g=f.splice(0,Math.round(f.length/2));var v=f;var y="";var b=function(e){y="";for(var t=0;t<e.length;t++){y+="<li>"+e[t]+"</li>"}};b(g);m.html(y);h.find("ul.nav").first().addClass("navbar-left");b(v);m.after('<ul class="nav navbar-nav"></ul>').next().html(y);h.find("ul.nav").last().addClass("navbar-right");h.find("ul.nav.navbar-left").wrap("<div class='col_half left'></div>");h.find("ul.nav.navbar-right").wrap("<div class='col_half right'></div>");h.find("ul.navbar-nav > li").each((function(){var e=$("ul.dropdown-menu",this),t=$("ul.megamenu-content",this);e.closest("li").addClass("dropdown");t.closest("li").addClass("megamenu-fw")}))}if(n.find("ul.nav").hasClass("navbar-center")){n.addClass("menu-center")}if(n.hasClass("navbar-full")){$("nav.navbar.navigator").find("ul.nav").wrap("<div class='wrap-full-menu'></div>");$(".wrap-full-menu").wrap("<div class='nav-full'></div>");$("ul.nav.navbar-nav").prepend("<li class='close-full-menu'><a href='#'><i class='mdi mdi-close'></i></a></li>")}else if(n.hasClass("navbar-mobile")){n.removeClass("no-full")}else{n.addClass("no-full")}if(n.hasClass("no-background")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("no-background")}else{$(".navbar-fixed").addClass("no-background")}}))}if(n.hasClass("navbar-transparent")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("navbar-transparent");$(".navbar-fixed").addClass("navbar-scrolled")}else{$(".navbar-fixed").removeClass("navbar-scrolled");$(".navbar-fixed").addClass("navbar-transparent")}}))}$(".quicklink-nav").each((function(){if($("li.quicksearch")){o.debug("register OPEN event for QuickSearch");$("li.quicksearch > a",this).on("click",(function(e){o.debug("manage search action OPEN");$("#searchModal").modal("show")}))}if($("li.documind")){o.debug("register SHOW event for J1 DocSearch");$("li.documind > a",this).on("click",(function(e){j1.adapter.docsearch.showDialog()}))}if($("li.translate")){o.debug("register SHOW event for J1 Translator");$("li.translate > a",this).on("click",(function(e){j1.translator.showDialog()}))}if($("li.speak")){o.debug("register SHOW event for J1 Speak2Me");$("li.speak > a",this).on("click",(function(e){j1.adapter.speak2me.showDialog()}))}if($("li.cookie-consent")){o.debug("register SHOW event for J1 CookieConsent");$("li.cookie-consent > a",this).on("click",(function(e){j1.cookieConsent.showDialog()}))}}));o.debug("\n"+"initializing eventHandler: finished")},manageDropdownMenu:function(e,t){var n=e;var r=t;var i=$("nav.navbar.navigator");var a=window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait";var o=$(window).width();var s=$("nav").width();var l=i.find("ul.nav").data("in");var c=i.find("ul.nav").data("out");var u="#"+r.xhr_container_id+".collapse";var d="#navigator_nav_quicklinks";var p=r.delay_menu_open;var f;var h;var m;var g;var v=992;var y=768;var b=576;var w={min:"0em",max:"40em"};var C={min:"40.063em",max:"64em"};var x={min:"64.063em",max:"90em"};var E={min:"90.063em",max:"120em"};var S={min:"120.063em"};if(n.nav_bar.media_breakpoint==="lg"){f=v}else if(n.nav_bar.media_breakpoint==="md"){f=y}else if(n.nav_bar.media_breakpoint==="sm"){f=b}else{f=v}if(o<=f){$(u).addClass("navbar-collapse");$(u).removeClass("show");$(d).addClass("show")}else if(o>f){$("#navigator_nav_quicklinks").removeClass("show");$("#desktop_menu").show();$(".dropdown-menu > li").on("mouseenter",(function(){if($("body").hasClass("stop-scrolling")){return false}else{$("body").addClass("stop-scrolling")}}));$(".dropdown-menu > li").on("mouseleave",(function(){if($("body").hasClass("stop-scrolling")){$("body").removeClass("stop-scrolling")}}));$(".dropdown-menu > li").hover((function(){var e=$(this);var t=e.find("ul");if(t.length==1){t.addClass("scrollable-menu")}}));$(u).removeClass("navbar-collapse");$(u).addClass("show");$("nav.navbar.navigator ul.nav").each((function(){$("a.dropdown-toggle",this).off("click");$(".megamenu-fw",this).each((function(){$(".title",this).off("click");$("a.dropdown-toggle",this).off("click");$(".content").removeClass("animate__animated ")}));$(".dropdown-menu",this).addClass("animate__animated ");$("li.dropdown",this).on("mouseenter",(function(e){h=$(".dropdown-menu",this).eq(0);m=$(this);h.removeClass(c);h.removeClass("open");m.addClass("open");g=window.setTimeout((function(){if(m.hasClass("open")){h.stop().fadeIn().addClass(l);h.addClass("open");m.addClass("open")}}),p);return true}));$("li.dropdown",this).on("mouseleave",(function(e){h=$(".dropdown-menu",this).eq(0);m=$(this);window.clearTimeout(g);h.removeClass(l);h.addClass(c);h.fadeOut("slow");m.removeClass("open");return true}))}))}if(i.hasClass("navbar-full")){var L=$(window).height(),k=$(window).width();$(".nav-full").css("height",L+"px");$(".wrap-full-menu").css("height",L+"px");$(".wrap-full-menu").css("width",k+"px");$(".navbar-collapse").addClass("animate__animated ");$(".navbar-toggle").each((function(){var e=$(this).data("target");$(this).off("click");$(this).on("click",(function(t){t.preventDefault();$(e).removeClass(c);$(e).addClass("in");$(e).addClass(l)}));$("li.close-full-menu").on("click",(function(t){t.preventDefault();$(e).addClass(c);setTimeout((function(){$(e).removeClass("in");$(e).removeClass(l)}),500)}))}))}},navbarSticky:function(){var e=$("nav.navbar.navigator"),t=e.hasClass("navbar-sticky");if(t){var n=e.height();$(".wrap-sticky").height(n);var r=$(".wrap-sticky").offset().top;$(window).on("scroll",(function(){var t=$(window).scrollTop();if(t>r){e.addClass("sticked")}else{e.removeClass("sticked")}}))}},updateSidebar:function(e){var t=log4javascript.getLogger("j1.core.navigator.updateSidebar");var n;n=JSON.stringify(e);s="user state data: "+n;t.debug(s);j1.resolveMacros(e);j1.updateMacros(e);return true}}}(jQuery)},5150:e=>{"use strict";e.exports=function e(t){var n=$.extend({foo:"foo_option",bar:"bar_option"},t);function r(e){return e.slice(0,e.lastIndexOf("#"))}function i(){return"scrollBehavior"in document.documentElement.style}return{scroll:function(e,t){var n;var r;n=log4javascript.getLogger("j1.core.scrollSmooth");r="\n"+"run module scrollSmooth";n.debug(r);var i=t.duration;var a=t.offset;this.scrollTo(e,{duration:i,offset:a,callback:false})},scrollTo:function(e,t){var n=window.pageYOffset;var r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d};var i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]');var a=typeof e==="string"?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e;var o=typeof r.duration==="function"?r.duration(a):r.duration;var s;var l;requestAnimationFrame((function(e){s=e;c(e)}));function c(e){l=e-s;window.scrollTo(0,r.easing(l,n,a,o));if(l<o){requestAnimationFrame(c)}else{u()}}function u(){if(typeof r.callback==="function"){r.callback()}}function d(e,t,n,r){e/=r/2;if(e<1)return n/2*e*e+t;e--;return-n/2*(e*(e-2)-1)+t}}}}(jQuery)},6362:e=>{"use strict";e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h2, h3, h4, h5, h6",ignoreSelector:".notoc",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:3,scrollSmooth:true,scrollSmoothDuration:300,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:150,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function(e){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},2435:e=>{"use strict";e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},544:(e,t,n)=>{"use strict";
11
+ */e.exports=function(e){var t=n(739);var r=n(482);var i=r(t);var a=$.extend({foo:"foo_option",bar:"bar_option"},e);var o="loaded";return{_init_:function e(t){return},getState:function e(){return o},isMobile:function e(t){var n=false;(function(e){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(e.substr(0,4)))n=true})(navigator.userAgent||navigator.vendor||window.opera);return n},bsFormClearButton:function e(){$(":input").on("keydown focus change mouseover",(function(){if($(this).val().length>0){$(this).nextAll(".form-clear").removeClass("d-none")}})).on("keydown keyup blur",(function(){if($(this).val().length===0){$(this).nextAll(".form-clear").addClass("d-none")}}))},createDropCap:function e(){$(".paragraph.dropcap").children("p").addClass("dropcap");if($("p.dropcap").length){$("p.dropcap").each((function(){var e=$(this);var t=$.trim(e.text());var n=t[0];var r='<span class="j1-dropcap">'+n+"</span>";e.html(t.replace(n,r))}))}},parseHeadings:function e(){var t=i.selectHeadings(".js-toc-content","h2, h3, h4, h5, h6");return t}}}()},739:e=>{e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h2, h3, h4, h5, h6",ignoreSelector:".notoc",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:3,scrollSmooth:true,scrollSmoothDuration:300,scrollSmoothOffset:0,scrollEndCallback:function e(t){},headingsOffset:1,throttleTimeout:150,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function e(t){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},482:e=>{e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},497:()=>{"use strict";function e(t){"@babel/helpers - typeof";return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}(function(t){function n(){var e=document.createElement("p");var t=false;if(e.addEventListener){e.addEventListener("DOMAttrModified",(function(){t=true}),false)}else if(e.attachEvent){e.attachEvent("onDOMAttrModified",(function(){t=true}))}else{return false}e.setAttribute("id","target");return t}function r(e,n){if(e){var r=this.data("attr-old-value");if(n.attributeName.indexOf("style")>=0){if(!r["style"])r["style"]={};var i=n.attributeName.split(".");n.attributeName=i[0];n.oldValue=r["style"][i[1]];n.newValue=i[1]+":"+this.prop("style")[t.camelCase(i[1])];r["style"][i[1]]=n.newValue}else{n.oldValue=r[n.attributeName];n.newValue=this.attr(n.attributeName);r[n.attributeName]=n.newValue}this.data("attr-old-value",r)}}var i=window.MutationObserver||window.WebKitMutationObserver;t.fn.attrchange=function(a,o){if(e(a)=="object"){var s={trackValues:false,callback:t.noop};if(typeof a==="function"){s.callback=a}else{t.extend(s,a)}if(s.trackValues){this.each((function(e,n){var r={};for(var i,e=0,a=n.attributes,o=a.length;e<o;e++){i=a.item(e);r[i.nodeName]=i.value}t(this).data("attr-old-value",r)}))}if(i){var l={subtree:false,attributes:true,attributeOldValue:s.trackValues};var c=new i((function(e){e.forEach((function(e){var n=e.target;if(s.trackValues){e.newValue=t(n).attr(e.attributeName)}if(t(n).data("attrchange-status")==="connected"){s.callback.call(n,e)}}))}));return this.data("attrchange-method","Mutation Observer").data("attrchange-status","connected").data("attrchange-obs",c).each((function(){c.observe(this,l)}))}else if(n()){return this.data("attrchange-method","DOMAttrModified").data("attrchange-status","connected").on("DOMAttrModified",(function(e){if(e.originalEvent){e=e.originalEvent}e.attributeName=e.attrName;e.oldValue=e.prevValue;if(t(this).data("attrchange-status")==="connected"){s.callback.call(this,e)}}))}else if("onpropertychange"in document.body){return this.data("attrchange-method","propertychange").data("attrchange-status","connected").on("propertychange",(function(e){e.attributeName=window.event.propertyName;r.call(t(this),s.trackValues,e);if(t(this).data("attrchange-status")==="connected"){s.callback.call(this,e)}}))}return this}else if(typeof a=="string"&&t.fn.attrchange.hasOwnProperty("extensions")&&t.fn.attrchange["extensions"].hasOwnProperty(a)){return t.fn.attrchange["extensions"][a].call(this,o)}};t.fn.attrchange.extensions={disconnect:function e(n){if(typeof n!=="undefined"&&n.isPhysicalDisconnect){return this.each((function(){var e=t(this).data("attrchange-method");if(e=="propertychange"||e=="DOMAttrModified"){t(this).off(e)}else if(e=="Mutation Observer"){t(this).data("attrchange-obs").disconnect()}else if(e=="polling"){clearInterval(t(this).data("attrchange-polling-timer"))}})).removeData(["attrchange-method","attrchange-status"])}else{return this.data("attrchange-status","disconnected")}},remove:function e(n){return t.fn.attrchange.extensions["disconnect"].call(this,{isPhysicalDisconnect:true})},getProperties:function e(n){var r=t(this).data("attrchange-method");var i=t(this).data("attrchange-pollInterval");return{method:r,isPolling:r=="polling",pollingInterval:typeof i==="undefined"?0:parseInt(i,10),status:typeof r==="undefined"?"removed":t(this).data("attrchange-status")}},reconnect:function e(t){return this.data("attrchange-status","connected")},polling:function e(n){if(n.hasOwnProperty("isComputedStyle")&&n.isComputedStyle=="true"){return this.each((function(e,r){if(!n.hasOwnProperty("properties")||Object.prototype.toString.call(n.properties)!=="[object Array]"||n.properties.length==0){return false}var i={};for(var e=0;e<n.properties.length;e++){i[n.properties[e]]=t(this).css(n.properties[e])}var r=this;t(this).data("attrchange-polling-timer",setInterval((function(){var e={},a=false;for(var o,s=0;s<n.properties.length;s++){o=t(r).css(n.properties[s]);if(i[n.properties[s]]!==o){a=true;e[n.properties[s]]={oldValue:i[n.properties[s]],newValue:o};i[n.properties[s]]=o}}if(a&&t(r).data("attrchange-status")==="connected"){n.callback.call(r,e)}}),n.pollInterval?n.pollInterval:1e3)).data("attrchange-method","polling").data("attrchange-pollInterval",n.pollInterval).data("attrchange-status","connected")}))}else{return this.each((function(e,r){var i={};for(var a,e=0,o=r.attributes,s=o.length;e<s;e++){a=o.item(e);i[a.nodeName]=a.nodeValue}t(r).data("attrchange-polling-timer",setInterval((function(){var e={},a=false;for(var o,s=0,l=r.attributes,c=l.length;s<c;s++){o=l.item(s);if(i.hasOwnProperty(o.nodeName)&&i[o.nodeName]!=o.nodeValue){e[o.nodeName]={oldValue:i[o.nodeName],newValue:o.nodeValue};a=true}else if(!i.hasOwnProperty(o.nodeName)){e[o.nodeName]={oldValue:"",newValue:o.nodeValue};a=true}i[o.nodeName]=o.nodeValue}if(a&&t(r).data("attrchange-status")==="connected"){n.callback.call(r,e)}}),n.pollInterval?n.pollInterval:1e3)).data("attrchange-method","polling").data("attrchange-pollInterval",n.pollInterval).data("attrchange-status","connected")}))}}}})(jQuery)},102:e=>{"use strict";e.exports=function e(t){var n=j1.getCookieNames();var r=j1.readCookie(n.user_state);var i={};var a;var o;var s;var l=$.extend({foo:"bar",bar:"foo"},t);return{init:function e(t,n){o=log4javascript.getLogger("j1.navigator.core");o.debug("\n"+"initializing module: started");$("body").wrapInner('<div id="wrapper-inner" class="wrapper"></div>');this.manageDropdownMenu(t,n);this.navbarSticky();this.eventHandler(t);o.debug("\n"+"initializing module: finished");i.type="state";i.action="core_initialized";i.text="navigator core initialized";j1.sendMessage("j1.navigator.core","j1.adapter.navigator",i);return true},eventHandler:function e(t){var n=t;var r=$("nav.navbar.navigator");var i=300;var a;var s;var l;var c;var u;var d;var p;o.debug("\n"+"initializing eventHandler: started");$('a[href="#"]').click((function(e){a=document.querySelector('[id="'+decodeURI(u).split("#").join("")+'"]')?true:false;u=e.target.hash?e.target.hash:false;l=e.target.className?e.target.className:"";c=l.includes("nav-");if(c||!a){o.debug("\n"+'click event on href "#" detected: prevent default action');e.preventDefault?e.preventDefault():e.returnValue=false}}));$(".badge").on("click",(function(e){u=e.target.hash?e.target.hash:false;d=100;if(u){o.debug("\n"+"click event on badge detected: "+u);$("html, body").animate({scrollTop:$(u).offset().top-d},i);event.stopPropagation()}}));$(".badge-tag").on("click",(function(e){u=e.target.hash?e.target.hash:false;d=j1.getScrollOffset();if(u){o.debug("\n"+"click event on badge-tag detected: "+u);$("html, body").animate({scrollTop:$(u).offset().top+d},i);event.stopPropagation()}}));var f=r.hasClass("navbar-sticky");if(f){r.wrap("<div class='wrap-sticky'></div>")}if(r.hasClass("brand-center")){var h=new Array;var m=$("nav.brand-center");var v=m.find("ul.navbar-nav");m.find("ul.navbar-nav > li").each((function(){h.push($(this).html())}));var g=h.splice(0,Math.round(h.length/2));var y=h;var b="";var w=function e(t){b="";for(var n=0;n<t.length;n++){b+="<li>"+t[n]+"</li>"}};w(g);v.html(b);m.find("ul.nav").first().addClass("navbar-left");w(y);v.after('<ul class="nav navbar-nav"></ul>').next().html(b);m.find("ul.nav").last().addClass("navbar-right");m.find("ul.nav.navbar-left").wrap("<div class='col_half left'></div>");m.find("ul.nav.navbar-right").wrap("<div class='col_half right'></div>");m.find("ul.navbar-nav > li").each((function(){var e=$("ul.dropdown-menu",this),t=$("ul.megamenu-content",this);e.closest("li").addClass("dropdown");t.closest("li").addClass("megamenu-fw")}))}if(r.find("ul.nav").hasClass("navbar-center")){r.addClass("menu-center")}if(r.hasClass("navbar-full")){$("nav.navbar.navigator").find("ul.nav").wrap("<div class='wrap-full-menu'></div>");$(".wrap-full-menu").wrap("<div class='nav-full'></div>");$("ul.nav.navbar-nav").prepend("<li class='close-full-menu'><a href='#'><i class='mdi mdi-close'></i></a></li>")}else if(r.hasClass("navbar-mobile")){r.removeClass("no-full")}else{r.addClass("no-full")}if(r.hasClass("no-background")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("no-background")}else{$(".navbar-fixed").addClass("no-background")}}))}if(r.hasClass("navbar-transparent")){$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();var t=$(window).scrollTop();if(t>e){$(".navbar-fixed").removeClass("navbar-transparent");$(".navbar-fixed").addClass("navbar-scrolled")}else{$(".navbar-fixed").removeClass("navbar-scrolled");$(".navbar-fixed").addClass("navbar-transparent")}}))}$(".quicklink-nav").each((function(){if($("li.quicksearch")){o.debug("register OPEN event for QuickSearch");$("li.quicksearch > a",this).on("click",(function(e){o.debug("manage search action OPEN");$("#searchModal").modal("show")}))}if($("li.documind")){o.debug("register SHOW event for J1 DocSearch");$("li.documind > a",this).on("click",(function(e){j1.adapter.docsearch.showDialog()}))}if($("li.translate")){o.debug("register SHOW event for J1 Translator");$("li.translate > a",this).on("click",(function(e){j1.translator.showDialog()}))}if($("li.speak")){o.debug("register SHOW event for J1 Speak2Me");$("li.speak > a",this).on("click",(function(e){j1.adapter.speak2me.showDialog()}))}if($("li.cookie-consent")){o.debug("register SHOW event for J1 CookieConsent");$("li.cookie-consent > a",this).on("click",(function(e){j1.cookieConsent.showDialog()}))}}));o.debug("\n"+"initializing eventHandler: finished")},manageDropdownMenu:function e(t,n){var r=t;var i=n;var a=$("nav.navbar.navigator");var o=window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait";var s=$(window).width();var l=$("nav").width();var c=a.find("ul.nav").data("in");var u=a.find("ul.nav").data("out");var d="#"+i.xhr_container_id+".collapse";var p="#navigator_nav_quicklinks";var f=i.delay_menu_open;var h;var m;var v;var g;var y=992;var b=768;var w=576;var C={min:"0em",max:"40em"};var x={min:"40.063em",max:"64em"};var E={min:"64.063em",max:"90em"};var S={min:"90.063em",max:"120em"};var L={min:"120.063em"};if(r.nav_bar.media_breakpoint==="lg"){h=y}else if(r.nav_bar.media_breakpoint==="md"){h=b}else if(r.nav_bar.media_breakpoint==="sm"){h=w}else{h=y}if(s<=h){$(d).addClass("navbar-collapse");$(d).removeClass("show");$(p).addClass("show")}else if(s>h){$("#navigator_nav_quicklinks").removeClass("show");$("#desktop_menu").show();$(".dropdown-menu > li").on("mouseenter",(function(){if($("body").hasClass("stop-scrolling")){return false}else{$("body").addClass("stop-scrolling")}}));$(".dropdown-menu > li").on("mouseleave",(function(){if($("body").hasClass("stop-scrolling")){$("body").removeClass("stop-scrolling")}}));$(".dropdown-menu > li").hover((function(){var e=$(this);var t=e.find("ul");if(t.length==1){t.addClass("scrollable-menu")}}));$(d).removeClass("navbar-collapse");$(d).addClass("show");$("nav.navbar.navigator ul.nav").each((function(){$("a.dropdown-toggle",this).off("click");$(".megamenu-fw",this).each((function(){$(".title",this).off("click");$("a.dropdown-toggle",this).off("click");$(".content").removeClass("animate__animated ")}));$(".dropdown-menu",this).addClass("animate__animated ");$("li.dropdown",this).on("mouseenter",(function(e){m=$(".dropdown-menu",this).eq(0);v=$(this);m.removeClass(u);m.removeClass("open");v.addClass("open");g=window.setTimeout((function(){if(v.hasClass("open")){m.stop().fadeIn().addClass(c);m.addClass("open");v.addClass("open")}}),f);return true}));$("li.dropdown",this).on("mouseleave",(function(e){m=$(".dropdown-menu",this).eq(0);v=$(this);window.clearTimeout(g);m.removeClass(c);m.addClass(u);m.fadeOut("slow");v.removeClass("open");return true}))}))}if(a.hasClass("navbar-full")){var k=$(window).height(),A=$(window).width();$(".nav-full").css("height",k+"px");$(".wrap-full-menu").css("height",k+"px");$(".wrap-full-menu").css("width",A+"px");$(".navbar-collapse").addClass("animate__animated ");$(".navbar-toggle").each((function(){var e=$(this).data("target");$(this).off("click");$(this).on("click",(function(t){t.preventDefault();$(e).removeClass(u);$(e).addClass("in");$(e).addClass(c)}));$("li.close-full-menu").on("click",(function(t){t.preventDefault();$(e).addClass(u);setTimeout((function(){$(e).removeClass("in");$(e).removeClass(c)}),500)}))}))}},navbarSticky:function e(){var t=$("nav.navbar.navigator"),n=t.hasClass("navbar-sticky");if(n){var r=t.height();$(".wrap-sticky").height(r);var i=$(".wrap-sticky").offset().top;$(window).on("scroll",(function(){var e=$(window).scrollTop();if(e>i){t.addClass("sticked")}else{t.removeClass("sticked")}}))}},updateSidebar:function e(t){var n=log4javascript.getLogger("j1.core.navigator.updateSidebar");var r;r=JSON.stringify(t);s="user state data: "+r;n.debug(s);j1.resolveMacros(t);j1.updateMacros(t);return true}}}(jQuery)},150:e=>{"use strict";e.exports=function e(t){var n=$.extend({foo:"foo_option",bar:"bar_option"},t);function r(e){return e.slice(0,e.lastIndexOf("#"))}function i(){return"scrollBehavior"in document.documentElement.style}return{scroll:function e(t,n){var r;var i;r=log4javascript.getLogger("j1.core.scrollSmooth");i="\n"+"run module scrollSmooth";r.debug(i);var a=n.duration;var o=n.offset;this.scrollTo(t,{duration:a,offset:o,callback:false})},scrollTo:function e(t,n){var r=window.pageYOffset;var i={duration:n.duration,offset:n.offset||0,callback:n.callback,easing:n.easing||p};var a=document.querySelector('[id="'+decodeURI(t).split("#").join("")+'"]');var o=typeof t==="string"?i.offset+(t?a&&a.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):t;var s=typeof i.duration==="function"?i.duration(o):i.duration;var l;var c;requestAnimationFrame((function(e){l=e;u(e)}));function u(e){c=e-l;window.scrollTo(0,i.easing(c,r,o,s));if(c<s){requestAnimationFrame(u)}else{d()}}function d(){if(typeof i.callback==="function"){i.callback()}}function p(e,t,n,r){e/=r/2;if(e<1)return n/2*e*e+t;e--;return-n/2*(e*(e-2)-1)+t}}}}(jQuery)},362:e=>{"use strict";e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h2, h3, h4, h5, h6",ignoreSelector:".notoc",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:3,scrollSmooth:true,scrollSmoothDuration:300,scrollSmoothOffset:0,scrollEndCallback:function e(t){},headingsOffset:1,throttleTimeout:150,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function e(t){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},435:e=>{"use strict";e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},544:(e,t,n)=>{"use strict";
12
12
  /* Articulate.js (1.1.0). (C) 2017 Adam Coti.
13
13
  MIT @license: en.wikipedia.org/wiki/MIT_License
14
14
  See Github page at: https://github.com/acoti/articulate.js
15
15
  See Web site at: https://purefreedom.com/articulate/
16
- */(function(e){const t=n(6362);const r=n(2435);const i=r(t);const a="smooth";const o=10;const s=10;const l=30;const c=3;const u=1e3;const d=1e4;const p=/Firefox/i.test(navigator.userAgent);const f=/Edg/i.test(navigator.userAgent);const h=/chrome/i.test(navigator.userAgent);const m=h&&!f;const g="Google UK English Female";const v="Google US English";const y="Microsoft";const b=document.getElementsByTagName("html")[0].getAttribute("lang");var w="";var C=navigator.language||navigator.userLanguage;var x=ne("googtrans");var E=100;var S={};var L={};var k=new Array;var T=new Array;var A=new Array;var I=new Array;var M=new Array;var N=[];var D=.9;var _=1;var O=.9;var P=D;var F=_;var B=O;var R=" — ";var j=0;var $=false;var W=false;var H=false;var U;var G;var q;var V;var z;var K;var X;var Y;var J={"de-DE":"Google Deutsch","en-GB":"Google UK English Female","es-ES":"Google español","fr-FR":"Google français","it-IT":"Google italiano"};var Q={"en-GB":"Microsoft Libby Online (Natural) - English (United Kingdom)","es-ES":"Microsoft Elvira Online (Natural) - Spanish (Spain)","fr-FR":"Microsoft Denise Online (Natural) - French (France)","de-DE":"Microsoft Katja Online (Natural) - German (Germany)","it-IT":"Microsoft Elsa Online (Natural) - Italian (Italy)"};var Z={"en-GB":"Microsoft Hazel - English (United Kingdom)","de-DE":"Microsoft Katja - German (Germany)"};if(b=="en"){w=b+"-"+"GB"}else{w=b+"-"+b.toUpperCase()}function ee(t){var n=t.startLine;var r;function i(t){r=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);e("#content").attr("style","opacity: .3");if(n<r){setTimeout((function(){t++;n=n+d;window.scrollTo({top:n,behavior:"smooth"});i(t)}),u)}else{setTimeout((function(){Y=true;e("#content").attr("style","opacity: 1")}),u)}}i({startLine:0})}function te(){var e={};for(var t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(hasOwnProperty.call(n,r)){e[r]=n[r]}}}return e}function ne(e){var t=e+"=";var n=document.cookie.split(";");for(var r=0;r<n.length;r++){var i=n[r];while(i.charAt(0)===" "){i=i.substring(1,i.length)}if(i.indexOf(t)===0){var a=i.substring(t.length,i.length);return a}}return undefined}function re(e,t){this.prepend=e;this.append=t}function ie(e,t){this.name=e;this.language=t}function ae(e){var t=0;var n=e.split(" ");for(var r=0;r<n.length;r++){if(n[r]!=""){t+=1}}return t}function oe(){let e="systemVoices START - ";var t=speechSynthesis.getVoices();for(var n=0;n<t.length;n++){M.push(new ie(t[n].name,t[n].lang));if(t[n].lang.includes("en")||t[n].lang.includes("de-DE")||t[n].lang.includes("es-ES")||t[n].lang.includes("pl")||t[n].lang.includes("nl")){e+=t[n].lang.toString();e+=" : ";e+=t[n].name.toString();e+="\n"}}e+=" - systemVoices END."}oe();if(typeof speechSynthesis!=="undefined"&&speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=oe}if("speechSynthesis"in window){var se=new SpeechSynthesisUtterance;window.speechSynthesis.cancel()}if(x===undefined){V=w}else{var le=x.split("/");if(le[2]=="en"){V="en-GB"}else if(le[2].includes("ar")){V="ar-EG"}else if(le[2].includes("cs")){V="cs-CZ"}else if(le[2].includes("da")){V="da-DK"}else if(le[2].includes("en")){V="en-UK"}else if(le[2].includes("et")){V="et-EE"}else if(le[2].includes("ka")){V="ka-GE"}else if(le[2].includes("el")){V="el-GR"}else if(le[2].includes("iw")){V="he-IL"}else if(le[2].includes("hi")){V="hi-IN"}else if(le[2].includes("ja")){V="ja-JP"}else if(le[2].includes("zh")){V="zh-CN"}else{V=le[2]+"-"+le[2].toUpperCase()}}if(m){var z=J[V]}if(f){var z=Q[V]}if(p){var z=Z[V]}var ce={speak:function(n){var r="";var u=new Array;var d=this;var p,f,h;var m;Y=false;L=te(n,t,S||{});if(!L.isPaused){ee({startLine:0})}else{Y=true}u["a"]=new re("Link"+R,"");u["q"]=new re(R,"");u["ol"]=new re(R,"");u["ul"]=new re(R,"");u["dl"]=new re(R,"");u["dt"]=new re(R,"");u["img"]=new re("Image element"+R,"Element not spoken"+R);u["table"]=new re("Table element"+R,"Element not spoken"+R);u["card-header"]=new re(R,"");u[".doc-example"]=new re("Example element"+R,"Element not spoken"+R);u[".admonitionblock"]=new re("Attention element"+R,R);u[".listingblock"]=new re("Text element"+R,"Element not spoken"+R);u[".gist"]=new re("Gist element"+R,"Element not spoken"+R);u[".slider"]=new re("Slider element"+R,"Element not spoken"+R);u[".modal"]=new re("Info element"+R,"Element not spoken"+R);u[".masonry"]=new re("Masonry element"+R,"Element not spoken"+R);u[".lightbox-block"]=new re("Lightbox element"+R,"Element not spoken"+R);u[".gallery"]=new re("Gallery element"+R,"Element not spoken"+R);u[".audioblock"]=new re("Audio element"+R,"Element not spoken"+R);u[".videoblock"]=new re("Video element"+R,"Element not spoken"+R);u[".videojs-player"]=new re("Video element"+R,"Element not spoken"+R);u[".youtube-player"]=new re("Video element"+R,"Element not spoken"+R);u[".dailymotion-player"]=new re("Video element"+R,"Element not spoken"+R);u[".vimeo-player"]=new re("Video element"+R,"Element not spoken"+R);u[".wistia-player"]=new re("Video element"+R,"Element not spoken"+R);u["figure"]=new re("Figure element"+R,"Element not spoken"+R);u["parallax-quoteblock"]=new re("",R);u["blockquote"]=new re("",R);u["quoteblock"]=new re("",R);m=["audio","button","canvas","code","del","pre","dialog","embed","form","head","iframe","meter","nav","noscript","object","picture","script","select","style","textarea","video"];if(window.speechSynthesis.speaking){return}var g=setInterval((function(){if(Y){d.each((function(){p=e(this).clone();f=w(p);f=e(f).html();h=C(f);r=h}));if(U!==undefined){P=U}else{P=D}if(G!==undefined){F=G}else{F=_}if(q!==undefined){B=q}else{B=O}se=new SpeechSynthesisUtterance;se.rate=P;se.pitch=F;se.volume=B;se.voice=speechSynthesis.getVoices().filter((function(e){return e.name==z}))[0];se.previousScrollPosition=0;b(se,r);clearInterval(g)}}),o);function v(n){var r=[];n=n.replace(/^\s+>/gm,"");n=n.replaceAll(" ..",".");n=n.replace(/(\r\n|\n|\r)/gm,"");n=n.replace(/\s+/gm," ");r=n.split(".");r.forEach(((e,t)=>{r[t]=r[t].replace(/^\s+/g,"");r[t]=r[t].replaceAll('""',"")}));r.forEach(((e,t)=>{if(r[t].length>0){r[t]=r[t]+". "}else{r.splice(t,1)}}));r.forEach(((e,t)=>{if(r[t].length==0){r.splice(t,1)}}));var a=[];r.forEach(((t,n)=>{var i=r[n];var o=y(i,l,c);var s=e("#content").find("p:contains('"+o+"')");var u;if(s.length>0){u=Math.round(s[0].offsetTop)}else{u=undefined;s=undefined}a.push({text:i,offsetTop:u,$paragraph:s})}));N=i.selectHeadings(t.contentSelector,t.headingSelector);a.forEach(((t,n)=>{var r;var i;if(t.offset===undefined){r=t.text.replaceAll(". ","");if(N!==null){for(var a of N){i=a.innerText.replaceAll("?","");i=a.innerText.replaceAll("!","");i=a.innerText+R;if(i==r){var o=e("#"+a.id);if(o.length>0){var s=o.offset().top;t.offsetTop=Math.round(s)}else{}}}}}}));return a}function y(e,t,n){var r=0;var i=r+t;var a=e.substr(r,i);var o=a.split(/(\s+)/);var s;o.pop();o.pop();a=o.join("");a=a.replaceAll(".","");s=ae(a);if(s<n){console.debug("j1.core.speak2me: no search possible on this fraction of subText: "+a);console.debug("j1.core.speak2me: number of words found: "+s+" lower that words min: "+n);return undefined}else{return a}}function b(t,n){const r=window.speechSynthesis;e(".mdib-speaker").addClass("mdib-spin");t.addEventListener("start",(e=>{if(t.offsetTop!==undefined){if(t.offsetTop>=t.previousScrollPosition){window.scrollTo({top:t.offsetTop-E,behavior:a})}}if(t.$paragraph!==undefined){t.$paragraph.addClass("speak-highlighted")}}));t.addEventListener("end",(function(e){if(t.offsetTop!==undefined){if(t.offsetTop>=t.previousScrollPosition){t.previousScrollPosition=t.offsetTop}H=t.offsetTop-E}if(t.$paragraph!==undefined){t.$paragraph.removeClass("speak-highlighted")}W=false;j++}));var i=false;var o=setInterval((function(){if(j==K||$){j=0;$=false;W=false;t.$paragraph!==undefined&&t.$paragraph.removeClass("speak-highlighted");e(".mdib-speaker").removeClass("mdib-spin");clearInterval(o)}else{if(!i&&L.isPaused){j=L.lastChunk;i=true}t.text=n[j].text;t.offsetTop=n[j].offsetTop;t.$paragraph=n[j].$paragraph;if(!W){r.speak(t);W=true}}}),s)}function w(t){var n,r,i,a,o,s,l,c;if(T.length>0){for(var d in T){var p=m.indexOf(T[d]);if(p>-1){m.splice(p,1)}}}for(var d in m){e(t).find(m[d]).addBack(m[d]).not("[data-speak2me-recognize]").each((function(){e(this).html("")}))}if(k.length>0){for(var d in k){e(t).find(k[d]).addBack(k[d]).not("[data-speak2me-recognize]").each((function(){e(this).html("")}))}}e(t).find("[data-speak2me-ignore]").addBack("[data-speak2me-ignore]").each((function(){e(this).html("")}));e(t).find(".speak2me-ignore").addBack("[data-speak2me-ignore]").each((function(){e(this).html("")}));e(t).find("[data-speak2me-prepend]").addBack("[data-speak2me-prepend]").each((function(){n=e(this).data("speak2me-prepend");e(this).prepend(n+" ")}));e(t).find("[data-speak2me-append]").addBack("[data-speak2me-append]").each((function(){n=e(this).data("speak2me-append");e(this).append(" "+n)}));var f=0;for(var h in u){e(t).find(h).each((function(){if(I[h]){e(this).prepend(I[h].prepend+R);e(this).append(I[h].append+R)}else{e(this).prepend(u[h].prepend+R);e(this).append(u[h].append+R)}}))}e(t).find("h1,h2,h3,h4,h5,h6,p,li").addBack("h1,h2,h3,h4,h5,h6,p,li").each((function(){var t=e(this)[0].innerText;t.replace(/\s+/g,"s");t=t+R;e(this)[0].innerText=t}));e(t).find("br").each((function(){e(this).append(R)}));e(t).find("figure").addBack("figure").each((function(){n=e(this).find("figcaption").html();if(I["figure"]){c=I["figure"].prepend}else{c=u["figure"].prepend}if(n!=undefined&&n!==""){e("<div>"+c+R+n+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("img").addBack("img").each((function(){n=e(this).attr("alt");var t=e(this).parent();var r=t.get(0).tagName;if(I["img"]){c=I["img"].prepend}else{c=u["img"].prepend}if(n!==undefined&&n!=""){if(r=="PICTURE"){var i;e("<div>"+c+R+n+R+"</div>").insertBefore(t)}else{e("<div>"+c+R+n+R+"</div>").insertBefore(this)}}e(this).remove()}));e(t).find("a").addBack("a").each((function(){var t=e(this);n=t[0].innerText;c=u["a"].prepend;l=u["a"].append;e("<div>"+n+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this);e(this).remove()}));e(t).find(".admonitionblock").addBack(".admonitionblock").each((function(){a=this.classList[1];o=e(this).find(".content");s=o[0].innerText;c=u[".admonitionblock"].prepend+a+". ";l=u[".admonitionblock"].append;if(s!==undefined&&s!=""){e("<div>"+c+" "+s+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".parallax-quoteblock").addBack(".parallax-quoteblock").each((function(){o=e(this).find(".quote-text");s=o[0].innerText+""+R;c=u["quoteblock"].prepend;l=u["quoteblock"].append;if(s!==undefined&&s!=""){e("<div>"+c+R+s+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".quoteblock").addBack(".quoteblock").each((function(){var t=e(this).find(".attribution");o=e(this).find("blockquote");s=o[0].innerText+""+t[0].innerText;c=u["quoteblock"].prepend;l=u["quoteblock"].append;if(s!==undefined&&s!=""){e("<div>"+c+R+s+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("table").addBack("table").each((function(){n=e(this).find("caption").text();c=u["table"].prepend;l=u["table"].append;if(n!==undefined&&n!=""){e("<div>"+c+R+n+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".audioblock").addBack(".audioblock").each((function(){n=e(this).find(".title").text();c=u[".audioblock"].prepend;l=u[".audioblock"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".videoblock").addBack(".videoblock").each((function(){n=e(this).find(".title").text();c=u[".videoblock"].prepend;l=u[".videoblock"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".videojs-player").addBack(".videojs-player").each((function(){n=e(this).find(".video-title").text();c=u[".videojs-player"].prepend;l=u[".videojs-player"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".youtube-player").addBack(".youtube-player").each((function(){n=e(this).find(".video-title").text();c=u[".youtube-player"].prepend;l=u[".youtube-player"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".dailymotion-player").addBack(".dailymotion-player").each((function(){n=e(this).find(".video-title").text();c=u[".dailymotion-player"].prepend;l=u[".dailymotion-player"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".vimeo-player").addBack(".vimeo-player").each((function(){n=e(this).find(".video-title").text();c=u[".vimeo-player"].prepend;l=u[".vimeo-player"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".wistia-player").addBack(".wistia-player").each((function(){n=e(this).find(".video-title").text();c=u[".wistia-player"].prepend;l=u[".wistia-player"].append;if(n!==undefined&&n!=""){e("<div>"+c+"with the title, "+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".card-header").addBack("card-header").each((function(){i=e(this).find(".card-title");c=u["card-header"].prepend;l=u["card-header"].append;if(i.length){r=i[0].innerText+R}else{r=""}e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+r+"</div>").insertBefore(this);e(i).remove()}));e(t).find(".doc-example").addBack(".doc-example").each((function(){c=u[".doc-example"].prepend;l=u[".doc-example"].append;e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this);e(this).remove()}));e(t).find(".listingblock").addBack(".listingblock").each((function(){i=e(this).find(".title");if(i.length){n=i[0].innerText}else{n=""}c=u[".listingblock"].prepend;l=u[".listingblock"].append;if(n!==undefined&&n!=""){e("<div>"+c+" with the title,"+n+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".gist").addBack(".gist").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}c=u[".gist"].prepend;l=u[".gist"].append;if(r!==undefined&&r!=""){e("<div>"+c+" with the title, "+r+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".modal").addBack(".modal").each((function(){e(this).remove()}));e(t).find(".masonry").addBack(".masonry").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}c=u[".masonry"].prepend;l=u[".masonry"].append;if(r!==undefined&&r!=""){e("<div>"+c+" with the title,"+r+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".slider").addBack(".slider").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}c=u[".slider"].prepend;l=u[".slider"].append;if(r!==undefined&&r!=""){e("<div>"+c+" with the title, "+r+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".gallery").addBack(".gallery").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}c=u[".gallery"].prepend;l=u[".gallery"].append;if(r!==undefined&&r!=""){c!==""&&e("<div>"+c+" with the title "+r+R+"</div>").insertBefore(this);l!==""&&e("<div>"+l+"</div>").insertBefore(this)}else{c!==""&&e("<div>"+c+R+"</div>").insertBefore(this);l!==""&&e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".lightbox-block").addBack(".lightbox-block").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}c=u[".lightbox-block"].prepend;l=u[".lightbox-block"].append;if(r!==undefined&&r!=""){e("<div>"+c+" with the title,"+r+R+"</div>").insertBefore(this);e("<div>"+l+"</div>").insertBefore(this)}else{e("<div>"+c+R+"</div>").insertBefore(this);e("<div>"+l+R+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("[data-speak2me-swap]").addBack("[data-speak2me-swap]").each((function(){n=e(this).data("speak2me-swap");e(this).text(n)}));e(t).find("[data-speak2me-spell]").addBack("[data-speak2me-spell]").each((function(){n=e(this).text();n=n.split("").join(" ");e(this).text(n)}));return t}function C(e){var t,n,r,i,a,e;while(e.indexOf("\x3c!-- <speak2me>")!=-1){t=e.indexOf("\x3c!-- <speak2me>");n=e.indexOf("</speak2me> --\x3e",t);if(n==-1){break}r=e.substring(t+17,n);i=e.substring(0,t);a=e.substring(n+17);e=i+" "+r+" "+a}e=e.replace(/<!--[\s\S]*?-->/g,"");e=e.replace(/(<([^>]+)>)/gi,"");var o=A.length;var s=0;var l,c;while(s<o){l=A[s];l=l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");c=A[s+1]+" ";var u=new RegExp(l,"gi");var e=e.replace(u,c);s=s+2}e=e.replaceAll('"',"");e=e.replaceAll("“","");e=e.replaceAll("”","");e=e.replaceAll(":",".");e=e.replaceAll("., ",". ");e=e.replaceAll(" , ",", ");e=e.replaceAll(". .","");e=e.replaceAll(", .","");e=e.replaceAll(" , ","");e=e.replace(/^$/g,"\n");e=e.replace(/^\s+$/g,"\n");e=e.replace(/\s+\.\s+/g,"\n");e=e.replace(/\s+\.\s+$/g,"\n");e=e.replace(/\.\./g,".");e=e.replaceAll("e.g.","for example");e=e.replaceAll("E.g.","For example, ");e=e.replaceAll("etc.","and so on, ");e=e.replaceAll("z. B.","zum Beispiel, ");e=e.replace(/[\!\?]/g,". ");e=e.replaceAll("—",R);e=e.replaceAll("–",R);e=e.replaceAll("--",R);var d=document.createElement("textarea");d.innerHTML=e;e=d.value;e=e.replace(/^\s*(\b\w+\b)\s*$/gm,"$1. ");e=e.replace(/^\s*(\b\w+\b\s*[0-9]{4})$/gm,"$1. ");e=e.replace(/\s+/g," ");const p=v(e);K=p.length;return p}return se},pause:function(){window.speechSynthesis.pause();return this},resume:function(){window.speechSynthesis.resume();return this},stop:function(){window.speechSynthesis.cancel();$=true},enabled:function(){return"speechSynthesis"in window},isSpeaking:function(){return window.speechSynthesis.speaking},isSpoken:function(){if(window.speechSynthesis.speaking){return j}else{return false}},isScrolled:function(){if(window.speechSynthesis.speaking){return H}else{return false}},isPaused:function(){return window.speechSynthesis.paused},rate:function(){var e=arguments[0];if(e>=.1&&e<=10){U=e}else if(e===undefined){U=void 0;P=D}return this},pitch:function(){var e=arguments[0];if(e>=.1&&e<=2){G=e}else if(e===undefined){G=void 0;F=_}return this},volume:function(){var e=arguments[0];if(e>=0&&e<=1){q=e}else if(e===undefined){q=void 0;B=O}return this},ignore:function(){var e=arguments.length;k.length=0;while(e>0){e--;k.push(arguments[e])}return this},recognize:function(){var e=arguments.length;T.length=0;while(e>0){e--;T.push(arguments[e])}return this},replace:function(){var e=arguments.length;A.length=0;var t=0;while(t<e){A.push(arguments[t],arguments[t+1]);t=t+2;if(e-t==1){break}}return this},customize:function(){var e=arguments.length;if(e==0){I=[]}if(e==2){if(["img","table","figure"].indexOf(arguments[0])==-1){console.warn("When customizing, tag indicated must be either 'img', 'table', or 'figure'.");return}I[arguments[0].toString()]=new re(arguments[1].toString())}if(e==3){if(["q","ol","ul","blockquote"].indexOf(arguments[0])==-1){console.warn("When customizing, tag indicated must be either 'q', 'ol', 'ul' or 'blockquote'.");return}I[arguments[0].toString()]=new re(arguments[1].toString(),arguments[2].toString())}return this},getVoices:function(){if(arguments.length==0){return M}var t=e(arguments[0]);var n="Choose a voice";if(arguments[1]!==undefined){n=arguments[1]}t.append(e("<select id='voiceSelect' name='voiceSelect'><option value='none'>"+n+"</option></select>"));var r=0;for(var i=0;i<M.length;i++){if(m&&M[i].name.includes(y)){r++;continue}if(f&&!M[i].name.includes("Natural")){r++;continue}var a=document.createElement("option");a.textContent=M[i].name+" ("+M[i].language+")";a.setAttribute("value",M[i].name);if(z!==undefined){if(M[i].name===z){a.setAttribute("selected","selected")}}else{if(M[i].name.includes(g)){}}a.setAttribute("data-speak2me-language",M[i].language);t.find("select").append(a)}return i-r},setVoice:function(){if(arguments.length<2){return this}var e,t;if(arguments[0]=="name"){e=arguments[1];for(var n=0;n<M.length;n++){if(M[n].name==e){g=e}}}if(arguments[0]=="language"){t=arguments[1].toUpperCase();if(t.length==2){for(var n=0;n<M.length;n++){if(M[n].language.substring(0,2).toUpperCase()==t){g=M[n].name;break}}}else{for(var n=0;n<M.length;n++){if(M[n].language==t){g=M[n].name;break}}}}return this}};e.fn.speak2me=function(t){if(ce[t]){return ce[t].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof t==="object"||!t){return ce.speak.apply(this,arguments)}else{e.error("Method "+t+" does not exist on $.speak2me")}}})($)},7823:e=>{"use strict";e.exports=function(e){var t=[].forEach;var n=[].some;var r=document.body;var i=true;var a=" ";function o(e,t){var n=t.appendChild(l(e));if(e.children.length){var r=c(e.isCollapsed);e.children.forEach((function(e){o(e,r)}));n.appendChild(r)}}function s(e,t){var n=false;var r=c(n);t.forEach((function(e){o(e,r)}));var i=document.querySelector(e);if(i===null){return}if(i.firstChild){i.removeChild(i.firstChild)}if(t.length===0){return i}return i.appendChild(r)}function l(n){var r=document.createElement("li");var i=document.createElement("a");if(e.listItemClass){r.setAttribute("class",e.listItemClass)}if(e.onClick){i.onclick=e.onClick}if(e.includeHtml&&n.childNodes.length){t.call(n.childNodes,(function(e){i.appendChild(e.cloneNode(true))}))}else{i.textContent=n.textContent}i.setAttribute("href",e.basePath+"#"+n.id);i.setAttribute("class",e.linkClass+a+"node-name--"+n.nodeName+a+e.extraLinkClasses);r.appendChild(i);return r}function c(t){var n=e.orderedList?"ol":"ul";var r=document.createElement(n);var i=e.listClass+a+e.extraListClasses;if(t){i+=a+e.collapsibleClass;i+=a+e.isCollapsedClass}r.setAttribute("class",i);return r}function u(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var t;t=document.querySelector(e.scrollContainer).scrollTop}else{t=document.documentElement.scrollTop||r.scrollTop}var n=document.querySelector(e.positionFixedSelector);if(e.fixedSidebarOffset==="auto"){e.fixedSidebarOffset=document.querySelector(e.tocSelector).offsetTop}if(t>e.fixedSidebarOffset){if(n.className.indexOf(e.positionFixedClass)===-1){n.className+=a+e.positionFixedClass}}else{n.className=n.className.split(a+e.positionFixedClass).join("")}}function d(t){var n=0;if(t!==document.querySelector(e.contentSelector&&t!=null)){n=t.offsetTop;if(e.hasInnerContainers){n+=d(t.offsetParent)}}return n}function p(o){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var s;s=document.querySelector(e.scrollContainer).scrollTop}else{s=document.documentElement.scrollTop||r.scrollTop}if(e.positionFixedSelector){u()}var l=o;var c;var p;if(i&&document.querySelector(e.tocSelector)!==null&&l.length>0){n.call(l,(function(t,n){p=d(t);if(p>s+e.headingsOffset+10){c=l[n];return true}else if(n===l.length-1){c=l[l.length-1];return true}}));var h=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);t.call(h,(function(t){t.className=t.className.split(a+e.activeLinkClass).join("")}));var m=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);t.call(m,(function(t){t.className=t.className.split(a+e.activeListItemClass).join("")}));var g=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+c.nodeName+'[href="'+e.basePath+"#"+c.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');if(g.className.indexOf(e.activeLinkClass)===-1){g.className+=a+e.activeLinkClass}var v=g.parentNode;if(v&&v.className.indexOf(e.activeListItemClass)===-1){v.className+=a+e.activeListItemClass}var y=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(y,(function(t){if(t.className.indexOf(e.isCollapsedClass)===-1){t.className+=a+e.isCollapsedClass}}));if(g.nextSibling&&g.nextSibling.className.indexOf(e.isCollapsedClass)!==-1){g.nextSibling.className=g.nextSibling.className.split(a+e.isCollapsedClass).join("")}f(g.parentNode.parentNode)}}function f(t){if(t.className.indexOf(e.collapsibleClass)!==-1&&t.className.indexOf(e.isCollapsedClass)!==-1){t.className=t.className.split(a+e.isCollapsedClass).join("");return f(t.parentNode.parentNode)}return t}function h(t){var n=t.target||t.srcElement;if(typeof n.className!=="string"||n.className.indexOf(e.linkClass)===-1){return}i=false}function m(){i=true}return{enableTocAnimation:m,disableTocAnimation:h,render:s,updateToc:p}}},6287:e=>{"use strict";e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:true,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function(e){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},798:e=>{"use strict";e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},8508:(e,t)=>{"use strict";t.initSmoothScrolling=n;function n(e){if(l()){}var t=e.duration;var n=e.offset;var i=location.hash?s(location.href):location.href;a();function a(){document.body.addEventListener("click",i,false);function i(i){if(!o(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||i.target.href.charAt(i.target.href.length-2)==="#"&&i.target.href.charAt(i.target.href.length-1)==="!"||i.target.className.indexOf(e.linkClass)===-1){return}r(i.target.hash,{duration:t,offset:n,callback:false})}}function o(e){return e.tagName.toLowerCase()==="a"&&(e.hash.length>0||e.href.charAt(e.href.length-1)==="#")&&(s(e.href)===i||s(e.href)+"#"===i)}function s(e){return e.slice(0,e.lastIndexOf("#"))}function l(){return"scrollBehavior"in document.documentElement.style}function c(e){var t=document.getElementById(e.substring(1));if(t){if(!/^(?:a|select|input|button|textarea)$/i.test(t.tagName)){t.tabIndex=-1}t.focus()}}}function r(e,t){var n=window.pageYOffset;var r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d};var i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]');var a=typeof e==="string"?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e;var o=typeof r.duration==="function"?r.duration(a):r.duration;var s;var l;requestAnimationFrame((function(e){s=e;c(e)}));function c(e){l=e-s;window.scrollTo(0,r.easing(l,n,a,o));if(l<o){requestAnimationFrame(c)}else{u()}}function u(){if(typeof r.callback==="function"){r.callback()}}function d(e,t,n,r){e/=r/2;if(e<1)return n/2*e*e+t;e--;return-n/2*(e*(e-2)-1)+t}}},6562:function(e,t,n){"use strict";var r,i,a;(function(n,o){if(true){!(i=[],r=o(n),a=typeof r==="function"?r.apply(t,i):r,a!==undefined&&(e.exports=a))}else{}})(typeof n.g!=="undefined"?n.g:this.window||this.global,(function(e){var t=n(6287);var r={};var i={};var a=n(7823);var o=n(798);var s=n(9429);var l;var c;var u=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window==="undefined"&&!u){return}var d;var p=Object.prototype.hasOwnProperty;function f(){var e={};for(var t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(p.call(n,r)){e[r]=n[r]}}}return e}function h(e,t,n){t||(t=250);var r;var i;return function(){var a=n||this;var o=+new Date;var s=arguments;if(r&&o<r+t){clearTimeout(i);i=setTimeout((function(){r=o;e.apply(a,s)}),t)}else{r=o;e.apply(a,s)}}}i.destroy=function(){if(!r.skipRendering){try{document.querySelector(r.tocSelector).innerHTML=""}catch(e){console.warn("Element not found: "+r.tocSelector)}}if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).removeEventListener("scroll",this._scrollListener,false);document.querySelector(r.scrollContainer).removeEventListener("resize",this._scrollListener,false);if(l){document.querySelector(r.scrollContainer).removeEventListener("click",this._clickListener,false)}}else{document.removeEventListener("scroll",this._scrollListener,false);document.removeEventListener("resize",this._scrollListener,false);if(l){document.removeEventListener("click",this._clickListener,false)}}};i.init=function(e){if(!u){return}r=f(t,e||{});this.options=r;this.state={};if(r.scrollSmooth){r.duration=r.scrollSmoothDuration;r.offset=r.scrollSmoothOffset;i.scrollSmooth=n(8508).initSmoothScrolling(r)}l=a(r);c=o(r);this._buildHtml=l;this._parseContent=c;i.destroy();d=c.selectHeadings(r.contentSelector,r.headingSelector);if(d===null){return}var p=c.nestHeadingsArray(d);var m=p.nest;if(!r.skipRendering){l.render(r.tocSelector,m)}this._scrollListener=h((function(e){l.updateToc(d);!r.disableTocScrollSync&&s(r);var t=e&&e.target&&e.target.scrollingElement&&e.target.scrollingElement.scrollTop===0;if(e&&(e.eventPhase===0||e.currentTarget===null)||t){l.updateToc(d);if(r.scrollEndCallback){r.scrollEndCallback(e)}}}),r.throttleTimeout);this._scrollListener();if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).addEventListener("scroll",this._scrollListener,false);document.querySelector(r.scrollContainer).addEventListener("resize",this._scrollListener,false)}else{document.addEventListener("scroll",this._scrollListener,false);document.addEventListener("resize",this._scrollListener,false)}var g=null;this._clickListener=h((function(e){if(r.scrollSmooth){l.disableTocAnimation(e)}l.updateToc(d);g&&clearTimeout(g);g=setTimeout((function(){l.enableTocAnimation()}),r.scrollSmoothDuration)}),r.throttleTimeout);if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).addEventListener("click",this._clickListener,false)}else{document.addEventListener("click",this._clickListener,false)}return this};i.refresh=function(e){i.destroy();i.init(e||this.options)};e.tocbot=i;return i}))},9429:e=>{"use strict";e.exports=function e(t){var n=document.querySelector(t.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var r=n.querySelector("."+t.activeListItemClass);if(r){n.scrollTop=r.offsetTop}}}},2215:(e,t,n)=>{var r,i;
16
+ */function r(e){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function e(){};return{s:i,n:function t(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function t(){n=n.call(e)},n:function e(){var t=n.next();return s=t.done,t},e:function e(t){l=!0,o=t},f:function e(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw o}}}}function a(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e){throw new TypeError('"'+e+'" is read-only')}(function(e){var t=n(362);var a=n(435);var o=a(t);var l="smooth";var c=10;var u=10;var d=30;var p=3;var f=1e3;var h=1e4;var m=/Firefox/i.test(navigator.userAgent);var v=/Edg/i.test(navigator.userAgent);var g=/chrome/i.test(navigator.userAgent);var y=g&&!v;var b="Google UK English Female";var w="Google US English";var C="Microsoft";var x=document.getElementsByTagName("html")[0].getAttribute("lang");var E="";var S=navigator.language||navigator.userLanguage;var L=ae("googtrans");var k=100;var A={};var T={};var I=new Array;var M=new Array;var N=new Array;var D=new Array;var O=new Array;var _=[];var P=.9;var F=1;var B=.9;var j=P;var R=F;var $=B;var W=" — ";var H=0;var U=false;var G=false;var q=false;var V;var z;var K;var X;var Y;var J;var Q;var Z;var ee={"de-DE":"Google Deutsch","en-GB":"Google UK English Female","es-ES":"Google español","fr-FR":"Google français","it-IT":"Google italiano"};var te={"en-GB":"Microsoft Libby Online (Natural) - English (United Kingdom)","es-ES":"Microsoft Elvira Online (Natural) - Spanish (Spain)","fr-FR":"Microsoft Denise Online (Natural) - French (France)","de-DE":"Microsoft Katja Online (Natural) - German (Germany)","it-IT":"Microsoft Elsa Online (Natural) - Italian (Italy)"};var ne={"en-GB":"Microsoft Hazel - English (United Kingdom)","de-DE":"Microsoft Katja - German (Germany)"};if(x=="en"){E=x+"-"+"GB"}else{E=x+"-"+x.toUpperCase()}function re(t){var n=t.startLine;var r;function i(t){r=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);e("#content").attr("style","opacity: .3");if(n<r){setTimeout((function(){t++;n=n+h;window.scrollTo({top:n,behavior:"smooth"});i(t)}),f)}else{setTimeout((function(){Z=true;e("#content").attr("style","opacity: 1")}),f)}}i({startLine:0})}function ie(){var e={};for(var t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(hasOwnProperty.call(n,r)){e[r]=n[r]}}}return e}function ae(e){var t=e+"=";var n=document.cookie.split(";");for(var r=0;r<n.length;r++){var i=n[r];while(i.charAt(0)===" "){i=i.substring(1,i.length)}if(i.indexOf(t)===0){var a=i.substring(t.length,i.length);return a}}return undefined}function oe(e,t){this.prepend=e;this.append=t}function se(e,t){this.name=e;this.language=t}function le(e){var t=0;var n=e.split(" ");for(var r=0;r<n.length;r++){if(n[r]!=""){t+=1}}return t}function ce(){var e="systemVoices START - ";var t=speechSynthesis.getVoices();for(var n=0;n<t.length;n++){O.push(new se(t[n].name,t[n].lang));if(t[n].lang.includes("en")||t[n].lang.includes("de-DE")||t[n].lang.includes("es-ES")||t[n].lang.includes("pl")||t[n].lang.includes("nl")){e+=t[n].lang.toString();e+=" : ";e+=t[n].name.toString();e+="\n"}}e+=" - systemVoices END."}ce();if(typeof speechSynthesis!=="undefined"&&speechSynthesis.onvoiceschanged!==undefined){speechSynthesis.onvoiceschanged=ce}if("speechSynthesis"in window){var ue=new SpeechSynthesisUtterance;window.speechSynthesis.cancel()}if(L===undefined){X=E}else{var de=L.split("/");if(de[2]=="en"){X="en-GB"}else if(de[2].includes("ar")){X="ar-EG"}else if(de[2].includes("cs")){X="cs-CZ"}else if(de[2].includes("da")){X="da-DK"}else if(de[2].includes("en")){X="en-UK"}else if(de[2].includes("et")){X="et-EE"}else if(de[2].includes("ka")){X="ka-GE"}else if(de[2].includes("el")){X="el-GR"}else if(de[2].includes("iw")){X="he-IL"}else if(de[2].includes("hi")){X="hi-IN"}else if(de[2].includes("ja")){X="ja-JP"}else if(de[2].includes("zh")){X="zh-CN"}else{X=de[2]+"-"+de[2].toUpperCase()}}if(y){var Y=ee[X]}if(v){var Y=te[X]}if(m){var Y=ne[X]}var pe={speak:function n(r){var a="";var s=new Array;var f=this;var h,m,v;var g;Z=false;T=ie(r,t,A||{});if(!T.isPaused){re({startLine:0})}else{Z=true}s["a"]=new oe("Link"+W,"");s["q"]=new oe(W,"");s["ol"]=new oe(W,"");s["ul"]=new oe(W,"");s["dl"]=new oe(W,"");s["dt"]=new oe(W,"");s["img"]=new oe("Image element"+W,"Element not spoken"+W);s["table"]=new oe("Table element"+W,"Element not spoken"+W);s["card-header"]=new oe(W,"");s[".doc-example"]=new oe("Example element"+W,"Element not spoken"+W);s[".admonitionblock"]=new oe("Attention element"+W,W);s[".listingblock"]=new oe("Text element"+W,"Element not spoken"+W);s[".gist"]=new oe("Gist element"+W,"Element not spoken"+W);s[".slider"]=new oe("Slider element"+W,"Element not spoken"+W);s[".modal"]=new oe("Info element"+W,"Element not spoken"+W);s[".masonry"]=new oe("Masonry element"+W,"Element not spoken"+W);s[".lightbox-block"]=new oe("Lightbox element"+W,"Element not spoken"+W);s[".gallery"]=new oe("Gallery element"+W,"Element not spoken"+W);s[".audioblock"]=new oe("Audio element"+W,"Element not spoken"+W);s[".videoblock"]=new oe("Video element"+W,"Element not spoken"+W);s[".videojs-player"]=new oe("Video element"+W,"Element not spoken"+W);s[".youtube-player"]=new oe("Video element"+W,"Element not spoken"+W);s[".dailymotion-player"]=new oe("Video element"+W,"Element not spoken"+W);s[".vimeo-player"]=new oe("Video element"+W,"Element not spoken"+W);s[".wistia-player"]=new oe("Video element"+W,"Element not spoken"+W);s["figure"]=new oe("Figure element"+W,"Element not spoken"+W);s["parallax-quoteblock"]=new oe("",W);s["blockquote"]=new oe("",W);s["quoteblock"]=new oe("",W);g=["audio","button","canvas","code","del","pre","dialog","embed","form","head","iframe","meter","nav","noscript","object","picture","script","select","style","textarea","video"];if(window.speechSynthesis.speaking){return}var y=setInterval((function(){if(Z){f.each((function(){h=e(this).clone();m=x(h);m=e(m).html();v=E(m);a=v}));if(V!==undefined){j=V}else{j=P}if(z!==undefined){R=z}else{R=F}if(K!==undefined){$=K}else{$=B}ue=new SpeechSynthesisUtterance;ue.rate=j;ue.pitch=R;ue.volume=$;ue.voice=speechSynthesis.getVoices().filter((function(e){return e.name==Y}))[0];ue.previousScrollPosition=0;C(ue,a);clearInterval(y)}}),c);function b(n){var r=[];n=n.replace(/^\s+>/gm,"");n=n.replaceAll(" ..",".");n=n.replace(/(\r\n|\n|\r)/gm,"");n=n.replace(/\s+/gm," ");r=n.split(".");r.forEach((function(e,t){r[t]=r[t].replace(/^\s+/g,"");r[t]=r[t].replaceAll('""',"")}));r.forEach((function(e,t){if(r[t].length>0){r[t]=r[t]+". "}else{r.splice(t,1)}}));r.forEach((function(e,t){if(r[t].length==0){r.splice(t,1)}}));var a=[];r.forEach((function(t,n){var i=r[n];var o=w(i,d,p);var s=e("#content").find("p:contains('"+o+"')");var l;if(s.length>0){l=Math.round(s[0].offsetTop)}else{l=undefined;s=undefined}a.push({text:i,offsetTop:l,$paragraph:s})}));_=o.selectHeadings(t.contentSelector,t.headingSelector);a.forEach((function(t,n){var r;var a;if(t.offset===undefined){r=t.text.replaceAll(". ","");if(_!==null){var o=i(_),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;a=l.innerText.replaceAll("?","");a=l.innerText.replaceAll("!","");a=l.innerText+W;if(a==r){var c=e("#"+l.id);if(c.length>0){var u=c.offset().top;t.offsetTop=Math.round(u)}else{}}}}catch(e){o.e(e)}finally{o.f()}}}}));return a}function w(e,t,n){var r=0;var i=r+t;var a=e.substr(r,i);var o=a.split(/(\s+)/);var s;o.pop();o.pop();a=o.join("");a=a.replaceAll(".","");s=le(a);if(s<n){console.debug("j1.core.speak2me: no search possible on this fraction of subText: "+a);console.debug("j1.core.speak2me: number of words found: "+s+" lower that words min: "+n);return undefined}else{return a}}function C(t,n){var r=window.speechSynthesis;e(".mdib-speaker").addClass("mdib-spin");t.addEventListener("start",(function(e){if(t.offsetTop!==undefined){if(t.offsetTop>=t.previousScrollPosition){window.scrollTo({top:t.offsetTop-k,behavior:l})}}if(t.$paragraph!==undefined){t.$paragraph.addClass("speak-highlighted")}}));t.addEventListener("end",(function(e){if(t.offsetTop!==undefined){if(t.offsetTop>=t.previousScrollPosition){t.previousScrollPosition=t.offsetTop}q=t.offsetTop-k}if(t.$paragraph!==undefined){t.$paragraph.removeClass("speak-highlighted")}G=false;H++}));var i=false;var a=setInterval((function(){if(H==J||U){H=0;U=false;G=false;t.$paragraph!==undefined&&t.$paragraph.removeClass("speak-highlighted");e(".mdib-speaker").removeClass("mdib-spin");clearInterval(a)}else{if(!i&&T.isPaused){H=T.lastChunk;i=true}t.text=n[H].text;t.offsetTop=n[H].offsetTop;t.$paragraph=n[H].$paragraph;if(!G){r.speak(t);G=true}}}),u)}function x(t){var n,r,i,a,o,l,c,u;if(M.length>0){for(var d in M){var p=g.indexOf(M[d]);if(p>-1){g.splice(p,1)}}}for(var d in g){e(t).find(g[d]).addBack(g[d]).not("[data-speak2me-recognize]").each((function(){e(this).html("")}))}if(I.length>0){for(var d in I){e(t).find(I[d]).addBack(I[d]).not("[data-speak2me-recognize]").each((function(){e(this).html("")}))}}e(t).find("[data-speak2me-ignore]").addBack("[data-speak2me-ignore]").each((function(){e(this).html("")}));e(t).find(".speak2me-ignore").addBack("[data-speak2me-ignore]").each((function(){e(this).html("")}));e(t).find("[data-speak2me-prepend]").addBack("[data-speak2me-prepend]").each((function(){n=e(this).data("speak2me-prepend");e(this).prepend(n+" ")}));e(t).find("[data-speak2me-append]").addBack("[data-speak2me-append]").each((function(){n=e(this).data("speak2me-append");e(this).append(" "+n)}));var f=0;for(var h in s){e(t).find(h).each((function(){if(D[h]){e(this).prepend(D[h].prepend+W);e(this).append(D[h].append+W)}else{e(this).prepend(s[h].prepend+W);e(this).append(s[h].append+W)}}))}e(t).find("h1,h2,h3,h4,h5,h6,p,li").addBack("h1,h2,h3,h4,h5,h6,p,li").each((function(){var t=e(this)[0].innerText;t.replace(/\s+/g,"s");t=t+W;e(this)[0].innerText=t}));e(t).find("br").each((function(){e(this).append(W)}));e(t).find("figure").addBack("figure").each((function(){n=e(this).find("figcaption").html();if(D["figure"]){u=D["figure"].prepend}else{u=s["figure"].prepend}if(n!=undefined&&n!==""){e("<div>"+u+W+n+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("img").addBack("img").each((function(){n=e(this).attr("alt");var t=e(this).parent();var r=t.get(0).tagName;if(D["img"]){u=D["img"].prepend}else{u=s["img"].prepend}if(n!==undefined&&n!=""){if(r=="PICTURE"){var i;e("<div>"+u+W+n+W+"</div>").insertBefore(t)}else{e("<div>"+u+W+n+W+"</div>").insertBefore(this)}}e(this).remove()}));e(t).find("a").addBack("a").each((function(){var t=e(this);n=t[0].innerText;u=s["a"].prepend;c=s["a"].append;e("<div>"+n+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this);e(this).remove()}));e(t).find(".admonitionblock").addBack(".admonitionblock").each((function(){a=this.classList[1];o=e(this).find(".content");l=o[0].innerText;u=s[".admonitionblock"].prepend+a+". ";c=s[".admonitionblock"].append;if(l!==undefined&&l!=""){e("<div>"+u+" "+l+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".parallax-quoteblock").addBack(".parallax-quoteblock").each((function(){o=e(this).find(".quote-text");l=o[0].innerText+""+W;u=s["quoteblock"].prepend;c=s["quoteblock"].append;if(l!==undefined&&l!=""){e("<div>"+u+W+l+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".quoteblock").addBack(".quoteblock").each((function(){var t=e(this).find(".attribution");o=e(this).find("blockquote");l=o[0].innerText+""+t[0].innerText;u=s["quoteblock"].prepend;c=s["quoteblock"].append;if(l!==undefined&&l!=""){e("<div>"+u+W+l+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("table").addBack("table").each((function(){n=e(this).find("caption").text();u=s["table"].prepend;c=s["table"].append;if(n!==undefined&&n!=""){e("<div>"+u+W+n+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".audioblock").addBack(".audioblock").each((function(){n=e(this).find(".title").text();u=s[".audioblock"].prepend;c=s[".audioblock"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".videoblock").addBack(".videoblock").each((function(){n=e(this).find(".title").text();u=s[".videoblock"].prepend;c=s[".videoblock"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".videojs-player").addBack(".videojs-player").each((function(){n=e(this).find(".video-title").text();u=s[".videojs-player"].prepend;c=s[".videojs-player"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".youtube-player").addBack(".youtube-player").each((function(){n=e(this).find(".video-title").text();u=s[".youtube-player"].prepend;c=s[".youtube-player"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".dailymotion-player").addBack(".dailymotion-player").each((function(){n=e(this).find(".video-title").text();u=s[".dailymotion-player"].prepend;c=s[".dailymotion-player"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".vimeo-player").addBack(".vimeo-player").each((function(){n=e(this).find(".video-title").text();u=s[".vimeo-player"].prepend;c=s[".vimeo-player"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".wistia-player").addBack(".wistia-player").each((function(){n=e(this).find(".video-title").text();u=s[".wistia-player"].prepend;c=s[".wistia-player"].append;if(n!==undefined&&n!=""){e("<div>"+u+"with the title, "+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".card-header").addBack("card-header").each((function(){i=e(this).find(".card-title");u=s["card-header"].prepend;c=s["card-header"].append;if(i.length){r=i[0].innerText+W}else{r=""}e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+r+"</div>").insertBefore(this);e(i).remove()}));e(t).find(".doc-example").addBack(".doc-example").each((function(){u=s[".doc-example"].prepend;c=s[".doc-example"].append;e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this);e(this).remove()}));e(t).find(".listingblock").addBack(".listingblock").each((function(){i=e(this).find(".title");if(i.length){n=i[0].innerText}else{n=""}u=s[".listingblock"].prepend;c=s[".listingblock"].append;if(n!==undefined&&n!=""){e("<div>"+u+" with the title,"+n+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".gist").addBack(".gist").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}u=s[".gist"].prepend;c=s[".gist"].append;if(r!==undefined&&r!=""){e("<div>"+u+" with the title, "+r+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".modal").addBack(".modal").each((function(){e(this).remove()}));e(t).find(".masonry").addBack(".masonry").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}u=s[".masonry"].prepend;c=s[".masonry"].append;if(r!==undefined&&r!=""){e("<div>"+u+" with the title,"+r+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".slider").addBack(".slider").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}u=s[".slider"].prepend;c=s[".slider"].append;if(r!==undefined&&r!=""){e("<div>"+u+" with the title, "+r+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".gallery").addBack(".gallery").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}u=s[".gallery"].prepend;c=s[".gallery"].append;if(r!==undefined&&r!=""){u!==""&&e("<div>"+u+" with the title "+r+W+"</div>").insertBefore(this);c!==""&&e("<div>"+c+"</div>").insertBefore(this)}else{u!==""&&e("<div>"+u+W+"</div>").insertBefore(this);c!==""&&e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find(".lightbox-block").addBack(".lightbox-block").each((function(){if(e(this).prev()[0]!==undefined){r=e(this).prev()[0].innerText;i=e(this).prev();e(i).remove()}else{r=""}u=s[".lightbox-block"].prepend;c=s[".lightbox-block"].append;if(r!==undefined&&r!=""){e("<div>"+u+" with the title,"+r+W+"</div>").insertBefore(this);e("<div>"+c+"</div>").insertBefore(this)}else{e("<div>"+u+W+"</div>").insertBefore(this);e("<div>"+c+W+"</div>").insertBefore(this)}e(this).remove()}));e(t).find("[data-speak2me-swap]").addBack("[data-speak2me-swap]").each((function(){n=e(this).data("speak2me-swap");e(this).text(n)}));e(t).find("[data-speak2me-spell]").addBack("[data-speak2me-spell]").each((function(){n=e(this).text();n=n.split("").join(" ");e(this).text(n)}));return t}function E(e){var t,n,r,i,a,e;while(e.indexOf("\x3c!-- <speak2me>")!=-1){t=e.indexOf("\x3c!-- <speak2me>");n=e.indexOf("</speak2me> --\x3e",t);if(n==-1){break}r=e.substring(t+17,n);i=e.substring(0,t);a=e.substring(n+17);e=i+" "+r+" "+a}e=e.replace(/<!--[\s\S]*?-->/g,"");e=e.replace(/(<([^>]+)>)/gi,"");var o=N.length;var s=0;var l,c;while(s<o){l=N[s];l=l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");c=N[s+1]+" ";var u=new RegExp(l,"gi");var e=e.replace(u,c);s=s+2}e=e.replaceAll('"',"");e=e.replaceAll("“","");e=e.replaceAll("”","");e=e.replaceAll(":",".");e=e.replaceAll("., ",". ");e=e.replaceAll(" , ",", ");e=e.replaceAll(". .","");e=e.replaceAll(", .","");e=e.replaceAll(" , ","");e=e.replace(/^$/g,"\n");e=e.replace(/^\s+$/g,"\n");e=e.replace(/\s+\.\s+/g,"\n");e=e.replace(/\s+\.\s+$/g,"\n");e=e.replace(/\.\./g,".");e=e.replaceAll("e.g.","for example");e=e.replaceAll("E.g.","For example, ");e=e.replaceAll("etc.","and so on, ");e=e.replaceAll("z. B.","zum Beispiel, ");e=e.replace(/[\!\?]/g,". ");e=e.replaceAll("—",W);e=e.replaceAll("–",W);e=e.replaceAll("--",W);var d=document.createElement("textarea");d.innerHTML=e;e=d.value;e=e.replace(/^\s*(\b\w+\b)\s*$/gm,"$1. ");e=e.replace(/^\s*(\b\w+\b\s*[0-9]{4})$/gm,"$1. ");e=e.replace(/\s+/g," ");var p=b(e);J=p.length;return p}return ue},pause:function e(){window.speechSynthesis.pause();return this},resume:function e(){window.speechSynthesis.resume();return this},stop:function e(){window.speechSynthesis.cancel();U=true},enabled:function e(){return"speechSynthesis"in window},isSpeaking:function e(){return window.speechSynthesis.speaking},isSpoken:function e(){if(window.speechSynthesis.speaking){return H}else{return false}},isScrolled:function e(){if(window.speechSynthesis.speaking){return q}else{return false}},isPaused:function e(){return window.speechSynthesis.paused},rate:function e(){var t=arguments[0];if(t>=.1&&t<=10){V=t}else if(t===undefined){V=void 0;j=P}return this},pitch:function e(){var t=arguments[0];if(t>=.1&&t<=2){z=t}else if(t===undefined){z=void 0;R=F}return this},volume:function e(){var t=arguments[0];if(t>=0&&t<=1){K=t}else if(t===undefined){K=void 0;$=B}return this},ignore:function e(){var t=arguments.length;I.length=0;while(t>0){t--;I.push(arguments[t])}return this},recognize:function e(){var t=arguments.length;M.length=0;while(t>0){t--;M.push(arguments[t])}return this},replace:function e(){var t=arguments.length;N.length=0;var n=0;while(n<t){N.push(arguments[n],arguments[n+1]);n=n+2;if(t-n==1){break}}return this},customize:function e(){var t=arguments.length;if(t==0){D=[]}if(t==2){if(["img","table","figure"].indexOf(arguments[0])==-1){console.warn("When customizing, tag indicated must be either 'img', 'table', or 'figure'.");return}D[arguments[0].toString()]=new oe(arguments[1].toString())}if(t==3){if(["q","ol","ul","blockquote"].indexOf(arguments[0])==-1){console.warn("When customizing, tag indicated must be either 'q', 'ol', 'ul' or 'blockquote'.");return}D[arguments[0].toString()]=new oe(arguments[1].toString(),arguments[2].toString())}return this},getVoices:function t(){if(arguments.length==0){return O}var n=e(arguments[0]);var r="Choose a voice";if(arguments[1]!==undefined){r=arguments[1]}n.append(e("<select id='voiceSelect' name='voiceSelect'><option value='none'>"+r+"</option></select>"));var i=0;for(var a=0;a<O.length;a++){if(y&&O[a].name.includes(C)){i++;continue}if(v&&!O[a].name.includes("Natural")){i++;continue}var o=document.createElement("option");o.textContent=O[a].name+" ("+O[a].language+")";o.setAttribute("value",O[a].name);if(Y!==undefined){if(O[a].name===Y){o.setAttribute("selected","selected")}}else{if(O[a].name.includes(b)){}}o.setAttribute("data-speak2me-language",O[a].language);n.find("select").append(o)}return a-i},setVoice:function e(){if(arguments.length<2){return this}var t,n;if(arguments[0]=="name"){t=arguments[1];for(var r=0;r<O.length;r++){if(O[r].name==t){t,s("voiceUserDefault")}}}if(arguments[0]=="language"){n=arguments[1].toUpperCase();if(n.length==2){for(var r=0;r<O.length;r++){if(O[r].language.substring(0,2).toUpperCase()==n){O[r].name,s("voiceUserDefault");break}}}else{for(var r=0;r<O.length;r++){if(O[r].language==n){O[r].name,s("voiceUserDefault");break}}}}return this}};e.fn.speak2me=function(t){if(pe[t]){return pe[t].apply(this,Array.prototype.slice.call(arguments,1))}else if(r(t)==="object"||!t){return pe.speak.apply(this,arguments)}else{e.error("Method "+t+" does not exist on $.speak2me")}}})($)},823:e=>{"use strict";e.exports=function(e){var t=[].forEach;var n=[].some;var r=document.body;var i=true;var a=" ";function o(e,t){var n=t.appendChild(l(e));if(e.children.length){var r=c(e.isCollapsed);e.children.forEach((function(e){o(e,r)}));n.appendChild(r)}}function s(e,t){var n=false;var r=c(n);t.forEach((function(e){o(e,r)}));var i=document.querySelector(e);if(i===null){return}if(i.firstChild){i.removeChild(i.firstChild)}if(t.length===0){return i}return i.appendChild(r)}function l(n){var r=document.createElement("li");var i=document.createElement("a");if(e.listItemClass){r.setAttribute("class",e.listItemClass)}if(e.onClick){i.onclick=e.onClick}if(e.includeHtml&&n.childNodes.length){t.call(n.childNodes,(function(e){i.appendChild(e.cloneNode(true))}))}else{i.textContent=n.textContent}i.setAttribute("href",e.basePath+"#"+n.id);i.setAttribute("class",e.linkClass+a+"node-name--"+n.nodeName+a+e.extraLinkClasses);r.appendChild(i);return r}function c(t){var n=e.orderedList?"ol":"ul";var r=document.createElement(n);var i=e.listClass+a+e.extraListClasses;if(t){i+=a+e.collapsibleClass;i+=a+e.isCollapsedClass}r.setAttribute("class",i);return r}function u(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var t;t=document.querySelector(e.scrollContainer).scrollTop}else{t=document.documentElement.scrollTop||r.scrollTop}var n=document.querySelector(e.positionFixedSelector);if(e.fixedSidebarOffset==="auto"){e.fixedSidebarOffset=document.querySelector(e.tocSelector).offsetTop}if(t>e.fixedSidebarOffset){if(n.className.indexOf(e.positionFixedClass)===-1){n.className+=a+e.positionFixedClass}}else{n.className=n.className.split(a+e.positionFixedClass).join("")}}function d(t){var n=0;if(t!==document.querySelector(e.contentSelector&&t!=null)){n=t.offsetTop;if(e.hasInnerContainers){n+=d(t.offsetParent)}}return n}function p(o){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var s;s=document.querySelector(e.scrollContainer).scrollTop}else{s=document.documentElement.scrollTop||r.scrollTop}if(e.positionFixedSelector){u()}var l=o;var c;var p;if(i&&document.querySelector(e.tocSelector)!==null&&l.length>0){n.call(l,(function(t,n){p=d(t);if(p>s+e.headingsOffset+10){c=l[n];return true}else if(n===l.length-1){c=l[l.length-1];return true}}));var h=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);t.call(h,(function(t){t.className=t.className.split(a+e.activeLinkClass).join("")}));var m=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);t.call(m,(function(t){t.className=t.className.split(a+e.activeListItemClass).join("")}));var v=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+c.nodeName+'[href="'+e.basePath+"#"+c.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');if(v.className.indexOf(e.activeLinkClass)===-1){v.className+=a+e.activeLinkClass}var g=v.parentNode;if(g&&g.className.indexOf(e.activeListItemClass)===-1){g.className+=a+e.activeListItemClass}var y=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(y,(function(t){if(t.className.indexOf(e.isCollapsedClass)===-1){t.className+=a+e.isCollapsedClass}}));if(v.nextSibling&&v.nextSibling.className.indexOf(e.isCollapsedClass)!==-1){v.nextSibling.className=v.nextSibling.className.split(a+e.isCollapsedClass).join("")}f(v.parentNode.parentNode)}}function f(t){if(t.className.indexOf(e.collapsibleClass)!==-1&&t.className.indexOf(e.isCollapsedClass)!==-1){t.className=t.className.split(a+e.isCollapsedClass).join("");return f(t.parentNode.parentNode)}return t}function h(t){var n=t.target||t.srcElement;if(typeof n.className!=="string"||n.className.indexOf(e.linkClass)===-1){return}i=false}function m(){i=true}return{enableTocAnimation:m,disableTocAnimation:h,render:s,updateToc:p}}},287:e=>{"use strict";e.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:false,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:true,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function e(t){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:false,onClick:function e(t){},orderedList:true,scrollContainer:null,skipRendering:false,headingLabelCallback:false,ignoreHiddenElements:false,headingObjectCallback:null,basePath:"",disableTocScrollSync:false}},798:e=>{"use strict";e.exports=function e(t){var n=[].reduce;function r(e){return e[e.length-1]}function i(e){return+e.nodeName.split("H").join("")}function a(e){if(!(e instanceof window.HTMLElement))return e;if(t.ignoreHiddenElements&&(!e.offsetHeight||!e.offsetParent)){return null}var n={id:e.id,children:[],nodeName:e.nodeName,headingLevel:i(e),textContent:t.headingLabelCallback?String(t.headingLabelCallback(e.textContent)):e.textContent.trim()};if(t.includeHtml){n.childNodes=e.childNodes}if(t.headingObjectCallback){return t.headingObjectCallback(n,e)}return n}function o(e,n){var i=a(e);var o=i.headingLevel;var s=n;var l=r(s);var c=l?l.headingLevel:0;var u=o-c;while(u>0){l=r(s);if(l&&l.children!==undefined){s=l.children}u--}if(o>=t.collapseDepth){i.isCollapsed=true}s.push(i);return s}function s(e,n){var r=n;if(t.ignoreSelector){r=n.split(",").map((function e(n){return n.trim()+":not("+t.ignoreSelector+")"}))}try{return document.querySelector(e).querySelectorAll(r)}catch(t){console.warn("Element not found: "+e);return null}}function l(e){return n.call(e,(function e(t,n){var r=a(n);if(r){o(r,t.nest)}return t}),{nest:[]})}return{nestHeadingsArray:l,selectHeadings:s}}},508:(e,t)=>{"use strict";t.initSmoothScrolling=n;function n(e){if(l()){}var t=e.duration;var n=e.offset;var i=location.hash?s(location.href):location.href;a();function a(){document.body.addEventListener("click",i,false);function i(i){if(!o(i.target)||i.target.className.indexOf("no-smooth-scroll")>-1||i.target.href.charAt(i.target.href.length-2)==="#"&&i.target.href.charAt(i.target.href.length-1)==="!"||i.target.className.indexOf(e.linkClass)===-1){return}r(i.target.hash,{duration:t,offset:n,callback:false})}}function o(e){return e.tagName.toLowerCase()==="a"&&(e.hash.length>0||e.href.charAt(e.href.length-1)==="#")&&(s(e.href)===i||s(e.href)+"#"===i)}function s(e){return e.slice(0,e.lastIndexOf("#"))}function l(){return"scrollBehavior"in document.documentElement.style}function c(e){var t=document.getElementById(e.substring(1));if(t){if(!/^(?:a|select|input|button|textarea)$/i.test(t.tagName)){t.tabIndex=-1}t.focus()}}}function r(e,t){var n=window.pageYOffset;var r={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||d};var i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]');var a=typeof e==="string"?r.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e;var o=typeof r.duration==="function"?r.duration(a):r.duration;var s;var l;requestAnimationFrame((function(e){s=e;c(e)}));function c(e){l=e-s;window.scrollTo(0,r.easing(l,n,a,o));if(l<o){requestAnimationFrame(c)}else{u()}}function u(){if(typeof r.callback==="function"){r.callback()}}function d(e,t,n,r){e/=r/2;if(e<1)return n/2*e*e+t;e--;return-n/2*(e*(e-2)-1)+t}}},562:function(e,t,n){"use strict";var r,i,a;function o(e){"@babel/helpers - typeof";return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}(function(n,o){if(true){!(i=[],r=o(n),a=typeof r==="function"?r.apply(t,i):r,a!==undefined&&(e.exports=a))}else{}})(typeof n.g!=="undefined"?n.g:this.window||this.global,(function(e){var t=n(287);var r={};var i={};var a=n(823);var o=n(798);var s=n(429);var l;var c;var u=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window==="undefined"&&!u){return}var d;var p=Object.prototype.hasOwnProperty;function f(){var e={};for(var t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n){if(p.call(n,r)){e[r]=n[r]}}}return e}function h(e,t,n){t||(t=250);var r;var i;return function(){var a=n||this;var o=+new Date;var s=arguments;if(r&&o<r+t){clearTimeout(i);i=setTimeout((function(){r=o;e.apply(a,s)}),t)}else{r=o;e.apply(a,s)}}}i.destroy=function(){if(!r.skipRendering){try{document.querySelector(r.tocSelector).innerHTML=""}catch(e){console.warn("Element not found: "+r.tocSelector)}}if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).removeEventListener("scroll",this._scrollListener,false);document.querySelector(r.scrollContainer).removeEventListener("resize",this._scrollListener,false);if(l){document.querySelector(r.scrollContainer).removeEventListener("click",this._clickListener,false)}}else{document.removeEventListener("scroll",this._scrollListener,false);document.removeEventListener("resize",this._scrollListener,false);if(l){document.removeEventListener("click",this._clickListener,false)}}};i.init=function(e){if(!u){return}r=f(t,e||{});this.options=r;this.state={};if(r.scrollSmooth){r.duration=r.scrollSmoothDuration;r.offset=r.scrollSmoothOffset;i.scrollSmooth=n(508).initSmoothScrolling(r)}l=a(r);c=o(r);this._buildHtml=l;this._parseContent=c;i.destroy();d=c.selectHeadings(r.contentSelector,r.headingSelector);if(d===null){return}var p=c.nestHeadingsArray(d);var m=p.nest;if(!r.skipRendering){l.render(r.tocSelector,m)}this._scrollListener=h((function(e){l.updateToc(d);!r.disableTocScrollSync&&s(r);var t=e&&e.target&&e.target.scrollingElement&&e.target.scrollingElement.scrollTop===0;if(e&&(e.eventPhase===0||e.currentTarget===null)||t){l.updateToc(d);if(r.scrollEndCallback){r.scrollEndCallback(e)}}}),r.throttleTimeout);this._scrollListener();if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).addEventListener("scroll",this._scrollListener,false);document.querySelector(r.scrollContainer).addEventListener("resize",this._scrollListener,false)}else{document.addEventListener("scroll",this._scrollListener,false);document.addEventListener("resize",this._scrollListener,false)}var v=null;this._clickListener=h((function(e){if(r.scrollSmooth){l.disableTocAnimation(e)}l.updateToc(d);v&&clearTimeout(v);v=setTimeout((function(){l.enableTocAnimation()}),r.scrollSmoothDuration)}),r.throttleTimeout);if(r.scrollContainer&&document.querySelector(r.scrollContainer)){document.querySelector(r.scrollContainer).addEventListener("click",this._clickListener,false)}else{document.addEventListener("click",this._clickListener,false)}return this};i.refresh=function(e){i.destroy();i.init(e||this.options)};e.tocbot=i;return i}))},429:e=>{"use strict";e.exports=function e(t){var n=document.querySelector(t.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var r=n.querySelector("."+t.activeListItemClass);if(r){n.scrollTop=r.offsetTop}}}},215:(e,t,n)=>{var r,i;
17
17
  /*!
18
18
  * JavaScript Cookie v2.2.1
19
19
  * https://github.com/js-cookie/js-cookie
20
20
  *
21
21
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
22
22
  * Released under the MIT license
23
- */(function(a){var o;if(true){!(r=a,i=typeof r==="function"?r.call(t,n,t,e):r,i!==undefined&&(e.exports=i));o=true}if(true){e.exports=a();o=true}if(!o){var s=window.Cookies;var l=window.Cookies=a();l.noConflict=function(){window.Cookies=s;return l}}})((function(){function e(){var e=0;var t={};for(;e<arguments.length;e++){var n=arguments[e];for(var r in n){t[r]=n[r]}}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function i(){}function a(t,n,a){if(typeof document==="undefined"){return}a=e({path:"/"},i.defaults,a);if(typeof a.expires==="number"){a.expires=new Date(new Date*1+a.expires*864e5)}a.expires=a.expires?a.expires.toUTCString():"";try{var o=JSON.stringify(n);if(/^[\{\[]/.test(o)){n=o}}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in a){if(!a[l]){continue}s+="; "+l;if(a[l]===true){continue}s+="="+a[l].split(";")[0]}return document.cookie=t+"="+n+s}function o(e,n){if(typeof document==="undefined"){return}var i={};var a=document.cookie?document.cookie.split("; "):[];var o=0;for(;o<a.length;o++){var s=a[o].split("=");var l=s.slice(1).join("=");if(!n&&l.charAt(0)==='"'){l=l.slice(1,-1)}try{var c=t(s[0]);l=(r.read||r)(l,c)||t(l);if(n){try{l=JSON.parse(l)}catch(e){}}i[c]=l;if(e===c){break}}catch(e){}}return e?i[e]:i}i.set=a;i.get=function(e){return o(e,false)};i.getJSON=function(e){return o(e,true)};i.remove=function(t,n){a(t,"",e(n,{expires:-1}))};i.defaults={};i.withConverter=n;return i}return n((function(){}))}))},7210:(e,t,n)=>{"use strict";var r=n(9243);var i=n(4781);function a(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. "+"Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=n(5388);e.exports.Schema=n(2119);e.exports.FAILSAFE_SCHEMA=n(7759);e.exports.JSON_SCHEMA=n(6184);e.exports.CORE_SCHEMA=n(1769);e.exports.DEFAULT_SCHEMA=n(5489);e.exports.load=r.load;e.exports.loadAll=r.loadAll;e.exports.dump=i.dump;e.exports.YAMLException=n(1231);e.exports.types={binary:n(9342),float:n(1461),map:n(2369),null:n(9198),pairs:n(6942),set:n(6663),timestamp:n(127),bool:n(6199),int:n(4466),merge:n(1851),omap:n(6946),seq:n(8636),str:n(7212)};e.exports.safeLoad=a("safeLoad","load");e.exports.safeLoadAll=a("safeLoadAll","loadAll");e.exports.safeDump=a("safeDump","dump")},8433:e=>{"use strict";function t(e){return typeof e==="undefined"||e===null}function n(e){return typeof e==="object"&&e!==null}function r(e){if(Array.isArray(e))return e;else if(t(e))return[];return[e]}function i(e,t){var n,r,i,a;if(t){a=Object.keys(t);for(n=0,r=a.length;n<r;n+=1){i=a[n];e[i]=t[i]}}return e}function a(e,t){var n="",r;for(r=0;r<t;r+=1){n+=e}return n}function o(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}e.exports.isNothing=t;e.exports.isObject=n;e.exports.toArray=r;e.exports.repeat=a;e.exports.isNegativeZero=o;e.exports.extend=i},4781:(e,t,n)=>{"use strict";var r=n(8433);var i=n(1231);var a=n(5489);var o=Object.prototype.toString;var s=Object.prototype.hasOwnProperty;var l=65279;var c=9;var u=10;var d=13;var p=32;var f=33;var h=34;var m=35;var g=37;var v=38;var y=39;var b=42;var w=44;var C=45;var x=58;var E=61;var S=62;var L=63;var k=64;var T=91;var A=93;var I=96;var M=123;var N=124;var D=125;var _={};_[0]="\\0";_[7]="\\a";_[8]="\\b";_[9]="\\t";_[10]="\\n";_[11]="\\v";_[12]="\\f";_[13]="\\r";_[27]="\\e";_[34]='\\"';_[92]="\\\\";_[133]="\\N";_[160]="\\_";_[8232]="\\L";_[8233]="\\P";var O=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var P=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function F(e,t){var n,r,i,a,o,l,c;if(t===null)return{};n={};r=Object.keys(t);for(i=0,a=r.length;i<a;i+=1){o=r[i];l=String(t[o]);if(o.slice(0,2)==="!!"){o="tag:yaml.org,2002:"+o.slice(2)}c=e.compiledTypeMap["fallback"][o];if(c&&s.call(c.styleAliases,l)){l=c.styleAliases[l]}n[o]=l}return n}function B(e){var t,n,a;t=e.toString(16).toUpperCase();if(e<=255){n="x";a=2}else if(e<=65535){n="u";a=4}else if(e<=4294967295){n="U";a=8}else{throw new i("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+n+r.repeat("0",a-t.length)+t}var R=1,j=2;function $(e){this.schema=e["schema"]||a;this.indent=Math.max(1,e["indent"]||2);this.noArrayIndent=e["noArrayIndent"]||false;this.skipInvalid=e["skipInvalid"]||false;this.flowLevel=r.isNothing(e["flowLevel"])?-1:e["flowLevel"];this.styleMap=F(this.schema,e["styles"]||null);this.sortKeys=e["sortKeys"]||false;this.lineWidth=e["lineWidth"]||80;this.noRefs=e["noRefs"]||false;this.noCompatMode=e["noCompatMode"]||false;this.condenseFlow=e["condenseFlow"]||false;this.quotingType=e["quotingType"]==='"'?j:R;this.forceQuotes=e["forceQuotes"]||false;this.replacer=typeof e["replacer"]==="function"?e["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function W(e,t){var n=r.repeat(" ",t),i=0,a=-1,o="",s,l=e.length;while(i<l){a=e.indexOf("\n",i);if(a===-1){s=e.slice(i);i=l}else{s=e.slice(i,a+1);i=a+1}if(s.length&&s!=="\n")o+=n;o+=s}return o}function H(e,t){return"\n"+r.repeat(" ",e.indent*t)}function U(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1){i=e.implicitTypes[n];if(i.resolve(t)){return true}}return false}function G(e){return e===p||e===c}function q(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==l||65536<=e&&e<=1114111}function V(e){return q(e)&&e!==l&&e!==d&&e!==u}function z(e,t,n){var r=V(e);var i=r&&!G(e);return(n?r:r&&e!==w&&e!==T&&e!==A&&e!==M&&e!==D)&&e!==m&&!(t===x&&!i)||V(t)&&!G(t)&&e===m||t===x&&i}function K(e){return q(e)&&e!==l&&!G(e)&&e!==C&&e!==L&&e!==x&&e!==w&&e!==T&&e!==A&&e!==M&&e!==D&&e!==m&&e!==v&&e!==b&&e!==f&&e!==N&&e!==E&&e!==S&&e!==y&&e!==h&&e!==g&&e!==k&&e!==I}function X(e){return!G(e)&&e!==x}function Y(e,t){var n=e.charCodeAt(t),r;if(n>=55296&&n<=56319&&t+1<e.length){r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){return(n-55296)*1024+r-56320+65536}}return n}function J(e){var t=/^\n* /;return t.test(e)}var Q=1,Z=2,ee=3,te=4,ne=5;function re(e,t,n,r,i,a,o,s){var l;var c=0;var d=null;var p=false;var f=false;var h=r!==-1;var m=-1;var g=K(Y(e,0))&&X(Y(e,e.length-1));if(t||o){for(l=0;l<e.length;c>=65536?l+=2:l++){c=Y(e,l);if(!q(c)){return ne}g=g&&z(c,d,s);d=c}}else{for(l=0;l<e.length;c>=65536?l+=2:l++){c=Y(e,l);if(c===u){p=true;if(h){f=f||l-m-1>r&&e[m+1]!==" ";m=l}}else if(!q(c)){return ne}g=g&&z(c,d,s);d=c}f=f||h&&(l-m-1>r&&e[m+1]!==" ")}if(!p&&!f){if(g&&!o&&!i(e)){return Q}return a===j?ne:Z}if(n>9&&J(e)){return ne}if(!o){return f?te:ee}return a===j?ne:Z}function ie(e,t,n,r,a){e.dump=function(){if(t.length===0){return e.quotingType===j?'""':"''"}if(!e.noCompatMode){if(O.indexOf(t)!==-1||P.test(t)){return e.quotingType===j?'"'+t+'"':"'"+t+"'"}}var o=e.indent*Math.max(1,n);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o);var l=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return U(e,t)}switch(re(t,l,e.indent,s,c,e.quotingType,e.forceQuotes&&!r,a)){case Q:return t;case Z:return"'"+t.replace(/'/g,"''")+"'";case ee:return"|"+ae(t,e.indent)+oe(W(t,o));case te:return">"+ae(t,e.indent)+oe(W(se(t,s),o));case ne:return'"'+ce(t,s)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function ae(e,t){var n=J(e)?String(t):"";var r=e[e.length-1]==="\n";var i=r&&(e[e.length-2]==="\n"||e==="\n");var a=i?"+":r?"":"-";return n+a+"\n"}function oe(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function se(e,t){var n=/(\n+)([^\n]*)/g;var r=function(){var r=e.indexOf("\n");r=r!==-1?r:e.length;n.lastIndex=r;return le(e.slice(0,r),t)}();var i=e[0]==="\n"||e[0]===" ";var a;var o;while(o=n.exec(e)){var s=o[1],l=o[2];a=l[0]===" ";r+=s+(!i&&!a&&l!==""?"\n":"")+le(l,t);i=a}return r}function le(e,t){if(e===""||e[0]===" ")return e;var n=/ [^ ]/g;var r;var i=0,a,o=0,s=0;var l="";while(r=n.exec(e)){s=r.index;if(s-i>t){a=o>i?o:s;l+="\n"+e.slice(i,a);i=a+1}o=s}l+="\n";if(e.length-i>t&&o>i){l+=e.slice(i,o)+"\n"+e.slice(o+1)}else{l+=e.slice(i)}return l.slice(1)}function ce(e){var t="";var n=0;var r;for(var i=0;i<e.length;n>=65536?i+=2:i++){n=Y(e,i);r=_[n];if(!r&&q(n)){t+=e[i];if(n>=65536)t+=e[i+1]}else{t+=r||B(n)}}return t}function ue(e,t,n){var r="",i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1){s=n[a];if(e.replacer){s=e.replacer.call(n,String(a),s)}if(me(e,t,s,false,false)||typeof s==="undefined"&&me(e,t,null,false,false)){if(r!=="")r+=","+(!e.condenseFlow?" ":"");r+=e.dump}}e.tag=i;e.dump="["+r+"]"}function de(e,t,n,r){var i="",a=e.tag,o,s,l;for(o=0,s=n.length;o<s;o+=1){l=n[o];if(e.replacer){l=e.replacer.call(n,String(o),l)}if(me(e,t+1,l,true,true,false,true)||typeof l==="undefined"&&me(e,t+1,null,true,true,false,true)){if(!r||i!==""){i+=H(e,t)}if(e.dump&&u===e.dump.charCodeAt(0)){i+="-"}else{i+="- "}i+=e.dump}}e.tag=a;e.dump=i||"[]"}function pe(e,t,n){var r="",i=e.tag,a=Object.keys(n),o,s,l,c,u;for(o=0,s=a.length;o<s;o+=1){u="";if(r!=="")u+=", ";if(e.condenseFlow)u+='"';l=a[o];c=n[l];if(e.replacer){c=e.replacer.call(n,l,c)}if(!me(e,t,l,false,false)){continue}if(e.dump.length>1024)u+="? ";u+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!me(e,t,c,false,false)){continue}u+=e.dump;r+=u}e.tag=i;e.dump="{"+r+"}"}function fe(e,t,n,r){var a="",o=e.tag,s=Object.keys(n),l,c,d,p,f,h;if(e.sortKeys===true){s.sort()}else if(typeof e.sortKeys==="function"){s.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(l=0,c=s.length;l<c;l+=1){h="";if(!r||a!==""){h+=H(e,t)}d=s[l];p=n[d];if(e.replacer){p=e.replacer.call(n,d,p)}if(!me(e,t+1,d,true,true,true)){continue}f=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024;if(f){if(e.dump&&u===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=H(e,t)}if(!me(e,t+1,p,true,f)){continue}if(e.dump&&u===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;a+=h}e.tag=o;e.dump=a||"{}"}function he(e,t,n){var r,a,l,c,u,d;a=n?e.explicitTypes:e.implicitTypes;for(l=0,c=a.length;l<c;l+=1){u=a[l];if((u.instanceOf||u.predicate)&&(!u.instanceOf||typeof t==="object"&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(n){if(u.multi&&u.representName){e.tag=u.representName(t)}else{e.tag=u.tag}}else{e.tag="?"}if(u.represent){d=e.styleMap[u.tag]||u.defaultStyle;if(o.call(u.represent)==="[object Function]"){r=u.represent(t,d)}else if(s.call(u.represent,d)){r=u.represent[d](t,d)}else{throw new i("!<"+u.tag+'> tag resolver accepts not "'+d+'" style')}e.dump=r}return true}}return false}function me(e,t,n,r,a,s,l){e.tag=null;e.dump=n;if(!he(e,n,false)){he(e,n,true)}var c=o.call(e.dump);var u=r;var d;if(r){r=e.flowLevel<0||e.flowLevel>t}var p=c==="[object Object]"||c==="[object Array]",f,h;if(p){f=e.duplicates.indexOf(n);h=f!==-1}if(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0){a=false}if(h&&e.usedDuplicates[f]){e.dump="*ref_"+f}else{if(p&&h&&!e.usedDuplicates[f]){e.usedDuplicates[f]=true}if(c==="[object Object]"){if(r&&Object.keys(e.dump).length!==0){fe(e,t,e.dump,a);if(h){e.dump="&ref_"+f+e.dump}}else{pe(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object Array]"){if(r&&e.dump.length!==0){if(e.noArrayIndent&&!l&&t>0){de(e,t-1,e.dump,a)}else{de(e,t,e.dump,a)}if(h){e.dump="&ref_"+f+e.dump}}else{ue(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object String]"){if(e.tag!=="?"){ie(e,e.dump,t,s,u)}}else if(c==="[object Undefined]"){return false}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+c)}if(e.tag!==null&&e.tag!=="?"){d=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21");if(e.tag[0]==="!"){d="!"+d}else if(d.slice(0,18)==="tag:yaml.org,2002:"){d="!!"+d.slice(18)}else{d="!<"+d+">"}e.dump=d+" "+e.dump}}return true}function ge(e,t){var n=[],r=[],i,a;ve(e,n,r);for(i=0,a=r.length;i<a;i+=1){t.duplicates.push(n[r[i]])}t.usedDuplicates=new Array(a)}function ve(e,t,n){var r,i,a;if(e!==null&&typeof e==="object"){i=t.indexOf(e);if(i!==-1){if(n.indexOf(i)===-1){n.push(i)}}else{t.push(e);if(Array.isArray(e)){for(i=0,a=e.length;i<a;i+=1){ve(e[i],t,n)}}else{r=Object.keys(e);for(i=0,a=r.length;i<a;i+=1){ve(e[r[i]],t,n)}}}}}function ye(e,t){t=t||{};var n=new $(t);if(!n.noRefs)ge(e,n);var r=e;if(n.replacer){r=n.replacer.call({"":r},"",r)}if(me(n,0,r,true,true))return n.dump+"\n";return""}e.exports.dump=ye},1231:e=>{"use strict";function t(e,t){var n="",r=e.reason||"(unknown reason)";if(!e.mark)return r;if(e.mark.name){n+='in "'+e.mark.name+'" '}n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")";if(!t&&e.mark.snippet){n+="\n\n"+e.mark.snippet}return r+" "+n}function n(e,n){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=n;this.message=t(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}n.prototype=Object.create(Error.prototype);n.prototype.constructor=n;n.prototype.toString=function e(n){return this.name+": "+t(this,n)};e.exports=n},9243:(e,t,n)=>{"use strict";var r=n(8433);var i=n(1231);var a=n(8083);var o=n(5489);var s=Object.prototype.hasOwnProperty;var l=1;var c=2;var u=3;var d=4;var p=1;var f=2;var h=3;var m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var g=/[\x85\u2028\u2029]/;var v=/[,\[\]\{\}]/;var y=/^(?:!|!!|![a-z\-]+!)$/i;var b=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function w(e){return Object.prototype.toString.call(e)}function C(e){return e===10||e===13}function x(e){return e===9||e===32}function E(e){return e===9||e===32||e===10||e===13}function S(e){return e===44||e===91||e===93||e===123||e===125}function L(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function k(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function T(e){if(48<=e&&e<=57){return e-48}return-1}function A(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function I(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var M=new Array(256);var N=new Array(256);for(var D=0;D<256;D++){M[D]=A(D)?1:0;N[D]=A(D)}function _(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function O(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};n.snippet=a(n);return new i(t,n)}function P(e,t){throw O(e,t)}function F(e,t){if(e.onWarning){e.onWarning.call(null,O(e,t))}}var B={YAML:function e(t,n,r){var i,a,o;if(t.version!==null){P(t,"duplication of %YAML directive")}if(r.length!==1){P(t,"YAML directive accepts exactly one argument")}i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(i===null){P(t,"ill-formed argument of the YAML directive")}a=parseInt(i[1],10);o=parseInt(i[2],10);if(a!==1){P(t,"unacceptable YAML version of the document")}t.version=r[0];t.checkLineBreaks=o<2;if(o!==1&&o!==2){F(t,"unsupported YAML version of the document")}},TAG:function e(t,n,r){var i,a;if(r.length!==2){P(t,"TAG directive accepts exactly two arguments")}i=r[0];a=r[1];if(!y.test(i)){P(t,"ill-formed tag handle (first argument) of the TAG directive")}if(s.call(t.tagMap,i)){P(t,'there is a previously declared suffix for "'+i+'" tag handle')}if(!b.test(a)){P(t,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(e){P(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function R(e,t,n,r){var i,a,o,s;if(t<n){s=e.input.slice(t,n);if(r){for(i=0,a=s.length;i<a;i+=1){o=s.charCodeAt(i);if(!(o===9||32<=o&&o<=1114111)){P(e,"expected valid JSON character")}}}else if(m.test(s)){P(e,"the stream contains non-printable characters")}e.result+=s}}function j(e,t,n,i){var a,o,l,c;if(!r.isObject(n)){P(e,"cannot merge mappings; the provided source object is unacceptable")}a=Object.keys(n);for(l=0,c=a.length;l<c;l+=1){o=a[l];if(!s.call(t,o)){t[o]=n[o];i[o]=true}}}function $(e,t,n,r,i,a,o,l,c){var u,d;if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(u=0,d=i.length;u<d;u+=1){if(Array.isArray(i[u])){P(e,"nested arrays are not supported inside keys")}if(typeof i==="object"&&w(i[u])==="[object Object]"){i[u]="[object Object]"}}}if(typeof i==="object"&&w(i)==="[object Object]"){i="[object Object]"}i=String(i);if(t===null){t={}}if(r==="tag:yaml.org,2002:merge"){if(Array.isArray(a)){for(u=0,d=a.length;u<d;u+=1){j(e,t,a[u],n)}}else{j(e,t,a,n)}}else{if(!e.json&&!s.call(n,i)&&s.call(t,i)){e.line=o||e.line;e.lineStart=l||e.lineStart;e.position=c||e.position;P(e,"duplicated mapping key")}if(i==="__proto__"){Object.defineProperty(t,i,{configurable:true,enumerable:true,writable:true,value:a})}else{t[i]=a}delete n[i]}return t}function W(e){var t;t=e.input.charCodeAt(e.position);if(t===10){e.position++}else if(t===13){e.position++;if(e.input.charCodeAt(e.position)===10){e.position++}}else{P(e,"a line break is expected")}e.line+=1;e.lineStart=e.position;e.firstTabInLine=-1}function H(e,t,n){var r=0,i=e.input.charCodeAt(e.position);while(i!==0){while(x(i)){if(i===9&&e.firstTabInLine===-1){e.firstTabInLine=e.position}i=e.input.charCodeAt(++e.position)}if(t&&i===35){do{i=e.input.charCodeAt(++e.position)}while(i!==10&&i!==13&&i!==0)}if(C(i)){W(e);i=e.input.charCodeAt(e.position);r++;e.lineIndent=0;while(i===32){e.lineIndent++;i=e.input.charCodeAt(++e.position)}}else{break}}if(n!==-1&&r!==0&&e.lineIndent<n){F(e,"deficient indentation")}return r}function U(e){var t=e.position,n;n=e.input.charCodeAt(t);if((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)){t+=3;n=e.input.charCodeAt(t);if(n===0||E(n)){return true}}return false}function G(e,t){if(t===1){e.result+=" "}else if(t>1){e.result+=r.repeat("\n",t-1)}}function q(e,t,n){var r,i,a,o,s,l,c,u,d=e.kind,p=e.result,f;f=e.input.charCodeAt(e.position);if(E(f)||S(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&S(i)){return false}}e.kind="scalar";e.result="";a=o=e.position;s=false;while(f!==0){if(f===58){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&S(i)){break}}else if(f===35){r=e.input.charCodeAt(e.position-1);if(E(r)){break}}else if(e.position===e.lineStart&&U(e)||n&&S(f)){break}else if(C(f)){l=e.line;c=e.lineStart;u=e.lineIndent;H(e,false,-1);if(e.lineIndent>=t){s=true;f=e.input.charCodeAt(e.position);continue}else{e.position=o;e.line=l;e.lineStart=c;e.lineIndent=u;break}}if(s){R(e,a,o,false);G(e,e.line-l);a=o=e.position;s=false}if(!x(f)){o=e.position+1}f=e.input.charCodeAt(++e.position)}R(e,a,o,false);if(e.result){return true}e.kind=d;e.result=p;return false}function V(e,t){var n,r,i;n=e.input.charCodeAt(e.position);if(n!==39){return false}e.kind="scalar";e.result="";e.position++;r=i=e.position;while((n=e.input.charCodeAt(e.position))!==0){if(n===39){R(e,r,e.position,true);n=e.input.charCodeAt(++e.position);if(n===39){r=e.position;e.position++;i=e.position}else{return true}}else if(C(n)){R(e,r,i,true);G(e,H(e,false,t));r=i=e.position}else if(e.position===e.lineStart&&U(e)){P(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}P(e,"unexpected end of the stream within a single quoted scalar")}function z(e,t){var n,r,i,a,o,s;s=e.input.charCodeAt(e.position);if(s!==34){return false}e.kind="scalar";e.result="";e.position++;n=r=e.position;while((s=e.input.charCodeAt(e.position))!==0){if(s===34){R(e,n,e.position,true);e.position++;return true}else if(s===92){R(e,n,e.position,true);s=e.input.charCodeAt(++e.position);if(C(s)){H(e,false,t)}else if(s<256&&M[s]){e.result+=N[s];e.position++}else if((o=k(s))>0){i=o;a=0;for(;i>0;i--){s=e.input.charCodeAt(++e.position);if((o=L(s))>=0){a=(a<<4)+o}else{P(e,"expected hexadecimal character")}}e.result+=I(a);e.position++}else{P(e,"unknown escape sequence")}n=r=e.position}else if(C(s)){R(e,n,r,true);G(e,H(e,false,t));n=r=e.position}else if(e.position===e.lineStart&&U(e)){P(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;r=e.position}}P(e,"unexpected end of the stream within a double quoted scalar")}function K(e,t){var n=true,r,i,a,o=e.tag,s,c=e.anchor,u,d,p,f,h,m=Object.create(null),g,v,y,b;b=e.input.charCodeAt(e.position);if(b===91){d=93;h=false;s=[]}else if(b===123){d=125;h=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}b=e.input.charCodeAt(++e.position);while(b!==0){H(e,true,t);b=e.input.charCodeAt(e.position);if(b===d){e.position++;e.tag=o;e.anchor=c;e.kind=h?"mapping":"sequence";e.result=s;return true}else if(!n){P(e,"missed comma between flow collection entries")}else if(b===44){P(e,"expected the node content, but found ','")}v=g=y=null;p=f=false;if(b===63){u=e.input.charCodeAt(e.position+1);if(E(u)){p=f=true;e.position++;H(e,true,t)}}r=e.line;i=e.lineStart;a=e.position;te(e,t,l,false,true);v=e.tag;g=e.result;H(e,true,t);b=e.input.charCodeAt(e.position);if((f||e.line===r)&&b===58){p=true;b=e.input.charCodeAt(++e.position);H(e,true,t);te(e,t,l,false,true);y=e.result}if(h){$(e,s,m,v,g,y,r,i,a)}else if(p){s.push($(e,null,m,v,g,y,r,i,a))}else{s.push(g)}H(e,true,t);b=e.input.charCodeAt(e.position);if(b===44){n=true;b=e.input.charCodeAt(++e.position)}else{n=false}}P(e,"unexpected end of the stream within a flow collection")}function X(e,t){var n,i,a=p,o=false,s=false,l=t,c=0,u=false,d,m;m=e.input.charCodeAt(e.position);if(m===124){i=false}else if(m===62){i=true}else{return false}e.kind="scalar";e.result="";while(m!==0){m=e.input.charCodeAt(++e.position);if(m===43||m===45){if(p===a){a=m===43?h:f}else{P(e,"repeat of a chomping mode identifier")}}else if((d=T(m))>=0){if(d===0){P(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!s){l=t+d-1;s=true}else{P(e,"repeat of an indentation width identifier")}}else{break}}if(x(m)){do{m=e.input.charCodeAt(++e.position)}while(x(m));if(m===35){do{m=e.input.charCodeAt(++e.position)}while(!C(m)&&m!==0)}}while(m!==0){W(e);e.lineIndent=0;m=e.input.charCodeAt(e.position);while((!s||e.lineIndent<l)&&m===32){e.lineIndent++;m=e.input.charCodeAt(++e.position)}if(!s&&e.lineIndent>l){l=e.lineIndent}if(C(m)){c++;continue}if(e.lineIndent<l){if(a===h){e.result+=r.repeat("\n",o?1+c:c)}else if(a===p){if(o){e.result+="\n"}}break}if(i){if(x(m)){u=true;e.result+=r.repeat("\n",o?1+c:c)}else if(u){u=false;e.result+=r.repeat("\n",c+1)}else if(c===0){if(o){e.result+=" "}}else{e.result+=r.repeat("\n",c)}}else{e.result+=r.repeat("\n",o?1+c:c)}o=true;s=true;c=0;n=e.position;while(!C(m)&&m!==0){m=e.input.charCodeAt(++e.position)}R(e,n,e.position,false)}return true}function Y(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=false,l;if(e.firstTabInLine!==-1)return false;if(e.anchor!==null){e.anchorMap[e.anchor]=a}l=e.input.charCodeAt(e.position);while(l!==0){if(e.firstTabInLine!==-1){e.position=e.firstTabInLine;P(e,"tab characters must not be used in indentation")}if(l!==45){break}o=e.input.charCodeAt(e.position+1);if(!E(o)){break}s=true;e.position++;if(H(e,true,-1)){if(e.lineIndent<=t){a.push(null);l=e.input.charCodeAt(e.position);continue}}n=e.line;te(e,t,u,false,true);a.push(e.result);H(e,true,-1);l=e.input.charCodeAt(e.position);if((e.line===n||e.lineIndent>t)&&l!==0){P(e,"bad indentation of a sequence entry")}else if(e.lineIndent<t){break}}if(s){e.tag=r;e.anchor=i;e.kind="sequence";e.result=a;return true}return false}function J(e,t,n){var r,i,a,o,s,l,u=e.tag,p=e.anchor,f={},h=Object.create(null),m=null,g=null,v=null,y=false,b=false,w;if(e.firstTabInLine!==-1)return false;if(e.anchor!==null){e.anchorMap[e.anchor]=f}w=e.input.charCodeAt(e.position);while(w!==0){if(!y&&e.firstTabInLine!==-1){e.position=e.firstTabInLine;P(e,"tab characters must not be used in indentation")}r=e.input.charCodeAt(e.position+1);a=e.line;if((w===63||w===58)&&E(r)){if(w===63){if(y){$(e,f,h,m,g,null,o,s,l);m=g=v=null}b=true;y=true;i=true}else if(y){y=false;i=true}else{P(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}e.position+=1;w=r}else{o=e.line;s=e.lineStart;l=e.position;if(!te(e,n,c,false,true)){break}if(e.line===a){w=e.input.charCodeAt(e.position);while(x(w)){w=e.input.charCodeAt(++e.position)}if(w===58){w=e.input.charCodeAt(++e.position);if(!E(w)){P(e,"a whitespace character is expected after the key-value separator within a block mapping")}if(y){$(e,f,h,m,g,null,o,s,l);m=g=v=null}b=true;y=false;i=false;m=e.tag;g=e.result}else if(b){P(e,"can not read an implicit mapping pair; a colon is missed")}else{e.tag=u;e.anchor=p;return true}}else if(b){P(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{e.tag=u;e.anchor=p;return true}}if(e.line===a||e.lineIndent>t){if(y){o=e.line;s=e.lineStart;l=e.position}if(te(e,t,d,true,i)){if(y){g=e.result}else{v=e.result}}if(!y){$(e,f,h,m,g,v,o,s,l);m=g=v=null}H(e,true,-1);w=e.input.charCodeAt(e.position)}if((e.line===a||e.lineIndent>t)&&w!==0){P(e,"bad indentation of a mapping entry")}else if(e.lineIndent<t){break}}if(y){$(e,f,h,m,g,null,o,s,l)}if(b){e.tag=u;e.anchor=p;e.kind="mapping";e.result=f}return b}function Q(e){var t,n=false,r=false,i,a,o;o=e.input.charCodeAt(e.position);if(o!==33)return false;if(e.tag!==null){P(e,"duplication of a tag property")}o=e.input.charCodeAt(++e.position);if(o===60){n=true;o=e.input.charCodeAt(++e.position)}else if(o===33){r=true;i="!!";o=e.input.charCodeAt(++e.position)}else{i="!"}t=e.position;if(n){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&o!==62);if(e.position<e.length){a=e.input.slice(t,e.position);o=e.input.charCodeAt(++e.position)}else{P(e,"unexpected end of the stream within a verbatim tag")}}else{while(o!==0&&!E(o)){if(o===33){if(!r){i=e.input.slice(t-1,e.position+1);if(!y.test(i)){P(e,"named tag handle cannot contain such characters")}r=true;t=e.position+1}else{P(e,"tag suffix cannot contain exclamation marks")}}o=e.input.charCodeAt(++e.position)}a=e.input.slice(t,e.position);if(v.test(a)){P(e,"tag suffix cannot contain flow indicator characters")}}if(a&&!b.test(a)){P(e,"tag name cannot contain such characters: "+a)}try{a=decodeURIComponent(a)}catch(t){P(e,"tag name is malformed: "+a)}if(n){e.tag=a}else if(s.call(e.tagMap,i)){e.tag=e.tagMap[i]+a}else if(i==="!"){e.tag="!"+a}else if(i==="!!"){e.tag="tag:yaml.org,2002:"+a}else{P(e,'undeclared tag handle "'+i+'"')}return true}function Z(e){var t,n;n=e.input.charCodeAt(e.position);if(n!==38)return false;if(e.anchor!==null){P(e,"duplication of an anchor property")}n=e.input.charCodeAt(++e.position);t=e.position;while(n!==0&&!E(n)&&!S(n)){n=e.input.charCodeAt(++e.position)}if(e.position===t){P(e,"name of an anchor node must contain at least one character")}e.anchor=e.input.slice(t,e.position);return true}function ee(e){var t,n,r;r=e.input.charCodeAt(e.position);if(r!==42)return false;r=e.input.charCodeAt(++e.position);t=e.position;while(r!==0&&!E(r)&&!S(r)){r=e.input.charCodeAt(++e.position)}if(e.position===t){P(e,"name of an alias node must contain at least one character")}n=e.input.slice(t,e.position);if(!s.call(e.anchorMap,n)){P(e,'unidentified alias "'+n+'"')}e.result=e.anchorMap[n];H(e,true,-1);return true}function te(e,t,n,r,i){var a,o,p,f=1,h=false,m=false,g,v,y,b,w,C;if(e.listener!==null){e.listener("open",e)}e.tag=null;e.anchor=null;e.kind=null;e.result=null;a=o=p=d===n||u===n;if(r){if(H(e,true,-1)){h=true;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}}if(f===1){while(Q(e)||Z(e)){if(H(e,true,-1)){h=true;p=a;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}else{p=false}}}if(p){p=h||i}if(f===1||d===n){if(l===n||c===n){w=t}else{w=t+1}C=e.position-e.lineStart;if(f===1){if(p&&(Y(e,C)||J(e,C,w))||K(e,w)){m=true}else{if(o&&X(e,w)||V(e,w)||z(e,w)){m=true}else if(ee(e)){m=true;if(e.tag!==null||e.anchor!==null){P(e,"alias node should not have any properties")}}else if(q(e,w,l===n)){m=true;if(e.tag===null){e.tag="?"}}if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else if(f===0){m=p&&Y(e,C)}}if(e.tag===null){if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}else if(e.tag==="?"){if(e.result!==null&&e.kind!=="scalar"){P(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"')}for(g=0,v=e.implicitTypes.length;g<v;g+=1){b=e.implicitTypes[g];if(b.resolve(e.result)){e.result=b.construct(e.result);e.tag=b.tag;if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}break}}}else if(e.tag!=="!"){if(s.call(e.typeMap[e.kind||"fallback"],e.tag)){b=e.typeMap[e.kind||"fallback"][e.tag]}else{b=null;y=e.typeMap.multi[e.kind||"fallback"];for(g=0,v=y.length;g<v;g+=1){if(e.tag.slice(0,y[g].tag.length)===y[g].tag){b=y[g];break}}}if(!b){P(e,"unknown tag !<"+e.tag+">")}if(e.result!==null&&b.kind!==e.kind){P(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+b.kind+'", not "'+e.kind+'"')}if(!b.resolve(e.result,e.tag)){P(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=b.construct(e.result,e.tag);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function ne(e){var t=e.position,n,r,i,a=false,o;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap=Object.create(null);e.anchorMap=Object.create(null);while((o=e.input.charCodeAt(e.position))!==0){H(e,true,-1);o=e.input.charCodeAt(e.position);if(e.lineIndent>0||o!==37){break}a=true;o=e.input.charCodeAt(++e.position);n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}r=e.input.slice(n,e.position);i=[];if(r.length<1){P(e,"directive name must not be less than one character in length")}while(o!==0){while(x(o)){o=e.input.charCodeAt(++e.position)}if(o===35){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&!C(o));break}if(C(o))break;n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}i.push(e.input.slice(n,e.position))}if(o!==0)W(e);if(s.call(B,r)){B[r](e,r,i)}else{F(e,'unknown document directive "'+r+'"')}}H(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;H(e,true,-1)}else if(a){P(e,"directives end mark is expected")}te(e,e.lineIndent-1,d,false,true);H(e,true,-1);if(e.checkLineBreaks&&g.test(e.input.slice(t,e.position))){F(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&U(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;H(e,true,-1)}return}if(e.position<e.length-1){P(e,"end of the stream or a document separator is expected")}else{return}}function re(e,t){e=String(e);t=t||{};if(e.length!==0){if(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13){e+="\n"}if(e.charCodeAt(0)===65279){e=e.slice(1)}}var n=new _(e,t);var r=e.indexOf("\0");if(r!==-1){n.position=r;P(n,"null byte is not allowed in input")}n.input+="\0";while(n.input.charCodeAt(n.position)===32){n.lineIndent+=1;n.position+=1}while(n.position<n.length-1){ne(n)}return n.documents}function ie(e,t,n){if(t!==null&&typeof t==="object"&&typeof n==="undefined"){n=t;t=null}var r=re(e,n);if(typeof t!=="function"){return r}for(var i=0,a=r.length;i<a;i+=1){t(r[i])}}function ae(e,t){var n=re(e,t);if(n.length===0){return undefined}else if(n.length===1){return n[0]}throw new i("expected a single document in the stream, but found more")}e.exports.loadAll=ie;e.exports.load=ae},2119:(e,t,n)=>{"use strict";var r=n(1231);var i=n(5388);function a(e,t){var n=[];e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){if(n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi){t=r}}));n[t]=e}));return n}function o(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){if(t.multi){e.multi[t.kind].push(t);e.multi["fallback"].push(t)}else{e[t.kind][t.tag]=e["fallback"][t.tag]=t}}for(t=0,n=arguments.length;t<n;t+=1){arguments[t].forEach(r)}return e}function s(e){return this.extend(e)}s.prototype.extend=function e(t){var n=[];var l=[];if(t instanceof i){l.push(t)}else if(Array.isArray(t)){l=l.concat(t)}else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit))){if(t.implicit)n=n.concat(t.implicit);if(t.explicit)l=l.concat(t.explicit)}else{throw new r("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}n.forEach((function(e){if(!(e instanceof i)){throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(e.loadKind&&e.loadKind!=="scalar"){throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(e.multi){throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));l.forEach((function(e){if(!(e instanceof i)){throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var c=Object.create(s.prototype);c.implicit=(this.implicit||[]).concat(n);c.explicit=(this.explicit||[]).concat(l);c.compiledImplicit=a(c,"implicit");c.compiledExplicit=a(c,"explicit");c.compiledTypeMap=o(c.compiledImplicit,c.compiledExplicit);return c};e.exports=s},1769:(e,t,n)=>{"use strict";e.exports=n(6184)},5489:(e,t,n)=>{"use strict";e.exports=n(1769).extend({implicit:[n(127),n(1851)],explicit:[n(9342),n(6946),n(6942),n(6663)]})},7759:(e,t,n)=>{"use strict";var r=n(2119);e.exports=new r({explicit:[n(7212),n(8636),n(2369)]})},6184:(e,t,n)=>{"use strict";e.exports=n(7759).extend({implicit:[n(9198),n(6199),n(4466),n(1461)]})},8083:(e,t,n)=>{"use strict";var r=n(8433);function i(e,t,n,r,i){var a="";var o="";var s=Math.floor(i/2)-1;if(r-t>s){a=" ... ";t=r-s+a.length}if(n-r>s){o=" ...";n=r+s-o.length}return{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function a(e,t){return r.repeat(" ",t-e.length)+e}function o(e,t){t=Object.create(t||null);if(!e.buffer)return null;if(!t.maxLength)t.maxLength=79;if(typeof t.indent!=="number")t.indent=1;if(typeof t.linesBefore!=="number")t.linesBefore=3;if(typeof t.linesAfter!=="number")t.linesAfter=2;var n=/\r?\n|\r|\0/g;var o=[0];var s=[];var l;var c=-1;while(l=n.exec(e.buffer)){s.push(l.index);o.push(l.index+l[0].length);if(e.position<=l.index&&c<0){c=o.length-2}}if(c<0)c=o.length-1;var u="",d,p;var f=Math.min(e.line+t.linesAfter,s.length).toString().length;var h=t.maxLength-(t.indent+f+3);for(d=1;d<=t.linesBefore;d++){if(c-d<0)break;p=i(e.buffer,o[c-d],s[c-d],e.position-(o[c]-o[c-d]),h);u=r.repeat(" ",t.indent)+a((e.line-d+1).toString(),f)+" | "+p.str+"\n"+u}p=i(e.buffer,o[c],s[c],e.position,h);u+=r.repeat(" ",t.indent)+a((e.line+1).toString(),f)+" | "+p.str+"\n";u+=r.repeat("-",t.indent+f+3+p.pos)+"^"+"\n";for(d=1;d<=t.linesAfter;d++){if(c+d>=s.length)break;p=i(e.buffer,o[c+d],s[c+d],e.position-(o[c]-o[c+d]),h);u+=r.repeat(" ",t.indent)+a((e.line+d+1).toString(),f)+" | "+p.str+"\n"}return u.replace(/\n$/,"")}e.exports=o},5388:(e,t,n)=>{"use strict";var r=n(1231);var i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var a=["scalar","sequence","mapping"];function o(e){var t={};if(e!==null){Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))}))}return t}function s(e,t){t=t||{};Object.keys(t).forEach((function(t){if(i.indexOf(t)===-1){throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.options=t;this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.representName=t["representName"]||null;this.defaultStyle=t["defaultStyle"]||null;this.multi=t["multi"]||false;this.styleAliases=o(t["styleAliases"]||null);if(a.indexOf(this.kind)===-1){throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=s},9342:(e,t,n)=>{"use strict";var r=n(5388);var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function a(e){if(e===null)return false;var t,n,r=0,a=e.length,o=i;for(n=0;n<a;n++){t=o.indexOf(e.charAt(n));if(t>64)continue;if(t<0)return false;r+=6}return r%8===0}function o(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,o=i,s=0,l=[];for(t=0;t<a;t++){if(t%4===0&&t){l.push(s>>16&255);l.push(s>>8&255);l.push(s&255)}s=s<<6|o.indexOf(r.charAt(t))}n=a%4*6;if(n===0){l.push(s>>16&255);l.push(s>>8&255);l.push(s&255)}else if(n===18){l.push(s>>10&255);l.push(s>>2&255)}else if(n===12){l.push(s>>4&255)}return new Uint8Array(l)}function s(e){var t="",n=0,r,a,o=e.length,s=i;for(r=0;r<o;r++){if(r%3===0&&r){t+=s[n>>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}n=(n<<8)+e[r]}a=o%3;if(a===0){t+=s[n>>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}else if(a===2){t+=s[n>>10&63];t+=s[n>>4&63];t+=s[n<<2&63];t+=s[64]}else if(a===1){t+=s[n>>2&63];t+=s[n<<4&63];t+=s[64];t+=s[64]}return t}function l(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a,construct:o,predicate:l,represent:s})},6199:(e,t,n)=>{"use strict";var r=n(5388);function i(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function a(e){return e==="true"||e==="True"||e==="TRUE"}function o(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},1461:(e,t,n)=>{"use strict";var r=n(8433);var i=n(5388);var a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function o(e){if(e===null)return false;if(!a.test(e)||e[e.length-1]==="_"){return false}return true}function s(e){var t,n;t=e.replace(/_/g,"").toLowerCase();n=t[0]==="-"?-1:1;if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}return n*parseFloat(t,10)}var l=/^[-+]?[0-9]+e/;function c(e,t){var n;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(r.isNegativeZero(e)){return"-0.0"}n=e.toString(10);return l.test(n)?n.replace("e",".e"):n}function u(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||r.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:s,predicate:u,represent:c,defaultStyle:"lowercase"})},4466:(e,t,n)=>{"use strict";var r=n(8433);var i=n(5388);function a(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function o(e){return 48<=e&&e<=55}function s(e){return 48<=e&&e<=57}function l(e){if(e===null)return false;var t=e.length,n=0,r=false,i;if(!t)return false;i=e[n];if(i==="-"||i==="+"){i=e[++n]}if(i==="0"){if(n+1===t)return true;i=e[++n];if(i==="b"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(i!=="0"&&i!=="1")return false;r=true}return r&&i!=="_"}if(i==="x"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!a(e.charCodeAt(n)))return false;r=true}return r&&i!=="_"}if(i==="o"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!o(e.charCodeAt(n)))return false;r=true}return r&&i!=="_"}}if(i==="_")return false;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!s(e.charCodeAt(n))){return false}r=true}if(!r||i==="_")return false;return true}function c(e){var t=e,n=1,r;if(t.indexOf("_")!==-1){t=t.replace(/_/g,"")}r=t[0];if(r==="-"||r==="+"){if(r==="-")n=-1;t=t.slice(1);r=t[0]}if(t==="0")return 0;if(r==="0"){if(t[1]==="b")return n*parseInt(t.slice(2),2);if(t[1]==="x")return n*parseInt(t.slice(2),16);if(t[1]==="o")return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function u(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1===0&&!r.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:l,construct:c,predicate:u,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},2369:(e,t,n)=>{"use strict";var r=n(5388);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},1851:(e,t,n)=>{"use strict";var r=n(5388);function i(e){return e==="<<"||e===null}e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i})},9198:(e,t,n)=>{"use strict";var r=n(5388);function i(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function a(){return null}function o(e){return e===null}e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},6946:(e,t,n)=>{"use strict";var r=n(5388);var i=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;function o(e){if(e===null)return true;var t=[],n,r,o,s,l,c=e;for(n=0,r=c.length;n<r;n+=1){o=c[n];l=false;if(a.call(o)!=="[object Object]")return false;for(s in o){if(i.call(o,s)){if(!l)l=true;else return false}}if(!l)return false;if(t.indexOf(s)===-1)t.push(s);else return false}return true}function s(e){return e!==null?e:[]}e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:o,construct:s})},6942:(e,t,n)=>{"use strict";var r=n(5388);var i=Object.prototype.toString;function a(e){if(e===null)return true;var t,n,r,a,o,s=e;o=new Array(s.length);for(t=0,n=s.length;t<n;t+=1){r=s[t];if(i.call(r)!=="[object Object]")return false;a=Object.keys(r);if(a.length!==1)return false;o[t]=[a[0],r[a[0]]]}return true}function o(e){if(e===null)return[];var t,n,r,i,a,o=e;a=new Array(o.length);for(t=0,n=o.length;t<n;t+=1){r=o[t];i=Object.keys(r);a[t]=[i[0],r[i[0]]]}return a}e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:a,construct:o})},8636:(e,t,n)=>{"use strict";var r=n(5388);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},6663:(e,t,n)=>{"use strict";var r=n(5388);var i=Object.prototype.hasOwnProperty;function a(e){if(e===null)return true;var t,n=e;for(t in n){if(i.call(n,t)){if(n[t]!==null)return false}}return true}function o(e){return e!==null?e:{}}e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:a,construct:o})},7212:(e,t,n)=>{"use strict";var r=n(5388);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},127:(e,t,n)=>{"use strict";var r=n(5388);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function o(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(a.exec(e)!==null)return true;return false}function s(e){var t,n,r,o,s,l,c,u=0,d=null,p,f,h;t=i.exec(e);if(t===null)t=a.exec(e);if(t===null)throw new Error("Date resolve error");n=+t[1];r=+t[2]-1;o=+t[3];if(!t[4]){return new Date(Date.UTC(n,r,o))}s=+t[4];l=+t[5];c=+t[6];if(t[7]){u=t[7].slice(0,3);while(u.length<3){u+="0"}u=+u}if(t[9]){p=+t[10];f=+(t[11]||0);d=(p*60+f)*6e4;if(t[9]==="-")d=-d}h=new Date(Date.UTC(n,r,o,s,l,c,u));if(d)h.setTime(h.getTime()-d);return h}function l(e){return e.toISOString()}e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:o,construct:s,instanceOf:Date,represent:l})},3194:function(e,t){
23
+ */(function(a){var o;if(true){!(r=a,i=typeof r==="function"?r.call(t,n,t,e):r,i!==undefined&&(e.exports=i));o=true}if(true){e.exports=a();o=true}if(!o){var s=window.Cookies;var l=window.Cookies=a();l.noConflict=function(){window.Cookies=s;return l}}})((function(){function e(){var e=0;var t={};for(;e<arguments.length;e++){var n=arguments[e];for(var r in n){t[r]=n[r]}}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function i(){}function a(t,n,a){if(typeof document==="undefined"){return}a=e({path:"/"},i.defaults,a);if(typeof a.expires==="number"){a.expires=new Date(new Date*1+a.expires*864e5)}a.expires=a.expires?a.expires.toUTCString():"";try{var o=JSON.stringify(n);if(/^[\{\[]/.test(o)){n=o}}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in a){if(!a[l]){continue}s+="; "+l;if(a[l]===true){continue}s+="="+a[l].split(";")[0]}return document.cookie=t+"="+n+s}function o(e,n){if(typeof document==="undefined"){return}var i={};var a=document.cookie?document.cookie.split("; "):[];var o=0;for(;o<a.length;o++){var s=a[o].split("=");var l=s.slice(1).join("=");if(!n&&l.charAt(0)==='"'){l=l.slice(1,-1)}try{var c=t(s[0]);l=(r.read||r)(l,c)||t(l);if(n){try{l=JSON.parse(l)}catch(e){}}i[c]=l;if(e===c){break}}catch(e){}}return e?i[e]:i}i.set=a;i.get=function(e){return o(e,false)};i.getJSON=function(e){return o(e,true)};i.remove=function(t,n){a(t,"",e(n,{expires:-1}))};i.defaults={};i.withConverter=n;return i}return n((function(){}))}))},210:(e,t,n)=>{"use strict";var r=n(243);var i=n(781);function a(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. "+"Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=n(388);e.exports.Schema=n(119);e.exports.FAILSAFE_SCHEMA=n(759);e.exports.JSON_SCHEMA=n(184);e.exports.CORE_SCHEMA=n(769);e.exports.DEFAULT_SCHEMA=n(489);e.exports.load=r.load;e.exports.loadAll=r.loadAll;e.exports.dump=i.dump;e.exports.YAMLException=n(231);e.exports.types={binary:n(342),float:n(461),map:n(369),null:n(198),pairs:n(942),set:n(663),timestamp:n(127),bool:n(199),int:n(466),merge:n(851),omap:n(946),seq:n(636),str:n(212)};e.exports.safeLoad=a("safeLoad","load");e.exports.safeLoadAll=a("safeLoadAll","loadAll");e.exports.safeDump=a("safeDump","dump")},433:e=>{"use strict";function t(e){return typeof e==="undefined"||e===null}function n(e){return typeof e==="object"&&e!==null}function r(e){if(Array.isArray(e))return e;else if(t(e))return[];return[e]}function i(e,t){var n,r,i,a;if(t){a=Object.keys(t);for(n=0,r=a.length;n<r;n+=1){i=a[n];e[i]=t[i]}}return e}function a(e,t){var n="",r;for(r=0;r<t;r+=1){n+=e}return n}function o(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}e.exports.isNothing=t;e.exports.isObject=n;e.exports.toArray=r;e.exports.repeat=a;e.exports.isNegativeZero=o;e.exports.extend=i},781:(e,t,n)=>{"use strict";var r=n(433);var i=n(231);var a=n(489);var o=Object.prototype.toString;var s=Object.prototype.hasOwnProperty;var l=65279;var c=9;var u=10;var d=13;var p=32;var f=33;var h=34;var m=35;var v=37;var g=38;var y=39;var b=42;var w=44;var C=45;var x=58;var E=61;var S=62;var L=63;var k=64;var A=91;var T=93;var I=96;var M=123;var N=124;var D=125;var O={};O[0]="\\0";O[7]="\\a";O[8]="\\b";O[9]="\\t";O[10]="\\n";O[11]="\\v";O[12]="\\f";O[13]="\\r";O[27]="\\e";O[34]='\\"';O[92]="\\\\";O[133]="\\N";O[160]="\\_";O[8232]="\\L";O[8233]="\\P";var _=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var P=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function F(e,t){var n,r,i,a,o,l,c;if(t===null)return{};n={};r=Object.keys(t);for(i=0,a=r.length;i<a;i+=1){o=r[i];l=String(t[o]);if(o.slice(0,2)==="!!"){o="tag:yaml.org,2002:"+o.slice(2)}c=e.compiledTypeMap["fallback"][o];if(c&&s.call(c.styleAliases,l)){l=c.styleAliases[l]}n[o]=l}return n}function B(e){var t,n,a;t=e.toString(16).toUpperCase();if(e<=255){n="x";a=2}else if(e<=65535){n="u";a=4}else if(e<=4294967295){n="U";a=8}else{throw new i("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+n+r.repeat("0",a-t.length)+t}var j=1,R=2;function $(e){this.schema=e["schema"]||a;this.indent=Math.max(1,e["indent"]||2);this.noArrayIndent=e["noArrayIndent"]||false;this.skipInvalid=e["skipInvalid"]||false;this.flowLevel=r.isNothing(e["flowLevel"])?-1:e["flowLevel"];this.styleMap=F(this.schema,e["styles"]||null);this.sortKeys=e["sortKeys"]||false;this.lineWidth=e["lineWidth"]||80;this.noRefs=e["noRefs"]||false;this.noCompatMode=e["noCompatMode"]||false;this.condenseFlow=e["condenseFlow"]||false;this.quotingType=e["quotingType"]==='"'?R:j;this.forceQuotes=e["forceQuotes"]||false;this.replacer=typeof e["replacer"]==="function"?e["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function W(e,t){var n=r.repeat(" ",t),i=0,a=-1,o="",s,l=e.length;while(i<l){a=e.indexOf("\n",i);if(a===-1){s=e.slice(i);i=l}else{s=e.slice(i,a+1);i=a+1}if(s.length&&s!=="\n")o+=n;o+=s}return o}function H(e,t){return"\n"+r.repeat(" ",e.indent*t)}function U(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1){i=e.implicitTypes[n];if(i.resolve(t)){return true}}return false}function G(e){return e===p||e===c}function q(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==l||65536<=e&&e<=1114111}function V(e){return q(e)&&e!==l&&e!==d&&e!==u}function z(e,t,n){var r=V(e);var i=r&&!G(e);return(n?r:r&&e!==w&&e!==A&&e!==T&&e!==M&&e!==D)&&e!==m&&!(t===x&&!i)||V(t)&&!G(t)&&e===m||t===x&&i}function K(e){return q(e)&&e!==l&&!G(e)&&e!==C&&e!==L&&e!==x&&e!==w&&e!==A&&e!==T&&e!==M&&e!==D&&e!==m&&e!==g&&e!==b&&e!==f&&e!==N&&e!==E&&e!==S&&e!==y&&e!==h&&e!==v&&e!==k&&e!==I}function X(e){return!G(e)&&e!==x}function Y(e,t){var n=e.charCodeAt(t),r;if(n>=55296&&n<=56319&&t+1<e.length){r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){return(n-55296)*1024+r-56320+65536}}return n}function J(e){var t=/^\n* /;return t.test(e)}var Q=1,Z=2,ee=3,te=4,ne=5;function re(e,t,n,r,i,a,o,s){var l;var c=0;var d=null;var p=false;var f=false;var h=r!==-1;var m=-1;var v=K(Y(e,0))&&X(Y(e,e.length-1));if(t||o){for(l=0;l<e.length;c>=65536?l+=2:l++){c=Y(e,l);if(!q(c)){return ne}v=v&&z(c,d,s);d=c}}else{for(l=0;l<e.length;c>=65536?l+=2:l++){c=Y(e,l);if(c===u){p=true;if(h){f=f||l-m-1>r&&e[m+1]!==" ";m=l}}else if(!q(c)){return ne}v=v&&z(c,d,s);d=c}f=f||h&&(l-m-1>r&&e[m+1]!==" ")}if(!p&&!f){if(v&&!o&&!i(e)){return Q}return a===R?ne:Z}if(n>9&&J(e)){return ne}if(!o){return f?te:ee}return a===R?ne:Z}function ie(e,t,n,r,a){e.dump=function(){if(t.length===0){return e.quotingType===R?'""':"''"}if(!e.noCompatMode){if(_.indexOf(t)!==-1||P.test(t)){return e.quotingType===R?'"'+t+'"':"'"+t+"'"}}var o=e.indent*Math.max(1,n);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o);var l=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return U(e,t)}switch(re(t,l,e.indent,s,c,e.quotingType,e.forceQuotes&&!r,a)){case Q:return t;case Z:return"'"+t.replace(/'/g,"''")+"'";case ee:return"|"+ae(t,e.indent)+oe(W(t,o));case te:return">"+ae(t,e.indent)+oe(W(se(t,s),o));case ne:return'"'+ce(t,s)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function ae(e,t){var n=J(e)?String(t):"";var r=e[e.length-1]==="\n";var i=r&&(e[e.length-2]==="\n"||e==="\n");var a=i?"+":r?"":"-";return n+a+"\n"}function oe(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function se(e,t){var n=/(\n+)([^\n]*)/g;var r=function(){var r=e.indexOf("\n");r=r!==-1?r:e.length;n.lastIndex=r;return le(e.slice(0,r),t)}();var i=e[0]==="\n"||e[0]===" ";var a;var o;while(o=n.exec(e)){var s=o[1],l=o[2];a=l[0]===" ";r+=s+(!i&&!a&&l!==""?"\n":"")+le(l,t);i=a}return r}function le(e,t){if(e===""||e[0]===" ")return e;var n=/ [^ ]/g;var r;var i=0,a,o=0,s=0;var l="";while(r=n.exec(e)){s=r.index;if(s-i>t){a=o>i?o:s;l+="\n"+e.slice(i,a);i=a+1}o=s}l+="\n";if(e.length-i>t&&o>i){l+=e.slice(i,o)+"\n"+e.slice(o+1)}else{l+=e.slice(i)}return l.slice(1)}function ce(e){var t="";var n=0;var r;for(var i=0;i<e.length;n>=65536?i+=2:i++){n=Y(e,i);r=O[n];if(!r&&q(n)){t+=e[i];if(n>=65536)t+=e[i+1]}else{t+=r||B(n)}}return t}function ue(e,t,n){var r="",i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1){s=n[a];if(e.replacer){s=e.replacer.call(n,String(a),s)}if(me(e,t,s,false,false)||typeof s==="undefined"&&me(e,t,null,false,false)){if(r!=="")r+=","+(!e.condenseFlow?" ":"");r+=e.dump}}e.tag=i;e.dump="["+r+"]"}function de(e,t,n,r){var i="",a=e.tag,o,s,l;for(o=0,s=n.length;o<s;o+=1){l=n[o];if(e.replacer){l=e.replacer.call(n,String(o),l)}if(me(e,t+1,l,true,true,false,true)||typeof l==="undefined"&&me(e,t+1,null,true,true,false,true)){if(!r||i!==""){i+=H(e,t)}if(e.dump&&u===e.dump.charCodeAt(0)){i+="-"}else{i+="- "}i+=e.dump}}e.tag=a;e.dump=i||"[]"}function pe(e,t,n){var r="",i=e.tag,a=Object.keys(n),o,s,l,c,u;for(o=0,s=a.length;o<s;o+=1){u="";if(r!=="")u+=", ";if(e.condenseFlow)u+='"';l=a[o];c=n[l];if(e.replacer){c=e.replacer.call(n,l,c)}if(!me(e,t,l,false,false)){continue}if(e.dump.length>1024)u+="? ";u+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!me(e,t,c,false,false)){continue}u+=e.dump;r+=u}e.tag=i;e.dump="{"+r+"}"}function fe(e,t,n,r){var a="",o=e.tag,s=Object.keys(n),l,c,d,p,f,h;if(e.sortKeys===true){s.sort()}else if(typeof e.sortKeys==="function"){s.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(l=0,c=s.length;l<c;l+=1){h="";if(!r||a!==""){h+=H(e,t)}d=s[l];p=n[d];if(e.replacer){p=e.replacer.call(n,d,p)}if(!me(e,t+1,d,true,true,true)){continue}f=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024;if(f){if(e.dump&&u===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=H(e,t)}if(!me(e,t+1,p,true,f)){continue}if(e.dump&&u===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;a+=h}e.tag=o;e.dump=a||"{}"}function he(e,t,n){var r,a,l,c,u,d;a=n?e.explicitTypes:e.implicitTypes;for(l=0,c=a.length;l<c;l+=1){u=a[l];if((u.instanceOf||u.predicate)&&(!u.instanceOf||typeof t==="object"&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(n){if(u.multi&&u.representName){e.tag=u.representName(t)}else{e.tag=u.tag}}else{e.tag="?"}if(u.represent){d=e.styleMap[u.tag]||u.defaultStyle;if(o.call(u.represent)==="[object Function]"){r=u.represent(t,d)}else if(s.call(u.represent,d)){r=u.represent[d](t,d)}else{throw new i("!<"+u.tag+'> tag resolver accepts not "'+d+'" style')}e.dump=r}return true}}return false}function me(e,t,n,r,a,s,l){e.tag=null;e.dump=n;if(!he(e,n,false)){he(e,n,true)}var c=o.call(e.dump);var u=r;var d;if(r){r=e.flowLevel<0||e.flowLevel>t}var p=c==="[object Object]"||c==="[object Array]",f,h;if(p){f=e.duplicates.indexOf(n);h=f!==-1}if(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0){a=false}if(h&&e.usedDuplicates[f]){e.dump="*ref_"+f}else{if(p&&h&&!e.usedDuplicates[f]){e.usedDuplicates[f]=true}if(c==="[object Object]"){if(r&&Object.keys(e.dump).length!==0){fe(e,t,e.dump,a);if(h){e.dump="&ref_"+f+e.dump}}else{pe(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object Array]"){if(r&&e.dump.length!==0){if(e.noArrayIndent&&!l&&t>0){de(e,t-1,e.dump,a)}else{de(e,t,e.dump,a)}if(h){e.dump="&ref_"+f+e.dump}}else{ue(e,t,e.dump);if(h){e.dump="&ref_"+f+" "+e.dump}}}else if(c==="[object String]"){if(e.tag!=="?"){ie(e,e.dump,t,s,u)}}else if(c==="[object Undefined]"){return false}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+c)}if(e.tag!==null&&e.tag!=="?"){d=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21");if(e.tag[0]==="!"){d="!"+d}else if(d.slice(0,18)==="tag:yaml.org,2002:"){d="!!"+d.slice(18)}else{d="!<"+d+">"}e.dump=d+" "+e.dump}}return true}function ve(e,t){var n=[],r=[],i,a;ge(e,n,r);for(i=0,a=r.length;i<a;i+=1){t.duplicates.push(n[r[i]])}t.usedDuplicates=new Array(a)}function ge(e,t,n){var r,i,a;if(e!==null&&typeof e==="object"){i=t.indexOf(e);if(i!==-1){if(n.indexOf(i)===-1){n.push(i)}}else{t.push(e);if(Array.isArray(e)){for(i=0,a=e.length;i<a;i+=1){ge(e[i],t,n)}}else{r=Object.keys(e);for(i=0,a=r.length;i<a;i+=1){ge(e[r[i]],t,n)}}}}}function ye(e,t){t=t||{};var n=new $(t);if(!n.noRefs)ve(e,n);var r=e;if(n.replacer){r=n.replacer.call({"":r},"",r)}if(me(n,0,r,true,true))return n.dump+"\n";return""}e.exports.dump=ye},231:e=>{"use strict";function t(e,t){var n="",r=e.reason||"(unknown reason)";if(!e.mark)return r;if(e.mark.name){n+='in "'+e.mark.name+'" '}n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")";if(!t&&e.mark.snippet){n+="\n\n"+e.mark.snippet}return r+" "+n}function n(e,n){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=n;this.message=t(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}n.prototype=Object.create(Error.prototype);n.prototype.constructor=n;n.prototype.toString=function e(n){return this.name+": "+t(this,n)};e.exports=n},243:(e,t,n)=>{"use strict";var r=n(433);var i=n(231);var a=n(83);var o=n(489);var s=Object.prototype.hasOwnProperty;var l=1;var c=2;var u=3;var d=4;var p=1;var f=2;var h=3;var m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var v=/[\x85\u2028\u2029]/;var g=/[,\[\]\{\}]/;var y=/^(?:!|!!|![a-z\-]+!)$/i;var b=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function w(e){return Object.prototype.toString.call(e)}function C(e){return e===10||e===13}function x(e){return e===9||e===32}function E(e){return e===9||e===32||e===10||e===13}function S(e){return e===44||e===91||e===93||e===123||e===125}function L(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function k(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function A(e){if(48<=e&&e<=57){return e-48}return-1}function T(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function I(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var M=new Array(256);var N=new Array(256);for(var D=0;D<256;D++){M[D]=T(D)?1:0;N[D]=T(D)}function O(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function _(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};n.snippet=a(n);return new i(t,n)}function P(e,t){throw _(e,t)}function F(e,t){if(e.onWarning){e.onWarning.call(null,_(e,t))}}var B={YAML:function e(t,n,r){var i,a,o;if(t.version!==null){P(t,"duplication of %YAML directive")}if(r.length!==1){P(t,"YAML directive accepts exactly one argument")}i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(i===null){P(t,"ill-formed argument of the YAML directive")}a=parseInt(i[1],10);o=parseInt(i[2],10);if(a!==1){P(t,"unacceptable YAML version of the document")}t.version=r[0];t.checkLineBreaks=o<2;if(o!==1&&o!==2){F(t,"unsupported YAML version of the document")}},TAG:function e(t,n,r){var i,a;if(r.length!==2){P(t,"TAG directive accepts exactly two arguments")}i=r[0];a=r[1];if(!y.test(i)){P(t,"ill-formed tag handle (first argument) of the TAG directive")}if(s.call(t.tagMap,i)){P(t,'there is a previously declared suffix for "'+i+'" tag handle')}if(!b.test(a)){P(t,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(e){P(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function j(e,t,n,r){var i,a,o,s;if(t<n){s=e.input.slice(t,n);if(r){for(i=0,a=s.length;i<a;i+=1){o=s.charCodeAt(i);if(!(o===9||32<=o&&o<=1114111)){P(e,"expected valid JSON character")}}}else if(m.test(s)){P(e,"the stream contains non-printable characters")}e.result+=s}}function R(e,t,n,i){var a,o,l,c;if(!r.isObject(n)){P(e,"cannot merge mappings; the provided source object is unacceptable")}a=Object.keys(n);for(l=0,c=a.length;l<c;l+=1){o=a[l];if(!s.call(t,o)){t[o]=n[o];i[o]=true}}}function $(e,t,n,r,i,a,o,l,c){var u,d;if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(u=0,d=i.length;u<d;u+=1){if(Array.isArray(i[u])){P(e,"nested arrays are not supported inside keys")}if(typeof i==="object"&&w(i[u])==="[object Object]"){i[u]="[object Object]"}}}if(typeof i==="object"&&w(i)==="[object Object]"){i="[object Object]"}i=String(i);if(t===null){t={}}if(r==="tag:yaml.org,2002:merge"){if(Array.isArray(a)){for(u=0,d=a.length;u<d;u+=1){R(e,t,a[u],n)}}else{R(e,t,a,n)}}else{if(!e.json&&!s.call(n,i)&&s.call(t,i)){e.line=o||e.line;e.lineStart=l||e.lineStart;e.position=c||e.position;P(e,"duplicated mapping key")}if(i==="__proto__"){Object.defineProperty(t,i,{configurable:true,enumerable:true,writable:true,value:a})}else{t[i]=a}delete n[i]}return t}function W(e){var t;t=e.input.charCodeAt(e.position);if(t===10){e.position++}else if(t===13){e.position++;if(e.input.charCodeAt(e.position)===10){e.position++}}else{P(e,"a line break is expected")}e.line+=1;e.lineStart=e.position;e.firstTabInLine=-1}function H(e,t,n){var r=0,i=e.input.charCodeAt(e.position);while(i!==0){while(x(i)){if(i===9&&e.firstTabInLine===-1){e.firstTabInLine=e.position}i=e.input.charCodeAt(++e.position)}if(t&&i===35){do{i=e.input.charCodeAt(++e.position)}while(i!==10&&i!==13&&i!==0)}if(C(i)){W(e);i=e.input.charCodeAt(e.position);r++;e.lineIndent=0;while(i===32){e.lineIndent++;i=e.input.charCodeAt(++e.position)}}else{break}}if(n!==-1&&r!==0&&e.lineIndent<n){F(e,"deficient indentation")}return r}function U(e){var t=e.position,n;n=e.input.charCodeAt(t);if((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)){t+=3;n=e.input.charCodeAt(t);if(n===0||E(n)){return true}}return false}function G(e,t){if(t===1){e.result+=" "}else if(t>1){e.result+=r.repeat("\n",t-1)}}function q(e,t,n){var r,i,a,o,s,l,c,u,d=e.kind,p=e.result,f;f=e.input.charCodeAt(e.position);if(E(f)||S(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&S(i)){return false}}e.kind="scalar";e.result="";a=o=e.position;s=false;while(f!==0){if(f===58){i=e.input.charCodeAt(e.position+1);if(E(i)||n&&S(i)){break}}else if(f===35){r=e.input.charCodeAt(e.position-1);if(E(r)){break}}else if(e.position===e.lineStart&&U(e)||n&&S(f)){break}else if(C(f)){l=e.line;c=e.lineStart;u=e.lineIndent;H(e,false,-1);if(e.lineIndent>=t){s=true;f=e.input.charCodeAt(e.position);continue}else{e.position=o;e.line=l;e.lineStart=c;e.lineIndent=u;break}}if(s){j(e,a,o,false);G(e,e.line-l);a=o=e.position;s=false}if(!x(f)){o=e.position+1}f=e.input.charCodeAt(++e.position)}j(e,a,o,false);if(e.result){return true}e.kind=d;e.result=p;return false}function V(e,t){var n,r,i;n=e.input.charCodeAt(e.position);if(n!==39){return false}e.kind="scalar";e.result="";e.position++;r=i=e.position;while((n=e.input.charCodeAt(e.position))!==0){if(n===39){j(e,r,e.position,true);n=e.input.charCodeAt(++e.position);if(n===39){r=e.position;e.position++;i=e.position}else{return true}}else if(C(n)){j(e,r,i,true);G(e,H(e,false,t));r=i=e.position}else if(e.position===e.lineStart&&U(e)){P(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}P(e,"unexpected end of the stream within a single quoted scalar")}function z(e,t){var n,r,i,a,o,s;s=e.input.charCodeAt(e.position);if(s!==34){return false}e.kind="scalar";e.result="";e.position++;n=r=e.position;while((s=e.input.charCodeAt(e.position))!==0){if(s===34){j(e,n,e.position,true);e.position++;return true}else if(s===92){j(e,n,e.position,true);s=e.input.charCodeAt(++e.position);if(C(s)){H(e,false,t)}else if(s<256&&M[s]){e.result+=N[s];e.position++}else if((o=k(s))>0){i=o;a=0;for(;i>0;i--){s=e.input.charCodeAt(++e.position);if((o=L(s))>=0){a=(a<<4)+o}else{P(e,"expected hexadecimal character")}}e.result+=I(a);e.position++}else{P(e,"unknown escape sequence")}n=r=e.position}else if(C(s)){j(e,n,r,true);G(e,H(e,false,t));n=r=e.position}else if(e.position===e.lineStart&&U(e)){P(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;r=e.position}}P(e,"unexpected end of the stream within a double quoted scalar")}function K(e,t){var n=true,r,i,a,o=e.tag,s,c=e.anchor,u,d,p,f,h,m=Object.create(null),v,g,y,b;b=e.input.charCodeAt(e.position);if(b===91){d=93;h=false;s=[]}else if(b===123){d=125;h=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}b=e.input.charCodeAt(++e.position);while(b!==0){H(e,true,t);b=e.input.charCodeAt(e.position);if(b===d){e.position++;e.tag=o;e.anchor=c;e.kind=h?"mapping":"sequence";e.result=s;return true}else if(!n){P(e,"missed comma between flow collection entries")}else if(b===44){P(e,"expected the node content, but found ','")}g=v=y=null;p=f=false;if(b===63){u=e.input.charCodeAt(e.position+1);if(E(u)){p=f=true;e.position++;H(e,true,t)}}r=e.line;i=e.lineStart;a=e.position;te(e,t,l,false,true);g=e.tag;v=e.result;H(e,true,t);b=e.input.charCodeAt(e.position);if((f||e.line===r)&&b===58){p=true;b=e.input.charCodeAt(++e.position);H(e,true,t);te(e,t,l,false,true);y=e.result}if(h){$(e,s,m,g,v,y,r,i,a)}else if(p){s.push($(e,null,m,g,v,y,r,i,a))}else{s.push(v)}H(e,true,t);b=e.input.charCodeAt(e.position);if(b===44){n=true;b=e.input.charCodeAt(++e.position)}else{n=false}}P(e,"unexpected end of the stream within a flow collection")}function X(e,t){var n,i,a=p,o=false,s=false,l=t,c=0,u=false,d,m;m=e.input.charCodeAt(e.position);if(m===124){i=false}else if(m===62){i=true}else{return false}e.kind="scalar";e.result="";while(m!==0){m=e.input.charCodeAt(++e.position);if(m===43||m===45){if(p===a){a=m===43?h:f}else{P(e,"repeat of a chomping mode identifier")}}else if((d=A(m))>=0){if(d===0){P(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!s){l=t+d-1;s=true}else{P(e,"repeat of an indentation width identifier")}}else{break}}if(x(m)){do{m=e.input.charCodeAt(++e.position)}while(x(m));if(m===35){do{m=e.input.charCodeAt(++e.position)}while(!C(m)&&m!==0)}}while(m!==0){W(e);e.lineIndent=0;m=e.input.charCodeAt(e.position);while((!s||e.lineIndent<l)&&m===32){e.lineIndent++;m=e.input.charCodeAt(++e.position)}if(!s&&e.lineIndent>l){l=e.lineIndent}if(C(m)){c++;continue}if(e.lineIndent<l){if(a===h){e.result+=r.repeat("\n",o?1+c:c)}else if(a===p){if(o){e.result+="\n"}}break}if(i){if(x(m)){u=true;e.result+=r.repeat("\n",o?1+c:c)}else if(u){u=false;e.result+=r.repeat("\n",c+1)}else if(c===0){if(o){e.result+=" "}}else{e.result+=r.repeat("\n",c)}}else{e.result+=r.repeat("\n",o?1+c:c)}o=true;s=true;c=0;n=e.position;while(!C(m)&&m!==0){m=e.input.charCodeAt(++e.position)}j(e,n,e.position,false)}return true}function Y(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=false,l;if(e.firstTabInLine!==-1)return false;if(e.anchor!==null){e.anchorMap[e.anchor]=a}l=e.input.charCodeAt(e.position);while(l!==0){if(e.firstTabInLine!==-1){e.position=e.firstTabInLine;P(e,"tab characters must not be used in indentation")}if(l!==45){break}o=e.input.charCodeAt(e.position+1);if(!E(o)){break}s=true;e.position++;if(H(e,true,-1)){if(e.lineIndent<=t){a.push(null);l=e.input.charCodeAt(e.position);continue}}n=e.line;te(e,t,u,false,true);a.push(e.result);H(e,true,-1);l=e.input.charCodeAt(e.position);if((e.line===n||e.lineIndent>t)&&l!==0){P(e,"bad indentation of a sequence entry")}else if(e.lineIndent<t){break}}if(s){e.tag=r;e.anchor=i;e.kind="sequence";e.result=a;return true}return false}function J(e,t,n){var r,i,a,o,s,l,u=e.tag,p=e.anchor,f={},h=Object.create(null),m=null,v=null,g=null,y=false,b=false,w;if(e.firstTabInLine!==-1)return false;if(e.anchor!==null){e.anchorMap[e.anchor]=f}w=e.input.charCodeAt(e.position);while(w!==0){if(!y&&e.firstTabInLine!==-1){e.position=e.firstTabInLine;P(e,"tab characters must not be used in indentation")}r=e.input.charCodeAt(e.position+1);a=e.line;if((w===63||w===58)&&E(r)){if(w===63){if(y){$(e,f,h,m,v,null,o,s,l);m=v=g=null}b=true;y=true;i=true}else if(y){y=false;i=true}else{P(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}e.position+=1;w=r}else{o=e.line;s=e.lineStart;l=e.position;if(!te(e,n,c,false,true)){break}if(e.line===a){w=e.input.charCodeAt(e.position);while(x(w)){w=e.input.charCodeAt(++e.position)}if(w===58){w=e.input.charCodeAt(++e.position);if(!E(w)){P(e,"a whitespace character is expected after the key-value separator within a block mapping")}if(y){$(e,f,h,m,v,null,o,s,l);m=v=g=null}b=true;y=false;i=false;m=e.tag;v=e.result}else if(b){P(e,"can not read an implicit mapping pair; a colon is missed")}else{e.tag=u;e.anchor=p;return true}}else if(b){P(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{e.tag=u;e.anchor=p;return true}}if(e.line===a||e.lineIndent>t){if(y){o=e.line;s=e.lineStart;l=e.position}if(te(e,t,d,true,i)){if(y){v=e.result}else{g=e.result}}if(!y){$(e,f,h,m,v,g,o,s,l);m=v=g=null}H(e,true,-1);w=e.input.charCodeAt(e.position)}if((e.line===a||e.lineIndent>t)&&w!==0){P(e,"bad indentation of a mapping entry")}else if(e.lineIndent<t){break}}if(y){$(e,f,h,m,v,null,o,s,l)}if(b){e.tag=u;e.anchor=p;e.kind="mapping";e.result=f}return b}function Q(e){var t,n=false,r=false,i,a,o;o=e.input.charCodeAt(e.position);if(o!==33)return false;if(e.tag!==null){P(e,"duplication of a tag property")}o=e.input.charCodeAt(++e.position);if(o===60){n=true;o=e.input.charCodeAt(++e.position)}else if(o===33){r=true;i="!!";o=e.input.charCodeAt(++e.position)}else{i="!"}t=e.position;if(n){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&o!==62);if(e.position<e.length){a=e.input.slice(t,e.position);o=e.input.charCodeAt(++e.position)}else{P(e,"unexpected end of the stream within a verbatim tag")}}else{while(o!==0&&!E(o)){if(o===33){if(!r){i=e.input.slice(t-1,e.position+1);if(!y.test(i)){P(e,"named tag handle cannot contain such characters")}r=true;t=e.position+1}else{P(e,"tag suffix cannot contain exclamation marks")}}o=e.input.charCodeAt(++e.position)}a=e.input.slice(t,e.position);if(g.test(a)){P(e,"tag suffix cannot contain flow indicator characters")}}if(a&&!b.test(a)){P(e,"tag name cannot contain such characters: "+a)}try{a=decodeURIComponent(a)}catch(t){P(e,"tag name is malformed: "+a)}if(n){e.tag=a}else if(s.call(e.tagMap,i)){e.tag=e.tagMap[i]+a}else if(i==="!"){e.tag="!"+a}else if(i==="!!"){e.tag="tag:yaml.org,2002:"+a}else{P(e,'undeclared tag handle "'+i+'"')}return true}function Z(e){var t,n;n=e.input.charCodeAt(e.position);if(n!==38)return false;if(e.anchor!==null){P(e,"duplication of an anchor property")}n=e.input.charCodeAt(++e.position);t=e.position;while(n!==0&&!E(n)&&!S(n)){n=e.input.charCodeAt(++e.position)}if(e.position===t){P(e,"name of an anchor node must contain at least one character")}e.anchor=e.input.slice(t,e.position);return true}function ee(e){var t,n,r;r=e.input.charCodeAt(e.position);if(r!==42)return false;r=e.input.charCodeAt(++e.position);t=e.position;while(r!==0&&!E(r)&&!S(r)){r=e.input.charCodeAt(++e.position)}if(e.position===t){P(e,"name of an alias node must contain at least one character")}n=e.input.slice(t,e.position);if(!s.call(e.anchorMap,n)){P(e,'unidentified alias "'+n+'"')}e.result=e.anchorMap[n];H(e,true,-1);return true}function te(e,t,n,r,i){var a,o,p,f=1,h=false,m=false,v,g,y,b,w,C;if(e.listener!==null){e.listener("open",e)}e.tag=null;e.anchor=null;e.kind=null;e.result=null;a=o=p=d===n||u===n;if(r){if(H(e,true,-1)){h=true;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}}if(f===1){while(Q(e)||Z(e)){if(H(e,true,-1)){h=true;p=a;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}else{p=false}}}if(p){p=h||i}if(f===1||d===n){if(l===n||c===n){w=t}else{w=t+1}C=e.position-e.lineStart;if(f===1){if(p&&(Y(e,C)||J(e,C,w))||K(e,w)){m=true}else{if(o&&X(e,w)||V(e,w)||z(e,w)){m=true}else if(ee(e)){m=true;if(e.tag!==null||e.anchor!==null){P(e,"alias node should not have any properties")}}else if(q(e,w,l===n)){m=true;if(e.tag===null){e.tag="?"}}if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else if(f===0){m=p&&Y(e,C)}}if(e.tag===null){if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}else if(e.tag==="?"){if(e.result!==null&&e.kind!=="scalar"){P(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"')}for(v=0,g=e.implicitTypes.length;v<g;v+=1){b=e.implicitTypes[v];if(b.resolve(e.result)){e.result=b.construct(e.result);e.tag=b.tag;if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}break}}}else if(e.tag!=="!"){if(s.call(e.typeMap[e.kind||"fallback"],e.tag)){b=e.typeMap[e.kind||"fallback"][e.tag]}else{b=null;y=e.typeMap.multi[e.kind||"fallback"];for(v=0,g=y.length;v<g;v+=1){if(e.tag.slice(0,y[v].tag.length)===y[v].tag){b=y[v];break}}}if(!b){P(e,"unknown tag !<"+e.tag+">")}if(e.result!==null&&b.kind!==e.kind){P(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+b.kind+'", not "'+e.kind+'"')}if(!b.resolve(e.result,e.tag)){P(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=b.construct(e.result,e.tag);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function ne(e){var t=e.position,n,r,i,a=false,o;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap=Object.create(null);e.anchorMap=Object.create(null);while((o=e.input.charCodeAt(e.position))!==0){H(e,true,-1);o=e.input.charCodeAt(e.position);if(e.lineIndent>0||o!==37){break}a=true;o=e.input.charCodeAt(++e.position);n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}r=e.input.slice(n,e.position);i=[];if(r.length<1){P(e,"directive name must not be less than one character in length")}while(o!==0){while(x(o)){o=e.input.charCodeAt(++e.position)}if(o===35){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&!C(o));break}if(C(o))break;n=e.position;while(o!==0&&!E(o)){o=e.input.charCodeAt(++e.position)}i.push(e.input.slice(n,e.position))}if(o!==0)W(e);if(s.call(B,r)){B[r](e,r,i)}else{F(e,'unknown document directive "'+r+'"')}}H(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;H(e,true,-1)}else if(a){P(e,"directives end mark is expected")}te(e,e.lineIndent-1,d,false,true);H(e,true,-1);if(e.checkLineBreaks&&v.test(e.input.slice(t,e.position))){F(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&U(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;H(e,true,-1)}return}if(e.position<e.length-1){P(e,"end of the stream or a document separator is expected")}else{return}}function re(e,t){e=String(e);t=t||{};if(e.length!==0){if(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13){e+="\n"}if(e.charCodeAt(0)===65279){e=e.slice(1)}}var n=new O(e,t);var r=e.indexOf("\0");if(r!==-1){n.position=r;P(n,"null byte is not allowed in input")}n.input+="\0";while(n.input.charCodeAt(n.position)===32){n.lineIndent+=1;n.position+=1}while(n.position<n.length-1){ne(n)}return n.documents}function ie(e,t,n){if(t!==null&&typeof t==="object"&&typeof n==="undefined"){n=t;t=null}var r=re(e,n);if(typeof t!=="function"){return r}for(var i=0,a=r.length;i<a;i+=1){t(r[i])}}function ae(e,t){var n=re(e,t);if(n.length===0){return undefined}else if(n.length===1){return n[0]}throw new i("expected a single document in the stream, but found more")}e.exports.loadAll=ie;e.exports.load=ae},119:(e,t,n)=>{"use strict";var r=n(231);var i=n(388);function a(e,t){var n=[];e[t].forEach((function(e){var t=n.length;n.forEach((function(n,r){if(n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi){t=r}}));n[t]=e}));return n}function o(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){if(t.multi){e.multi[t.kind].push(t);e.multi["fallback"].push(t)}else{e[t.kind][t.tag]=e["fallback"][t.tag]=t}}for(t=0,n=arguments.length;t<n;t+=1){arguments[t].forEach(r)}return e}function s(e){return this.extend(e)}s.prototype.extend=function e(t){var n=[];var l=[];if(t instanceof i){l.push(t)}else if(Array.isArray(t)){l=l.concat(t)}else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit))){if(t.implicit)n=n.concat(t.implicit);if(t.explicit)l=l.concat(t.explicit)}else{throw new r("Schema.extend argument should be a Type, [ Type ], "+"or a schema definition ({ implicit: [...], explicit: [...] })")}n.forEach((function(e){if(!(e instanceof i)){throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(e.loadKind&&e.loadKind!=="scalar"){throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(e.multi){throw new r("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));l.forEach((function(e){if(!(e instanceof i)){throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var c=Object.create(s.prototype);c.implicit=(this.implicit||[]).concat(n);c.explicit=(this.explicit||[]).concat(l);c.compiledImplicit=a(c,"implicit");c.compiledExplicit=a(c,"explicit");c.compiledTypeMap=o(c.compiledImplicit,c.compiledExplicit);return c};e.exports=s},769:(e,t,n)=>{"use strict";e.exports=n(184)},489:(e,t,n)=>{"use strict";e.exports=n(769).extend({implicit:[n(127),n(851)],explicit:[n(342),n(946),n(942),n(663)]})},759:(e,t,n)=>{"use strict";var r=n(119);e.exports=new r({explicit:[n(212),n(636),n(369)]})},184:(e,t,n)=>{"use strict";e.exports=n(759).extend({implicit:[n(198),n(199),n(466),n(461)]})},83:(e,t,n)=>{"use strict";var r=n(433);function i(e,t,n,r,i){var a="";var o="";var s=Math.floor(i/2)-1;if(r-t>s){a=" ... ";t=r-s+a.length}if(n-r>s){o=" ...";n=r+s-o.length}return{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function a(e,t){return r.repeat(" ",t-e.length)+e}function o(e,t){t=Object.create(t||null);if(!e.buffer)return null;if(!t.maxLength)t.maxLength=79;if(typeof t.indent!=="number")t.indent=1;if(typeof t.linesBefore!=="number")t.linesBefore=3;if(typeof t.linesAfter!=="number")t.linesAfter=2;var n=/\r?\n|\r|\0/g;var o=[0];var s=[];var l;var c=-1;while(l=n.exec(e.buffer)){s.push(l.index);o.push(l.index+l[0].length);if(e.position<=l.index&&c<0){c=o.length-2}}if(c<0)c=o.length-1;var u="",d,p;var f=Math.min(e.line+t.linesAfter,s.length).toString().length;var h=t.maxLength-(t.indent+f+3);for(d=1;d<=t.linesBefore;d++){if(c-d<0)break;p=i(e.buffer,o[c-d],s[c-d],e.position-(o[c]-o[c-d]),h);u=r.repeat(" ",t.indent)+a((e.line-d+1).toString(),f)+" | "+p.str+"\n"+u}p=i(e.buffer,o[c],s[c],e.position,h);u+=r.repeat(" ",t.indent)+a((e.line+1).toString(),f)+" | "+p.str+"\n";u+=r.repeat("-",t.indent+f+3+p.pos)+"^"+"\n";for(d=1;d<=t.linesAfter;d++){if(c+d>=s.length)break;p=i(e.buffer,o[c+d],s[c+d],e.position-(o[c]-o[c+d]),h);u+=r.repeat(" ",t.indent)+a((e.line+d+1).toString(),f)+" | "+p.str+"\n"}return u.replace(/\n$/,"")}e.exports=o},388:(e,t,n)=>{"use strict";var r=n(231);var i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var a=["scalar","sequence","mapping"];function o(e){var t={};if(e!==null){Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))}))}return t}function s(e,t){t=t||{};Object.keys(t).forEach((function(t){if(i.indexOf(t)===-1){throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.options=t;this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.representName=t["representName"]||null;this.defaultStyle=t["defaultStyle"]||null;this.multi=t["multi"]||false;this.styleAliases=o(t["styleAliases"]||null);if(a.indexOf(this.kind)===-1){throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=s},342:(e,t,n)=>{"use strict";var r=n(388);var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function a(e){if(e===null)return false;var t,n,r=0,a=e.length,o=i;for(n=0;n<a;n++){t=o.indexOf(e.charAt(n));if(t>64)continue;if(t<0)return false;r+=6}return r%8===0}function o(e){var t,n,r=e.replace(/[\r\n=]/g,""),a=r.length,o=i,s=0,l=[];for(t=0;t<a;t++){if(t%4===0&&t){l.push(s>>16&255);l.push(s>>8&255);l.push(s&255)}s=s<<6|o.indexOf(r.charAt(t))}n=a%4*6;if(n===0){l.push(s>>16&255);l.push(s>>8&255);l.push(s&255)}else if(n===18){l.push(s>>10&255);l.push(s>>2&255)}else if(n===12){l.push(s>>4&255)}return new Uint8Array(l)}function s(e){var t="",n=0,r,a,o=e.length,s=i;for(r=0;r<o;r++){if(r%3===0&&r){t+=s[n>>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}n=(n<<8)+e[r]}a=o%3;if(a===0){t+=s[n>>18&63];t+=s[n>>12&63];t+=s[n>>6&63];t+=s[n&63]}else if(a===2){t+=s[n>>10&63];t+=s[n>>4&63];t+=s[n<<2&63];t+=s[64]}else if(a===1){t+=s[n>>2&63];t+=s[n<<4&63];t+=s[64];t+=s[64]}return t}function l(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a,construct:o,predicate:l,represent:s})},199:(e,t,n)=>{"use strict";var r=n(388);function i(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function a(e){return e==="true"||e==="True"||e==="TRUE"}function o(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},461:(e,t,n)=>{"use strict";var r=n(433);var i=n(388);var a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function o(e){if(e===null)return false;if(!a.test(e)||e[e.length-1]==="_"){return false}return true}function s(e){var t,n;t=e.replace(/_/g,"").toLowerCase();n=t[0]==="-"?-1:1;if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}return n*parseFloat(t,10)}var l=/^[-+]?[0-9]+e/;function c(e,t){var n;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(r.isNegativeZero(e)){return"-0.0"}n=e.toString(10);return l.test(n)?n.replace("e",".e"):n}function u(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||r.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:s,predicate:u,represent:c,defaultStyle:"lowercase"})},466:(e,t,n)=>{"use strict";var r=n(433);var i=n(388);function a(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function o(e){return 48<=e&&e<=55}function s(e){return 48<=e&&e<=57}function l(e){if(e===null)return false;var t=e.length,n=0,r=false,i;if(!t)return false;i=e[n];if(i==="-"||i==="+"){i=e[++n]}if(i==="0"){if(n+1===t)return true;i=e[++n];if(i==="b"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(i!=="0"&&i!=="1")return false;r=true}return r&&i!=="_"}if(i==="x"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!a(e.charCodeAt(n)))return false;r=true}return r&&i!=="_"}if(i==="o"){n++;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!o(e.charCodeAt(n)))return false;r=true}return r&&i!=="_"}}if(i==="_")return false;for(;n<t;n++){i=e[n];if(i==="_")continue;if(!s(e.charCodeAt(n))){return false}r=true}if(!r||i==="_")return false;return true}function c(e){var t=e,n=1,r;if(t.indexOf("_")!==-1){t=t.replace(/_/g,"")}r=t[0];if(r==="-"||r==="+"){if(r==="-")n=-1;t=t.slice(1);r=t[0]}if(t==="0")return 0;if(r==="0"){if(t[1]==="b")return n*parseInt(t.slice(2),2);if(t[1]==="x")return n*parseInt(t.slice(2),16);if(t[1]==="o")return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function u(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1===0&&!r.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:l,construct:c,predicate:u,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},369:(e,t,n)=>{"use strict";var r=n(388);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},851:(e,t,n)=>{"use strict";var r=n(388);function i(e){return e==="<<"||e===null}e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i})},198:(e,t,n)=>{"use strict";var r=n(388);function i(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function a(){return null}function o(e){return e===null}e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:i,construct:a,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},946:(e,t,n)=>{"use strict";var r=n(388);var i=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;function o(e){if(e===null)return true;var t=[],n,r,o,s,l,c=e;for(n=0,r=c.length;n<r;n+=1){o=c[n];l=false;if(a.call(o)!=="[object Object]")return false;for(s in o){if(i.call(o,s)){if(!l)l=true;else return false}}if(!l)return false;if(t.indexOf(s)===-1)t.push(s);else return false}return true}function s(e){return e!==null?e:[]}e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:o,construct:s})},942:(e,t,n)=>{"use strict";var r=n(388);var i=Object.prototype.toString;function a(e){if(e===null)return true;var t,n,r,a,o,s=e;o=new Array(s.length);for(t=0,n=s.length;t<n;t+=1){r=s[t];if(i.call(r)!=="[object Object]")return false;a=Object.keys(r);if(a.length!==1)return false;o[t]=[a[0],r[a[0]]]}return true}function o(e){if(e===null)return[];var t,n,r,i,a,o=e;a=new Array(o.length);for(t=0,n=o.length;t<n;t+=1){r=o[t];i=Object.keys(r);a[t]=[i[0],r[i[0]]]}return a}e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:a,construct:o})},636:(e,t,n)=>{"use strict";var r=n(388);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},663:(e,t,n)=>{"use strict";var r=n(388);var i=Object.prototype.hasOwnProperty;function a(e){if(e===null)return true;var t,n=e;for(t in n){if(i.call(n,t)){if(n[t]!==null)return false}}return true}function o(e){return e!==null?e:{}}e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:a,construct:o})},212:(e,t,n)=>{"use strict";var r=n(388);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},127:(e,t,n)=>{"use strict";var r=n(388);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function o(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(a.exec(e)!==null)return true;return false}function s(e){var t,n,r,o,s,l,c,u=0,d=null,p,f,h;t=i.exec(e);if(t===null)t=a.exec(e);if(t===null)throw new Error("Date resolve error");n=+t[1];r=+t[2]-1;o=+t[3];if(!t[4]){return new Date(Date.UTC(n,r,o))}s=+t[4];l=+t[5];c=+t[6];if(t[7]){u=t[7].slice(0,3);while(u.length<3){u+="0"}u=+u}if(t[9]){p=+t[10];f=+(t[11]||0);d=(p*60+f)*6e4;if(t[9]==="-")d=-d}h=new Date(Date.UTC(n,r,o,s,l,c,u));if(d)h.setTime(h.getTime()-d);return h}function l(e){return e.toISOString()}e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:o,construct:s,instanceOf:Date,represent:l})},194:function(e,t){
24
24
  /**
25
25
  * lite-url - Small, JS lib that uses regex for parsing a URL into it's component parts.
26
26
  * @version v1.0.5
27
27
  * @link https://github.com/sadams/lite-url
28
28
  * @license BSD-3-Clause
29
29
  */
30
- (function(){"use strict";function n(e,t,n){var r=e.split(t),i=r.shift();return n(i,r.join(t))}function r(e){var t={hash:"",host:"",hostname:"",origin:"",pathname:"",protocol:"",search:"",password:"",username:"",port:""};return n(e,"#",(function(e,r){r&&(t.hash=r?"#"+r:""),n(e,"?",(function(e,r){r&&(t.search="?"+r),e&&n(e,"//",(function(e,r){t.protocol=e,n(r,"/",(function(e,r){t.pathname="/"+(r||""),(t.protocol||e)&&(t.origin=t.protocol+"//"+e),n(e,"@",(function(e,r){if(r){var i=e.split(":");t.username=i[0],t.password=i[1]}else r=e;t.host=r,n(r,":",(function(e,n){t.hostname=e,n&&(t.port=n)}))}))}))}))}))})),t.href=t.origin+t.pathname+t.search+t.hash,t}function i(e){var t={},n=e.search;if(n){n=n.replace(new RegExp("\\?"),"");var r=n.split("&");for(var i in r)if(r.hasOwnProperty(i)&&r[i]){var a=r[i].split("=");t[a[0]]=a[1]}}return t}function a(e){var t=s[e];return"undefined"!=typeof t?t:(t=r(e),t.params=i(t),s[e]=t,t)}var o=this,s={};return a.changeQueryParser=function(e){i=e},true?(true&&e.exports&&(t=e.exports=a),t.liteURL=a):0,a}).call(this)},6863:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(e,t){if(true){!(__WEBPACK_AMD_DEFINE_FACTORY__=e,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__==="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}else{}})((function(){if(!Array.prototype.push){Array.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){this[this.length]=arguments[e]}return this.length}}if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length>0){var e=this[0];for(var t=0,n=this.length-1;t<n;t++){this[t]=this[t+1]}this.length=this.length-1;return e}}}if(!Array.prototype.splice){Array.prototype.splice=function(e,t){var n=this.slice(e+t);var r=this.slice(e,e+t);this.length=e;var i=[];for(var a=0,o=arguments.length;a<o;a++){i[a]=arguments[a]}var s=i.length>2?n=i.slice(2).concat(n):n;for(a=0,o=s.length;a<o;a++){this.push(s[a])}return r}}function isUndefined(e){return typeof e=="undefined"}function EventSupport(){}EventSupport.prototype={eventTypes:[],eventListeners:{},setEventTypes:function(e){if(e instanceof Array){this.eventTypes=e;this.eventListeners={};for(var t=0,n=this.eventTypes.length;t<n;t++){this.eventListeners[this.eventTypes[t]]=[]}}else{handleError("log4javascript.EventSupport ["+this+"]: setEventTypes: eventTypes parameter must be an Array")}},addEventListener:function(e,t){if(typeof t=="function"){if(!array_contains(this.eventTypes,e)){handleError("log4javascript.EventSupport ["+this+"]: addEventListener: no event called '"+e+"'")}this.eventListeners[e].push(t)}else{handleError("log4javascript.EventSupport ["+this+"]: addEventListener: listener must be a function")}},removeEventListener:function(e,t){if(typeof t=="function"){if(!array_contains(this.eventTypes,e)){handleError("log4javascript.EventSupport ["+this+"]: removeEventListener: no event called '"+e+"'")}array_remove(this.eventListeners[e],t)}else{handleError("log4javascript.EventSupport ["+this+"]: removeEventListener: listener must be a function")}},dispatchEvent:function(e,t){if(array_contains(this.eventTypes,e)){var n=this.eventListeners[e];for(var r=0,i=n.length;r<i;r++){n[r](this,e,t)}}else{handleError("log4javascript.EventSupport ["+this+"]: dispatchEvent: no event called '"+e+"'")}}};var applicationStartDate=new Date;var uniqueId="log4javascript_"+applicationStartDate.getTime()+"_"+Math.floor(Math.random()*1e8);var emptyFunction=function(){};var newLine="\r\n";var pageLoaded=false;function Log4JavaScript(){}Log4JavaScript.prototype=new EventSupport;var log4javascript=new Log4JavaScript;log4javascript.version="1.4.13";log4javascript.edition="log4javascript";function toStr(e){if(e&&e.toString){return e.toString()}else{return String(e)}}function getExceptionMessage(e){if(e.message){return e.message}else if(e.description){return e.description}else{return toStr(e)}}function getUrlFileName(e){var t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return e.substr(t+1)}function getExceptionStringRep(e){if(e){var t="Exception: "+getExceptionMessage(e);try{if(e.lineNumber){t+=" on line number "+e.lineNumber}if(e.fileName){t+=" in file "+getUrlFileName(e.fileName)}}catch(e){logLog.warn("Unable to obtain file and line information for error")}if(showStackTraces&&e.stack){t+=newLine+"Stack trace:"+newLine+e.stack}return t}return null}function bool(e){return Boolean(e)}function trim(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}function splitIntoLines(e){var t=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.split("\n")}var urlEncode=typeof window.encodeURIComponent!="undefined"?function(e){return encodeURIComponent(e)}:function(e){return escape(e).replace(/\+/g,"%2B").replace(/"/g,"%22").replace(/'/g,"%27").replace(/\//g,"%2F").replace(/=/g,"%3D")};function array_remove(e,t){var n=-1;for(var r=0,i=e.length;r<i;r++){if(e[r]===t){n=r;break}}if(n>=0){e.splice(n,1);return true}else{return false}}function array_contains(e,t){for(var n=0,r=e.length;n<r;n++){if(e[n]==t){return true}}return false}function extractBooleanFromParam(e,t){if(isUndefined(e)){return t}else{return bool(e)}}function extractStringFromParam(e,t){if(isUndefined(e)){return t}else{return String(e)}}function extractIntFromParam(e,t){if(isUndefined(e)){return t}else{try{var n=parseInt(e,10);return isNaN(n)?t:n}catch(n){logLog.warn("Invalid int param "+e,n);return t}}}function extractFunctionFromParam(e,t){if(typeof e=="function"){return e}else{return t}}function isError(e){return e instanceof Error}if(!Function.prototype.apply){Function.prototype.apply=function(obj,args){var methodName="__apply__";if(typeof obj[methodName]!="undefined"){methodName+=String(Math.random()).substr(2)}obj[methodName]=this;var argsStrings=[];for(var i=0,len=args.length;i<len;i++){argsStrings[i]="args["+i+"]"}var script="obj."+methodName+"("+argsStrings.join(",")+")";var returnValue=eval(script);delete obj[methodName];return returnValue}}if(!Function.prototype.call){Function.prototype.call=function(e){var t=[];for(var n=1,r=arguments.length;n<r;n++){t[n-1]=arguments[n]}return this.apply(e,t)}}var logLog={quietMode:false,debugMessages:[],setQuietMode:function(e){this.quietMode=bool(e)},numberOfErrors:0,alertAllErrors:false,setAlertAllErrors:function(e){this.alertAllErrors=e},debug:function(e){this.debugMessages.push(e)},displayDebug:function(){alert(this.debugMessages.join(newLine))},warn:function(e,t){},error:function(e,t){if(++this.numberOfErrors==1||this.alertAllErrors){if(!this.quietMode){var n="log4javascript error: "+e;if(t){n+=newLine+newLine+"Original error: "+getExceptionStringRep(t)}alert(n)}}}};log4javascript.logLog=logLog;log4javascript.setEventTypes(["load","error"]);function handleError(e,t){logLog.error(e,t);log4javascript.dispatchEvent("error",{message:e,exception:t})}log4javascript.handleError=handleError;var enabled=!(typeof log4javascript_disabled!="undefined"&&log4javascript_disabled);log4javascript.setEnabled=function(e){enabled=bool(e)};log4javascript.isEnabled=function(){return enabled};var useTimeStampsInMilliseconds=true;log4javascript.setTimeStampsInMilliseconds=function(e){useTimeStampsInMilliseconds=bool(e)};log4javascript.isTimeStampsInMilliseconds=function(){return useTimeStampsInMilliseconds};log4javascript.evalInScope=function(expr){return eval(expr)};var showStackTraces=false;log4javascript.setShowStackTraces=function(e){showStackTraces=bool(e)};var Level=function(e,t){this.level=e;this.name=t};Level.prototype={toString:function(){return this.name},equals:function(e){return this.level==e.level},isGreaterOrEqual:function(e){return this.level>=e.level}};Level.ALL=new Level(Number.MIN_VALUE,"ALL");Level.TRACE=new Level(1e4,"TRACE");Level.DEBUG=new Level(2e4,"DEBUG");Level.INFO=new Level(3e4,"INFO");Level.WARN=new Level(4e4,"WARN");Level.ERROR=new Level(5e4,"ERROR");Level.FATAL=new Level(6e4,"FATAL");Level.OFF=new Level(Number.MAX_VALUE,"OFF");log4javascript.Level=Level;function Timer(e,t){this.name=e;this.level=isUndefined(t)?Level.INFO:t;this.start=new Date}Timer.prototype.getElapsedTime=function(){return(new Date).getTime()-this.start.getTime()};var anonymousLoggerName="[anonymous]";var defaultLoggerName="[default]";var nullLoggerName="[null]";var rootLoggerName="root";function Logger(e){this.name=e;this.parent=null;this.children=[];var t=[];var n=null;var r=this.name===rootLoggerName;var i=this.name===nullLoggerName;var a=null;var o=false;this.addChild=function(e){this.children.push(e);e.parent=this;e.invalidateAppenderCache()};var s=true;this.getAdditivity=function(){return s};this.setAdditivity=function(e){var t=s!=e;s=e;if(t){this.invalidateAppenderCache()}};this.addAppender=function(e){if(i){handleError("Logger.addAppender: you may not add an appender to the null logger")}else{if(e instanceof log4javascript.Appender){if(!array_contains(t,e)){t.push(e);e.setAddedToLogger(this);this.invalidateAppenderCache()}}else{handleError("Logger.addAppender: appender supplied ('"+toStr(e)+"') is not a subclass of Appender")}}};this.removeAppender=function(e){array_remove(t,e);e.setRemovedFromLogger(this);this.invalidateAppenderCache()};this.removeAllAppenders=function(){var e=t.length;if(e>0){for(var n=0;n<e;n++){t[n].setRemovedFromLogger(this)}t.length=0;this.invalidateAppenderCache()}};this.getEffectiveAppenders=function(){if(a===null||o){var e=r||!this.getAdditivity()?[]:this.parent.getEffectiveAppenders();a=e.concat(t);o=false}return a};this.invalidateAppenderCache=function(){o=true;for(var e=0,t=this.children.length;e<t;e++){this.children[e].invalidateAppenderCache()}};this.log=function(e,t){if(enabled&&e.isGreaterOrEqual(this.getEffectiveLevel())){var n;var r=t.length-1;var i=t[r];if(t.length>1&&isError(i)){n=i;r--}var a=[];for(var o=0;o<=r;o++){a[o]=t[o]}var s=new LoggingEvent(this,new Date,e,a,n);this.callAppenders(s)}};this.callAppenders=function(e){var t=this.getEffectiveAppenders();for(var n=0,r=t.length;n<r;n++){t[n].doAppend(e)}};this.setLevel=function(e){if(r&&e===null){handleError("Logger.setLevel: you cannot set the level of the root logger to null")}else if(e instanceof Level){n=e}else{handleError("Logger.setLevel: level supplied to logger "+this.name+" is not an instance of log4javascript.Level")}};this.getLevel=function(){return n};this.getEffectiveLevel=function(){for(var e=this;e!==null;e=e.parent){var t=e.getLevel();if(t!==null){return t}}};this.group=function(e,t){if(enabled){var n=this.getEffectiveAppenders();for(var r=0,i=n.length;r<i;r++){n[r].group(e,t)}}};this.groupEnd=function(){if(enabled){var e=this.getEffectiveAppenders();for(var t=0,n=e.length;t<n;t++){e[t].groupEnd()}}};var l={};this.time=function(e,t){if(enabled){if(isUndefined(e)){handleError("Logger.time: a name for the timer must be supplied")}else if(t&&!(t instanceof Level)){handleError("Logger.time: level supplied to timer "+e+" is not an instance of log4javascript.Level")}else{l[e]=new Timer(e,t)}}};this.timeEnd=function(e){if(enabled){if(isUndefined(e)){handleError("Logger.timeEnd: a name for the timer must be supplied")}else if(l[e]){var t=l[e];var n=t.getElapsedTime();this.log(t.level,["Timer "+toStr(e)+" completed in "+n+"ms"]);delete l[e]}else{logLog.warn("Logger.timeEnd: no timer found with name "+e)}}};this.assert=function(e){if(enabled&&!e){var t=[];for(var n=1,r=arguments.length;n<r;n++){t.push(arguments[n])}t=t.length>0?t:["Assertion Failure"];t.push(newLine);t.push(e);this.log(Level.ERROR,t)}};this.toString=function(){return"Logger["+this.name+"]"}}Logger.prototype={trace:function(){this.log(Level.TRACE,arguments)},debug:function(){this.log(Level.DEBUG,arguments)},info:function(){this.log(Level.INFO,arguments)},warn:function(){this.log(Level.WARN,arguments)},error:function(){this.log(Level.ERROR,arguments)},fatal:function(){this.log(Level.FATAL,arguments)},isEnabledFor:function(e){return e.isGreaterOrEqual(this.getEffectiveLevel())},isTraceEnabled:function(){return this.isEnabledFor(Level.TRACE)},isDebugEnabled:function(){return this.isEnabledFor(Level.DEBUG)},isInfoEnabled:function(){return this.isEnabledFor(Level.INFO)},isWarnEnabled:function(){return this.isEnabledFor(Level.WARN)},isErrorEnabled:function(){return this.isEnabledFor(Level.ERROR)},isFatalEnabled:function(){return this.isEnabledFor(Level.FATAL)}};Logger.prototype.trace.isEntryPoint=true;Logger.prototype.debug.isEntryPoint=true;Logger.prototype.info.isEntryPoint=true;Logger.prototype.warn.isEntryPoint=true;Logger.prototype.error.isEntryPoint=true;Logger.prototype.fatal.isEntryPoint=true;var loggers={};var loggerNames=[];var ROOT_LOGGER_DEFAULT_LEVEL=Level.DEBUG;var rootLogger=new Logger(rootLoggerName);rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);log4javascript.getRootLogger=function(){return rootLogger};log4javascript.getLogger=function(e){if(typeof e!="string"){e=anonymousLoggerName;logLog.warn("log4javascript.getLogger: non-string logger name "+toStr(e)+" supplied, returning anonymous logger")}if(e==rootLoggerName){handleError("log4javascript.getLogger: root logger may not be obtained by name")}if(!loggers[e]){var t=new Logger(e);loggers[e]=t;loggerNames.push(e);var n=e.lastIndexOf(".");var r;if(n>-1){var i=e.substring(0,n);r=log4javascript.getLogger(i)}else{r=rootLogger}r.addChild(t)}return loggers[e]};var defaultLogger=null;log4javascript.getDefaultLogger=function(){if(!defaultLogger){defaultLogger=createDefaultLogger()}return defaultLogger};var nullLogger=null;log4javascript.getNullLogger=function(){if(!nullLogger){nullLogger=new Logger(nullLoggerName);nullLogger.setLevel(Level.OFF)}return nullLogger};log4javascript.resetConfiguration=function(){rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);loggers={}};var LoggingEvent=function(e,t,n,r,i){this.logger=e;this.timeStamp=t;this.timeStampInMilliseconds=t.getTime();this.timeStampInSeconds=Math.floor(this.timeStampInMilliseconds/1e3);this.milliseconds=this.timeStamp.getMilliseconds();this.level=n;this.messages=r;this.exception=i};LoggingEvent.prototype={getThrowableStrRep:function(){return this.exception?getExceptionStringRep(this.exception):""},getCombinedMessages:function(){return this.messages.length==1?this.messages[0]:this.messages.join(newLine)},toString:function(){return"LoggingEvent["+this.level+"]"}};log4javascript.LoggingEvent=LoggingEvent;var Layout=function(){};Layout.prototype={defaults:{loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url"},loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url",batchHeader:"",batchFooter:"",batchSeparator:"",returnsPostData:false,overrideTimeStampsSetting:false,useTimeStampsInMilliseconds:null,format:function(){handleError("Layout.format: layout supplied has no format() method")},ignoresThrowable:function(){handleError("Layout.ignoresThrowable: layout supplied has no ignoresThrowable() method")},getContentType:function(){return"text/plain"},allowBatching:function(){return true},setTimeStampsInMilliseconds:function(e){this.overrideTimeStampsSetting=true;this.useTimeStampsInMilliseconds=bool(e)},isTimeStampsInMilliseconds:function(){return this.overrideTimeStampsSetting?this.useTimeStampsInMilliseconds:useTimeStampsInMilliseconds},getTimeStampValue:function(e){return this.isTimeStampsInMilliseconds()?e.timeStampInMilliseconds:e.timeStampInSeconds},getDataValues:function(e,t){var n=[[this.loggerKey,e.logger.name],[this.timeStampKey,this.getTimeStampValue(e)],[this.levelKey,e.level.name],[this.urlKey,window.location.href],[this.messageKey,t?e.getCombinedMessages():e.messages]];if(!this.isTimeStampsInMilliseconds()){n.push([this.millisecondsKey,e.milliseconds])}if(e.exception){n.push([this.exceptionKey,getExceptionStringRep(e.exception)])}if(this.hasCustomFields()){for(var r=0,i=this.customFields.length;r<i;r++){var a=this.customFields[r].value;if(typeof a==="function"){a=a(this,e)}n.push([this.customFields[r].name,a])}}return n},setKeys:function(e,t,n,r,i,a,o){this.loggerKey=extractStringFromParam(e,this.defaults.loggerKey);this.timeStampKey=extractStringFromParam(t,this.defaults.timeStampKey);this.levelKey=extractStringFromParam(n,this.defaults.levelKey);this.messageKey=extractStringFromParam(r,this.defaults.messageKey);this.exceptionKey=extractStringFromParam(i,this.defaults.exceptionKey);this.urlKey=extractStringFromParam(a,this.defaults.urlKey);this.millisecondsKey=extractStringFromParam(o,this.defaults.millisecondsKey)},setCustomField:function(e,t){var n=false;for(var r=0,i=this.customFields.length;r<i;r++){if(this.customFields[r].name===e){this.customFields[r].value=t;n=true}}if(!n){this.customFields.push({name:e,value:t})}},hasCustomFields:function(){return this.customFields.length>0},formatWithException:function(e){var t=this.format(e);if(e.exception&&this.ignoresThrowable()){t+=e.getThrowableStrRep()}return t},toString:function(){handleError("Layout.toString: all layouts must override this method")}};log4javascript.Layout=Layout;var Appender=function(){};Appender.prototype=new EventSupport;Appender.prototype.layout=new PatternLayout;Appender.prototype.threshold=Level.ALL;Appender.prototype.loggers=[];Appender.prototype.doAppend=function(e){if(enabled&&e.level.level>=this.threshold.level){this.append(e)}};Appender.prototype.append=function(e){};Appender.prototype.setLayout=function(e){if(e instanceof Layout){this.layout=e}else{handleError("Appender.setLayout: layout supplied to "+this.toString()+" is not a subclass of Layout")}};Appender.prototype.getLayout=function(){return this.layout};Appender.prototype.setThreshold=function(e){if(e instanceof Level){this.threshold=e}else{handleError("Appender.setThreshold: threshold supplied to "+this.toString()+" is not a subclass of Level")}};Appender.prototype.getThreshold=function(){return this.threshold};Appender.prototype.setAddedToLogger=function(e){this.loggers.push(e)};Appender.prototype.setRemovedFromLogger=function(e){array_remove(this.loggers,e)};Appender.prototype.group=emptyFunction;Appender.prototype.groupEnd=emptyFunction;Appender.prototype.toString=function(){handleError("Appender.toString: all appenders must override this method")};log4javascript.Appender=Appender;function SimpleLayout(){this.customFields=[]}SimpleLayout.prototype=new Layout;SimpleLayout.prototype.format=function(e){return e.level.name+" - "+e.getCombinedMessages()};SimpleLayout.prototype.ignoresThrowable=function(){return true};SimpleLayout.prototype.toString=function(){return"SimpleLayout"};log4javascript.SimpleLayout=SimpleLayout;function NullLayout(){this.customFields=[]}NullLayout.prototype=new Layout;NullLayout.prototype.format=function(e){return e.messages};NullLayout.prototype.ignoresThrowable=function(){return true};NullLayout.prototype.formatWithException=function(e){var t=e.messages,n=e.exception;return n?t.concat([n]):t};NullLayout.prototype.toString=function(){return"NullLayout"};log4javascript.NullLayout=NullLayout;function XmlLayout(e){this.combineMessages=extractBooleanFromParam(e,true);this.customFields=[]}XmlLayout.prototype=new Layout;XmlLayout.prototype.isCombinedMessages=function(){return this.combineMessages};XmlLayout.prototype.getContentType=function(){return"text/xml"};XmlLayout.prototype.escapeCdata=function(e){return e.replace(/\]\]>/,"]]>]]&gt;<![CDATA[")};XmlLayout.prototype.format=function(e){var t=this;var n,r;function i(e){e=typeof e==="string"?e:toStr(e);return"<log4javascript:message><![CDATA["+t.escapeCdata(e)+"]]></log4javascript:message>"}var a='<log4javascript:event logger="'+e.logger.name+'" timestamp="'+this.getTimeStampValue(e)+'"';if(!this.isTimeStampsInMilliseconds()){a+=' milliseconds="'+e.milliseconds+'"'}a+=' level="'+e.level.name+'">'+newLine;if(this.combineMessages){a+=i(e.getCombinedMessages())}else{a+="<log4javascript:messages>"+newLine;for(n=0,r=e.messages.length;n<r;n++){a+=i(e.messages[n])+newLine}a+="</log4javascript:messages>"+newLine}if(this.hasCustomFields()){for(n=0,r=this.customFields.length;n<r;n++){a+='<log4javascript:customfield name="'+this.customFields[n].name+'"><![CDATA['+this.customFields[n].value.toString()+"]]></log4javascript:customfield>"+newLine}}if(e.exception){a+="<log4javascript:exception><![CDATA["+getExceptionStringRep(e.exception)+"]]></log4javascript:exception>"+newLine}a+="</log4javascript:event>"+newLine+newLine;return a};XmlLayout.prototype.ignoresThrowable=function(){return false};XmlLayout.prototype.toString=function(){return"XmlLayout"};log4javascript.XmlLayout=XmlLayout;function escapeNewLines(e){return e.replace(/\r\n|\r|\n/g,"\\r\\n")}function JsonLayout(e,t){this.readable=extractBooleanFromParam(e,false);this.combineMessages=extractBooleanFromParam(t,true);this.batchHeader=this.readable?"["+newLine:"[";this.batchFooter=this.readable?"]"+newLine:"]";this.batchSeparator=this.readable?","+newLine:",";this.setKeys();this.colon=this.readable?": ":":";this.tab=this.readable?"\t":"";this.lineBreak=this.readable?newLine:"";this.customFields=[]}JsonLayout.prototype=new Layout;JsonLayout.prototype.isReadable=function(){return this.readable};JsonLayout.prototype.isCombinedMessages=function(){return this.combineMessages};JsonLayout.prototype.format=function(e){var t=this;var n=this.getDataValues(e,this.combineMessages);var r="{"+this.lineBreak;var i,a;function o(e,n,r){var i;var a=typeof e;if(e instanceof Date){i=String(e.getTime())}else if(r&&e instanceof Array){i="["+t.lineBreak;for(var s=0,l=e.length;s<l;s++){var c=n+t.tab;i+=c+o(e[s],c,false);if(s<e.length-1){i+=","}i+=t.lineBreak}i+=n+"]"}else if(a!=="number"&&a!=="boolean"){i='"'+escapeNewLines(toStr(e).replace(/\"/g,'\\"'))+'"'}else{i=e}return i}for(i=0,a=n.length-1;i<=a;i++){r+=this.tab+'"'+n[i][0]+'"'+this.colon+o(n[i][1],this.tab,true);if(i<a){r+=","}r+=this.lineBreak}r+="}"+this.lineBreak;return r};JsonLayout.prototype.ignoresThrowable=function(){return false};JsonLayout.prototype.toString=function(){return"JsonLayout"};JsonLayout.prototype.getContentType=function(){return"application/json"};log4javascript.JsonLayout=JsonLayout;function HttpPostDataLayout(){this.setKeys();this.customFields=[];this.returnsPostData=true}HttpPostDataLayout.prototype=new Layout;HttpPostDataLayout.prototype.allowBatching=function(){return false};HttpPostDataLayout.prototype.format=function(e){var t=this.getDataValues(e);var n=[];for(var r=0,i=t.length;r<i;r++){var a=t[r][1]instanceof Date?String(t[r][1].getTime()):t[r][1];n.push(urlEncode(t[r][0])+"="+urlEncode(a))}return n.join("&")};HttpPostDataLayout.prototype.ignoresThrowable=function(e){return false};HttpPostDataLayout.prototype.toString=function(){return"HttpPostDataLayout"};log4javascript.HttpPostDataLayout=HttpPostDataLayout;function formatObjectExpansion(e,t,n){var r=[];function i(e,t,n){var a,o,s,l,c,u,d;if(!n){n=""}function p(e){var t=splitIntoLines(e);for(var r=1,i=t.length;r<i;r++){t[r]=n+t[r]}return t.join(newLine)}if(e===null){return"null"}else if(typeof e=="undefined"){return"undefined"}else if(typeof e=="string"){return p(e)}else if(typeof e=="object"&&array_contains(r,e)){try{u=toStr(e)}catch(e){u="Error formatting property. Details: "+getExceptionStringRep(e)}return u+" [already expanded]"}else if(e instanceof Array&&t>0){r.push(e);u="["+newLine;s=t-1;l=n+" ";c=[];for(a=0,o=e.length;a<o;a++){try{d=i(e[a],s,l);c.push(l+d)}catch(e){c.push(l+"Error formatting array member. Details: "+getExceptionStringRep(e)+"")}}u+=c.join(","+newLine)+newLine+n+"]";return u}else if(Object.prototype.toString.call(e)=="[object Date]"){return e.toString()}else if(typeof e=="object"&&t>0){r.push(e);u="{"+newLine;s=t-1;l=n+" ";c=[];for(a in e){try{d=i(e[a],s,l);c.push(l+a+": "+d)}catch(e){c.push(l+a+": Error formatting property. Details: "+getExceptionStringRep(e))}}u+=c.join(","+newLine)+newLine+n+"}";return u}else{return p(toStr(e))}}return i(e,t,n)}var SimpleDateFormat;(function(){var e=/('[^']*')|(G+|y+|M+|w+|W+|D+|d+|F+|E+|a+|H+|k+|K+|h+|m+|s+|S+|Z+)|([a-zA-Z]+)|([^a-zA-Z']+)/;var t=["January","February","March","April","May","June","July","August","September","October","November","December"];var n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var r=0,i=1,a=2,o=3,s=4,l=5;var c={G:r,y:o,M:s,w:a,W:a,D:a,d:a,F:a,E:i,a:r,H:a,k:a,K:a,h:a,m:a,s:a,S:a,Z:l};var u=24*60*60*1e3;var d=7*u;var p=1;var f=function(e,t,n){var r=new Date(e,t,n,0,0,0);r.setMilliseconds(0);return r};Date.prototype.getDifference=function(e){return this.getTime()-e.getTime()};Date.prototype.isBefore=function(e){return this.getTime()<e.getTime()};Date.prototype.getUTCTime=function(){return Date.UTC(this.getFullYear(),this.getMonth(),this.getDate(),this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds())};Date.prototype.getTimeSince=function(e){return this.getUTCTime()-e.getUTCTime()};Date.prototype.getPreviousSunday=function(){var e=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12,0,0);var t=new Date(e.getTime()-this.getDay()*u);return f(t.getFullYear(),t.getMonth(),t.getDate())};Date.prototype.getWeekInYear=function(e){if(isUndefined(this.minimalDaysInFirstWeek)){e=p}var t=this.getPreviousSunday();var n=f(this.getFullYear(),0,1);var r=t.isBefore(n)?0:1+Math.floor(t.getTimeSince(n)/d);var i=7-n.getDay();var a=r;if(i<e){a--}return a};Date.prototype.getWeekInMonth=function(e){if(isUndefined(this.minimalDaysInFirstWeek)){e=p}var t=this.getPreviousSunday();var n=f(this.getFullYear(),this.getMonth(),1);var r=t.isBefore(n)?0:1+Math.floor(t.getTimeSince(n)/d);var i=7-n.getDay();var a=r;if(i>=e){a++}return a};Date.prototype.getDayInYear=function(){var e=f(this.getFullYear(),0,1);return 1+Math.floor(this.getTimeSince(e)/u)};SimpleDateFormat=function(e){this.formatString=e};SimpleDateFormat.prototype.setMinimalDaysInFirstWeek=function(e){this.minimalDaysInFirstWeek=e};SimpleDateFormat.prototype.getMinimalDaysInFirstWeek=function(){return isUndefined(this.minimalDaysInFirstWeek)?p:this.minimalDaysInFirstWeek};var h=function(e,t){while(e.length<t){e="0"+e}return e};var m=function(e,t,n){return t>=4?e:e.substr(0,Math.max(n,t))};var g=function(e,t){var n=""+e;return h(n,t)};SimpleDateFormat.prototype.format=function(u){var d="";var p;var f=this.formatString;while(p=e.exec(f)){var v=p[1];var y=p[2];var b=p[3];var w=p[4];if(v){if(v=="''"){d+="'"}else{d+=v.substring(1,v.length-1)}}else if(b){}else if(w){d+=w}else if(y){var C=y.charAt(0);var x=y.length;var E="";switch(C){case"G":E="AD";break;case"y":E=u.getFullYear();break;case"M":E=u.getMonth();break;case"w":E=u.getWeekInYear(this.getMinimalDaysInFirstWeek());break;case"W":E=u.getWeekInMonth(this.getMinimalDaysInFirstWeek());break;case"D":E=u.getDayInYear();break;case"d":E=u.getDate();break;case"F":E=1+Math.floor((u.getDate()-1)/7);break;case"E":E=n[u.getDay()];break;case"a":E=u.getHours()>=12?"PM":"AM";break;case"H":E=u.getHours();break;case"k":E=u.getHours()||24;break;case"K":E=u.getHours()%12;break;case"h":E=u.getHours()%12||12;break;case"m":E=u.getMinutes();break;case"s":E=u.getSeconds();break;case"S":E=u.getMilliseconds();break;case"Z":E=u.getTimezoneOffset();break}switch(c[C]){case r:d+=m(E,x,2);break;case i:d+=m(E,x,3);break;case a:d+=g(E,x);break;case o:if(x<=3){var S=""+E;d+=S.substr(2,2)}else{d+=g(E,x)}break;case s:if(x>=3){d+=m(t[E],x,x)}else{d+=g(E+1,x)}break;case l:var L=E>0;var k=L?"-":"+";var T=Math.abs(E);var A=""+Math.floor(T/60);A=h(A,2);var I=""+T%60;I=h(I,2);d+=k+A+I;break}}f=f.substr(p.index+p[0].length)}return d}})();log4javascript.SimpleDateFormat=SimpleDateFormat;function PatternLayout(e){if(e){this.pattern=e}else{this.pattern=PatternLayout.DEFAULT_CONVERSION_PATTERN}this.customFields=[]}PatternLayout.TTCC_CONVERSION_PATTERN="%r %p %c - %m%n";PatternLayout.DEFAULT_CONVERSION_PATTERN="%m%n";PatternLayout.ISO8601_DATEFORMAT="yyyy-MM-dd HH:mm:ss,SSS";PatternLayout.DATETIME_DATEFORMAT="dd MMM yyyy HH:mm:ss,SSS";PatternLayout.ABSOLUTETIME_DATEFORMAT="HH:mm:ss,SSS";PatternLayout.prototype=new Layout;PatternLayout.prototype.format=function(e){var t=/%(-?[0-9]+)?(\.?[0-9]+)?([acdfmMnpr%])(\{([^\}]+)\})?|([^%]+)/;var n="";var r;var i=this.pattern;while(r=t.exec(i)){var a=r[0];var o=r[1];var s=r[2];var l=r[3];var c=r[5];var u=r[6];if(u){n+=""+u}else{var d="";switch(l){case"a":case"m":var p=0;if(c){p=parseInt(c,10);if(isNaN(p)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character '"+l+"' - should be a number");p=0}}var f=l==="a"?e.messages[0]:e.messages;for(var h=0,m=f.length;h<m;h++){if(h>0&&d.charAt(d.length-1)!==" "){d+=" "}if(p===0){d+=f[h]}else{d+=formatObjectExpansion(f[h],p)}}break;case"c":var g=e.logger.name;if(c){var v=parseInt(c,10);var y=e.logger.name.split(".");if(v>=y.length){d=g}else{d=y.slice(y.length-v).join(".")}}else{d=g}break;case"d":var b=PatternLayout.ISO8601_DATEFORMAT;if(c){b=c;if(b=="ISO8601"){b=PatternLayout.ISO8601_DATEFORMAT}else if(b=="ABSOLUTE"){b=PatternLayout.ABSOLUTETIME_DATEFORMAT}else if(b=="DATE"){b=PatternLayout.DATETIME_DATEFORMAT}}d=new SimpleDateFormat(b).format(e.timeStamp);break;case"f":if(this.hasCustomFields()){var w=0;if(c){w=parseInt(c,10);if(isNaN(w)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - should be a number")}else if(w===0){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - must be greater than zero")}else if(w>this.customFields.length){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - there aren't that many custom fields")}else{w=w-1}}var C=this.customFields[w].value;if(typeof C=="function"){C=C(this,e)}d=C}break;case"n":d=newLine;break;case"p":d=e.level.name;break;case"r":d=""+e.timeStamp.getDifference(applicationStartDate);break;case"%":d="%";break;default:d=a;break}var x;if(s){x=parseInt(s.substr(1),10);var E=d.length;if(x<E){d=d.substring(E-x,E)}}if(o){if(o.charAt(0)=="-"){x=parseInt(o.substr(1),10);while(d.length<x){d+=" "}}else{x=parseInt(o,10);while(d.length<x){d=" "+d}}}n+=d}i=i.substr(r.index+r[0].length)}return n};PatternLayout.prototype.ignoresThrowable=function(){return true};PatternLayout.prototype.toString=function(){return"PatternLayout"};log4javascript.PatternLayout=PatternLayout;function AlertAppender(){}AlertAppender.prototype=new Appender;AlertAppender.prototype.layout=new SimpleLayout;AlertAppender.prototype.append=function(e){alert(this.getLayout().formatWithException(e))};AlertAppender.prototype.toString=function(){return"AlertAppender"};log4javascript.AlertAppender=AlertAppender;function BrowserConsoleAppender(){}BrowserConsoleAppender.prototype=new log4javascript.Appender;BrowserConsoleAppender.prototype.layout=new NullLayout;BrowserConsoleAppender.prototype.threshold=Level.DEBUG;BrowserConsoleAppender.prototype.append=function(e){var t=this;var n=function(n){var r=t.getLayout().formatWithException(e);return typeof r=="string"?n?r:[r]:n?r.join(" "):r};var r=window.console;if(r&&r.log){var i;if(r.debug&&Level.DEBUG.isGreaterOrEqual(e.level)){i="debug"}else if(r.info&&Level.INFO.equals(e.level)){i="info"}else if(r.warn&&Level.WARN.equals(e.level)){i="warn"}else if(r.error&&e.level.isGreaterOrEqual(Level.ERROR)){i="error"}else{i="log"}if(typeof r[i].apply=="function"){r[i].apply(r,n(false))}else{r[i](n(true))}}else if(typeof opera!="undefined"&&opera.postError){opera.postError(n(true))}};BrowserConsoleAppender.prototype.group=function(e){if(window.console&&window.console.group){window.console.group(e)}};BrowserConsoleAppender.prototype.groupEnd=function(){if(window.console&&window.console.groupEnd){window.console.groupEnd()}};BrowserConsoleAppender.prototype.toString=function(){return"BrowserConsoleAppender"};log4javascript.BrowserConsoleAppender=BrowserConsoleAppender;var xhrFactory=function(){return new XMLHttpRequest};var xmlHttpFactories=[xhrFactory,function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];var withCredentialsSupported=false;var getXmlHttp=function(e){var t=null,n;for(var r=0,i=xmlHttpFactories.length;r<i;r++){n=xmlHttpFactories[r];try{t=n();withCredentialsSupported=n==xhrFactory&&"withCredentials"in t;getXmlHttp=n;return t}catch(e){}}if(e){e()}else{handleError("getXmlHttp: unable to obtain XMLHttpRequest object")}};function isHttpRequestSuccessful(e){return isUndefined(e.status)||e.status===0||e.status>=200&&e.status<300||e.status==1223}function AjaxAppender(e,t){var n=this;var r=true;if(!e){handleError("AjaxAppender: URL must be specified in constructor");r=false}var i=this.defaults.timed;var a=this.defaults.waitForResponse;var o=this.defaults.batchSize;var s=this.defaults.timerInterval;var l=this.defaults.requestSuccessCallback;var c=this.defaults.failCallback;var u=this.defaults.postVarName;var d=this.defaults.sendAllOnUnload;var p=this.defaults.contentType;var f=null;var h=[];var m=[];var g=[];var v=false;var y=false;function b(e){if(y){handleError("AjaxAppender: configuration option '"+e+"' may not be set after the appender has been initialized");return false}return true}this.getSessionId=function(){return f};this.setSessionId=function(e){f=extractStringFromParam(e,null);this.layout.setCustomField("sessionid",f)};this.setLayout=function(e){if(b("layout")){this.layout=e;if(f!==null){this.setSessionId(f)}}};this.isTimed=function(){return i};this.setTimed=function(e){if(b("timed")){i=bool(e)}};this.getTimerInterval=function(){return s};this.setTimerInterval=function(e){if(b("timerInterval")){s=extractIntFromParam(e,s)}};this.isWaitForResponse=function(){return a};this.setWaitForResponse=function(e){if(b("waitForResponse")){a=bool(e)}};this.getBatchSize=function(){return o};this.setBatchSize=function(e){if(b("batchSize")){o=extractIntFromParam(e,o)}};this.isSendAllOnUnload=function(){return d};this.setSendAllOnUnload=function(e){if(b("sendAllOnUnload")){d=extractBooleanFromParam(e,d)}};this.setRequestSuccessCallback=function(e){l=extractFunctionFromParam(e,l)};this.setFailCallback=function(e){c=extractFunctionFromParam(e,c)};this.getPostVarName=function(){return u};this.setPostVarName=function(e){if(b("postVarName")){u=extractStringFromParam(e,u)}};this.getHeaders=function(){return g};this.addHeader=function(e,t){if(e.toLowerCase()=="content-type"){p=t}else{g.push({name:e,value:t})}};function w(){if(r&&enabled){v=true;var e;if(a){if(m.length>0){e=m.shift();L(x(e),w)}else{v=false;if(i){E()}}}else{while(e=m.shift()){L(x(e))}v=false;if(i){E()}}}}this.sendAll=w;function C(){var e=false;if(r&&enabled){var t=n.getLayout().allowBatching()?o:1;var s;var l=[];while(s=h.shift()){l.push(s);if(h.length>=t){m.push(l);l=[]}}if(l.length>0){m.push(l)}e=m.length>0;a=false;i=false;w()}return e}this.sendAllRemaining=C;function x(e){var t=[];var r;var i="";while(r=e.shift()){t.push(n.getLayout().formatWithException(r))}if(e.length==1){i=t.join("")}else{i=n.getLayout().batchHeader+t.join(n.getLayout().batchSeparator)+n.getLayout().batchFooter}if(p==n.defaults.contentType){i=n.getLayout().returnsPostData?i:urlEncode(u)+"="+urlEncode(i);if(i.length>0){i+="&"}i+="layout="+urlEncode(n.getLayout().toString())}return i}function E(){window.setTimeout(w,s)}function S(){var e="AjaxAppender: could not create XMLHttpRequest object. AjaxAppender disabled";handleError(e);r=false;if(c){c(e)}}function L(n,i){try{var a=getXmlHttp(S);if(r){a.onreadystatechange=function(){if(a.readyState==4){if(isHttpRequestSuccessful(a)){if(l){l(a)}if(i){i(a)}}else{var t="AjaxAppender.append: XMLHttpRequest request to URL "+e+" returned status code "+a.status;handleError(t);if(c){c(t)}}a.onreadystatechange=emptyFunction;a=null}};a.open("POST",e,true);if(t&&withCredentialsSupported){a.withCredentials=true}try{for(var o=0,s;s=g[o++];){a.setRequestHeader(s.name,s.value)}a.setRequestHeader("Content-Type",p)}catch(e){var u="AjaxAppender.append: your browser's XMLHttpRequest implementation"+" does not support setRequestHeader, therefore cannot post data. AjaxAppender disabled";handleError(u);r=false;if(c){c(u)}return}a.send(n)}}catch(t){var d="AjaxAppender.append: error sending log message to "+e;handleError(d,t);r=false;if(c){c(d+". Details: "+getExceptionStringRep(t))}}}this.append=function(e){if(r){if(!y){k()}h.push(e);var t=this.getLayout().allowBatching()?o:1;if(h.length>=t){var n;var s=[];while(n=h.shift()){s.push(n)}m.push(s);if(!i&&(!a||a&&!v)){w()}}}};function k(){y=true;if(d){var e=window.onbeforeunload;window.onbeforeunload=function(){if(e){e()}C()}}if(i){E()}}}AjaxAppender.prototype=new Appender;AjaxAppender.prototype.defaults={waitForResponse:false,timed:false,timerInterval:1e3,batchSize:1,sendAllOnUnload:false,requestSuccessCallback:null,failCallback:null,postVarName:"data",contentType:"application/x-www-form-urlencoded"};AjaxAppender.prototype.layout=new HttpPostDataLayout;AjaxAppender.prototype.toString=function(){return"AjaxAppender"};log4javascript.AjaxAppender=AjaxAppender;function setCookie(e,t,n,r){var i;r=r?"; path="+r:"";if(n){var a=new Date;a.setTime(a.getTime()+n*24*60*60*1e3);i="; expires="+a.toGMTString()}else{i=""}document.cookie=escape(e)+"="+escape(t)+i+r}function getCookie(e){var t=escape(e)+"=";var n=document.cookie.split(";");for(var r=0,i=n.length;r<i;r++){var a=n[r];while(a.charAt(0)===" "){a=a.substring(1,a.length)}if(a.indexOf(t)===0){return unescape(a.substring(t.length,a.length))}}return null}function getBaseUrl(){var e=document.getElementsByTagName("script");for(var t=0,n=e.length;t<n;++t){if(e[t].src.indexOf("log4javascript")!=-1){var r=e[t].src.lastIndexOf("/");return r==-1?"":e[t].src.substr(0,r+1)}}return null}function isLoaded(e){try{return bool(e.loaded)}catch(e){return false}}var ConsoleAppender;(function(){var e=function(){return['<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">','<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">',"<head>","<title>log4javascript</title>",'<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',"\x3c!-- Make IE8 behave like IE7, having gone to all the trouble of making IE work --\x3e",'<meta http-equiv="X-UA-Compatible" content="IE=7" />','<script type="text/javascript">var isIe = false, isIePre7 = false;<\/script>','\x3c!--[if IE]><script type="text/javascript">isIe = true<\/script><![endif]--\x3e','\x3c!--[if lt IE 7]><script type="text/javascript">isIePre7 = true<\/script><![endif]--\x3e','<script type="text/javascript">',"//<![CDATA[","var loggingEnabled=true;var logQueuedEventsTimer=null;var logEntries=[];var logEntriesAndSeparators=[];var logItems=[];var renderDelay=100;var unrenderedLogItemsExist=false;var rootGroup,currentGroup=null;var loaded=false;var currentLogItem=null;var logMainContainer;function copyProperties(obj,props){for(var i in props){obj[i]=props[i];}}","function LogItem(){}","LogItem.prototype={mainContainer:null,wrappedContainer:null,unwrappedContainer:null,group:null,appendToLog:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].appendToLog();}","this.group.update();},doRemove:function(doUpdate,removeFromGroup){if(this.rendered){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].remove();}","this.unwrappedElementContainer=null;this.wrappedElementContainer=null;this.mainElementContainer=null;}","if(this.group&&removeFromGroup){this.group.removeChild(this,doUpdate);}","if(this===currentLogItem){currentLogItem=null;}},remove:function(doUpdate,removeFromGroup){this.doRemove(doUpdate,removeFromGroup);},render:function(){},accept:function(visitor){visitor.visit(this);},getUnwrappedDomContainer:function(){return this.group.unwrappedElementContainer.contentDiv;},getWrappedDomContainer:function(){return this.group.wrappedElementContainer.contentDiv;},getMainDomContainer:function(){return this.group.mainElementContainer.contentDiv;}};LogItem.serializedItemKeys={LOG_ENTRY:0,GROUP_START:1,GROUP_END:2};function LogItemContainerElement(){}",'LogItemContainerElement.prototype={appendToLog:function(){var insertBeforeFirst=(newestAtTop&&this.containerDomNode.hasChildNodes());if(insertBeforeFirst){this.containerDomNode.insertBefore(this.mainDiv,this.containerDomNode.firstChild);}else{this.containerDomNode.appendChild(this.mainDiv);}}};function SeparatorElementContainer(containerDomNode){this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="separator";this.mainDiv.innerHTML="&nbsp;";}',"SeparatorElementContainer.prototype=new LogItemContainerElement();SeparatorElementContainer.prototype.remove=function(){this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;};function Separator(){this.rendered=false;}","Separator.prototype=new LogItem();copyProperties(Separator.prototype,{render:function(){var containerDomNode=this.group.contentDiv;if(isIe){this.unwrappedElementContainer=new SeparatorElementContainer(this.getUnwrappedDomContainer());this.wrappedElementContainer=new SeparatorElementContainer(this.getWrappedDomContainer());this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{this.mainElementContainer=new SeparatorElementContainer(this.getMainDomContainer());this.elementContainers=[this.mainElementContainer];}",'this.content=this.formattedMessage;this.rendered=true;}});function GroupElementContainer(group,containerDomNode,isRoot,isWrapped){this.group=group;this.containerDomNode=containerDomNode;this.isRoot=isRoot;this.isWrapped=isWrapped;this.expandable=false;if(this.isRoot){if(isIe){this.contentDiv=logMainContainer.appendChild(document.createElement("div"));this.contentDiv.id=this.isWrapped?"log_wrapped":"log_unwrapped";}else{this.contentDiv=logMainContainer;}}else{var groupElementContainer=this;this.mainDiv=document.createElement("div");this.mainDiv.className="group";this.headingDiv=this.mainDiv.appendChild(document.createElement("div"));this.headingDiv.className="groupheading";this.expander=this.headingDiv.appendChild(document.createElement("span"));this.expander.className="expander unselectable greyedout";this.expander.unselectable=true;var expanderText=this.group.expanded?"-":"+";this.expanderTextNode=this.expander.appendChild(document.createTextNode(expanderText));this.headingDiv.appendChild(document.createTextNode(" "+this.group.name));this.contentDiv=this.mainDiv.appendChild(document.createElement("div"));var contentCssClass=this.group.expanded?"expanded":"collapsed";this.contentDiv.className="groupcontent "+contentCssClass;this.expander.onclick=function(){if(groupElementContainer.group.expandable){groupElementContainer.group.toggleExpanded();}};}}','GroupElementContainer.prototype=new LogItemContainerElement();copyProperties(GroupElementContainer.prototype,{toggleExpanded:function(){if(!this.isRoot){var oldCssClass,newCssClass,expanderText;if(this.group.expanded){newCssClass="expanded";oldCssClass="collapsed";expanderText="-";}else{newCssClass="collapsed";oldCssClass="expanded";expanderText="+";}',"replaceClass(this.contentDiv,newCssClass,oldCssClass);this.expanderTextNode.nodeValue=expanderText;}},remove:function(){if(!this.isRoot){this.headingDiv=null;this.expander.onclick=null;this.expander=null;this.expanderTextNode=null;this.contentDiv=null;this.containerDomNode=null;this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;}},reverseChildren:function(){var node=null;var childDomNodes=[];while((node=this.contentDiv.firstChild)){this.contentDiv.removeChild(node);childDomNodes.push(node);}",'while((node=childDomNodes.pop())){this.contentDiv.appendChild(node);}},update:function(){if(!this.isRoot){if(this.group.expandable){removeClass(this.expander,"greyedout");}else{addClass(this.expander,"greyedout");}}},clear:function(){if(this.isRoot){this.contentDiv.innerHTML="";}}});function Group(name,isRoot,initiallyExpanded){this.name=name;this.group=null;this.isRoot=isRoot;this.initiallyExpanded=initiallyExpanded;this.elementContainers=[];this.children=[];this.expanded=initiallyExpanded;this.rendered=false;this.expandable=false;}',"Group.prototype=new LogItem();copyProperties(Group.prototype,{addChild:function(logItem){this.children.push(logItem);logItem.group=this;},render:function(){if(isIe){var unwrappedDomContainer,wrappedDomContainer;if(this.isRoot){unwrappedDomContainer=logMainContainer;wrappedDomContainer=logMainContainer;}else{unwrappedDomContainer=this.getUnwrappedDomContainer();wrappedDomContainer=this.getWrappedDomContainer();}","this.unwrappedElementContainer=new GroupElementContainer(this,unwrappedDomContainer,this.isRoot,false);this.wrappedElementContainer=new GroupElementContainer(this,wrappedDomContainer,this.isRoot,true);this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{var mainDomContainer=this.isRoot?logMainContainer:this.getMainDomContainer();this.mainElementContainer=new GroupElementContainer(this,mainDomContainer,this.isRoot,false);this.elementContainers=[this.mainElementContainer];}","this.rendered=true;},toggleExpanded:function(){this.expanded=!this.expanded;for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].toggleExpanded();}},expand:function(){if(!this.expanded){this.toggleExpanded();}},accept:function(visitor){visitor.visitGroup(this);},reverseChildren:function(){if(this.rendered){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].reverseChildren();}}},update:function(){var previouslyExpandable=this.expandable;this.expandable=(this.children.length!==0);if(this.expandable!==previouslyExpandable){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].update();}}},flatten:function(){var visitor=new GroupFlattener();this.accept(visitor);return visitor.logEntriesAndSeparators;},removeChild:function(child,doUpdate){array_remove(this.children,child);child.group=null;if(doUpdate){this.update();}},remove:function(doUpdate,removeFromGroup){for(var i=0,len=this.children.length;i<len;i++){this.children[i].remove(false,false);}","this.children=[];this.update();if(this===currentGroup){currentGroup=this.group;}","this.doRemove(doUpdate,removeFromGroup);},serialize:function(items){items.push([LogItem.serializedItemKeys.GROUP_START,this.name]);for(var i=0,len=this.children.length;i<len;i++){this.children[i].serialize(items);}","if(this!==currentGroup){items.push([LogItem.serializedItemKeys.GROUP_END]);}},clear:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].clear();}}});function LogEntryElementContainer(){}",'LogEntryElementContainer.prototype=new LogItemContainerElement();copyProperties(LogEntryElementContainer.prototype,{remove:function(){this.doRemove();},doRemove:function(){this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;this.contentElement=null;this.containerDomNode=null;},setContent:function(content,wrappedContent){if(content===this.formattedMessage){this.contentElement.innerHTML="";this.contentElement.appendChild(document.createTextNode(this.formattedMessage));}else{this.contentElement.innerHTML=content;}},setSearchMatch:function(isMatch){var oldCssClass=isMatch?"searchnonmatch":"searchmatch";var newCssClass=isMatch?"searchmatch":"searchnonmatch";replaceClass(this.mainDiv,newCssClass,oldCssClass);},clearSearch:function(){removeClass(this.mainDiv,"searchmatch");removeClass(this.mainDiv,"searchnonmatch");}});function LogEntryWrappedElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.appendChild(document.createTextNode(this.logEntry.formattedMessage));this.mainDiv.className="logentry wrapped "+this.logEntry.level;this.contentElement=this.mainDiv;}','LogEntryWrappedElementContainer.prototype=new LogEntryElementContainer();LogEntryWrappedElementContainer.prototype.setContent=function(content,wrappedContent){if(content===this.formattedMessage){this.contentElement.innerHTML="";this.contentElement.appendChild(document.createTextNode(this.formattedMessage));}else{this.contentElement.innerHTML=wrappedContent;}};function LogEntryUnwrappedElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="logentry unwrapped "+this.logEntry.level;this.pre=this.mainDiv.appendChild(document.createElement("pre"));this.pre.appendChild(document.createTextNode(this.logEntry.formattedMessage));this.pre.className="unwrapped";this.contentElement=this.pre;}','LogEntryUnwrappedElementContainer.prototype=new LogEntryElementContainer();LogEntryUnwrappedElementContainer.prototype.remove=function(){this.doRemove();this.pre=null;};function LogEntryMainElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="logentry nonielogentry "+this.logEntry.level;this.contentElement=this.mainDiv.appendChild(document.createElement("span"));this.contentElement.appendChild(document.createTextNode(this.logEntry.formattedMessage));}',"LogEntryMainElementContainer.prototype=new LogEntryElementContainer();function LogEntry(level,formattedMessage){this.level=level;this.formattedMessage=formattedMessage;this.rendered=false;}",'LogEntry.prototype=new LogItem();copyProperties(LogEntry.prototype,{render:function(){var logEntry=this;var containerDomNode=this.group.contentDiv;if(isIe){this.formattedMessage=this.formattedMessage.replace(/\\r\\n/g,"\\r");this.unwrappedElementContainer=new LogEntryUnwrappedElementContainer(this,this.getUnwrappedDomContainer());this.wrappedElementContainer=new LogEntryWrappedElementContainer(this,this.getWrappedDomContainer());this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{this.mainElementContainer=new LogEntryMainElementContainer(this,this.getMainDomContainer());this.elementContainers=[this.mainElementContainer];}','this.content=this.formattedMessage;this.rendered=true;},setContent:function(content,wrappedContent){if(content!=this.content){if(isIe&&(content!==this.formattedMessage)){content=content.replace(/\\r\\n/g,"\\r");}',"for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].setContent(content,wrappedContent);}",'this.content=content;}},getSearchMatches:function(){var matches=[];var i,len;if(isIe){var unwrappedEls=getElementsByClass(this.unwrappedElementContainer.mainDiv,"searchterm","span");var wrappedEls=getElementsByClass(this.wrappedElementContainer.mainDiv,"searchterm","span");for(i=0,len=unwrappedEls.length;i<len;i++){matches[i]=new Match(this.level,null,unwrappedEls[i],wrappedEls[i]);}}else{var els=getElementsByClass(this.mainElementContainer.mainDiv,"searchterm","span");for(i=0,len=els.length;i<len;i++){matches[i]=new Match(this.level,els[i]);}}',"return matches;},setSearchMatch:function(isMatch){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].setSearchMatch(isMatch);}},clearSearch:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].clearSearch();}},accept:function(visitor){visitor.visitLogEntry(this);},serialize:function(items){items.push([LogItem.serializedItemKeys.LOG_ENTRY,this.level,this.formattedMessage]);}});function LogItemVisitor(){}","LogItemVisitor.prototype={visit:function(logItem){},visitParent:function(logItem){if(logItem.group){logItem.group.accept(this);}},visitChildren:function(logItem){for(var i=0,len=logItem.children.length;i<len;i++){logItem.children[i].accept(this);}},visitLogEntry:function(logEntry){this.visit(logEntry);},visitSeparator:function(separator){this.visit(separator);},visitGroup:function(group){this.visit(group);}};function GroupFlattener(){this.logEntriesAndSeparators=[];}",'GroupFlattener.prototype=new LogItemVisitor();GroupFlattener.prototype.visitGroup=function(group){this.visitChildren(group);};GroupFlattener.prototype.visitLogEntry=function(logEntry){this.logEntriesAndSeparators.push(logEntry);};GroupFlattener.prototype.visitSeparator=function(separator){this.logEntriesAndSeparators.push(separator);};window.onload=function(){if(location.search){var queryBits=unescape(location.search).substr(1).split("&"),nameValueBits;for(var i=0,len=queryBits.length;i<len;i++){nameValueBits=queryBits[i].split("=");if(nameValueBits[0]=="log4javascript_domain"){document.domain=nameValueBits[1];break;}}}','logMainContainer=$("log");if(isIePre7){addClass(logMainContainer,"oldIe");}','rootGroup=new Group("root",true);rootGroup.render();currentGroup=rootGroup;setCommandInputWidth();setLogContainerHeight();toggleLoggingEnabled();toggleSearchEnabled();toggleSearchFilter();toggleSearchHighlight();applyFilters();checkAllLevels();toggleWrap();toggleNewestAtTop();toggleScrollToLatest();renderQueuedLogItems();loaded=true;$("command").value="";$("command").autocomplete="off";$("command").onkeydown=function(evt){evt=getEvent(evt);if(evt.keyCode==10||evt.keyCode==13){evalCommandLine();stopPropagation(evt);}else if(evt.keyCode==27){this.value="";this.focus();}else if(evt.keyCode==38&&commandHistory.length>0){currentCommandIndex=Math.max(0,currentCommandIndex-1);this.value=commandHistory[currentCommandIndex];moveCaretToEnd(this);}else if(evt.keyCode==40&&commandHistory.length>0){currentCommandIndex=Math.min(commandHistory.length-1,currentCommandIndex+1);this.value=commandHistory[currentCommandIndex];moveCaretToEnd(this);}};$("command").onkeypress=function(evt){evt=getEvent(evt);if(evt.keyCode==38&&commandHistory.length>0&&evt.preventDefault){evt.preventDefault();}};$("command").onkeyup=function(evt){evt=getEvent(evt);if(evt.keyCode==27&&evt.preventDefault){evt.preventDefault();this.focus();}};document.onkeydown=function keyEventHandler(evt){evt=getEvent(evt);switch(evt.keyCode){case 69:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){evalLastCommand();cancelKeyEvent(evt);return false;}',"break;case 75:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){focusSearch();cancelKeyEvent(evt);return false;}","break;case 40:case 76:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){focusCommandLine();cancelKeyEvent(evt);return false;}","break;}};setTimeout(setLogContainerHeight,20);setShowCommandLine(showCommandLine);doSearch();};window.onunload=function(){if(mainWindowExists()){appender.unload();}",'appender=null;};function toggleLoggingEnabled(){setLoggingEnabled($("enableLogging").checked);}',"function setLoggingEnabled(enable){loggingEnabled=enable;}","var appender=null;function setAppender(appenderParam){appender=appenderParam;}",'function setShowCloseButton(showCloseButton){$("closeButton").style.display=showCloseButton?"inline":"none";}','function setShowHideButton(showHideButton){$("hideButton").style.display=showHideButton?"inline":"none";}',"var newestAtTop=false;function LogItemContentReverser(){}","LogItemContentReverser.prototype=new LogItemVisitor();LogItemContentReverser.prototype.visitGroup=function(group){group.reverseChildren();this.visitChildren(group);};function setNewestAtTop(isNewestAtTop){var oldNewestAtTop=newestAtTop;var i,iLen,j,jLen;newestAtTop=Boolean(isNewestAtTop);if(oldNewestAtTop!=newestAtTop){var visitor=new LogItemContentReverser();rootGroup.accept(visitor);if(currentSearch){var currentMatch=currentSearch.matches[currentMatchIndex];var matchIndex=0;var matches=[];var actOnLogEntry=function(logEntry){var logEntryMatches=logEntry.getSearchMatches();for(j=0,jLen=logEntryMatches.length;j<jLen;j++){matches[matchIndex]=logEntryMatches[j];if(currentMatch&&logEntryMatches[j].equals(currentMatch)){currentMatchIndex=matchIndex;}","matchIndex++;}};if(newestAtTop){for(i=logEntries.length-1;i>=0;i--){actOnLogEntry(logEntries[i]);}}else{for(i=0,iLen=logEntries.length;i<iLen;i++){actOnLogEntry(logEntries[i]);}}","currentSearch.matches=matches;if(currentMatch){currentMatch.setCurrent();}}else if(scrollToLatest){doScrollToLatest();}}",'$("newestAtTop").checked=isNewestAtTop;}','function toggleNewestAtTop(){var isNewestAtTop=$("newestAtTop").checked;setNewestAtTop(isNewestAtTop);}',"var scrollToLatest=true;function setScrollToLatest(isScrollToLatest){scrollToLatest=isScrollToLatest;if(scrollToLatest){doScrollToLatest();}",'$("scrollToLatest").checked=isScrollToLatest;}','function toggleScrollToLatest(){var isScrollToLatest=$("scrollToLatest").checked;setScrollToLatest(isScrollToLatest);}','function doScrollToLatest(){var l=logMainContainer;if(typeof l.scrollTop!="undefined"){if(newestAtTop){l.scrollTop=0;}else{var latestLogEntry=l.lastChild;if(latestLogEntry){l.scrollTop=l.scrollHeight;}}}}',"var closeIfOpenerCloses=true;function setCloseIfOpenerCloses(isCloseIfOpenerCloses){closeIfOpenerCloses=isCloseIfOpenerCloses;}","var maxMessages=null;function setMaxMessages(max){maxMessages=max;pruneLogEntries();}",'var showCommandLine=false;function setShowCommandLine(isShowCommandLine){showCommandLine=isShowCommandLine;if(loaded){$("commandLine").style.display=showCommandLine?"block":"none";setCommandInputWidth();setLogContainerHeight();}}','function focusCommandLine(){if(loaded){$("command").focus();}}','function focusSearch(){if(loaded){$("searchBox").focus();}}',"function getLogItems(){var items=[];for(var i=0,len=logItems.length;i<len;i++){logItems[i].serialize(items);}","return items;}","function setLogItems(items){var loggingReallyEnabled=loggingEnabled;loggingEnabled=true;for(var i=0,len=items.length;i<len;i++){switch(items[i][0]){case LogItem.serializedItemKeys.LOG_ENTRY:log(items[i][1],items[i][2]);break;case LogItem.serializedItemKeys.GROUP_START:group(items[i][1]);break;case LogItem.serializedItemKeys.GROUP_END:groupEnd();break;}}","loggingEnabled=loggingReallyEnabled;}","function log(logLevel,formattedMessage){if(loggingEnabled){var logEntry=new LogEntry(logLevel,formattedMessage);logEntries.push(logEntry);logEntriesAndSeparators.push(logEntry);logItems.push(logEntry);currentGroup.addChild(logEntry);if(loaded){if(logQueuedEventsTimer!==null){clearTimeout(logQueuedEventsTimer);}","logQueuedEventsTimer=setTimeout(renderQueuedLogItems,renderDelay);unrenderedLogItemsExist=true;}}}","function renderQueuedLogItems(){logQueuedEventsTimer=null;var pruned=pruneLogEntries();var initiallyHasMatches=currentSearch?currentSearch.hasMatches():false;for(var i=0,len=logItems.length;i<len;i++){if(!logItems[i].rendered){logItems[i].render();logItems[i].appendToLog();if(currentSearch&&(logItems[i]instanceof LogEntry)){currentSearch.applyTo(logItems[i]);}}}","if(currentSearch){if(pruned){if(currentSearch.hasVisibleMatches()){if(currentMatchIndex===null){setCurrentMatchIndex(0);}","displayMatches();}else{displayNoMatches();}}else if(!initiallyHasMatches&&currentSearch.hasVisibleMatches()){setCurrentMatchIndex(0);displayMatches();}}","if(scrollToLatest){doScrollToLatest();}","unrenderedLogItemsExist=false;}","function pruneLogEntries(){if((maxMessages!==null)&&(logEntriesAndSeparators.length>maxMessages)){var numberToDelete=logEntriesAndSeparators.length-maxMessages;var prunedLogEntries=logEntriesAndSeparators.slice(0,numberToDelete);if(currentSearch){currentSearch.removeMatches(prunedLogEntries);}","var group;for(var i=0;i<numberToDelete;i++){group=logEntriesAndSeparators[i].group;array_remove(logItems,logEntriesAndSeparators[i]);array_remove(logEntries,logEntriesAndSeparators[i]);logEntriesAndSeparators[i].remove(true,true);if(group.children.length===0&&group!==currentGroup&&group!==rootGroup){array_remove(logItems,group);group.remove(true,true);}}","logEntriesAndSeparators=array_removeFromStart(logEntriesAndSeparators,numberToDelete);return true;}","return false;}",'function group(name,startExpanded){if(loggingEnabled){initiallyExpanded=(typeof startExpanded==="undefined")?true:Boolean(startExpanded);var newGroup=new Group(name,false,initiallyExpanded);currentGroup.addChild(newGroup);currentGroup=newGroup;logItems.push(newGroup);if(loaded){if(logQueuedEventsTimer!==null){clearTimeout(logQueuedEventsTimer);}',"logQueuedEventsTimer=setTimeout(renderQueuedLogItems,renderDelay);unrenderedLogItemsExist=true;}}}","function groupEnd(){currentGroup=(currentGroup===rootGroup)?rootGroup:currentGroup.group;}","function mainPageReloaded(){currentGroup=rootGroup;var separator=new Separator();logEntriesAndSeparators.push(separator);logItems.push(separator);currentGroup.addChild(separator);}","function closeWindow(){if(appender&&mainWindowExists()){appender.close(true);}else{window.close();}}","function hide(){if(appender&&mainWindowExists()){appender.hide();}}",'var mainWindow=window;var windowId="log4javascriptConsoleWindow_"+new Date().getTime()+"_"+(""+Math.random()).substr(2);function setMainWindow(win){mainWindow=win;mainWindow[windowId]=window;if(opener&&closeIfOpenerCloses){pollOpener();}}',"function pollOpener(){if(closeIfOpenerCloses){if(mainWindowExists()){setTimeout(pollOpener,500);}else{closeWindow();}}}","function mainWindowExists(){try{return(mainWindow&&!mainWindow.closed&&mainWindow[windowId]==window);}catch(ex){}","return false;}",'var logLevels=["TRACE","DEBUG","INFO","WARN","ERROR","FATAL"];function getCheckBox(logLevel){return $("switch_"+logLevel);}','function getIeWrappedLogContainer(){return $("log_wrapped");}','function getIeUnwrappedLogContainer(){return $("log_unwrapped");}',"function applyFilters(){for(var i=0;i<logLevels.length;i++){if(getCheckBox(logLevels[i]).checked){addClass(logMainContainer,logLevels[i]);}else{removeClass(logMainContainer,logLevels[i]);}}","updateSearchFromFilters();}",'function toggleAllLevels(){var turnOn=$("switch_ALL").checked;for(var i=0;i<logLevels.length;i++){getCheckBox(logLevels[i]).checked=turnOn;if(turnOn){addClass(logMainContainer,logLevels[i]);}else{removeClass(logMainContainer,logLevels[i]);}}}','function checkAllLevels(){for(var i=0;i<logLevels.length;i++){if(!getCheckBox(logLevels[i]).checked){getCheckBox("ALL").checked=false;return;}}','getCheckBox("ALL").checked=true;}',"function clearLog(){rootGroup.clear();currentGroup=rootGroup;logEntries=[];logItems=[];logEntriesAndSeparators=[];doSearch();}",'function toggleWrap(){var enable=$("wrap").checked;if(enable){addClass(logMainContainer,"wrap");}else{removeClass(logMainContainer,"wrap");}',"refreshCurrentMatch();}","var searchTimer=null;function scheduleSearch(){try{clearTimeout(searchTimer);}catch(ex){}","searchTimer=setTimeout(doSearch,500);}","function Search(searchTerm,isRegex,searchRegex,isCaseSensitive){this.searchTerm=searchTerm;this.isRegex=isRegex;this.searchRegex=searchRegex;this.isCaseSensitive=isCaseSensitive;this.matches=[];}","Search.prototype={hasMatches:function(){return this.matches.length>0;},hasVisibleMatches:function(){if(this.hasMatches()){for(var i=0;i<this.matches.length;i++){if(this.matches[i].isVisible()){return true;}}}","return false;},match:function(logEntry){var entryText=String(logEntry.formattedMessage);var matchesSearch=false;if(this.isRegex){matchesSearch=this.searchRegex.test(entryText);}else if(this.isCaseSensitive){matchesSearch=(entryText.indexOf(this.searchTerm)>-1);}else{matchesSearch=(entryText.toLowerCase().indexOf(this.searchTerm.toLowerCase())>-1);}","return matchesSearch;},getNextVisibleMatchIndex:function(){for(var i=currentMatchIndex+1;i<this.matches.length;i++){if(this.matches[i].isVisible()){return i;}}","for(i=0;i<=currentMatchIndex;i++){if(this.matches[i].isVisible()){return i;}}","return-1;},getPreviousVisibleMatchIndex:function(){for(var i=currentMatchIndex-1;i>=0;i--){if(this.matches[i].isVisible()){return i;}}","for(var i=this.matches.length-1;i>=currentMatchIndex;i--){if(this.matches[i].isVisible()){return i;}}",'return-1;},applyTo:function(logEntry){var doesMatch=this.match(logEntry);if(doesMatch){logEntry.group.expand();logEntry.setSearchMatch(true);var logEntryContent;var wrappedLogEntryContent;var searchTermReplacementStartTag="<span class=\\"searchterm\\">";var searchTermReplacementEndTag="<"+"/span>";var preTagName=isIe?"pre":"span";var preStartTag="<"+preTagName+" class=\\"pre\\">";var preEndTag="<"+"/"+preTagName+">";var startIndex=0;var searchIndex,matchedText,textBeforeMatch;if(this.isRegex){var flags=this.isCaseSensitive?"g":"gi";var capturingRegex=new RegExp("("+this.searchRegex.source+")",flags);var rnd=(""+Math.random()).substr(2);var startToken="%%s"+rnd+"%%";var endToken="%%e"+rnd+"%%";logEntryContent=logEntry.formattedMessage.replace(capturingRegex,startToken+"$1"+endToken);logEntryContent=escapeHtml(logEntryContent);var result;var searchString=logEntryContent;logEntryContent="";wrappedLogEntryContent="";while((searchIndex=searchString.indexOf(startToken,startIndex))>-1){var endTokenIndex=searchString.indexOf(endToken,searchIndex);matchedText=searchString.substring(searchIndex+startToken.length,endTokenIndex);textBeforeMatch=searchString.substring(startIndex,searchIndex);logEntryContent+=preStartTag+textBeforeMatch+preEndTag;logEntryContent+=searchTermReplacementStartTag+preStartTag+matchedText+',"preEndTag+searchTermReplacementEndTag;if(isIe){wrappedLogEntryContent+=textBeforeMatch+searchTermReplacementStartTag+","matchedText+searchTermReplacementEndTag;}","startIndex=endTokenIndex+endToken.length;}",'logEntryContent+=preStartTag+searchString.substr(startIndex)+preEndTag;if(isIe){wrappedLogEntryContent+=searchString.substr(startIndex);}}else{logEntryContent="";wrappedLogEntryContent="";var searchTermReplacementLength=searchTermReplacementStartTag.length+',"this.searchTerm.length+searchTermReplacementEndTag.length;var searchTermLength=this.searchTerm.length;var searchTermLowerCase=this.searchTerm.toLowerCase();var logTextLowerCase=logEntry.formattedMessage.toLowerCase();while((searchIndex=logTextLowerCase.indexOf(searchTermLowerCase,startIndex))>-1){matchedText=escapeHtml(logEntry.formattedMessage.substr(searchIndex,this.searchTerm.length));textBeforeMatch=escapeHtml(logEntry.formattedMessage.substring(startIndex,searchIndex));var searchTermReplacement=searchTermReplacementStartTag+","preStartTag+matchedText+preEndTag+searchTermReplacementEndTag;logEntryContent+=preStartTag+textBeforeMatch+preEndTag+searchTermReplacement;if(isIe){wrappedLogEntryContent+=textBeforeMatch+searchTermReplacementStartTag+","matchedText+searchTermReplacementEndTag;}","startIndex=searchIndex+searchTermLength;}","var textAfterLastMatch=escapeHtml(logEntry.formattedMessage.substr(startIndex));logEntryContent+=preStartTag+textAfterLastMatch+preEndTag;if(isIe){wrappedLogEntryContent+=textAfterLastMatch;}}","logEntry.setContent(logEntryContent,wrappedLogEntryContent);var logEntryMatches=logEntry.getSearchMatches();this.matches=this.matches.concat(logEntryMatches);}else{logEntry.setSearchMatch(false);logEntry.setContent(logEntry.formattedMessage,logEntry.formattedMessage);}","return doesMatch;},removeMatches:function(logEntries){var matchesToRemoveCount=0;var currentMatchRemoved=false;var matchesToRemove=[];var i,iLen,j,jLen;for(i=0,iLen=this.matches.length;i<iLen;i++){for(j=0,jLen=logEntries.length;j<jLen;j++){if(this.matches[i].belongsTo(logEntries[j])){matchesToRemove.push(this.matches[i]);if(i===currentMatchIndex){currentMatchRemoved=true;}}}}","var newMatch=currentMatchRemoved?null:this.matches[currentMatchIndex];if(currentMatchRemoved){for(i=currentMatchIndex,iLen=this.matches.length;i<iLen;i++){if(this.matches[i].isVisible()&&!array_contains(matchesToRemove,this.matches[i])){newMatch=this.matches[i];break;}}}","for(i=0,iLen=matchesToRemove.length;i<iLen;i++){array_remove(this.matches,matchesToRemove[i]);matchesToRemove[i].remove();}","if(this.hasVisibleMatches()){if(newMatch===null){setCurrentMatchIndex(0);}else{var newMatchIndex=0;for(i=0,iLen=this.matches.length;i<iLen;i++){if(newMatch===this.matches[i]){newMatchIndex=i;break;}}","setCurrentMatchIndex(newMatchIndex);}}else{currentMatchIndex=null;displayNoMatches();}}};function getPageOffsetTop(el,container){var currentEl=el;var y=0;while(currentEl&&currentEl!=container){y+=currentEl.offsetTop;currentEl=currentEl.offsetParent;}","return y;}",'function scrollIntoView(el){var logContainer=logMainContainer;if(!$("wrap").checked){var logContainerLeft=logContainer.scrollLeft;var logContainerRight=logContainerLeft+logContainer.offsetWidth;var elLeft=el.offsetLeft;var elRight=elLeft+el.offsetWidth;if(elLeft<logContainerLeft||elRight>logContainerRight){logContainer.scrollLeft=elLeft-(logContainer.offsetWidth-el.offsetWidth)/2;}}',"var logContainerTop=logContainer.scrollTop;var logContainerBottom=logContainerTop+logContainer.offsetHeight;var elTop=getPageOffsetTop(el)-getToolBarsHeight();var elBottom=elTop+el.offsetHeight;if(elTop<logContainerTop||elBottom>logContainerBottom){logContainer.scrollTop=elTop-(logContainer.offsetHeight-el.offsetHeight)/2;}}","function Match(logEntryLevel,spanInMainDiv,spanInUnwrappedPre,spanInWrappedDiv){this.logEntryLevel=logEntryLevel;this.spanInMainDiv=spanInMainDiv;if(isIe){this.spanInUnwrappedPre=spanInUnwrappedPre;this.spanInWrappedDiv=spanInWrappedDiv;}","this.mainSpan=isIe?spanInUnwrappedPre:spanInMainDiv;}",'Match.prototype={equals:function(match){return this.mainSpan===match.mainSpan;},setCurrent:function(){if(isIe){addClass(this.spanInUnwrappedPre,"currentmatch");addClass(this.spanInWrappedDiv,"currentmatch");var elementToScroll=$("wrap").checked?this.spanInWrappedDiv:this.spanInUnwrappedPre;scrollIntoView(elementToScroll);}else{addClass(this.spanInMainDiv,"currentmatch");scrollIntoView(this.spanInMainDiv);}},belongsTo:function(logEntry){if(isIe){return isDescendant(this.spanInUnwrappedPre,logEntry.unwrappedPre);}else{return isDescendant(this.spanInMainDiv,logEntry.mainDiv);}},setNotCurrent:function(){if(isIe){removeClass(this.spanInUnwrappedPre,"currentmatch");removeClass(this.spanInWrappedDiv,"currentmatch");}else{removeClass(this.spanInMainDiv,"currentmatch");}},isOrphan:function(){return isOrphan(this.mainSpan);},isVisible:function(){return getCheckBox(this.logEntryLevel).checked;},remove:function(){if(isIe){this.spanInUnwrappedPre=null;this.spanInWrappedDiv=null;}else{this.spanInMainDiv=null;}}};var currentSearch=null;var currentMatchIndex=null;function doSearch(){var searchBox=$("searchBox");var searchTerm=searchBox.value;var isRegex=$("searchRegex").checked;var isCaseSensitive=$("searchCaseSensitive").checked;var i;if(searchTerm===""){$("searchReset").disabled=true;$("searchNav").style.display="none";removeClass(document.body,"searching");removeClass(searchBox,"hasmatches");removeClass(searchBox,"nomatches");for(i=0;i<logEntries.length;i++){logEntries[i].clearSearch();logEntries[i].setContent(logEntries[i].formattedMessage,logEntries[i].formattedMessage);}','currentSearch=null;setLogContainerHeight();}else{$("searchReset").disabled=false;$("searchNav").style.display="block";var searchRegex;var regexValid;if(isRegex){try{searchRegex=isCaseSensitive?new RegExp(searchTerm,"g"):new RegExp(searchTerm,"gi");regexValid=true;replaceClass(searchBox,"validregex","invalidregex");searchBox.title="Valid regex";}catch(ex){regexValid=false;replaceClass(searchBox,"invalidregex","validregex");searchBox.title="Invalid regex: "+(ex.message?ex.message:(ex.description?ex.description:"unknown error"));return;}}else{searchBox.title="";removeClass(searchBox,"validregex");removeClass(searchBox,"invalidregex");}','addClass(document.body,"searching");currentSearch=new Search(searchTerm,isRegex,searchRegex,isCaseSensitive);for(i=0;i<logEntries.length;i++){currentSearch.applyTo(logEntries[i]);}',"setLogContainerHeight();if(currentSearch.hasVisibleMatches()){setCurrentMatchIndex(0);displayMatches();}else{displayNoMatches();}}}","function updateSearchFromFilters(){if(currentSearch){if(currentSearch.hasMatches()){if(currentMatchIndex===null){currentMatchIndex=0;}","var currentMatch=currentSearch.matches[currentMatchIndex];if(currentMatch.isVisible()){displayMatches();setCurrentMatchIndex(currentMatchIndex);}else{currentMatch.setNotCurrent();var nextVisibleMatchIndex=currentSearch.getNextVisibleMatchIndex();if(nextVisibleMatchIndex>-1){setCurrentMatchIndex(nextVisibleMatchIndex);displayMatches();}else{displayNoMatches();}}}else{displayNoMatches();}}}","function refreshCurrentMatch(){if(currentSearch&&currentSearch.hasVisibleMatches()){setCurrentMatchIndex(currentMatchIndex);}}",'function displayMatches(){replaceClass($("searchBox"),"hasmatches","nomatches");$("searchBox").title=""+currentSearch.matches.length+" matches found";$("searchNav").style.display="block";setLogContainerHeight();}','function displayNoMatches(){replaceClass($("searchBox"),"nomatches","hasmatches");$("searchBox").title="No matches found";$("searchNav").style.display="none";setLogContainerHeight();}','function toggleSearchEnabled(enable){enable=(typeof enable=="undefined")?!$("searchDisable").checked:enable;$("searchBox").disabled=!enable;$("searchReset").disabled=!enable;$("searchRegex").disabled=!enable;$("searchNext").disabled=!enable;$("searchPrevious").disabled=!enable;$("searchCaseSensitive").disabled=!enable;$("searchNav").style.display=(enable&&($("searchBox").value!=="")&&currentSearch&&currentSearch.hasVisibleMatches())?"block":"none";if(enable){removeClass($("search"),"greyedout");addClass(document.body,"searching");if($("searchHighlight").checked){addClass(logMainContainer,"searchhighlight");}else{removeClass(logMainContainer,"searchhighlight");}','if($("searchFilter").checked){addClass(logMainContainer,"searchfilter");}else{removeClass(logMainContainer,"searchfilter");}','$("searchDisable").checked=!enable;}else{addClass($("search"),"greyedout");removeClass(document.body,"searching");removeClass(logMainContainer,"searchhighlight");removeClass(logMainContainer,"searchfilter");}',"setLogContainerHeight();}",'function toggleSearchFilter(){var enable=$("searchFilter").checked;if(enable){addClass(logMainContainer,"searchfilter");}else{removeClass(logMainContainer,"searchfilter");}',"refreshCurrentMatch();}",'function toggleSearchHighlight(){var enable=$("searchHighlight").checked;if(enable){addClass(logMainContainer,"searchhighlight");}else{removeClass(logMainContainer,"searchhighlight");}}','function clearSearch(){$("searchBox").value="";doSearch();}','function searchNext(){if(currentSearch!==null&&currentMatchIndex!==null){currentSearch.matches[currentMatchIndex].setNotCurrent();var nextMatchIndex=currentSearch.getNextVisibleMatchIndex();if(nextMatchIndex>currentMatchIndex||confirm("Reached the end of the page. Start from the top?")){setCurrentMatchIndex(nextMatchIndex);}}}','function searchPrevious(){if(currentSearch!==null&&currentMatchIndex!==null){currentSearch.matches[currentMatchIndex].setNotCurrent();var previousMatchIndex=currentSearch.getPreviousVisibleMatchIndex();if(previousMatchIndex<currentMatchIndex||confirm("Reached the start of the page. Continue from the bottom?")){setCurrentMatchIndex(previousMatchIndex);}}}',"function setCurrentMatchIndex(index){currentMatchIndex=index;currentSearch.matches[currentMatchIndex].setCurrent();}",'function addClass(el,cssClass){if(!hasClass(el,cssClass)){if(el.className){el.className+=" "+cssClass;}else{el.className=cssClass;}}}','function hasClass(el,cssClass){if(el.className){var classNames=el.className.split(" ");return array_contains(classNames,cssClass);}',"return false;}",'function removeClass(el,cssClass){if(hasClass(el,cssClass)){var existingClasses=el.className.split(" ");var newClasses=[];for(var i=0,len=existingClasses.length;i<len;i++){if(existingClasses[i]!=cssClass){newClasses[newClasses.length]=existingClasses[i];}}','el.className=newClasses.join(" ");}}',"function replaceClass(el,newCssClass,oldCssClass){removeClass(el,oldCssClass);addClass(el,newCssClass);}","function getElementsByClass(el,cssClass,tagName){var elements=el.getElementsByTagName(tagName);var matches=[];for(var i=0,len=elements.length;i<len;i++){if(hasClass(elements[i],cssClass)){matches.push(elements[i]);}}","return matches;}","function $(id){return document.getElementById(id);}","function isDescendant(node,ancestorNode){while(node!=null){if(node===ancestorNode){return true;}","node=node.parentNode;}","return false;}","function isOrphan(node){var currentNode=node;while(currentNode){if(currentNode==document.body){return false;}","currentNode=currentNode.parentNode;}","return true;}",'function escapeHtml(str){return str.replace(/&/g,"&amp;").replace(/[<]/g,"&lt;").replace(/>/g,"&gt;");}',"function getWindowWidth(){if(window.innerWidth){return window.innerWidth;}else if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.clientWidth;}else if(document.body){return document.body.clientWidth;}","return 0;}","function getWindowHeight(){if(window.innerHeight){return window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){return document.documentElement.clientHeight;}else if(document.body){return document.body.clientHeight;}","return 0;}",'function getToolBarsHeight(){return $("switches").offsetHeight;}','function getChromeHeight(){var height=getToolBarsHeight();if(showCommandLine){height+=$("commandLine").offsetHeight;}',"return height;}",'function setLogContainerHeight(){if(logMainContainer){var windowHeight=getWindowHeight();$("body").style.height=getWindowHeight()+"px";logMainContainer.style.height=""+','Math.max(0,windowHeight-getChromeHeight())+"px";}}','function setCommandInputWidth(){if(showCommandLine){$("command").style.width=""+Math.max(0,$("commandLineContainer").offsetWidth-','($("evaluateButton").offsetWidth+13))+"px";}}',"window.onresize=function(){setCommandInputWidth();setLogContainerHeight();};if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0,len=arguments.length;i<len;i++){this[this.length]=arguments[i];}","return this.length;};}","if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length>0){var val=this[this.length-1];this.length=this.length-1;return val;}};}","if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length>0){var firstItem=this[0];for(var i=0,len=this.length-1;i<len;i++){this[i]=this[i+1];}","this.length=this.length-1;return firstItem;}};}","if(!Array.prototype.splice){Array.prototype.splice=function(startIndex,deleteCount){var itemsAfterDeleted=this.slice(startIndex+deleteCount);var itemsDeleted=this.slice(startIndex,startIndex+deleteCount);this.length=startIndex;var argumentsArray=[];for(var i=0,len=arguments.length;i<len;i++){argumentsArray[i]=arguments[i];}","var itemsToAppend=(argumentsArray.length>2)?itemsAfterDeleted=argumentsArray.slice(2).concat(itemsAfterDeleted):itemsAfterDeleted;for(i=0,len=itemsToAppend.length;i<len;i++){this.push(itemsToAppend[i]);}","return itemsDeleted;};}","function array_remove(arr,val){var index=-1;for(var i=0,len=arr.length;i<len;i++){if(arr[i]===val){index=i;break;}}","if(index>=0){arr.splice(index,1);return index;}else{return false;}}","function array_removeFromStart(array,numberToRemove){if(Array.prototype.splice){array.splice(0,numberToRemove);}else{for(var i=numberToRemove,len=array.length;i<len;i++){array[i-numberToRemove]=array[i];}","array.length=array.length-numberToRemove;}","return array;}","function array_contains(arr,val){for(var i=0,len=arr.length;i<len;i++){if(arr[i]==val){return true;}}","return false;}","function getErrorMessage(ex){if(ex.message){return ex.message;}else if(ex.description){return ex.description;}",'return""+ex;}',"function moveCaretToEnd(input){if(input.setSelectionRange){input.focus();var length=input.value.length;input.setSelectionRange(length,length);}else if(input.createTextRange){var range=input.createTextRange();range.collapse(false);range.select();}","input.focus();}",'function stopPropagation(evt){if(evt.stopPropagation){evt.stopPropagation();}else if(typeof evt.cancelBubble!="undefined"){evt.cancelBubble=true;}}',"function getEvent(evt){return evt?evt:event;}","function getTarget(evt){return evt.target?evt.target:evt.srcElement;}",'function getRelatedTarget(evt){if(evt.relatedTarget){return evt.relatedTarget;}else if(evt.srcElement){switch(evt.type){case"mouseover":return evt.fromElement;case"mouseout":return evt.toElement;default:return evt.srcElement;}}}',"function cancelKeyEvent(evt){evt.returnValue=false;stopPropagation(evt);}",'function evalCommandLine(){var expr=$("command").value;evalCommand(expr);$("command").value="";}',"function evalLastCommand(){if(lastCommand!=null){evalCommand(lastCommand);}}",'var lastCommand=null;var commandHistory=[];var currentCommandIndex=0;function evalCommand(expr){if(appender){appender.evalCommandAndAppend(expr);}else{var prefix=">>> "+expr+"\\r\\n";try{log("INFO",prefix+eval(expr));}catch(ex){log("ERROR",prefix+"Error: "+getErrorMessage(ex));}}',"if(expr!=commandHistory[commandHistory.length-1]){commandHistory.push(expr);if(appender){appender.storeCommandHistory(commandHistory);}}","currentCommandIndex=(expr==commandHistory[currentCommandIndex])?currentCommandIndex+1:commandHistory.length;lastCommand=expr;}","//]]>","<\/script>",'<style type="text/css">',"body{background-color:white;color:black;padding:0;margin:0;font-family:tahoma,verdana,arial,helvetica,sans-serif;overflow:hidden}div#switchesContainer input{margin-bottom:0}div.toolbar{border-top:solid #ffffff 1px;border-bottom:solid #aca899 1px;background-color:#f1efe7;padding:3px 5px;font-size:68.75%}div.toolbar,div#search input{font-family:tahoma,verdana,arial,helvetica,sans-serif}div.toolbar input.button{padding:0 5px;font-size:100%}div.toolbar input.hidden{display:none}div#switches input#clearButton{margin-left:20px}div#levels label{font-weight:bold}div#levels label,div#options label{margin-right:5px}div#levels label#wrapLabel{font-weight:normal}div#search label{margin-right:10px}div#search label.searchboxlabel{margin-right:0}div#search input{font-size:100%}div#search input.validregex{color:green}div#search input.invalidregex{color:red}div#search input.nomatches{color:white;background-color:#ff6666}div#search input.nomatches{color:white;background-color:#ff6666}div#searchNav{display:none}div#commandLine{display:none}div#commandLine input#command{font-size:100%;font-family:Courier New,Courier}div#commandLine input#evaluateButton{}*.greyedout{color:gray !important;border-color:gray !important}*.greyedout *.alwaysenabled{color:black}*.unselectable{-khtml-user-select:none;-moz-user-select:none;user-select:none}div#log{font-family:Courier New,Courier;font-size:75%;width:100%;overflow:auto;clear:both;position:relative}div.group{border-color:#cccccc;border-style:solid;border-width:1px 0 1px 1px;overflow:visible}div.oldIe div.group,div.oldIe div.group *,div.oldIe *.logentry{height:1%}div.group div.groupheading span.expander{border:solid black 1px;font-family:Courier New,Courier;font-size:0.833em;background-color:#eeeeee;position:relative;top:-1px;color:black;padding:0 2px;cursor:pointer;cursor:hand;height:1%}div.group div.groupcontent{margin-left:10px;padding-bottom:2px;overflow:visible}div.group div.expanded{display:block}div.group div.collapsed{display:none}*.logentry{overflow:visible;display:none;white-space:pre}span.pre{white-space:pre}pre.unwrapped{display:inline !important}pre.unwrapped pre.pre,div.wrapped pre.pre{display:inline}div.wrapped pre.pre{white-space:normal}div.wrapped{display:none}body.searching *.logentry span.currentmatch{color:white !important;background-color:green !important}body.searching div.searchhighlight *.logentry span.searchterm{color:black;background-color:yellow}div.wrap *.logentry{white-space:normal !important;border-width:0 0 1px 0;border-color:#dddddd;border-style:dotted}div.wrap #log_wrapped,#log_unwrapped{display:block}div.wrap #log_unwrapped,#log_wrapped{display:none}div.wrap *.logentry span.pre{overflow:visible;white-space:normal}div.wrap *.logentry pre.unwrapped{display:none}div.wrap *.logentry span.wrapped{display:inline}div.searchfilter *.searchnonmatch{display:none !important}div#log *.TRACE,label#label_TRACE{color:#666666}div#log *.DEBUG,label#label_DEBUG{color:green}div#log *.INFO,label#label_INFO{color:#000099}div#log *.WARN,label#label_WARN{color:#999900}div#log *.ERROR,label#label_ERROR{color:red}div#log *.FATAL,label#label_FATAL{color:#660066}div.TRACE#log *.TRACE,div.DEBUG#log *.DEBUG,div.INFO#log *.INFO,div.WARN#log *.WARN,div.ERROR#log *.ERROR,div.FATAL#log *.FATAL{display:block}div#log div.separator{background-color:#cccccc;margin:5px 0;line-height:1px}","</style>","</head>",'<body id="body">','<div id="switchesContainer">','<div id="switches">','<div id="levels" class="toolbar">',"Filters:",'<input type="checkbox" id="switch_TRACE" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide trace messages" /><label for="switch_TRACE" id="label_TRACE">trace</label>','<input type="checkbox" id="switch_DEBUG" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide debug messages" /><label for="switch_DEBUG" id="label_DEBUG">debug</label>','<input type="checkbox" id="switch_INFO" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide info messages" /><label for="switch_INFO" id="label_INFO">info</label>','<input type="checkbox" id="switch_WARN" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide warn messages" /><label for="switch_WARN" id="label_WARN">warn</label>','<input type="checkbox" id="switch_ERROR" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide error messages" /><label for="switch_ERROR" id="label_ERROR">error</label>','<input type="checkbox" id="switch_FATAL" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide fatal messages" /><label for="switch_FATAL" id="label_FATAL">fatal</label>','<input type="checkbox" id="switch_ALL" onclick="toggleAllLevels(); applyFilters()" checked="checked" title="Show/hide all messages" /><label for="switch_ALL" id="label_ALL">all</label>',"</div>",'<div id="search" class="toolbar">','<label for="searchBox" class="searchboxlabel">Search:</label> <input type="text" id="searchBox" onclick="toggleSearchEnabled(true)" onkeyup="scheduleSearch()" size="20" />','<input type="button" id="searchReset" disabled="disabled" value="Reset" onclick="clearSearch()" class="button" title="Reset the search" />','<input type="checkbox" id="searchRegex" onclick="doSearch()" title="If checked, search is treated as a regular expression" /><label for="searchRegex">Regex</label>','<input type="checkbox" id="searchCaseSensitive" onclick="doSearch()" title="If checked, search is case sensitive" /><label for="searchCaseSensitive">Match case</label>','<input type="checkbox" id="searchDisable" onclick="toggleSearchEnabled()" title="Enable/disable search" /><label for="searchDisable" class="alwaysenabled">Disable</label>','<div id="searchNav">','<input type="button" id="searchNext" disabled="disabled" value="Next" onclick="searchNext()" class="button" title="Go to the next matching log entry" />','<input type="button" id="searchPrevious" disabled="disabled" value="Previous" onclick="searchPrevious()" class="button" title="Go to the previous matching log entry" />','<input type="checkbox" id="searchFilter" onclick="toggleSearchFilter()" title="If checked, non-matching log entries are filtered out" /><label for="searchFilter">Filter</label>','<input type="checkbox" id="searchHighlight" onclick="toggleSearchHighlight()" title="Highlight matched search terms" /><label for="searchHighlight" class="alwaysenabled">Highlight all</label>',"</div>","</div>",'<div id="options" class="toolbar">',"Options:",'<input type="checkbox" id="enableLogging" onclick="toggleLoggingEnabled()" checked="checked" title="Enable/disable logging" /><label for="enableLogging" id="enableLoggingLabel">Log</label>','<input type="checkbox" id="wrap" onclick="toggleWrap()" title="Enable / disable word wrap" /><label for="wrap" id="wrapLabel">Wrap</label>','<input type="checkbox" id="newestAtTop" onclick="toggleNewestAtTop()" title="If checked, causes newest messages to appear at the top" /><label for="newestAtTop" id="newestAtTopLabel">Newest at the top</label>','<input type="checkbox" id="scrollToLatest" onclick="toggleScrollToLatest()" checked="checked" title="If checked, window automatically scrolls to a new message when it is added" /><label for="scrollToLatest" id="scrollToLatestLabel">Scroll to latest</label>','<input type="button" id="clearButton" value="Clear" onclick="clearLog()" class="button" title="Clear all log messages" />','<input type="button" id="hideButton" value="Hide" onclick="hide()" class="hidden button" title="Hide the console" />','<input type="button" id="closeButton" value="Close" onclick="closeWindow()" class="hidden button" title="Close the window" />',"</div>","</div>","</div>",'<div id="log" class="TRACE DEBUG INFO WARN ERROR FATAL"></div>','<div id="commandLine" class="toolbar">','<div id="commandLineContainer">','<input type="text" id="command" title="Enter a JavaScript command here and hit return or press \'Evaluate\'" />','<input type="button" id="evaluateButton" value="Evaluate" class="button" title="Evaluate the command" onclick="evalCommandLine()" />',"</div>","</div>","</body>","</html>",""]};var t=[];ConsoleAppender=function(){};var n=1;ConsoleAppender.prototype=new Appender;ConsoleAppender.prototype.create=function(r,i,a,o,s,l,c,u){var d=this;var p=false;var f=false;var h=false;var m=false;var g=[];var v=true;var y=n++;o=extractBooleanFromParam(o,this.defaults.initiallyMinimized);a=extractBooleanFromParam(a,this.defaults.lazyInit);s=extractBooleanFromParam(s,this.defaults.useDocumentWrite);var b=this.defaults.newestMessageAtTop;var w=this.defaults.scrollToLatestMessage;l=l?l:this.defaults.width;c=c?c:this.defaults.height;var C=this.defaults.maxMessages;var x=this.defaults.showCommandLine;var E=this.defaults.commandLineObjectExpansionDepth;var S=this.defaults.showHideButton;var L=this.defaults.showCloseButton;this.setLayout(this.defaults.layout);var k,T,A,I,M;var N=r?"InPageAppender":"PopUpAppender";var D=function(e){if(f){handleError(N+": configuration option '"+e+"' may not be set after the appender has been initialized");return false}return true};var _=function(){return h&&v&&!m};this.isNewestMessageAtTop=function(){return b};this.setNewestMessageAtTop=function(e){b=bool(e);if(_()){I().setNewestAtTop(b)}};this.isScrollToLatestMessage=function(){return w};this.setScrollToLatestMessage=function(e){w=bool(e);if(_()){I().setScrollToLatest(w)}};this.getWidth=function(){return l};this.setWidth=function(e){if(D("width")){l=extractStringFromParam(e,l)}};this.getHeight=function(){return c};this.setHeight=function(e){if(D("height")){c=extractStringFromParam(e,c)}};this.getMaxMessages=function(){return C};this.setMaxMessages=function(e){C=extractIntFromParam(e,C);if(_()){I().setMaxMessages(C)}};this.isShowCommandLine=function(){return x};this.setShowCommandLine=function(e){x=bool(e);if(_()){I().setShowCommandLine(x)}};this.isShowHideButton=function(){return S};this.setShowHideButton=function(e){S=bool(e);if(_()){I().setShowHideButton(S)}};this.isShowCloseButton=function(){return L};this.setShowCloseButton=function(e){L=bool(e);if(_()){I().setShowCloseButton(L)}};this.getCommandLineObjectExpansionDepth=function(){return E};this.setCommandLineObjectExpansionDepth=function(e){E=extractIntFromParam(e,E)};var O=o;this.isInitiallyMinimized=function(){return o};this.setInitiallyMinimized=function(e){if(D("initiallyMinimized")){o=bool(e);O=o}};this.isUseDocumentWrite=function(){return s};this.setUseDocumentWrite=function(e){if(D("useDocumentWrite")){s=bool(e)}};function P(e,t){this.loggingEvent=e;this.levelName=e.level.name;this.formattedMessage=t}P.prototype.append=function(){I().log(this.levelName,this.formattedMessage)};function F(e,t){this.name=e;this.initiallyExpanded=t}F.prototype.append=function(){I().group(this.name,this.initiallyExpanded)};function B(){}B.prototype.append=function(){I().groupEnd()};var R=function(){A();if(!p){k()}else if(m&&te){T()}if(A()){j()}};this.append=function(e){if(v){var t=d.getLayout().formatWithException(e);g.push(new P(e,t));R()}};this.group=function(e,t){if(v){g.push(new F(e,t));R()}};this.groupEnd=function(){if(v){g.push(new B);R()}};var j=function(){while(g.length>0){g.shift().append()}if(u){I().focus()}};this.setAddedToLogger=function(e){this.loggers.push(e);if(enabled&&!a){k()}};this.clear=function(){if(_()){I().clearLog()}g.length=0};this.focus=function(){if(_()){I().focus()}};this.focusCommandLine=function(){if(_()){I().focusCommandLine()}};this.focusSearch=function(){if(_()){I().focusSearch()}};var $=window;this.getCommandWindow=function(){return $};this.setCommandWindow=function(e){$=e};this.executeLastCommand=function(){if(_()){I().evalLastCommand()}};var W=new PatternLayout("%m");this.getCommandLayout=function(){return W};this.setCommandLayout=function(e){W=e};this.evalCommandAndAppend=function(e){var t={appendResult:true,isError:false};var n="";try{var r,i;if(!$.eval&&$.execScript){$.execScript("null")}var a={};for(i=0,len=H.length;i<len;i++){a[H[i][0]]=H[i][1]}var o=[];var s=function(e){o.push([e,$[e]])};s("appender");$.appender=d;s("commandReturnValue");$.commandReturnValue=t;s("commandLineFunctionsHash");$.commandLineFunctionsHash=a;var l=function(e){s(e);$[e]=function(){return this.commandLineFunctionsHash[e](d,arguments,t)}};for(i=0,len=H.length;i<len;i++){l(H[i][0])}if($===window&&$.execScript){s("evalExpr");s("result");window.evalExpr=e;$.execScript("window.result=eval(window.evalExpr);");r=window.result}else{r=$.eval(e)}n=isUndefined(r)?r:formatObjectExpansion(r,E);for(i=0,len=o.length;i<len;i++){$[o[i][0]]=o[i][1]}}catch(e){n="Error evaluating command: "+getExceptionStringRep(e);t.isError=true}if(t.appendResult){var c=">>> "+e;if(!isUndefined(n)){c+=newLine+n}var u=t.isError?Level.ERROR:Level.INFO;var p=new LoggingEvent(null,new Date,u,[c],null);var f=this.getLayout();this.setLayout(W);this.append(p);this.setLayout(f)}};var H=t.concat([]);this.addCommandLineFunction=function(e,t){H.push([e,t])};var U="log4javascriptCommandHistory";this.storeCommandHistory=function(e){setCookie(U,e.join(","))};var G=function(t){var n=e();t.open();for(var r=0,i=n.length;r<i;r++){t.writeln(n[r])}t.close()};this.setEventTypes(["load","unload"]);var q=function(){var e=I();e.setAppender(d);e.setNewestAtTop(b);e.setScrollToLatest(w);e.setMaxMessages(C);e.setShowCommandLine(x);e.setShowHideButton(S);e.setShowCloseButton(L);e.setMainWindow(window);var t=getCookie(U);if(t){e.commandHistory=t.split(",");e.currentCommandIndex=e.commandHistory.length}d.dispatchEvent("load",{win:e})};this.unload=function(){logLog.debug("unload "+this+", caller: "+this.unload.caller);if(!m){logLog.debug("really doing unload "+this);m=true;h=false;f=false;d.dispatchEvent("unload",{})}};var V=function(e,t,n,r){function i(){try{if(m){clearInterval(a)}if(e(I())){clearInterval(a);n()}}catch(e){clearInterval(a);v=false;handleError(r,e)}}var a=setInterval(i,t)};var z=function(){var e=document.domain!=location.hostname;return s?"":getBaseUrl()+"console.html"+(e?"?log4javascript_domain="+escape(document.domain):"")};if(r){var K=null;var X=[];this.addCssProperty=function(e,t){if(D("cssProperties")){X.push([e,t])}};var Y=false;var J;var Q=uniqueId+"_InPageAppender_"+y;this.hide=function(){if(p&&f){if(_()){I().$("command").blur()}J.style.display="none";O=true}};this.show=function(){if(p){if(f){J.style.display="block";this.setShowCommandLine(x);O=false}else if(!Y){T(true)}}};this.isVisible=function(){return!O&&!m};this.close=function(e){if(!m&&(!e||confirm("This will permanently remove the console from the page. No more messages will be logged. Do you wish to continue?"))){J.parentNode.removeChild(J);this.unload()}};M=function(){var e="InPageAppender.open: unable to create console iframe";function t(){try{if(!o){d.show()}q();h=true;j()}catch(t){v=false;handleError(e,t)}}function n(){try{var n=function(e){return isLoaded(e)};if(s){G(I().document)}if(n(I())){t()}else{V(n,100,t,e)}}catch(t){v=false;handleError(e,t)}}O=false;J=K.appendChild(document.createElement("div"));J.style.width=l;J.style.height=c;J.style.border="solid gray 1px";for(var r=0,i=X.length;r<i;r++){J.style[X[r][0]]=X[r][1]}var a=s?"":" src='"+z()+"'";J.innerHTML="<iframe id='"+Q+"' name='"+Q+"' width='100%' height='100%' frameborder='0'"+a+" scrolling='no'></iframe>";m=false;var u=function(e){try{return bool(e)&&bool(e.document)}catch(e){return false}};if(u(I())){n()}else{V(u,100,n,e)}f=true};T=function(e){if(e||!o){var t=function(){if(!i){K=document.createElement("div");K.style.position="fixed";K.style.left="0";K.style.right="0";K.style.bottom="0";document.body.appendChild(K);d.addCssProperty("borderWidth","1px 0 0 0");d.addCssProperty("zIndex",1e6);M()}else{try{var e=document.getElementById(i);if(e.nodeType==1){K=e}M()}catch(e){handleError("InPageAppender.init: invalid container element '"+i+"' supplied",e)}}};if(pageLoaded&&i&&i.appendChild){K=i;M()}else if(pageLoaded){t()}else{log4javascript.addEventListener("load",t)}Y=true}};k=function(){T();p=true};I=function(){var e=window.frames[Q];if(e){return e}};A=function(){if(v&&!m){if(f&&!h&&I()&&isLoaded(I())){h=true}return h}return false}}else{var Z=d.defaults.useOldPopUp;var ee=d.defaults.complainAboutPopUpBlocking;var te=this.defaults.reopenWhenClosed;this.isUseOldPopUp=function(){return Z};this.setUseOldPopUp=function(e){if(D("useOldPopUp")){Z=bool(e)}};this.isComplainAboutPopUpBlocking=function(){return ee};this.setComplainAboutPopUpBlocking=function(e){if(D("complainAboutPopUpBlocking")){ee=bool(e)}};this.isFocusPopUp=function(){return u};this.setFocusPopUp=function(e){u=bool(e)};this.isReopenWhenClosed=function(){return te};this.setReopenWhenClosed=function(e){te=bool(e)};this.close=function(){logLog.debug("close "+this);try{ne.close();this.unload()}catch(e){}};this.hide=function(){logLog.debug("hide "+this);if(_()){this.close()}};this.show=function(){logLog.debug("show "+this);if(!f){M()}};this.isVisible=function(){return A()};var ne;M=function(){var e="width="+l+",height="+c+",status,resizable";var t="";try{var n=window.frameElement;if(n){t="_"+n.tagName+"_"+(n.name||n.id||"")}}catch(e){t="_inaccessibleParentFrame"}var r="PopUp_"+location.host.replace(/[^a-z0-9]/gi,"_")+"_"+y+t;if(!Z||!s){r=r+"_"+uniqueId}var i=function(e){if(m){return true}else{try{return bool(e)&&e.closed}catch(e){}}return false};var a=function(){if(!m){d.unload()}};function o(){I().setCloseIfOpenerCloses(!Z||!s);q();h=true;j();V(i,500,a,"PopUpAppender.checkPopUpClosed: error checking pop-up window")}try{ne=window.open(z(),r,e);m=false;f=true;if(ne&&ne.document){if(s&&Z&&isLoaded(ne)){ne.mainPageReloaded();o()}else{if(s){G(ne.document)}var u=function(e){return bool(e)&&isLoaded(e)};if(isLoaded(ne)){o()}else{V(u,100,o,"PopUpAppender.init: unable to create console window")}}}else{v=false;logLog.warn("PopUpAppender.init: pop-ups blocked, please unblock to use PopUpAppender");if(ee){handleError("log4javascript: pop-up windows appear to be blocked. Please unblock them to use pop-up logging.")}}}catch(e){handleError("PopUpAppender.init: error creating pop-up",e)}};T=function(){if(!o){M()}};k=function(){T();p=true};I=function(){return ne};A=function(){if(v&&!isUndefined(ne)&&!m){if(ne.closed||h&&isUndefined(ne.closed)){d.unload();logLog.debug("PopUpAppender: pop-up closed");return false}if(!h&&isLoaded(ne)){h=true}}return v&&h&&!m}}this.getConsoleWindow=I};ConsoleAppender.addGlobalCommandLineFunction=function(e,n){t.push([e,n])};function r(e,t,n,r,i){this.create(false,null,e,t,n,r,i,this.defaults.focusPopUp)}r.prototype=new ConsoleAppender;r.prototype.defaults={layout:new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"),initiallyMinimized:false,focusPopUp:false,lazyInit:true,useOldPopUp:true,complainAboutPopUpBlocking:true,newestMessageAtTop:false,scrollToLatestMessage:true,width:"600",height:"400",reopenWhenClosed:false,maxMessages:null,showCommandLine:true,commandLineObjectExpansionDepth:1,showHideButton:false,showCloseButton:true,useDocumentWrite:true};r.prototype.toString=function(){return"PopUpAppender"};log4javascript.PopUpAppender=r;function i(e,t,n,r,i,a){this.create(true,e,t,n,r,i,a,false)}i.prototype=new ConsoleAppender;i.prototype.defaults={layout:new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"),initiallyMinimized:false,lazyInit:true,newestMessageAtTop:false,scrollToLatestMessage:true,width:"100%",height:"220px",maxMessages:null,showCommandLine:true,commandLineObjectExpansionDepth:1,showHideButton:false,showCloseButton:false,showLogEntryDeleteButtons:true,useDocumentWrite:true};i.prototype.toString=function(){return"InPageAppender"};log4javascript.InPageAppender=i;log4javascript.InlineAppender=i})();function padWithSpaces(e,t){if(e.length<t){var n=[];var r=Math.max(0,t-e.length);for(var i=0;i<r;i++){n[i]=" "}e+=n.join("")}return e}(function(){function e(e){var t=0;for(var n in e){t=Math.max(toStr(n).length,t)}var r=[];for(n in e){var i=" "+padWithSpaces(toStr(n),t+2);var a;try{a=splitIntoLines(toStr(e[n])).join(padWithSpaces(newLine,t+6))}catch(e){a="[Error obtaining property. Details: "+getExceptionMessage(e)+"]"}r.push(i+a)}return r.join(newLine)}var t={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12};var n=["script","pre"];var r=["br","img","hr","param","link","area","input","col","base","meta"];var i=" ";function a(e,o,s,l,c){o=typeof o=="undefined"?true:!!o;if(typeof s!="string"){s=""}l=!!l;c=!!c;var u;function d(e){return e.nodeType==t.TEXT_NODE&&/^[ \t\r\n]*$/.test(e.nodeValue)}function p(e){return e.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;")}function f(e){var t=e.style.cssText.split(";");var n="";for(var r=0,i=t.length;r<i;r++){var a=t[r].split(":");var o=[];if(!/^\s*$/.test(a[0])){o.push(trim(a[0]).toLowerCase()+":"+trim(a[1]))}n=o.join(";")}return n}function h(e){if(e.prefix){return e.prefix}else if(e.outerHTML){var t=new RegExp("<([^:]+):"+e.tagName+"[^>]*>","i");if(t.test(e.outerHTML)){return RegExp.$1.toLowerCase()}}return""}var m="<";var g=">";var v,y;if(o&&e.nodeType!=t.DOCUMENT_FRAGMENT_NODE){switch(e.nodeType){case t.ELEMENT_NODE:var b=e.tagName.toLowerCase();u=l?newLine+s:"";u+=m;var w=h(e);var C=!!w;if(C){u+=w+":"}u+=b;for(v=0,y=e.attributes.length;v<y;v++){var x=e.attributes[v];if(!x.specified||x.nodeValue===null||x.nodeName.toLowerCase()==="style"||typeof x.nodeValue!=="string"||x.nodeName.indexOf("_moz")===0){continue}u+=" "+x.nodeName.toLowerCase()+'="';u+=p(x.nodeValue);u+='"'}if(e.style.cssText){var E=f(e);if(E!==""){u+=' style="'+f(e)+'"'}}if(array_contains(r,b)||C&&!e.hasChildNodes()){u+="/"+g}else{u+=g;var S=!(e.childNodes.length===1&&e.childNodes[0].nodeType===t.TEXT_NODE);var L=array_contains(n,b);for(v=0,y=e.childNodes.length;v<y;v++){u+=a(e.childNodes[v],true,s+i,S,L)}var k=m+"/"+b+g;u+=S?newLine+s+k:k}return u;case t.TEXT_NODE:if(d(e)){u=""}else{if(c){u=e.nodeValue}else{var T=splitIntoLines(trim(e.nodeValue));var A=[];for(v=0,y=T.length;v<y;v++){A[v]=trim(T[v])}u=A.join(newLine+s)}if(l){u=newLine+s+u}}return u;case t.CDATA_SECTION_NODE:return"<![CDA"+"TA["+e.nodeValue+"]"+"]>"+newLine;case t.DOCUMENT_NODE:u="";for(v=0,y=e.childNodes.length;v<y;v++){u+=a(e.childNodes[v],true,s)}return u;default:return""}}else{u="";for(v=0,y=e.childNodes.length;v<y;v++){u+=a(e.childNodes[v],true,s+i)}return u}}function o(){ConsoleAppender.addGlobalCommandLineFunction("$",(function(e,t,n){return document.getElementById(t[0])}));ConsoleAppender.addGlobalCommandLineFunction("dir",(function(t,n,r){var i=[];for(var a=0,o=n.length;a<o;a++){i[a]=e(n[a])}return i.join(newLine+newLine)}));ConsoleAppender.addGlobalCommandLineFunction("dirxml",(function(e,t,n){var r=[];for(var i=0,o=t.length;i<o;i++){r[i]=a(t[i])}return r.join(newLine+newLine)}));ConsoleAppender.addGlobalCommandLineFunction("cd",(function(e,t,n){var r,i;if(t.length===0||t[0]===""){r=window;i="Command line set to run in main window"}else{if(t[0].window==t[0]){r=t[0];i="Command line set to run in frame '"+t[0].name+"'"}else{r=window.frames[t[0]];if(r){i="Command line set to run in frame '"+t[0]+"'"}else{n.isError=true;i="Frame '"+t[0]+"' does not exist";r=e.getCommandWindow()}}}e.setCommandWindow(r);return i}));ConsoleAppender.addGlobalCommandLineFunction("clear",(function(e,t,n){n.appendResult=false;e.clear()}));ConsoleAppender.addGlobalCommandLineFunction("keys",(function(e,t,n){var r=[];for(var i in t[0]){r.push(i)}return r}));ConsoleAppender.addGlobalCommandLineFunction("values",(function(e,t,n){var r=[];for(var i in t[0]){try{r.push(t[0][i])}catch(e){logLog.warn("values(): Unable to obtain value for key "+i+". Details: "+getExceptionMessage(e))}}return r}));ConsoleAppender.addGlobalCommandLineFunction("expansionDepth",(function(e,t,n){var r=parseInt(t[0],10);if(isNaN(r)||r<0){n.isError=true;return""+t[0]+" is not a valid expansion depth"}else{e.setCommandLineObjectExpansionDepth(r);return"Object expansion depth set to "+r}}))}function s(){o()}s()})();function createDefaultLogger(){var e=log4javascript.getLogger(defaultLoggerName);var t=new log4javascript.PopUpAppender;e.addAppender(t);return e}log4javascript.setDocumentReady=function(){pageLoaded=true;log4javascript.dispatchEvent("load",{})};if(window.addEventListener){window.addEventListener("load",log4javascript.setDocumentReady,false)}else if(window.attachEvent){window.attachEvent("onload",log4javascript.setDocumentReady)}else{var oldOnload=window.onload;if(typeof window.onload!="function"){window.onload=log4javascript.setDocumentReady}else{window.onload=function(e){if(oldOnload){oldOnload(e)}log4javascript.setDocumentReady()}}}return log4javascript}),this)},7503:function(e,t,n){e=n.nmd(e);var r;
30
+ (function(){"use strict";function n(e,t,n){var r=e.split(t),i=r.shift();return n(i,r.join(t))}function r(e){var t={hash:"",host:"",hostname:"",origin:"",pathname:"",protocol:"",search:"",password:"",username:"",port:""};return n(e,"#",(function(e,r){r&&(t.hash=r?"#"+r:""),n(e,"?",(function(e,r){r&&(t.search="?"+r),e&&n(e,"//",(function(e,r){t.protocol=e,n(r,"/",(function(e,r){t.pathname="/"+(r||""),(t.protocol||e)&&(t.origin=t.protocol+"//"+e),n(e,"@",(function(e,r){if(r){var i=e.split(":");t.username=i[0],t.password=i[1]}else r=e;t.host=r,n(r,":",(function(e,n){t.hostname=e,n&&(t.port=n)}))}))}))}))}))})),t.href=t.origin+t.pathname+t.search+t.hash,t}function i(e){var t={},n=e.search;if(n){n=n.replace(new RegExp("\\?"),"");var r=n.split("&");for(var i in r)if(r.hasOwnProperty(i)&&r[i]){var a=r[i].split("=");t[a[0]]=a[1]}}return t}function a(e){var t=s[e];return"undefined"!=typeof t?t:(t=r(e),t.params=i(t),s[e]=t,t)}var o=this,s={};return a.changeQueryParser=function(e){i=e},true?(true&&e.exports&&(t=e.exports=a),t.liteURL=a):0,a}).call(this)},863:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(e,t){if(true){!(__WEBPACK_AMD_DEFINE_FACTORY__=e,__WEBPACK_AMD_DEFINE_RESULT__=typeof __WEBPACK_AMD_DEFINE_FACTORY__==="function"?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}else{}})((function(){if(!Array.prototype.push){Array.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){this[this.length]=arguments[e]}return this.length}}if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length>0){var e=this[0];for(var t=0,n=this.length-1;t<n;t++){this[t]=this[t+1]}this.length=this.length-1;return e}}}if(!Array.prototype.splice){Array.prototype.splice=function(e,t){var n=this.slice(e+t);var r=this.slice(e,e+t);this.length=e;var i=[];for(var a=0,o=arguments.length;a<o;a++){i[a]=arguments[a]}var s=i.length>2?n=i.slice(2).concat(n):n;for(a=0,o=s.length;a<o;a++){this.push(s[a])}return r}}function isUndefined(e){return typeof e=="undefined"}function EventSupport(){}EventSupport.prototype={eventTypes:[],eventListeners:{},setEventTypes:function(e){if(e instanceof Array){this.eventTypes=e;this.eventListeners={};for(var t=0,n=this.eventTypes.length;t<n;t++){this.eventListeners[this.eventTypes[t]]=[]}}else{handleError("log4javascript.EventSupport ["+this+"]: setEventTypes: eventTypes parameter must be an Array")}},addEventListener:function(e,t){if(typeof t=="function"){if(!array_contains(this.eventTypes,e)){handleError("log4javascript.EventSupport ["+this+"]: addEventListener: no event called '"+e+"'")}this.eventListeners[e].push(t)}else{handleError("log4javascript.EventSupport ["+this+"]: addEventListener: listener must be a function")}},removeEventListener:function(e,t){if(typeof t=="function"){if(!array_contains(this.eventTypes,e)){handleError("log4javascript.EventSupport ["+this+"]: removeEventListener: no event called '"+e+"'")}array_remove(this.eventListeners[e],t)}else{handleError("log4javascript.EventSupport ["+this+"]: removeEventListener: listener must be a function")}},dispatchEvent:function(e,t){if(array_contains(this.eventTypes,e)){var n=this.eventListeners[e];for(var r=0,i=n.length;r<i;r++){n[r](this,e,t)}}else{handleError("log4javascript.EventSupport ["+this+"]: dispatchEvent: no event called '"+e+"'")}}};var applicationStartDate=new Date;var uniqueId="log4javascript_"+applicationStartDate.getTime()+"_"+Math.floor(Math.random()*1e8);var emptyFunction=function(){};var newLine="\r\n";var pageLoaded=false;function Log4JavaScript(){}Log4JavaScript.prototype=new EventSupport;var log4javascript=new Log4JavaScript;log4javascript.version="1.4.13";log4javascript.edition="log4javascript";function toStr(e){if(e&&e.toString){return e.toString()}else{return String(e)}}function getExceptionMessage(e){if(e.message){return e.message}else if(e.description){return e.description}else{return toStr(e)}}function getUrlFileName(e){var t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return e.substr(t+1)}function getExceptionStringRep(e){if(e){var t="Exception: "+getExceptionMessage(e);try{if(e.lineNumber){t+=" on line number "+e.lineNumber}if(e.fileName){t+=" in file "+getUrlFileName(e.fileName)}}catch(e){logLog.warn("Unable to obtain file and line information for error")}if(showStackTraces&&e.stack){t+=newLine+"Stack trace:"+newLine+e.stack}return t}return null}function bool(e){return Boolean(e)}function trim(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}function splitIntoLines(e){var t=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.split("\n")}var urlEncode=typeof window.encodeURIComponent!="undefined"?function(e){return encodeURIComponent(e)}:function(e){return escape(e).replace(/\+/g,"%2B").replace(/"/g,"%22").replace(/'/g,"%27").replace(/\//g,"%2F").replace(/=/g,"%3D")};function array_remove(e,t){var n=-1;for(var r=0,i=e.length;r<i;r++){if(e[r]===t){n=r;break}}if(n>=0){e.splice(n,1);return true}else{return false}}function array_contains(e,t){for(var n=0,r=e.length;n<r;n++){if(e[n]==t){return true}}return false}function extractBooleanFromParam(e,t){if(isUndefined(e)){return t}else{return bool(e)}}function extractStringFromParam(e,t){if(isUndefined(e)){return t}else{return String(e)}}function extractIntFromParam(e,t){if(isUndefined(e)){return t}else{try{var n=parseInt(e,10);return isNaN(n)?t:n}catch(n){logLog.warn("Invalid int param "+e,n);return t}}}function extractFunctionFromParam(e,t){if(typeof e=="function"){return e}else{return t}}function isError(e){return e instanceof Error}if(!Function.prototype.apply){Function.prototype.apply=function(obj,args){var methodName="__apply__";if(typeof obj[methodName]!="undefined"){methodName+=String(Math.random()).substr(2)}obj[methodName]=this;var argsStrings=[];for(var i=0,len=args.length;i<len;i++){argsStrings[i]="args["+i+"]"}var script="obj."+methodName+"("+argsStrings.join(",")+")";var returnValue=eval(script);delete obj[methodName];return returnValue}}if(!Function.prototype.call){Function.prototype.call=function(e){var t=[];for(var n=1,r=arguments.length;n<r;n++){t[n-1]=arguments[n]}return this.apply(e,t)}}var logLog={quietMode:false,debugMessages:[],setQuietMode:function(e){this.quietMode=bool(e)},numberOfErrors:0,alertAllErrors:false,setAlertAllErrors:function(e){this.alertAllErrors=e},debug:function(e){this.debugMessages.push(e)},displayDebug:function(){alert(this.debugMessages.join(newLine))},warn:function(e,t){},error:function(e,t){if(++this.numberOfErrors==1||this.alertAllErrors){if(!this.quietMode){var n="log4javascript error: "+e;if(t){n+=newLine+newLine+"Original error: "+getExceptionStringRep(t)}alert(n)}}}};log4javascript.logLog=logLog;log4javascript.setEventTypes(["load","error"]);function handleError(e,t){logLog.error(e,t);log4javascript.dispatchEvent("error",{message:e,exception:t})}log4javascript.handleError=handleError;var enabled=!(typeof log4javascript_disabled!="undefined"&&log4javascript_disabled);log4javascript.setEnabled=function(e){enabled=bool(e)};log4javascript.isEnabled=function(){return enabled};var useTimeStampsInMilliseconds=true;log4javascript.setTimeStampsInMilliseconds=function(e){useTimeStampsInMilliseconds=bool(e)};log4javascript.isTimeStampsInMilliseconds=function(){return useTimeStampsInMilliseconds};log4javascript.evalInScope=function(expr){return eval(expr)};var showStackTraces=false;log4javascript.setShowStackTraces=function(e){showStackTraces=bool(e)};var Level=function(e,t){this.level=e;this.name=t};Level.prototype={toString:function(){return this.name},equals:function(e){return this.level==e.level},isGreaterOrEqual:function(e){return this.level>=e.level}};Level.ALL=new Level(Number.MIN_VALUE,"ALL");Level.TRACE=new Level(1e4,"TRACE");Level.DEBUG=new Level(2e4,"DEBUG");Level.INFO=new Level(3e4,"INFO");Level.WARN=new Level(4e4,"WARN");Level.ERROR=new Level(5e4,"ERROR");Level.FATAL=new Level(6e4,"FATAL");Level.OFF=new Level(Number.MAX_VALUE,"OFF");log4javascript.Level=Level;function Timer(e,t){this.name=e;this.level=isUndefined(t)?Level.INFO:t;this.start=new Date}Timer.prototype.getElapsedTime=function(){return(new Date).getTime()-this.start.getTime()};var anonymousLoggerName="[anonymous]";var defaultLoggerName="[default]";var nullLoggerName="[null]";var rootLoggerName="root";function Logger(e){this.name=e;this.parent=null;this.children=[];var t=[];var n=null;var r=this.name===rootLoggerName;var i=this.name===nullLoggerName;var a=null;var o=false;this.addChild=function(e){this.children.push(e);e.parent=this;e.invalidateAppenderCache()};var s=true;this.getAdditivity=function(){return s};this.setAdditivity=function(e){var t=s!=e;s=e;if(t){this.invalidateAppenderCache()}};this.addAppender=function(e){if(i){handleError("Logger.addAppender: you may not add an appender to the null logger")}else{if(e instanceof log4javascript.Appender){if(!array_contains(t,e)){t.push(e);e.setAddedToLogger(this);this.invalidateAppenderCache()}}else{handleError("Logger.addAppender: appender supplied ('"+toStr(e)+"') is not a subclass of Appender")}}};this.removeAppender=function(e){array_remove(t,e);e.setRemovedFromLogger(this);this.invalidateAppenderCache()};this.removeAllAppenders=function(){var e=t.length;if(e>0){for(var n=0;n<e;n++){t[n].setRemovedFromLogger(this)}t.length=0;this.invalidateAppenderCache()}};this.getEffectiveAppenders=function(){if(a===null||o){var e=r||!this.getAdditivity()?[]:this.parent.getEffectiveAppenders();a=e.concat(t);o=false}return a};this.invalidateAppenderCache=function(){o=true;for(var e=0,t=this.children.length;e<t;e++){this.children[e].invalidateAppenderCache()}};this.log=function(e,t){if(enabled&&e.isGreaterOrEqual(this.getEffectiveLevel())){var n;var r=t.length-1;var i=t[r];if(t.length>1&&isError(i)){n=i;r--}var a=[];for(var o=0;o<=r;o++){a[o]=t[o]}var s=new LoggingEvent(this,new Date,e,a,n);this.callAppenders(s)}};this.callAppenders=function(e){var t=this.getEffectiveAppenders();for(var n=0,r=t.length;n<r;n++){t[n].doAppend(e)}};this.setLevel=function(e){if(r&&e===null){handleError("Logger.setLevel: you cannot set the level of the root logger to null")}else if(e instanceof Level){n=e}else{handleError("Logger.setLevel: level supplied to logger "+this.name+" is not an instance of log4javascript.Level")}};this.getLevel=function(){return n};this.getEffectiveLevel=function(){for(var e=this;e!==null;e=e.parent){var t=e.getLevel();if(t!==null){return t}}};this.group=function(e,t){if(enabled){var n=this.getEffectiveAppenders();for(var r=0,i=n.length;r<i;r++){n[r].group(e,t)}}};this.groupEnd=function(){if(enabled){var e=this.getEffectiveAppenders();for(var t=0,n=e.length;t<n;t++){e[t].groupEnd()}}};var l={};this.time=function(e,t){if(enabled){if(isUndefined(e)){handleError("Logger.time: a name for the timer must be supplied")}else if(t&&!(t instanceof Level)){handleError("Logger.time: level supplied to timer "+e+" is not an instance of log4javascript.Level")}else{l[e]=new Timer(e,t)}}};this.timeEnd=function(e){if(enabled){if(isUndefined(e)){handleError("Logger.timeEnd: a name for the timer must be supplied")}else if(l[e]){var t=l[e];var n=t.getElapsedTime();this.log(t.level,["Timer "+toStr(e)+" completed in "+n+"ms"]);delete l[e]}else{logLog.warn("Logger.timeEnd: no timer found with name "+e)}}};this.assert=function(e){if(enabled&&!e){var t=[];for(var n=1,r=arguments.length;n<r;n++){t.push(arguments[n])}t=t.length>0?t:["Assertion Failure"];t.push(newLine);t.push(e);this.log(Level.ERROR,t)}};this.toString=function(){return"Logger["+this.name+"]"}}Logger.prototype={trace:function(){this.log(Level.TRACE,arguments)},debug:function(){this.log(Level.DEBUG,arguments)},info:function(){this.log(Level.INFO,arguments)},warn:function(){this.log(Level.WARN,arguments)},error:function(){this.log(Level.ERROR,arguments)},fatal:function(){this.log(Level.FATAL,arguments)},isEnabledFor:function(e){return e.isGreaterOrEqual(this.getEffectiveLevel())},isTraceEnabled:function(){return this.isEnabledFor(Level.TRACE)},isDebugEnabled:function(){return this.isEnabledFor(Level.DEBUG)},isInfoEnabled:function(){return this.isEnabledFor(Level.INFO)},isWarnEnabled:function(){return this.isEnabledFor(Level.WARN)},isErrorEnabled:function(){return this.isEnabledFor(Level.ERROR)},isFatalEnabled:function(){return this.isEnabledFor(Level.FATAL)}};Logger.prototype.trace.isEntryPoint=true;Logger.prototype.debug.isEntryPoint=true;Logger.prototype.info.isEntryPoint=true;Logger.prototype.warn.isEntryPoint=true;Logger.prototype.error.isEntryPoint=true;Logger.prototype.fatal.isEntryPoint=true;var loggers={};var loggerNames=[];var ROOT_LOGGER_DEFAULT_LEVEL=Level.DEBUG;var rootLogger=new Logger(rootLoggerName);rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);log4javascript.getRootLogger=function(){return rootLogger};log4javascript.getLogger=function(e){if(typeof e!="string"){e=anonymousLoggerName;logLog.warn("log4javascript.getLogger: non-string logger name "+toStr(e)+" supplied, returning anonymous logger")}if(e==rootLoggerName){handleError("log4javascript.getLogger: root logger may not be obtained by name")}if(!loggers[e]){var t=new Logger(e);loggers[e]=t;loggerNames.push(e);var n=e.lastIndexOf(".");var r;if(n>-1){var i=e.substring(0,n);r=log4javascript.getLogger(i)}else{r=rootLogger}r.addChild(t)}return loggers[e]};var defaultLogger=null;log4javascript.getDefaultLogger=function(){if(!defaultLogger){defaultLogger=createDefaultLogger()}return defaultLogger};var nullLogger=null;log4javascript.getNullLogger=function(){if(!nullLogger){nullLogger=new Logger(nullLoggerName);nullLogger.setLevel(Level.OFF)}return nullLogger};log4javascript.resetConfiguration=function(){rootLogger.setLevel(ROOT_LOGGER_DEFAULT_LEVEL);loggers={}};var LoggingEvent=function(e,t,n,r,i){this.logger=e;this.timeStamp=t;this.timeStampInMilliseconds=t.getTime();this.timeStampInSeconds=Math.floor(this.timeStampInMilliseconds/1e3);this.milliseconds=this.timeStamp.getMilliseconds();this.level=n;this.messages=r;this.exception=i};LoggingEvent.prototype={getThrowableStrRep:function(){return this.exception?getExceptionStringRep(this.exception):""},getCombinedMessages:function(){return this.messages.length==1?this.messages[0]:this.messages.join(newLine)},toString:function(){return"LoggingEvent["+this.level+"]"}};log4javascript.LoggingEvent=LoggingEvent;var Layout=function(){};Layout.prototype={defaults:{loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url"},loggerKey:"logger",timeStampKey:"timestamp",millisecondsKey:"milliseconds",levelKey:"level",messageKey:"message",exceptionKey:"exception",urlKey:"url",batchHeader:"",batchFooter:"",batchSeparator:"",returnsPostData:false,overrideTimeStampsSetting:false,useTimeStampsInMilliseconds:null,format:function(){handleError("Layout.format: layout supplied has no format() method")},ignoresThrowable:function(){handleError("Layout.ignoresThrowable: layout supplied has no ignoresThrowable() method")},getContentType:function(){return"text/plain"},allowBatching:function(){return true},setTimeStampsInMilliseconds:function(e){this.overrideTimeStampsSetting=true;this.useTimeStampsInMilliseconds=bool(e)},isTimeStampsInMilliseconds:function(){return this.overrideTimeStampsSetting?this.useTimeStampsInMilliseconds:useTimeStampsInMilliseconds},getTimeStampValue:function(e){return this.isTimeStampsInMilliseconds()?e.timeStampInMilliseconds:e.timeStampInSeconds},getDataValues:function(e,t){var n=[[this.loggerKey,e.logger.name],[this.timeStampKey,this.getTimeStampValue(e)],[this.levelKey,e.level.name],[this.urlKey,window.location.href],[this.messageKey,t?e.getCombinedMessages():e.messages]];if(!this.isTimeStampsInMilliseconds()){n.push([this.millisecondsKey,e.milliseconds])}if(e.exception){n.push([this.exceptionKey,getExceptionStringRep(e.exception)])}if(this.hasCustomFields()){for(var r=0,i=this.customFields.length;r<i;r++){var a=this.customFields[r].value;if(typeof a==="function"){a=a(this,e)}n.push([this.customFields[r].name,a])}}return n},setKeys:function(e,t,n,r,i,a,o){this.loggerKey=extractStringFromParam(e,this.defaults.loggerKey);this.timeStampKey=extractStringFromParam(t,this.defaults.timeStampKey);this.levelKey=extractStringFromParam(n,this.defaults.levelKey);this.messageKey=extractStringFromParam(r,this.defaults.messageKey);this.exceptionKey=extractStringFromParam(i,this.defaults.exceptionKey);this.urlKey=extractStringFromParam(a,this.defaults.urlKey);this.millisecondsKey=extractStringFromParam(o,this.defaults.millisecondsKey)},setCustomField:function(e,t){var n=false;for(var r=0,i=this.customFields.length;r<i;r++){if(this.customFields[r].name===e){this.customFields[r].value=t;n=true}}if(!n){this.customFields.push({name:e,value:t})}},hasCustomFields:function(){return this.customFields.length>0},formatWithException:function(e){var t=this.format(e);if(e.exception&&this.ignoresThrowable()){t+=e.getThrowableStrRep()}return t},toString:function(){handleError("Layout.toString: all layouts must override this method")}};log4javascript.Layout=Layout;var Appender=function(){};Appender.prototype=new EventSupport;Appender.prototype.layout=new PatternLayout;Appender.prototype.threshold=Level.ALL;Appender.prototype.loggers=[];Appender.prototype.doAppend=function(e){if(enabled&&e.level.level>=this.threshold.level){this.append(e)}};Appender.prototype.append=function(e){};Appender.prototype.setLayout=function(e){if(e instanceof Layout){this.layout=e}else{handleError("Appender.setLayout: layout supplied to "+this.toString()+" is not a subclass of Layout")}};Appender.prototype.getLayout=function(){return this.layout};Appender.prototype.setThreshold=function(e){if(e instanceof Level){this.threshold=e}else{handleError("Appender.setThreshold: threshold supplied to "+this.toString()+" is not a subclass of Level")}};Appender.prototype.getThreshold=function(){return this.threshold};Appender.prototype.setAddedToLogger=function(e){this.loggers.push(e)};Appender.prototype.setRemovedFromLogger=function(e){array_remove(this.loggers,e)};Appender.prototype.group=emptyFunction;Appender.prototype.groupEnd=emptyFunction;Appender.prototype.toString=function(){handleError("Appender.toString: all appenders must override this method")};log4javascript.Appender=Appender;function SimpleLayout(){this.customFields=[]}SimpleLayout.prototype=new Layout;SimpleLayout.prototype.format=function(e){return e.level.name+" - "+e.getCombinedMessages()};SimpleLayout.prototype.ignoresThrowable=function(){return true};SimpleLayout.prototype.toString=function(){return"SimpleLayout"};log4javascript.SimpleLayout=SimpleLayout;function NullLayout(){this.customFields=[]}NullLayout.prototype=new Layout;NullLayout.prototype.format=function(e){return e.messages};NullLayout.prototype.ignoresThrowable=function(){return true};NullLayout.prototype.formatWithException=function(e){var t=e.messages,n=e.exception;return n?t.concat([n]):t};NullLayout.prototype.toString=function(){return"NullLayout"};log4javascript.NullLayout=NullLayout;function XmlLayout(e){this.combineMessages=extractBooleanFromParam(e,true);this.customFields=[]}XmlLayout.prototype=new Layout;XmlLayout.prototype.isCombinedMessages=function(){return this.combineMessages};XmlLayout.prototype.getContentType=function(){return"text/xml"};XmlLayout.prototype.escapeCdata=function(e){return e.replace(/\]\]>/,"]]>]]&gt;<![CDATA[")};XmlLayout.prototype.format=function(e){var t=this;var n,r;function i(e){e=typeof e==="string"?e:toStr(e);return"<log4javascript:message><![CDATA["+t.escapeCdata(e)+"]]></log4javascript:message>"}var a='<log4javascript:event logger="'+e.logger.name+'" timestamp="'+this.getTimeStampValue(e)+'"';if(!this.isTimeStampsInMilliseconds()){a+=' milliseconds="'+e.milliseconds+'"'}a+=' level="'+e.level.name+'">'+newLine;if(this.combineMessages){a+=i(e.getCombinedMessages())}else{a+="<log4javascript:messages>"+newLine;for(n=0,r=e.messages.length;n<r;n++){a+=i(e.messages[n])+newLine}a+="</log4javascript:messages>"+newLine}if(this.hasCustomFields()){for(n=0,r=this.customFields.length;n<r;n++){a+='<log4javascript:customfield name="'+this.customFields[n].name+'"><![CDATA['+this.customFields[n].value.toString()+"]]></log4javascript:customfield>"+newLine}}if(e.exception){a+="<log4javascript:exception><![CDATA["+getExceptionStringRep(e.exception)+"]]></log4javascript:exception>"+newLine}a+="</log4javascript:event>"+newLine+newLine;return a};XmlLayout.prototype.ignoresThrowable=function(){return false};XmlLayout.prototype.toString=function(){return"XmlLayout"};log4javascript.XmlLayout=XmlLayout;function escapeNewLines(e){return e.replace(/\r\n|\r|\n/g,"\\r\\n")}function JsonLayout(e,t){this.readable=extractBooleanFromParam(e,false);this.combineMessages=extractBooleanFromParam(t,true);this.batchHeader=this.readable?"["+newLine:"[";this.batchFooter=this.readable?"]"+newLine:"]";this.batchSeparator=this.readable?","+newLine:",";this.setKeys();this.colon=this.readable?": ":":";this.tab=this.readable?"\t":"";this.lineBreak=this.readable?newLine:"";this.customFields=[]}JsonLayout.prototype=new Layout;JsonLayout.prototype.isReadable=function(){return this.readable};JsonLayout.prototype.isCombinedMessages=function(){return this.combineMessages};JsonLayout.prototype.format=function(e){var t=this;var n=this.getDataValues(e,this.combineMessages);var r="{"+this.lineBreak;var i,a;function o(e,n,r){var i;var a=typeof e;if(e instanceof Date){i=String(e.getTime())}else if(r&&e instanceof Array){i="["+t.lineBreak;for(var s=0,l=e.length;s<l;s++){var c=n+t.tab;i+=c+o(e[s],c,false);if(s<e.length-1){i+=","}i+=t.lineBreak}i+=n+"]"}else if(a!=="number"&&a!=="boolean"){i='"'+escapeNewLines(toStr(e).replace(/\"/g,'\\"'))+'"'}else{i=e}return i}for(i=0,a=n.length-1;i<=a;i++){r+=this.tab+'"'+n[i][0]+'"'+this.colon+o(n[i][1],this.tab,true);if(i<a){r+=","}r+=this.lineBreak}r+="}"+this.lineBreak;return r};JsonLayout.prototype.ignoresThrowable=function(){return false};JsonLayout.prototype.toString=function(){return"JsonLayout"};JsonLayout.prototype.getContentType=function(){return"application/json"};log4javascript.JsonLayout=JsonLayout;function HttpPostDataLayout(){this.setKeys();this.customFields=[];this.returnsPostData=true}HttpPostDataLayout.prototype=new Layout;HttpPostDataLayout.prototype.allowBatching=function(){return false};HttpPostDataLayout.prototype.format=function(e){var t=this.getDataValues(e);var n=[];for(var r=0,i=t.length;r<i;r++){var a=t[r][1]instanceof Date?String(t[r][1].getTime()):t[r][1];n.push(urlEncode(t[r][0])+"="+urlEncode(a))}return n.join("&")};HttpPostDataLayout.prototype.ignoresThrowable=function(e){return false};HttpPostDataLayout.prototype.toString=function(){return"HttpPostDataLayout"};log4javascript.HttpPostDataLayout=HttpPostDataLayout;function formatObjectExpansion(e,t,n){var r=[];function i(e,t,n){var a,o,s,l,c,u,d;if(!n){n=""}function p(e){var t=splitIntoLines(e);for(var r=1,i=t.length;r<i;r++){t[r]=n+t[r]}return t.join(newLine)}if(e===null){return"null"}else if(typeof e=="undefined"){return"undefined"}else if(typeof e=="string"){return p(e)}else if(typeof e=="object"&&array_contains(r,e)){try{u=toStr(e)}catch(e){u="Error formatting property. Details: "+getExceptionStringRep(e)}return u+" [already expanded]"}else if(e instanceof Array&&t>0){r.push(e);u="["+newLine;s=t-1;l=n+" ";c=[];for(a=0,o=e.length;a<o;a++){try{d=i(e[a],s,l);c.push(l+d)}catch(e){c.push(l+"Error formatting array member. Details: "+getExceptionStringRep(e)+"")}}u+=c.join(","+newLine)+newLine+n+"]";return u}else if(Object.prototype.toString.call(e)=="[object Date]"){return e.toString()}else if(typeof e=="object"&&t>0){r.push(e);u="{"+newLine;s=t-1;l=n+" ";c=[];for(a in e){try{d=i(e[a],s,l);c.push(l+a+": "+d)}catch(e){c.push(l+a+": Error formatting property. Details: "+getExceptionStringRep(e))}}u+=c.join(","+newLine)+newLine+n+"}";return u}else{return p(toStr(e))}}return i(e,t,n)}var SimpleDateFormat;(function(){var e=/('[^']*')|(G+|y+|M+|w+|W+|D+|d+|F+|E+|a+|H+|k+|K+|h+|m+|s+|S+|Z+)|([a-zA-Z]+)|([^a-zA-Z']+)/;var t=["January","February","March","April","May","June","July","August","September","October","November","December"];var n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var r=0,i=1,a=2,o=3,s=4,l=5;var c={G:r,y:o,M:s,w:a,W:a,D:a,d:a,F:a,E:i,a:r,H:a,k:a,K:a,h:a,m:a,s:a,S:a,Z:l};var u=24*60*60*1e3;var d=7*u;var p=1;var f=function(e,t,n){var r=new Date(e,t,n,0,0,0);r.setMilliseconds(0);return r};Date.prototype.getDifference=function(e){return this.getTime()-e.getTime()};Date.prototype.isBefore=function(e){return this.getTime()<e.getTime()};Date.prototype.getUTCTime=function(){return Date.UTC(this.getFullYear(),this.getMonth(),this.getDate(),this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds())};Date.prototype.getTimeSince=function(e){return this.getUTCTime()-e.getUTCTime()};Date.prototype.getPreviousSunday=function(){var e=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12,0,0);var t=new Date(e.getTime()-this.getDay()*u);return f(t.getFullYear(),t.getMonth(),t.getDate())};Date.prototype.getWeekInYear=function(e){if(isUndefined(this.minimalDaysInFirstWeek)){e=p}var t=this.getPreviousSunday();var n=f(this.getFullYear(),0,1);var r=t.isBefore(n)?0:1+Math.floor(t.getTimeSince(n)/d);var i=7-n.getDay();var a=r;if(i<e){a--}return a};Date.prototype.getWeekInMonth=function(e){if(isUndefined(this.minimalDaysInFirstWeek)){e=p}var t=this.getPreviousSunday();var n=f(this.getFullYear(),this.getMonth(),1);var r=t.isBefore(n)?0:1+Math.floor(t.getTimeSince(n)/d);var i=7-n.getDay();var a=r;if(i>=e){a++}return a};Date.prototype.getDayInYear=function(){var e=f(this.getFullYear(),0,1);return 1+Math.floor(this.getTimeSince(e)/u)};SimpleDateFormat=function(e){this.formatString=e};SimpleDateFormat.prototype.setMinimalDaysInFirstWeek=function(e){this.minimalDaysInFirstWeek=e};SimpleDateFormat.prototype.getMinimalDaysInFirstWeek=function(){return isUndefined(this.minimalDaysInFirstWeek)?p:this.minimalDaysInFirstWeek};var h=function(e,t){while(e.length<t){e="0"+e}return e};var m=function(e,t,n){return t>=4?e:e.substr(0,Math.max(n,t))};var v=function(e,t){var n=""+e;return h(n,t)};SimpleDateFormat.prototype.format=function(u){var d="";var p;var f=this.formatString;while(p=e.exec(f)){var g=p[1];var y=p[2];var b=p[3];var w=p[4];if(g){if(g=="''"){d+="'"}else{d+=g.substring(1,g.length-1)}}else if(b){}else if(w){d+=w}else if(y){var C=y.charAt(0);var x=y.length;var E="";switch(C){case"G":E="AD";break;case"y":E=u.getFullYear();break;case"M":E=u.getMonth();break;case"w":E=u.getWeekInYear(this.getMinimalDaysInFirstWeek());break;case"W":E=u.getWeekInMonth(this.getMinimalDaysInFirstWeek());break;case"D":E=u.getDayInYear();break;case"d":E=u.getDate();break;case"F":E=1+Math.floor((u.getDate()-1)/7);break;case"E":E=n[u.getDay()];break;case"a":E=u.getHours()>=12?"PM":"AM";break;case"H":E=u.getHours();break;case"k":E=u.getHours()||24;break;case"K":E=u.getHours()%12;break;case"h":E=u.getHours()%12||12;break;case"m":E=u.getMinutes();break;case"s":E=u.getSeconds();break;case"S":E=u.getMilliseconds();break;case"Z":E=u.getTimezoneOffset();break}switch(c[C]){case r:d+=m(E,x,2);break;case i:d+=m(E,x,3);break;case a:d+=v(E,x);break;case o:if(x<=3){var S=""+E;d+=S.substr(2,2)}else{d+=v(E,x)}break;case s:if(x>=3){d+=m(t[E],x,x)}else{d+=v(E+1,x)}break;case l:var L=E>0;var k=L?"-":"+";var A=Math.abs(E);var T=""+Math.floor(A/60);T=h(T,2);var I=""+A%60;I=h(I,2);d+=k+T+I;break}}f=f.substr(p.index+p[0].length)}return d}})();log4javascript.SimpleDateFormat=SimpleDateFormat;function PatternLayout(e){if(e){this.pattern=e}else{this.pattern=PatternLayout.DEFAULT_CONVERSION_PATTERN}this.customFields=[]}PatternLayout.TTCC_CONVERSION_PATTERN="%r %p %c - %m%n";PatternLayout.DEFAULT_CONVERSION_PATTERN="%m%n";PatternLayout.ISO8601_DATEFORMAT="yyyy-MM-dd HH:mm:ss,SSS";PatternLayout.DATETIME_DATEFORMAT="dd MMM yyyy HH:mm:ss,SSS";PatternLayout.ABSOLUTETIME_DATEFORMAT="HH:mm:ss,SSS";PatternLayout.prototype=new Layout;PatternLayout.prototype.format=function(e){var t=/%(-?[0-9]+)?(\.?[0-9]+)?([acdfmMnpr%])(\{([^\}]+)\})?|([^%]+)/;var n="";var r;var i=this.pattern;while(r=t.exec(i)){var a=r[0];var o=r[1];var s=r[2];var l=r[3];var c=r[5];var u=r[6];if(u){n+=""+u}else{var d="";switch(l){case"a":case"m":var p=0;if(c){p=parseInt(c,10);if(isNaN(p)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character '"+l+"' - should be a number");p=0}}var f=l==="a"?e.messages[0]:e.messages;for(var h=0,m=f.length;h<m;h++){if(h>0&&d.charAt(d.length-1)!==" "){d+=" "}if(p===0){d+=f[h]}else{d+=formatObjectExpansion(f[h],p)}}break;case"c":var v=e.logger.name;if(c){var g=parseInt(c,10);var y=e.logger.name.split(".");if(g>=y.length){d=v}else{d=y.slice(y.length-g).join(".")}}else{d=v}break;case"d":var b=PatternLayout.ISO8601_DATEFORMAT;if(c){b=c;if(b=="ISO8601"){b=PatternLayout.ISO8601_DATEFORMAT}else if(b=="ABSOLUTE"){b=PatternLayout.ABSOLUTETIME_DATEFORMAT}else if(b=="DATE"){b=PatternLayout.DATETIME_DATEFORMAT}}d=new SimpleDateFormat(b).format(e.timeStamp);break;case"f":if(this.hasCustomFields()){var w=0;if(c){w=parseInt(c,10);if(isNaN(w)){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - should be a number")}else if(w===0){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - must be greater than zero")}else if(w>this.customFields.length){handleError("PatternLayout.format: invalid specifier '"+c+"' for conversion character 'f' - there aren't that many custom fields")}else{w=w-1}}var C=this.customFields[w].value;if(typeof C=="function"){C=C(this,e)}d=C}break;case"n":d=newLine;break;case"p":d=e.level.name;break;case"r":d=""+e.timeStamp.getDifference(applicationStartDate);break;case"%":d="%";break;default:d=a;break}var x;if(s){x=parseInt(s.substr(1),10);var E=d.length;if(x<E){d=d.substring(E-x,E)}}if(o){if(o.charAt(0)=="-"){x=parseInt(o.substr(1),10);while(d.length<x){d+=" "}}else{x=parseInt(o,10);while(d.length<x){d=" "+d}}}n+=d}i=i.substr(r.index+r[0].length)}return n};PatternLayout.prototype.ignoresThrowable=function(){return true};PatternLayout.prototype.toString=function(){return"PatternLayout"};log4javascript.PatternLayout=PatternLayout;function AlertAppender(){}AlertAppender.prototype=new Appender;AlertAppender.prototype.layout=new SimpleLayout;AlertAppender.prototype.append=function(e){alert(this.getLayout().formatWithException(e))};AlertAppender.prototype.toString=function(){return"AlertAppender"};log4javascript.AlertAppender=AlertAppender;function BrowserConsoleAppender(){}BrowserConsoleAppender.prototype=new log4javascript.Appender;BrowserConsoleAppender.prototype.layout=new NullLayout;BrowserConsoleAppender.prototype.threshold=Level.DEBUG;BrowserConsoleAppender.prototype.append=function(e){var t=this;var n=function(n){var r=t.getLayout().formatWithException(e);return typeof r=="string"?n?r:[r]:n?r.join(" "):r};var r=window.console;if(r&&r.log){var i;if(r.debug&&Level.DEBUG.isGreaterOrEqual(e.level)){i="debug"}else if(r.info&&Level.INFO.equals(e.level)){i="info"}else if(r.warn&&Level.WARN.equals(e.level)){i="warn"}else if(r.error&&e.level.isGreaterOrEqual(Level.ERROR)){i="error"}else{i="log"}if(typeof r[i].apply=="function"){r[i].apply(r,n(false))}else{r[i](n(true))}}else if(typeof opera!="undefined"&&opera.postError){opera.postError(n(true))}};BrowserConsoleAppender.prototype.group=function(e){if(window.console&&window.console.group){window.console.group(e)}};BrowserConsoleAppender.prototype.groupEnd=function(){if(window.console&&window.console.groupEnd){window.console.groupEnd()}};BrowserConsoleAppender.prototype.toString=function(){return"BrowserConsoleAppender"};log4javascript.BrowserConsoleAppender=BrowserConsoleAppender;var xhrFactory=function(){return new XMLHttpRequest};var xmlHttpFactories=[xhrFactory,function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];var withCredentialsSupported=false;var getXmlHttp=function(e){var t=null,n;for(var r=0,i=xmlHttpFactories.length;r<i;r++){n=xmlHttpFactories[r];try{t=n();withCredentialsSupported=n==xhrFactory&&"withCredentials"in t;getXmlHttp=n;return t}catch(e){}}if(e){e()}else{handleError("getXmlHttp: unable to obtain XMLHttpRequest object")}};function isHttpRequestSuccessful(e){return isUndefined(e.status)||e.status===0||e.status>=200&&e.status<300||e.status==1223}function AjaxAppender(e,t){var n=this;var r=true;if(!e){handleError("AjaxAppender: URL must be specified in constructor");r=false}var i=this.defaults.timed;var a=this.defaults.waitForResponse;var o=this.defaults.batchSize;var s=this.defaults.timerInterval;var l=this.defaults.requestSuccessCallback;var c=this.defaults.failCallback;var u=this.defaults.postVarName;var d=this.defaults.sendAllOnUnload;var p=this.defaults.contentType;var f=null;var h=[];var m=[];var v=[];var g=false;var y=false;function b(e){if(y){handleError("AjaxAppender: configuration option '"+e+"' may not be set after the appender has been initialized");return false}return true}this.getSessionId=function(){return f};this.setSessionId=function(e){f=extractStringFromParam(e,null);this.layout.setCustomField("sessionid",f)};this.setLayout=function(e){if(b("layout")){this.layout=e;if(f!==null){this.setSessionId(f)}}};this.isTimed=function(){return i};this.setTimed=function(e){if(b("timed")){i=bool(e)}};this.getTimerInterval=function(){return s};this.setTimerInterval=function(e){if(b("timerInterval")){s=extractIntFromParam(e,s)}};this.isWaitForResponse=function(){return a};this.setWaitForResponse=function(e){if(b("waitForResponse")){a=bool(e)}};this.getBatchSize=function(){return o};this.setBatchSize=function(e){if(b("batchSize")){o=extractIntFromParam(e,o)}};this.isSendAllOnUnload=function(){return d};this.setSendAllOnUnload=function(e){if(b("sendAllOnUnload")){d=extractBooleanFromParam(e,d)}};this.setRequestSuccessCallback=function(e){l=extractFunctionFromParam(e,l)};this.setFailCallback=function(e){c=extractFunctionFromParam(e,c)};this.getPostVarName=function(){return u};this.setPostVarName=function(e){if(b("postVarName")){u=extractStringFromParam(e,u)}};this.getHeaders=function(){return v};this.addHeader=function(e,t){if(e.toLowerCase()=="content-type"){p=t}else{v.push({name:e,value:t})}};function w(){if(r&&enabled){g=true;var e;if(a){if(m.length>0){e=m.shift();L(x(e),w)}else{g=false;if(i){E()}}}else{while(e=m.shift()){L(x(e))}g=false;if(i){E()}}}}this.sendAll=w;function C(){var e=false;if(r&&enabled){var t=n.getLayout().allowBatching()?o:1;var s;var l=[];while(s=h.shift()){l.push(s);if(h.length>=t){m.push(l);l=[]}}if(l.length>0){m.push(l)}e=m.length>0;a=false;i=false;w()}return e}this.sendAllRemaining=C;function x(e){var t=[];var r;var i="";while(r=e.shift()){t.push(n.getLayout().formatWithException(r))}if(e.length==1){i=t.join("")}else{i=n.getLayout().batchHeader+t.join(n.getLayout().batchSeparator)+n.getLayout().batchFooter}if(p==n.defaults.contentType){i=n.getLayout().returnsPostData?i:urlEncode(u)+"="+urlEncode(i);if(i.length>0){i+="&"}i+="layout="+urlEncode(n.getLayout().toString())}return i}function E(){window.setTimeout(w,s)}function S(){var e="AjaxAppender: could not create XMLHttpRequest object. AjaxAppender disabled";handleError(e);r=false;if(c){c(e)}}function L(n,i){try{var a=getXmlHttp(S);if(r){a.onreadystatechange=function(){if(a.readyState==4){if(isHttpRequestSuccessful(a)){if(l){l(a)}if(i){i(a)}}else{var t="AjaxAppender.append: XMLHttpRequest request to URL "+e+" returned status code "+a.status;handleError(t);if(c){c(t)}}a.onreadystatechange=emptyFunction;a=null}};a.open("POST",e,true);if(t&&withCredentialsSupported){a.withCredentials=true}try{for(var o=0,s;s=v[o++];){a.setRequestHeader(s.name,s.value)}a.setRequestHeader("Content-Type",p)}catch(e){var u="AjaxAppender.append: your browser's XMLHttpRequest implementation"+" does not support setRequestHeader, therefore cannot post data. AjaxAppender disabled";handleError(u);r=false;if(c){c(u)}return}a.send(n)}}catch(t){var d="AjaxAppender.append: error sending log message to "+e;handleError(d,t);r=false;if(c){c(d+". Details: "+getExceptionStringRep(t))}}}this.append=function(e){if(r){if(!y){k()}h.push(e);var t=this.getLayout().allowBatching()?o:1;if(h.length>=t){var n;var s=[];while(n=h.shift()){s.push(n)}m.push(s);if(!i&&(!a||a&&!g)){w()}}}};function k(){y=true;if(d){var e=window.onbeforeunload;window.onbeforeunload=function(){if(e){e()}C()}}if(i){E()}}}AjaxAppender.prototype=new Appender;AjaxAppender.prototype.defaults={waitForResponse:false,timed:false,timerInterval:1e3,batchSize:1,sendAllOnUnload:false,requestSuccessCallback:null,failCallback:null,postVarName:"data",contentType:"application/x-www-form-urlencoded"};AjaxAppender.prototype.layout=new HttpPostDataLayout;AjaxAppender.prototype.toString=function(){return"AjaxAppender"};log4javascript.AjaxAppender=AjaxAppender;function setCookie(e,t,n,r){var i;r=r?"; path="+r:"";if(n){var a=new Date;a.setTime(a.getTime()+n*24*60*60*1e3);i="; expires="+a.toGMTString()}else{i=""}document.cookie=escape(e)+"="+escape(t)+i+r}function getCookie(e){var t=escape(e)+"=";var n=document.cookie.split(";");for(var r=0,i=n.length;r<i;r++){var a=n[r];while(a.charAt(0)===" "){a=a.substring(1,a.length)}if(a.indexOf(t)===0){return unescape(a.substring(t.length,a.length))}}return null}function getBaseUrl(){var e=document.getElementsByTagName("script");for(var t=0,n=e.length;t<n;++t){if(e[t].src.indexOf("log4javascript")!=-1){var r=e[t].src.lastIndexOf("/");return r==-1?"":e[t].src.substr(0,r+1)}}return null}function isLoaded(e){try{return bool(e.loaded)}catch(e){return false}}var ConsoleAppender;(function(){var e=function(){return['<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">','<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">',"<head>","<title>log4javascript</title>",'<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',"\x3c!-- Make IE8 behave like IE7, having gone to all the trouble of making IE work --\x3e",'<meta http-equiv="X-UA-Compatible" content="IE=7" />','<script type="text/javascript">var isIe = false, isIePre7 = false;<\/script>','\x3c!--[if IE]><script type="text/javascript">isIe = true<\/script><![endif]--\x3e','\x3c!--[if lt IE 7]><script type="text/javascript">isIePre7 = true<\/script><![endif]--\x3e','<script type="text/javascript">',"//<![CDATA[","var loggingEnabled=true;var logQueuedEventsTimer=null;var logEntries=[];var logEntriesAndSeparators=[];var logItems=[];var renderDelay=100;var unrenderedLogItemsExist=false;var rootGroup,currentGroup=null;var loaded=false;var currentLogItem=null;var logMainContainer;function copyProperties(obj,props){for(var i in props){obj[i]=props[i];}}","function LogItem(){}","LogItem.prototype={mainContainer:null,wrappedContainer:null,unwrappedContainer:null,group:null,appendToLog:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].appendToLog();}","this.group.update();},doRemove:function(doUpdate,removeFromGroup){if(this.rendered){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].remove();}","this.unwrappedElementContainer=null;this.wrappedElementContainer=null;this.mainElementContainer=null;}","if(this.group&&removeFromGroup){this.group.removeChild(this,doUpdate);}","if(this===currentLogItem){currentLogItem=null;}},remove:function(doUpdate,removeFromGroup){this.doRemove(doUpdate,removeFromGroup);},render:function(){},accept:function(visitor){visitor.visit(this);},getUnwrappedDomContainer:function(){return this.group.unwrappedElementContainer.contentDiv;},getWrappedDomContainer:function(){return this.group.wrappedElementContainer.contentDiv;},getMainDomContainer:function(){return this.group.mainElementContainer.contentDiv;}};LogItem.serializedItemKeys={LOG_ENTRY:0,GROUP_START:1,GROUP_END:2};function LogItemContainerElement(){}",'LogItemContainerElement.prototype={appendToLog:function(){var insertBeforeFirst=(newestAtTop&&this.containerDomNode.hasChildNodes());if(insertBeforeFirst){this.containerDomNode.insertBefore(this.mainDiv,this.containerDomNode.firstChild);}else{this.containerDomNode.appendChild(this.mainDiv);}}};function SeparatorElementContainer(containerDomNode){this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="separator";this.mainDiv.innerHTML="&nbsp;";}',"SeparatorElementContainer.prototype=new LogItemContainerElement();SeparatorElementContainer.prototype.remove=function(){this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;};function Separator(){this.rendered=false;}","Separator.prototype=new LogItem();copyProperties(Separator.prototype,{render:function(){var containerDomNode=this.group.contentDiv;if(isIe){this.unwrappedElementContainer=new SeparatorElementContainer(this.getUnwrappedDomContainer());this.wrappedElementContainer=new SeparatorElementContainer(this.getWrappedDomContainer());this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{this.mainElementContainer=new SeparatorElementContainer(this.getMainDomContainer());this.elementContainers=[this.mainElementContainer];}",'this.content=this.formattedMessage;this.rendered=true;}});function GroupElementContainer(group,containerDomNode,isRoot,isWrapped){this.group=group;this.containerDomNode=containerDomNode;this.isRoot=isRoot;this.isWrapped=isWrapped;this.expandable=false;if(this.isRoot){if(isIe){this.contentDiv=logMainContainer.appendChild(document.createElement("div"));this.contentDiv.id=this.isWrapped?"log_wrapped":"log_unwrapped";}else{this.contentDiv=logMainContainer;}}else{var groupElementContainer=this;this.mainDiv=document.createElement("div");this.mainDiv.className="group";this.headingDiv=this.mainDiv.appendChild(document.createElement("div"));this.headingDiv.className="groupheading";this.expander=this.headingDiv.appendChild(document.createElement("span"));this.expander.className="expander unselectable greyedout";this.expander.unselectable=true;var expanderText=this.group.expanded?"-":"+";this.expanderTextNode=this.expander.appendChild(document.createTextNode(expanderText));this.headingDiv.appendChild(document.createTextNode(" "+this.group.name));this.contentDiv=this.mainDiv.appendChild(document.createElement("div"));var contentCssClass=this.group.expanded?"expanded":"collapsed";this.contentDiv.className="groupcontent "+contentCssClass;this.expander.onclick=function(){if(groupElementContainer.group.expandable){groupElementContainer.group.toggleExpanded();}};}}','GroupElementContainer.prototype=new LogItemContainerElement();copyProperties(GroupElementContainer.prototype,{toggleExpanded:function(){if(!this.isRoot){var oldCssClass,newCssClass,expanderText;if(this.group.expanded){newCssClass="expanded";oldCssClass="collapsed";expanderText="-";}else{newCssClass="collapsed";oldCssClass="expanded";expanderText="+";}',"replaceClass(this.contentDiv,newCssClass,oldCssClass);this.expanderTextNode.nodeValue=expanderText;}},remove:function(){if(!this.isRoot){this.headingDiv=null;this.expander.onclick=null;this.expander=null;this.expanderTextNode=null;this.contentDiv=null;this.containerDomNode=null;this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;}},reverseChildren:function(){var node=null;var childDomNodes=[];while((node=this.contentDiv.firstChild)){this.contentDiv.removeChild(node);childDomNodes.push(node);}",'while((node=childDomNodes.pop())){this.contentDiv.appendChild(node);}},update:function(){if(!this.isRoot){if(this.group.expandable){removeClass(this.expander,"greyedout");}else{addClass(this.expander,"greyedout");}}},clear:function(){if(this.isRoot){this.contentDiv.innerHTML="";}}});function Group(name,isRoot,initiallyExpanded){this.name=name;this.group=null;this.isRoot=isRoot;this.initiallyExpanded=initiallyExpanded;this.elementContainers=[];this.children=[];this.expanded=initiallyExpanded;this.rendered=false;this.expandable=false;}',"Group.prototype=new LogItem();copyProperties(Group.prototype,{addChild:function(logItem){this.children.push(logItem);logItem.group=this;},render:function(){if(isIe){var unwrappedDomContainer,wrappedDomContainer;if(this.isRoot){unwrappedDomContainer=logMainContainer;wrappedDomContainer=logMainContainer;}else{unwrappedDomContainer=this.getUnwrappedDomContainer();wrappedDomContainer=this.getWrappedDomContainer();}","this.unwrappedElementContainer=new GroupElementContainer(this,unwrappedDomContainer,this.isRoot,false);this.wrappedElementContainer=new GroupElementContainer(this,wrappedDomContainer,this.isRoot,true);this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{var mainDomContainer=this.isRoot?logMainContainer:this.getMainDomContainer();this.mainElementContainer=new GroupElementContainer(this,mainDomContainer,this.isRoot,false);this.elementContainers=[this.mainElementContainer];}","this.rendered=true;},toggleExpanded:function(){this.expanded=!this.expanded;for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].toggleExpanded();}},expand:function(){if(!this.expanded){this.toggleExpanded();}},accept:function(visitor){visitor.visitGroup(this);},reverseChildren:function(){if(this.rendered){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].reverseChildren();}}},update:function(){var previouslyExpandable=this.expandable;this.expandable=(this.children.length!==0);if(this.expandable!==previouslyExpandable){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].update();}}},flatten:function(){var visitor=new GroupFlattener();this.accept(visitor);return visitor.logEntriesAndSeparators;},removeChild:function(child,doUpdate){array_remove(this.children,child);child.group=null;if(doUpdate){this.update();}},remove:function(doUpdate,removeFromGroup){for(var i=0,len=this.children.length;i<len;i++){this.children[i].remove(false,false);}","this.children=[];this.update();if(this===currentGroup){currentGroup=this.group;}","this.doRemove(doUpdate,removeFromGroup);},serialize:function(items){items.push([LogItem.serializedItemKeys.GROUP_START,this.name]);for(var i=0,len=this.children.length;i<len;i++){this.children[i].serialize(items);}","if(this!==currentGroup){items.push([LogItem.serializedItemKeys.GROUP_END]);}},clear:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].clear();}}});function LogEntryElementContainer(){}",'LogEntryElementContainer.prototype=new LogItemContainerElement();copyProperties(LogEntryElementContainer.prototype,{remove:function(){this.doRemove();},doRemove:function(){this.mainDiv.parentNode.removeChild(this.mainDiv);this.mainDiv=null;this.contentElement=null;this.containerDomNode=null;},setContent:function(content,wrappedContent){if(content===this.formattedMessage){this.contentElement.innerHTML="";this.contentElement.appendChild(document.createTextNode(this.formattedMessage));}else{this.contentElement.innerHTML=content;}},setSearchMatch:function(isMatch){var oldCssClass=isMatch?"searchnonmatch":"searchmatch";var newCssClass=isMatch?"searchmatch":"searchnonmatch";replaceClass(this.mainDiv,newCssClass,oldCssClass);},clearSearch:function(){removeClass(this.mainDiv,"searchmatch");removeClass(this.mainDiv,"searchnonmatch");}});function LogEntryWrappedElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.appendChild(document.createTextNode(this.logEntry.formattedMessage));this.mainDiv.className="logentry wrapped "+this.logEntry.level;this.contentElement=this.mainDiv;}','LogEntryWrappedElementContainer.prototype=new LogEntryElementContainer();LogEntryWrappedElementContainer.prototype.setContent=function(content,wrappedContent){if(content===this.formattedMessage){this.contentElement.innerHTML="";this.contentElement.appendChild(document.createTextNode(this.formattedMessage));}else{this.contentElement.innerHTML=wrappedContent;}};function LogEntryUnwrappedElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="logentry unwrapped "+this.logEntry.level;this.pre=this.mainDiv.appendChild(document.createElement("pre"));this.pre.appendChild(document.createTextNode(this.logEntry.formattedMessage));this.pre.className="unwrapped";this.contentElement=this.pre;}','LogEntryUnwrappedElementContainer.prototype=new LogEntryElementContainer();LogEntryUnwrappedElementContainer.prototype.remove=function(){this.doRemove();this.pre=null;};function LogEntryMainElementContainer(logEntry,containerDomNode){this.logEntry=logEntry;this.containerDomNode=containerDomNode;this.mainDiv=document.createElement("div");this.mainDiv.className="logentry nonielogentry "+this.logEntry.level;this.contentElement=this.mainDiv.appendChild(document.createElement("span"));this.contentElement.appendChild(document.createTextNode(this.logEntry.formattedMessage));}',"LogEntryMainElementContainer.prototype=new LogEntryElementContainer();function LogEntry(level,formattedMessage){this.level=level;this.formattedMessage=formattedMessage;this.rendered=false;}",'LogEntry.prototype=new LogItem();copyProperties(LogEntry.prototype,{render:function(){var logEntry=this;var containerDomNode=this.group.contentDiv;if(isIe){this.formattedMessage=this.formattedMessage.replace(/\\r\\n/g,"\\r");this.unwrappedElementContainer=new LogEntryUnwrappedElementContainer(this,this.getUnwrappedDomContainer());this.wrappedElementContainer=new LogEntryWrappedElementContainer(this,this.getWrappedDomContainer());this.elementContainers=[this.unwrappedElementContainer,this.wrappedElementContainer];}else{this.mainElementContainer=new LogEntryMainElementContainer(this,this.getMainDomContainer());this.elementContainers=[this.mainElementContainer];}','this.content=this.formattedMessage;this.rendered=true;},setContent:function(content,wrappedContent){if(content!=this.content){if(isIe&&(content!==this.formattedMessage)){content=content.replace(/\\r\\n/g,"\\r");}',"for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].setContent(content,wrappedContent);}",'this.content=content;}},getSearchMatches:function(){var matches=[];var i,len;if(isIe){var unwrappedEls=getElementsByClass(this.unwrappedElementContainer.mainDiv,"searchterm","span");var wrappedEls=getElementsByClass(this.wrappedElementContainer.mainDiv,"searchterm","span");for(i=0,len=unwrappedEls.length;i<len;i++){matches[i]=new Match(this.level,null,unwrappedEls[i],wrappedEls[i]);}}else{var els=getElementsByClass(this.mainElementContainer.mainDiv,"searchterm","span");for(i=0,len=els.length;i<len;i++){matches[i]=new Match(this.level,els[i]);}}',"return matches;},setSearchMatch:function(isMatch){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].setSearchMatch(isMatch);}},clearSearch:function(){for(var i=0,len=this.elementContainers.length;i<len;i++){this.elementContainers[i].clearSearch();}},accept:function(visitor){visitor.visitLogEntry(this);},serialize:function(items){items.push([LogItem.serializedItemKeys.LOG_ENTRY,this.level,this.formattedMessage]);}});function LogItemVisitor(){}","LogItemVisitor.prototype={visit:function(logItem){},visitParent:function(logItem){if(logItem.group){logItem.group.accept(this);}},visitChildren:function(logItem){for(var i=0,len=logItem.children.length;i<len;i++){logItem.children[i].accept(this);}},visitLogEntry:function(logEntry){this.visit(logEntry);},visitSeparator:function(separator){this.visit(separator);},visitGroup:function(group){this.visit(group);}};function GroupFlattener(){this.logEntriesAndSeparators=[];}",'GroupFlattener.prototype=new LogItemVisitor();GroupFlattener.prototype.visitGroup=function(group){this.visitChildren(group);};GroupFlattener.prototype.visitLogEntry=function(logEntry){this.logEntriesAndSeparators.push(logEntry);};GroupFlattener.prototype.visitSeparator=function(separator){this.logEntriesAndSeparators.push(separator);};window.onload=function(){if(location.search){var queryBits=unescape(location.search).substr(1).split("&"),nameValueBits;for(var i=0,len=queryBits.length;i<len;i++){nameValueBits=queryBits[i].split("=");if(nameValueBits[0]=="log4javascript_domain"){document.domain=nameValueBits[1];break;}}}','logMainContainer=$("log");if(isIePre7){addClass(logMainContainer,"oldIe");}','rootGroup=new Group("root",true);rootGroup.render();currentGroup=rootGroup;setCommandInputWidth();setLogContainerHeight();toggleLoggingEnabled();toggleSearchEnabled();toggleSearchFilter();toggleSearchHighlight();applyFilters();checkAllLevels();toggleWrap();toggleNewestAtTop();toggleScrollToLatest();renderQueuedLogItems();loaded=true;$("command").value="";$("command").autocomplete="off";$("command").onkeydown=function(evt){evt=getEvent(evt);if(evt.keyCode==10||evt.keyCode==13){evalCommandLine();stopPropagation(evt);}else if(evt.keyCode==27){this.value="";this.focus();}else if(evt.keyCode==38&&commandHistory.length>0){currentCommandIndex=Math.max(0,currentCommandIndex-1);this.value=commandHistory[currentCommandIndex];moveCaretToEnd(this);}else if(evt.keyCode==40&&commandHistory.length>0){currentCommandIndex=Math.min(commandHistory.length-1,currentCommandIndex+1);this.value=commandHistory[currentCommandIndex];moveCaretToEnd(this);}};$("command").onkeypress=function(evt){evt=getEvent(evt);if(evt.keyCode==38&&commandHistory.length>0&&evt.preventDefault){evt.preventDefault();}};$("command").onkeyup=function(evt){evt=getEvent(evt);if(evt.keyCode==27&&evt.preventDefault){evt.preventDefault();this.focus();}};document.onkeydown=function keyEventHandler(evt){evt=getEvent(evt);switch(evt.keyCode){case 69:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){evalLastCommand();cancelKeyEvent(evt);return false;}',"break;case 75:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){focusSearch();cancelKeyEvent(evt);return false;}","break;case 40:case 76:if(evt.shiftKey&&(evt.ctrlKey||evt.metaKey)){focusCommandLine();cancelKeyEvent(evt);return false;}","break;}};setTimeout(setLogContainerHeight,20);setShowCommandLine(showCommandLine);doSearch();};window.onunload=function(){if(mainWindowExists()){appender.unload();}",'appender=null;};function toggleLoggingEnabled(){setLoggingEnabled($("enableLogging").checked);}',"function setLoggingEnabled(enable){loggingEnabled=enable;}","var appender=null;function setAppender(appenderParam){appender=appenderParam;}",'function setShowCloseButton(showCloseButton){$("closeButton").style.display=showCloseButton?"inline":"none";}','function setShowHideButton(showHideButton){$("hideButton").style.display=showHideButton?"inline":"none";}',"var newestAtTop=false;function LogItemContentReverser(){}","LogItemContentReverser.prototype=new LogItemVisitor();LogItemContentReverser.prototype.visitGroup=function(group){group.reverseChildren();this.visitChildren(group);};function setNewestAtTop(isNewestAtTop){var oldNewestAtTop=newestAtTop;var i,iLen,j,jLen;newestAtTop=Boolean(isNewestAtTop);if(oldNewestAtTop!=newestAtTop){var visitor=new LogItemContentReverser();rootGroup.accept(visitor);if(currentSearch){var currentMatch=currentSearch.matches[currentMatchIndex];var matchIndex=0;var matches=[];var actOnLogEntry=function(logEntry){var logEntryMatches=logEntry.getSearchMatches();for(j=0,jLen=logEntryMatches.length;j<jLen;j++){matches[matchIndex]=logEntryMatches[j];if(currentMatch&&logEntryMatches[j].equals(currentMatch)){currentMatchIndex=matchIndex;}","matchIndex++;}};if(newestAtTop){for(i=logEntries.length-1;i>=0;i--){actOnLogEntry(logEntries[i]);}}else{for(i=0,iLen=logEntries.length;i<iLen;i++){actOnLogEntry(logEntries[i]);}}","currentSearch.matches=matches;if(currentMatch){currentMatch.setCurrent();}}else if(scrollToLatest){doScrollToLatest();}}",'$("newestAtTop").checked=isNewestAtTop;}','function toggleNewestAtTop(){var isNewestAtTop=$("newestAtTop").checked;setNewestAtTop(isNewestAtTop);}',"var scrollToLatest=true;function setScrollToLatest(isScrollToLatest){scrollToLatest=isScrollToLatest;if(scrollToLatest){doScrollToLatest();}",'$("scrollToLatest").checked=isScrollToLatest;}','function toggleScrollToLatest(){var isScrollToLatest=$("scrollToLatest").checked;setScrollToLatest(isScrollToLatest);}','function doScrollToLatest(){var l=logMainContainer;if(typeof l.scrollTop!="undefined"){if(newestAtTop){l.scrollTop=0;}else{var latestLogEntry=l.lastChild;if(latestLogEntry){l.scrollTop=l.scrollHeight;}}}}',"var closeIfOpenerCloses=true;function setCloseIfOpenerCloses(isCloseIfOpenerCloses){closeIfOpenerCloses=isCloseIfOpenerCloses;}","var maxMessages=null;function setMaxMessages(max){maxMessages=max;pruneLogEntries();}",'var showCommandLine=false;function setShowCommandLine(isShowCommandLine){showCommandLine=isShowCommandLine;if(loaded){$("commandLine").style.display=showCommandLine?"block":"none";setCommandInputWidth();setLogContainerHeight();}}','function focusCommandLine(){if(loaded){$("command").focus();}}','function focusSearch(){if(loaded){$("searchBox").focus();}}',"function getLogItems(){var items=[];for(var i=0,len=logItems.length;i<len;i++){logItems[i].serialize(items);}","return items;}","function setLogItems(items){var loggingReallyEnabled=loggingEnabled;loggingEnabled=true;for(var i=0,len=items.length;i<len;i++){switch(items[i][0]){case LogItem.serializedItemKeys.LOG_ENTRY:log(items[i][1],items[i][2]);break;case LogItem.serializedItemKeys.GROUP_START:group(items[i][1]);break;case LogItem.serializedItemKeys.GROUP_END:groupEnd();break;}}","loggingEnabled=loggingReallyEnabled;}","function log(logLevel,formattedMessage){if(loggingEnabled){var logEntry=new LogEntry(logLevel,formattedMessage);logEntries.push(logEntry);logEntriesAndSeparators.push(logEntry);logItems.push(logEntry);currentGroup.addChild(logEntry);if(loaded){if(logQueuedEventsTimer!==null){clearTimeout(logQueuedEventsTimer);}","logQueuedEventsTimer=setTimeout(renderQueuedLogItems,renderDelay);unrenderedLogItemsExist=true;}}}","function renderQueuedLogItems(){logQueuedEventsTimer=null;var pruned=pruneLogEntries();var initiallyHasMatches=currentSearch?currentSearch.hasMatches():false;for(var i=0,len=logItems.length;i<len;i++){if(!logItems[i].rendered){logItems[i].render();logItems[i].appendToLog();if(currentSearch&&(logItems[i]instanceof LogEntry)){currentSearch.applyTo(logItems[i]);}}}","if(currentSearch){if(pruned){if(currentSearch.hasVisibleMatches()){if(currentMatchIndex===null){setCurrentMatchIndex(0);}","displayMatches();}else{displayNoMatches();}}else if(!initiallyHasMatches&&currentSearch.hasVisibleMatches()){setCurrentMatchIndex(0);displayMatches();}}","if(scrollToLatest){doScrollToLatest();}","unrenderedLogItemsExist=false;}","function pruneLogEntries(){if((maxMessages!==null)&&(logEntriesAndSeparators.length>maxMessages)){var numberToDelete=logEntriesAndSeparators.length-maxMessages;var prunedLogEntries=logEntriesAndSeparators.slice(0,numberToDelete);if(currentSearch){currentSearch.removeMatches(prunedLogEntries);}","var group;for(var i=0;i<numberToDelete;i++){group=logEntriesAndSeparators[i].group;array_remove(logItems,logEntriesAndSeparators[i]);array_remove(logEntries,logEntriesAndSeparators[i]);logEntriesAndSeparators[i].remove(true,true);if(group.children.length===0&&group!==currentGroup&&group!==rootGroup){array_remove(logItems,group);group.remove(true,true);}}","logEntriesAndSeparators=array_removeFromStart(logEntriesAndSeparators,numberToDelete);return true;}","return false;}",'function group(name,startExpanded){if(loggingEnabled){initiallyExpanded=(typeof startExpanded==="undefined")?true:Boolean(startExpanded);var newGroup=new Group(name,false,initiallyExpanded);currentGroup.addChild(newGroup);currentGroup=newGroup;logItems.push(newGroup);if(loaded){if(logQueuedEventsTimer!==null){clearTimeout(logQueuedEventsTimer);}',"logQueuedEventsTimer=setTimeout(renderQueuedLogItems,renderDelay);unrenderedLogItemsExist=true;}}}","function groupEnd(){currentGroup=(currentGroup===rootGroup)?rootGroup:currentGroup.group;}","function mainPageReloaded(){currentGroup=rootGroup;var separator=new Separator();logEntriesAndSeparators.push(separator);logItems.push(separator);currentGroup.addChild(separator);}","function closeWindow(){if(appender&&mainWindowExists()){appender.close(true);}else{window.close();}}","function hide(){if(appender&&mainWindowExists()){appender.hide();}}",'var mainWindow=window;var windowId="log4javascriptConsoleWindow_"+new Date().getTime()+"_"+(""+Math.random()).substr(2);function setMainWindow(win){mainWindow=win;mainWindow[windowId]=window;if(opener&&closeIfOpenerCloses){pollOpener();}}',"function pollOpener(){if(closeIfOpenerCloses){if(mainWindowExists()){setTimeout(pollOpener,500);}else{closeWindow();}}}","function mainWindowExists(){try{return(mainWindow&&!mainWindow.closed&&mainWindow[windowId]==window);}catch(ex){}","return false;}",'var logLevels=["TRACE","DEBUG","INFO","WARN","ERROR","FATAL"];function getCheckBox(logLevel){return $("switch_"+logLevel);}','function getIeWrappedLogContainer(){return $("log_wrapped");}','function getIeUnwrappedLogContainer(){return $("log_unwrapped");}',"function applyFilters(){for(var i=0;i<logLevels.length;i++){if(getCheckBox(logLevels[i]).checked){addClass(logMainContainer,logLevels[i]);}else{removeClass(logMainContainer,logLevels[i]);}}","updateSearchFromFilters();}",'function toggleAllLevels(){var turnOn=$("switch_ALL").checked;for(var i=0;i<logLevels.length;i++){getCheckBox(logLevels[i]).checked=turnOn;if(turnOn){addClass(logMainContainer,logLevels[i]);}else{removeClass(logMainContainer,logLevels[i]);}}}','function checkAllLevels(){for(var i=0;i<logLevels.length;i++){if(!getCheckBox(logLevels[i]).checked){getCheckBox("ALL").checked=false;return;}}','getCheckBox("ALL").checked=true;}',"function clearLog(){rootGroup.clear();currentGroup=rootGroup;logEntries=[];logItems=[];logEntriesAndSeparators=[];doSearch();}",'function toggleWrap(){var enable=$("wrap").checked;if(enable){addClass(logMainContainer,"wrap");}else{removeClass(logMainContainer,"wrap");}',"refreshCurrentMatch();}","var searchTimer=null;function scheduleSearch(){try{clearTimeout(searchTimer);}catch(ex){}","searchTimer=setTimeout(doSearch,500);}","function Search(searchTerm,isRegex,searchRegex,isCaseSensitive){this.searchTerm=searchTerm;this.isRegex=isRegex;this.searchRegex=searchRegex;this.isCaseSensitive=isCaseSensitive;this.matches=[];}","Search.prototype={hasMatches:function(){return this.matches.length>0;},hasVisibleMatches:function(){if(this.hasMatches()){for(var i=0;i<this.matches.length;i++){if(this.matches[i].isVisible()){return true;}}}","return false;},match:function(logEntry){var entryText=String(logEntry.formattedMessage);var matchesSearch=false;if(this.isRegex){matchesSearch=this.searchRegex.test(entryText);}else if(this.isCaseSensitive){matchesSearch=(entryText.indexOf(this.searchTerm)>-1);}else{matchesSearch=(entryText.toLowerCase().indexOf(this.searchTerm.toLowerCase())>-1);}","return matchesSearch;},getNextVisibleMatchIndex:function(){for(var i=currentMatchIndex+1;i<this.matches.length;i++){if(this.matches[i].isVisible()){return i;}}","for(i=0;i<=currentMatchIndex;i++){if(this.matches[i].isVisible()){return i;}}","return-1;},getPreviousVisibleMatchIndex:function(){for(var i=currentMatchIndex-1;i>=0;i--){if(this.matches[i].isVisible()){return i;}}","for(var i=this.matches.length-1;i>=currentMatchIndex;i--){if(this.matches[i].isVisible()){return i;}}",'return-1;},applyTo:function(logEntry){var doesMatch=this.match(logEntry);if(doesMatch){logEntry.group.expand();logEntry.setSearchMatch(true);var logEntryContent;var wrappedLogEntryContent;var searchTermReplacementStartTag="<span class=\\"searchterm\\">";var searchTermReplacementEndTag="<"+"/span>";var preTagName=isIe?"pre":"span";var preStartTag="<"+preTagName+" class=\\"pre\\">";var preEndTag="<"+"/"+preTagName+">";var startIndex=0;var searchIndex,matchedText,textBeforeMatch;if(this.isRegex){var flags=this.isCaseSensitive?"g":"gi";var capturingRegex=new RegExp("("+this.searchRegex.source+")",flags);var rnd=(""+Math.random()).substr(2);var startToken="%%s"+rnd+"%%";var endToken="%%e"+rnd+"%%";logEntryContent=logEntry.formattedMessage.replace(capturingRegex,startToken+"$1"+endToken);logEntryContent=escapeHtml(logEntryContent);var result;var searchString=logEntryContent;logEntryContent="";wrappedLogEntryContent="";while((searchIndex=searchString.indexOf(startToken,startIndex))>-1){var endTokenIndex=searchString.indexOf(endToken,searchIndex);matchedText=searchString.substring(searchIndex+startToken.length,endTokenIndex);textBeforeMatch=searchString.substring(startIndex,searchIndex);logEntryContent+=preStartTag+textBeforeMatch+preEndTag;logEntryContent+=searchTermReplacementStartTag+preStartTag+matchedText+',"preEndTag+searchTermReplacementEndTag;if(isIe){wrappedLogEntryContent+=textBeforeMatch+searchTermReplacementStartTag+","matchedText+searchTermReplacementEndTag;}","startIndex=endTokenIndex+endToken.length;}",'logEntryContent+=preStartTag+searchString.substr(startIndex)+preEndTag;if(isIe){wrappedLogEntryContent+=searchString.substr(startIndex);}}else{logEntryContent="";wrappedLogEntryContent="";var searchTermReplacementLength=searchTermReplacementStartTag.length+',"this.searchTerm.length+searchTermReplacementEndTag.length;var searchTermLength=this.searchTerm.length;var searchTermLowerCase=this.searchTerm.toLowerCase();var logTextLowerCase=logEntry.formattedMessage.toLowerCase();while((searchIndex=logTextLowerCase.indexOf(searchTermLowerCase,startIndex))>-1){matchedText=escapeHtml(logEntry.formattedMessage.substr(searchIndex,this.searchTerm.length));textBeforeMatch=escapeHtml(logEntry.formattedMessage.substring(startIndex,searchIndex));var searchTermReplacement=searchTermReplacementStartTag+","preStartTag+matchedText+preEndTag+searchTermReplacementEndTag;logEntryContent+=preStartTag+textBeforeMatch+preEndTag+searchTermReplacement;if(isIe){wrappedLogEntryContent+=textBeforeMatch+searchTermReplacementStartTag+","matchedText+searchTermReplacementEndTag;}","startIndex=searchIndex+searchTermLength;}","var textAfterLastMatch=escapeHtml(logEntry.formattedMessage.substr(startIndex));logEntryContent+=preStartTag+textAfterLastMatch+preEndTag;if(isIe){wrappedLogEntryContent+=textAfterLastMatch;}}","logEntry.setContent(logEntryContent,wrappedLogEntryContent);var logEntryMatches=logEntry.getSearchMatches();this.matches=this.matches.concat(logEntryMatches);}else{logEntry.setSearchMatch(false);logEntry.setContent(logEntry.formattedMessage,logEntry.formattedMessage);}","return doesMatch;},removeMatches:function(logEntries){var matchesToRemoveCount=0;var currentMatchRemoved=false;var matchesToRemove=[];var i,iLen,j,jLen;for(i=0,iLen=this.matches.length;i<iLen;i++){for(j=0,jLen=logEntries.length;j<jLen;j++){if(this.matches[i].belongsTo(logEntries[j])){matchesToRemove.push(this.matches[i]);if(i===currentMatchIndex){currentMatchRemoved=true;}}}}","var newMatch=currentMatchRemoved?null:this.matches[currentMatchIndex];if(currentMatchRemoved){for(i=currentMatchIndex,iLen=this.matches.length;i<iLen;i++){if(this.matches[i].isVisible()&&!array_contains(matchesToRemove,this.matches[i])){newMatch=this.matches[i];break;}}}","for(i=0,iLen=matchesToRemove.length;i<iLen;i++){array_remove(this.matches,matchesToRemove[i]);matchesToRemove[i].remove();}","if(this.hasVisibleMatches()){if(newMatch===null){setCurrentMatchIndex(0);}else{var newMatchIndex=0;for(i=0,iLen=this.matches.length;i<iLen;i++){if(newMatch===this.matches[i]){newMatchIndex=i;break;}}","setCurrentMatchIndex(newMatchIndex);}}else{currentMatchIndex=null;displayNoMatches();}}};function getPageOffsetTop(el,container){var currentEl=el;var y=0;while(currentEl&&currentEl!=container){y+=currentEl.offsetTop;currentEl=currentEl.offsetParent;}","return y;}",'function scrollIntoView(el){var logContainer=logMainContainer;if(!$("wrap").checked){var logContainerLeft=logContainer.scrollLeft;var logContainerRight=logContainerLeft+logContainer.offsetWidth;var elLeft=el.offsetLeft;var elRight=elLeft+el.offsetWidth;if(elLeft<logContainerLeft||elRight>logContainerRight){logContainer.scrollLeft=elLeft-(logContainer.offsetWidth-el.offsetWidth)/2;}}',"var logContainerTop=logContainer.scrollTop;var logContainerBottom=logContainerTop+logContainer.offsetHeight;var elTop=getPageOffsetTop(el)-getToolBarsHeight();var elBottom=elTop+el.offsetHeight;if(elTop<logContainerTop||elBottom>logContainerBottom){logContainer.scrollTop=elTop-(logContainer.offsetHeight-el.offsetHeight)/2;}}","function Match(logEntryLevel,spanInMainDiv,spanInUnwrappedPre,spanInWrappedDiv){this.logEntryLevel=logEntryLevel;this.spanInMainDiv=spanInMainDiv;if(isIe){this.spanInUnwrappedPre=spanInUnwrappedPre;this.spanInWrappedDiv=spanInWrappedDiv;}","this.mainSpan=isIe?spanInUnwrappedPre:spanInMainDiv;}",'Match.prototype={equals:function(match){return this.mainSpan===match.mainSpan;},setCurrent:function(){if(isIe){addClass(this.spanInUnwrappedPre,"currentmatch");addClass(this.spanInWrappedDiv,"currentmatch");var elementToScroll=$("wrap").checked?this.spanInWrappedDiv:this.spanInUnwrappedPre;scrollIntoView(elementToScroll);}else{addClass(this.spanInMainDiv,"currentmatch");scrollIntoView(this.spanInMainDiv);}},belongsTo:function(logEntry){if(isIe){return isDescendant(this.spanInUnwrappedPre,logEntry.unwrappedPre);}else{return isDescendant(this.spanInMainDiv,logEntry.mainDiv);}},setNotCurrent:function(){if(isIe){removeClass(this.spanInUnwrappedPre,"currentmatch");removeClass(this.spanInWrappedDiv,"currentmatch");}else{removeClass(this.spanInMainDiv,"currentmatch");}},isOrphan:function(){return isOrphan(this.mainSpan);},isVisible:function(){return getCheckBox(this.logEntryLevel).checked;},remove:function(){if(isIe){this.spanInUnwrappedPre=null;this.spanInWrappedDiv=null;}else{this.spanInMainDiv=null;}}};var currentSearch=null;var currentMatchIndex=null;function doSearch(){var searchBox=$("searchBox");var searchTerm=searchBox.value;var isRegex=$("searchRegex").checked;var isCaseSensitive=$("searchCaseSensitive").checked;var i;if(searchTerm===""){$("searchReset").disabled=true;$("searchNav").style.display="none";removeClass(document.body,"searching");removeClass(searchBox,"hasmatches");removeClass(searchBox,"nomatches");for(i=0;i<logEntries.length;i++){logEntries[i].clearSearch();logEntries[i].setContent(logEntries[i].formattedMessage,logEntries[i].formattedMessage);}','currentSearch=null;setLogContainerHeight();}else{$("searchReset").disabled=false;$("searchNav").style.display="block";var searchRegex;var regexValid;if(isRegex){try{searchRegex=isCaseSensitive?new RegExp(searchTerm,"g"):new RegExp(searchTerm,"gi");regexValid=true;replaceClass(searchBox,"validregex","invalidregex");searchBox.title="Valid regex";}catch(ex){regexValid=false;replaceClass(searchBox,"invalidregex","validregex");searchBox.title="Invalid regex: "+(ex.message?ex.message:(ex.description?ex.description:"unknown error"));return;}}else{searchBox.title="";removeClass(searchBox,"validregex");removeClass(searchBox,"invalidregex");}','addClass(document.body,"searching");currentSearch=new Search(searchTerm,isRegex,searchRegex,isCaseSensitive);for(i=0;i<logEntries.length;i++){currentSearch.applyTo(logEntries[i]);}',"setLogContainerHeight();if(currentSearch.hasVisibleMatches()){setCurrentMatchIndex(0);displayMatches();}else{displayNoMatches();}}}","function updateSearchFromFilters(){if(currentSearch){if(currentSearch.hasMatches()){if(currentMatchIndex===null){currentMatchIndex=0;}","var currentMatch=currentSearch.matches[currentMatchIndex];if(currentMatch.isVisible()){displayMatches();setCurrentMatchIndex(currentMatchIndex);}else{currentMatch.setNotCurrent();var nextVisibleMatchIndex=currentSearch.getNextVisibleMatchIndex();if(nextVisibleMatchIndex>-1){setCurrentMatchIndex(nextVisibleMatchIndex);displayMatches();}else{displayNoMatches();}}}else{displayNoMatches();}}}","function refreshCurrentMatch(){if(currentSearch&&currentSearch.hasVisibleMatches()){setCurrentMatchIndex(currentMatchIndex);}}",'function displayMatches(){replaceClass($("searchBox"),"hasmatches","nomatches");$("searchBox").title=""+currentSearch.matches.length+" matches found";$("searchNav").style.display="block";setLogContainerHeight();}','function displayNoMatches(){replaceClass($("searchBox"),"nomatches","hasmatches");$("searchBox").title="No matches found";$("searchNav").style.display="none";setLogContainerHeight();}','function toggleSearchEnabled(enable){enable=(typeof enable=="undefined")?!$("searchDisable").checked:enable;$("searchBox").disabled=!enable;$("searchReset").disabled=!enable;$("searchRegex").disabled=!enable;$("searchNext").disabled=!enable;$("searchPrevious").disabled=!enable;$("searchCaseSensitive").disabled=!enable;$("searchNav").style.display=(enable&&($("searchBox").value!=="")&&currentSearch&&currentSearch.hasVisibleMatches())?"block":"none";if(enable){removeClass($("search"),"greyedout");addClass(document.body,"searching");if($("searchHighlight").checked){addClass(logMainContainer,"searchhighlight");}else{removeClass(logMainContainer,"searchhighlight");}','if($("searchFilter").checked){addClass(logMainContainer,"searchfilter");}else{removeClass(logMainContainer,"searchfilter");}','$("searchDisable").checked=!enable;}else{addClass($("search"),"greyedout");removeClass(document.body,"searching");removeClass(logMainContainer,"searchhighlight");removeClass(logMainContainer,"searchfilter");}',"setLogContainerHeight();}",'function toggleSearchFilter(){var enable=$("searchFilter").checked;if(enable){addClass(logMainContainer,"searchfilter");}else{removeClass(logMainContainer,"searchfilter");}',"refreshCurrentMatch();}",'function toggleSearchHighlight(){var enable=$("searchHighlight").checked;if(enable){addClass(logMainContainer,"searchhighlight");}else{removeClass(logMainContainer,"searchhighlight");}}','function clearSearch(){$("searchBox").value="";doSearch();}','function searchNext(){if(currentSearch!==null&&currentMatchIndex!==null){currentSearch.matches[currentMatchIndex].setNotCurrent();var nextMatchIndex=currentSearch.getNextVisibleMatchIndex();if(nextMatchIndex>currentMatchIndex||confirm("Reached the end of the page. Start from the top?")){setCurrentMatchIndex(nextMatchIndex);}}}','function searchPrevious(){if(currentSearch!==null&&currentMatchIndex!==null){currentSearch.matches[currentMatchIndex].setNotCurrent();var previousMatchIndex=currentSearch.getPreviousVisibleMatchIndex();if(previousMatchIndex<currentMatchIndex||confirm("Reached the start of the page. Continue from the bottom?")){setCurrentMatchIndex(previousMatchIndex);}}}',"function setCurrentMatchIndex(index){currentMatchIndex=index;currentSearch.matches[currentMatchIndex].setCurrent();}",'function addClass(el,cssClass){if(!hasClass(el,cssClass)){if(el.className){el.className+=" "+cssClass;}else{el.className=cssClass;}}}','function hasClass(el,cssClass){if(el.className){var classNames=el.className.split(" ");return array_contains(classNames,cssClass);}',"return false;}",'function removeClass(el,cssClass){if(hasClass(el,cssClass)){var existingClasses=el.className.split(" ");var newClasses=[];for(var i=0,len=existingClasses.length;i<len;i++){if(existingClasses[i]!=cssClass){newClasses[newClasses.length]=existingClasses[i];}}','el.className=newClasses.join(" ");}}',"function replaceClass(el,newCssClass,oldCssClass){removeClass(el,oldCssClass);addClass(el,newCssClass);}","function getElementsByClass(el,cssClass,tagName){var elements=el.getElementsByTagName(tagName);var matches=[];for(var i=0,len=elements.length;i<len;i++){if(hasClass(elements[i],cssClass)){matches.push(elements[i]);}}","return matches;}","function $(id){return document.getElementById(id);}","function isDescendant(node,ancestorNode){while(node!=null){if(node===ancestorNode){return true;}","node=node.parentNode;}","return false;}","function isOrphan(node){var currentNode=node;while(currentNode){if(currentNode==document.body){return false;}","currentNode=currentNode.parentNode;}","return true;}",'function escapeHtml(str){return str.replace(/&/g,"&amp;").replace(/[<]/g,"&lt;").replace(/>/g,"&gt;");}',"function getWindowWidth(){if(window.innerWidth){return window.innerWidth;}else if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.clientWidth;}else if(document.body){return document.body.clientWidth;}","return 0;}","function getWindowHeight(){if(window.innerHeight){return window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){return document.documentElement.clientHeight;}else if(document.body){return document.body.clientHeight;}","return 0;}",'function getToolBarsHeight(){return $("switches").offsetHeight;}','function getChromeHeight(){var height=getToolBarsHeight();if(showCommandLine){height+=$("commandLine").offsetHeight;}',"return height;}",'function setLogContainerHeight(){if(logMainContainer){var windowHeight=getWindowHeight();$("body").style.height=getWindowHeight()+"px";logMainContainer.style.height=""+','Math.max(0,windowHeight-getChromeHeight())+"px";}}','function setCommandInputWidth(){if(showCommandLine){$("command").style.width=""+Math.max(0,$("commandLineContainer").offsetWidth-','($("evaluateButton").offsetWidth+13))+"px";}}',"window.onresize=function(){setCommandInputWidth();setLogContainerHeight();};if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0,len=arguments.length;i<len;i++){this[this.length]=arguments[i];}","return this.length;};}","if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length>0){var val=this[this.length-1];this.length=this.length-1;return val;}};}","if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length>0){var firstItem=this[0];for(var i=0,len=this.length-1;i<len;i++){this[i]=this[i+1];}","this.length=this.length-1;return firstItem;}};}","if(!Array.prototype.splice){Array.prototype.splice=function(startIndex,deleteCount){var itemsAfterDeleted=this.slice(startIndex+deleteCount);var itemsDeleted=this.slice(startIndex,startIndex+deleteCount);this.length=startIndex;var argumentsArray=[];for(var i=0,len=arguments.length;i<len;i++){argumentsArray[i]=arguments[i];}","var itemsToAppend=(argumentsArray.length>2)?itemsAfterDeleted=argumentsArray.slice(2).concat(itemsAfterDeleted):itemsAfterDeleted;for(i=0,len=itemsToAppend.length;i<len;i++){this.push(itemsToAppend[i]);}","return itemsDeleted;};}","function array_remove(arr,val){var index=-1;for(var i=0,len=arr.length;i<len;i++){if(arr[i]===val){index=i;break;}}","if(index>=0){arr.splice(index,1);return index;}else{return false;}}","function array_removeFromStart(array,numberToRemove){if(Array.prototype.splice){array.splice(0,numberToRemove);}else{for(var i=numberToRemove,len=array.length;i<len;i++){array[i-numberToRemove]=array[i];}","array.length=array.length-numberToRemove;}","return array;}","function array_contains(arr,val){for(var i=0,len=arr.length;i<len;i++){if(arr[i]==val){return true;}}","return false;}","function getErrorMessage(ex){if(ex.message){return ex.message;}else if(ex.description){return ex.description;}",'return""+ex;}',"function moveCaretToEnd(input){if(input.setSelectionRange){input.focus();var length=input.value.length;input.setSelectionRange(length,length);}else if(input.createTextRange){var range=input.createTextRange();range.collapse(false);range.select();}","input.focus();}",'function stopPropagation(evt){if(evt.stopPropagation){evt.stopPropagation();}else if(typeof evt.cancelBubble!="undefined"){evt.cancelBubble=true;}}',"function getEvent(evt){return evt?evt:event;}","function getTarget(evt){return evt.target?evt.target:evt.srcElement;}",'function getRelatedTarget(evt){if(evt.relatedTarget){return evt.relatedTarget;}else if(evt.srcElement){switch(evt.type){case"mouseover":return evt.fromElement;case"mouseout":return evt.toElement;default:return evt.srcElement;}}}',"function cancelKeyEvent(evt){evt.returnValue=false;stopPropagation(evt);}",'function evalCommandLine(){var expr=$("command").value;evalCommand(expr);$("command").value="";}',"function evalLastCommand(){if(lastCommand!=null){evalCommand(lastCommand);}}",'var lastCommand=null;var commandHistory=[];var currentCommandIndex=0;function evalCommand(expr){if(appender){appender.evalCommandAndAppend(expr);}else{var prefix=">>> "+expr+"\\r\\n";try{log("INFO",prefix+eval(expr));}catch(ex){log("ERROR",prefix+"Error: "+getErrorMessage(ex));}}',"if(expr!=commandHistory[commandHistory.length-1]){commandHistory.push(expr);if(appender){appender.storeCommandHistory(commandHistory);}}","currentCommandIndex=(expr==commandHistory[currentCommandIndex])?currentCommandIndex+1:commandHistory.length;lastCommand=expr;}","//]]>","<\/script>",'<style type="text/css">',"body{background-color:white;color:black;padding:0;margin:0;font-family:tahoma,verdana,arial,helvetica,sans-serif;overflow:hidden}div#switchesContainer input{margin-bottom:0}div.toolbar{border-top:solid #ffffff 1px;border-bottom:solid #aca899 1px;background-color:#f1efe7;padding:3px 5px;font-size:68.75%}div.toolbar,div#search input{font-family:tahoma,verdana,arial,helvetica,sans-serif}div.toolbar input.button{padding:0 5px;font-size:100%}div.toolbar input.hidden{display:none}div#switches input#clearButton{margin-left:20px}div#levels label{font-weight:bold}div#levels label,div#options label{margin-right:5px}div#levels label#wrapLabel{font-weight:normal}div#search label{margin-right:10px}div#search label.searchboxlabel{margin-right:0}div#search input{font-size:100%}div#search input.validregex{color:green}div#search input.invalidregex{color:red}div#search input.nomatches{color:white;background-color:#ff6666}div#search input.nomatches{color:white;background-color:#ff6666}div#searchNav{display:none}div#commandLine{display:none}div#commandLine input#command{font-size:100%;font-family:Courier New,Courier}div#commandLine input#evaluateButton{}*.greyedout{color:gray !important;border-color:gray !important}*.greyedout *.alwaysenabled{color:black}*.unselectable{-khtml-user-select:none;-moz-user-select:none;user-select:none}div#log{font-family:Courier New,Courier;font-size:75%;width:100%;overflow:auto;clear:both;position:relative}div.group{border-color:#cccccc;border-style:solid;border-width:1px 0 1px 1px;overflow:visible}div.oldIe div.group,div.oldIe div.group *,div.oldIe *.logentry{height:1%}div.group div.groupheading span.expander{border:solid black 1px;font-family:Courier New,Courier;font-size:0.833em;background-color:#eeeeee;position:relative;top:-1px;color:black;padding:0 2px;cursor:pointer;cursor:hand;height:1%}div.group div.groupcontent{margin-left:10px;padding-bottom:2px;overflow:visible}div.group div.expanded{display:block}div.group div.collapsed{display:none}*.logentry{overflow:visible;display:none;white-space:pre}span.pre{white-space:pre}pre.unwrapped{display:inline !important}pre.unwrapped pre.pre,div.wrapped pre.pre{display:inline}div.wrapped pre.pre{white-space:normal}div.wrapped{display:none}body.searching *.logentry span.currentmatch{color:white !important;background-color:green !important}body.searching div.searchhighlight *.logentry span.searchterm{color:black;background-color:yellow}div.wrap *.logentry{white-space:normal !important;border-width:0 0 1px 0;border-color:#dddddd;border-style:dotted}div.wrap #log_wrapped,#log_unwrapped{display:block}div.wrap #log_unwrapped,#log_wrapped{display:none}div.wrap *.logentry span.pre{overflow:visible;white-space:normal}div.wrap *.logentry pre.unwrapped{display:none}div.wrap *.logentry span.wrapped{display:inline}div.searchfilter *.searchnonmatch{display:none !important}div#log *.TRACE,label#label_TRACE{color:#666666}div#log *.DEBUG,label#label_DEBUG{color:green}div#log *.INFO,label#label_INFO{color:#000099}div#log *.WARN,label#label_WARN{color:#999900}div#log *.ERROR,label#label_ERROR{color:red}div#log *.FATAL,label#label_FATAL{color:#660066}div.TRACE#log *.TRACE,div.DEBUG#log *.DEBUG,div.INFO#log *.INFO,div.WARN#log *.WARN,div.ERROR#log *.ERROR,div.FATAL#log *.FATAL{display:block}div#log div.separator{background-color:#cccccc;margin:5px 0;line-height:1px}","</style>","</head>",'<body id="body">','<div id="switchesContainer">','<div id="switches">','<div id="levels" class="toolbar">',"Filters:",'<input type="checkbox" id="switch_TRACE" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide trace messages" /><label for="switch_TRACE" id="label_TRACE">trace</label>','<input type="checkbox" id="switch_DEBUG" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide debug messages" /><label for="switch_DEBUG" id="label_DEBUG">debug</label>','<input type="checkbox" id="switch_INFO" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide info messages" /><label for="switch_INFO" id="label_INFO">info</label>','<input type="checkbox" id="switch_WARN" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide warn messages" /><label for="switch_WARN" id="label_WARN">warn</label>','<input type="checkbox" id="switch_ERROR" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide error messages" /><label for="switch_ERROR" id="label_ERROR">error</label>','<input type="checkbox" id="switch_FATAL" onclick="applyFilters(); checkAllLevels()" checked="checked" title="Show/hide fatal messages" /><label for="switch_FATAL" id="label_FATAL">fatal</label>','<input type="checkbox" id="switch_ALL" onclick="toggleAllLevels(); applyFilters()" checked="checked" title="Show/hide all messages" /><label for="switch_ALL" id="label_ALL">all</label>',"</div>",'<div id="search" class="toolbar">','<label for="searchBox" class="searchboxlabel">Search:</label> <input type="text" id="searchBox" onclick="toggleSearchEnabled(true)" onkeyup="scheduleSearch()" size="20" />','<input type="button" id="searchReset" disabled="disabled" value="Reset" onclick="clearSearch()" class="button" title="Reset the search" />','<input type="checkbox" id="searchRegex" onclick="doSearch()" title="If checked, search is treated as a regular expression" /><label for="searchRegex">Regex</label>','<input type="checkbox" id="searchCaseSensitive" onclick="doSearch()" title="If checked, search is case sensitive" /><label for="searchCaseSensitive">Match case</label>','<input type="checkbox" id="searchDisable" onclick="toggleSearchEnabled()" title="Enable/disable search" /><label for="searchDisable" class="alwaysenabled">Disable</label>','<div id="searchNav">','<input type="button" id="searchNext" disabled="disabled" value="Next" onclick="searchNext()" class="button" title="Go to the next matching log entry" />','<input type="button" id="searchPrevious" disabled="disabled" value="Previous" onclick="searchPrevious()" class="button" title="Go to the previous matching log entry" />','<input type="checkbox" id="searchFilter" onclick="toggleSearchFilter()" title="If checked, non-matching log entries are filtered out" /><label for="searchFilter">Filter</label>','<input type="checkbox" id="searchHighlight" onclick="toggleSearchHighlight()" title="Highlight matched search terms" /><label for="searchHighlight" class="alwaysenabled">Highlight all</label>',"</div>","</div>",'<div id="options" class="toolbar">',"Options:",'<input type="checkbox" id="enableLogging" onclick="toggleLoggingEnabled()" checked="checked" title="Enable/disable logging" /><label for="enableLogging" id="enableLoggingLabel">Log</label>','<input type="checkbox" id="wrap" onclick="toggleWrap()" title="Enable / disable word wrap" /><label for="wrap" id="wrapLabel">Wrap</label>','<input type="checkbox" id="newestAtTop" onclick="toggleNewestAtTop()" title="If checked, causes newest messages to appear at the top" /><label for="newestAtTop" id="newestAtTopLabel">Newest at the top</label>','<input type="checkbox" id="scrollToLatest" onclick="toggleScrollToLatest()" checked="checked" title="If checked, window automatically scrolls to a new message when it is added" /><label for="scrollToLatest" id="scrollToLatestLabel">Scroll to latest</label>','<input type="button" id="clearButton" value="Clear" onclick="clearLog()" class="button" title="Clear all log messages" />','<input type="button" id="hideButton" value="Hide" onclick="hide()" class="hidden button" title="Hide the console" />','<input type="button" id="closeButton" value="Close" onclick="closeWindow()" class="hidden button" title="Close the window" />',"</div>","</div>","</div>",'<div id="log" class="TRACE DEBUG INFO WARN ERROR FATAL"></div>','<div id="commandLine" class="toolbar">','<div id="commandLineContainer">','<input type="text" id="command" title="Enter a JavaScript command here and hit return or press \'Evaluate\'" />','<input type="button" id="evaluateButton" value="Evaluate" class="button" title="Evaluate the command" onclick="evalCommandLine()" />',"</div>","</div>","</body>","</html>",""]};var t=[];ConsoleAppender=function(){};var n=1;ConsoleAppender.prototype=new Appender;ConsoleAppender.prototype.create=function(r,i,a,o,s,l,c,u){var d=this;var p=false;var f=false;var h=false;var m=false;var v=[];var g=true;var y=n++;o=extractBooleanFromParam(o,this.defaults.initiallyMinimized);a=extractBooleanFromParam(a,this.defaults.lazyInit);s=extractBooleanFromParam(s,this.defaults.useDocumentWrite);var b=this.defaults.newestMessageAtTop;var w=this.defaults.scrollToLatestMessage;l=l?l:this.defaults.width;c=c?c:this.defaults.height;var C=this.defaults.maxMessages;var x=this.defaults.showCommandLine;var E=this.defaults.commandLineObjectExpansionDepth;var S=this.defaults.showHideButton;var L=this.defaults.showCloseButton;this.setLayout(this.defaults.layout);var k,A,T,I,M;var N=r?"InPageAppender":"PopUpAppender";var D=function(e){if(f){handleError(N+": configuration option '"+e+"' may not be set after the appender has been initialized");return false}return true};var O=function(){return h&&g&&!m};this.isNewestMessageAtTop=function(){return b};this.setNewestMessageAtTop=function(e){b=bool(e);if(O()){I().setNewestAtTop(b)}};this.isScrollToLatestMessage=function(){return w};this.setScrollToLatestMessage=function(e){w=bool(e);if(O()){I().setScrollToLatest(w)}};this.getWidth=function(){return l};this.setWidth=function(e){if(D("width")){l=extractStringFromParam(e,l)}};this.getHeight=function(){return c};this.setHeight=function(e){if(D("height")){c=extractStringFromParam(e,c)}};this.getMaxMessages=function(){return C};this.setMaxMessages=function(e){C=extractIntFromParam(e,C);if(O()){I().setMaxMessages(C)}};this.isShowCommandLine=function(){return x};this.setShowCommandLine=function(e){x=bool(e);if(O()){I().setShowCommandLine(x)}};this.isShowHideButton=function(){return S};this.setShowHideButton=function(e){S=bool(e);if(O()){I().setShowHideButton(S)}};this.isShowCloseButton=function(){return L};this.setShowCloseButton=function(e){L=bool(e);if(O()){I().setShowCloseButton(L)}};this.getCommandLineObjectExpansionDepth=function(){return E};this.setCommandLineObjectExpansionDepth=function(e){E=extractIntFromParam(e,E)};var _=o;this.isInitiallyMinimized=function(){return o};this.setInitiallyMinimized=function(e){if(D("initiallyMinimized")){o=bool(e);_=o}};this.isUseDocumentWrite=function(){return s};this.setUseDocumentWrite=function(e){if(D("useDocumentWrite")){s=bool(e)}};function P(e,t){this.loggingEvent=e;this.levelName=e.level.name;this.formattedMessage=t}P.prototype.append=function(){I().log(this.levelName,this.formattedMessage)};function F(e,t){this.name=e;this.initiallyExpanded=t}F.prototype.append=function(){I().group(this.name,this.initiallyExpanded)};function B(){}B.prototype.append=function(){I().groupEnd()};var j=function(){T();if(!p){k()}else if(m&&te){A()}if(T()){R()}};this.append=function(e){if(g){var t=d.getLayout().formatWithException(e);v.push(new P(e,t));j()}};this.group=function(e,t){if(g){v.push(new F(e,t));j()}};this.groupEnd=function(){if(g){v.push(new B);j()}};var R=function(){while(v.length>0){v.shift().append()}if(u){I().focus()}};this.setAddedToLogger=function(e){this.loggers.push(e);if(enabled&&!a){k()}};this.clear=function(){if(O()){I().clearLog()}v.length=0};this.focus=function(){if(O()){I().focus()}};this.focusCommandLine=function(){if(O()){I().focusCommandLine()}};this.focusSearch=function(){if(O()){I().focusSearch()}};var $=window;this.getCommandWindow=function(){return $};this.setCommandWindow=function(e){$=e};this.executeLastCommand=function(){if(O()){I().evalLastCommand()}};var W=new PatternLayout("%m");this.getCommandLayout=function(){return W};this.setCommandLayout=function(e){W=e};this.evalCommandAndAppend=function(e){var t={appendResult:true,isError:false};var n="";try{var r,i;if(!$.eval&&$.execScript){$.execScript("null")}var a={};for(i=0,len=H.length;i<len;i++){a[H[i][0]]=H[i][1]}var o=[];var s=function(e){o.push([e,$[e]])};s("appender");$.appender=d;s("commandReturnValue");$.commandReturnValue=t;s("commandLineFunctionsHash");$.commandLineFunctionsHash=a;var l=function(e){s(e);$[e]=function(){return this.commandLineFunctionsHash[e](d,arguments,t)}};for(i=0,len=H.length;i<len;i++){l(H[i][0])}if($===window&&$.execScript){s("evalExpr");s("result");window.evalExpr=e;$.execScript("window.result=eval(window.evalExpr);");r=window.result}else{r=$.eval(e)}n=isUndefined(r)?r:formatObjectExpansion(r,E);for(i=0,len=o.length;i<len;i++){$[o[i][0]]=o[i][1]}}catch(e){n="Error evaluating command: "+getExceptionStringRep(e);t.isError=true}if(t.appendResult){var c=">>> "+e;if(!isUndefined(n)){c+=newLine+n}var u=t.isError?Level.ERROR:Level.INFO;var p=new LoggingEvent(null,new Date,u,[c],null);var f=this.getLayout();this.setLayout(W);this.append(p);this.setLayout(f)}};var H=t.concat([]);this.addCommandLineFunction=function(e,t){H.push([e,t])};var U="log4javascriptCommandHistory";this.storeCommandHistory=function(e){setCookie(U,e.join(","))};var G=function(t){var n=e();t.open();for(var r=0,i=n.length;r<i;r++){t.writeln(n[r])}t.close()};this.setEventTypes(["load","unload"]);var q=function(){var e=I();e.setAppender(d);e.setNewestAtTop(b);e.setScrollToLatest(w);e.setMaxMessages(C);e.setShowCommandLine(x);e.setShowHideButton(S);e.setShowCloseButton(L);e.setMainWindow(window);var t=getCookie(U);if(t){e.commandHistory=t.split(",");e.currentCommandIndex=e.commandHistory.length}d.dispatchEvent("load",{win:e})};this.unload=function(){logLog.debug("unload "+this+", caller: "+this.unload.caller);if(!m){logLog.debug("really doing unload "+this);m=true;h=false;f=false;d.dispatchEvent("unload",{})}};var V=function(e,t,n,r){function i(){try{if(m){clearInterval(a)}if(e(I())){clearInterval(a);n()}}catch(e){clearInterval(a);g=false;handleError(r,e)}}var a=setInterval(i,t)};var z=function(){var e=document.domain!=location.hostname;return s?"":getBaseUrl()+"console.html"+(e?"?log4javascript_domain="+escape(document.domain):"")};if(r){var K=null;var X=[];this.addCssProperty=function(e,t){if(D("cssProperties")){X.push([e,t])}};var Y=false;var J;var Q=uniqueId+"_InPageAppender_"+y;this.hide=function(){if(p&&f){if(O()){I().$("command").blur()}J.style.display="none";_=true}};this.show=function(){if(p){if(f){J.style.display="block";this.setShowCommandLine(x);_=false}else if(!Y){A(true)}}};this.isVisible=function(){return!_&&!m};this.close=function(e){if(!m&&(!e||confirm("This will permanently remove the console from the page. No more messages will be logged. Do you wish to continue?"))){J.parentNode.removeChild(J);this.unload()}};M=function(){var e="InPageAppender.open: unable to create console iframe";function t(){try{if(!o){d.show()}q();h=true;R()}catch(t){g=false;handleError(e,t)}}function n(){try{var n=function(e){return isLoaded(e)};if(s){G(I().document)}if(n(I())){t()}else{V(n,100,t,e)}}catch(t){g=false;handleError(e,t)}}_=false;J=K.appendChild(document.createElement("div"));J.style.width=l;J.style.height=c;J.style.border="solid gray 1px";for(var r=0,i=X.length;r<i;r++){J.style[X[r][0]]=X[r][1]}var a=s?"":" src='"+z()+"'";J.innerHTML="<iframe id='"+Q+"' name='"+Q+"' width='100%' height='100%' frameborder='0'"+a+" scrolling='no'></iframe>";m=false;var u=function(e){try{return bool(e)&&bool(e.document)}catch(e){return false}};if(u(I())){n()}else{V(u,100,n,e)}f=true};A=function(e){if(e||!o){var t=function(){if(!i){K=document.createElement("div");K.style.position="fixed";K.style.left="0";K.style.right="0";K.style.bottom="0";document.body.appendChild(K);d.addCssProperty("borderWidth","1px 0 0 0");d.addCssProperty("zIndex",1e6);M()}else{try{var e=document.getElementById(i);if(e.nodeType==1){K=e}M()}catch(e){handleError("InPageAppender.init: invalid container element '"+i+"' supplied",e)}}};if(pageLoaded&&i&&i.appendChild){K=i;M()}else if(pageLoaded){t()}else{log4javascript.addEventListener("load",t)}Y=true}};k=function(){A();p=true};I=function(){var e=window.frames[Q];if(e){return e}};T=function(){if(g&&!m){if(f&&!h&&I()&&isLoaded(I())){h=true}return h}return false}}else{var Z=d.defaults.useOldPopUp;var ee=d.defaults.complainAboutPopUpBlocking;var te=this.defaults.reopenWhenClosed;this.isUseOldPopUp=function(){return Z};this.setUseOldPopUp=function(e){if(D("useOldPopUp")){Z=bool(e)}};this.isComplainAboutPopUpBlocking=function(){return ee};this.setComplainAboutPopUpBlocking=function(e){if(D("complainAboutPopUpBlocking")){ee=bool(e)}};this.isFocusPopUp=function(){return u};this.setFocusPopUp=function(e){u=bool(e)};this.isReopenWhenClosed=function(){return te};this.setReopenWhenClosed=function(e){te=bool(e)};this.close=function(){logLog.debug("close "+this);try{ne.close();this.unload()}catch(e){}};this.hide=function(){logLog.debug("hide "+this);if(O()){this.close()}};this.show=function(){logLog.debug("show "+this);if(!f){M()}};this.isVisible=function(){return T()};var ne;M=function(){var e="width="+l+",height="+c+",status,resizable";var t="";try{var n=window.frameElement;if(n){t="_"+n.tagName+"_"+(n.name||n.id||"")}}catch(e){t="_inaccessibleParentFrame"}var r="PopUp_"+location.host.replace(/[^a-z0-9]/gi,"_")+"_"+y+t;if(!Z||!s){r=r+"_"+uniqueId}var i=function(e){if(m){return true}else{try{return bool(e)&&e.closed}catch(e){}}return false};var a=function(){if(!m){d.unload()}};function o(){I().setCloseIfOpenerCloses(!Z||!s);q();h=true;R();V(i,500,a,"PopUpAppender.checkPopUpClosed: error checking pop-up window")}try{ne=window.open(z(),r,e);m=false;f=true;if(ne&&ne.document){if(s&&Z&&isLoaded(ne)){ne.mainPageReloaded();o()}else{if(s){G(ne.document)}var u=function(e){return bool(e)&&isLoaded(e)};if(isLoaded(ne)){o()}else{V(u,100,o,"PopUpAppender.init: unable to create console window")}}}else{g=false;logLog.warn("PopUpAppender.init: pop-ups blocked, please unblock to use PopUpAppender");if(ee){handleError("log4javascript: pop-up windows appear to be blocked. Please unblock them to use pop-up logging.")}}}catch(e){handleError("PopUpAppender.init: error creating pop-up",e)}};A=function(){if(!o){M()}};k=function(){A();p=true};I=function(){return ne};T=function(){if(g&&!isUndefined(ne)&&!m){if(ne.closed||h&&isUndefined(ne.closed)){d.unload();logLog.debug("PopUpAppender: pop-up closed");return false}if(!h&&isLoaded(ne)){h=true}}return g&&h&&!m}}this.getConsoleWindow=I};ConsoleAppender.addGlobalCommandLineFunction=function(e,n){t.push([e,n])};function r(e,t,n,r,i){this.create(false,null,e,t,n,r,i,this.defaults.focusPopUp)}r.prototype=new ConsoleAppender;r.prototype.defaults={layout:new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"),initiallyMinimized:false,focusPopUp:false,lazyInit:true,useOldPopUp:true,complainAboutPopUpBlocking:true,newestMessageAtTop:false,scrollToLatestMessage:true,width:"600",height:"400",reopenWhenClosed:false,maxMessages:null,showCommandLine:true,commandLineObjectExpansionDepth:1,showHideButton:false,showCloseButton:true,useDocumentWrite:true};r.prototype.toString=function(){return"PopUpAppender"};log4javascript.PopUpAppender=r;function i(e,t,n,r,i,a){this.create(true,e,t,n,r,i,a,false)}i.prototype=new ConsoleAppender;i.prototype.defaults={layout:new PatternLayout("%d{HH:mm:ss} %-5p - %m{1}%n"),initiallyMinimized:false,lazyInit:true,newestMessageAtTop:false,scrollToLatestMessage:true,width:"100%",height:"220px",maxMessages:null,showCommandLine:true,commandLineObjectExpansionDepth:1,showHideButton:false,showCloseButton:false,showLogEntryDeleteButtons:true,useDocumentWrite:true};i.prototype.toString=function(){return"InPageAppender"};log4javascript.InPageAppender=i;log4javascript.InlineAppender=i})();function padWithSpaces(e,t){if(e.length<t){var n=[];var r=Math.max(0,t-e.length);for(var i=0;i<r;i++){n[i]=" "}e+=n.join("")}return e}(function(){function e(e){var t=0;for(var n in e){t=Math.max(toStr(n).length,t)}var r=[];for(n in e){var i=" "+padWithSpaces(toStr(n),t+2);var a;try{a=splitIntoLines(toStr(e[n])).join(padWithSpaces(newLine,t+6))}catch(e){a="[Error obtaining property. Details: "+getExceptionMessage(e)+"]"}r.push(i+a)}return r.join(newLine)}var t={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12};var n=["script","pre"];var r=["br","img","hr","param","link","area","input","col","base","meta"];var i=" ";function a(e,o,s,l,c){o=typeof o=="undefined"?true:!!o;if(typeof s!="string"){s=""}l=!!l;c=!!c;var u;function d(e){return e.nodeType==t.TEXT_NODE&&/^[ \t\r\n]*$/.test(e.nodeValue)}function p(e){return e.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;")}function f(e){var t=e.style.cssText.split(";");var n="";for(var r=0,i=t.length;r<i;r++){var a=t[r].split(":");var o=[];if(!/^\s*$/.test(a[0])){o.push(trim(a[0]).toLowerCase()+":"+trim(a[1]))}n=o.join(";")}return n}function h(e){if(e.prefix){return e.prefix}else if(e.outerHTML){var t=new RegExp("<([^:]+):"+e.tagName+"[^>]*>","i");if(t.test(e.outerHTML)){return RegExp.$1.toLowerCase()}}return""}var m="<";var v=">";var g,y;if(o&&e.nodeType!=t.DOCUMENT_FRAGMENT_NODE){switch(e.nodeType){case t.ELEMENT_NODE:var b=e.tagName.toLowerCase();u=l?newLine+s:"";u+=m;var w=h(e);var C=!!w;if(C){u+=w+":"}u+=b;for(g=0,y=e.attributes.length;g<y;g++){var x=e.attributes[g];if(!x.specified||x.nodeValue===null||x.nodeName.toLowerCase()==="style"||typeof x.nodeValue!=="string"||x.nodeName.indexOf("_moz")===0){continue}u+=" "+x.nodeName.toLowerCase()+'="';u+=p(x.nodeValue);u+='"'}if(e.style.cssText){var E=f(e);if(E!==""){u+=' style="'+f(e)+'"'}}if(array_contains(r,b)||C&&!e.hasChildNodes()){u+="/"+v}else{u+=v;var S=!(e.childNodes.length===1&&e.childNodes[0].nodeType===t.TEXT_NODE);var L=array_contains(n,b);for(g=0,y=e.childNodes.length;g<y;g++){u+=a(e.childNodes[g],true,s+i,S,L)}var k=m+"/"+b+v;u+=S?newLine+s+k:k}return u;case t.TEXT_NODE:if(d(e)){u=""}else{if(c){u=e.nodeValue}else{var A=splitIntoLines(trim(e.nodeValue));var T=[];for(g=0,y=A.length;g<y;g++){T[g]=trim(A[g])}u=T.join(newLine+s)}if(l){u=newLine+s+u}}return u;case t.CDATA_SECTION_NODE:return"<![CDA"+"TA["+e.nodeValue+"]"+"]>"+newLine;case t.DOCUMENT_NODE:u="";for(g=0,y=e.childNodes.length;g<y;g++){u+=a(e.childNodes[g],true,s)}return u;default:return""}}else{u="";for(g=0,y=e.childNodes.length;g<y;g++){u+=a(e.childNodes[g],true,s+i)}return u}}function o(){ConsoleAppender.addGlobalCommandLineFunction("$",(function(e,t,n){return document.getElementById(t[0])}));ConsoleAppender.addGlobalCommandLineFunction("dir",(function(t,n,r){var i=[];for(var a=0,o=n.length;a<o;a++){i[a]=e(n[a])}return i.join(newLine+newLine)}));ConsoleAppender.addGlobalCommandLineFunction("dirxml",(function(e,t,n){var r=[];for(var i=0,o=t.length;i<o;i++){r[i]=a(t[i])}return r.join(newLine+newLine)}));ConsoleAppender.addGlobalCommandLineFunction("cd",(function(e,t,n){var r,i;if(t.length===0||t[0]===""){r=window;i="Command line set to run in main window"}else{if(t[0].window==t[0]){r=t[0];i="Command line set to run in frame '"+t[0].name+"'"}else{r=window.frames[t[0]];if(r){i="Command line set to run in frame '"+t[0]+"'"}else{n.isError=true;i="Frame '"+t[0]+"' does not exist";r=e.getCommandWindow()}}}e.setCommandWindow(r);return i}));ConsoleAppender.addGlobalCommandLineFunction("clear",(function(e,t,n){n.appendResult=false;e.clear()}));ConsoleAppender.addGlobalCommandLineFunction("keys",(function(e,t,n){var r=[];for(var i in t[0]){r.push(i)}return r}));ConsoleAppender.addGlobalCommandLineFunction("values",(function(e,t,n){var r=[];for(var i in t[0]){try{r.push(t[0][i])}catch(e){logLog.warn("values(): Unable to obtain value for key "+i+". Details: "+getExceptionMessage(e))}}return r}));ConsoleAppender.addGlobalCommandLineFunction("expansionDepth",(function(e,t,n){var r=parseInt(t[0],10);if(isNaN(r)||r<0){n.isError=true;return""+t[0]+" is not a valid expansion depth"}else{e.setCommandLineObjectExpansionDepth(r);return"Object expansion depth set to "+r}}))}function s(){o()}s()})();function createDefaultLogger(){var e=log4javascript.getLogger(defaultLoggerName);var t=new log4javascript.PopUpAppender;e.addAppender(t);return e}log4javascript.setDocumentReady=function(){pageLoaded=true;log4javascript.dispatchEvent("load",{})};if(window.addEventListener){window.addEventListener("load",log4javascript.setDocumentReady,false)}else if(window.attachEvent){window.attachEvent("onload",log4javascript.setDocumentReady)}else{var oldOnload=window.onload;if(typeof window.onload!="function"){window.onload=log4javascript.setDocumentReady}else{window.onload=function(e){if(oldOnload){oldOnload(e)}log4javascript.setDocumentReady()}}}return log4javascript}),this)},503:function(e,t,n){e=n.nmd(e);var r;
31
31
  /*!
32
32
  * Platform.js v1.3.6
33
33
  * Copyright 2014-2020 Benjamin Tan
34
34
  * Copyright 2011-2013 John-David Dalton
35
35
  * Available under MIT license
36
- */(function(){"use strict";var i={function:true,object:true};var a=i[typeof window]&&window||this;var o=a;var s=i[typeof t]&&t;var l=i["object"]&&e&&!e.nodeType&&e;var c=s&&l&&typeof n.g=="object"&&n.g;if(c&&(c.global===c||c.window===c||c.self===c)){a=c}var u=Math.pow(2,53)-1;var d=/\bOpera/;var p=this;var f=Object.prototype;var h=f.hasOwnProperty;var m=f.toString;function g(e){e=String(e);return e.charAt(0).toUpperCase()+e.slice(1)}function v(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])){e="Windows "+r}e=String(e);if(t&&n){e=e.replace(RegExp(t,"i"),n)}e=b(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return e}function y(e,t){var n=-1,r=e?e.length:0;if(typeof r=="number"&&r>-1&&r<=u){while(++n<r){t(e[n],n,e)}}else{w(e,t)}}function b(e){e=L(e);return/^(?:webOS|i(?:OS|P))/.test(e)?e:g(e)}function w(e,t){for(var n in e){if(h.call(e,n)){t(e[n],n,e)}}}function C(e){return e==null?g(e):m.call(e).slice(8,-1)}function x(e,t){var n=e!=null?typeof e[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(n)&&(n=="object"?!!e[t]:true)}function E(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function S(e,t){var n=null;y(e,(function(r,i){n=t(n,r,i,e)}));return n}function L(e){return String(e).replace(/^ +| +$/g,"")}function k(e){var t=a;var n=e&&typeof e=="object"&&C(e)!="String";if(n){t=e;e=null}var r=t.navigator||{};var i=r.userAgent||"";e||(e=i);var s=n||p==o;var l=n?!!r.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(m.toString());var c="Object",u=n?c:"ScriptBridgingProxyObject",f=n?c:"Environment",h=n&&t.java?"JavaPackage":C(t.java),g=n?c:"RuntimeObject";var y=/\bJava/.test(h)&&t.java;var T=y&&C(t.environment)==f;var A=y?"a":"α";var I=y?"b":"β";var M=t.document||{};var N=t.operamini||t.opera;var D=d.test(D=n&&N?N["[[Class]]"]:C(N))?D:N=null;var _;var O=e;var P=[];var F=null;var B=e==i;var R=B&&N&&typeof N.version=="function"&&N.version();var j;var $=q([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var W=z(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var H=X([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var U=V({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}});var G=K(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function q(t){return S(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||E(n))+"\\b","i").exec(e)&&(n.label||n)}))}function V(t){return S(t,(function(t,n,r){return t||(n[H]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(H)]||RegExp("\\b"+E(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function z(t){return S(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||E(n))+"\\b","i").exec(e)&&(n.label||n)}))}function K(t){return S(t,(function(t,n){var r=n.pattern||E(n);if(!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))){t=v(t,r,n.label||n)}return t}))}function X(t){return S(t,(function(t,n){var r=n.pattern||E(n);if(!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))){if((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}n=n.label||n;t=b(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function Y(t){return S(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function J(){return this.description||""}$&&($=[$]);if(/\bAndroid\b/.test(G)&&!H&&(_=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(e))){H=L(_[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null}if(U&&!H){H=X([U])}else if(U&&H){H=H.replace(RegExp("^("+E(U)+")[-_.\\s]","i"),U+" ").replace(RegExp("^("+E(U)+")[-_.]?(\\w)","i"),U+" $2")}if(_=/\bGoogle TV\b/.exec(H)){H=_[0]}if(/\bSimulator\b/i.test(e)){H=(H?H+" ":"")+"Simulator"}if(W=="Opera Mini"&&/\bOPiOS\b/.test(e)){P.push("running in Turbo/Uncompressed mode")}if(W=="IE"&&/\blike iPhone OS\b/.test(e)){_=k(e.replace(/like iPhone OS/,""));U=_.manufacturer;H=_.product}else if(/^iP/.test(H)){W||(W="Safari");G="iOS"+((_=/ OS ([\d_]+)/i.exec(e))?" "+_[1].replace(/_/g,"."):"")}else if(W=="Konqueror"&&/^Linux\b/i.test(G)){G="Kubuntu"}else if(U&&U!="Google"&&(/Chrome/.test(W)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(H))||/\bAndroid\b/.test(G)&&/^Chrome/.test(W)&&/\bVersion\//i.test(e)){W="Android Browser";G=/\bAndroid\b/.test(G)?G:"Android"}else if(W=="Silk"){if(!/\bMobi/i.test(e)){G="Android";P.unshift("desktop mode")}if(/Accelerated *= *true/i.test(e)){P.unshift("accelerated")}}else if(W=="UC Browser"&&/\bUCWEB\b/.test(e)){P.push("speed mode")}else if(W=="PaleMoon"&&(_=/\bFirefox\/([\d.]+)\b/.exec(e))){P.push("identifying as Firefox "+_[1])}else if(W=="Firefox"&&(_=/\b(Mobile|Tablet|TV)\b/i.exec(e))){G||(G="Firefox OS");H||(H=_[1])}else if(!W||(_=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(W))){if(W&&!H&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(_+"/")+8))){W=null}if((_=H||U||G)&&(H||U||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(G))){W=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(G)?G:_)+" Browser"}}else if(W=="Electron"&&(_=(/\bChrome\/([\d.]+)\b/.exec(e)||0)[1])){P.push("Chromium "+_)}if(!R){R=Y(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",E(W),"(?:Firefox|Minefield|NetFront)"])}if(_=$=="iCab"&&parseFloat(R)>3&&"WebKit"||/\bOpera\b/.test(W)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test($)&&"WebKit"||!$&&/\bMSIE\b/i.test(e)&&(G=="Mac OS"?"Tasman":"Trident")||$=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(W)&&"NetFront"){$=[_]}if(W=="IE"&&(_=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])){W+=" Mobile";G="Windows Phone "+(/\+$/.test(_)?_:_+".x");P.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(e)){W="IE Mobile";G="Windows Phone 8.x";P.unshift("desktop mode");R||(R=(/\brv:([\d.]+)/.exec(e)||0)[1])}else if(W!="IE"&&$=="Trident"&&(_=/\brv:([\d.]+)/.exec(e))){if(W){P.push("identifying as "+W+(R?" "+R:""))}W="IE";R=_[1]}if(B){if(x(t,"global")){if(y){_=y.lang.System;O=_.getProperty("os.arch");G=G||_.getProperty("os.name")+" "+_.getProperty("os.version")}if(T){try{R=t.require("ringo/engine").version.join(".");W="RingoJS"}catch(e){if((_=t.system)&&_.global.system==t.system){W="Narwhal";G||(G=_[0].os||null)}}if(!W){W="Rhino"}}else if(typeof t.process=="object"&&!t.process.browser&&(_=t.process)){if(typeof _.versions=="object"){if(typeof _.versions.electron=="string"){P.push("Node "+_.versions.node);W="Electron";R=_.versions.electron}else if(typeof _.versions.nw=="string"){P.push("Chromium "+R,"Node "+_.versions.node);W="NW.js";R=_.versions.nw}}if(!W){W="Node.js";O=_.arch;G=_.platform;R=/[\d.]+/.exec(_.version);R=R?R[0]:null}}}else if(C(_=t.runtime)==u){W="Adobe AIR";G=_.flash.system.Capabilities.os}else if(C(_=t.phantom)==g){W="PhantomJS";R=(_=_.version||null)&&_.major+"."+_.minor+"."+_.patch}else if(typeof M.documentMode=="number"&&(_=/\bTrident\/(\d+)/i.exec(e))){R=[R,M.documentMode];if((_=+_[1]+4)!=R[1]){P.push("IE "+R[1]+" mode");$&&($[1]="");R[1]=_}R=W=="IE"?String(R[1].toFixed(1)):R[0]}else if(typeof M.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(W)){P.push("masking as "+W+" "+R);W="IE";R="11.0";$=["Trident"];G="Windows"}G=G&&b(G)}if(R&&(_=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(R)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(B&&r.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")){F=/b/i.test(_)?"beta":"alpha";R=R.replace(RegExp(_+"\\+?$"),"")+(F=="beta"?I:A)+(/\d+\+?/.exec(_)||"")}if(W=="Fennec"||W=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(G)){W="Firefox Mobile"}else if(W=="Maxthon"&&R){R=R.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(H)){if(H=="Xbox 360"){G=null}if(H=="Xbox 360"&&/\bIEMobile\b/.test(e)){P.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(W)||W&&!H&&!/Browser|Mobi/.test(W))&&(G=="Windows CE"||/Mobi/i.test(e))){W+=" Mobile"}else if(W=="IE"&&B){try{if(t.external===null){P.unshift("platform preview")}}catch(e){P.unshift("embedded")}}else if((/\bBlackBerry\b/.test(H)||/\bBB10\b/.test(e))&&(_=(RegExp(H.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||R)){_=[_,/BB10/.test(e)];G=(_[1]?(H=null,U="BlackBerry"):"Device Software")+" "+_[0];R=null}else if(this!=w&&H!="Wii"&&(B&&N||/Opera/.test(W)&&/\b(?:MSIE|Firefox)\b/i.test(e)||W=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(G)||W=="IE"&&(G&&!/^Win/.test(G)&&R>5.5||/\bWindows XP\b/.test(G)&&R>8||R==8&&!/\bTrident\b/.test(e)))&&!d.test(_=k.call(w,e.replace(d,"")+";"))&&_.name){_="ing as "+_.name+((_=_.version)?" "+_:"");if(d.test(W)){if(/\bIE\b/.test(_)&&G=="Mac OS"){G=null}_="identify"+_}else{_="mask"+_;if(D){W=b(D.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{W="Opera"}if(/\bIE\b/.test(_)){G=null}if(!B){R=null}}$=["Presto"];P.push(_)}if(_=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1]){_=[parseFloat(_.replace(/\.(\d)$/,".0$1")),_];if(W=="Safari"&&_[1].slice(-1)=="+"){W="WebKit Nightly";F="alpha";R=_[1].slice(0,-1)}else if(R==_[1]||R==(_[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])){R=null}_[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1];if(_[0]==537.36&&_[2]==537.36&&parseFloat(_[1])>=28&&$=="WebKit"){$=["Blink"]}if(!B||!l&&!_[1]){$&&($[1]="like Safari");_=(_=_[0],_<400?1:_<500?2:_<526?3:_<533?4:_<534?"4+":_<535?5:_<537?6:_<538?7:_<601?8:_<602?9:_<604?10:_<606?11:_<608?12:"12")}else{$&&($[1]="like Chrome");_=_[1]||(_=_[0],_<530?1:_<532?2:_<532.05?3:_<533?4:_<534.03?5:_<534.07?6:_<534.1?7:_<534.13?8:_<534.16?9:_<534.24?10:_<534.3?11:_<535.01?12:_<535.02?"13+":_<535.07?15:_<535.11?16:_<535.19?17:_<536.05?18:_<536.1?19:_<537.01?20:_<537.11?"21+":_<537.13?23:_<537.18?24:_<537.24?25:_<537.36?26:$!="Blink"?"27":"28")}$&&($[1]+=" "+(_+=typeof _=="number"?".x":/[.+]/.test(_)?"":"+"));if(W=="Safari"&&(!R||parseInt(R)>45)){R=_}else if(W=="Chrome"&&/\bHeadlessChrome/i.test(e)){P.unshift("headless")}}if(W=="Opera"&&(_=/\bzbov|zvav$/.exec(G))){W+=" ";P.unshift("desktop mode");if(_=="zvav"){W+="Mini";R=null}else{W+="Mobile"}G=G.replace(RegExp(" *"+_+"$"),"")}else if(W=="Safari"&&/\bChrome\b/.exec($&&$[1])){P.unshift("desktop mode");W="Chrome Mobile";R=null;if(/\bOS X\b/.test(G)){U="Apple";G="iOS 4.3+"}else{G=null}}else if(/\bSRWare Iron\b/.test(W)&&!R){R=Y("Chrome")}if(R&&R.indexOf(_=/[\d.]+$/.exec(G))==0&&e.indexOf("/"+_+"-")>-1){G=L(G.replace(_,""))}if(G&&G.indexOf(W)!=-1&&!RegExp(W+" OS").test(G)){G=G.replace(RegExp(" *"+E(W)+" *"),"")}if($&&!/\b(?:Avant|Nook)\b/.test(W)&&(/Browser|Lunascape|Maxthon/.test(W)||W!="Safari"&&/^iOS/.test(G)&&/\bSafari\b/.test($[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(W)&&$[1])){(_=$[$.length-1])&&P.push(_)}if(P.length){P=["("+P.join("; ")+")"]}if(U&&H&&H.indexOf(U)<0){P.push("on "+U)}if(H){P.push((/^on /.test(P[P.length-1])?"":"on ")+H)}if(G){_=/ ([\d.+]+)$/.exec(G);j=_&&G.charAt(G.length-_[0].length-1)=="/";G={architecture:32,family:_&&!j?G.replace(_[0],""):G,version:_?_[1]:null,toString:function(){var e=this.version;return this.family+(e&&!j?" "+e:"")+(this.architecture==64?" 64-bit":"")}}}if((_=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(O))&&!/\bi686\b/i.test(O)){if(G){G.architecture=64;G.family=G.family.replace(RegExp(" *"+_),"")}if(W&&(/\bWOW64\b/i.test(e)||B&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(e))){P.unshift("32-bit")}}else if(G&&/^OS X/.test(G.family)&&W=="Chrome"&&parseFloat(R)>=39){G.architecture=64}e||(e=null);var Q={};Q.description=e;Q.layout=$&&$[0];Q.manufacturer=U;Q.name=W;Q.prerelease=F;Q.product=H;Q.ua=e;Q.version=W&&R;Q.os=G||{architecture:null,family:null,version:null,toString:function(){return"null"}};Q.parse=k;Q.toString=J;if(Q.version){P.unshift(R)}if(Q.name){P.unshift(W)}if(G&&W&&!(G==String(G).split(" ")[0]&&(G==W.split(" ")[0]||H))){P.push(H?"("+G+")":"on "+G)}if(P.length){Q.description=P.join(" ")}return Q}var T=k();if(true){a.platform=T;!(r=function(){return T}.call(t,n,t,e),r!==undefined&&(e.exports=r))}else{}}).call(this)}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var n=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};__webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__);n.loaded=true;return n.exports}(()=>{__webpack_require__.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(e){if(typeof window==="object")return window}}()})();(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();var __webpack_exports__={};window.Cookies=__webpack_require__(2215);window.yaml=__webpack_require__(7210);window.log4javascript=__webpack_require__(6863);window.liteURL=__webpack_require__(3194);window.platform=__webpack_require__(7503);window.j1.adapter=__webpack_require__(1922);window.j1.anime=__webpack_require__(258);window.j1.lazyCSS=__webpack_require__(4338);window.j1.core=__webpack_require__(7434);window.j1.core.parseContent=__webpack_require__(2435);window.j1.core.navigator=__webpack_require__(4102);window.j1.core.asciidoctor=__webpack_require__(1702);window.j1.core.scrollSmooth=__webpack_require__(5150);const J1Tocbot=__webpack_require__(6562);const J1AttrChangeListener=__webpack_require__(8497);const J1Speak2Me=__webpack_require__(544);const J1SCarousel=__webpack_require__(7196);const J1AdocResultViewer=__webpack_require__(7784)})();
36
+ */(function(){"use strict";var i={function:true,object:true};var a=i[typeof window]&&window||this;var o=a;var s=i[typeof t]&&t;var l=i["object"]&&e&&!e.nodeType&&e;var c=s&&l&&typeof n.g=="object"&&n.g;if(c&&(c.global===c||c.window===c||c.self===c)){a=c}var u=Math.pow(2,53)-1;var d=/\bOpera/;var p=this;var f=Object.prototype;var h=f.hasOwnProperty;var m=f.toString;function v(e){e=String(e);return e.charAt(0).toUpperCase()+e.slice(1)}function g(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])){e="Windows "+r}e=String(e);if(t&&n){e=e.replace(RegExp(t,"i"),n)}e=b(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return e}function y(e,t){var n=-1,r=e?e.length:0;if(typeof r=="number"&&r>-1&&r<=u){while(++n<r){t(e[n],n,e)}}else{w(e,t)}}function b(e){e=L(e);return/^(?:webOS|i(?:OS|P))/.test(e)?e:v(e)}function w(e,t){for(var n in e){if(h.call(e,n)){t(e[n],n,e)}}}function C(e){return e==null?v(e):m.call(e).slice(8,-1)}function x(e,t){var n=e!=null?typeof e[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(n)&&(n=="object"?!!e[t]:true)}function E(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function S(e,t){var n=null;y(e,(function(r,i){n=t(n,r,i,e)}));return n}function L(e){return String(e).replace(/^ +| +$/g,"")}function k(e){var t=a;var n=e&&typeof e=="object"&&C(e)!="String";if(n){t=e;e=null}var r=t.navigator||{};var i=r.userAgent||"";e||(e=i);var s=n||p==o;var l=n?!!r.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(m.toString());var c="Object",u=n?c:"ScriptBridgingProxyObject",f=n?c:"Environment",h=n&&t.java?"JavaPackage":C(t.java),v=n?c:"RuntimeObject";var y=/\bJava/.test(h)&&t.java;var A=y&&C(t.environment)==f;var T=y?"a":"α";var I=y?"b":"β";var M=t.document||{};var N=t.operamini||t.opera;var D=d.test(D=n&&N?N["[[Class]]"]:C(N))?D:N=null;var O;var _=e;var P=[];var F=null;var B=e==i;var j=B&&N&&typeof N.version=="function"&&N.version();var R;var $=q([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var W=z(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var H=X([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var U=V({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}});var G=K(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function q(t){return S(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||E(n))+"\\b","i").exec(e)&&(n.label||n)}))}function V(t){return S(t,(function(t,n,r){return t||(n[H]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(H)]||RegExp("\\b"+E(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r}))}function z(t){return S(t,(function(t,n){return t||RegExp("\\b"+(n.pattern||E(n))+"\\b","i").exec(e)&&(n.label||n)}))}function K(t){return S(t,(function(t,n){var r=n.pattern||E(n);if(!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))){t=g(t,r,n.label||n)}return t}))}function X(t){return S(t,(function(t,n){var r=n.pattern||E(n);if(!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))){if((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}n=n.label||n;t=b(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function Y(t){return S(t,(function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null}))}function J(){return this.description||""}$&&($=[$]);if(/\bAndroid\b/.test(G)&&!H&&(O=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(e))){H=L(O[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null}if(U&&!H){H=X([U])}else if(U&&H){H=H.replace(RegExp("^("+E(U)+")[-_.\\s]","i"),U+" ").replace(RegExp("^("+E(U)+")[-_.]?(\\w)","i"),U+" $2")}if(O=/\bGoogle TV\b/.exec(H)){H=O[0]}if(/\bSimulator\b/i.test(e)){H=(H?H+" ":"")+"Simulator"}if(W=="Opera Mini"&&/\bOPiOS\b/.test(e)){P.push("running in Turbo/Uncompressed mode")}if(W=="IE"&&/\blike iPhone OS\b/.test(e)){O=k(e.replace(/like iPhone OS/,""));U=O.manufacturer;H=O.product}else if(/^iP/.test(H)){W||(W="Safari");G="iOS"+((O=/ OS ([\d_]+)/i.exec(e))?" "+O[1].replace(/_/g,"."):"")}else if(W=="Konqueror"&&/^Linux\b/i.test(G)){G="Kubuntu"}else if(U&&U!="Google"&&(/Chrome/.test(W)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(H))||/\bAndroid\b/.test(G)&&/^Chrome/.test(W)&&/\bVersion\//i.test(e)){W="Android Browser";G=/\bAndroid\b/.test(G)?G:"Android"}else if(W=="Silk"){if(!/\bMobi/i.test(e)){G="Android";P.unshift("desktop mode")}if(/Accelerated *= *true/i.test(e)){P.unshift("accelerated")}}else if(W=="UC Browser"&&/\bUCWEB\b/.test(e)){P.push("speed mode")}else if(W=="PaleMoon"&&(O=/\bFirefox\/([\d.]+)\b/.exec(e))){P.push("identifying as Firefox "+O[1])}else if(W=="Firefox"&&(O=/\b(Mobile|Tablet|TV)\b/i.exec(e))){G||(G="Firefox OS");H||(H=O[1])}else if(!W||(O=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(W))){if(W&&!H&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(O+"/")+8))){W=null}if((O=H||U||G)&&(H||U||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(G))){W=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(G)?G:O)+" Browser"}}else if(W=="Electron"&&(O=(/\bChrome\/([\d.]+)\b/.exec(e)||0)[1])){P.push("Chromium "+O)}if(!j){j=Y(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",E(W),"(?:Firefox|Minefield|NetFront)"])}if(O=$=="iCab"&&parseFloat(j)>3&&"WebKit"||/\bOpera\b/.test(W)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test($)&&"WebKit"||!$&&/\bMSIE\b/i.test(e)&&(G=="Mac OS"?"Tasman":"Trident")||$=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(W)&&"NetFront"){$=[O]}if(W=="IE"&&(O=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])){W+=" Mobile";G="Windows Phone "+(/\+$/.test(O)?O:O+".x");P.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(e)){W="IE Mobile";G="Windows Phone 8.x";P.unshift("desktop mode");j||(j=(/\brv:([\d.]+)/.exec(e)||0)[1])}else if(W!="IE"&&$=="Trident"&&(O=/\brv:([\d.]+)/.exec(e))){if(W){P.push("identifying as "+W+(j?" "+j:""))}W="IE";j=O[1]}if(B){if(x(t,"global")){if(y){O=y.lang.System;_=O.getProperty("os.arch");G=G||O.getProperty("os.name")+" "+O.getProperty("os.version")}if(A){try{j=t.require("ringo/engine").version.join(".");W="RingoJS"}catch(e){if((O=t.system)&&O.global.system==t.system){W="Narwhal";G||(G=O[0].os||null)}}if(!W){W="Rhino"}}else if(typeof t.process=="object"&&!t.process.browser&&(O=t.process)){if(typeof O.versions=="object"){if(typeof O.versions.electron=="string"){P.push("Node "+O.versions.node);W="Electron";j=O.versions.electron}else if(typeof O.versions.nw=="string"){P.push("Chromium "+j,"Node "+O.versions.node);W="NW.js";j=O.versions.nw}}if(!W){W="Node.js";_=O.arch;G=O.platform;j=/[\d.]+/.exec(O.version);j=j?j[0]:null}}}else if(C(O=t.runtime)==u){W="Adobe AIR";G=O.flash.system.Capabilities.os}else if(C(O=t.phantom)==v){W="PhantomJS";j=(O=O.version||null)&&O.major+"."+O.minor+"."+O.patch}else if(typeof M.documentMode=="number"&&(O=/\bTrident\/(\d+)/i.exec(e))){j=[j,M.documentMode];if((O=+O[1]+4)!=j[1]){P.push("IE "+j[1]+" mode");$&&($[1]="");j[1]=O}j=W=="IE"?String(j[1].toFixed(1)):j[0]}else if(typeof M.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(W)){P.push("masking as "+W+" "+j);W="IE";j="11.0";$=["Trident"];G="Windows"}G=G&&b(G)}if(j&&(O=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(j)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(B&&r.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")){F=/b/i.test(O)?"beta":"alpha";j=j.replace(RegExp(O+"\\+?$"),"")+(F=="beta"?I:T)+(/\d+\+?/.exec(O)||"")}if(W=="Fennec"||W=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(G)){W="Firefox Mobile"}else if(W=="Maxthon"&&j){j=j.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(H)){if(H=="Xbox 360"){G=null}if(H=="Xbox 360"&&/\bIEMobile\b/.test(e)){P.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(W)||W&&!H&&!/Browser|Mobi/.test(W))&&(G=="Windows CE"||/Mobi/i.test(e))){W+=" Mobile"}else if(W=="IE"&&B){try{if(t.external===null){P.unshift("platform preview")}}catch(e){P.unshift("embedded")}}else if((/\bBlackBerry\b/.test(H)||/\bBB10\b/.test(e))&&(O=(RegExp(H.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||j)){O=[O,/BB10/.test(e)];G=(O[1]?(H=null,U="BlackBerry"):"Device Software")+" "+O[0];j=null}else if(this!=w&&H!="Wii"&&(B&&N||/Opera/.test(W)&&/\b(?:MSIE|Firefox)\b/i.test(e)||W=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(G)||W=="IE"&&(G&&!/^Win/.test(G)&&j>5.5||/\bWindows XP\b/.test(G)&&j>8||j==8&&!/\bTrident\b/.test(e)))&&!d.test(O=k.call(w,e.replace(d,"")+";"))&&O.name){O="ing as "+O.name+((O=O.version)?" "+O:"");if(d.test(W)){if(/\bIE\b/.test(O)&&G=="Mac OS"){G=null}O="identify"+O}else{O="mask"+O;if(D){W=b(D.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{W="Opera"}if(/\bIE\b/.test(O)){G=null}if(!B){j=null}}$=["Presto"];P.push(O)}if(O=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1]){O=[parseFloat(O.replace(/\.(\d)$/,".0$1")),O];if(W=="Safari"&&O[1].slice(-1)=="+"){W="WebKit Nightly";F="alpha";j=O[1].slice(0,-1)}else if(j==O[1]||j==(O[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])){j=null}O[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1];if(O[0]==537.36&&O[2]==537.36&&parseFloat(O[1])>=28&&$=="WebKit"){$=["Blink"]}if(!B||!l&&!O[1]){$&&($[1]="like Safari");O=(O=O[0],O<400?1:O<500?2:O<526?3:O<533?4:O<534?"4+":O<535?5:O<537?6:O<538?7:O<601?8:O<602?9:O<604?10:O<606?11:O<608?12:"12")}else{$&&($[1]="like Chrome");O=O[1]||(O=O[0],O<530?1:O<532?2:O<532.05?3:O<533?4:O<534.03?5:O<534.07?6:O<534.1?7:O<534.13?8:O<534.16?9:O<534.24?10:O<534.3?11:O<535.01?12:O<535.02?"13+":O<535.07?15:O<535.11?16:O<535.19?17:O<536.05?18:O<536.1?19:O<537.01?20:O<537.11?"21+":O<537.13?23:O<537.18?24:O<537.24?25:O<537.36?26:$!="Blink"?"27":"28")}$&&($[1]+=" "+(O+=typeof O=="number"?".x":/[.+]/.test(O)?"":"+"));if(W=="Safari"&&(!j||parseInt(j)>45)){j=O}else if(W=="Chrome"&&/\bHeadlessChrome/i.test(e)){P.unshift("headless")}}if(W=="Opera"&&(O=/\bzbov|zvav$/.exec(G))){W+=" ";P.unshift("desktop mode");if(O=="zvav"){W+="Mini";j=null}else{W+="Mobile"}G=G.replace(RegExp(" *"+O+"$"),"")}else if(W=="Safari"&&/\bChrome\b/.exec($&&$[1])){P.unshift("desktop mode");W="Chrome Mobile";j=null;if(/\bOS X\b/.test(G)){U="Apple";G="iOS 4.3+"}else{G=null}}else if(/\bSRWare Iron\b/.test(W)&&!j){j=Y("Chrome")}if(j&&j.indexOf(O=/[\d.]+$/.exec(G))==0&&e.indexOf("/"+O+"-")>-1){G=L(G.replace(O,""))}if(G&&G.indexOf(W)!=-1&&!RegExp(W+" OS").test(G)){G=G.replace(RegExp(" *"+E(W)+" *"),"")}if($&&!/\b(?:Avant|Nook)\b/.test(W)&&(/Browser|Lunascape|Maxthon/.test(W)||W!="Safari"&&/^iOS/.test(G)&&/\bSafari\b/.test($[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(W)&&$[1])){(O=$[$.length-1])&&P.push(O)}if(P.length){P=["("+P.join("; ")+")"]}if(U&&H&&H.indexOf(U)<0){P.push("on "+U)}if(H){P.push((/^on /.test(P[P.length-1])?"":"on ")+H)}if(G){O=/ ([\d.+]+)$/.exec(G);R=O&&G.charAt(G.length-O[0].length-1)=="/";G={architecture:32,family:O&&!R?G.replace(O[0],""):G,version:O?O[1]:null,toString:function(){var e=this.version;return this.family+(e&&!R?" "+e:"")+(this.architecture==64?" 64-bit":"")}}}if((O=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(_))&&!/\bi686\b/i.test(_)){if(G){G.architecture=64;G.family=G.family.replace(RegExp(" *"+O),"")}if(W&&(/\bWOW64\b/i.test(e)||B&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(e))){P.unshift("32-bit")}}else if(G&&/^OS X/.test(G.family)&&W=="Chrome"&&parseFloat(j)>=39){G.architecture=64}e||(e=null);var Q={};Q.description=e;Q.layout=$&&$[0];Q.manufacturer=U;Q.name=W;Q.prerelease=F;Q.product=H;Q.ua=e;Q.version=W&&j;Q.os=G||{architecture:null,family:null,version:null,toString:function(){return"null"}};Q.parse=k;Q.toString=J;if(Q.version){P.unshift(j)}if(Q.name){P.unshift(W)}if(G&&W&&!(G==String(G).split(" ")[0]&&(G==W.split(" ")[0]||H))){P.push(H?"("+G+")":"on "+G)}if(P.length){Q.description=P.join(" ")}return Q}var A=k();if(true){a.platform=A;!(r=function(){return A}.call(t,n,t,e),r!==undefined&&(e.exports=r))}else{}}).call(this)}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var n=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};__webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__);n.loaded=true;return n.exports}(()=>{__webpack_require__.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(e){if(typeof window==="object")return window}}()})();(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();var __webpack_exports__={};window.Cookies=__webpack_require__(215);window.yaml=__webpack_require__(210);window.log4javascript=__webpack_require__(863);window.liteURL=__webpack_require__(194);window.platform=__webpack_require__(503);window.j1.adapter=__webpack_require__(922);window.j1.anime=__webpack_require__(258);window.j1.core=__webpack_require__(434);window.j1.core.parseContent=__webpack_require__(435);window.j1.core.navigator=__webpack_require__(102);window.j1.core.asciidoctor=__webpack_require__(702);window.j1.core.scrollSmooth=__webpack_require__(150);var J1Tocbot=__webpack_require__(562);var J1AttrChangeListener=__webpack_require__(497);var J1Speak2Me=__webpack_require__(544);var J1SCarousel=__webpack_require__(196);var J1AdocResultViewer=__webpack_require__(784)})();