@anov/gis 1.6.9 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/resources/static/modelData/building/00/defaultAoMap.png +0 -0
  3. package/dist/resources/static/modelData/building/00/icon_20190822174435390_175394.png +0 -0
  4. package/dist/resources/static/modelData/building/00/icon_20191031184212596_905709.png +0 -0
  5. package/dist/resources/static/modelData/building/00/icon_20200806165146658_256607.png +0 -0
  6. package/dist/resources/static/modelData/building/00/icon_20200806165346717_486629.png +0 -0
  7. package/dist/resources/static/modelData/building/00/icon_20200806165622546_803071.png +0 -0
  8. package/dist/resources/static/modelData/building/00/icon_20200826135728680_6831.jpg +0 -0
  9. package/dist/resources/static/modelData/building/00/icon_20210705153914377_78335.png +0 -0
  10. package/dist/resources/static/modelData/building/00/icon_20210830164501048_827000.jpg +0 -0
  11. package/dist/resources/static/modelData/building/00/icon_20210901124557738_616270.png +0 -0
  12. package/dist/resources/static/modelData/building/00/icon_20210903160322248_95608.png +0 -0
  13. package/dist/resources/static/modelData/building/00/icon_20210923091557876_521316.png +0 -0
  14. package/dist/resources/static/modelData/building/00/icon_20210923160630983_827755.png +0 -0
  15. package/dist/resources/static/modelData/building/00/icon_20210924144045361_133335.png +0 -0
  16. package/dist/resources/static/modelData/building/00/icon_20210929112546465_180900.png +0 -0
  17. package/dist/resources/static/modelData/building/00/icon_20210929112717971_977031.png +0 -0
  18. package/dist/resources/static/modelData/building/00/icon_20211008163556563_43307.png +0 -0
  19. package/dist/resources/static/modelData/building/00/icon_20211013100646278_238652.png +0 -0
  20. package/dist/resources/static/modelData/building/00/icon_20211013145109837_634585.png +0 -0
  21. package/dist/resources/static/modelData/building/00/icon_20211123110027743_601871.png +0 -0
  22. package/dist/resources/static/modelData/building/00/icon_20211123113228587_341516.png +0 -0
  23. package/dist/resources/static/modelData/building/00/icon_20211123113257568_206251.png +0 -0
  24. package/dist/resources/static/modelData/building/00/icon_20211123113506512_748696.png +0 -0
  25. package/dist/resources/static/modelData/building/00/icon_20211123113517511_203536.png +0 -0
  26. package/dist/resources/static/modelData/building/00/icon_20211123123833410_547758.png +0 -0
  27. package/dist/resources/static/modelData/building/00/icon_20211123123851020_584675.png +0 -0
  28. package/dist/resources/static/modelData/building/00/icon_20211123141857319_304851.png +0 -0
  29. package/dist/resources/static/modelData/building/00/normal.jpg +0 -0
  30. package/dist/resources/static/modelData/building/00//345/205/211/347/202/271/351/273/221/347/231/27502.png +0 -0
  31. package/dist/resources/static/modelData/building/Sci0/bld1.png +0 -0
  32. package/dist/resources/static/modelData/building/Sci0/bld2.png +0 -0
  33. package/dist/resources/static/modelData/building/Sci0/bld3.png +0 -0
  34. package/dist/resources/static/modelData/building/Sci0/bld4.png +0 -0
  35. package/dist/resources/static/modelData/building/Sci0/bld5.png +0 -0
  36. package/dist/resources/static/modelData/building/Sci0/bld_top1.png +0 -0
  37. package/dist/resources/static/modelData/building/Sci0/bld_top2.png +0 -0
  38. package/dist/resources/static/modelData/building/Sci0/bld_top3.png +0 -0
  39. package/dist/resources/static/modelData/building/Sci0/bld_top4.png +0 -0
  40. package/dist/resources/static/modelData/building/Sci0/bld_top5.png +0 -0
  41. package/dist/resources/static/modelData/building/Sci0/win1.png +0 -0
  42. package/dist/resources/static/modelData/building/Sci0/win1@.png +0 -0
  43. package/dist/resources/static/modelData/building/Sci1/bld1.png +0 -0
  44. package/dist/resources/static/modelData/building/Sci1/bld2.png +0 -0
  45. package/dist/resources/static/modelData/building/Sci1/bld3.png +0 -0
  46. package/dist/resources/static/modelData/building/Sci1/bld4.png +0 -0
  47. package/dist/resources/static/modelData/building/Sci1/bld5.png +0 -0
  48. package/dist/resources/static/modelData/building/Sci1/bld_top1.png +0 -0
  49. package/dist/resources/static/modelData/building/Sci1/bld_top2.png +0 -0
  50. package/dist/resources/static/modelData/building/Sci1/bld_top3.png +0 -0
  51. package/dist/resources/static/modelData/building/Sci1/bld_top4.png +0 -0
  52. package/dist/resources/static/modelData/building/Sci1/bld_top5.png +0 -0
  53. package/dist/resources/static/modelData/building/Sci1/win1.png +0 -0
  54. package/dist/resources/static/modelData/building/Sci1/win2.png +0 -0
  55. package/dist/resources/static/modelData/building/Sci1/win3.png +0 -0
  56. package/dist/resources/static/modelData/building/Sci1/win4.png +0 -0
  57. package/dist/resources/static/modelData/building/Sci1/win5.png +0 -0
  58. package/dist/resources/static/modelData/building/Sci2/bld1.png +0 -0
  59. package/dist/resources/static/modelData/building/Sci2/bld2.png +0 -0
  60. package/dist/resources/static/modelData/building/Sci2/bld3.png +0 -0
  61. package/dist/resources/static/modelData/building/Sci2/bld_top1.png +0 -0
  62. package/dist/resources/static/modelData/building/Sci2/bld_top2.png +0 -0
  63. package/dist/resources/static/modelData/building/Sci2/bld_top3.png +0 -0
  64. package/dist/resources/static/modelData/building/Sci3/bld1.png +0 -0
  65. package/dist/resources/static/modelData/building/Sci3/bld_top1.png +0 -0
  66. package/dist/resources/static/modelData/building/Sci4/bld1.png +0 -0
  67. package/dist/resources/static/modelData/building/Sci4/bld2.png +0 -0
  68. package/dist/resources/static/modelData/building/Sci4/bld3.png +0 -0
  69. package/dist/resources/static/modelData/building/Sci4/bld4.png +0 -0
  70. package/dist/resources/static/modelData/building/Sci4/bld_top1.png +0 -0
  71. package/dist/resources/static/modelData/building/Sci4/bld_top2.png +0 -0
  72. package/dist/resources/static/modelData/building/Sci4/bld_top3.png +0 -0
  73. package/dist/resources/static/modelData/building/Sci4/bld_top4.png +0 -0
  74. package/dist/resources/static/modelData/building/base/bld1.png +0 -0
  75. package/dist/resources/static/modelData/building/base/bld10.png +0 -0
  76. package/dist/resources/static/modelData/building/base/bld2.png +0 -0
  77. package/dist/resources/static/modelData/building/base/bld3.png +0 -0
  78. package/dist/resources/static/modelData/building/base/bld4.png +0 -0
  79. package/dist/resources/static/modelData/building/base/bld5.png +0 -0
  80. package/dist/resources/static/modelData/building/base/bld6.png +0 -0
  81. package/dist/resources/static/modelData/building/base/bld7.png +0 -0
  82. package/dist/resources/static/modelData/building/base/bld8.png +0 -0
  83. package/dist/resources/static/modelData/building/base/bld9.png +0 -0
  84. package/dist/resources/static/modelData/building/base/icon_20220215143622644_123389.png +0 -0
  85. package/dist/resources/static/modelData/building/base/top_03.png +0 -0
  86. package/dist/resources/static/modelData/building/base/top_1.png +0 -0
  87. package/dist/resources/static/modelData/building/base/top_2.png +0 -0
  88. package/dist/resources/static/modelData/building/base/top_3.png +0 -0
  89. package/dist/resources/static/modelData/building/base/top_4.png +0 -0
  90. package/dist/resources/static/modelData/building/base/top_6.png +0 -0
  91. package/dist/resources/static/modelData/building/base/top_7.png +0 -0
  92. package/dist/resources/static/modelData/building/color1/co0.png +0 -0
  93. package/dist/resources/static/modelData/building/color1/co1.png +0 -0
  94. package/dist/resources/static/modelData/building/color1/co2.png +0 -0
  95. package/dist/resources/static/modelData/building/color1/co3.png +0 -0
  96. package/dist/resources/static/modelData/building/color1/co4.png +0 -0
  97. package/dist/resources/static/modelData/building/color1/co5.png +0 -0
  98. package/dist/resources/static/modelData/building/color1/co6.png +0 -0
  99. package/dist/resources/static/modelData/building/color1/co7.png +0 -0
  100. package/dist/resources/static/modelData/building/realism/bld-anime.png +0 -0
  101. package/dist/resources/static/modelData/building/realism/bld-top.png +0 -0
  102. package/dist/resources/static/modelData/building/realism/bld-top10.png +0 -0
  103. package/dist/resources/static/modelData/building/realism/bld-top11.png +0 -0
  104. package/dist/resources/static/modelData/building/realism/bld-top2.png +0 -0
  105. package/dist/resources/static/modelData/building/realism/bld-top3.png +0 -0
  106. package/dist/resources/static/modelData/building/realism/bld-top4.png +0 -0
  107. package/dist/resources/static/modelData/building/realism/bld-top5.png +0 -0
  108. package/dist/resources/static/modelData/building/realism/bld-top8.png +0 -0
  109. package/dist/resources/static/modelData/building/realism/bld-top9.png +0 -0
  110. package/dist/resources/static/modelData/building/realism/bld1.png +0 -0
  111. package/dist/resources/static/modelData/building/realism/bld10.png +0 -0
  112. package/dist/resources/static/modelData/building/realism/bld11.png +0 -0
  113. package/dist/resources/static/modelData/building/realism/bld2.png +0 -0
  114. package/dist/resources/static/modelData/building/realism/bld3.png +0 -0
  115. package/dist/resources/static/modelData/building/realism/bld4.png +0 -0
  116. package/dist/resources/static/modelData/building/realism/bld5.png +0 -0
  117. package/dist/resources/static/modelData/building/realism/bld6.png +0 -0
  118. package/dist/resources/static/modelData/building/realism/bld7.png +0 -0
  119. package/dist/resources/static/modelData/building/realism/bld8.png +0 -0
  120. package/dist/resources/static/modelData/building/realism/bld9.png +0 -0
  121. package/dist/resources/static/modelData/building/realism/no-anime.png +0 -0
  122. package/dist/resources/static/modelData/building/realism/wall_10000.png +0 -0
  123. package/dist/resources/static/modelData/building/road/green.png +0 -0
  124. package/dist/resources/static/modelData/building/road/line_blue1.png +0 -0
  125. package/dist/resources/static/modelData/building/road/line_p.png +0 -0
  126. package/dist/resources/static/modelData/building/road/purple1.png +0 -0
  127. package/dist/resources/static/modelData/building/road/red.png +0 -0
  128. package/dist/resources/static/modelData/building/road/red1.png +0 -0
  129. package/dist/resources/static/modelData/building/road/road1.PNG +0 -0
  130. package/dist/resources/static/modelData/building/road/yellow1.png +0 -0
  131. package/dist/resources/static/modelData/building/water/color.png +0 -0
  132. package/dist/resources/static/modelData/building/water/refraction.jpg +0 -0
  133. package/dist/resources/static/modelData/gltf/treePlane3.glb +0 -0
  134. package/dist/resources/static/modelData/road/river_pg_110000.json +2756 -0
  135. package/package.json +20 -17
  136. package/dist/Documentation/images/CesiumLogo.png +0 -0
  137. package/dist/Documentation/images/arrflow.png +0 -0
  138. package/dist/Documentation/images/bingAerial.png +0 -0
  139. package/dist/Documentation/images/bingAerialLabels.png +0 -0
  140. package/dist/Documentation/images/bingRoads.png +0 -0
  141. package/dist/Documentation/images/blueblack.png +0 -0
  142. package/dist/Documentation/images/circle_blue.png +0 -0
  143. package/dist/Documentation/images/circle_red.png +0 -0
  144. package/dist/Documentation/images/circle_yellow.png +0 -0
  145. package/dist/Documentation/images/cloud.jpg +0 -0
  146. package/dist/Documentation/images/defpoint.png +0 -0
  147. package/dist/Documentation/images/esriWorldImagery.png +0 -0
  148. package/dist/Documentation/images/fence.png +0 -0
  149. package/dist/Documentation/images/gaode_img.png +0 -0
  150. package/dist/Documentation/images/gnjg.png +0 -0
  151. package/dist/Documentation/images/google_vec.png +0 -0
  152. package/dist/Documentation/images/lighting.png +0 -0
  153. package/dist/Documentation/images/linegradient.png +0 -0
  154. package/dist/Documentation/images/modelicon.png +0 -0
  155. package/dist/Documentation/images/rader-g.png +0 -0
  156. package/dist/Documentation/images/space_line.png +0 -0
  157. package/dist/Documentation/images/tdt_ter.png +0 -0
  158. package/dist/Documentation/images/tdt_vec.png +0 -0
  159. package/dist/Documentation/images/wall1.png +0 -0
  160. package/dist/Documentation/images/wall2.png +0 -0
  161. package/dist/Documentation/images/wallflow.png +0 -0
  162. package/dist/Documentation/images/wallgradient.png +0 -0
  163. package/dist/Documentation/images/wallgradients.png +0 -0
  164. package/dist/Documentation/images/wallline.png +0 -0
  165. package/dist/Documentation/images/walltest.png +0 -0
  166. package/dist/Documentation/images/water/waterNormals.jpg +0 -0
  167. package/packages/applyfn/dist/applyfn.js +0 -2
  168. package/packages/applyfn/dist/applyfn.js.LICENSE.txt +0 -58
  169. package/packages/applyfn/dist/resources/static/images/CesiumLogo.png +0 -0
  170. package/packages/applyfn/dist/resources/static/images/arrflow.png +0 -0
  171. package/packages/applyfn/dist/resources/static/images/bingAerial.png +0 -0
  172. package/packages/applyfn/dist/resources/static/images/bingAerialLabels.png +0 -0
  173. package/packages/applyfn/dist/resources/static/images/bingRoads.png +0 -0
  174. package/packages/applyfn/dist/resources/static/images/blueblack.png +0 -0
  175. package/packages/applyfn/dist/resources/static/images/circle_blue.png +0 -0
  176. package/packages/applyfn/dist/resources/static/images/circle_red.png +0 -0
  177. package/packages/applyfn/dist/resources/static/images/circle_yellow.png +0 -0
  178. package/packages/applyfn/dist/resources/static/images/cloud.jpg +0 -0
  179. package/packages/applyfn/dist/resources/static/images/defpoint.png +0 -0
  180. package/packages/applyfn/dist/resources/static/images/esriWorldImagery.png +0 -0
  181. package/packages/applyfn/dist/resources/static/images/fence.png +0 -0
  182. package/packages/applyfn/dist/resources/static/images/gaode_img.png +0 -0
  183. package/packages/applyfn/dist/resources/static/images/gnjg.png +0 -0
  184. package/packages/applyfn/dist/resources/static/images/google_vec.png +0 -0
  185. package/packages/applyfn/dist/resources/static/images/lighting.png +0 -0
  186. package/packages/applyfn/dist/resources/static/images/linegradient.png +0 -0
  187. package/packages/applyfn/dist/resources/static/images/modelicon.png +0 -0
  188. package/packages/applyfn/dist/resources/static/images/rader-g.png +0 -0
  189. package/packages/applyfn/dist/resources/static/images/space_line.png +0 -0
  190. package/packages/applyfn/dist/resources/static/images/tdt_ter.png +0 -0
  191. package/packages/applyfn/dist/resources/static/images/tdt_vec.png +0 -0
  192. package/packages/applyfn/dist/resources/static/images/wall1.png +0 -0
  193. package/packages/applyfn/dist/resources/static/images/wall2.png +0 -0
  194. package/packages/applyfn/dist/resources/static/images/wallflow.png +0 -0
  195. package/packages/applyfn/dist/resources/static/images/wallgradient.png +0 -0
  196. package/packages/applyfn/dist/resources/static/images/wallgradients.png +0 -0
  197. package/packages/applyfn/dist/resources/static/images/wallline.png +0 -0
  198. package/packages/applyfn/dist/resources/static/images/walltest.png +0 -0
  199. package/packages/applyfn/dist/resources/static/images/water/waterNormals.jpg +0 -0
  200. package/packages/applyfn/dist/resources/static/images/water/waterNormalsSmall.jpg +0 -0
  201. package/packages/applyfn/dist/resources/static/js/viewerCesiumNavigationMixin.js +0 -2
  202. package/packages/applyfn/dist/resources/static/js/viewerCesiumNavigationMixin.js.LICENSE.txt +0 -10
  203. package/packages/cesiumthreelib/rollup.config.mjs +0 -30
  204. package/packages/cesiumthreelib/tsconfig.json +0 -22
  205. /package/dist/{Documentation/images/water → resources/static/modelData/images}/waterNormalsSmall.jpg +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see viewerCesiumNavigationMixin.js.LICENSE.txt */
2
- !function(e,t){"use strict";"function"==typeof define&&define.amd?require.specified("Cesium/Cesium")?define(["Cesium/Cesium"],t):require.specified("Cesium")?define(["Cesium"],t):define([],t):t()}("undefined"!=typeof window?window:"undefined"!=typeof self&&self,(function(e){var t,n,r,i,o,a,s,c;"object"==typeof e&&null!==e&&(Cesium=e),function(e){var i,o,a,s,c={},u={},l={},p={},h=Object.prototype.hasOwnProperty,f=[].slice,d=/\.js$/;function m(e,t){return h.call(e,t)}function g(e,t){var n,r,i,o,a,s,c,u,p,h,f,m=t&&t.split("/"),g=l.map,v=g&&g["*"]||{};if(e){for(a=(e=e.split("/")).length-1,l.nodeIdCompat&&d.test(e[a])&&(e[a]=e[a].replace(d,"")),"."===e[0].charAt(0)&&m&&(e=m.slice(0,m.length-1).concat(e)),p=0;p<e.length;p++)if("."===(f=e[p]))e.splice(p,1),p-=1;else if(".."===f){if(0===p||1===p&&".."===e[2]||".."===e[p-1])continue;p>0&&(e.splice(p-1,2),p-=2)}e=e.join("/")}if((m||v)&&g){for(p=(n=e.split("/")).length;p>0;p-=1){if(r=n.slice(0,p).join("/"),m)for(h=m.length;h>0;h-=1)if((i=g[m.slice(0,h).join("/")])&&(i=i[r])){o=i,s=p;break}if(o)break;!c&&v&&v[r]&&(c=v[r],u=p)}!o&&c&&(o=c,s=u),o&&(n.splice(0,s,o),e=n.join("/"))}return e}function v(t,n){return function(){var r=f.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),o.apply(e,r.concat([t,n]))}}function b(e){return function(t){c[e]=t}}function y(t){if(m(u,t)){var n=u[t];delete u[t],p[t]=!0,i.apply(e,n)}if(!m(c,t)&&!m(p,t))throw new Error("No "+t);return c[t]}function _(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function k(e){return e?_(e):[]}function C(e){return function(){return l&&l.config&&l.config[e]||{}}}a=function(e,t){var n,r,i=_(e),o=i[0],a=t[1];return e=i[1],o&&(n=y(o=g(o,a))),o?e=n&&n.normalize?n.normalize(e,(r=a,function(e){return g(e,r)})):g(e,a):(o=(i=_(e=g(e,a)))[0],e=i[1],o&&(n=y(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},s={require:function(e){return v(e)},exports:function(e){var t=c[e];return void 0!==t?t:c[e]={}},module:function(e){return{id:e,uri:"",exports:c[e],config:C(e)}}},i=function(t,n,r,i){var o,l,h,f,d,g,_,C=[],w=typeof r;if(g=k(i=i||t),"undefined"===w||"function"===w){for(n=!n.length&&r.length?["require","exports","module"]:n,d=0;d<n.length;d+=1)if("require"===(l=(f=a(n[d],g)).f))C[d]=s.require(t);else if("exports"===l)C[d]=s.exports(t),_=!0;else if("module"===l)o=C[d]=s.module(t);else if(m(c,l)||m(u,l)||m(p,l))C[d]=y(l);else{if(!f.p)throw new Error(t+" missing "+l);f.p.load(f.n,v(i,!0),b(l),{}),C[d]=c[l]}h=r?r.apply(c[t],C):void 0,t&&(o&&o.exports!==e&&o.exports!==c[t]?c[t]=o.exports:h===e&&_||(c[t]=h))}else t&&(c[t]=r)},t=n=o=function(t,n,r,c,u){if("string"==typeof t)return s[t]?s[t](n):y(a(t,k(n)).f);if(!t.splice){if((l=t).deps&&o(l.deps,l.callback),!n)return;n.splice?(t=n,n=r,r=null):t=e}return n=n||function(){},"function"==typeof r&&(r=c,c=u),c?i(e,t,n,r):setTimeout((function(){i(e,t,n,r)}),4),o},o.config=function(e){return o(e)},t._defined=c,(r=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),m(c,e)||m(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),r("almond",(function(){})),function(e){var t=this||(0,eval)("this"),n=t.document,i=t.navigator,o=t.jQuery,a=t.JSON;o||"undefined"==typeof jQuery||(o=jQuery),function(e){"function"==typeof r&&r.amd?r("knockout",["exports","require"],e):"object"==typeof exports&&"object"==typeof module?e(module.exports||exports):e(t.ko={})}((function(r,s){function c(e,t){return(null===e||typeof e in k)&&e===t}function u(t,n){var r;return function(){r||(r=_.a.setTimeout((function(){r=e,t()}),n))}}function l(e,t){var n;return function(){clearTimeout(n),n=_.a.setTimeout(e,t)}}function p(e,t){t&&"change"!==t?"beforeChange"===t?this.pc(e):this.gb(e,t):this.qc(e)}function h(e,t){null!==t&&t.s&&t.s()}function f(e,t){var n=this.qd,r=n[A];r.ra||(this.Qb&&this.mb[t]?(n.uc(t,e,this.mb[t]),this.mb[t]=null,--this.Qb):r.I[t]||n.uc(t,e,r.J?{da:e}:n.$c(e)),e.Ja&&e.gd())}var d,m,g,v,b,y,_=void 0!==r?r:{};_.b=function(e,t){for(var n=e.split("."),r=_,i=0;i<n.length-1;i++)r=r[n[i]];r[n[n.length-1]]=t},_.L=function(e,t,n){e[t]=n},_.version="3.5.1",_.b("version",_.version),_.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},_.a=function(){function r(e,t){for(var n in e)l.call(e,n)&&t(n,e[n])}function s(e,t){if(t)for(var n in t)l.call(t,n)&&(e[n]=t[n]);return e}function c(e,t){return e.__proto__=t,e}function u(e,t,n,r){var i=e[t].match(b)||[];_.a.D(n.match(b),(function(e){_.a.Na(i,e,r)})),e[t]=i.join(" ")}var l=Object.prototype.hasOwnProperty,p={__proto__:[]}instanceof Array,h="function"==typeof Symbol,f={},d={};f[i&&/Firefox\/2/i.test(i.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],f.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),r(f,(function(e,t){if(t.length)for(var n=0,r=t.length;n<r;n++)d[t[n]]=e}));var m,g={propertychange:!0},v=n&&function(){for(var t=3,r=n.createElement("div"),i=r.getElementsByTagName("i");r.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e",i[0];);return 4<t?t:e}(),b=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(e,t,n){for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},A:"function"==typeof Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t)}:function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Lb:function(t,n,r){for(var i=0,o=t.length;i<o;i++)if(n.call(r,t[i],i,t))return t[i];return e},Pa:function(e,t){var n=_.a.A(e,t);0<n?e.splice(n,1):0===n&&e.shift()},wc:function(e){var t=[];return e&&_.a.D(e,(function(e){0>_.a.A(t,e)&&t.push(e)})),t},Mb:function(e,t,n){var r=[];if(e)for(var i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i));return r},jb:function(e,t,n){var r=[];if(e)for(var i=0,o=e.length;i<o;i++)t.call(n,e[i],i)&&r.push(e[i]);return r},Nb:function(e,t){if(t instanceof Array)e.push.apply(e,t);else for(var n=0,r=t.length;n<r;n++)e.push(t[n]);return e},Na:function(e,t,n){var r=_.a.A(_.a.bc(e),t);0>r?n&&e.push(t):n||e.splice(r,1)},Ba:p,extend:s,setPrototypeOf:c,Ab:p?c:s,P:r,Ga:function(e,t,n){if(!e)return e;var r,i={};for(r in e)l.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i},Tb:function(e){for(;e.firstChild;)_.removeNode(e.firstChild)},Yb:function(e){for(var t=((e=_.a.la(e))[0]&&e[0].ownerDocument||n).createElement("div"),r=0,i=e.length;r<i;r++)t.appendChild(_.oa(e[r]));return t},Ca:function(e,t){for(var n=0,r=e.length,i=[];n<r;n++){var o=e[n].cloneNode(!0);i.push(t?_.oa(o):o)}return i},va:function(e,t){if(_.a.Tb(e),t)for(var n=0,r=t.length;n<r;n++)e.appendChild(t[n])},Xc:function(e,t){var n=e.nodeType?[e]:e;if(0<n.length){for(var r=n[0],i=r.parentNode,o=0,a=t.length;o<a;o++)i.insertBefore(t[o],r);for(o=0,a=n.length;o<a;o++)_.removeNode(n[o])}},Ua:function(e,t){if(e.length){for(t=8===t.nodeType&&t.parentNode||t;e.length&&e[0].parentNode!==t;)e.splice(0,1);for(;1<e.length&&e[e.length-1].parentNode!==t;)e.length--;if(1<e.length){var n=e[0],r=e[e.length-1];for(e.length=0;n!==r;)e.push(n),n=n.nextSibling;e.push(r)}}return e},Zc:function(e,t){7>v?e.setAttribute("selected",t):e.selected=t},Db:function(t){return null===t||t===e?"":t.trim?t.trim():t.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(e,t){return e=e||"",!(t.length>e.length)&&e.substring(0,t.length)===t},vd:function(e,t){if(e===t)return!0;if(11===e.nodeType)return!1;if(t.contains)return t.contains(1!==e.nodeType?e.parentNode:e);if(t.compareDocumentPosition)return 16==(16&t.compareDocumentPosition(e));for(;e&&e!=t;)e=e.parentNode;return!!e},Sb:function(e){return _.a.vd(e,e.ownerDocument.documentElement)},kd:function(e){return!!_.a.Lb(e,_.a.Sb)},R:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},Ac:function(e){return _.onError?function(){try{return e.apply(this,arguments)}catch(e){throw _.onError&&_.onError(e),e}}:e},setTimeout:function(e,t){return setTimeout(_.a.Ac(e),t)},Gc:function(e){setTimeout((function(){throw _.onError&&_.onError(e),e}),0)},B:function(e,t,n){var r=_.a.Ac(n);if(n=g[t],_.options.useOnlyNativeEvents||n||!o)if(n||"function"!=typeof e.addEventListener){if(void 0===e.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");var i=function(t){r.call(e,t)},a="on"+t;e.attachEvent(a,i),_.a.K.za(e,(function(){e.detachEvent(a,i)}))}else e.addEventListener(t,r,!1);else m||(m="function"==typeof o(e).on?"on":"bind"),o(e)[m](t,r)},Fb:function(e,r){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var i;if(i=!("input"!==_.a.R(e)||!e.type||"click"!=r.toLowerCase()||"checkbox"!=(i=e.type)&&"radio"!=i),_.options.useOnlyNativeEvents||!o||i)if("function"==typeof n.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(i=n.createEvent(d[r]||"HTMLEvents")).initEvent(r,!0,!0,t,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(i)}else if(i&&e.click)e.click();else{if(void 0===e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+r)}else o(e).trigger(r)},f:function(e){return _.O(e)?e():e},bc:function(e){return _.O(e)?e.v():e},Eb:function(e,t,n){var r;t&&("object"==typeof e.classList?(r=e.classList[n?"add":"remove"],_.a.D(t.match(b),(function(t){r.call(e.classList,t)}))):"string"==typeof e.className.baseVal?u(e.className,"baseVal",t,n):u(e,"className",t,n))},Bb:function(t,n){var r=_.a.f(n);null!==r&&r!==e||(r="");var i=_.h.firstChild(t);!i||3!=i.nodeType||_.h.nextSibling(i)?_.h.va(t,[t.ownerDocument.createTextNode(r)]):i.data=r,_.a.Ad(t)},Yc:function(e,t){if(e.name=t,7>=v)try{var r=e.name.replace(/[&<>'"]/g,(function(e){return"&#"+e.charCodeAt(0)+";"}));e.mergeAttributes(n.createElement("<input name='"+r+"'/>"),!1)}catch(e){}},Ad:function(e){9<=v&&(e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom)},wd:function(e){if(v){var t=e.style.width;e.style.width=0,e.style.width=t}},Pd:function(e,t){e=_.a.f(e),t=_.a.f(t);for(var n=[],r=e;r<=t;r++)n.push(r);return n},la:function(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(e[n]);return t},Da:function(e){return h?Symbol(e):e},Zd:6===v,$d:7===v,W:v,Lc:function(e,t){for(var n=_.a.la(e.getElementsByTagName("input")).concat(_.a.la(e.getElementsByTagName("textarea"))),r="string"==typeof t?function(e){return e.name===t}:function(e){return t.test(e.name)},i=[],o=n.length-1;0<=o;o--)r(n[o])&&i.push(n[o]);return i},Nd:function(e){return"string"==typeof e&&(e=_.a.Db(e))?a&&a.parse?a.parse(e):new Function("return "+e)():null},hc:function(e,t,n){if(!a||!a.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return a.stringify(_.a.f(e),t,n)},Od:function(e,t,i){var o=(i=i||{}).params||{},a=i.includeFields||this.Jc,s=e;if("object"==typeof e&&"form"===_.a.R(e)){s=e.action;for(var c=a.length-1;0<=c;c--)for(var u=_.a.Lc(e,a[c]),l=u.length-1;0<=l;l--)o[u[l].name]=u[l].value}t=_.a.f(t);var p=n.createElement("form");for(var h in p.style.display="none",p.action=s,p.method="post",t)(e=n.createElement("input")).type="hidden",e.name=h,e.value=_.a.hc(_.a.f(t[h])),p.appendChild(e);r(o,(function(e,t){var r=n.createElement("input");r.type="hidden",r.name=e,r.value=t,p.appendChild(r)})),n.body.appendChild(p),i.submitter?i.submitter(p):p.submit(),setTimeout((function(){p.parentNode.removeChild(p)}),0)}}}(),_.b("utils",_.a),_.b("utils.arrayForEach",_.a.D),_.b("utils.arrayFirst",_.a.Lb),_.b("utils.arrayFilter",_.a.jb),_.b("utils.arrayGetDistinctValues",_.a.wc),_.b("utils.arrayIndexOf",_.a.A),_.b("utils.arrayMap",_.a.Mb),_.b("utils.arrayPushAll",_.a.Nb),_.b("utils.arrayRemoveItem",_.a.Pa),_.b("utils.cloneNodes",_.a.Ca),_.b("utils.createSymbolOrString",_.a.Da),_.b("utils.extend",_.a.extend),_.b("utils.fieldsIncludedWithJsonPost",_.a.Jc),_.b("utils.getFormFields",_.a.Lc),_.b("utils.objectMap",_.a.Ga),_.b("utils.peekObservable",_.a.bc),_.b("utils.postJson",_.a.Od),_.b("utils.parseJson",_.a.Nd),_.b("utils.registerEventHandler",_.a.B),_.b("utils.stringifyJson",_.a.hc),_.b("utils.range",_.a.Pd),_.b("utils.toggleDomNodeCssClass",_.a.Eb),_.b("utils.triggerEvent",_.a.Fb),_.b("utils.unwrapObservable",_.a.f),_.b("utils.objectForEach",_.a.P),_.b("utils.addOrRemoveItem",_.a.Na),_.b("utils.setTextContent",_.a.Bb),_.b("unwrap",_.a.f),Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(1===arguments.length)return function(){return t.apply(e,arguments)};var n=Array.prototype.slice.call(arguments,1);return function(){var r=n.slice(0);return r.push.apply(r,arguments),t.apply(e,r)}}),_.a.g=new function(){var t,n,r=0,i="__ko__"+(new Date).getTime(),o={};return _.a.W?(t=function(t,n){var a=t[i];if(!a||"null"===a||!o[a]){if(!n)return e;a=t[i]="ko"+r++,o[a]={}}return o[a]},n=function(e){var t=e[i];return!!t&&(delete o[t],e[i]=null,!0)}):(t=function(e,t){var n=e[i];return!n&&t&&(n=e[i]={}),n},n=function(e){return!!e[i]&&(delete e[i],!0)}),{get:function(e,n){var r=t(e,!1);return r&&r[n]},set:function(n,r,i){(n=t(n,i!==e))&&(n[r]=i)},Ub:function(e,n,r){return(e=t(e,!0))[n]||(e[n]=r)},clear:n,Z:function(){return r+++i}}},_.b("utils.domData",_.a.g),_.b("utils.domData.clear",_.a.g.clear),_.a.K=new function(){function t(t,n){var r=_.a.g.get(t,i);return r===e&&n&&(r=[],_.a.g.set(t,i,r)),r}function n(e){if(n=t(e,!1))for(var n=n.slice(0),i=0;i<n.length;i++)n[i](e);_.a.g.clear(e),_.a.K.cleanExternalData(e),s[e.nodeType]&&r(e.childNodes,!0)}function r(e,t){for(var r,i=[],o=0;o<e.length;o++)if((!t||8===e[o].nodeType)&&(n(i[i.length]=r=e[o]),e[o]!==r))for(;o--&&-1==_.a.A(i,e[o]););}var i=_.a.g.Z(),a={1:!0,8:!0,9:!0},s={1:!0,9:!0};return{za:function(e,n){if("function"!=typeof n)throw Error("Callback must be a function");t(e,!0).push(n)},yb:function(n,r){var o=t(n,!1);o&&(_.a.Pa(o,r),0==o.length&&_.a.g.set(n,i,e))},oa:function(e){return _.u.G((function(){a[e.nodeType]&&(n(e),s[e.nodeType]&&r(e.getElementsByTagName("*")))})),e},removeNode:function(e){_.oa(e),e.parentNode&&e.parentNode.removeChild(e)},cleanExternalData:function(e){o&&"function"==typeof o.cleanData&&o.cleanData([e])}}},_.oa=_.a.K.oa,_.removeNode=_.a.K.removeNode,_.b("cleanNode",_.oa),_.b("removeNode",_.removeNode),_.b("utils.domNodeDisposal",_.a.K),_.b("utils.domNodeDisposal.addDisposeCallback",_.a.K.za),_.b("utils.domNodeDisposal.removeDisposeCallback",_.a.K.yb),d=[0,"",""],b={thead:m=[1,"<table>","</table>"],tbody:m,tfoot:m,tr:[2,"<table><tbody>","</tbody></table>"],td:g=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:g,option:v=[1,"<select multiple='multiple'>","</select>"],optgroup:v},y=8>=_.a.W,_.a.ua=function(e,r){var i;if(o){if(o.parseHTML)i=o.parseHTML(e,r)||[];else if((i=o.clean([e],r))&&i[0]){for(var a=i[0];a.parentNode&&11!==a.parentNode.nodeType;)a=a.parentNode;a.parentNode&&a.parentNode.removeChild(a)}}else{(i=r)||(i=n),a=i.parentWindow||i.defaultView||t;var s,c=_.a.Db(e).toLowerCase(),u=i.createElement("div");for(s=(c=c.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&b[c[1]]||d,c=s[0],s="ignored<div>"+s[1]+e+s[2]+"</div>","function"==typeof a.innerShiv?u.appendChild(a.innerShiv(s)):(y&&i.body.appendChild(u),u.innerHTML=s,y&&u.parentNode.removeChild(u));c--;)u=u.lastChild;i=_.a.la(u.lastChild.childNodes)}return i},_.a.Md=function(e,t){var n=_.a.ua(e,t);return n.length&&n[0].parentElement||_.a.Yb(n)},_.a.fc=function(t,n){if(_.a.Tb(t),null!==(n=_.a.f(n))&&n!==e)if("string"!=typeof n&&(n=n.toString()),o)o(t).html(n);else for(var r=_.a.ua(n,t.ownerDocument),i=0;i<r.length;i++)t.appendChild(r[i])},_.b("utils.parseHtmlFragment",_.a.ua),_.b("utils.setHtml",_.a.fc),_.aa=function(){function t(e,n){if(e)if(8==e.nodeType)null!=(r=_.aa.Uc(e.nodeValue))&&n.push({ud:e,Kd:r});else if(1==e.nodeType)for(var r=0,i=e.childNodes,o=i.length;r<o;r++)t(i[r],n)}var n={};return{Xb:function(e){if("function"!=typeof e)throw Error("You can only pass a function to ko.memoization.memoize()");var t=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return n[t]=e,"\x3c!--[ko_memo:"+t+"]--\x3e"},bd:function(t,r){var i=n[t];if(i===e)throw Error("Couldn't find any memo with ID "+t+". Perhaps it's already been unmemoized.");try{return i.apply(null,r||[]),!0}finally{delete n[t]}},cd:function(e,n){var r=[];t(e,r);for(var i=0,o=r.length;i<o;i++){var a=r[i].ud,s=[a];n&&_.a.Nb(s,n),_.aa.bd(r[i].Kd,s),a.nodeValue="",a.parentNode&&a.parentNode.removeChild(a)}},Uc:function(e){return(e=e.match(/^\[ko_memo\:(.*?)\]$/))?e[1]:null}}}(),_.b("memoization",_.aa),_.b("memoization.memoize",_.aa.Xb),_.b("memoization.unmemoize",_.aa.bd),_.b("memoization.parseMemoText",_.aa.Uc),_.b("memoization.unmemoizeDomNodeAndDescendants",_.aa.cd),_.na=function(){function e(){if(a)for(var e,t=a,n=0;c<a;)if(e=o[c++]){if(c>t){if(5e3<=++n){c=a,_.a.Gc(Error("'Too much recursion' after processing "+n+" task groups."));break}t=a}try{e()}catch(e){_.a.Gc(e)}}}function r(){e(),c=a=o.length=0}var i,o=[],a=0,s=1,c=0;return i=t.MutationObserver?function(e){var t=n.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}(r):n&&"onreadystatechange"in n.createElement("script")?function(e){var t=n.createElement("script");t.onreadystatechange=function(){t.onreadystatechange=null,n.documentElement.removeChild(t),t=null,e()},n.documentElement.appendChild(t)}:function(e){setTimeout(e,0)},{scheduler:i,zb:function(e){return a||_.na.scheduler(r),o[a++]=e,s++},cancel:function(e){(e-=s-a)>=c&&e<a&&(o[e]=null)},resetForTesting:function(){var e=a-c;return c=a=o.length=0,e},Sd:e}}(),_.b("tasks",_.na),_.b("tasks.schedule",_.na.zb),_.b("tasks.runEarly",_.na.Sd),_.Ta={throttle:function(e,t){e.throttleEvaluation=t;var n=null;return _.$({read:e,write:function(r){clearTimeout(n),n=_.a.setTimeout((function(){e(r)}),t)}})},rateLimit:function(e,t){var n,r,i;"number"==typeof t?n=t:(n=t.timeout,r=t.method),e.Hb=!1,i="function"==typeof r?r:"notifyWhenChangesStop"==r?l:u,e.ub((function(e){return i(e,n,t)}))},deferred:function(t,n){if(!0!==n)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");t.Hb||(t.Hb=!0,t.ub((function(n){var r,i=!1;return function(){if(!i){_.na.cancel(r),r=_.na.zb(n);try{i=!0,t.notifySubscribers(e,"dirty")}finally{i=!1}}}})))},notify:function(e,t){e.equalityComparer="always"==t?null:c}};var k={undefined:1,boolean:1,number:1,string:1};_.b("extenders",_.Ta),_.ic=function(e,t,n){this.da=e,this.lc=t,this.mc=n,this.Ib=!1,this.fb=this.Jb=null,_.L(this,"dispose",this.s),_.L(this,"disposeWhenNodeIsRemoved",this.l)},_.ic.prototype.s=function(){this.Ib||(this.fb&&_.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},_.ic.prototype.l=function(e){this.Jb=e,_.a.K.za(e,this.fb=this.s.bind(this))},_.T=function(){_.a.Ab(this,C),C.qb(this)};var C={qb:function(e){e.U={change:[]},e.sc=1},subscribe:function(e,t,n){var r=this;n=n||"change";var i=new _.ic(r,t?e.bind(t):e,(function(){_.a.Pa(r.U[n],i),r.hb&&r.hb(n)}));return r.Qa&&r.Qa(n),r.U[n]||(r.U[n]=[]),r.U[n].push(i),i},notifySubscribers:function(e,t){if("change"===(t=t||"change")&&this.Gb(),this.Wa(t)){var n="change"===t&&this.ed||this.U[t].slice(0);try{_.u.xc();for(var r,i=0;r=n[i];++i)r.Ib||r.lc(e)}finally{_.u.end()}}},ob:function(){return this.sc},Dd:function(e){return this.ob()!==e},Gb:function(){++this.sc},ub:function(e){var t,n,r,i,o,a=this,s=_.O(a);a.gb||(a.gb=a.notifySubscribers,a.notifySubscribers=p);var c=e((function(){a.Ja=!1,s&&i===a&&(i=a.nc?a.nc():a());var e=n||o&&a.sb(r,i);o=n=t=!1,e&&a.gb(r=i)}));a.qc=function(e,n){n&&a.Ja||(o=!n),a.ed=a.U.change.slice(0),a.Ja=t=!0,i=e,c()},a.pc=function(e){t||(r=e,a.gb(e,"beforeChange"))},a.rc=function(){o=!0},a.gd=function(){a.sb(r,a.v(!0))&&(n=!0)}},Wa:function(e){return this.U[e]&&this.U[e].length},Bd:function(e){if(e)return this.U[e]&&this.U[e].length||0;var t=0;return _.a.P(this.U,(function(e,n){"dirty"!==e&&(t+=n.length)})),t},sb:function(e,t){return!this.equalityComparer||!this.equalityComparer(e,t)},toString:function(){return"[object Object]"},extend:function(e){var t=this;return e&&_.a.P(e,(function(e,n){var r=_.Ta[e];"function"==typeof r&&(t=r(t,n)||t)})),t}};_.L(C,"init",C.qb),_.L(C,"subscribe",C.subscribe),_.L(C,"extend",C.extend),_.L(C,"getSubscriptionsCount",C.Bd),_.a.Ba&&_.a.setPrototypeOf(C,Function.prototype),_.T.fn=C,_.Qc=function(e){return null!=e&&"function"==typeof e.subscribe&&"function"==typeof e.notifySubscribers},_.b("subscribable",_.T),_.b("isSubscribable",_.Qc),_.S=_.u=function(){function e(e){r.push(n),n=e}function t(){n=r.pop()}var n,r=[],i=0;return{xc:e,end:t,cc:function(e){if(n){if(!_.Qc(e))throw Error("Only subscribable things can act as dependencies");n.od.call(n.pd,e,e.fd||(e.fd=++i))}},G:function(n,r,i){try{return e(),n.apply(r,i||[])}finally{t()}},qa:function(){if(n)return n.o.qa()},Va:function(){if(n)return n.o.Va()},Ya:function(){if(n)return n.Ya},o:function(){if(n)return n.o}}}(),_.b("computedContext",_.S),_.b("computedContext.getDependenciesCount",_.S.qa),_.b("computedContext.getDependencies",_.S.Va),_.b("computedContext.isInitial",_.S.Ya),_.b("computedContext.registerDependency",_.S.cc),_.b("ignoreDependencies",_.Yd=_.u.G);var w=_.a.Da("_latestValue");_.ta=function(e){function t(){return 0<arguments.length?(t.sb(t[w],arguments[0])&&(t.ya(),t[w]=arguments[0],t.xa()),this):(_.u.cc(t),t[w])}return t[w]=e,_.a.Ba||_.a.extend(t,_.T.fn),_.T.fn.qb(t),_.a.Ab(t,x),_.options.deferUpdates&&_.Ta.deferred(t,!0),t};var x={equalityComparer:c,v:function(){return this[w]},xa:function(){this.notifySubscribers(this[w],"spectate"),this.notifySubscribers(this[w])},ya:function(){this.notifySubscribers(this[w],"beforeChange")}};_.a.Ba&&_.a.setPrototypeOf(x,_.T.fn);var E=_.ta.Ma="__ko_proto__";x[E]=_.ta,_.O=function(e){if((e="function"==typeof e&&e[E])&&e!==x[E]&&e!==_.o.fn[E])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!e},_.Za=function(e){return"function"==typeof e&&(e[E]===x[E]||e[E]===_.o.fn[E]&&e.Nc)},_.b("observable",_.ta),_.b("isObservable",_.O),_.b("isWriteableObservable",_.Za),_.b("isWritableObservable",_.Za),_.b("observable.fn",x),_.L(x,"peek",x.v),_.L(x,"valueHasMutated",x.xa),_.L(x,"valueWillMutate",x.ya),_.Ha=function(e){if("object"!=typeof(e=e||[])||!("length"in e))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return e=_.ta(e),_.a.Ab(e,_.Ha.fn),e.extend({trackArrayChanges:!0})},_.Ha.fn={remove:function(e){for(var t=this.v(),n=[],r="function"!=typeof e||_.O(e)?function(t){return t===e}:e,i=0;i<t.length;i++){var o=t[i];if(r(o)){if(0===n.length&&this.ya(),t[i]!==o)throw Error("Array modified during remove; cannot remove item");n.push(o),t.splice(i,1),i--}}return n.length&&this.xa(),n},removeAll:function(t){if(t===e){var n=this.v(),r=n.slice(0);return this.ya(),n.splice(0,n.length),this.xa(),r}return t?this.remove((function(e){return 0<=_.a.A(t,e)})):[]},destroy:function(e){var t=this.v(),n="function"!=typeof e||_.O(e)?function(t){return t===e}:e;this.ya();for(var r=t.length-1;0<=r;r--){var i=t[r];n(i)&&(i._destroy=!0)}this.xa()},destroyAll:function(t){return t===e?this.destroy((function(){return!0})):t?this.destroy((function(e){return 0<=_.a.A(t,e)})):[]},indexOf:function(e){var t=this();return _.a.A(t,e)},replace:function(e,t){var n=this.indexOf(e);0<=n&&(this.ya(),this.v()[n]=t,this.xa())},sorted:function(e){var t=this().slice(0);return e?t.sort(e):t.sort()},reversed:function(){return this().slice(0).reverse()}},_.a.Ba&&_.a.setPrototypeOf(_.Ha.fn,_.ta.fn),_.a.D("pop push reverse shift sort splice unshift".split(" "),(function(e){_.Ha.fn[e]=function(){var t=this.v();this.ya(),this.zc(t,e,arguments);var n=t[e].apply(t,arguments);return this.xa(),n===t?this:n}})),_.a.D(["slice"],(function(e){_.Ha.fn[e]=function(){var t=this();return t[e].apply(t,arguments)}})),_.Pc=function(e){return _.O(e)&&"function"==typeof e.remove&&"function"==typeof e.push},_.b("observableArray",_.Ha),_.b("isObservableArray",_.Pc),_.Ta.trackArrayChanges=function(t,n){function r(){function e(){if(u){var e,n=[].concat(t.v()||[]);t.Wa("arrayChange")&&((!c||1<u)&&(c=_.a.Pb(a,n,t.Ob)),e=c),a=n,c=null,u=0,e&&e.length&&t.notifySubscribers(e,"arrayChange")}}s?e():(s=!0,o=t.subscribe((function(){++u}),null,"spectate"),a=[].concat(t.v()||[]),c=null,i=t.subscribe(e))}if(t.Ob={},n&&"object"==typeof n&&_.a.extend(t.Ob,n),t.Ob.sparse=!0,!t.zc){var i,o,a,s=!1,c=null,u=0,l=t.Qa,p=t.hb;t.Qa=function(e){l&&l.call(t,e),"arrayChange"===e&&r()},t.hb=function(n){p&&p.call(t,n),"arrayChange"!==n||t.Wa("arrayChange")||(i&&i.s(),o&&o.s(),o=i=null,s=!1,a=e)},t.zc=function(e,t,n){function r(e,t,n){return i[i.length]={status:e,value:t,index:n}}if(s&&!u){var i=[],o=e.length,a=n.length,l=0;switch(t){case"push":l=o;case"unshift":for(t=0;t<a;t++)r("added",n[t],l+t);break;case"pop":l=o-1;case"shift":o&&r("deleted",e[l],l);break;case"splice":t=Math.min(Math.max(0,0>n[0]?o+n[0]:n[0]),o),o=1===a?o:Math.min(t+(n[1]||0),o),a=t+a-2,l=Math.max(o,a);for(var p=[],h=[],f=2;t<l;++t,++f)t<o&&h.push(r("deleted",e[t],t)),t<a&&p.push(r("added",n[f],t));_.a.Kc(h,p);break;default:return}c=i}}}};var A=_.a.Da("_state");_.o=_.$=function(t,n,r){function i(){if(0<arguments.length){if("function"!=typeof o)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return o.apply(a.nb,arguments),this}return a.ra||_.u.cc(i),(a.ka||a.J&&i.Xa())&&i.ha(),a.X}if("object"==typeof t?r=t:(r=r||{},t&&(r.read=t)),"function"!=typeof r.read)throw Error("Pass a function that returns the value of the ko.computed");var o=r.write,a={X:e,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:r.read,nb:n||r.owner,l:r.disposeWhenNodeIsRemoved||r.l||null,Sa:r.disposeWhen||r.Sa,Rb:null,I:{},V:0,Ic:null};return i[A]=a,i.Nc="function"==typeof o,_.a.Ba||_.a.extend(i,_.T.fn),_.T.fn.qb(i),_.a.Ab(i,D),r.pure?(a.wb=!0,a.J=!0,_.a.extend(i,T)):r.deferEvaluation&&_.a.extend(i,S),_.options.deferUpdates&&_.Ta.deferred(i,!0),a.l&&(a.jc=!0,a.l.nodeType||(a.l=null)),a.J||r.deferEvaluation||i.ha(),a.l&&i.ja()&&_.a.K.za(a.l,a.Rb=function(){i.s()}),i};var D={equalityComparer:c,qa:function(){return this[A].V},Va:function(){var e=[];return _.a.P(this[A].I,(function(t,n){e[n.Ka]=n.da})),e},Vb:function(e){if(!this[A].V)return!1;var t=this.Va();return-1!==_.a.A(t,e)||!!_.a.Lb(t,(function(t){return t.Vb&&t.Vb(e)}))},uc:function(e,t,n){if(this[A].wb&&t===this)throw Error("A 'pure' computed must not be called recursively");this[A].I[e]=n,n.Ka=this[A].V++,n.La=t.ob()},Xa:function(){var e,t,n=this[A].I;for(e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e],this.Ia&&t.da.Ja||t.da.Dd(t.La)))return!0},Jd:function(){this.Ia&&!this[A].rb&&this.Ia(!1)},ja:function(){var e=this[A];return e.ka||0<e.V},Rd:function(){this.Ja?this[A].ka&&(this[A].sa=!0):this.Hc()},$c:function(e){if(e.Hb){var t=e.subscribe(this.Jd,this,"dirty"),n=e.subscribe(this.Rd,this);return{da:e,s:function(){t.s(),n.s()}}}return e.subscribe(this.Hc,this)},Hc:function(){var e=this,t=e.throttleEvaluation;t&&0<=t?(clearTimeout(this[A].Ic),this[A].Ic=_.a.setTimeout((function(){e.ha(!0)}),t)):e.Ia?e.Ia(!0):e.ha(!0)},ha:function(e){var t=this[A],n=t.Sa,r=!1;if(!t.rb&&!t.ra){if(t.l&&!_.a.Sb(t.l)||n&&n()){if(!t.jc)return void this.s()}else t.jc=!1;t.rb=!0;try{r=this.zd(e)}finally{t.rb=!1}return r}},zd:function(t){var n=this[A],r=!1,i=n.wb?e:!n.V;r={qd:this,mb:n.I,Qb:n.V},_.u.xc({pd:r,od:f,o:this,Ya:i}),n.I={},n.V=0;var o=this.yd(n,r);return n.V?r=this.sb(n.X,o):(this.s(),r=!0),r&&(n.J?this.Gb():this.notifySubscribers(n.X,"beforeChange"),n.X=o,this.notifySubscribers(n.X,"spectate"),!n.J&&t&&this.notifySubscribers(n.X),this.rc&&this.rc()),i&&this.notifySubscribers(n.X,"awake"),r},yd:function(e,t){try{var n=e.Wc;return e.nb?n.call(e.nb):n()}finally{_.u.end(),t.Qb&&!e.J&&_.a.P(t.mb,h),e.sa=e.ka=!1}},v:function(e){var t=this[A];return(t.ka&&(e||!t.V)||t.J&&this.Xa())&&this.ha(),t.X},ub:function(e){_.T.fn.ub.call(this,e),this.nc=function(){return this[A].J||(this[A].sa?this.ha():this[A].ka=!1),this[A].X},this.Ia=function(e){this.pc(this[A].X),this[A].ka=!0,e&&(this[A].sa=!0),this.qc(this,!e)}},s:function(){var t=this[A];!t.J&&t.I&&_.a.P(t.I,(function(e,t){t.s&&t.s()})),t.l&&t.Rb&&_.a.K.yb(t.l,t.Rb),t.I=e,t.V=0,t.ra=!0,t.sa=!1,t.ka=!1,t.J=!1,t.l=e,t.Sa=e,t.Wc=e,this.Nc||(t.nb=e)}},T={Qa:function(e){var t=this,n=t[A];if(!n.ra&&n.J&&"change"==e){if(n.J=!1,n.sa||t.Xa())n.I=null,n.V=0,t.ha()&&t.Gb();else{var r=[];_.a.P(n.I,(function(e,t){r[t.Ka]=e})),_.a.D(r,(function(e,r){var i=n.I[e],o=t.$c(i.da);o.Ka=r,o.La=i.La,n.I[e]=o})),t.Xa()&&t.ha()&&t.Gb()}n.ra||t.notifySubscribers(n.X,"awake")}},hb:function(t){var n=this[A];n.ra||"change"!=t||this.Wa("change")||(_.a.P(n.I,(function(e,t){t.s&&(n.I[e]={da:t.da,Ka:t.Ka,La:t.La},t.s())})),n.J=!0,this.notifySubscribers(e,"asleep"))},ob:function(){var e=this[A];return e.J&&(e.sa||this.Xa())&&this.ha(),_.T.fn.ob.call(this)}},S={Qa:function(e){"change"!=e&&"beforeChange"!=e||this.v()}};_.a.Ba&&_.a.setPrototypeOf(D,_.T.fn);var F=_.ta.Ma;D[F]=_.o,_.Oc=function(e){return"function"==typeof e&&e[F]===D[F]},_.Fd=function(e){return _.Oc(e)&&e[A]&&e[A].wb},_.b("computed",_.o),_.b("dependentObservable",_.o),_.b("isComputed",_.Oc),_.b("isPureComputed",_.Fd),_.b("computed.fn",D),_.L(D,"peek",D.v),_.L(D,"dispose",D.s),_.L(D,"isActive",D.ja),_.L(D,"getDependenciesCount",D.qa),_.L(D,"getDependencies",D.Va),_.xb=function(e,t){return"function"==typeof e?_.o(e,t,{pure:!0}):((e=_.a.extend({},e)).pure=!0,_.o(e,t))},_.b("pureComputed",_.xb),function(){function t(r,i,o){if(o=o||new n,"object"!=typeof(r=i(r))||null===r||r===e||r instanceof RegExp||r instanceof Date||r instanceof String||r instanceof Number||r instanceof Boolean)return r;var a=r instanceof Array?[]:{};return o.save(r,a),function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)t(n);"function"==typeof e.toJSON&&t("toJSON")}else for(n in e)t(n)}(r,(function(n){var s=i(r[n]);switch(typeof s){case"boolean":case"number":case"string":case"function":a[n]=s;break;case"object":case"undefined":var c=o.get(s);a[n]=c!==e?c:t(s,i,o)}})),a}function n(){this.keys=[],this.values=[]}_.ad=function(e){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return t(e,(function(e){for(var t=0;_.O(e)&&10>t;t++)e=e();return e}))},_.toJSON=function(e,t,n){return e=_.ad(e),_.a.hc(e,t,n)},n.prototype={constructor:n,save:function(e,t){var n=_.a.A(this.keys,e);0<=n?this.values[n]=t:(this.keys.push(e),this.values.push(t))},get:function(t){return 0<=(t=_.a.A(this.keys,t))?this.values[t]:e}}}(),_.b("toJS",_.ad),_.b("toJSON",_.toJSON),_.Wd=function(e,t,n){function r(t){var r=_.xb(e,n).extend({ma:"always"}),i=r.subscribe((function(e){e&&(i.s(),t(e))}));return r.notifySubscribers(r.v()),i}return"function"!=typeof Promise||t?r(t.bind(n)):new Promise(r)},_.b("when",_.Wd),_.w={M:function(t){switch(_.a.R(t)){case"option":return!0===t.__ko__hasDomDataOptionValue__?_.a.g.get(t,_.c.options.$b):7>=_.a.W?t.getAttributeNode("value")&&t.getAttributeNode("value").specified?t.value:t.text:t.value;case"select":return 0<=t.selectedIndex?_.w.M(t.options[t.selectedIndex]):e;default:return t.value}},cb:function(t,n,r){switch(_.a.R(t)){case"option":"string"==typeof n?(_.a.g.set(t,_.c.options.$b,e),"__ko__hasDomDataOptionValue__"in t&&delete t.__ko__hasDomDataOptionValue__,t.value=n):(_.a.g.set(t,_.c.options.$b,n),t.__ko__hasDomDataOptionValue__=!0,t.value="number"==typeof n?n:"");break;case"select":""!==n&&null!==n||(n=e);for(var i,o=-1,a=0,s=t.options.length;a<s;++a)if((i=_.w.M(t.options[a]))==n||""===i&&n===e){o=a;break}(r||0<=o||n===e&&1<t.size)&&(t.selectedIndex=o,6===_.a.W&&_.a.setTimeout((function(){t.selectedIndex=o}),0));break;default:null!==n&&n!==e||(n=""),t.value=n}}},_.b("selectExtensions",_.w),_.b("selectExtensions.readValue",_.w.M),_.b("selectExtensions.writeValue",_.w.cb),_.m=function(){function e(e){123===(e=_.a.Db(e)).charCodeAt(0)&&(e=e.slice(1,-1));var t,n=[],a=(e+="\n,").match(r),s=[],c=0;if(1<a.length){for(var u,l=0;u=a[l];++l){var p=u.charCodeAt(0);if(44===p){if(0>=c){n.push(t&&s.length?{key:t,value:s.join("")}:{unknown:t||s.join("")}),t=c=0,s=[];continue}}else if(58===p){if(!c&&!t&&1===s.length){t=s.pop();continue}}else{if(47===p&&1<u.length&&(47===u.charCodeAt(1)||42===u.charCodeAt(1)))continue;47===p&&l&&1<u.length?(p=a[l-1].match(i))&&!o[p[0]]&&(a=(e=e.substr(e.indexOf(u)+1)).match(r),l=-1,u="/"):40===p||123===p||91===p?++c:41===p||125===p||93===p?--c:t||s.length||34!==p&&39!==p||(u=u.slice(1,-1))}s.push(u)}if(0<c)throw Error("Unbalanced parentheses, braces, or brackets")}return n}var t=["true","false","null","undefined"],n=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,r=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),i=/[\])"'A-Za-z0-9_$]+$/,o={in:1,return:1,typeof:1},a={};return{Ra:[],wa:a,ac:e,vb:function(r,i){function o(e,r){var i;if(!l){var p=_.getBindingHandler(e);if(p&&p.preprocess&&!(r=p.preprocess(r,e,o)))return;(p=a[e])&&(i=r,0<=_.a.A(t,i)?i=!1:(p=i.match(n),i=null!==p&&(p[1]?"Object("+p[1]+")"+p[2]:i)),p=i),p&&c.push("'"+("string"==typeof a[e]?a[e]:e)+"':function(_z){"+i+"=_z}")}u&&(r="function(){return "+r+" }"),s.push("'"+e+"':"+r)}var s=[],c=[],u=(i=i||{}).valueAccessors,l=i.bindingParams,p="string"==typeof r?e(r):r;return _.a.D(p,(function(e){o(e.key||e.unknown,e.value)})),c.length&&o("_ko_property_writers","{"+c.join(",")+" }"),s.join(",")},Id:function(e,t){for(var n=0;n<e.length;n++)if(e[n].key==t)return!0;return!1},eb:function(e,t,n,r,i){e&&_.O(e)?!_.Za(e)||i&&e.v()===r||e(r):(e=t.get("_ko_property_writers"))&&e[n]&&e[n](r)}}}(),_.b("expressionRewriting",_.m),_.b("expressionRewriting.bindingRewriteValidators",_.m.Ra),_.b("expressionRewriting.parseObjectLiteral",_.m.ac),_.b("expressionRewriting.preProcessBindings",_.m.vb),_.b("expressionRewriting._twoWayBindings",_.m.wa),_.b("jsonExpressionRewriting",_.m),_.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",_.m.vb),function(){function e(e){return 8==e.nodeType&&a.test(o?e.text:e.nodeValue)}function t(e){return 8==e.nodeType&&s.test(o?e.text:e.nodeValue)}function r(n,r){for(var i=n,o=1,a=[];i=i.nextSibling;){if(t(i)&&(_.a.g.set(i,u,!0),0==--o))return a;a.push(i),e(i)&&o++}if(!r)throw Error("Cannot find closing comment tag to match: "+n.nodeValue);return null}function i(e,t){var n=r(e,t);return n?0<n.length?n[n.length-1].nextSibling:e.nextSibling:null}var o=n&&"\x3c!--test--\x3e"===n.createComment("test").text,a=o?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,s=o?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,c={ul:!0,ol:!0},u="__ko_matchedEndComment__";_.h={ea:{},childNodes:function(t){return e(t)?r(t):t.childNodes},Ea:function(t){if(e(t))for(var n=0,r=(t=_.h.childNodes(t)).length;n<r;n++)_.removeNode(t[n]);else _.a.Tb(t)},va:function(t,n){if(e(t)){_.h.Ea(t);for(var r=t.nextSibling,i=0,o=n.length;i<o;i++)r.parentNode.insertBefore(n[i],r)}else _.a.va(t,n)},Vc:function(t,n){var r;e(t)?(r=t.nextSibling,t=t.parentNode):r=t.firstChild,r?n!==r&&t.insertBefore(n,r):t.appendChild(n)},Wb:function(t,n,r){r?(r=r.nextSibling,e(t)&&(t=t.parentNode),r?n!==r&&t.insertBefore(n,r):t.appendChild(n)):_.h.Vc(t,n)},firstChild:function(n){if(e(n))return!n.nextSibling||t(n.nextSibling)?null:n.nextSibling;if(n.firstChild&&t(n.firstChild))throw Error("Found invalid end comment, as the first child of "+n);return n.firstChild},nextSibling:function(n){if(e(n)&&(n=i(n)),n.nextSibling&&t(n.nextSibling)){var r=n.nextSibling;if(t(r)&&!_.a.g.get(r,u))throw Error("Found end comment without a matching opening comment, as child of "+n);return null}return n.nextSibling},Cd:e,Vd:function(e){return(e=(o?e.text:e.nodeValue).match(a))?e[1]:null},Sc:function(n){if(c[_.a.R(n)]){var r=n.firstChild;if(r)do{if(1===r.nodeType){var o,a=null;if(o=r.firstChild)do{if(a)a.push(o);else if(e(o)){var s=i(o,!0);s?o=s:a=[o]}else t(o)&&(a=[o])}while(o=o.nextSibling);if(o=a)for(a=r.nextSibling,s=0;s<o.length;s++)a?n.insertBefore(o[s],a):n.appendChild(o[s])}}while(r=r.nextSibling)}}}}(),_.b("virtualElements",_.h),_.b("virtualElements.allowedBindings",_.h.ea),_.b("virtualElements.emptyNode",_.h.Ea),_.b("virtualElements.insertAfter",_.h.Wb),_.b("virtualElements.prepend",_.h.Vc),_.b("virtualElements.setDomNodeChildren",_.h.va),_.ga=function(){this.nd={}},_.a.extend(_.ga.prototype,{nodeHasBindings:function(e){switch(e.nodeType){case 1:return null!=e.getAttribute("data-bind")||_.j.getComponentNameForNode(e);case 8:return _.h.Cd(e);default:return!1}},getBindings:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e):null;return _.j.tc(n,e,t,!1)},getBindingAccessors:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e,{valueAccessors:!0}):null;return _.j.tc(n,e,t,!0)},getBindingsString:function(e){switch(e.nodeType){case 1:return e.getAttribute("data-bind");case 8:return _.h.Vd(e);default:return null}},parseBindingsString:function(e,t,n,r){try{var i,o=this.nd,a=e+(r&&r.valueAccessors||"");if(!(i=o[a])){var s,c="with($context){with($data||{}){return{"+_.m.vb(e,r)+"}}}";s=new Function("$context","$element",c),i=o[a]=s}return i(t,n)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}}),_.ga.instance=new _.ga,_.b("bindingProvider",_.ga),function(){function r(e){var t=(e=_.a.g.get(e,k))&&e.N;t&&(e.N=null,t.Tc())}function i(e,t,n){this.node=e,this.yc=t,this.kb=[],this.H=!1,t.N||_.a.K.za(e,r),n&&n.N&&(n.N.kb.push(e),this.Kb=n)}function a(e){return function(){return e}}function s(e){return e()}function c(e){return _.a.Ga(_.u.G(e),(function(t,n){return function(){return e()[n]}}))}function u(e,t,n){return"function"==typeof e?c(e.bind(null,t,n)):_.a.Ga(e,a)}function l(e,t){return c(this.getBindings.bind(this,e,t))}function p(e,t){var n=_.h.firstChild(t);if(n){var r,i=_.ga.instance,o=i.preprocessNode;if(o){for(;r=n;)n=_.h.nextSibling(r),o.call(i,r);n=_.h.firstChild(t)}for(;r=n;)n=_.h.nextSibling(r),h(e,r)}_.i.ma(t,_.i.H)}function h(e,t){var n=e,r=1===t.nodeType;r&&_.h.Sc(t),(r||_.ga.instance.nodeHasBindings(t))&&(n=f(t,null,e).bindingContextForDescendants),n&&!b[_.a.R(t)]&&p(n,t)}function f(t,n,r){var i,o=_.a.g.Ub(t,k,{}),a=o.hd;if(!n){if(a)throw Error("You cannot apply bindings multiple times to the same element.");o.hd=!0}if(a||(o.context=r),o.Zb||(o.Zb={}),n&&"function"!=typeof n)i=n;else{var c=_.ga.instance,u=c.getBindingAccessors||l,p=_.$((function(){return(i=n?n(r,t):u.call(c,t,r))&&(r[m]&&r[m](),r[v]&&r[v]()),i}),null,{l:t});i&&p.ja()||(p=null)}var h,f=r;if(i){var d=function(){return _.a.Ga(p?p():i,s)},g=p?function(e){return function(){return s(p()[e])}}:function(e){return i[e]};d.get=function(e){return i[e]&&s(g(e))},d.has=function(e){return e in i},_.i.H in i&&_.i.subscribe(t,_.i.H,(function(){var e=(0,i[_.i.H])();if(e){var n=_.h.childNodes(t);n.length&&e(n,_.Ec(n[0]))}})),_.i.pa in i&&(f=_.i.Cb(t,r),_.i.subscribe(t,_.i.pa,(function(){var e=(0,i[_.i.pa])();e&&_.h.firstChild(t)&&e(t)}))),o=function(e){var t=[],n={},r=[];return _.a.P(e,(function i(o){if(!n[o]){var a=_.getBindingHandler(o);a&&(a.after&&(r.push(o),_.a.D(a.after,(function(t){if(e[t]){if(-1!==_.a.A(r,t))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+r.join(", "));i(t)}})),r.length--),t.push({key:o,Mc:a})),n[o]=!0}})),t}(i),_.a.D(o,(function(n){var r=n.Mc.init,o=n.Mc.update,a=n.key;if(8===t.nodeType&&!_.h.ea[a])throw Error("The binding '"+a+"' cannot be used with virtual elements");try{"function"==typeof r&&_.u.G((function(){var n=r(t,g(a),d,f.$data,f);if(n&&n.controlsDescendantBindings){if(h!==e)throw Error("Multiple bindings ("+h+" and "+a+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");h=a}})),"function"==typeof o&&_.$((function(){o(t,g(a),d,f.$data,f)}),null,{l:t})}catch(e){throw e.message='Unable to process binding "'+a+": "+i[a]+'"\nMessage: '+e.message,e}}))}return{shouldBindDescendants:o=h===e,bindingContextForDescendants:o&&f}}function d(t,n){return t&&t instanceof _.fa?t:new _.fa(t,e,e,n)}var m=_.a.Da("_subscribable"),g=_.a.Da("_ancestorBindingInfo"),v=_.a.Da("_dataDependency");_.c={};var b={script:!0,textarea:!0,template:!0};_.getBindingHandler=function(e){return _.c[e]};var y={};_.fa=function(t,n,r,i,o){function a(){var e=p?l():l,t=_.a.f(e);return n?(_.a.extend(c,n),g in n&&(c[g]=n[g])):(c.$parents=[],c.$root=t,c.ko=_),c[m]=s,u?t=c.$data:(c.$rawData=e,c.$data=t),r&&(c[r]=t),i&&i(c,n,t),n&&n[m]&&!_.S.o().Vb(n[m])&&n[m](),h&&(c[v]=h),c.$data}var s,c=this,u=t===y,l=u?e:t,p="function"==typeof l&&!_.O(l),h=o&&o.dataDependency;o&&o.exportDependencies?a():((s=_.xb(a)).v(),s.ja()?s.equalityComparer=null:c[m]=e)},_.fa.prototype.createChildContext=function(e,t,n,r){if(!r&&t&&"object"==typeof t&&(t=(r=t).as,n=r.extend),t&&r&&r.noChildContext){var i="function"==typeof e&&!_.O(e);return new _.fa(y,this,null,(function(r){n&&n(r),r[t]=i?e():e}),r)}return new _.fa(e,this,t,(function(e,t){e.$parentContext=t,e.$parent=t.$data,e.$parents=(t.$parents||[]).slice(0),e.$parents.unshift(e.$parent),n&&n(e)}),r)},_.fa.prototype.extend=function(e,t){return new _.fa(y,this,null,(function(t){_.a.extend(t,"function"==typeof e?e(t):e)}),t)};var k=_.a.g.Z();i.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},i.prototype.sd=function(e){_.a.Pa(this.kb,e),!this.kb.length&&this.H&&this.Cc()},i.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,_.a.K.yb(this.node,r),_.i.ma(this.node,_.i.pa),this.Tc())},_.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(e,t,n,r,i){var o=_.a.g.Ub(e,k,{});return o.Fa||(o.Fa=new _.T),i&&i.notifyImmediately&&o.Zb[t]&&_.u.G(n,r,[e]),o.Fa.subscribe(n,r,t)},ma:function(t,n){var r=_.a.g.get(t,k);if(r&&(r.Zb[n]=!0,r.Fa&&r.Fa.notifySubscribers(t,n),n==_.i.H))if(r.N)r.N.Cc();else if(r.N===e&&r.Fa&&r.Fa.Wa(_.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")},Cb:function(e,t){var n=_.a.g.Ub(e,k,{});return n.N||(n.N=new i(e,n,t[g])),t[g]==n?t:t.extend((function(e){e[g]=n}))}},_.Td=function(e){return(e=_.a.g.get(e,k))&&e.context},_.ib=function(e,t,n){return 1===e.nodeType&&_.h.Sc(e),f(e,t,d(n))},_.ld=function(e,t,n){return n=d(n),_.ib(e,u(t,n,e),n)},_.Oa=function(e,t){1!==t.nodeType&&8!==t.nodeType||p(d(e),t)},_.vc=function(e,r,i){if(!o&&t.jQuery&&(o=t.jQuery),2>arguments.length){if(!(r=n.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!r||1!==r.nodeType&&8!==r.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");h(d(e,i),r)},_.Dc=function(t){return!t||1!==t.nodeType&&8!==t.nodeType?e:_.Td(t)},_.Ec=function(t){return(t=_.Dc(t))?t.$data:e},_.b("bindingHandlers",_.c),_.b("bindingEvent",_.i),_.b("bindingEvent.subscribe",_.i.subscribe),_.b("bindingEvent.startPossiblyAsyncContentBinding",_.i.Cb),_.b("applyBindings",_.vc),_.b("applyBindingsToDescendants",_.Oa),_.b("applyBindingAccessorsToNode",_.ib),_.b("applyBindingsToNode",_.ld),_.b("contextFor",_.Dc),_.b("dataFor",_.Ec)}(),function(e){function t(t,r){var a,s=Object.prototype.hasOwnProperty.call(i,t)?i[t]:e;s?s.subscribe(r):((s=i[t]=new _.T).subscribe(r),n(t,(function(e,n){var r=!(!n||!n.synchronous);o[t]={definition:e,Gd:r},delete i[t],a||r?s.notifySubscribers(e):_.na.zb((function(){s.notifySubscribers(e)}))})),a=!0)}function n(e,t){r("getConfig",[e],(function(n){n?r("loadComponent",[e,n],(function(e){t(e,n)})):t(null,null)}))}function r(t,n,i,o){o||(o=_.j.loaders.slice(0));var a=o.shift();if(a){var s=a[t];if(s){var c=!1;if(s.apply(a,n.concat((function(e){c?i(null):null!==e?i(e):r(t,n,i,o)})))!==e&&(c=!0,!a.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else r(t,n,i,o)}else i(null)}var i={},o={};_.j={get:function(n,r){var i=Object.prototype.hasOwnProperty.call(o,n)?o[n]:e;i?i.Gd?_.u.G((function(){r(i.definition)})):_.na.zb((function(){r(i.definition)})):t(n,r)},Bc:function(e){delete o[e]},oc:r},_.j.loaders=[],_.b("components",_.j),_.b("components.get",_.j.get),_.b("components.clearCachedDefinition",_.j.Bc)}(),function(){function e(e,t,n,r){function i(){0==--s&&r(o)}var o={},s=2,c=n.template;n=n.viewModel,c?a(t,c,(function(t){_.j.oc("loadTemplate",[e,t],(function(e){o.template=e,i()}))})):i(),n?a(t,n,(function(t){_.j.oc("loadViewModel",[e,t],(function(e){o[l]=e,i()}))})):i()}function r(e,t,n){if("function"==typeof t)n((function(e){return new t(e)}));else if("function"==typeof t[l])n(t[l]);else if("instance"in t){var i=t.instance;n((function(){return i}))}else"viewModel"in t?r(e,t.viewModel,n):e("Unknown viewModel value: "+t)}function i(e){switch(_.a.R(e)){case"script":return _.a.ua(e.text);case"textarea":return _.a.ua(e.value);case"template":if(o(e.content))return _.a.Ca(e.content.childNodes)}return _.a.Ca(e.childNodes)}function o(e){return t.DocumentFragment?e instanceof DocumentFragment:e&&11===e.nodeType}function a(e,n,r){"string"==typeof n.require?s||t.require?(s||t.require)([n.require],(function(e){e&&"object"==typeof e&&e.Xd&&e.default&&(e=e.default),r(e)})):e("Uses require, but no AMD loader is present"):r(n)}function c(e){return function(t){throw Error("Component '"+e+"': "+t)}}var u={};_.j.register=function(e,t){if(!t)throw Error("Invalid configuration for "+e);if(_.j.tb(e))throw Error("Component "+e+" is already registered");u[e]=t},_.j.tb=function(e){return Object.prototype.hasOwnProperty.call(u,e)},_.j.unregister=function(e){delete u[e],_.j.Bc(e)},_.j.Fc={getConfig:function(e,t){t(_.j.tb(e)?u[e]:null)},loadComponent:function(t,n,r){var i=c(t);a(i,n,(function(n){e(t,i,n,r)}))},loadTemplate:function(e,r,a){if(e=c(e),"string"==typeof r)a(_.a.ua(r));else if(r instanceof Array)a(r);else if(o(r))a(_.a.la(r.childNodes));else if(r.element)if(r=r.element,t.HTMLElement?r instanceof HTMLElement:r&&r.tagName&&1===r.nodeType)a(i(r));else if("string"==typeof r){var s=n.getElementById(r);s?a(i(s)):e("Cannot find element with ID "+r)}else e("Unknown element type: "+r);else e("Unknown template value: "+r)},loadViewModel:function(e,t,n){r(c(e),t,n)}};var l="createViewModel";_.b("components.register",_.j.register),_.b("components.isRegistered",_.j.tb),_.b("components.unregister",_.j.unregister),_.b("components.defaultLoader",_.j.Fc),_.j.loaders.push(_.j.Fc),_.j.dd=u}(),function(){function e(e,n){if(r=e.getAttribute("params")){var r=t.parseBindingsString(r,n,e,{valueAccessors:!0,bindingParams:!0}),i=(r=_.a.Ga(r,(function(t){return _.o(t,null,{l:e})})),_.a.Ga(r,(function(t){var n=t.v();return t.ja()?_.o({read:function(){return _.a.f(t())},write:_.Za(n)&&function(e){t()(e)},l:e}):n})));return Object.prototype.hasOwnProperty.call(i,"$raw")||(i.$raw=r),i}return{$raw:{}}}_.j.getComponentNameForNode=function(e){var t=_.a.R(e);if(_.j.tb(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+e||8>=_.a.W&&e.tagName===t))return t},_.j.tc=function(t,n,r,i){if(1===n.nodeType){var o=_.j.getComponentNameForNode(n);if(o){if((t=t||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');var a={name:o,params:e(n,r)};t.component=i?function(){return a}:a}}return t};var t=new _.ga;9>_.a.W&&(_.j.register=function(e){return function(t){return e.apply(this,arguments)}}(_.j.register),n.createDocumentFragment=function(e){return function(){var t,n=e(),r=_.j.dd;for(t in r);return n}}(n.createDocumentFragment))}(),function(){var e=0;_.c.component={init:function(t,n,r,i,o){function a(){var e=s&&s.dispose;"function"==typeof e&&e.call(s),u&&u.s(),c=s=u=null}var s,c,u,l=_.a.la(_.h.childNodes(t));return _.h.Ea(t),_.a.K.za(t,a),_.o((function(){var r,i,p=_.a.f(n());if("string"==typeof p?r=p:(r=_.a.f(p.name),i=_.a.f(p.params)),!r)throw Error("No component name specified");var h=_.i.Cb(t,o),f=c=++e;_.j.get(r,(function(e){if(c===f){if(a(),!e)throw Error("Unknown component '"+r+"'");!function(e,t,n){if(!(t=t.template))throw Error("Component '"+e+"' has no template");e=_.a.Ca(t),_.h.va(n,e)}(r,e,t);var n=function(e,t,n){var r=e.createViewModel;return r?r.call(e,t,n):t}(e,i,{element:t,templateNodes:l});e=h.createChildContext(n,{extend:function(e){e.$component=n,e.$componentTemplateNodes=l}}),n&&n.koDescendantsComplete&&(u=_.i.subscribe(t,_.i.pa,n.koDescendantsComplete,n)),s=n,_.Oa(e,t)}}))}),null,{l:t}),{controlsDescendantBindings:!0}}},_.h.ea.component=!0}();var L={class:"className",for:"htmlFor"};_.c.attr={update:function(t,n){var r=_.a.f(n())||{};_.a.P(r,(function(n,r){r=_.a.f(r);var i=n.indexOf(":"),o=(i="lookupNamespaceURI"in t&&0<i&&t.lookupNamespaceURI(n.substr(0,i)),!1===r||null===r||r===e);o?i?t.removeAttributeNS(i,n):t.removeAttribute(n):r=r.toString(),8>=_.a.W&&n in L?(n=L[n],o?t.removeAttribute(n):t[n]=r):o||(i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)),"name"===n&&_.a.Yc(t,o?"":r)}))}},_.c.checked={after:["value","attr"],init:function(t,n,r){function i(){var i=t.checked,c=o();if(!_.S.Ya()&&(i||!s&&!_.S.qa())){var p=_.u.G(n);if(u){var f=l?p.v():p,d=h;h=c,d!==c?i&&(_.a.Na(f,c,!0),_.a.Na(f,d,!1)):_.a.Na(f,c,i),l&&_.Za(p)&&p(f)}else a&&(c===e?c=i:i||(c=e)),_.m.eb(p,r,"checked",c,!0)}}var o=_.xb((function(){return r.has("checkedValue")?_.a.f(r.get("checkedValue")):p?r.has("value")?_.a.f(r.get("value")):t.value:void 0})),a="checkbox"==t.type,s="radio"==t.type;if(a||s){var c=n(),u=a&&_.a.f(c)instanceof Array,l=!(u&&c.push&&c.splice),p=s||u,h=u?o():e;s&&!t.name&&_.c.uniqueName.init(t,(function(){return!0})),_.o(i,null,{l:t}),_.a.B(t,"click",i),_.o((function(){var r=_.a.f(n()),i=o();u?(t.checked=0<=_.a.A(r,i),h=i):t.checked=a&&i===e?!!r:o()===r}),null,{l:t}),c=e}}},_.m.wa.checked=!0,_.c.checkedValue={update:function(e,t){e.value=_.a.f(t())}},_.c.class={update:function(e,t){var n=_.a.Db(_.a.f(t()));_.a.Eb(e,e.__ko__cssValue,!1),e.__ko__cssValue=n,_.a.Eb(e,n,!0)}},_.c.css={update:function(e,t){var n=_.a.f(t());null!==n&&"object"==typeof n?_.a.P(n,(function(t,n){n=_.a.f(n),_.a.Eb(e,t,n)})):_.c.class.update(e,t)}},_.c.enable={update:function(e,t){var n=_.a.f(t());n&&e.disabled?e.removeAttribute("disabled"):n||e.disabled||(e.disabled=!0)}},_.c.disable={update:function(e,t){_.c.enable.update(e,(function(){return!_.a.f(t())}))}},_.c.event={init:function(e,t,n,r,i){var o=t()||{};_.a.P(o,(function(o){"string"==typeof o&&_.a.B(e,o,(function(e){var a,s=t()[o];if(s){try{var c=_.a.la(arguments);r=i.$data,c.unshift(r),a=s.apply(r,c)}finally{!0!==a&&(e.preventDefault?e.preventDefault():e.returnValue=!1)}!1===n.get(o+"Bubble")&&(e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation())}}))}))}},_.c.foreach={Rc:function(e){return function(){var t=e(),n=_.a.bc(t);return n&&"number"!=typeof n.length?(_.a.f(t),{foreach:n.data,as:n.as,noChildContext:n.noChildContext,includeDestroyed:n.includeDestroyed,afterAdd:n.afterAdd,beforeRemove:n.beforeRemove,afterRender:n.afterRender,beforeMove:n.beforeMove,afterMove:n.afterMove,templateEngine:_.ba.Ma}):{foreach:t,templateEngine:_.ba.Ma}}},init:function(e,t){return _.c.template.init(e,_.c.foreach.Rc(t))},update:function(e,t,n,r,i){return _.c.template.update(e,_.c.foreach.Rc(t),n,r,i)}},_.m.Ra.foreach=!1,_.h.ea.foreach=!0,_.c.hasfocus={init:function(e,t,n){function r(r){e.__ko_hasfocusUpdating=!0;var i=e.ownerDocument;if("activeElement"in i){var o;try{o=i.activeElement}catch(e){o=i.body}r=o===e}i=t(),_.m.eb(i,n,"hasfocus",r,!0),e.__ko_hasfocusLastValue=r,e.__ko_hasfocusUpdating=!1}var i=r.bind(null,!0),o=r.bind(null,!1);_.a.B(e,"focus",i),_.a.B(e,"focusin",i),_.a.B(e,"blur",o),_.a.B(e,"focusout",o),e.__ko_hasfocusLastValue=!1},update:function(e,t){var n=!!_.a.f(t());e.__ko_hasfocusUpdating||e.__ko_hasfocusLastValue===n||(n?e.focus():e.blur(),!n&&e.__ko_hasfocusLastValue&&e.ownerDocument.body.focus(),_.u.G(_.a.Fb,null,[e,n?"focusin":"focusout"]))}},_.m.wa.hasfocus=!0,_.c.hasFocus=_.c.hasfocus,_.m.wa.hasFocus="hasfocus",_.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){_.a.fc(e,t())}},function(){function e(e,t,n){_.c[e]={init:function(e,r,i,o,a){var s,c,u,l,p,h={};if(t){o=i.get("as");var f=i.get("noChildContext");h={as:o,noChildContext:f,exportDependencies:p=!(o&&f)}}return l=(u="render"==i.get("completeOn"))||i.has(_.i.pa),_.o((function(){var i,o=_.a.f(r()),f=!n!=!o,d=!c;(p||f!==s)&&(l&&(a=_.i.Cb(e,a)),f&&(t&&!p||(h.dataDependency=_.S.o()),i=t?a.createChildContext("function"==typeof o?o:r,h):_.S.qa()?a.extend(null,h):a),d&&_.S.qa()&&(c=_.a.Ca(_.h.childNodes(e),!0)),f?(d||_.h.va(e,_.a.Ca(c)),_.Oa(i,e)):(_.h.Ea(e),u||_.i.ma(e,_.i.H)),s=f)}),null,{l:e}),{controlsDescendantBindings:!0}}},_.m.Ra[e]=!1,_.h.ea[e]=!0}e("if"),e("ifnot",!1,!0),e("with",!0)}(),_.c.let={init:function(e,t,n,r,i){return t=i.extend(t),_.Oa(t,e),{controlsDescendantBindings:!0}}},_.h.ea.let=!0;var M={};_.c.options={init:function(e){if("select"!==_.a.R(e))throw Error("options binding applies only to SELECT elements");for(;0<e.length;)e.remove(0);return{controlsDescendantBindings:!0}},update:function(t,n,r){function i(){return _.a.jb(t.options,(function(e){return e.selected}))}function o(e,t,n){var r=typeof t;return"function"==r?t(e):"string"==r?e[t]:n}function a(e,n){if(d&&l)_.i.ma(t,_.i.H);else if(f.length){var r=0<=_.a.A(f,_.w.M(n[0]));_.a.Zc(n[0],r),d&&!r&&_.u.G(_.a.Fb,null,[t,"change"])}}var s=t.multiple,c=0!=t.length&&s?t.scrollTop:null,u=_.a.f(n()),l=r.get("valueAllowUnset")&&r.has("value"),p=r.get("optionsIncludeDestroyed");n={};var h,f=[];l||(s?f=_.a.Mb(i(),_.w.M):0<=t.selectedIndex&&f.push(_.w.M(t.options[t.selectedIndex]))),u&&(void 0===u.length&&(u=[u]),h=_.a.jb(u,(function(t){return p||t===e||null===t||!_.a.f(t._destroy)})),r.has("optionsCaption")&&null!==(u=_.a.f(r.get("optionsCaption")))&&u!==e&&h.unshift(M));var d=!1;n.beforeRemove=function(e){t.removeChild(e)},u=a,r.has("optionsAfterRender")&&"function"==typeof r.get("optionsAfterRender")&&(u=function(t,n){a(0,n),_.u.G(r.get("optionsAfterRender"),null,[n[0],t!==M?t:e])}),_.a.ec(t,h,(function(n,i,a){return a.length&&(f=!l&&a[0].selected?[_.w.M(a[0])]:[],d=!0),i=t.ownerDocument.createElement("option"),n===M?(_.a.Bb(i,r.get("optionsCaption")),_.w.cb(i,e)):(a=o(n,r.get("optionsValue"),n),_.w.cb(i,_.a.f(a)),n=o(n,r.get("optionsText"),a),_.a.Bb(i,n)),[i]}),n,u),l||(s?f.length&&i().length<f.length:f.length&&0<=t.selectedIndex?_.w.M(t.options[t.selectedIndex])!==f[0]:f.length||0<=t.selectedIndex)&&_.u.G(_.a.Fb,null,[t,"change"]),(l||_.S.Ya())&&_.i.ma(t,_.i.H),_.a.wd(t),c&&20<Math.abs(c-t.scrollTop)&&(t.scrollTop=c)}},_.c.options.$b=_.a.g.Z(),_.c.selectedOptions={init:function(e,t,n){function r(){var r=t(),i=[];_.a.D(e.getElementsByTagName("option"),(function(e){e.selected&&i.push(_.w.M(e))})),_.m.eb(r,n,"selectedOptions",i)}function i(){var n=_.a.f(t()),r=e.scrollTop;n&&"number"==typeof n.length&&_.a.D(e.getElementsByTagName("option"),(function(e){var t=0<=_.a.A(n,_.w.M(e));e.selected!=t&&_.a.Zc(e,t)})),e.scrollTop=r}if("select"!=_.a.R(e))throw Error("selectedOptions binding applies only to SELECT elements");var o;_.i.subscribe(e,_.i.H,(function(){o?r():(_.a.B(e,"change",r),o=_.o(i,null,{l:e}))}),null,{notifyImmediately:!0})},update:function(){}},_.m.wa.selectedOptions=!0,_.c.style={update:function(t,n){var r=_.a.f(n()||{});_.a.P(r,(function(n,r){if(null!==(r=_.a.f(r))&&r!==e&&!1!==r||(r=""),o)o(t).css(n,r);else if(/^--/.test(n))t.style.setProperty(n,r);else{n=n.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}));var i=t.style[n];t.style[n]=r,r===i||t.style[n]!=i||isNaN(r)||(t.style[n]=r+"px")}}))}},_.c.submit={init:function(e,t,n,r,i){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");_.a.B(e,"submit",(function(n){var r,o=t();try{r=o.call(i.$data,e)}finally{!0!==r&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}}))}},_.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){_.a.Bb(e,t())}},_.h.ea.text=!0,function(){if(t&&t.navigator){var n,r,i,o,a,s=function(e){if(e)return parseFloat(e[1])},c=t.navigator.userAgent;(n=t.opera&&t.opera.version&&parseInt(t.opera.version()))||(a=s(c.match(/Edge\/([^ ]+)$/)))||s(c.match(/Chrome\/([^ ]+)/))||(r=s(c.match(/Version\/([^ ]+) Safari/)))||(i=s(c.match(/Firefox\/([^ ]+)/)))||(o=_.a.W||s(c.match(/MSIE ([^ ]+)/)))||(o=s(c.match(/rv:([^ )]+)/)))}if(8<=o&&10>o)var u=_.a.g.Z(),l=_.a.g.Z(),p=function(e){var t=this.activeElement;(t=t&&_.a.g.get(t,l))&&t(e)},h=function(e,t){var n=e.ownerDocument;_.a.g.get(n,u)||(_.a.g.set(n,u,!0),_.a.B(n,"selectionchange",p)),_.a.g.set(e,l,t)};_.c.textInput={init:function(t,s,c){function u(e,n){_.a.B(t,e,n)}function l(){f||(d=t.value,f=_.a.setTimeout(p,4))}function p(){clearTimeout(f),d=f=e;var n=t.value;m!==n&&(m=n,_.m.eb(s(),c,"textInput",n))}var f,d,m=t.value,g=9==_.a.W?l:p,v=!1;o&&u("keypress",p),11>o&&u("propertychange",(function(e){v||"value"!==e.propertyName||g(e)})),8==o&&(u("keyup",p),u("keydown",p)),h&&(h(t,g),u("dragend",l)),(!o||9<=o)&&u("input",g),5>r&&"textarea"===_.a.R(t)?(u("keydown",l),u("paste",l),u("cut",l)):11>n?u("keydown",l):4>i?(u("DOMAutoComplete",p),u("dragdrop",p),u("drop",p)):a&&"number"===t.type&&u("keydown",l),u("change",p),u("blur",p),_.o((function n(){var r=_.a.f(s());null!==r&&r!==e||(r=""),d!==e&&r===d?_.a.setTimeout(n,4):t.value!==r&&(v=!0,t.value=r,v=!1,m=t.value)}),null,{l:t})}},_.m.wa.textInput=!0,_.c.textinput={preprocess:function(e,t,n){n("textInput",e)}}}(),_.c.uniqueName={init:function(e,t){if(t()){var n="ko_unique_"+ ++_.c.uniqueName.rd;_.a.Yc(e,n)}}},_.c.uniqueName.rd=0,_.c.using={init:function(e,t,n,r,i){var o;return n.has("as")&&(o={as:n.get("as"),noChildContext:n.get("noChildContext")}),t=i.createChildContext(t,o),_.Oa(t,e),{controlsDescendantBindings:!0}}},_.h.ea.using=!0,_.c.value={init:function(t,n,r){var i=_.a.R(t),o="input"==i;if(!o||"checkbox"!=t.type&&"radio"!=t.type){var a=[],s=r.get("valueUpdate"),c=!1,u=null;s&&(a="string"==typeof s?[s]:_.a.wc(s),_.a.Pa(a,"change"));var l,p,h=function(){u=null,c=!1;var e=n(),i=_.w.M(t);_.m.eb(e,r,"value",i)};!_.a.W||!o||"text"!=t.type||"off"==t.autocomplete||t.form&&"off"==t.form.autocomplete||-1!=_.a.A(a,"propertychange")||(_.a.B(t,"propertychange",(function(){c=!0})),_.a.B(t,"focus",(function(){c=!1})),_.a.B(t,"blur",(function(){c&&h()}))),_.a.D(a,(function(e){var n=h;_.a.Ud(e,"after")&&(n=function(){u=_.w.M(t),_.a.setTimeout(h,0)},e=e.substring(5)),_.a.B(t,e,n)})),l=o&&"file"==t.type?function(){var r=_.a.f(n());null===r||r===e||""===r?t.value="":_.u.G(h)}:function(){var o=_.a.f(n()),a=_.w.M(t);null!==u&&o===u?_.a.setTimeout(l,0):o===a&&a!==e||("select"===i?(a=r.get("valueAllowUnset"),_.w.cb(t,o,a),a||o===_.w.M(t)||_.u.G(h)):_.w.cb(t,o))},"select"===i?_.i.subscribe(t,_.i.H,(function(){p?r.get("valueAllowUnset")?l():h():(_.a.B(t,"change",h),p=_.o(l,null,{l:t}))}),null,{notifyImmediately:!0}):(_.a.B(t,"change",h),_.o(l,null,{l:t}))}else _.ib(t,{checkedValue:n})},update:function(){}},_.m.wa.value=!0,_.c.visible={update:function(e,t){var n=_.a.f(t()),r="none"!=e.style.display;n&&!r?e.style.display="":!n&&r&&(e.style.display="none")}},_.c.hidden={update:function(e,t){_.c.visible.update(e,(function(){return!_.a.f(t())}))}},function(e){_.c[e]={init:function(t,n,r,i,o){return _.c.event.init.call(this,t,(function(){var t={};return t[e]=n(),t}),r,i,o)}}}("click"),_.ca=function(){},_.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},_.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},_.ca.prototype.makeTemplateSource=function(e,t){if("string"==typeof e){var r=(t=t||n).getElementById(e);if(!r)throw Error("Cannot find template with ID "+e);return new _.C.F(r)}if(1==e.nodeType||8==e.nodeType)return new _.C.ia(e);throw Error("Unknown template type: "+e)},_.ca.prototype.renderTemplate=function(e,t,n,r){return e=this.makeTemplateSource(e,r),this.renderTemplateSource(e,t,n,r)},_.ca.prototype.isTemplateRewritten=function(e,t){return!1===this.allowTemplateRewriting||this.makeTemplateSource(e,t).data("isRewritten")},_.ca.prototype.rewriteTemplate=function(e,t,n){t=t((e=this.makeTemplateSource(e,n)).text()),e.text(t),e.data("isRewritten",!0)},_.b("templateEngine",_.ca),_.kc=function(){function e(e,t,n,r){e=_.m.ac(e);for(var i=_.m.Ra,o=0;o<e.length;o++){var a=e[o].key;if(Object.prototype.hasOwnProperty.call(i,a)){var s=i[a];if("function"==typeof s){if(a=s(e[o].value))throw Error(a)}else if(!s)throw Error("This template engine does not support the '"+a+"' binding within its templates")}}return n="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+_.m.vb(e,{valueAccessors:!0})+" } })()},'"+n.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(n)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,n=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(e,t,n){t.isTemplateRewritten(e,n)||t.rewriteTemplate(e,(function(e){return _.kc.Ld(e,t)}),n)},Ld:function(r,i){return r.replace(t,(function(t,n,r,o,a){return e(a,n,r,i)})).replace(n,(function(t,n){return e(n,"\x3c!-- ko --\x3e","#comment",i)}))},md:function(e,t){return _.aa.Xb((function(n,r){var i=n.nextSibling;i&&i.nodeName.toLowerCase()===t&&_.ib(i,e,r)}))}}}(),_.b("__tr_ambtns",_.kc.md),function(){_.C={},_.C.F=function(e){if(this.F=e){var t=_.a.R(e);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&e.content&&11===e.content.nodeType?3:4}},_.C.F.prototype.text=function(){var e=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[e];var t=arguments[0];"innerHTML"===e?_.a.fc(this.F,t):this.F[e]=t};var t=_.a.g.Z()+"_";_.C.F.prototype.data=function(e){if(1===arguments.length)return _.a.g.get(this.F,t+e);_.a.g.set(this.F,t+e,arguments[1])};var n=_.a.g.Z();_.C.F.prototype.nodes=function(){var t=this.F;if(0==arguments.length){var r=_.a.g.get(t,n)||{},i=r.lb||(3===this.ab?t.content:4===this.ab?t:e);if(!i||r.jd){var o=this.text();o&&o!==r.bb&&(i=_.a.Md(o,t.ownerDocument),_.a.g.set(t,n,{lb:i,bb:o,jd:!0}))}return i}r=arguments[0],this.ab!==e&&this.text(""),_.a.g.set(t,n,{lb:r})},_.C.ia=function(e){this.F=e},_.C.ia.prototype=new _.C.F,_.C.ia.prototype.constructor=_.C.ia,_.C.ia.prototype.text=function(){if(0==arguments.length){var t=_.a.g.get(this.F,n)||{};return t.bb===e&&t.lb&&(t.bb=t.lb.innerHTML),t.bb}_.a.g.set(this.F,n,{bb:arguments[0]})},_.b("templateSources",_.C),_.b("templateSources.domElement",_.C.F),_.b("templateSources.anonymousTemplate",_.C.ia)}(),function(){function t(e,t,n){var r;for(t=_.h.nextSibling(t);e&&(r=e)!==t;)n(r,e=_.h.nextSibling(r))}function n(e,n){if(e.length){var r=e[0],i=e[e.length-1],o=r.parentNode,a=_.ga.instance,s=a.preprocessNode;if(s){if(t(r,i,(function(e,t){var n=e.previousSibling,o=s.call(a,e);o&&(e===r&&(r=o[0]||t),e===i&&(i=o[o.length-1]||n))})),e.length=0,!r)return;r===i?e.push(r):(e.push(r,i),_.a.Ua(e,o))}t(r,i,(function(e){1!==e.nodeType&&8!==e.nodeType||_.vc(n,e)})),t(r,i,(function(e){1!==e.nodeType&&8!==e.nodeType||_.aa.cd(e,[n])})),_.a.Ua(e,o)}}function r(e){return e.nodeType?e:0<e.length?e[0]:null}function i(e,t,i,o,s){s=s||{};var c=(e&&r(e)||i||{}).ownerDocument,u=s.templateEngine||a;if(_.kc.xd(i,u,c),"number"!=typeof(i=u.renderTemplate(i,o,s,c)).length||0<i.length&&"number"!=typeof i[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(c=!1,t){case"replaceChildren":_.h.va(e,i),c=!0;break;case"replaceNode":_.a.Xc(e,i),c=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+t)}return c&&(n(i,o),s.afterRender&&_.u.G(s.afterRender,null,[i,o[s.as||"$data"]]),"replaceChildren"==t&&_.i.ma(e,_.i.H)),i}function o(e,t,n){return _.O(e)?e():"function"==typeof e?e(t,n):e}var a;_.gc=function(t){if(t!=e&&!(t instanceof _.ca))throw Error("templateEngine must inherit from ko.templateEngine");a=t},_.dc=function(t,n,s,c,u){if(((s=s||{}).templateEngine||a)==e)throw Error("Set a template engine before calling renderTemplate");if(u=u||"replaceChildren",c){var l=r(c);return _.$((function(){var e=n&&n instanceof _.fa?n:new _.fa(n,null,null,null,{exportDependencies:!0}),a=o(t,e.$data,e);e=i(c,u,a,e,s),"replaceNode"==u&&(l=r(c=e))}),null,{Sa:function(){return!l||!_.a.Sb(l)},l:l&&"replaceNode"==u?l.parentNode:l})}return _.aa.Xb((function(e){_.dc(t,n,s,e,"replaceNode")}))},_.Qd=function(t,r,a,s,c){function u(e,t){_.u.G(_.a.ec,null,[s,e,p,a,l,t]),_.i.ma(s,_.i.H)}function l(e,t){n(t,h),a.afterRender&&a.afterRender(t,e),h=null}function p(e,n){h=c.createChildContext(e,{as:f,noChildContext:a.noChildContext,extend:function(e){e.$index=n,f&&(e[f+"Index"]=n)}});var r=o(t,e,h);return i(s,"ignoreTargetNode",r,h,a)}var h,f=a.as,d=!1===a.includeDestroyed||_.options.foreachHidesDestroyed&&!a.includeDestroyed;if(d||a.beforeRemove||!_.Pc(r))return _.$((function(){var t=_.a.f(r)||[];void 0===t.length&&(t=[t]),d&&(t=_.a.jb(t,(function(t){return t===e||null===t||!_.a.f(t._destroy)}))),u(t)}),null,{l:s});u(r.v());var m=r.subscribe((function(e){u(r(),e)}),null,"arrayChange");return m.l(s),m};var s=_.a.g.Z(),c=_.a.g.Z();_.c.template={init:function(e,t){var n=_.a.f(t());if("string"==typeof n||"name"in n)_.h.Ea(e);else if("nodes"in n){if(n=n.nodes||[],_.O(n))throw Error('The "nodes" option must be a plain, non-observable array.');var r=n[0]&&n[0].parentNode;r&&_.a.g.get(r,c)||(r=_.a.Yb(n),_.a.g.set(r,c,!0)),new _.C.ia(e).nodes(r)}else{if(!(0<(n=_.h.childNodes(e)).length))throw Error("Anonymous template defined, but no template content was provided");r=_.a.Yb(n),new _.C.ia(e).nodes(r)}return{controlsDescendantBindings:!0}},update:function(t,n,r,i,o){var a=n();r=!0,i=null,"string"==typeof(n=_.a.f(a))?n={}:(a="name"in n?n.name:t,"if"in n&&(r=_.a.f(n.if)),r&&"ifnot"in n&&(r=!_.a.f(n.ifnot)),r&&!a&&(r=!1)),"foreach"in n?i=_.Qd(a,r&&n.foreach||[],n,t,o):r?(r=o,"data"in n&&(r=o.createChildContext(n.data,{as:n.as,noChildContext:n.noChildContext,exportDependencies:!0})),i=_.dc(a,r,n,t)):_.h.Ea(t),o=i,(n=_.a.g.get(t,s))&&"function"==typeof n.s&&n.s(),_.a.g.set(t,s,!o||o.ja&&!o.ja()?e:o)}},_.m.Ra.template=function(e){return 1==(e=_.m.ac(e)).length&&e[0].unknown||_.m.Id(e,"name")?null:"This template engine does not support anonymous templates nested within its templates"},_.h.ea.template=!0}(),_.b("setTemplateEngine",_.gc),_.b("renderTemplate",_.dc),_.a.Kc=function(e,t,n){var r,i,o,a,s;if(e.length&&t.length)for(r=i=0;(!n||r<n)&&(a=e[i]);++i){for(o=0;s=t[o];++o)if(a.value===s.value){a.moved=s.index,s.moved=a.index,t.splice(o,1),r=o=0;break}r+=o}},_.a.Pb=function(){function e(e,t,n,r,i){var o,a,s,c,u,l=Math.min,p=Math.max,h=[],f=e.length,d=t.length,m=d-f||1,g=f+d+1;for(o=0;o<=f;o++)for(c=s,h.push(s=[]),u=l(d,o+m),a=p(0,o-1);a<=u;a++)s[a]=a?o?e[o-1]===t[a-1]?c[a-1]:l(c[a]||g,s[a-1]||g)+1:a+1:o+1;for(l=[],p=[],m=[],o=f,a=d;o||a;)d=h[o][a]-1,a&&d===h[o][a-1]?p.push(l[l.length]={status:n,value:t[--a],index:a}):o&&d===h[o-1][a]?m.push(l[l.length]={status:r,value:e[--o],index:o}):(--a,--o,i.sparse||l.push({status:"retained",value:t[a]}));return _.a.Kc(m,p,!i.dontLimitMoves&&10*f),l.reverse()}return function(t,n,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},n=n||[],(t=t||[]).length<n.length?e(t,n,"added","deleted",r):e(n,t,"deleted","added",r)}}(),_.b("utils.compareArrays",_.a.Pb),function(){function t(t,n,r,i,o){var a=[],s=_.$((function(){var e=n(r,o,_.a.Ua(a,t))||[];0<a.length&&(_.a.Xc(a,e),i&&_.u.G(i,null,[r,e,o])),a.length=0,_.a.Nb(a,e)}),null,{l:t,Sa:function(){return!_.a.kd(a)}});return{Y:a,$:s.ja()?s:e}}var n=_.a.g.Z(),r=_.a.g.Z();_.a.ec=function(i,o,a,s,c,u){function l(e){f={Aa:e,pb:_.ta(C++)},y.push(f),b||D.push(f)}function p(e){f=v[e],C!==f.pb.v()&&A.push(f),f.pb(C++),_.a.Ua(f.Y,i),y.push(f)}function h(e,t){if(e)for(var n=0,r=t.length;n<r;n++)_.a.D(t[n].Y,(function(r){e(r,n,t[n].Aa)}))}void 0===(o=o||[]).length&&(o=[o]),s=s||{};var f,d,m,g,v=_.a.g.get(i,n),b=!v,y=[],k=0,C=0,w=[],x=[],E=[],A=[],D=[],T=0;if(b)_.a.D(o,l);else{if(!u||v&&v._countWaitingForRemove){var S=_.a.Mb(v,(function(e){return e.Aa}));u=_.a.Pb(S,o,{dontLimitMoves:s.dontLimitMoves,sparse:!0})}var F,L,M;for(S=0;F=u[S];S++)switch(L=F.moved,M=F.index,F.status){case"deleted":for(;k<M;)p(k++);L===e&&((f=v[k]).$&&(f.$.s(),f.$=e),_.a.Ua(f.Y,i).length&&(s.beforeRemove&&(y.push(f),T++,f.Aa===r?f=null:E.push(f)),f&&w.push.apply(w,f.Y))),k++;break;case"added":for(;C<M;)p(k++);L!==e?(x.push(y.length),p(L)):l(F.value)}for(;C<o.length;)p(k++);y._countWaitingForRemove=T}_.a.g.set(i,n,y),h(s.beforeMove,A),_.a.D(w,s.beforeRemove?_.oa:_.removeNode);try{g=i.ownerDocument.activeElement}catch(e){}if(x.length)for(;(S=x.shift())!=e;){for(f=y[S],d=e;S;)if((m=y[--S].Y)&&m.length){d=m[m.length-1];break}for(o=0;k=f.Y[o];d=k,o++)_.h.Wb(i,k,d)}for(S=0;f=y[S];S++){for(f.Y||_.a.extend(f,t(i,a,f.Aa,c,f.pb)),o=0;k=f.Y[o];d=k,o++)_.h.Wb(i,k,d);!f.Ed&&c&&(c(f.Aa,f.Y,f.pb),f.Ed=!0,d=f.Y[f.Y.length-1])}for(g&&i.ownerDocument.activeElement!=g&&g.focus(),h(s.beforeRemove,E),S=0;S<E.length;++S)E[S].Aa=r;h(s.afterMove,A),h(s.afterAdd,D)}}(),_.b("utils.setDomNodeChildrenFromArrayMapping",_.a.ec),_.ba=function(){this.allowTemplateRewriting=!1},_.ba.prototype=new _.ca,_.ba.prototype.constructor=_.ba,_.ba.prototype.renderTemplateSource=function(e,t,n,r){return(t=9>_.a.W||!e.nodes?null:e.nodes())?_.a.la(t.cloneNode(!0).childNodes):(e=e.text(),_.a.ua(e,r))},_.ba.Ma=new _.ba,_.gc(_.ba.Ma),_.b("nativeTemplateEngine",_.ba),function(){_.$a=function(){var e=this.Hd=function(){if(!o||!o.tmpl)return 0;try{if(0<=o.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(e){}return 1}();this.renderTemplateSource=function(t,r,i,a){if(a=a||n,i=i||{},2>e)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var s=t.data("precompiled");return s||(s=t.text()||"",s=o.template(null,"{{ko_with $item.koBindingContext}}"+s+"{{/ko_with}}"),t.data("precompiled",s)),t=[r.$data],r=o.extend({koBindingContext:r},i.templateOptions),(r=o.tmpl(s,t,r)).appendTo(a.createElement("div")),o.fragments={},r},this.createJavaScriptEvaluatorBlock=function(e){return"{{ko_code ((function() { return "+e+" })()) }}"},this.addTemplate=function(e,t){n.write("<script type='text/html' id='"+e+"'>"+t+"<\/script>")},0<e&&(o.tmpl.tag.ko_code={open:"__.push($1 || '');"},o.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},_.$a.prototype=new _.ca,_.$a.prototype.constructor=_.$a;var e=new _.$a;0<e.Hd&&_.gc(e),_.b("jqueryTmplTemplateEngine",_.$a)}()}))}(),function(e,t,n){function r(e,t,n){return"function"==typeof t&&(t=i(n=t).replace(/_$/,"")),u(e,t,{configurable:!0,writable:!0,value:n})}function i(e){return"function"!=typeof e?"":"_name"in e?e._name:"name"in e?e.name:l.call(e).match(f)[1]}function o(e,t){return t._name=e,t}function a(e){var t=new m;return e||(e=g),function(r,i){return i||2===arguments.length?t.set(r,i):(i=t.get(r))===n&&(i=e(r),t.set(r,i)),i}}var s=Object.getOwnPropertyNames,c="object"==typeof window?Object.getOwnPropertyNames(window):[],u=Object.defineProperty,l=Function.prototype.toString,p=Object.create,h=Object.prototype.hasOwnProperty,f=/^\n?function\s?(\w*)?_?\(/,d=function(){function e(){var e=a(),n={};this.unlock=function(r){var i=f(r);if(h.call(i,e))return i[e](n);var o=p(null,t);return u(i,e,{value:function(e){if(e===n)return o}}),o}}var t={value:{writable:!0,value:n}},i=p(null),a=function(){var e=Math.random().toString(36).slice(2);return e in i?a():i[e]=e},l=a(),f=function(e){if(h.call(e,l))return e[l];if(!Object.isExtensible(e))throw new TypeError("Object must be extensible");var t=p(null);return u(e,l,{value:t}),t};return r(Object,o("getOwnPropertyNames",(function(e){var t,n=Object(e);if(n!==Window.prototype&&"toString"in n&&"[object Window]"===n.toString())try{t=s(e)}catch(e){t=c}else t=s(e);return h.call(e,l)&&t.splice(t.indexOf(l),1),t}))),r(e.prototype,o("get",(function(e){return this.unlock(e).value}))),r(e.prototype,o("set",(function(e,t){this.unlock(e).value=t}))),e}(),m=function(a){function s(t){return this===e||null==this||this===s.prototype?new s(t):(f(this,new d),void g(this,t))}function c(e){h(e);var r=m(this).get(e);return r===t?n:r}function u(e,r){h(e),m(this).set(e,r===n?t:r)}function l(e){return h(e),m(this).get(e)!==n}function p(){return m(this),"[object WeakMap]"}var h=function(e){if(null==e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Invalid WeakMap key")},f=function(e,t){var n=a.unlock(e);if(n.value)throw new TypeError("Object is already a WeakMap");n.value=t},m=function(e){var t=a.unlock(e).value;if(!t)throw new TypeError("WeakMap is not generic");return t},g=function(e,t){null!==t&&"object"==typeof t&&"function"==typeof t.forEach&&t.forEach((function(n,r){n instanceof Array&&2===n.length&&u.call(e,t[r][0],t[r][1])}))};c._name="get",u._name="set",l._name="has",p._name="toString";var v=(""+Object).split("Object"),b=o("toString",(function(){return v[0]+i(this)+v[1]}));r(b,b);var y={__proto__:[]}instanceof Array?function(e){e.__proto__=b}:function(e){r(e,b)};return y(s),[p,c,u,l,function(e){h(e);var t=m(this),r=t.get(e)!==n;return t.set(e,n),r}].forEach((function(e){r(s.prototype,e),y(e)})),s}(new d),g=Object.create?function(){return Object.create(null)}:function(){return{}};"undefined"!=typeof module?module.exports=m:"undefined"!=typeof exports?exports.WeakMap=m:"WeakMap"in e||(e.WeakMap=m),m.createStorage=a,e.WeakMap&&(e.WeakMap.createStorage=a)}(function(){return this}()),function(e,t){"use strict";function i(e,t){if(!e||"object"!=typeof e)throw new Error("When calling ko.track, you must pass an object as the first parameter.");return function(e){return!!e&&"object"==typeof e&&e.constructor===Object}(t)?(t.deep=t.deep||!1,t.fields=t.fields||Object.getOwnPropertyNames(e),t.lazy=t.lazy||!1,s(e,t.fields,t)):s(e,t||Object.getOwnPropertyNames(e),{}),e}function o(e,n,r){var i=g.isObservable(e),o=!i&&Array.isArray(e),a=i?e:o?g.observableArray(e):g.observable(e);return r[n]=function(){return a},(o||i&&"push"in a)&&p(g,a),{configurable:!0,enumerable:!0,get:a,set:g.isWriteableObservable(a)?a:t}}function a(e,t,n){function r(e,t){return i?t?i(e):i:Array.isArray(e)?(i=g.observableArray(e),p(g,i),i):i=g.observable(e)}return g.isObservable(e)?o(e,t,n):(n[t]=function(){return r(e)},{configurable:!0,enumerable:!0,get:function(){return r(e)()},set:function(e){r(e,!0)}});var i}function s(e,t,n){if(t.length){var r=c(e,!0),i={};t.forEach((function(t){if(!(t in r)&&!1!==Object.getOwnPropertyDescriptor(e,t).configurable){var c=e[t];i[t]=(n.lazy?a:o)(c,t,r),n.deep&&function(e){return e&&"object"==typeof e&&"Object"===function(e){return e.name?e.name:(e.toString().trim().match(_)||[])[1]}(e.constructor)}(c)&&s(c,Object.keys(c),n)}})),Object.defineProperties(e,i)}}function c(e,t){b||(b=v());var n=b.get(e);return!n&&t&&(n={},b.set(e,n)),n}function u(e,t){if(b)if(1===arguments.length)b.delete(e);else{var n=c(e,!1);n&&t.forEach((function(e){delete n[e]}))}}function l(e,t,n){var r={owner:e,deferEvaluation:!0};if("function"==typeof n)r.read=n;else{if("value"in n)throw new Error('For ko.defineProperty, you must not specify a "value" for the property. You must provide a "get" function.');if("function"!=typeof n.get)throw new Error('For ko.defineProperty, the third parameter must be either an evaluator function, or an options object containing a function called "get".');r.read=n.get,r.write=n.set}return e[t]=this.computed(r),i.call(this,e,[t]),e}function p(e,t){var n=null;e.computed((function(){n&&(n.dispose(),n=null);var r=t();r instanceof Array&&(n=function(e,t,n){var r=function(e,t){y||(y=v());var n=y.get(t);if(!n){n=new e.subscribable,y.set(t,n);var r={};(function(e,t,n){["pop","push","reverse","shift","sort","splice","unshift"].forEach((function(r){var i=e[r];e[r]=function(){var e=i.apply(this,arguments);return!0!==n.pause&&t.notifySubscribers(this),e}}))})(t,n,r),function(e,t,n,r){["remove","removeAll","destroy","destroyAll","replace"].forEach((function(i){Object.defineProperty(t,i,{enumerable:!1,value:function(){var o;r.pause=!0;try{o=e.observableArray.fn[i].apply(e.observableArray(t),arguments)}finally{r.pause=!1}return n.notifySubscribers(t),o}})}))}(e,t,n,r)}return n}(e,n);return r.subscribe(t)}(e,t,r))}))}function h(e,t){if(!e||"object"!=typeof e)return null;var n=c(e,!1);if(n&&t in n)return n[t]();var r=e[t];return g.isObservable(r)?r:null}function f(e,t){if(!e||"object"!=typeof e)return!1;var n=c(e,!1);return!!n&&t in n}function d(e,t){var n=h(e,t);n&&n.valueHasMutated()}function m(e){e.track=i,e.untrack=u,e.getObservable=h,e.valueHasMutated=d,e.defineProperty=l,e.es5={getAllObservablesForObject:c,notifyWhenPresentOrFutureArrayValuesMutate:p,isTracked:f}}var g,v,b,y,_=/^function\s*([^\s(]+)/;!function(){if("object"==typeof exports&&"object"==typeof module){g=n("knockout");var t=e.WeakMap||n("../lib/weakmap");m(g),v=function(){return new t},module.exports=g}else"function"==typeof r&&r.amd?r("KnockoutES5",["knockout"],(function(t){return g=t,m(t),v=function(){return new e.WeakMap},t})):"ko"in e&&(g=e.ko,m(e.ko),v=function(){return new e.WeakMap})}()}("undefined"!=typeof window?window:"undefined"!=typeof global?global:this),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof r&&r.amd?r("markdown-it-sanitizer",[],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).markdownitSanitizer=e()}((function(){return function e(t,r,i){function o(s,c){if(!r[s]){if(!t[s]){var u="function"==typeof n&&n;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[s]={exports:{}};t[s][0].call(p.exports,(function(e){return o(t[s][1][e]||e)}),p,p.exports,e,t,r,i)}return r[s].exports}for(var a="function"==typeof n&&n,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){"use strict";t.exports=function(e,t){function n(e){var t=o.match(e);return t&&1===t.length&&0===t[0].index&&t[0].lastIndex===e.length?t[0].url:null}function r(e){return e.replace(/<[^<>]*>?/gi,(function(e){var t,r,i,o,h,b;return/(^<->|^<-\s|^<3\s)/.test(e)?e:(t=e.match(c))&&(i=n((r=t[1]).match(/src="([^"<>]*)"/i)[1]),o=(o=r.match(/alt="([^"<>]*)"/i))&&void 0!==o[1]?o[1]:"",h=(h=r.match(/title="([^"<>]*)"/i))&&void 0!==h[1]?h[1]:"",i&&u.test(i))?""!==f?'<img src="'+i+'" alt="'+o+'" title="'+h+'" class="'+f+'">':'<img src="'+i+'" alt="'+o+'" title="'+h+'">':(b=m.indexOf("a"),(t=e.match(s))&&(i=n((r=t[1]).match(/href="([^"<>]*)"/i)[1]),h=(h=r.match(/title="([^"<>]*)"/i))&&void 0!==h[1]?h[1]:"",i&&l.test(i))?(d=!0,g[b]+=1,'<a href="'+i+'" title="'+h+'" target="_blank">'):(t=/<\/a>/i.test(e))?(d=!0,g[b]-=1,g[b]<0&&(v[b]=!0),"</a>"):(t=e.match(/<(br|hr)\s?\/?>/i))?"<"+t[1].toLowerCase()+">":(t=e.match(/<(\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start="\d+")?|p|pre|s|sub|sup|strong|ul)>/i))&&!/<\/ol start="\d+"/i.test(e)?(d=!0,b=m.indexOf(t[2].toLowerCase().split(" ")[0]),"/"===t[1]?g[b]-=1:g[b]+=1,g[b]<0&&(v[b]=!0),"<"+t[1]+t[2].toLowerCase()+">"):!0===p?"":a(e))}))}var i,o=e.linkify,a=e.utils.escapeHtml,s=RegExp('<a\\s([^<>]*href="[^"<>]*"[^<>]*)\\s?>',"i"),c=RegExp('<img\\s([^<>]*src="[^"<>]*"[^<>]*)\\s?\\/?>',"i"),u=/^(?:https?:)?\/\//i,l=/^(?:https?:\/\/|ftp:\/\/|\/\/|mailto:|xmpp:)/i,p=void 0!==(t=t||{}).removeUnknown&&t.removeUnknown,h=void 0!==t.removeUnbalanced&&t.removeUnbalanced,f=void 0!==t.imageClass?t.imageClass:"",d=!1,m=["a","b","blockquote","code","em","h1","h2","h3","h4","h5","h6","li","ol","p","pre","s","sub","sup","strong","ul"],g=new Array(m.length),v=new Array(m.length);for(i=0;i<m.length;i++)g[i]=0;for(i=0;i<m.length;i++)v[i]=!1;e.core.ruler.after("linkify","sanitize_inline",(function(e){var t,n,o;for(i=0;i<m.length;i++)g[i]=0;for(i=0;i<m.length;i++)v[i]=!1;for(d=!1,n=0;n<e.tokens.length;n++)if("html_block"===e.tokens[n].type&&(e.tokens[n].content=r(e.tokens[n].content)),"inline"===e.tokens[n].type)for(o=e.tokens[n].children,t=0;t<o.length;t++)"html_inline"===o[t].type&&(o[t].content=r(o[t].content))})),e.core.ruler.after("sanitize_inline","sanitize_balance",(function(e){function t(e,t){var n,r;return n="a"===t?RegExp('<a href="[^"<>]*" title="[^"<>]*" target="_blank">',"g"):"ol"===t?/<ol(?: start="\d+")?>/g:RegExp("<"+t+">","g"),r=RegExp("</"+t+">","g"),e=!0===h?(e=e.replace(n,"")).replace(r,""):(e=e.replace(n,(function(e){return a(e)}))).replace(r,(function(e){return a(e)}))}function n(e){var n;for(n=0;n<m.length;n++)!0===v[n]&&(e=t(e,m[n]));return e}if(!1!==d){var r,o;for(i=0;i<m.length;i++)0!==g[i]&&(v[i]=!0);for(r=0;r<e.tokens.length;r++)if("html_block"!==e.tokens[r].type){if("inline"===e.tokens[r].type)for(o=e.tokens[r].children,i=0;i<o.length;i++)"html_inline"===o[i].type&&(o[i].content=n(o[i].content))}else e.tokens[r].content=n(e.tokens[r].content)}}))}},{}]},{},[1])(1)})),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof r&&r.amd?r("markdown-it",[],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).markdownit=e()}((function(){return function e(t,r,i){function o(s,c){if(!r[s]){if(!t[s]){var u="function"==typeof n&&n;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[s]={exports:{}};t[s][0].call(p.exports,(function(e){return o(t[s][1][e]||e)}),p,p.exports,e,t,r,i)}return r[s].exports}for(var a="function"==typeof n&&n,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){"use strict";t.exports=e("entities/maps/entities.json")},{"entities/maps/entities.json":52}],2:[function(e,t,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},{}],3:[function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],4:[function(e,t,n){"use strict";function r(e,t){return s.call(e,t)}function i(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function a(e){return d[e]}var s=Object.prototype.hasOwnProperty,c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=e("./entities"),h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},m=/[.?*+^$[\]\\(){}|-]/g,g=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},n.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},n.has=r,n.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},n.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(u,(function(e,t,n){return t||function(e,t){var n=0;return r(p,t)?p[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},n.isValidEntityCode=i,n.fromCodePoint=o,n.escapeHtml=function(e){return h.test(e)?e.replace(f,a):e},n.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},n.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(e){return g.test(e)},n.escapeRE=function(e){return e.replace(m,"\\$&")},n.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{"./entities":1,mdurl:58,"uc.micro":65,"uc.micro/categories/P/regex":63}],5:[function(e,t,n){"use strict";n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":6,"./parse_link_label":7,"./parse_link_title":8}],6:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace,i=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return c;if(62===o)return c.pos=t+1,c.str=i(e.slice(s+1,t)),c.ok=!0,c;92===o&&t+1<n?t+=2:t++}return c}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&++a>1)break;if(41===o&&--a<0)break;t++}return s===t||(c.str=i(e.slice(s,t)),c.lines=0,c.pos=t,c.ok=!0),c}},{"../common/utils":4}],7:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s=-1,c=e.posMax,u=e.pos;for(e.pos=t+1,r=1;e.pos<c;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=u,-1}return i&&(s=e.pos),e.pos=u,s}},{}],8:[function(e,t,n){"use strict";var r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var i,o,a=0,s=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=n)return c;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return c;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return c.pos=t+1,c.lines=a,c.str=r(e.slice(s+1,t)),c.ok=!0,c;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return c}},{"../common/utils":4}],9:[function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!v.test(t)||!!b.test(t)}function i(e){var t=d.parse(e,!0);if(t.hostname&&(!t.protocol||y.indexOf(t.protocol)>=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return d.encode(d.format(t))}function o(e){var t=d.parse(e,!0);if(t.hostname&&(!t.protocol||y.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return d.decode(d.format(t))}function a(e,t){return this instanceof a?(t||s.isString(e)||(t=e||{},e="default"),this.inline=new h,this.block=new p,this.core=new l,this.renderer=new u,this.linkify=new f,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=s,this.helpers=c,this.options={},this.configure(e),void(t&&this.set(t))):new a(e,t)}var s=e("./common/utils"),c=e("./helpers"),u=e("./renderer"),l=e("./parser_core"),p=e("./parser_block"),h=e("./parser_inline"),f=e("linkify-it"),d=e("mdurl"),m=e("punycode"),g={default:e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")},v=/^(vbscript|javascript|file|data):/,b=/^data:image\/(gif|png|jpeg|webp);/,y=["http:","https:","mailto:"];a.prototype.set=function(e){return s.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(s.isString(e)&&!(e=g[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=a},{"./common/utils":4,"./helpers":5,"./parser_block":10,"./parser_core":11,"./parser_inline":12,"./presets/commonmark":13,"./presets/default":14,"./presets/zero":15,"./renderer":16,"linkify-it":53,mdurl:58,punycode:60}],10:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}var i=e("./ruler"),o=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];r.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,c=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);if(e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)){if(s=!0,++a<n&&"list"===e.parentType&&e.isEmpty(a))break;e.line=a}}},r.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},r.prototype.State=e("./rules_block/state_block"),t.exports=r},{"./ruler":17,"./rules_block/blockquote":18,"./rules_block/code":19,"./rules_block/fence":20,"./rules_block/heading":21,"./rules_block/hr":22,"./rules_block/html_block":23,"./rules_block/lheading":24,"./rules_block/list":25,"./rules_block/paragraph":26,"./rules_block/reference":27,"./rules_block/state_block":28,"./rules_block/table":29}],11:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}var i=e("./ruler"),o=[["normalize",e("./rules_core/normalize")],["block",e("./rules_core/block")],["inline",e("./rules_core/inline")],["linkify",e("./rules_core/linkify")],["replacements",e("./rules_core/replacements")],["smartquotes",e("./rules_core/smartquotes")]];r.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},r.prototype.State=e("./rules_core/state_core"),t.exports=r},{"./ruler":17,"./rules_core/block":30,"./rules_core/inline":31,"./rules_core/linkify":32,"./rules_core/normalize":33,"./rules_core/replacements":34,"./rules_core/smartquotes":35,"./rules_core/state_core":36}],12:[function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new i,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}var i=e("./ruler"),o=[["text",e("./rules_inline/text")],["newline",e("./rules_inline/newline")],["escape",e("./rules_inline/escape")],["backticks",e("./rules_inline/backticks")],["strikethrough",e("./rules_inline/strikethrough").tokenize],["emphasis",e("./rules_inline/emphasis").tokenize],["link",e("./rules_inline/link")],["image",e("./rules_inline/image")],["autolink",e("./rules_inline/autolink")],["html_inline",e("./rules_inline/html_inline")],["entity",e("./rules_inline/entity")]],a=[["balance_pairs",e("./rules_inline/balance_pairs")],["strikethrough",e("./rules_inline/strikethrough").postProcess],["emphasis",e("./rules_inline/emphasis").postProcess],["text_collapse",e("./rules_inline/text_collapse")]];r.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},r.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](s)},r.prototype.State=e("./rules_inline/state_inline"),t.exports=r},{"./ruler":17,"./rules_inline/autolink":37,"./rules_inline/backticks":38,"./rules_inline/balance_pairs":39,"./rules_inline/emphasis":40,"./rules_inline/entity":41,"./rules_inline/escape":42,"./rules_inline/html_inline":43,"./rules_inline/image":44,"./rules_inline/link":45,"./rules_inline/newline":46,"./rules_inline/state_inline":47,"./rules_inline/strikethrough":48,"./rules_inline/text":49,"./rules_inline/text_collapse":50}],13:[function(e,t,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},{}],14:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},{}],15:[function(e,t,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},{}],16:[function(e,t,n){"use strict";function r(){this.rules=i({},s)}var i=e("./common/utils").assign,o=e("./common/utils").unescapeAll,a=e("./common/utils").escapeHtml,s={code_inline:function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},code_block:function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},fence:function(e,t,n,r,i){var s,c,u,l,p=e[t],h=p.info?o(p.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(p.content,f)||a(p.content)).indexOf("<pre")?s+"\n":h?(c=p.attrIndex("class"),u=p.attrs?p.attrs.slice():[],c<0?u.push(["class",n.langPrefix+f]):u[c][1]+=" "+n.langPrefix+f,l={attrs:u},"<pre><code"+i.renderAttrs(l)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"},image:function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},hardbreak:function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},softbreak:function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},text:function(e,t){return a(e[t].content)},html_block:function(e,t){return e[t].content},html_inline:function(e,t){return e[t].content}};r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},r.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?">\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)i+=void 0!==o[r=e[a].type]?o[r](e,a,t,n,this):this.renderToken(e,a,t);return i},r.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},r.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)a+="inline"===(o=e[r].type)?this.renderInline(e[r].children,t,n):void 0!==s[o]?s[e[r].type](e,r,t,n,this):this.renderToken(e,r,t,n);return a},t.exports=r},{"./common/utils":4}],17:[function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},t.exports=r},{}],18:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,c,u,l,p,h,f,d,m,g,v,b,y,_,k=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(62!==e.src.charCodeAt(k++))return!1;if(i)return!0;for(32===e.src.charCodeAt(k)&&k++,l=e.blkIndent,e.blkIndent=0,f=d=e.sCount[t]+k-(e.bMarks[t]+e.tShift[t]),u=[e.bMarks[t]],e.bMarks[t]=k;k<C&&(m=e.src.charCodeAt(k),r(m));)9===m?d+=4-d%4:d++,k++;for(a=k>=C,c=[e.sCount[t]],e.sCount[t]=d-f,s=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],g=e.md.block.ruler.getRules("blockquote"),o=t+1;o<n&&!(e.sCount[o]<l)&&!((k=e.bMarks[o]+e.tShift[o])>=(C=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(k++)){if(a)break;for(_=!1,b=0,y=g.length;b<y;b++)if(g[b](e,o,n,!0)){_=!0;break}if(_)break;u.push(e.bMarks[o]),s.push(e.tShift[o]),c.push(e.sCount[o]),e.sCount[o]=-1}else{for(32===e.src.charCodeAt(k)&&k++,f=d=e.sCount[o]+k-(e.bMarks[o]+e.tShift[o]),u.push(e.bMarks[o]),e.bMarks[o]=k;k<C&&(m=e.src.charCodeAt(k),r(m));)9===m?d+=4-d%4:d++,k++;a=k>=C,c.push(e.sCount[o]),e.sCount[o]=d-f,s.push(e.tShift[o]),e.tShift[o]=k-e.bMarks[o]}for(p=e.parentType,e.parentType="blockquote",(v=e.push("blockquote_open","blockquote",1)).markup=">",v.map=h=[t,0],e.md.block.tokenize(e,t,o),(v=e.push("blockquote_close","blockquote",-1)).markup=">",e.parentType=p,h[1]=e.line,b=0;b<s.length;b++)e.bMarks[b+t]=u[b],e.tShift[b+t]=s[b],e.sCount[b+t]=c[b];return e.blkIndent=l,!0}},{"../common/utils":4}],19:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a=0;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r)){if(++a>=2&&"list"===e.parentType)break;r++}else{if(a=0,!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],20:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i,o,a,s,c,u,l,p=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(h+3>f)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(c=h,(o=(h=e.skipChars(h,i))-c)<3)return!1;if(l=e.src.slice(c,h),(a=e.src.slice(h,f)).indexOf("`")>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(h=c=e.bMarks[s]+e.tShift[s],f=e.eMarks[s],h<f&&e.sCount[s]<e.blkIndent));)if(e.src.charCodeAt(h)===i&&!(e.sCount[s]-e.blkIndent>=4||(h=e.skipChars(h,i),h-c<o||(h=e.skipSpaces(h),h<f)))){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(u=e.push("fence","code",0)).info=a,u.content=e.getLines(t+1,s,o,!0),u.markup=l,u.map=[t,e.line],!0}},{}],21:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(35!==(o=e.src.charCodeAt(u))||u>=l)return!1;for(a=1,o=e.src.charCodeAt(++u);35===o&&u<l&&a<=6;)a++,o=e.src.charCodeAt(++u);return!(a>6||u<l&&32!==o||!i&&(l=e.skipSpacesBack(l,u),s=e.skipCharsBack(l,35,u),s>u&&r(e.src.charCodeAt(s-1))&&(l=s),e.line=t+1,c=e.push("heading_open","h"+String(a),1),c.markup="########".slice(0,a),c.map=[t,e.line],c=e.push("inline","",0),c.content=e.src.slice(u,l).trim(),c.map=[t,e.line],c.children=[],c=e.push("heading_close","h"+String(a),-1),c.markup="########".slice(0,a),0))}},{"../common/utils":4}],22:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(a=1;u<l;){if((s=e.src.charCodeAt(u++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3||!i&&(e.line=t+1,c=e.push("hr","hr",0),c.map=[t,e.line],c.markup=Array(a+1).join(String.fromCharCode(o)),0))}},{"../common/utils":4}],23:[function(e,t,n){"use strict";var r=e("../common/html_blocks"),i=e("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(c=e.src.slice(u,l),i=0;i<o.length&&!o[i][0].test(c);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(c))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(u=e.bMarks[a]+e.tShift[a],l=e.eMarks[a],c=e.src.slice(u,l),o[i][1].test(c)){0!==c.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},{"../common/html_blocks":2,"../common/html_re":3}],24:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var r,i,o,a,s,c,u,l,p,h=t+1,f=e.md.block.ruler.getRules("paragraph");h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=u)){l=61===p?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,a=f.length;o<a;o++)if(f[o](e,h,n,!0)){i=!0;break}if(i)break}}return!!l&&(r=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(s=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),!0)}},{}],25:[function(e,t,n){"use strict";function r(e,t){var n,r,i,a;return r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(r++))&&45!==n&&43!==n||r<i&&(a=e.src.charCodeAt(r),!o(a))?-1:r}function i(e,t){var n,r=e.bMarks[t]+e.tShift[t],i=r,a=e.eMarks[t];if(i+1>=a)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}return i<a&&(n=e.src.charCodeAt(i),!o(n))?-1:i}var o=e("../common/utils").isSpace;t.exports=function(e,t,n,a){var s,c,u,l,p,h,f,d,m,g,v,b,y,_,k,C,w,x,E,A,D,T,S,F,L,M,N,q,z=!0;if((v=i(e,t))>=0)x=!0;else{if(!((v=r(e,t))>=0))return!1;x=!1}if(w=e.src.charCodeAt(v-1),a)return!0;for(A=e.tokens.length,x?(g=e.bMarks[t]+e.tShift[t],C=Number(e.src.substr(g,v-g-1)),L=e.push("ordered_list_open","ol",1),1!==C&&(L.attrs=[["start",C]])):L=e.push("bullet_list_open","ul",1),L.map=T=[t,0],L.markup=String.fromCharCode(w),s=t,D=!1,F=e.md.block.ruler.getRules("list");s<n;){for(y=v,_=e.eMarks[s],c=u=e.sCount[s]+v-(e.bMarks[t]+e.tShift[t]);y<_&&(b=e.src.charCodeAt(y),o(b));)9===b?u+=4-u%4:u++,y++;if((k=(E=y)>=_?1:u-c)>4&&(k=1),l=c+k,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(w),L.map=S=[t,0],h=e.blkIndent,d=e.tight,p=e.tShift[t],f=e.sCount[t],m=e.parentType,e.blkIndent=l,e.tight=!0,e.parentType="list",e.tShift[t]=E-e.bMarks[t],e.sCount[t]=u,E>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(z=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=h,e.tShift[t]=p,e.sCount[t]=f,e.tight=d,e.parentType=m,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(w),s=t=e.line,S[1]=s,E=e.bMarks[t],s>=n)break;if(e.isEmpty(s))break;if(e.sCount[s]<e.blkIndent)break;for(q=!1,M=0,N=F.length;M<N;M++)if(F[M](e,s,n,!0)){q=!0;break}if(q)break;if(x){if((v=i(e,s))<0)break}else if((v=r(e,s))<0)break;if(w!==e.src.charCodeAt(v-1))break}return(L=x?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(w),T[1]=s,e.line=s,z&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,A),!0}},{"../common/utils":4}],26:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n,r,i,o,a,s=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),!0}},{}],27:[function(e,t,n){"use strict";var r=e("../helpers/parse_link_destination"),i=e("../helpers/parse_link_title"),o=e("../common/utils").normalizeReference,a=e("../common/utils").isSpace;t.exports=function(e,t,n,s){var c,u,l,p,h,f,d,m,g,v,b,y,_,k,C,w=0,x=e.bMarks[t]+e.tShift[t],E=e.eMarks[t],A=t+1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<E;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===E)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(p=e.lineMax,k=e.md.block.ruler.getRules("reference");A<p&&!e.isEmpty(A);A++)if(!(e.sCount[A]-e.blkIndent>3||e.sCount[A]<0)){for(_=!1,f=0,d=k.length;f<d;f++)if(k[f](e,A,p,!0)){_=!0;break}if(_)break}for(E=(y=e.getLines(t,A,e.blkIndent,!1).trim()).length,x=1;x<E;x++){if(91===(c=y.charCodeAt(x)))return!1;if(93===c){g=x;break}(10===c||92===c&&++x<E&&10===y.charCodeAt(x))&&w++}if(g<0||58!==y.charCodeAt(g+1))return!1;for(x=g+2;x<E;x++)if(10===(c=y.charCodeAt(x)))w++;else if(!a(c))break;if(!(v=r(y,x,E)).ok)return!1;if(h=e.md.normalizeLink(v.str),!e.md.validateLink(h))return!1;for(u=x=v.pos,l=w+=v.lines,b=x;x<E;x++)if(10===(c=y.charCodeAt(x)))w++;else if(!a(c))break;for(v=i(y,x,E),x<E&&b!==x&&v.ok?(C=v.str,x=v.pos,w+=v.lines):(C="",x=u,w=l);x<E&&(c=y.charCodeAt(x),a(c));)x++;if(x<E&&10!==y.charCodeAt(x)&&C)for(C="",x=u,w=l;x<E&&(c=y.charCodeAt(x),a(c));)x++;return!(x<E&&10!==y.charCodeAt(x)||!(m=o(y.slice(1,g)))||!s&&(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:C,href:h}),e.line=t+w+1,0))}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_title":8}],28:[function(e,t,n){"use strict";function r(e,t,n,r){var i,a,s,c,u,l,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",h=!1,s=c=l=p=0,u=(a=this.src).length;c<u;c++){if(i=a.charCodeAt(c),!h){if(o(i)){l++,9===i?p+=4-p%4:p++;continue}h=!0}10!==i&&c!==u-1||(10!==i&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(p),h=!1,l=0,p=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.lineMax=this.bMarks.length-1}var i=e("../token"),o=e("../common/utils").isSpace;r.prototype.push=function(e,t,n){var r=new i(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},r.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},r.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},r.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,c,u,l,p,h=e;if(e>=t)return"";for(l=new Array(t-e),i=0;h<t;h++,i++){for(a=0,p=c=this.bMarks[h],u=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];c<u&&a<n;){if(s=this.src.charCodeAt(c),o(s))9===s?a+=4-a%4:a++;else{if(!(c-p<this.tShift[h]))break;a++}c++}l[i]=this.src.slice(c,u)}return l.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":4,"../token":51}],29:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,c=0;for(t=e.charCodeAt(r);r<i;)96===t&&o%2==0?(s=!s,c=r):124!==t||o%2!=0||s?92===t?o++:o=0:(n.push(e.substring(a,r)),a=r+1),++r===i&&s&&(s=!1,r=c+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}t.exports=function(e,t,n,o){var a,s,c,u,l,p,h,f,d,m,g,v;if(t+2>n)return!1;if(l=t+1,e.sCount[l]<e.blkIndent)return!1;if((c=e.bMarks[l]+e.tShift[l])>=e.eMarks[l])return!1;if(124!==(a=e.src.charCodeAt(c))&&45!==a&&58!==a)return!1;if(s=r(e,t+1),!/^[-:| ]+$/.test(s))return!1;for(p=s.split("|"),d=[],u=0;u<p.length;u++){if(!(m=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;58===m.charCodeAt(m.length-1)?d.push(58===m.charCodeAt(0)?"center":"right"):58===m.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(s=r(e,t).trim()).indexOf("|"))return!1;if((h=(p=i(s.replace(/^\||\|$/g,""))).length)>d.length)return!1;if(o)return!0;for((f=e.push("table_open","table",1)).map=g=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<p.length;u++)(f=e.push("th_open","th",1)).map=[t,t+1],d[u]&&(f.attrs=[["style","text-align:"+d[u]]]),(f=e.push("inline","",0)).content=p[u].trim(),f.map=[t,t+1],f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),(f=e.push("tbody_open","tbody",1)).map=v=[t+2,0],l=t+2;l<n&&!(e.sCount[l]<e.blkIndent)&&-1!==(s=r(e,l)).indexOf("|");l++){for(p=i(s.replace(/^\||\|\s*$/g,"")),f=e.push("tr_open","tr",1),u=0;u<h;u++)f=e.push("td_open","td",1),d[u]&&(f.attrs=[["style","text-align:"+d[u]]]),(f=e.push("inline","",0)).content=p[u]?p[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return f=e.push("tbody_close","tbody",-1),f=e.push("table_close","table",-1),g[1]=v[1]=l,e.line=l,!0}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},{}],32:[function(e,t,n){"use strict";function r(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,c,u,l,p,h,f,d,m,g,v,b,y,_,k=e.tokens;if(e.md.options.linkify)for(n=0,a=k.length;n<a;n++)if("inline"===k[n].type&&e.md.linkify.pretest(k[n].content))for(g=0,t=(s=k[n].children).length-1;t>=0;t--)if("link_close"!==(u=s[t]).type){if("html_inline"===u.type&&(r(u.content)&&g>0&&g--,i(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(h=u.content,_=e.md.linkify.match(h),l=[],m=u.level,d=0,p=0;p<_.length;p++)v=_[p].url,b=e.md.normalizeLink(v),e.md.validateLink(b)&&(y=_[p].text,y=_[p].schema?"mailto:"!==_[p].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=_[p].index)>d&&((c=new e.Token("text","",0)).content=h.slice(d,f),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",b]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=y,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),d=_[p].lastIndex);d<h.length&&((c=new e.Token("text","",0)).content=h.slice(d),c.level=m,l.push(c)),k[n].children=s=o(s,t,l)}}else for(t--;s[t].level!==u.level&&"link_open"!==s[t].type;)t--}},{"../common/utils":4}],33:[function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;t.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},{}],34:[function(e,t,n){"use strict";function r(e,t){return u[t.toLowerCase()]}function i(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||(n.content=n.content.replace(c,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,c=/\((c|tm|r|p)\)/gi,u={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],35:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,c,p,h,f,d,m,g,v,b,y,_,k,C,w,x,E,A,D,T;for(A=[],n=0;n<e.length;n++){for(i=e[n],d=e[n].level,x=A.length-1;x>=0&&!(A[x].level<=d);x--);if(A.length=x+1,"text"===i.type){h=0,f=(c=i.content).length;e:for(;h<f&&(u.lastIndex=h,p=u.exec(c));){if(C=w=!0,h=p.index+1,E="'"===p[0],g=32,p.index-1>=0)g=c.charCodeAt(p.index-1);else for(x=n-1;x>=0;x--)if("text"===e[x].type){g=e[x].content.charCodeAt(e[x].content.length-1);break}if(v=32,h<f)v=c.charCodeAt(h);else for(x=n+1;x<e.length;x++)if("text"===e[x].type){v=e[x].content.charCodeAt(0);break}if(b=s(g)||a(String.fromCharCode(g)),y=s(v)||a(String.fromCharCode(v)),_=o(g),(k=o(v))?C=!1:y&&(_||b||(C=!1)),_?w=!1:b&&(k||y||(w=!1)),34===v&&'"'===p[0]&&g>=48&&g<=57&&(w=C=!1),C&&w&&(C=!1,w=y),C||w){if(w)for(x=A.length-1;x>=0&&(m=A[x],!(A[x].level<d));x--)if(m.single===E&&A[x].level===d){m=A[x],E?(D=t.md.options.quotes[2],T=t.md.options.quotes[3]):(D=t.md.options.quotes[0],T=t.md.options.quotes[1]),i.content=r(i.content,p.index,T),e[m.token].content=r(e[m.token].content,m.pos,D),h+=T.length-1,m.token===n&&(h+=D.length-1),f=(c=i.content).length,A.length=x;continue e}C?A.push({token:n,pos:p.index,single:E,level:d}):w&&E&&(i.content=r(i.content,p.index,l))}else E&&(i.content=r(i.content,p.index,l))}}}}var o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct,c=/['"]/,u=/['"]/g,l="’";t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&c.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":4}],36:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":51}],37:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,c,u,l=e.pos;return 60===e.src.charCodeAt(l)&&!((n=e.src.slice(l)).indexOf(">")<0||(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),c=e.md.normalizeLink(s),!e.md.validateLink(c)||(t||(u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="autolink",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(s),u=e.push("link_close","a",-1),u.markup="autolink",u.info="auto"),e.pos+=o[0].length,0)):!r.test(n)||(a=n.match(r),s=a[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+s),!e.md.validateLink(c)||(t||(u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="autolink",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(s),u=e.push("link_close","a",-1),u.markup="autolink",u.info="auto"),e.pos+=a[0].length,0))))}},{}],38:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(n=c,c++,r=e.posMax;c<r&&96===e.src.charCodeAt(c);)c++;for(i=e.src.slice(n,c),o=a=c;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push("code_inline","code",0)).markup=i,s.content=e.src.slice(c,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((r=o[t]).close)for(n=t-r.jump-1;n>=0;){if((i=o[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},{}],40:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a,s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)95!==(n=s[t]).marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t+1<c&&s[t+1].end===n.end-1&&s[t+1].token===n.token+1&&s[n.end-1].token===r.token-1&&s[t+1].marker===n.marker,o=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",(i=e.tokens[r.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t+1].token].content="",e.tokens[s[n.end-1].token].content="",t++))}},{}],41:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,u,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(u=e.src.slice(l).match(s))return t||(n="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(o(n)?n:65533)),e.pos+=u[0].length,!0}else if((u=e.src.slice(l).match(c))&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},{"../common/entities":1,"../common/utils":4}],42:[function(e,t,n){"use strict";for(var r=e("../common/utils").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},{"../common/utils":4}],43:[function(e,t,n){"use strict";var r=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,i,o,a,s=e.pos;return!(!e.md.options.html||(o=e.posMax,60!==e.src.charCodeAt(s)||s+2>=o||(n=e.src.charCodeAt(s+1),33!==n&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n)||!(i=e.src.slice(s).match(r))||(t||(a=e.push("html_inline","",0),a.content=e.src.slice(s,s+i[0].length)),e.pos+=i[0].length,0))))}},{"../common/html_re":3}],44:[function(e,t,n){"use strict";var r=e("../helpers/parse_link_label"),i=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,c,u,l,p,h,f,d,m,g,v,b,y,_="",k=e.pos,C=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(h=e.pos+2,(p=r(e,e.pos+1,!1))<0)return!1;if((f=p+1)<C&&40===e.src.charCodeAt(f)){for(f++;f<C&&(c=e.src.charCodeAt(f),s(c)||10===c);f++);if(f>=C)return!1;for(y=f,(m=i(e.src,f,e.posMax)).ok&&(_=e.md.normalizeLink(m.str),e.md.validateLink(_)?f=m.pos:_=""),y=f;f<C&&(c=e.src.charCodeAt(f),s(c)||10===c);f++);if(m=o(e.src,f,e.posMax),f<C&&y!==f&&m.ok)for(g=m.str,f=m.pos;f<C&&(c=e.src.charCodeAt(f),s(c)||10===c);f++);else g="";if(f>=C||41!==e.src.charCodeAt(f))return e.pos=k,!1;f++}else{if(void 0===e.env.references)return!1;if(f<C&&91===e.src.charCodeAt(f)?(y=f+1,(f=r(e,f))>=0?l=e.src.slice(y,f++):f=p+1):f=p+1,l||(l=e.src.slice(h,p)),!(d=e.env.references[a(l)]))return e.pos=k,!1;_=d.href,g=d.title}return t||(u=e.src.slice(h,p),e.md.inline.parse(u,e.md,e.env,b=[]),(v=e.push("image","img",0)).attrs=n=[["src",_],["alt",""]],v.children=b,v.content=u,g&&n.push(["title",g])),e.pos=f,e.posMax=C,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],45:[function(e,t,n){"use strict";var r=e("../helpers/parse_link_label"),i=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,c,u,l,p,h,f,d,m,g="",v=e.pos,b=e.posMax,y=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(p=e.pos+1,(l=r(e,e.pos,!0))<0)return!1;if((h=l+1)<b&&40===e.src.charCodeAt(h)){for(h++;h<b&&(c=e.src.charCodeAt(h),s(c)||10===c);h++);if(h>=b)return!1;for(y=h,(f=i(e.src,h,e.posMax)).ok&&(g=e.md.normalizeLink(f.str),e.md.validateLink(g)?h=f.pos:g=""),y=h;h<b&&(c=e.src.charCodeAt(h),s(c)||10===c);h++);if(f=o(e.src,h,e.posMax),h<b&&y!==h&&f.ok)for(m=f.str,h=f.pos;h<b&&(c=e.src.charCodeAt(h),s(c)||10===c);h++);else m="";if(h>=b||41!==e.src.charCodeAt(h))return e.pos=v,!1;h++}else{if(void 0===e.env.references)return!1;if(h<b&&91===e.src.charCodeAt(h)?(y=h+1,(h=r(e,h))>=0?u=e.src.slice(y,h++):h=l+1):h=l+1,u||(u=e.src.slice(p,l)),!(d=e.env.references[a(u)]))return e.pos=v,!1;g=d.href,m=d.title}return t||(e.pos=p,e.posMax=l,e.push("link_open","a",1).attrs=n=[["href",g]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=h,e.posMax=b,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],46:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(n=e.pending.length-1,r=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<r&&32===e.src.charCodeAt(i);)i++;return e.pos=i,!0}},{}],47:[function(e,t,n){"use strict";function r(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}var i=e("../token"),o=e("../common/utils").isWhiteSpace,a=e("../common/utils").isPunctChar,s=e("../common/utils").isMdAsciiPunct;r.prototype.pushPending=function(){var e=new i("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},r.prototype.push=function(e,t,n){this.pending&&this.pushPending();var r=new i(e,t,n);return n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,c,u,l,p,h,f,d=e,m=!0,g=!0,v=this.posMax,b=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;d<v&&this.src.charCodeAt(d)===b;)d++;return i=d-e,r=d<v?this.src.charCodeAt(d):32,p=s(n)||a(String.fromCharCode(n)),f=s(r)||a(String.fromCharCode(r)),l=o(n),(h=o(r))?m=!1:f&&(l||p||(m=!1)),l?g=!1:p&&(h||f||(g=!1)),t?(c=m,u=g):(c=m&&(!g||p),u=g&&(!m||f)),{can_open:c,can_close:u,length:i}},r.prototype.Token=i,t.exports=r},{"../common/utils":4,"../token":51}],48:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),n=0;n<i;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},t.exports.postProcess=function(e){var t,n,r,i,o,a=[],s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(r=s[t]).marker&&-1!==r.end&&(i=s[r.end],(o=e.tokens[r.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[i.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(n=(t=a.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},{}],49:[function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},{}],50:[function(e,t,n){"use strict";t.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},{}],51:[function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],52:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],53:[function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function c(e){return"[object Function]"===i(e)}function u(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function l(t){function n(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=t.re=e("./lib/re")(t.__opts__),l=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||l.push(g),l.push(i.src_xn),i.src_tlds=l.join("|"),i.email_fuzzy=RegExp(n(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(n(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(n(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(n(i.tpl_host_fuzzy_test),"i");var p=[];t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};return t.__compiled__[e]=i,a(n)?(s(n.validate)?i.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):c(n.validate)?i.validate=n.validate:r(e,n),void(c(n.normalize)?i.normalize=n.normalize:n.normalize?r(e,n):i.normalize=function(e,t){t.normalize(e)})):o(n)?void p.push(e):void r(e,n)}})),p.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var h=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(u).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+i.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+i.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(t)}function p(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function h(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function f(e,t){return this instanceof f?(t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||d.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=r({},d,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},m,e),this.__compiled__={},this.__tlds__=v,this.__tlds_replaced__=!1,this.re={},void l(this)):new f(e,t)}var d={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},m={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},g="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",v="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");f.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},f.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,c;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},f.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(h(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(h(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},t.exports=f},{"./lib/re":54}],54:[function(e,t,n){"use strict";t.exports=function(t){var n={};return n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?!>|<|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|>|<|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[()[\\]{}.,\"'?!\\-<>]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain_root+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|<|>|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":61,"uc.micro/categories/P/regex":63,"uc.micro/categories/Z/regex":64,"uc.micro/properties/Any/regex":66}],55:[function(e,t,n){"use strict";function r(e,t){var n;return"string"!=typeof t&&(t=r.defaultChars),n=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t<e.length;t++)r[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,o,a,s,c,u="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?u+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(u+=(c=i<<6&1984|63&o)<128?"��":String.fromCharCode(c),t+=3):224==(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(u+=(c=i<<12&61440|o<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((c=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||c>1114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):u+="�";return u}))}var i={};r.defaultChars=";/?:@&=+$,#",r.componentChars="",t.exports=r},{}],56:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,c,u,l="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),u=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))l+=e.slice(o,o+3),o+=2;else if(s<128)l+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(c=e.charCodeAt(o+1))>=56320&&c<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],57:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",t+=e.hostname&&-1!==e.hostname.indexOf(":")?"["+e.hostname+"]":e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",(t+=e.search||"")+(e.hash||"")}},{}],58:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":55,"./encode":56,"./format":57,"./parse":59}],59:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),u=["%","/","?",";","#"].concat(c),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,s,c,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=i.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===m.substr(0,2))||v&&f[v]||(m=m.substr(2),this.slashes=!0)),!f[v]&&(c||v&&!d[v])){var b,y,_=-1;for(n=0;n<l.length;n++)-1!==(s=m.indexOf(l[n]))&&(-1===_||s<_)&&(_=s);for(-1!==(y=-1===_?m.lastIndexOf("@"):m.lastIndexOf("@",_))&&(b=m.slice(0,y),m=m.slice(y+1),this.auth=b),_=-1,n=0;n<u.length;n++)-1!==(s=m.indexOf(u[n]))&&(-1===_||s<_)&&(_=s);-1===_&&(_=m.length),":"===m[_-1]&&_--;var k=m.slice(0,_);m=m.slice(_),this.parseHost(k),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var w=this.hostname.split(/\./);for(n=0,r=w.length;n<r;n++){var x=w[n];if(x&&!x.match(p)){for(var E="",A=0,D=x.length;A<D;A++)E+=x.charCodeAt(A)>127?"x":x[A];if(!E.match(p)){var T=w.slice(0,n),S=w.slice(n+1),F=x.match(h);F&&(T.push(F[1]),S.unshift(F[2])),S.length&&(m=S.join(".")+m),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var M=m.indexOf("?");return-1!==M&&(this.search=m.substr(M),m=m.slice(0,M)),m&&(this.pathname=m),d[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},{}],60:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(L[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+o((e=e.replace(F,".")).split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function c(e){return o(e,(function(e){var t="";return e>65535&&(t+=q((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+q(e)})).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,n){var r=0;for(e=n?N(e/x):e>>1,e+=N(e/t);e>M*C>>1;r+=_)e=N(e/M);return N(r+(M+1)*e/(e+w))}function h(e){var t,n,r,o,a,s,l,h,f,d,m=[],g=e.length,v=0,b=A,w=E;for((n=e.lastIndexOf(D))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(a=v,s=1,l=_;o>=g&&i("invalid-input"),((h=u(e.charCodeAt(o++)))>=_||h>N((y-v)/s))&&i("overflow"),v+=h*s,!(h<(f=l<=w?k:l>=w+C?C:l-w));l+=_)s>N(y/(d=_-f))&&i("overflow"),s*=d;w=p(v-a,t=m.length+1,0==a),N(v/t)>y-b&&i("overflow"),b+=N(v/t),v%=t,m.splice(v++,0,b)}return c(m)}function f(e){var t,n,r,o,a,c,u,h,f,d,m,g,v,b,w,x=[];for(g=(e=s(e)).length,t=A,n=0,a=E,c=0;c<g;++c)(m=e[c])<128&&x.push(q(m));for(r=o=x.length,o&&x.push(D);r<g;){for(u=y,c=0;c<g;++c)(m=e[c])>=t&&m<u&&(u=m);for(u-t>N((y-n)/(v=r+1))&&i("overflow"),n+=(u-t)*v,t=u,c=0;c<g;++c)if((m=e[c])<t&&++n>y&&i("overflow"),m==t){for(h=n,f=_;!(h<(d=f<=a?k:f>=a+C?C:f-a));f+=_)w=h-d,b=_-d,x.push(q(l(d+w%b,0))),h=N(w/b);x.push(q(l(h,0))),a=p(n,v,r==o),n=0,++r}++n,++t}return x.join("")}var d="object"==typeof n&&n&&!n.nodeType&&n,m="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(r=g);var v,b,y=2147483647,_=36,k=1,C=26,w=38,x=700,E=72,A=128,D="-",T=/^xn--/,S=/[^\x20-\x7E]/,F=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=_-k,N=Math.floor,q=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:s,encode:c},decode:h,encode:f,toASCII:function(e){return a(e,(function(e){return S.test(e)?"xn--"+f(e):e}))},toUnicode:function(e){return a(e,(function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e}))}},d&&m)if(t.exports==d)m.exports=v;else for(b in v)v.hasOwnProperty(b)&&(d[b]=v[b]);else r.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],61:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],62:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],63:[function(e,t,n){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/},{}],64:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],65:[function(e,t,n){t.exports.Any=e("./properties/Any/regex"),t.exports.Cc=e("./categories/Cc/regex"),t.exports.Cf=e("./categories/Cf/regex"),t.exports.P=e("./categories/P/regex"),t.exports.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":61,"./categories/Cf/regex":62,"./categories/P/regex":63,"./categories/Z/regex":64,"./properties/Any/regex":66}],66:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],67:[function(e,t,n){"use strict";t.exports=e("./lib/")},{"./lib/":9}]},{},[67])(67)})),r("Core/KnockoutMarkdownBinding",["markdown-it-sanitizer","markdown-it"],(function(e,t){"use strict";var n=/<html(.|\s)*>(.|\s)*<\/html>/im,r=new t({html:!0,linkify:!0});function i(e){if(e instanceof HTMLAnchorElement&&(e.target="_blank"),e.childNodes&&e.childNodes.length>0)for(var t=0;t<e.childNodes.length;++t)i(e.childNodes[t])}return r.use(e,{imageClass:"",removeUnbalanced:!1,removeUnknown:!1}),{register:function(e){e.bindingHandlers.markdown={init:function(){return{controlsDescendantBindings:!0}},update:function(t,o){for(;t.firstChild;)e.removeNode(t.firstChild);var a,s=e.unwrap(o());a=n.test(s)?s:r.render(s);var c=e.utils.parseHtmlFragment(a,t);t.className=t.className+" markdown";for(var u=0;u<c.length;++u){var l=c[u];i(l),t.appendChild(l)}}}}}})),function(e,t,n,i){"use strict";function o(e,t,n){return setTimeout(l(e,n),t)}function a(e,t,n){return!!Array.isArray(e)&&(s(e,n[t],n),!0)}function s(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==i)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function c(t,n,r){var i="DEPRECATED METHOD: "+n+"\n"+r+" AT \n";return function(){var n=new Error("get-stack-trace"),r=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=e.console&&(e.console.warn||e.console.log);return o&&o.call(e.console,i,r),t.apply(this,arguments)}}function u(e,t,n){var r,i=t.prototype;(r=e.prototype=Object.create(i)).constructor=e,r._super=i,n&&ie(r,n)}function l(e,t){return function(){return e.apply(t,arguments)}}function p(e,t){return typeof e==se?e.apply(t&&t[0]||i,t):e}function h(e,t){return e===i?t:e}function f(e,t,n){s(v(t),(function(t){e.addEventListener(t,n,!1)}))}function d(e,t,n){s(v(t),(function(t){e.removeEventListener(t,n,!1)}))}function m(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function g(e,t){return e.indexOf(t)>-1}function v(e){return e.trim().split(/\s+/g)}function b(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function y(e){return Array.prototype.slice.call(e,0)}function _(e,t,n){for(var r=[],i=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];b(i,a)<0&&r.push(e[o]),i[o]=a,o++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function k(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),a=0;a<oe.length;){if((r=(n=oe[a])?n+o:t)in e)return r;a++}return i}function C(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||e}function w(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){p(e.options.enable,[e])&&n.handler(t)},this.init()}function x(e,t,n){var r=n.pointers.length,i=n.changedPointers.length,o=t&_e&&r-i==0,a=t&(Ce|we)&&r-i==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,i=r.length;n.firstInput||(n.firstInput=A(t)),i>1&&!n.firstMultiple?n.firstMultiple=A(t):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,c=t.center=D(r);t.timeStamp=le(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=L(s,c),t.distance=F(s,c),function(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},o=e.prevInput||{};t.eventType!==_e&&o.eventType!==Ce||(i=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}(n,t),t.offsetDirection=S(t.deltaX,t.deltaY);var u=T(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=ue(u.x)>ue(u.y)?u.x:u.y,t.scale=a?function(e,t){return F(t[0],t[1],Ne)/F(e[0],e[1],Ne)}(a.pointers,r):1,t.rotation=a?function(e,t){return L(t[1],t[0],Ne)+L(e[1],e[0],Ne)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,E(n,t);var l=e.element;m(t.srcEvent.target,l)&&(l=t.srcEvent.target),t.target=l}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function E(e,t){var n,r,o,a,s=e.lastInterval||t,c=t.timeStamp-s.timeStamp;if(t.eventType!=we&&(c>ye||s.velocity===i)){var u=t.deltaX-s.deltaX,l=t.deltaY-s.deltaY,p=T(c,u,l);r=p.x,o=p.y,n=ue(p.x)>ue(p.y)?p.x:p.y,a=S(u,l),e.lastInterval=t}else n=s.velocity,r=s.velocityX,o=s.velocityY,a=s.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=a}function A(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:ce(e.pointers[n].clientX),clientY:ce(e.pointers[n].clientY)},n++;return{timeStamp:le(),pointers:t,center:D(t),deltaX:e.deltaX,deltaY:e.deltaY}}function D(e){var t=e.length;if(1===t)return{x:ce(e[0].clientX),y:ce(e[0].clientY)};for(var n=0,r=0,i=0;t>i;)n+=e[i].clientX,r+=e[i].clientY,i++;return{x:ce(n/t),y:ce(r/t)}}function T(e,t,n){return{x:t/e||0,y:n/e||0}}function S(e,t){return e===t?xe:ue(e)>=ue(t)?0>e?Ee:Ae:0>t?De:Te}function F(e,t,n){n||(n=Me);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return Math.sqrt(r*r+i*i)}function L(e,t,n){n||(n=Me);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return 180*Math.atan2(i,r)/Math.PI}function M(){this.evEl=ze,this.evWin=Oe,this.pressed=!1,w.apply(this,arguments)}function N(){this.evEl=Pe,this.evWin=je,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function q(){this.evTarget=Ve,this.evWin=$e,this.started=!1,w.apply(this,arguments)}function z(e,t){var n=y(e.touches),r=y(e.changedTouches);return t&(Ce|we)&&(n=_(n.concat(r),"identifier",!0)),[n,r]}function O(){this.evTarget=He,this.targetIds={},w.apply(this,arguments)}function R(e,t){var n=y(e.touches),r=this.targetIds;if(t&(_e|ke)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,a=y(e.changedTouches),s=[],c=this.target;if(o=n.filter((function(e){return m(e.target,c)})),t===_e)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<a.length;)r[a[i].identifier]&&s.push(a[i]),t&(Ce|we)&&delete r[a[i].identifier],i++;return s.length?[_(o.concat(s),"identifier",!0),s]:void 0}function I(){w.apply(this,arguments);var e=l(this.handler,this);this.touch=new O(this.manager,e),this.mouse=new M(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function P(e,t){e&_e?(this.primaryTouch=t.changedPointers[0].identifier,j.call(this,t)):e&(Ce|we)&&j.call(this,t)}function j(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),We)}}function B(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(t-i.x),a=Math.abs(n-i.y);if(Ze>=o&&Ze>=a)return!0}return!1}function V(e,t){this.manager=e,this.set(t)}function $(e){this.options=ie({},this.defaults,e||{}),this.id=fe++,this.manager=null,this.options.enable=h(this.options.enable,!0),this.state=rt,this.simultaneous={},this.requireFail=[]}function U(e){return e&ct?"cancel":e&at?"end":e&ot?"move":e&it?"start":""}function H(e){return e==Te?"down":e==De?"up":e==Ee?"left":e==Ae?"right":""}function W(e,t){var n=t.manager;return n?n.get(e):e}function Z(){$.apply(this,arguments)}function G(){Z.apply(this,arguments),this.pX=null,this.pY=null}function Y(){Z.apply(this,arguments)}function J(){$.apply(this,arguments),this._timer=null,this._input=null}function X(){Z.apply(this,arguments)}function K(){Z.apply(this,arguments)}function Q(){$.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ee(e,t){return(t=t||{}).recognizers=h(t.recognizers,ee.defaults.preset),new te(e,t)}function te(e,t){this.options=ie({},ee.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=function(e){return new(e.options.inputClass||(me?N:ge?O:de?I:M))(e,x)}(this),this.touchAction=new V(this,this.options.touchAction),ne(this,!0),s(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function ne(e,t){var n,r=e.element;r.style&&(s(e.options.cssProps,(function(i,o){n=k(r.style,o),t?(e.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}function re(e,n){var r=t.createEvent("Event");r.initEvent(e,!0,!0),r.gesture=n,n.target.dispatchEvent(r)}var ie,oe=["","webkit","Moz","MS","ms","o"],ae=t.createElement("div"),se="function",ce=Math.round,ue=Math.abs,le=Date.now;ie="function"!=typeof Object.assign?function(e){if(e===i||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==i&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var pe=c((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&e[r[o]]===i)&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),he=c((function(e,t){return pe(e,t,!0)}),"merge","Use `assign`."),fe=1,de="ontouchstart"in e,me=k(e,"PointerEvent")!==i,ge=de&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ve="touch",be="mouse",ye=25,_e=1,ke=2,Ce=4,we=8,xe=1,Ee=2,Ae=4,De=8,Te=16,Se=Ee|Ae,Fe=De|Te,Le=Se|Fe,Me=["x","y"],Ne=["clientX","clientY"];w.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(C(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(C(this.element),this.evWin,this.domHandler)}};var qe={mousedown:_e,mousemove:ke,mouseup:Ce},ze="mousedown",Oe="mousemove mouseup";u(M,w,{handler:function(e){var t=qe[e.type];t&_e&&0===e.button&&(this.pressed=!0),t&ke&&1!==e.which&&(t=Ce),this.pressed&&(t&Ce&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:be,srcEvent:e}))}});var Re={pointerdown:_e,pointermove:ke,pointerup:Ce,pointercancel:we,pointerout:we},Ie={2:ve,3:"pen",4:be,5:"kinect"},Pe="pointerdown",je="pointermove pointerup pointercancel";e.MSPointerEvent&&!e.PointerEvent&&(Pe="MSPointerDown",je="MSPointerMove MSPointerUp MSPointerCancel"),u(N,w,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),i=Re[r],o=Ie[e.pointerType]||e.pointerType,a=o==ve,s=b(t,e.pointerId,"pointerId");i&_e&&(0===e.button||a)?0>s&&(t.push(e),s=t.length-1):i&(Ce|we)&&(n=!0),0>s||(t[s]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var Be={touchstart:_e,touchmove:ke,touchend:Ce,touchcancel:we},Ve="touchstart",$e="touchstart touchmove touchend touchcancel";u(q,w,{handler:function(e){var t=Be[e.type];if(t===_e&&(this.started=!0),this.started){var n=z.call(this,e,t);t&(Ce|we)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ve,srcEvent:e})}}});var Ue={touchstart:_e,touchmove:ke,touchend:Ce,touchcancel:we},He="touchstart touchmove touchend touchcancel";u(O,w,{handler:function(e){var t=Ue[e.type],n=R.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:ve,srcEvent:e})}});var We=2500,Ze=25;u(I,w,{handler:function(e,t,n){var r=n.pointerType==ve,i=n.pointerType==be;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)P.call(this,t,n);else if(i&&B.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ge=k(ae.style,"touchAction"),Ye=Ge!==i,Je="compute",Xe="auto",Ke="manipulation",Qe="none",et="pan-x",tt="pan-y",nt=function(){if(!Ye)return!1;var t={},n=e.CSS&&e.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){t[r]=!n||e.CSS.supports("touch-action",r)})),t}();V.prototype={set:function(e){e==Je&&(e=this.compute()),Ye&&this.manager.element.style&&nt[e]&&(this.manager.element.style[Ge]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return s(this.manager.recognizers,(function(t){p(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(g(e,Qe))return Qe;var t=g(e,et),n=g(e,tt);return t&&n?Qe:t||n?t?et:tt:g(e,Ke)?Ke:Xe}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(!this.manager.session.prevented){var r=this.actions,i=g(r,Qe)&&!nt[Qe],o=g(r,tt)&&!nt[tt],a=g(r,et)&&!nt[et];if(i){var s=1===e.pointers.length,c=e.distance<2,u=e.deltaTime<250;if(s&&c&&u)return}return a&&o?void 0:i||o&&n&Se||a&&n&Fe?this.preventSrc(t):void 0}t.preventDefault()},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var rt=1,it=2,ot=4,at=8,st=at,ct=16,ut=32;$.prototype={defaults:{},set:function(e){return ie(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(a(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=W(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return a(e,"dropRecognizeWith",this)||(e=W(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(a(e,"requireFailure",this))return this;var t=this.requireFail;return-1===b(t,e=W(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(a(e,"dropRequireFailure",this))return this;e=W(e,this);var t=b(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,r=this.state;at>r&&t(n.options.event+U(r)),t(n.options.event),e.additionalEvent&&t(e.additionalEvent),r>=at&&t(n.options.event+U(r))},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=ut)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(ut|rt)))return!1;e++}return!0},recognize:function(e){var t=ie({},e);return p(this.options.enable,[this,t])?(this.state&(st|ct|ut)&&(this.state=rt),this.state=this.process(t),void(this.state&(it|ot|at|ct)&&this.tryEmit(t))):(this.reset(),void(this.state=ut))},process:function(e){},getTouchAction:function(){},reset:function(){}},u(Z,$,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=t&(it|ot),i=this.attrTest(e);return r&&(n&we||!i)?t|ct:r||i?n&Ce?t|at:t&it?t|ot:it:ut}}),u(G,Z,{defaults:{event:"pan",threshold:10,pointers:1,direction:Le},getTouchAction:function(){var e=this.options.direction,t=[];return e&Se&&t.push(tt),e&Fe&&t.push(et),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,i=e.direction,o=e.deltaX,a=e.deltaY;return i&t.direction||(t.direction&Se?(i=0===o?xe:0>o?Ee:Ae,n=o!=this.pX,r=Math.abs(e.deltaX)):(i=0===a?xe:0>a?De:Te,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=i,n&&r>t.threshold&&i&t.direction},attrTest:function(e){return Z.prototype.attrTest.call(this,e)&&(this.state&it||!(this.state&it)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=H(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),u(Y,Z,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&it)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),u(J,$,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime>t.time;if(this._input=e,!r||!n||e.eventType&(Ce|we)&&!i)this.reset();else if(e.eventType&_e)this.reset(),this._timer=o((function(){this.state=st,this.tryEmit()}),t.time,this);else if(e.eventType&Ce)return st;return ut},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===st&&(e&&e.eventType&Ce?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=le(),this.manager.emit(this.options.event,this._input)))}}),u(X,Z,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&it)}}),u(K,Z,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Se|Fe,pointers:1},getTouchAction:function(){return G.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Se|Fe)?t=e.overallVelocity:n&Se?t=e.overallVelocityX:n&Fe&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&ue(t)>this.options.velocity&&e.eventType&Ce},emit:function(e){var t=H(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),u(Q,$,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ke]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime<t.time;if(this.reset(),e.eventType&_e&&0===this.count)return this.failTimeout();if(r&&i&&n){if(e.eventType!=Ce)return this.failTimeout();var a=!this.pTime||e.timeStamp-this.pTime<t.interval,s=!this.pCenter||F(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,s&&a?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=o((function(){this.state=st,this.tryEmit()}),t.interval,this),it):st}return ut},failTimeout:function(){return this._timer=o((function(){this.state=ut}),this.options.interval,this),ut},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==st&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ee.VERSION="2.0.7",ee.defaults={domEvents:!1,touchAction:Je,enable:!0,inputTarget:null,inputClass:null,preset:[[X,{enable:!1}],[Y,{enable:!1},["rotate"]],[K,{direction:Se}],[G,{direction:Se},["swipe"]],[Q],[Q,{event:"doubletap",taps:2},["tap"]],[J]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},te.prototype={set:function(e){return ie(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,r=this.recognizers,i=t.curRecognizer;(!i||i&&i.state&st)&&(i=t.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===t.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(e),!i&&n.state&(it|ot|at)&&(i=t.curRecognizer=n),o++}},get:function(e){if(e instanceof $)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(a(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(a(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=b(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==i&&t!==i){var n=this.handlers;return s(v(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==i){var n=this.handlers;return s(v(e),(function(e){t?n[e]&&n[e].splice(b(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&re(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&ne(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ie(ee,{INPUT_START:_e,INPUT_MOVE:ke,INPUT_END:Ce,INPUT_CANCEL:we,STATE_POSSIBLE:rt,STATE_BEGAN:it,STATE_CHANGED:ot,STATE_ENDED:at,STATE_RECOGNIZED:st,STATE_CANCELLED:ct,STATE_FAILED:ut,DIRECTION_NONE:xe,DIRECTION_LEFT:Ee,DIRECTION_RIGHT:Ae,DIRECTION_UP:De,DIRECTION_DOWN:Te,DIRECTION_HORIZONTAL:Se,DIRECTION_VERTICAL:Fe,DIRECTION_ALL:Le,Manager:te,Input:w,TouchAction:V,TouchInput:O,MouseInput:M,PointerEventInput:N,TouchMouseInput:I,SingleTouchInput:q,Recognizer:$,AttrRecognizer:Z,Tap:Q,Pan:G,Swipe:K,Pinch:Y,Rotate:X,Press:J,on:f,off:d,each:s,merge:he,extend:pe,assign:ie,inherit:u,bindFn:l,prefixed:k}),(void 0!==e?e:"undefined"!=typeof self?self:{}).Hammer=ee,"function"==typeof r&&r.amd?r("Hammer",[],(function(){return ee})):"undefined"!=typeof module&&module.exports?module.exports=ee:e.Hammer=ee}(window,document),r("Core/KnockoutHammerBinding",["KnockoutES5","Hammer"],(function(e,t){"use strict";var n={register:function(e){e.bindingHandlers.swipeLeft={init:function(n,r,i,o,a){var s=e.unwrap(r());new t(n).on("swipeleft",(function(e){var t=a.$data;s.apply(t,arguments)}))}},e.bindingHandlers.swipeRight={init:function(n,r,i,o,a){var s=e.unwrap(r());new t(n).on("swiperight",(function(e){var t=a.$data;s.apply(t,arguments)}))}}}};return n})),r("Core/registerKnockoutBindings",["Cesium/Widgets/SvgPathBindingHandler","KnockoutES5","Core/KnockoutMarkdownBinding","Core/KnockoutHammerBinding"],(function(e,t,n,r){"use strict";return function(){e.register(t),n.register(t),r.register(t),t.bindingHandlers.embeddedComponent={init:function(e,n,r,i,o){return t.unwrap(n()).show(e),{controlsDescendantBindings:!0}},update:function(e,t,n,r,i){}}}})),r("Core/createFragmentFromTemplate",[],(function(){"use strict";return function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=document.createDocumentFragment();t.firstChild;)n.appendChild(t.firstChild);return n}})),r("Core/loadView",["Cesium/Widgets/getElement","KnockoutES5","Core/createFragmentFromTemplate"],(function(e,t,n){"use strict";return function(r,i,o){i=e(i);var a,s=n(r),c=[];for(a=0;a<s.childNodes.length;++a)c.push(s.childNodes[a]);for(i.appendChild(s),a=0;a<c.length;++a){var u=c[a];1!==u.nodeType&&8!==u.nodeType||t.applyBindings(o,u)}return c}})),r("ViewModels/DistanceLegendViewModel",["Cesium/Core/defined","Cesium/Core/DeveloperError","Cesium/Core/EllipsoidGeodesic","Cesium/Core/Cartesian2","Cesium/Core/getTimestamp","Cesium/Core/EventHelper","KnockoutES5","Core/loadView"],(function(e,t,n,r,i,o,a,s){"use strict";var c=function(n){if(!e(n)||!e(n.terria))throw new t("options.terria is required.");this.terria=n.terria,this._removeSubscription=void 0,this._lastLegendUpdate=void 0,this.eventHelper=new o,this.distanceLabel=void 0,this.barWidth=void 0,this.enableDistanceLegend=!e(n.enableDistanceLegend)||n.enableDistanceLegend,a.track(this,["distanceLabel","barWidth"]),this.eventHelper.add(this.terria.afterWidgetChanged,(function(){e(this._removeSubscription)&&(this._removeSubscription(),this._removeSubscription=void 0)}),this);var s=this;function c(){if(e(s.terria)){var t=s.terria.scene;s._removeSubscription=t.postRender.addEventListener((function(){!function(t,n){if(!t.enableDistanceLegend)return t.barWidth=void 0,void(t.distanceLabel=void 0);var o=i();if(!(o<t._lastLegendUpdate+250)){t._lastLegendUpdate=o;var a=n.canvas.clientWidth,s=n.canvas.clientHeight,c=n.camera.getPickRay(new r(a/2|0,s-1)),p=n.camera.getPickRay(new r(1+a/2|0,s-1)),h=n.globe,f=h.pick(c,n),d=h.pick(p,n);if(!e(f)||!e(d))return t.barWidth=void 0,void(t.distanceLabel=void 0);var m,g=h.ellipsoid.cartesianToCartographic(f),v=h.ellipsoid.cartesianToCartographic(d);u.setEndPoints(g,v);for(var b,y=u.surfaceDistance,_=l.length-1;!e(b)&&_>=0;--_)l[_]/y<100&&(b=l[_]);if(e(b))m=b>=1e3?(b/1e3).toString()+" km":b.toString()+" m",t.barWidth=b/y|0,t.distanceLabel=m;else t.barWidth=void 0,t.distanceLabel=void 0}}(this,t)}),s)}}c(),this.eventHelper.add(this.terria.afterWidgetChanged,(function(){c()}),this)};c.prototype.destroy=function(){this.eventHelper.removeAll()},c.prototype.show=function(e){var t;t=this.enableDistanceLegend?'<div class="distance-legend" data-bind="visible: distanceLabel && barWidth"><div class="distance-legend-label" data-bind="text: distanceLabel"></div><div class="distance-legend-scale-bar" data-bind="style: { width: barWidth + \'px\', left: (5 + (125 - barWidth) / 2) + \'px\' }"></div></div>':'<div class="distance-legend" style="display: none;" data-bind="visible: distanceLabel && barWidth"><div class="distance-legend-label" data-bind="text: distanceLabel"></div><div class="distance-legend-scale-bar" data-bind="style: { width: barWidth + \'px\', left: (5 + (125 - barWidth) / 2) + \'px\' }"></div></div>',s(t,e,this)},c.create=function(e){var t=new c(e);return t.show(e.container),t};var u=new n,l=[1,2,3,5,10,20,30,50,100,200,300,500,1e3,2e3,3e3,5e3,1e4,2e4,3e4,5e4,1e5,2e5,3e5,5e5,1e6,2e6,3e6,5e6,1e7,2e7,3e7,5e7];return c})),r("ViewModels/UserInterfaceControl",["Cesium/Core/defined","Cesium/Core/DeveloperError","KnockoutES5"],(function(e,t,n){"use strict";var r=function(r){if(!e(r))throw new t("terria is required");this._terria=r,this.name="Unnamed Control",this.text=void 0,this.svgIcon=void 0,this.svgHeight=void 0,this.svgWidth=void 0,this.cssClass=void 0,this.isActive=!1,n.track(this,["name","svgIcon","svgHeight","svgWidth","cssClass","isActive"])};return Object.defineProperties(r.prototype,{terria:{get:function(){return this._terria}},hasText:{get:function(){return e(this.text)&&"string"==typeof this.text}}}),r.prototype.activate=function(){throw new t("activate must be implemented in the derived class.")},r})),r("ViewModels/NavigationControl",["ViewModels/UserInterfaceControl"],(function(e){"use strict";var t=function(t){e.apply(this,arguments)};return t.prototype=Object.create(e.prototype),t})),r("SvgPaths/svgReset",[],(function(){"use strict";return"M 7.5,0 C 3.375,0 0,3.375 0,7.5 0,11.625 3.375,15 7.5,15 c 3.46875,0 6.375,-2.4375 7.21875,-5.625 l -1.96875,0 C 12,11.53125 9.9375,13.125 7.5,13.125 4.40625,13.125 1.875,10.59375 1.875,7.5 1.875,4.40625 4.40625,1.875 7.5,1.875 c 1.59375,0 2.90625,0.65625 3.9375,1.6875 l -3,3 6.5625,0 L 15,0 12.75,2.25 C 11.4375,0.84375 9.5625,0 7.5,0 z"})),r("ViewModels/ResetViewNavigationControl",["Cesium/Core/defined","Cesium/Scene/Camera","Cesium/Core/Rectangle","Cesium/Core/Cartographic","ViewModels/NavigationControl","SvgPaths/svgReset"],(function(e,t,n,r,i,o){"use strict";var a=function(e){i.apply(this,arguments),this.name="重置视图",this.navigationLocked=!1,this.svgIcon=o,this.svgHeight=15,this.svgWidth=15,this.cssClass="navigation-control-icon-reset"};return(a.prototype=Object.create(i.prototype)).setNavigationLocked=function(e){this.navigationLocked=e},a.prototype.resetView=function(){if(!this.navigationLocked){var i=this.terria.scene;if(i.screenSpaceCameraController.enableInputs){this.isActive=!0;var o=i.camera;if(e(this.terria.trackedEntity)){var a=this.terria.trackedEntity;this.terria.trackedEntity=void 0,this.terria.trackedEntity=a}else if(this.terria.options.defaultResetView){if(this.terria.options.defaultResetView&&this.terria.options.defaultResetView instanceof r)console.log(this.terria.options.defaultResetView),o.flyTo({destination:i.globe.ellipsoid.cartographicToCartesian(this.terria.options.defaultResetView)});else if(this.terria.options.defaultResetView&&this.terria.options.defaultResetView instanceof n)try{n.validate(this.terria.options.defaultResetView),o.flyTo({destination:this.terria.options.defaultResetView})}catch(e){console.log("Cesium-navigation/ResetViewNavigationControl: options.defaultResetView Cesium rectangle is invalid!")}}else"function"==typeof o.flyHome?o.flyHome(1):o.flyTo({destination:t.DEFAULT_VIEW_RECTANGLE,duration:1});this.isActive=!1}}},a.prototype.activate=function(){this.resetView()},a})),r("Core/Utils",["Cesium/Core/defined","Cesium/Core/Ray","Cesium/Core/Cartesian3","Cesium/Core/Cartographic","Cesium/Core/ReferenceFrame","Cesium/Scene/SceneMode"],(function(e,t,n,r,i,o){"use strict";var a={},s=new r,c=new t;return a.getCameraFocus=function(t,r,i){var a=t.scene,u=a.camera;if(a.mode!=o.MORPHING&&(e(i)||(i=new n),e(t.trackedEntity)?i=t.trackedEntity.position.getValue(t.clock.currentTime,i):(c.origin=u.positionWC,c.direction=u.directionWC,i=a.globe.pick(c,a,i)),e(i)))return a.mode==o.SCENE2D||a.mode==o.COLUMBUS_VIEW?(i=u.worldToCameraCoordinatesPoint(i,i),r&&(i=a.globe.ellipsoid.cartographicToCartesian(a.mapProjection.unproject(i,s),i))):r||(i=u.worldToCameraCoordinatesPoint(i,i)),i},a})),r("ViewModels/ZoomNavigationControl",["Cesium/Core/defined","Cesium/Core/Ray","Cesium/Core/IntersectionTests","Cesium/Core/Cartesian3","Cesium/Scene/SceneMode","ViewModels/NavigationControl","Core/Utils"],(function(e,t,n,r,i,o,a){"use strict";var s=function(e,t){o.apply(this,arguments),this.name="",this.text=t?"+":"-",this.cssClass="navigation-control-icon-zoom-"+(t?"in":"out"),this.relativeAmount=2,t&&(this.relativeAmount=1/this.relativeAmount)};s.prototype.relativeAmount=1,(s.prototype=Object.create(o.prototype)).activate=function(){this.zoom(this.relativeAmount)};var c=new r;return s.prototype.zoom=function(o){if(this.isActive=!0,e(this.terria)){var s=this.terria.scene,u=s.screenSpaceCameraController;if(!u.enableInputs||!u.enableZoom)return;var l,p=s.camera;switch(s.mode){case i.MORPHING:break;case i.SCENE2D:p.zoomIn(p.positionCartographic.height*(1-this.relativeAmount));break;default:var h;if(h=e(this.terria.trackedEntity)?new r:a.getCameraFocus(this.terria,!1),e(h))l={direction:p.direction,up:p.up};else{var f=new t(p.worldToCameraCoordinatesPoint(s.globe.ellipsoid.cartographicToCartesian(p.positionCartographic)),p.directionWC);h=n.grazingAltitudeLocation(f,s.globe.ellipsoid),l={heading:p.heading,pitch:p.pitch,roll:p.roll}}var d=r.subtract(p.position,h,c),m=r.multiplyByScalar(d,o,d),g=r.add(h,m,h);e(this.terria.trackedEntity)||s.mode==i.COLUMBUS_VIEW?p.position=g:p.flyTo({destination:g,orientation:l,duration:.5,convert:!1})}}this.isActive=!1},s})),r("SvgPaths/svgCompassOuterRing",[],(function(){"use strict";return"m 66.5625,0 0,15.15625 3.71875,0 0,-10.40625 5.5,10.40625 4.375,0 0,-15.15625 -3.71875,0 0,10.40625 L 70.9375,0 66.5625,0 z M 72.5,20.21875 c -28.867432,0 -52.28125,23.407738 -52.28125,52.28125 0,28.87351 23.413818,52.3125 52.28125,52.3125 28.86743,0 52.28125,-23.43899 52.28125,-52.3125 0,-28.873512 -23.41382,-52.28125 -52.28125,-52.28125 z m 0,1.75 c 13.842515,0 26.368948,5.558092 35.5,14.5625 l -11.03125,11 0.625,0.625 11.03125,-11 c 8.9199,9.108762 14.4375,21.579143 14.4375,35.34375 0,13.764606 -5.5176,26.22729 -14.4375,35.34375 l -11.03125,-11 -0.625,0.625 11.03125,11 c -9.130866,9.01087 -21.658601,14.59375 -35.5,14.59375 -13.801622,0 -26.321058,-5.53481 -35.4375,-14.5 l 11.125,-11.09375 c 6.277989,6.12179 14.857796,9.90625 24.3125,9.90625 19.241896,0 34.875,-15.629154 34.875,-34.875 0,-19.245847 -15.633104,-34.84375 -34.875,-34.84375 -9.454704,0 -18.034511,3.760884 -24.3125,9.875 L 37.0625,36.4375 C 46.179178,27.478444 58.696991,21.96875 72.5,21.96875 z m -0.875,0.84375 0,13.9375 1.75,0 0,-13.9375 -1.75,0 z M 36.46875,37.0625 47.5625,48.15625 C 41.429794,54.436565 37.65625,63.027539 37.65625,72.5 c 0,9.472461 3.773544,18.055746 9.90625,24.34375 L 36.46875,107.9375 c -8.96721,-9.1247 -14.5,-21.624886 -14.5,-35.4375 0,-13.812615 5.53279,-26.320526 14.5,-35.4375 z M 72.5,39.40625 c 18.297686,0 33.125,14.791695 33.125,33.09375 0,18.302054 -14.827314,33.125 -33.125,33.125 -18.297687,0 -33.09375,-14.822946 -33.09375,-33.125 0,-18.302056 14.796063,-33.09375 33.09375,-33.09375 z M 22.84375,71.625 l 0,1.75 13.96875,0 0,-1.75 -13.96875,0 z m 85.5625,0 0,1.75 14,0 0,-1.75 -14,0 z M 71.75,108.25 l 0,13.9375 1.71875,0 0,-13.9375 -1.71875,0 z"})),r("SvgPaths/svgCompassGyro",[],(function(){"use strict";return"m 72.71875,54.375 c -0.476702,0 -0.908208,0.245402 -1.21875,0.5625 -0.310542,0.317098 -0.551189,0.701933 -0.78125,1.1875 -0.172018,0.363062 -0.319101,0.791709 -0.46875,1.25 -6.91615,1.075544 -12.313231,6.656514 -13,13.625 -0.327516,0.117495 -0.661877,0.244642 -0.9375,0.375 -0.485434,0.22959 -0.901634,0.471239 -1.21875,0.78125 -0.317116,0.310011 -0.5625,0.742111 -0.5625,1.21875 l 0.03125,0 c 0,0.476639 0.245384,0.877489 0.5625,1.1875 0.317116,0.310011 0.702066,0.58291 1.1875,0.8125 0.35554,0.168155 0.771616,0.32165 1.21875,0.46875 1.370803,6.10004 6.420817,10.834127 12.71875,11.8125 0.146999,0.447079 0.30025,0.863113 0.46875,1.21875 0.230061,0.485567 0.470708,0.870402 0.78125,1.1875 0.310542,0.317098 0.742048,0.5625 1.21875,0.5625 0.476702,0 0.876958,-0.245402 1.1875,-0.5625 0.310542,-0.317098 0.582439,-0.701933 0.8125,-1.1875 0.172018,-0.363062 0.319101,-0.791709 0.46875,-1.25 6.249045,-1.017063 11.256351,-5.7184 12.625,-11.78125 0.447134,-0.1471 0.86321,-0.300595 1.21875,-0.46875 0.485434,-0.22959 0.901633,-0.502489 1.21875,-0.8125 0.317117,-0.310011 0.5625,-0.710861 0.5625,-1.1875 l -0.03125,0 c 0,-0.476639 -0.245383,-0.908739 -0.5625,-1.21875 C 89.901633,71.846239 89.516684,71.60459 89.03125,71.375 88.755626,71.244642 88.456123,71.117495 88.125,71 87.439949,64.078341 82.072807,58.503735 75.21875,57.375 c -0.15044,-0.461669 -0.326927,-0.884711 -0.5,-1.25 -0.230061,-0.485567 -0.501958,-0.870402 -0.8125,-1.1875 -0.310542,-0.317098 -0.710798,-0.5625 -1.1875,-0.5625 z m -0.0625,1.40625 c 0.03595,-0.01283 0.05968,0 0.0625,0 0.0056,0 0.04321,-0.02233 0.1875,0.125 0.144288,0.147334 0.34336,0.447188 0.53125,0.84375 0.06385,0.134761 0.123901,0.309578 0.1875,0.46875 -0.320353,-0.01957 -0.643524,-0.0625 -0.96875,-0.0625 -0.289073,0 -0.558569,0.04702 -0.84375,0.0625 C 71.8761,57.059578 71.936151,56.884761 72,56.75 c 0.18789,-0.396562 0.355712,-0.696416 0.5,-0.84375 0.07214,-0.07367 0.120304,-0.112167 0.15625,-0.125 z m 0,2.40625 c 0.448007,0 0.906196,0.05436 1.34375,0.09375 0.177011,0.592256 0.347655,1.271044 0.5,2.03125 0.475097,2.370753 0.807525,5.463852 0.9375,8.9375 -0.906869,-0.02852 -1.834463,-0.0625 -2.78125,-0.0625 -0.92298,0 -1.802327,0.03537 -2.6875,0.0625 0.138529,-3.473648 0.493653,-6.566747 0.96875,-8.9375 0.154684,-0.771878 0.320019,-1.463985 0.5,-2.0625 0.405568,-0.03377 0.804291,-0.0625 1.21875,-0.0625 z m -2.71875,0.28125 c -0.129732,0.498888 -0.259782,0.987558 -0.375,1.5625 -0.498513,2.487595 -0.838088,5.693299 -0.96875,9.25 -3.21363,0.15162 -6.119596,0.480068 -8.40625,0.9375 -0.682394,0.136509 -1.275579,0.279657 -1.84375,0.4375 0.799068,-6.135482 5.504716,-11.036454 11.59375,-12.1875 z M 75.5,58.5 c 6.043169,1.18408 10.705093,6.052712 11.5,12.15625 -0.569435,-0.155806 -1.200273,-0.302525 -1.875,-0.4375 -2.262525,-0.452605 -5.108535,-0.783809 -8.28125,-0.9375 -0.130662,-3.556701 -0.470237,-6.762405 -0.96875,-9.25 C 75.761959,59.467174 75.626981,58.990925 75.5,58.5 z m -2.84375,12.09375 c 0.959338,0 1.895843,0.03282 2.8125,0.0625 C 75.48165,71.267751 75.5,71.871028 75.5,72.5 c 0,1.228616 -0.01449,2.438313 -0.0625,3.59375 -0.897358,0.0284 -1.811972,0.0625 -2.75,0.0625 -0.927373,0 -1.831062,-0.03473 -2.71875,-0.0625 -0.05109,-1.155437 -0.0625,-2.365134 -0.0625,-3.59375 0,-0.628972 0.01741,-1.232249 0.03125,-1.84375 0.895269,-0.02827 1.783025,-0.0625 2.71875,-0.0625 z M 68.5625,70.6875 c -0.01243,0.60601 -0.03125,1.189946 -0.03125,1.8125 0,1.22431 0.01541,2.407837 0.0625,3.5625 -3.125243,-0.150329 -5.92077,-0.471558 -8.09375,-0.90625 -0.784983,-0.157031 -1.511491,-0.316471 -2.125,-0.5 -0.107878,-0.704096 -0.1875,-1.422089 -0.1875,-2.15625 0,-0.115714 0.02849,-0.228688 0.03125,-0.34375 0.643106,-0.20284 1.389577,-0.390377 2.25,-0.5625 2.166953,-0.433487 4.97905,-0.75541 8.09375,-0.90625 z m 8.3125,0.03125 c 3.075121,0.15271 5.824455,0.446046 7.96875,0.875 0.857478,0.171534 1.630962,0.360416 2.28125,0.5625 0.0027,0.114659 0,0.228443 0,0.34375 0,0.735827 -0.07914,1.450633 -0.1875,2.15625 -0.598568,0.180148 -1.29077,0.34562 -2.0625,0.5 -2.158064,0.431708 -4.932088,0.754666 -8.03125,0.90625 0.04709,-1.154663 0.0625,-2.33819 0.0625,-3.5625 0,-0.611824 -0.01924,-1.185379 -0.03125,-1.78125 z M 57.15625,72.5625 c 0.0023,0.572772 0.06082,1.131112 0.125,1.6875 -0.125327,-0.05123 -0.266577,-0.10497 -0.375,-0.15625 -0.396499,-0.187528 -0.665288,-0.387337 -0.8125,-0.53125 -0.147212,-0.143913 -0.15625,-0.182756 -0.15625,-0.1875 0,-0.0047 -0.02221,-0.07484 0.125,-0.21875 0.147212,-0.143913 0.447251,-0.312472 0.84375,-0.5 0.07123,-0.03369 0.171867,-0.06006 0.25,-0.09375 z m 31.03125,0 c 0.08201,0.03503 0.175941,0.05872 0.25,0.09375 0.396499,0.187528 0.665288,0.356087 0.8125,0.5 0.14725,0.14391 0.15625,0.21405 0.15625,0.21875 0,0.0047 -0.009,0.04359 -0.15625,0.1875 -0.147212,0.143913 -0.416001,0.343722 -0.8125,0.53125 -0.09755,0.04613 -0.233314,0.07889 -0.34375,0.125 0.06214,-0.546289 0.09144,-1.094215 0.09375,-1.65625 z m -29.5,3.625 c 0.479308,0.123125 0.983064,0.234089 1.53125,0.34375 2.301781,0.460458 5.229421,0.787224 8.46875,0.9375 0.167006,2.84339 0.46081,5.433176 0.875,7.5 0.115218,0.574942 0.245268,1.063612 0.375,1.5625 -5.463677,-1.028179 -9.833074,-5.091831 -11.25,-10.34375 z m 27.96875,0 C 85.247546,81.408945 80.919274,85.442932 75.5,86.5 c 0.126981,-0.490925 0.261959,-0.967174 0.375,-1.53125 0.41419,-2.066824 0.707994,-4.65661 0.875,-7.5 3.204493,-0.15162 6.088346,-0.480068 8.375,-0.9375 0.548186,-0.109661 1.051942,-0.220625 1.53125,-0.34375 z M 70.0625,77.53125 c 0.865391,0.02589 1.723666,0.03125 2.625,0.03125 0.912062,0 1.782843,-0.0048 2.65625,-0.03125 -0.165173,2.736408 -0.453252,5.207651 -0.84375,7.15625 -0.152345,0.760206 -0.322989,1.438994 -0.5,2.03125 -0.437447,0.03919 -0.895856,0.0625 -1.34375,0.0625 -0.414943,0 -0.812719,-0.02881 -1.21875,-0.0625 -0.177011,-0.592256 -0.347655,-1.271044 -0.5,-2.03125 -0.390498,-1.948599 -0.700644,-4.419842 -0.875,-7.15625 z m 1.75,10.28125 c 0.284911,0.01545 0.554954,0.03125 0.84375,0.03125 0.325029,0 0.648588,-0.01171 0.96875,-0.03125 -0.05999,0.148763 -0.127309,0.31046 -0.1875,0.4375 -0.18789,0.396562 -0.386962,0.696416 -0.53125,0.84375 -0.144288,0.147334 -0.181857,0.125 -0.1875,0.125 -0.0056,0 -0.07446,0.02233 -0.21875,-0.125 C 72.355712,88.946416 72.18789,88.646562 72,88.25 71.939809,88.12296 71.872486,87.961263 71.8125,87.8125 z"})),r("SvgPaths/svgCompassRotationMarker",[],(function(){"use strict";return"M 72.46875,22.03125 C 59.505873,22.050338 46.521615,27.004287 36.6875,36.875 L 47.84375,47.96875 C 61.521556,34.240041 83.442603,34.227389 97.125,47.90625 l 11.125,-11.125 C 98.401629,26.935424 85.431627,22.012162 72.46875,22.03125 z"})),r("ViewModels/NavigationViewModel",["Cesium/Core/defined","Cesium/Core/Math","Cesium/Core/getTimestamp","Cesium/Core/EventHelper","Cesium/Core/Transforms","Cesium/Scene/SceneMode","Cesium/Core/Cartesian2","Cesium/Core/Cartesian3","Cesium/Core/Matrix4","Cesium/Core/BoundingSphere","Cesium/Core/HeadingPitchRange","KnockoutES5","Core/loadView","ViewModels/ResetViewNavigationControl","ViewModels/ZoomNavigationControl","SvgPaths/svgCompassOuterRing","SvgPaths/svgCompassGyro","SvgPaths/svgCompassRotationMarker","Core/Utils"],(function(e,t,n,r,i,o,a,s,c,u,l,p,h,f,d,m,g,v,b){"use strict";var y=function(t){this.terria=t.terria,this.eventHelper=new r,this.enableZoomControls=!e(t.enableZoomControls)||t.enableZoomControls,this.enableCompass=!e(t.enableCompass)||t.enableCompass,this.navigationLocked=!1,this.controls=t.controls,e(this.controls)||(this.controls=[new d(this.terria,!0),new f(this.terria),new d(this.terria,!1)]),this.svgCompassOuterRing=m,this.svgCompassGyro=g,this.svgCompassRotationMarker=v,this.showCompass=e(this.terria)&&this.enableCompass,this.heading=this.showCompass?this.terria.scene.camera.heading:0,this.isOrbiting=!1,this.orbitCursorAngle=0,this.orbitCursorOpacity=0,this.orbitLastTimestamp=0,this.orbitFrame=void 0,this.orbitIsLook=!1,this.orbitMouseMoveFunction=void 0,this.orbitMouseUpFunction=void 0,this.isRotating=!1,this.rotateInitialCursorAngle=void 0,this.rotateFrame=void 0,this.rotateIsLook=!1,this.rotateMouseMoveFunction=void 0,this.rotateMouseUpFunction=void 0,this._unsubcribeFromPostRender=void 0,p.track(this,["controls","showCompass","heading","isOrbiting","orbitCursorAngle","isRotating"]);var n=this;function i(){e(n.terria)?(n._unsubcribeFromPostRender&&(n._unsubcribeFromPostRender(),n._unsubcribeFromPostRender=void 0),n.showCompass=n.enableCompass,n._unsubcribeFromPostRender=n.terria.scene.postRender.addEventListener((function(){n.heading=n.terria.scene.camera.heading}))):(n._unsubcribeFromPostRender&&(n._unsubcribeFromPostRender(),n._unsubcribeFromPostRender=void 0),n.showCompass=!1)}y.prototype.setNavigationLocked=function(e){this.navigationLocked=e,this.controls&&this.controls.length>1&&this.controls[1].setNavigationLocked(this.navigationLocked)},this.eventHelper.add(this.terria.afterWidgetChanged,i,this),i()};y.prototype.destroy=function(){this.eventHelper.removeAll()},y.prototype.show=function(e){var t;this.enableZoomControls&&this.enableCompass?t='<div class="compass" title="拖动外环:旋转视图。 Drag inner gyroscope: free orbit.Double-click: 重置视图.TIP: You can also free orbit by holding the CTRL key and dragging the map." data-bind="visible: showCompass, event: { mousedown: handleMouseDown, dblclick: handleDoubleClick }"><div class="compass-outer-ring-background"></div> <div class="compass-rotation-marker" data-bind="visible: isOrbiting, style: { transform: \'rotate(-\' + orbitCursorAngle + \'rad)\', \'-webkit-transform\': \'rotate(-\' + orbitCursorAngle + \'rad)\', opacity: orbitCursorOpacity }, cesiumSvgPath: { path: svgCompassRotationMarker, width: 145, height: 145 }"></div> <div class="compass-outer-ring" title="Click and drag to rotate the camera" data-bind="style: { transform: \'rotate(-\' + heading + \'rad)\', \'-webkit-transform\': \'rotate(-\' + heading + \'rad)\' }, cesiumSvgPath: { path: svgCompassOuterRing, width: 145, height: 145 }"></div> <div class="compass-gyro-background"></div> <div class="compass-gyro" data-bind="cesiumSvgPath: { path: svgCompassGyro, width: 145, height: 145 }, css: { \'compass-gyro-active\': isOrbiting }"></div></div><div class="navigation-controls">\x3c!-- ko foreach: controls --\x3e<div data-bind="click: activate, attr: { title: $data.name }, css: $root.isLastControl($data) ? \'navigation-control-last\' : \'navigation-control\' "> \x3c!-- ko if: $data.hasText --\x3e <div data-bind="text: $data.text, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.hasText --\x3e <div data-bind="cesiumSvgPath: { path: $data.svgIcon, width: $data.svgWidth, height: $data.svgHeight }, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e</div>':!this.enableZoomControls&&this.enableCompass?t='<div class="compass" title="拖动外环:旋转视图。 Drag inner gyroscope: free orbit.Double-click: 重置视图.TIP: You can also free orbit by holding the CTRL key and dragging the map." data-bind="visible: showCompass, event: { mousedown: handleMouseDown, dblclick: handleDoubleClick }"><div class="compass-outer-ring-background"></div> <div class="compass-rotation-marker" data-bind="visible: isOrbiting, style: { transform: \'rotate(-\' + orbitCursorAngle + \'rad)\', \'-webkit-transform\': \'rotate(-\' + orbitCursorAngle + \'rad)\', opacity: orbitCursorOpacity }, cesiumSvgPath: { path: svgCompassRotationMarker, width: 145, height: 145 }"></div> <div class="compass-outer-ring" title="Click and drag to rotate the camera" data-bind="style: { transform: \'rotate(-\' + heading + \'rad)\', \'-webkit-transform\': \'rotate(-\' + heading + \'rad)\' }, cesiumSvgPath: { path: svgCompassOuterRing, width: 145, height: 145 }"></div> <div class="compass-gyro-background"></div> <div class="compass-gyro" data-bind="cesiumSvgPath: { path: svgCompassGyro, width: 145, height: 145 }, css: { \'compass-gyro-active\': isOrbiting }"></div></div><div class="navigation-controls" style="display: none;" >\x3c!-- ko foreach: controls --\x3e<div data-bind="click: activate, attr: { title: $data.name }, css: $root.isLastControl($data) ? \'navigation-control-last\' : \'navigation-control\' "> \x3c!-- ko if: $data.hasText --\x3e <div data-bind="text: $data.text, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.hasText --\x3e <div data-bind="cesiumSvgPath: { path: $data.svgIcon, width: $data.svgWidth, height: $data.svgHeight }, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e</div>':this.enableZoomControls&&!this.enableCompass?t='<div class="compass" style="display: none;" title="拖动外环:旋转视图。 Drag inner gyroscope: free orbit.Double-click: 重置视图.TIP: You can also free orbit by holding the CTRL key and dragging the map." data-bind="visible: showCompass, event: { mousedown: handleMouseDown, dblclick: handleDoubleClick }"><div class="compass-outer-ring-background"></div> <div class="compass-rotation-marker" data-bind="visible: isOrbiting, style: { transform: \'rotate(-\' + orbitCursorAngle + \'rad)\', \'-webkit-transform\': \'rotate(-\' + orbitCursorAngle + \'rad)\', opacity: orbitCursorOpacity }, cesiumSvgPath: { path: svgCompassRotationMarker, width: 145, height: 145 }"></div> <div class="compass-outer-ring" title="Click and drag to rotate the camera" data-bind="style: { transform: \'rotate(-\' + heading + \'rad)\', \'-webkit-transform\': \'rotate(-\' + heading + \'rad)\' }, cesiumSvgPath: { path: svgCompassOuterRing, width: 145, height: 145 }"></div> <div class="compass-gyro-background"></div> <div class="compass-gyro" data-bind="cesiumSvgPath: { path: svgCompassGyro, width: 145, height: 145 }, css: { \'compass-gyro-active\': isOrbiting }"></div></div><div class="navigation-controls" >\x3c!-- ko foreach: controls --\x3e<div data-bind="click: activate, attr: { title: $data.name }, css: $root.isLastControl($data) ? \'navigation-control-last\' : \'navigation-control\' "> \x3c!-- ko if: $data.hasText --\x3e <div data-bind="text: $data.text, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.hasText --\x3e <div data-bind="cesiumSvgPath: { path: $data.svgIcon, width: $data.svgWidth, height: $data.svgHeight }, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e</div>':this.enableZoomControls||this.enableCompass||(t='<div class="compass" style="display: none;" title="拖动外环:旋转视图。 Drag inner gyroscope: free orbit.Double-click: 重置视图.TIP: You can also free orbit by holding the CTRL key and dragging the map." data-bind="visible: showCompass, event: { mousedown: handleMouseDown, dblclick: handleDoubleClick }"><div class="compass-outer-ring-background"></div> <div class="compass-rotation-marker" data-bind="visible: isOrbiting, style: { transform: \'rotate(-\' + orbitCursorAngle + \'rad)\', \'-webkit-transform\': \'rotate(-\' + orbitCursorAngle + \'rad)\', opacity: orbitCursorOpacity }, cesiumSvgPath: { path: svgCompassRotationMarker, width: 145, height: 145 }"></div> <div class="compass-outer-ring" title="Click and drag to rotate the camera" data-bind="style: { transform: \'rotate(-\' + heading + \'rad)\', \'-webkit-transform\': \'rotate(-\' + heading + \'rad)\' }, cesiumSvgPath: { path: svgCompassOuterRing, width: 145, height: 145 }"></div> <div class="compass-gyro-background"></div> <div class="compass-gyro" data-bind="cesiumSvgPath: { path: svgCompassGyro, width: 145, height: 145 }, css: { \'compass-gyro-active\': isOrbiting }"></div></div><div class="navigation-controls" style="display: none;" >\x3c!-- ko foreach: controls --\x3e<div data-bind="click: activate, attr: { title: $data.name }, css: $root.isLastControl($data) ? \'navigation-control-last\' : \'navigation-control\' "> \x3c!-- ko if: $data.hasText --\x3e <div data-bind="text: $data.text, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.hasText --\x3e <div data-bind="cesiumSvgPath: { path: $data.svgIcon, width: $data.svgWidth, height: $data.svgHeight }, css: $data.isActive ? \'navigation-control-icon-active \' + $data.cssClass : $data.cssClass"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e</div>'),h(t,e,this)},y.prototype.add=function(e){this.controls.push(e)},y.prototype.remove=function(e){this.controls.remove(e)},y.prototype.isLastControl=function(e){return e===this.controls[this.controls.length-1]};var _=new a;y.prototype.handleMouseDown=function(r,u){if(this.terria.scene.mode===o.MORPHING)return!0;if(r.navigationLocked)return!0;var l=u.currentTarget,p=u.currentTarget.getBoundingClientRect(),h=p.width/2,f=new a((p.right-p.left)/2,(p.bottom-p.top)/2),d=new a(u.clientX-p.left,u.clientY-p.top),m=a.subtract(d,f,_),g=a.magnitude(m)/h;if(g<50/145)!function(r,u,l){var p=r.terria.scene,h=p.screenSpaceCameraController;if(p.mode!=o.MORPHING&&h.enableInputs){if(r.navigationLocked)return!0;switch(p.mode){case o.COLUMBUS_VIEW:if(h.enableLook)break;if(!h.enableTranslate||!h.enableTilt)return;break;case o.SCENE3D:if(h.enableLook)break;if(!h.enableTilt||!h.enableRotate)return;break;case o.SCENE2D:if(!h.enableTranslate)return}document.removeEventListener("mousemove",r.orbitMouseMoveFunction,!1),document.removeEventListener("mouseup",r.orbitMouseUpFunction,!1),e(r.orbitTickFunction)&&r.terria.clock.onTick.removeEventListener(r.orbitTickFunction),r.orbitMouseMoveFunction=void 0,r.orbitMouseUpFunction=void 0,r.orbitTickFunction=void 0,r.isOrbiting=!0,r.orbitLastTimestamp=n();var f=p.camera;if(e(r.terria.trackedEntity))r.orbitFrame=void 0,r.orbitIsLook=!1;else{var d=b.getCameraFocus(r.terria,!0,w);e(d)?(r.orbitFrame=i.eastNorthUpToFixedFrame(d,p.globe.ellipsoid,C),r.orbitIsLook=!1):(r.orbitFrame=i.eastNorthUpToFixedFrame(f.positionWC,p.globe.ellipsoid,C),r.orbitIsLook=!0)}r.orbitTickFunction=function(i){var a,u=n(),l=(u-r.orbitLastTimestamp)*(2.5*(r.orbitCursorOpacity-.5)/1e3),h=r.orbitCursorAngle+t.PI_OVER_TWO,d=Math.cos(h)*l,m=Math.sin(h)*l;if(r.navigationLocked)return!0;e(r.orbitFrame)&&(a=c.clone(f.transform,k),f.lookAtTransform(r.orbitFrame)),p.mode==o.SCENE2D?f.move(new s(d,m,0),Math.max(p.canvas.clientWidth,p.canvas.clientHeight)/100*f.positionCartographic.height*l):r.orbitIsLook?(f.look(s.UNIT_Z,-d),f.look(f.right,-m)):(f.rotateLeft(d),f.rotateUp(m)),e(r.orbitFrame)&&f.lookAtTransform(a),r.orbitLastTimestamp=u},r.orbitMouseMoveFunction=function(e){var t=u.getBoundingClientRect(),n=new a((t.right-t.left)/2,(t.bottom-t.top)/2),r=new a(e.clientX-t.left,e.clientY-t.top);m(a.subtract(r,n,_),t.width)},r.orbitMouseUpFunction=function(t){r.isOrbiting=!1,document.removeEventListener("mousemove",r.orbitMouseMoveFunction,!1),document.removeEventListener("mouseup",r.orbitMouseUpFunction,!1),e(r.orbitTickFunction)&&r.terria.clock.onTick.removeEventListener(r.orbitTickFunction),r.orbitMouseMoveFunction=void 0,r.orbitMouseUpFunction=void 0,r.orbitTickFunction=void 0},document.addEventListener("mousemove",r.orbitMouseMoveFunction,!1),document.addEventListener("mouseup",r.orbitMouseUpFunction,!1),r.terria.clock.onTick.addEventListener(r.orbitTickFunction),m(l,u.getBoundingClientRect().width)}function m(e,n){var i=Math.atan2(-e.y,e.x);r.orbitCursorAngle=t.zeroToTwoPi(i-t.PI_OVER_TWO);var o=a.magnitude(e),s=n/2,c=Math.min(o/s,1),u=.5*c*c+.5;r.orbitCursorOpacity=u}}(this,l,m);else{if(!(g<1))return!0;!function(n,r,s){var u,l=n.terria.scene,p=l.camera,h=l.screenSpaceCameraController;if(l.mode!=o.MORPHING&&l.mode!=o.SCENE2D&&h.enableInputs){if(n.navigationLocked)return!0;if(h.enableLook||l.mode!=o.COLUMBUS_VIEW&&(l.mode!=o.SCENE3D||h.enableRotate)){if(document.removeEventListener("mousemove",n.rotateMouseMoveFunction,!1),document.removeEventListener("mouseup",n.rotateMouseUpFunction,!1),n.rotateMouseMoveFunction=void 0,n.rotateMouseUpFunction=void 0,n.isRotating=!0,n.rotateInitialCursorAngle=Math.atan2(-s.y,s.x),e(n.terria.trackedEntity))n.rotateFrame=void 0,n.rotateIsLook=!1;else{var f=b.getCameraFocus(n.terria,!0,w);e(f)&&(l.mode!=o.COLUMBUS_VIEW||h.enableLook||h.enableTranslate)?(n.rotateFrame=i.eastNorthUpToFixedFrame(f,l.globe.ellipsoid,C),n.rotateIsLook=!1):(n.rotateFrame=i.eastNorthUpToFixedFrame(p.positionWC,l.globe.ellipsoid,C),n.rotateIsLook=!0)}e(n.rotateFrame)&&(u=c.clone(p.transform,k),p.lookAtTransform(n.rotateFrame)),n.rotateInitialCameraAngle=-p.heading,e(n.rotateFrame)&&p.lookAtTransform(u),n.rotateMouseMoveFunction=function(i){var o,s=r.getBoundingClientRect(),u=new a((s.right-s.left)/2,(s.bottom-s.top)/2),l=new a(i.clientX-s.left,i.clientY-s.top),p=a.subtract(l,u,_),h=Math.atan2(-p.y,p.x)-n.rotateInitialCursorAngle,f=t.zeroToTwoPi(n.rotateInitialCameraAngle-h),d=n.terria.scene.camera;e(n.rotateFrame)&&(o=c.clone(d.transform,k),d.lookAtTransform(n.rotateFrame));var m=-d.heading;d.rotateRight(f-m),e(n.rotateFrame)&&d.lookAtTransform(o)},n.rotateMouseUpFunction=function(e){n.isRotating=!1,document.removeEventListener("mousemove",n.rotateMouseMoveFunction,!1),document.removeEventListener("mouseup",n.rotateMouseUpFunction,!1),n.rotateMouseMoveFunction=void 0,n.rotateMouseUpFunction=void 0},document.addEventListener("mousemove",n.rotateMouseMoveFunction,!1),document.addEventListener("mouseup",n.rotateMouseUpFunction,!1)}}}(this,l,m)}};var k=new c,C=new c,w=new s;return y.prototype.handleDoubleClick=function(n,r){var i=n.terria.scene,a=i.camera,c=i.screenSpaceCameraController;if(i.mode==o.MORPHING||!c.enableInputs)return!0;if(n.navigationLocked)return!0;if(i.mode!=o.COLUMBUS_VIEW||c.enableTranslate){if(i.mode==o.SCENE3D||i.mode==o.COLUMBUS_VIEW){if(!c.enableLook)return;if(i.mode==o.SCENE3D&&!c.enableRotate)return}var p=b.getCameraFocus(n.terria,!0,w);if(e(p)){var h=i.globe.ellipsoid.cartographicToCartesian(a.positionCartographic,new s),f=i.globe.ellipsoid.geodeticSurfaceNormal(p),d=new u(p,0);a.flyToBoundingSphere(d,{offset:new l(0,t.PI_OVER_TWO-s.angleBetween(f,a.directionWC),s.distance(h,p)),duration:1.5})}else this.controls[1].resetView()}},y.create=function(e){var t=new y(e);return t.show(e.container),t},y})),r("CesiumNavigation",["Cesium/Core/defined","Cesium/Core/Event","KnockoutES5","Core/registerKnockoutBindings","ViewModels/DistanceLegendViewModel","ViewModels/NavigationViewModel"],(function(e,t,n,r,i,o){"use strict";var a=function(e){s.apply(this,arguments),this._onDestroyListeners=[]};function s(n,a){if(!e(n))throw new DeveloperError("CesiumWidget or Viewer is required.");var s=e(n.cesiumWidget)?n.cesiumWidget:n,c=document.createElement("div");c.className="cesium-widget-cesiumNavigationContainer",s.container.appendChild(c),this.terria=n,this.terria.options=e(a)?a:{},this.terria.afterWidgetChanged=new t,this.terria.beforeWidgetChanged=new t,this.container=c,r(),e(this.terria.options.enableDistanceLegend)&&!this.terria.options.enableDistanceLegend||(this.distanceLegendDiv=document.createElement("div"),c.appendChild(this.distanceLegendDiv),this.distanceLegendDiv.setAttribute("id","distanceLegendDiv"),this.distanceLegendViewModel=i.create({container:this.distanceLegendDiv,terria:this.terria,mapElement:c,enableDistanceLegend:!0})),e(this.terria.options.enableZoomControls)&&!this.terria.options.enableZoomControls||e(this.terria.options.enableCompass)&&!this.terria.options.enableCompass?!e(this.terria.options.enableZoomControls)||this.terria.options.enableZoomControls||e(this.terria.options.enableCompass)&&!this.terria.options.enableCompass?e(this.terria.options.enableZoomControls)&&!this.terria.options.enableZoomControls||!e(this.terria.options.enableCompass)||this.terria.options.enableCompass?e(this.terria.options.enableZoomControls)&&!this.terria.options.enableZoomControls&&e(this.terria.options.enableCompass)&&this.terria.options.enableCompass:(this.navigationDiv=document.createElement("div"),this.navigationDiv.setAttribute("id","navigationDiv"),c.appendChild(this.navigationDiv),this.navigationViewModel=o.create({container:this.navigationDiv,terria:this.terria,enableZoomControls:!0,enableCompass:!1})):(this.navigationDiv=document.createElement("div"),this.navigationDiv.setAttribute("id","navigationDiv"),c.appendChild(this.navigationDiv),this.navigationViewModel=o.create({container:this.navigationDiv,terria:this.terria,enableZoomControls:!1,enableCompass:!0})):(this.navigationDiv=document.createElement("div"),this.navigationDiv.setAttribute("id","navigationDiv"),c.appendChild(this.navigationDiv),this.navigationViewModel=o.create({container:this.navigationDiv,terria:this.terria,enableZoomControls:!0,enableCompass:!0}))}return a.prototype.distanceLegendViewModel=void 0,a.prototype.navigationViewModel=void 0,a.prototype.navigationDiv=void 0,a.prototype.distanceLegendDiv=void 0,a.prototype.terria=void 0,a.prototype.container=void 0,a.prototype._onDestroyListeners=void 0,a.prototype._navigationLocked=!1,a.prototype.setNavigationLocked=function(e){this._navigationLocked=e,this.navigationViewModel.setNavigationLocked(this._navigationLocked)},a.prototype.getNavigationLocked=function(){return this._navigationLocked},a.prototype.destroy=function(){e(this.navigationViewModel)&&this.navigationViewModel.destroy(),e(this.distanceLegendViewModel)&&this.distanceLegendViewModel.destroy(),e(this.navigationDiv)&&this.navigationDiv.parentNode.removeChild(this.navigationDiv),delete this.navigationDiv,e(this.distanceLegendDiv)&&this.distanceLegendDiv.parentNode.removeChild(this.distanceLegendDiv),delete this.distanceLegendDiv,e(this.container)&&this.container.parentNode.removeChild(this.container),delete this.container;for(var t=0;t<this._onDestroyListeners.length;t++)this._onDestroyListeners[t]()},a.prototype.addOnDestroyListener=function(e){"function"==typeof e&&this._onDestroyListeners.push(e)},a})),r("dummy/require-less/less/dummy",[],(function(){})),r("viewerCesiumNavigationMixin",["Cesium/Core/defined","Cesium/Core/DeveloperError","CesiumNavigation","dummy/require-less/less/dummy"],(function(e,t,n){"use strict";function r(n,r){if(!e(n))throw new t("viewer is required.");i(n,r).addOnDestroyListener(function(e){return function(){delete e.cesiumNavigation}}(n)),Object.defineProperties(n,{cesiumNavigation:{configurable:!0,get:function(){return n.cesiumWidget.cesiumNavigation}}})}r.mixinWidget=function(e,t){return i.apply(void 0,arguments)};var i=function(t,r){var i=new n(t,r),o=e(t.cesiumWidget)?t.cesiumWidget:t;return Object.defineProperties(o,{cesiumNavigation:{configurable:!0,get:function(){return i}}}),i.addOnDestroyListener(function(e){return function(){delete e.cesiumNavigation}}(o)),i};return r})),i="/*html {\n height: 100%;\n -webkit-font-smoothing: antialiased;\n}\n\nbody {\n height: 100%;\n width: 100%;\n margin: 0;\n overflow: hidden;\n padding: 0;\n background: #000;\n font-size: 15px;\n font-family: @default-font;\n}*/\n.full-window {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: 0;\n overflow: hidden;\n padding: 0;\n -webkit-transition: left 0.25s ease-out;\n -moz-transition: left 0.25s ease-out;\n -ms-transition: left 0.25s ease-out;\n -o-transition: left 0.25s ease-out;\n transition: left 0.25s ease-out;\n}\n.transparent-to-input {\n pointer-events: none;\n}\n.opaque-to-input {\n pointer-events: auto;\n}\n.clickable {\n cursor: pointer;\n}\n/*a {\n text-decoration: none;\n color: @highlight-color;\n}*/\na:hover {\n text-decoration: underline;\n}\n/*\n@modal-background-color: @panel-background-color;\n@modal-text-color: @panel-emphasized-text-color;\n@modal-header-background-color: rgba(0,0,0,0.2);\n@modal-header-text-color: @panel-emphasized-text-color;*/\n/*.modal-background {\n .opaque-to-input;\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background-color: rgba(0,0,0,0.5);\n z-index: 1000; required for IE9 \n}*/\n/*\n.modal {\n position: absolute;\n margin: auto;\n background-color: @modal-background-color;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n max-height: 100%;\n max-width: 100%;\n font-family: @default-font;\n color: @modal-text-color;\n}\n\n.modal-header {\n background-color: @modal-header-background-color;\n border-bottom: @panel-element-border;\n font-size: 15px;\n line-height: 40px;\n margin: 0;\n}\n\n.modal-header h1 {\n font-size: 15px;\n color: @modal-header-text-color;\n margin-left: 15px;\n}*/\n/* Commented out due to conflicts with client apps. \n.modal-content {\n margin-left: 15px;\n margin-right: 15px;\n margin-bottom: 15px;\n padding-top: 15px;\n overflow: auto;\n}*/\n/*.modal-close-button {\n position: absolute;\n right: 15px;\n cursor: pointer;\n font-size: 18px;\n color: @modal-header-text-color;\n}*/\n#ui {\n z-index: 2100;\n}\n@media print {\n .full-window {\n position: initial;\n }\n}\n/* input[type=text] {\n height: 38px;\n background-color: #eeeeee;\n color: @input-text-color;\n font-size: 14px;\n}\n\n::-webkit-input-placeholder {\n color: fade(@input-text-color, 75%);\n font-style: italic;\n}\n\n:-moz-placeholder { /* Firefox 18- \n color: fade(@input-text-color, 75%);\n font-style: italic;\n}\n\n::-moz-placeholder { /* Firefox 19+ \n color: fade(@input-text-color, 75%);\n font-style: italic;\n}\n\n:-ms-input-placeholder {\n color: fade(@input-text-color, 75%);\n font-style: italic;\n}\n\ninput:focus {\n outline-color: #FFFFFF;\n}\n*/\n/*select {\n display: block;\n background-color: @panel-form-input-background-color;\n color: @panel-form-input-text-color;\n height: 40px;\n border: 0;\n margin-top: 10px;\n font-size: 14px;\n padding-left: 5px;\n}*/\n.markdown img {\n max-width: 100%;\n}\n.markdown svg {\n max-height: 100%;\n}\n.markdown input,\n.markdown select,\n.markdown textarea,\n.markdown fieldset {\n font-family: inherit;\n font-size: 1rem;\n box-sizing: border-box;\n margin-top: 0;\n margin-bottom: 0;\n}\n.markdown label {\n vertical-align: middle;\n}\n.markdown h1,\n.markdown h2,\n.markdown h3,\n.markdown h4,\n.markdown h5,\n.markdown h6 {\n font-family: inherit;\n font-weight: bold;\n line-height: 1.25;\n margin-top: 1em;\n margin-bottom: .5em;\n}\n.markdown h1 {\n font-size: 2rem;\n}\n.markdown h2 {\n font-size: 1.5rem;\n}\n.markdown h3 {\n font-size: 1.25rem;\n}\n.markdown h4 {\n font-size: 1rem;\n}\n.markdown h5 {\n font-size: 0.875rem;\n}\n.markdown h6 {\n font-size: 0.75rem;\n}\n.markdown p {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.markdown strong {\n font-weight: bold;\n}\n.markdown em {\n font-style: italic;\n}\n.markdown small {\n font-size: 80%;\n}\n.markdown mark {\n color: #000;\n background: #ff0;\n}\n.markdown u {\n text-decoration: underline;\n}\n.markdown s {\n text-decoration: line-through;\n}\n.markdown dl,\n.markdown ol,\n.markdown ul {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.markdown ol {\n list-style: decimal inside;\n}\n.markdown ul {\n list-style: disc inside;\n}\n.markdown pre,\n.markdown code,\n.markdown samp {\n font-family: monospace;\n font-size: inherit;\n}\n.markdown pre {\n margin-top: 0;\n margin-bottom: 1rem;\n overflow-x: scroll;\n}\n.markdown a {\n color: #68ADFE;\n text-decoration: none;\n}\n.markdown a:hover {\n text-decoration: underline;\n}\n.markdown pre,\n.markdown code {\n background-color: transparent;\n border-radius: 3px;\n}\n.markdown hr {\n border: 0;\n border-bottom-style: solid;\n border-bottom-width: 1px;\n border-bottom-color: rgba(0, 0, 0, 0.125);\n}\n.markdown .left-align {\n text-align: left;\n}\n.markdown .center {\n text-align: center;\n}\n.markdown .right-align {\n text-align: right;\n}\n.markdown .justify {\n text-align: justify;\n}\n.markdown .truncate {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.markdown ol.upper-roman {\n list-style-type: upper-roman;\n}\n.markdown ol.lower-alpha {\n list-style-type: lower-alpha;\n}\n.markdown ul.circle {\n list-style-type: circle;\n}\n.markdown ul.square {\n list-style-type: square;\n}\n.markdown .list-reset {\n list-style: none;\n padding-left: 0;\n}\n.floating {\n pointer-events: auto;\n position: absolute;\n border-radius: 15px;\n background-color: rgba(47, 53, 60, 0.8);\n}\n.floating-horizontal {\n pointer-events: auto;\n position: absolute;\n border-radius: 15px;\n background-color: rgba(47, 53, 60, 0.8);\n padding-left: 5px;\n padding-right: 5px;\n}\n.floating-vertical {\n pointer-events: auto;\n position: absolute;\n border-radius: 15px;\n background-color: rgba(47, 53, 60, 0.8);\n padding-top: 5px;\n padding-bottom: 5px;\n}\n@media print {\n .floating {\n display: none;\n }\n}\n.distance-legend {\n pointer-events: auto;\n position: absolute;\n border-radius: 15px;\n background-color: rgba(47, 53, 60, 0.8);\n padding-left: 5px;\n padding-right: 5px;\n right: 25px;\n bottom: 30px;\n height: 30px;\n width: 125px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n box-sizing: content-box;\n}\n.distance-legend-label {\n display: inline-block;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-weight: lighter;\n line-height: 30px;\n color: #ffffff;\n width: 125px;\n text-align: center;\n}\n.distance-legend-scale-bar {\n border-left: 1px solid #ffffff;\n border-right: 1px solid #ffffff;\n border-bottom: 1px solid #ffffff;\n position: absolute;\n height: 10px;\n top: 15px;\n}\n@media print {\n .distance-legend {\n display: none;\n }\n}\n@media screen and (max-width: 700px), screen and (max-height: 420px) {\n .distance-legend {\n display: none;\n }\n}\n.navigation-controls {\n position: absolute;\n right: 30px;\n bottom: 265px;\n width: 30px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n font-weight: 300;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.navigation-control {\n cursor: pointer;\n border-bottom: 1px solid #555555;\n}\n.naviagation-control:active {\n color: #FFF;\n}\n.navigation-control-last {\n cursor: pointer;\n border-bottom: 1px solid #555555;\n border-bottom: 0;\n}\n.navigation-control-icon-zoom-in {\n position: relative;\n text-align: center;\n font-size: 20px;\n color: #ffffff;\n padding-bottom: 4px;\n}\n.navigation-control-icon-zoom-out {\n position: relative;\n text-align: center;\n font-size: 20px;\n color: #ffffff;\n}\n.navigation-control-icon-reset {\n position: relative;\n left: 10px;\n width: 10px;\n height: 10px;\n fill: rgba(255, 255, 255, 0.8);\n padding-top: 6px;\n padding-bottom: 6px;\n box-sizing: content-box;\n}\n.compass {\n pointer-events: auto;\n position: absolute;\n right: 0px;\n bottom: 350px;\n width: 90px;\n height: 90px;\n overflow: hidden;\n}\n.compass-outer-ring {\n position: absolute;\n top: 0;\n width: 95px;\n height: 95px;\n fill: rgba(255, 255, 255, 0.5);\n}\n.compass-outer-ring-background {\n position: absolute;\n top: 14px;\n left: 14px;\n width: 44px;\n height: 44px;\n border-radius: 44px;\n border: 12px solid rgba(47, 53, 60, 0.8);\n box-sizing: content-box;\n}\n.compass-gyro {\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 95px;\n height: 95px;\n fill: #CCC;\n}\n.compass-gyro-active {\n fill: #68adfe;\n}\n.compass-gyro-background {\n position: absolute;\n top: 30px;\n left: 30px;\n width: 33px;\n height: 33px;\n border-radius: 33px;\n background-color: rgba(47, 53, 60, 0.8);\n border: 1px solid rgba(255, 255, 255, 0.2);\n box-sizing: content-box;\n}\n.compass-gyro-background:hover + .compass-gyro {\n fill: #68adfe;\n}\n.compass-rotation-marker {\n position: absolute;\n top: 0;\n width: 95px;\n height: 95px;\n fill: #68adfe;\n}\n@media screen and (max-width: 700px), screen and (max-height: 420px) {\n .navigation-controls {\n display: none;\n }\n .compass {\n display: none;\n }\n}\n@media print {\n .navigation-controls {\n display: none;\n }\n .compass {\n display: none;\n }\n}\n",a="appendChild",s="styleSheet",(c=(o=document).createElement("style")).type="text/css",o.getElementsByTagName("head")[0][a](c),c[s]?c[s].cssText=i:c[a](o.createTextNode(i)),r("Cesium/Core/defined",(function(){return Cesium.defined})),r("Cesium/Core/defaultValue",(function(){return Cesium.defaultValue})),r("Cesium/Core/Event",(function(){return Cesium.Event})),r("Cesium/Widgets/getElement",(function(){return Cesium.getElement})),r("Cesium/Widgets/SvgPathBindingHandler",(function(){return Cesium.SvgPathBindingHandler})),r("Cesium/Core/Ray",(function(){return Cesium.Ray})),r("Cesium/Core/Cartesian3",(function(){return Cesium.Cartesian3})),r("Cesium/Core/Cartographic",(function(){return Cesium.Cartographic})),r("Cesium/Core/ReferenceFrame",(function(){return Cesium.ReferenceFrame})),r("Cesium/Scene/SceneMode",(function(){return Cesium.SceneMode})),r("Cesium/Core/DeveloperError",(function(){return Cesium.DeveloperError})),r("Cesium/Core/EllipsoidGeodesic",(function(){return Cesium.EllipsoidGeodesic})),r("Cesium/Core/Cartesian2",(function(){return Cesium.Cartesian2})),r("Cesium/Core/getTimestamp",(function(){return Cesium.getTimestamp})),r("Cesium/Core/EventHelper",(function(){return Cesium.EventHelper})),r("Cesium/Core/Math",(function(){return Cesium.Math})),r("Cesium/Core/Transforms",(function(){return Cesium.Transforms})),r("Cesium/Core/Matrix4",(function(){return Cesium.Matrix4})),r("Cesium/Core/BoundingSphere",(function(){return Cesium.BoundingSphere})),r("Cesium/Core/HeadingPitchRange",(function(){return Cesium.HeadingPitchRange})),r("Cesium/Scene/Camera",(function(){return Cesium.Camera})),r("Cesium/Core/Rectangle",(function(){return Cesium.Rectangle})),r("Cesium/Core/IntersectionTests",(function(){return Cesium.IntersectionTests}));var u=n("viewerCesiumNavigationMixin");return"object"==typeof Cesium&&null!==Cesium&&(Cesium.viewerCesiumNavigationMixin=u),u}));