homebridge-config-ui-x 5.11.1-alpha.0 → 5.11.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/core/auth/auth.controller.d.ts +4 -0
  3. package/dist/core/config/config.interfaces.d.ts +14 -0
  4. package/dist/core/config/config.service.d.ts +6 -0
  5. package/dist/core/config/config.service.js +8 -0
  6. package/dist/core/config/config.service.js.map +1 -1
  7. package/dist/core/config/config.startup.js +48 -17
  8. package/dist/core/config/config.startup.js.map +1 -1
  9. package/dist/core/feature-flags/feature-flags.registry.js +5 -0
  10. package/dist/core/feature-flags/feature-flags.registry.js.map +1 -1
  11. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +1 -0
  12. package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
  13. package/dist/core/spa/spa-html.service.d.ts +5 -0
  14. package/dist/core/spa/spa-html.service.js +32 -0
  15. package/dist/core/spa/spa-html.service.js.map +1 -0
  16. package/dist/core/spa/spa.filter.d.ts +3 -0
  17. package/dist/core/spa/spa.filter.js +22 -2
  18. package/dist/core/spa/spa.filter.js.map +1 -1
  19. package/dist/core/ssl/ssl-cert-generator.service.d.ts +15 -0
  20. package/dist/core/ssl/ssl-cert-generator.service.js +125 -0
  21. package/dist/core/ssl/ssl-cert-generator.service.js.map +1 -0
  22. package/dist/globalDefaults.js +3 -0
  23. package/dist/globalDefaults.js.map +1 -1
  24. package/dist/main.js +18 -4
  25. package/dist/main.js.map +1 -1
  26. package/dist/modules/accessories/accessories.controller.d.ts +1 -1
  27. package/dist/modules/accessories/accessories.interfaces.d.ts +94 -0
  28. package/dist/modules/accessories/accessories.interfaces.js +2 -0
  29. package/dist/modules/accessories/accessories.interfaces.js.map +1 -0
  30. package/dist/modules/accessories/accessories.module.js +2 -0
  31. package/dist/modules/accessories/accessories.module.js.map +1 -1
  32. package/dist/modules/accessories/accessories.service.d.ts +21 -3
  33. package/dist/modules/accessories/accessories.service.js +280 -17
  34. package/dist/modules/accessories/accessories.service.js.map +1 -1
  35. package/dist/modules/child-bridges/child-bridges.interfaces.d.ts +9 -0
  36. package/dist/modules/config-editor/config-editor.controller.d.ts +4 -0
  37. package/dist/modules/config-editor/config-editor.controller.js +64 -0
  38. package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
  39. package/dist/modules/config-editor/config-editor.service.d.ts +6 -1
  40. package/dist/modules/config-editor/config-editor.service.js +45 -1
  41. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  42. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +1 -1
  43. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  44. package/dist/modules/plugins/plugins.service.js +15 -0
  45. package/dist/modules/plugins/plugins.service.js.map +1 -1
  46. package/dist/modules/server/server.controller.d.ts +50 -0
  47. package/dist/modules/server/server.controller.js +201 -2
  48. package/dist/modules/server/server.controller.js.map +1 -1
  49. package/dist/modules/server/server.service.d.ts +48 -0
  50. package/dist/modules/server/server.service.js +502 -14
  51. package/dist/modules/server/server.service.js.map +1 -1
  52. package/dist/modules/status/status.gateway.d.ts +2 -0
  53. package/dist/modules/status/status.interfaces.d.ts +11 -0
  54. package/dist/modules/status/status.service.d.ts +4 -1
  55. package/dist/modules/status/status.service.js +21 -2
  56. package/dist/modules/status/status.service.js.map +1 -1
  57. package/docs/matter-todo.md +15 -0
  58. package/docs/ssl-upload-pr.md +103 -0
  59. package/package.json +3 -1
  60. package/public/3rdpartylicenses.txt +558 -636
  61. package/public/assets/matter.svg +8 -0
  62. package/public/assets/plugin-ui-utils/ui.js +3 -0
  63. package/public/assets/plugin-ui-utils/ui.js.map +1 -1
  64. package/public/chunk-22B4UCUR.js +19 -0
  65. package/public/chunk-2AZ4IAJX.js +1 -0
  66. package/public/chunk-2W47TKRP.js +8 -0
  67. package/public/chunk-32NSGOWJ.js +1 -0
  68. package/public/chunk-3AXKQX7N.js +1 -0
  69. package/public/chunk-3SLVSNU6.js +1 -0
  70. package/public/chunk-4FBWT2PG.js +1 -0
  71. package/public/chunk-4G547VQH.js +1 -0
  72. package/public/chunk-4KBAYZP7.js +1 -0
  73. package/public/{chunk-D45GQFBG.js → chunk-4O7BLLBH.js} +1 -1
  74. package/public/chunk-4X67MV5P.js +1 -0
  75. package/public/chunk-56AT4EBV.js +1 -0
  76. package/public/chunk-5INR7MRZ.js +1 -0
  77. package/public/chunk-5IRYX3WN.js +1 -0
  78. package/public/chunk-5N6BZ66K.js +1 -0
  79. package/public/chunk-5QXXJI43.js +5 -0
  80. package/public/chunk-5USVC2CC.js +3 -0
  81. package/public/chunk-5YRG477U.js +1 -0
  82. package/public/chunk-63DEF4BP.js +1 -0
  83. package/public/chunk-7D5NLF5A.js +1 -0
  84. package/public/chunk-AASDOQGB.js +1 -0
  85. package/public/chunk-AU6YJ4VB.js +1 -0
  86. package/public/chunk-B2R3BKIF.js +1 -0
  87. package/public/chunk-B4AJQJMI.js +1 -0
  88. package/public/chunk-BMH5GPEB.js +1 -0
  89. package/public/{chunk-KI6BE77G.js → chunk-BMOLDRJ3.js} +1 -1
  90. package/public/chunk-BOVXKVZC.js +1 -0
  91. package/public/chunk-C2W3HONU.js +1 -0
  92. package/public/chunk-CB6OGKHG.js +1 -0
  93. package/public/chunk-CBSLCVSR.js +1 -0
  94. package/public/chunk-CR6W3PUA.js +1 -0
  95. package/public/chunk-CYSSAU76.js +1 -0
  96. package/public/chunk-DGBI427A.js +1 -0
  97. package/public/chunk-E2INCMIB.js +1 -0
  98. package/public/chunk-EVNAB6KB.js +4 -0
  99. package/public/{chunk-75KR2TK6.js → chunk-FARCNAHH.js} +1 -1
  100. package/public/chunk-FIF6GB4H.js +1 -0
  101. package/public/chunk-FNIVJEH2.js +1 -0
  102. package/public/chunk-FW2NZE2W.js +1 -0
  103. package/public/chunk-FXM34P2Q.js +1 -0
  104. package/public/chunk-G4TMATE3.js +1 -0
  105. package/public/chunk-GARJCQR2.js +1 -0
  106. package/public/chunk-GHNACZX3.js +1 -0
  107. package/public/chunk-GIPFJVAC.js +1 -0
  108. package/public/chunk-GQMGUEFI.js +1 -0
  109. package/public/chunk-GRUJENQH.js +1 -0
  110. package/public/{chunk-OMFNURQZ.js → chunk-H7F7H5MW.js} +1 -1
  111. package/public/chunk-HGB7JMQB.js +1 -0
  112. package/public/chunk-HRBBCSGX.js +1 -0
  113. package/public/chunk-I7UZENUE.js +1 -0
  114. package/public/chunk-IUXXJEPG.js +1 -0
  115. package/public/chunk-JC74NWLG.js +1 -0
  116. package/public/chunk-JEWURKW3.js +1 -0
  117. package/public/chunk-JH5W4II7.js +1 -0
  118. package/public/chunk-JLNKCN3A.js +1 -0
  119. package/public/chunk-JTGLNZVD.js +1 -0
  120. package/public/chunk-KSP343GE.js +1 -0
  121. package/public/chunk-KTE7SASZ.js +1 -0
  122. package/public/chunk-L2BEQFIA.js +1 -0
  123. package/public/chunk-L6LSM43U.js +1 -0
  124. package/public/chunk-LPZZFOKR.js +4 -0
  125. package/public/chunk-LT4LVLTJ.js +5 -0
  126. package/public/chunk-M4OD2EYP.js +1 -0
  127. package/public/chunk-M5KMDWMD.js +1 -0
  128. package/public/chunk-M5U3WH6U.js +68 -0
  129. package/public/{chunk-BKCIVF4W.js → chunk-M72FKTRG.js} +52 -2
  130. package/public/chunk-MKCBNPFH.js +1 -0
  131. package/public/chunk-MKFXR7SP.js +1 -0
  132. package/public/chunk-MYJVEYXW.js +1 -0
  133. package/public/chunk-N2IMTG2V.js +1 -0
  134. package/public/chunk-NDBIOJ3K.js +1 -0
  135. package/public/chunk-NF7H6G7M.js +1 -0
  136. package/public/chunk-NMM246IB.js +1 -0
  137. package/public/chunk-NPWYNB2M.js +1 -0
  138. package/public/chunk-OB3JM574.js +1 -0
  139. package/public/chunk-OKQK5WGA.js +1 -0
  140. package/public/chunk-OYHGZQRR.js +1 -0
  141. package/public/chunk-P3D45344.js +50 -0
  142. package/public/chunk-P7RLJ6EQ.js +16 -0
  143. package/public/chunk-PXNJ4PSF.js +1 -0
  144. package/public/chunk-QB4JVFF7.js +1 -0
  145. package/public/chunk-QIW6VVBV.js +1 -0
  146. package/public/chunk-QOXXKL5T.js +2 -0
  147. package/public/chunk-QRWK7JO5.js +1 -0
  148. package/public/chunk-S52YHDRI.js +2 -0
  149. package/public/chunk-S6JEMYUK.js +3 -0
  150. package/public/chunk-SOEFKTV3.js +1 -0
  151. package/public/chunk-T5WI6HLG.js +1 -0
  152. package/public/chunk-TCWZ7ASJ.js +1 -0
  153. package/public/chunk-TNQQAZ6Z.js +1 -0
  154. package/public/chunk-TXOHSX6R.js +1 -0
  155. package/public/chunk-UQGRSMY3.js +1 -0
  156. package/public/chunk-UR2DRSIX.js +1 -0
  157. package/public/chunk-UR7BEPD4.js +1 -0
  158. package/public/chunk-UXXY7XNH.js +1 -0
  159. package/public/chunk-VHK6V2IY.js +1 -0
  160. package/public/chunk-VQBGFNDB.js +1 -0
  161. package/public/chunk-VVINUJOQ.js +1 -0
  162. package/public/chunk-W546I2QX.js +1 -0
  163. package/public/chunk-W6MP663P.js +1 -0
  164. package/public/chunk-WYJ4N4TV.js +12 -0
  165. package/public/chunk-X6NYM4NC.js +1 -0
  166. package/public/chunk-XEOYEVJE.js +1 -0
  167. package/public/chunk-XM3BXRQJ.js +1 -0
  168. package/public/chunk-YI2ZMXIQ.js +1 -0
  169. package/public/chunk-YJWJIJMQ.js +1 -0
  170. package/public/chunk-YZZ7SAON.js +2 -0
  171. package/public/chunk-ZCGZM7LU.js +1 -0
  172. package/public/chunk-ZI6P36I2.js +1 -0
  173. package/public/chunk-ZPXACREZ.js +4 -0
  174. package/public/index.html +2 -2
  175. package/public/main-QSNNOJ3S.js +1 -0
  176. package/public/media/matter-P563JGDL.svg +8 -0
  177. package/public/polyfills-34U4WL3Z.js +1 -0
  178. package/public/styles-CT2LPGES.css +1 -0
  179. package/scripts/extract-plugin-alias.js +53 -2
  180. package/public/chunk-2U3ZX56Q.js +0 -1
  181. package/public/chunk-3CM3XDPQ.js +0 -1
  182. package/public/chunk-3F6KNL45.js +0 -5
  183. package/public/chunk-3P6RREI4.js +0 -1
  184. package/public/chunk-3PJLBUU2.js +0 -1
  185. package/public/chunk-3SIF5F2G.js +0 -1
  186. package/public/chunk-4HF52WDQ.js +0 -1
  187. package/public/chunk-4SAAAOZB.js +0 -1
  188. package/public/chunk-5GRM2PNI.js +0 -8
  189. package/public/chunk-5JMMHHQ4.js +0 -1
  190. package/public/chunk-5MK5YSCD.js +0 -1
  191. package/public/chunk-5PMRNANG.js +0 -1
  192. package/public/chunk-5YTRU6RQ.js +0 -1
  193. package/public/chunk-6FS45RJF.js +0 -1
  194. package/public/chunk-6PWSLLH6.js +0 -1
  195. package/public/chunk-7QISFIID.js +0 -1
  196. package/public/chunk-ADWZU2CD.js +0 -1
  197. package/public/chunk-AUHK5WFX.js +0 -1
  198. package/public/chunk-AXWMABDM.js +0 -40
  199. package/public/chunk-B6MBMYJR.js +0 -1
  200. package/public/chunk-BH6YBZOU.js +0 -1
  201. package/public/chunk-BON2K2BD.js +0 -2
  202. package/public/chunk-EGNFFHE7.js +0 -1
  203. package/public/chunk-GP2ASPZU.js +0 -1
  204. package/public/chunk-H64DOH56.js +0 -1
  205. package/public/chunk-HH6YV2XU.js +0 -1
  206. package/public/chunk-HTDB22LR.js +0 -2
  207. package/public/chunk-IXN6AYE5.js +0 -1
  208. package/public/chunk-KIOAN3LM.js +0 -4
  209. package/public/chunk-LHF3YGLL.js +0 -1
  210. package/public/chunk-LOQL4YVB.js +0 -1
  211. package/public/chunk-MMBLECEN.js +0 -1
  212. package/public/chunk-MQQHVT3V.js +0 -1
  213. package/public/chunk-OOM2PIRM.js +0 -5
  214. package/public/chunk-PAD4AX4G.js +0 -4
  215. package/public/chunk-PHFSLDY3.js +0 -1
  216. package/public/chunk-PMIQFJLC.js +0 -1
  217. package/public/chunk-QPHMQATT.js +0 -1
  218. package/public/chunk-QXD4RXA4.js +0 -1
  219. package/public/chunk-R7Q4CXAE.js +0 -1
  220. package/public/chunk-RE46WEVT.js +0 -1
  221. package/public/chunk-RRJ62AON.js +0 -3
  222. package/public/chunk-SSVAMLWB.js +0 -1
  223. package/public/chunk-SUH5GCZJ.js +0 -1
  224. package/public/chunk-SVXBDATZ.js +0 -1
  225. package/public/chunk-SZV6CIHF.js +0 -1
  226. package/public/chunk-TKKGKRSM.js +0 -4
  227. package/public/chunk-TKONSQP6.js +0 -1
  228. package/public/chunk-TVL4RPK3.js +0 -19
  229. package/public/chunk-ULW7LKB3.js +0 -1
  230. package/public/chunk-VOVDHI44.js +0 -50
  231. package/public/chunk-WBESNOOP.js +0 -5
  232. package/public/chunk-WL4BMOS6.js +0 -1
  233. package/public/chunk-X7UED2CV.js +0 -1
  234. package/public/chunk-XDFBUXFD.js +0 -1
  235. package/public/chunk-XOKMBJCO.js +0 -1
  236. package/public/chunk-XSYYB5FZ.js +0 -16
  237. package/public/chunk-XX3HQR2J.js +0 -1
  238. package/public/chunk-XYQLLAXO.js +0 -1
  239. package/public/chunk-Y6UHTWO3.js +0 -1
  240. package/public/chunk-YGDUU36N.js +0 -1
  241. package/public/chunk-ZNGQNTVX.js +0 -8
  242. package/public/chunk-ZXUIFQS4.js +0 -51
  243. package/public/main-YQLARDEU.js +0 -1
  244. package/public/polyfills-5KWHJ7II.js +0 -2
  245. package/public/styles-7EFV5QBG.css +0 -1
@@ -0,0 +1,16 @@
1
+ import{m as du}from"./chunk-LT4LVLTJ.js";import{e as Qu}from"./chunk-DGBI427A.js";import{b as ue}from"./chunk-PXNJ4PSF.js";import{E as Wu,F as lu,H as Xu,K as Yu}from"./chunk-YZZ7SAON.js";import{Ab as Ju,Cb as qu,Db as Gu,Eb as Ku,Ec as T,Fc as M,Jb as g,Kb as N,Lb as q,Oc as Zu,Yb as Z,Za as p,Zb as wu,aa as J,hc as Uu,kc as j,lc as nu,mc as Q,nb as fu,yb as tu,zb as zu}from"./chunk-ZPXACREZ.js";import{a as Su,b as ku,e as He,h as Hu}from"./chunk-B4AJQJMI.js";var Ke=He((Pu,Nu)=>{(function(F,B){typeof Pu=="object"&&typeof Nu<"u"?Nu.exports=B():typeof define=="function"&&define.amd?define(B):F.JSON5=B()})(Pu,function(){"use strict";function F(u,e){return e={exports:{}},u(e,e.exports),e.exports}var B=F(function(u){var e=u.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=e)}),l=F(function(u){var e=u.exports={version:"2.6.5"};typeof __e=="number"&&(__e=e)}),I=l.version,b=function(u){return typeof u=="object"?u!==null:typeof u=="function"},G=function(u){if(!b(u))throw TypeError(u+" is not an object!");return u},Iu=function(u){try{return!!u()}catch{return!0}},Bu=!Iu(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),mu=B.document,ee=b(mu)&&b(mu.createElement),te=function(u){return ee?mu.createElement(u):{}},De=!Bu&&!Iu(function(){return Object.defineProperty(te("div"),"a",{get:function(){return 7}}).a!=7}),re=function(u,e){if(!b(u))return u;var r,D;if(e&&typeof(r=u.toString)=="function"&&!b(D=r.call(u))||typeof(r=u.valueOf)=="function"&&!b(D=r.call(u))||!e&&typeof(r=u.toString)=="function"&&!b(D=r.call(u)))return D;throw TypeError("Can't convert object to primitive value")},ne=Object.defineProperty,ie=Bu?Object.defineProperty:function(e,r,D){if(G(e),r=re(r,!0),G(D),De)try{return ne(e,r,D)}catch{}if("get"in D||"set"in D)throw TypeError("Accessors not supported!");return"value"in D&&(e[r]=D.value),e},ae={f:ie},oe=function(u,e){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:e}},iu=Bu?function(u,e,r){return ae.f(u,e,oe(1,r))}:function(u,e,r){return u[e]=r,u},Ce={}.hasOwnProperty,Tu=function(u,e){return Ce.call(u,e)},Fe=0,se=Math.random(),Ae=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++Fe+se).toString(36))},Ee=!1,ce=F(function(u){var e="__core-js_shared__",r=B[e]||(B[e]={});(u.exports=function(D,n){return r[D]||(r[D]=n!==void 0?n:{})})("versions",[]).push({version:l.version,mode:Ee?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),pu=ce("native-function-to-string",Function.toString),fe=F(function(u){var e=Ae("src"),r="toString",D=(""+pu).split(r);l.inspectSource=function(n){return pu.call(n)},(u.exports=function(n,C,A,w){var m=typeof A=="function";m&&(Tu(A,"name")||iu(A,"name",C)),n[C]!==A&&(m&&(Tu(A,e)||iu(A,e,n[C]?""+n[C]:D.join(String(C)))),n===B?n[C]=A:w?n[C]?n[C]=A:iu(n,C,A):(delete n[C],iu(n,C,A)))})(Function.prototype,r,function(){return typeof this=="function"&&this[e]||pu.call(this)})}),le=function(u){if(typeof u!="function")throw TypeError(u+" is not a function!");return u},Mu=function(u,e,r){if(le(u),e===void 0)return u;switch(r){case 1:return function(D){return u.call(e,D)};case 2:return function(D,n){return u.call(e,D,n)};case 3:return function(D,n,C){return u.call(e,D,n,C)}}return function(){return u.apply(e,arguments)}},vu="prototype",x=function(u,e,r){var D=u&x.F,n=u&x.G,C=u&x.S,A=u&x.P,w=u&x.B,m=n?B:C?B[e]||(B[e]={}):(B[e]||{})[vu],Y=n?l:l[e]||(l[e]={}),Du=Y[vu]||(Y[vu]={}),O,R,P,ru;n&&(r=e);for(O in r)R=!D&&m&&m[O]!==void 0,P=(R?m:r)[O],ru=w&&R?Mu(P,B):A&&typeof P=="function"?Mu(Function.call,P):P,m&&fe(m,O,P,u&x.U),Y[O]!=P&&iu(Y,O,ru),A&&Du[O]!=P&&(Du[O]=P)};B.core=l,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128;var au=x,de=Math.ceil,Be=Math.floor,ju=function(u){return isNaN(u=+u)?0:(u>0?Be:de)(u)},me=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u},pe=function(u){return function(e,r){var D=String(me(e)),n=ju(r),C=D.length,A,w;return n<0||n>=C?u?"":void 0:(A=D.charCodeAt(n),A<55296||A>56319||n+1===C||(w=D.charCodeAt(n+1))<56320||w>57343?u?D.charAt(n):A:u?D.slice(n,n+2):(A-55296<<10)+(w-56320)+65536)}},ve=pe(!1);au(au.P,"String",{codePointAt:function(e){return ve(this,e)}});var Ue=l.String.codePointAt,ge=Math.max,he=Math.min,be=function(u,e){return u=ju(u),u<0?ge(u+e,0):he(u,e)},$u=String.fromCharCode,Ou=String.fromCodePoint;au(au.S+au.F*(!!Ou&&Ou.length!=1),"String",{fromCodePoint:function(e){for(var r=arguments,D=[],n=arguments.length,C=0,A;n>C;){if(A=+r[C++],be(A,1114111)!==A)throw RangeError(A+" is not a valid code point");D.push(A<65536?$u(A):$u(((A-=65536)>>10)+55296,A%1024+56320))}return D.join("")}});var Ze=l.String.fromCodePoint,ye=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,_e=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,xe=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,gu={Space_Separator:ye,ID_Start:_e,ID_Continue:xe},d={isSpaceSeparator:function(e){return typeof e=="string"&&gu.Space_Separator.test(e)},isIdStartChar:function(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||gu.ID_Start.test(e))},isIdContinueChar:function(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||gu.ID_Continue.test(e))},isDigit:function(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit:function(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},hu,S,V,Fu,K,$,v,bu,ou,Se=function(e,r){hu=String(e),S="start",V=[],Fu=0,K=1,$=0,v=void 0,bu=void 0,ou=void 0;do v=we(),Ie[S]();while(v.type!=="eof");return typeof r=="function"?yu({"":ou},"",r):ou};function yu(u,e,r){var D=u[e];if(D!=null&&typeof D=="object")if(Array.isArray(D))for(var n=0;n<D.length;n++){var C=String(n),A=yu(D,C,r);A===void 0?delete D[C]:Object.defineProperty(D,C,{value:A,writable:!0,enumerable:!0,configurable:!0})}else for(var w in D){var m=yu(D,w,r);m===void 0?delete D[w]:Object.defineProperty(D,w,{value:m,writable:!0,enumerable:!0,configurable:!0})}return r.call(u,e,D)}var o,i,Cu,k,s;function we(){for(o="default",i="",Cu=!1,k=1;;){s=H();var u=Lu[o]();if(u)return u}}function H(){if(hu[Fu])return String.fromCodePoint(hu.codePointAt(Fu))}function t(){var u=H();return u===`
2
+ `?(K++,$=0):u?$+=u.length:$++,u&&(Fu+=u.length),u}var Lu={default:function(){switch(s){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
3
+ `:case"\r":case"\u2028":case"\u2029":t();return;case"/":t(),o="comment";return;case void 0:return t(),c("eof")}if(d.isSpaceSeparator(s)){t();return}return Lu[S]()},comment:function(){switch(s){case"*":t(),o="multiLineComment";return;case"/":t(),o="singleLineComment";return}throw f(t())},multiLineComment:function(){switch(s){case"*":t(),o="multiLineCommentAsterisk";return;case void 0:throw f(t())}t()},multiLineCommentAsterisk:function(){switch(s){case"*":t();return;case"/":t(),o="default";return;case void 0:throw f(t())}t(),o="multiLineComment"},singleLineComment:function(){switch(s){case`
4
+ `:case"\r":case"\u2028":case"\u2029":t(),o="default";return;case void 0:return t(),c("eof")}t()},value:function(){switch(s){case"{":case"[":return c("punctuator",t());case"n":return t(),W("ull"),c("null",null);case"t":return t(),W("rue"),c("boolean",!0);case"f":return t(),W("alse"),c("boolean",!1);case"-":case"+":t()==="-"&&(k=-1),o="sign";return;case".":i=t(),o="decimalPointLeading";return;case"0":i=t(),o="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i=t(),o="decimalInteger";return;case"I":return t(),W("nfinity"),c("numeric",1/0);case"N":return t(),W("aN"),c("numeric",NaN);case'"':case"'":Cu=t()==='"',i="",o="string";return}throw f(t())},identifierNameStartEscape:function(){if(s!=="u")throw f(t());t();var e=_u();switch(e){case"$":case"_":break;default:if(!d.isIdStartChar(e))throw Ru();break}i+=e,o="identifierName"},identifierName:function(){switch(s){case"$":case"_":case"\u200C":case"\u200D":i+=t();return;case"\\":t(),o="identifierNameEscape";return}if(d.isIdContinueChar(s)){i+=t();return}return c("identifier",i)},identifierNameEscape:function(){if(s!=="u")throw f(t());t();var e=_u();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!d.isIdContinueChar(e))throw Ru();break}i+=e,o="identifierName"},sign:function(){switch(s){case".":i=t(),o="decimalPointLeading";return;case"0":i=t(),o="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i=t(),o="decimalInteger";return;case"I":return t(),W("nfinity"),c("numeric",k*(1/0));case"N":return t(),W("aN"),c("numeric",NaN)}throw f(t())},zero:function(){switch(s){case".":i+=t(),o="decimalPoint";return;case"e":case"E":i+=t(),o="decimalExponent";return;case"x":case"X":i+=t(),o="hexadecimal";return}return c("numeric",k*0)},decimalInteger:function(){switch(s){case".":i+=t(),o="decimalPoint";return;case"e":case"E":i+=t(),o="decimalExponent";return}if(d.isDigit(s)){i+=t();return}return c("numeric",k*Number(i))},decimalPointLeading:function(){if(d.isDigit(s)){i+=t(),o="decimalFraction";return}throw f(t())},decimalPoint:function(){switch(s){case"e":case"E":i+=t(),o="decimalExponent";return}if(d.isDigit(s)){i+=t(),o="decimalFraction";return}return c("numeric",k*Number(i))},decimalFraction:function(){switch(s){case"e":case"E":i+=t(),o="decimalExponent";return}if(d.isDigit(s)){i+=t();return}return c("numeric",k*Number(i))},decimalExponent:function(){switch(s){case"+":case"-":i+=t(),o="decimalExponentSign";return}if(d.isDigit(s)){i+=t(),o="decimalExponentInteger";return}throw f(t())},decimalExponentSign:function(){if(d.isDigit(s)){i+=t(),o="decimalExponentInteger";return}throw f(t())},decimalExponentInteger:function(){if(d.isDigit(s)){i+=t();return}return c("numeric",k*Number(i))},hexadecimal:function(){if(d.isHexDigit(s)){i+=t(),o="hexadecimalInteger";return}throw f(t())},hexadecimalInteger:function(){if(d.isHexDigit(s)){i+=t();return}return c("numeric",k*Number(i))},string:function(){switch(s){case"\\":t(),i+=Pe();return;case'"':if(Cu)return t(),c("string",i);i+=t();return;case"'":if(!Cu)return t(),c("string",i);i+=t();return;case`
5
+ `:case"\r":throw f(t());case"\u2028":case"\u2029":Te(s);break;case void 0:throw f(t())}i+=t()},start:function(){switch(s){case"{":case"[":return c("punctuator",t())}o="value"},beforePropertyName:function(){switch(s){case"$":case"_":i=t(),o="identifierName";return;case"\\":t(),o="identifierNameStartEscape";return;case"}":return c("punctuator",t());case'"':case"'":Cu=t()==='"',o="string";return}if(d.isIdStartChar(s)){i+=t(),o="identifierName";return}throw f(t())},afterPropertyName:function(){if(s===":")return c("punctuator",t());throw f(t())},beforePropertyValue:function(){o="value"},afterPropertyValue:function(){switch(s){case",":case"}":return c("punctuator",t())}throw f(t())},beforeArrayValue:function(){if(s==="]")return c("punctuator",t());o="value"},afterArrayValue:function(){switch(s){case",":case"]":return c("punctuator",t())}throw f(t())},end:function(){throw f(t())}};function c(u,e){return{type:u,value:e,line:K,column:$}}function W(u){for(var e=0,r=u;e<r.length;e+=1){var D=r[e],n=H();if(n!==D)throw f(t());t()}}function Pe(){var u=H();switch(u){case"b":return t(),"\b";case"f":return t(),"\f";case"n":return t(),`
6
+ `;case"r":return t(),"\r";case"t":return t()," ";case"v":return t(),"\v";case"0":if(t(),d.isDigit(H()))throw f(t());return"\0";case"x":return t(),Ne();case"u":return t(),_u();case`
7
+ `:case"\u2028":case"\u2029":return t(),"";case"\r":return t(),H()===`
8
+ `&&t(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw f(t());case void 0:throw f(t())}return t()}function Ne(){var u="",e=H();if(!d.isHexDigit(e)||(u+=t(),e=H(),!d.isHexDigit(e)))throw f(t());return u+=t(),String.fromCodePoint(parseInt(u,16))}function _u(){for(var u="",e=4;e-- >0;){var r=H();if(!d.isHexDigit(r))throw f(t());u+=t()}return String.fromCodePoint(parseInt(u,16))}var Ie={start:function(){if(v.type==="eof")throw X();xu()},beforePropertyName:function(){switch(v.type){case"identifier":case"string":bu=v.value,S="afterPropertyName";return;case"punctuator":su();return;case"eof":throw X()}},afterPropertyName:function(){if(v.type==="eof")throw X();S="beforePropertyValue"},beforePropertyValue:function(){if(v.type==="eof")throw X();xu()},beforeArrayValue:function(){if(v.type==="eof")throw X();if(v.type==="punctuator"&&v.value==="]"){su();return}xu()},afterPropertyValue:function(){if(v.type==="eof")throw X();switch(v.value){case",":S="beforePropertyName";return;case"}":su()}},afterArrayValue:function(){if(v.type==="eof")throw X();switch(v.value){case",":S="beforeArrayValue";return;case"]":su()}},end:function(){}};function xu(){var u;switch(v.type){case"punctuator":switch(v.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=v.value;break}if(ou===void 0)ou=u;else{var e=V[V.length-1];Array.isArray(e)?e.push(u):Object.defineProperty(e,bu,{value:u,writable:!0,enumerable:!0,configurable:!0})}if(u!==null&&typeof u=="object")V.push(u),Array.isArray(u)?S="beforeArrayValue":S="beforePropertyName";else{var r=V[V.length-1];r==null?S="end":Array.isArray(r)?S="afterArrayValue":S="afterPropertyValue"}}function su(){V.pop();var u=V[V.length-1];u==null?S="end":Array.isArray(u)?S="afterArrayValue":S="afterPropertyValue"}function f(u){return Au(u===void 0?"JSON5: invalid end of input at "+K+":"+$:"JSON5: invalid character '"+Vu(u)+"' at "+K+":"+$)}function X(){return Au("JSON5: invalid end of input at "+K+":"+$)}function Ru(){return $-=5,Au("JSON5: invalid identifier character at "+K+":"+$)}function Te(u){console.warn("JSON5: '"+Vu(u)+"' in strings is not valid ECMAScript; consider escaping")}function Vu(u){var e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[u])return e[u];if(u<" "){var r=u.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return u}function Au(u){var e=new SyntaxError(u);return e.lineNumber=K,e.columnNumber=$,e}var Me=function(e,r,D){var n=[],C="",A,w,m="",Y;if(r!=null&&typeof r=="object"&&!Array.isArray(r)&&(D=r.space,Y=r.quote,r=r.replacer),typeof r=="function")w=r;else if(Array.isArray(r)){A=[];for(var Du=0,O=r;Du<O.length;Du+=1){var R=O[Du],P=void 0;typeof R=="string"?P=R:(typeof R=="number"||R instanceof String||R instanceof Number)&&(P=String(R)),P!==void 0&&A.indexOf(P)<0&&A.push(P)}}return D instanceof Number?D=Number(D):D instanceof String&&(D=String(D)),typeof D=="number"?D>0&&(D=Math.min(10,Math.floor(D)),m=" ".substr(0,D)):typeof D=="string"&&(m=D.substr(0,10)),ru("",{"":e});function ru(E,y){var a=y[E];switch(a!=null&&(typeof a.toJSON5=="function"?a=a.toJSON5(E):typeof a.toJSON=="function"&&(a=a.toJSON(E))),w&&(a=w.call(y,E,a)),a instanceof Number?a=Number(a):a instanceof String?a=String(a):a instanceof Boolean&&(a=a.valueOf()),a){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof a=="string")return Eu(a,!1);if(typeof a=="number")return String(a);if(typeof a=="object")return Array.isArray(a)?Ve(a):Le(a)}function Eu(E){for(var y={"'":.1,'"':.2},a={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},h="",L=0;L<E.length;L++){var _=E[L];switch(_){case"'":case'"':y[_]++,h+=_;continue;case"\0":if(d.isDigit(E[L+1])){h+="\\x00";continue}}if(a[_]){h+=a[_];continue}if(_<" "){var uu=_.charCodeAt(0).toString(16);h+="\\x"+("00"+uu).substring(uu.length);continue}h+=_}var z=Y||Object.keys(y).reduce(function(U,eu){return y[U]<y[eu]?U:eu});return h=h.replace(new RegExp(z,"g"),a[z]),z+h+z}function Le(E){if(n.indexOf(E)>=0)throw TypeError("Converting circular structure to JSON5");n.push(E);var y=C;C=C+m;for(var a=A||Object.keys(E),h=[],L=0,_=a;L<_.length;L+=1){var uu=_[L],z=ru(uu,E);if(z!==void 0){var U=Re(uu)+":";m!==""&&(U+=" "),U+=z,h.push(U)}}var eu;if(h.length===0)eu="{}";else{var cu;if(m==="")cu=h.join(","),eu="{"+cu+"}";else{var ke=`,
9
+ `+C;cu=h.join(ke),eu=`{
10
+ `+C+cu+`,
11
+ `+y+"}"}}return n.pop(),C=y,eu}function Re(E){if(E.length===0)return Eu(E,!0);var y=String.fromCodePoint(E.codePointAt(0));if(!d.isIdStartChar(y))return Eu(E,!0);for(var a=y.length;a<E.length;a++)if(!d.isIdContinueChar(String.fromCodePoint(E.codePointAt(a))))return Eu(E,!0);return E}function Ve(E){if(n.indexOf(E)>=0)throw TypeError("Converting circular structure to JSON5");n.push(E);var y=C;C=C+m;for(var a=[],h=0;h<E.length;h++){var L=ru(String(h),E);a.push(L!==void 0?L:"null")}var _;if(a.length===0)_="[]";else if(m===""){var uu=a.join(",");_="["+uu+"]"}else{var z=`,
12
+ `+C,U=a.join(z);_=`[
13
+ `+C+U+`,
14
+ `+y+"]"}return n.pop(),C=y,_}},je={parse:Se,stringify:Me},$e=je,Oe=$e;return Oe})});var e0=(()=>{class F{$activeModal=J(du);$router=J(Qu);onRestartHomebridgeClick(){this.$router.navigate(["/restart"]),this.$activeModal.close()}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(I){return new(I||F)};static \u0275cmp=fu({type:F,selectors:[["ng-component"]],decls:23,vars:19,consts:[["role","dialog","aria-modal","true",1,"modal-content"],[1,"modal-header"],["id","restart-homebridge-modal-title",1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[1,"fas","fa-power-off","primary-text","mb-3",2,"font-size","75px"],[1,"mb-0"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-center"],[1,"text-end"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(I,b){I&1&&(g(0,"div",0)(1,"div",1)(2,"h5",2),j(3),T(4,"translate"),N(),g(5,"button",3),T(6,"translate"),Z("click",function(){return b.dismissModal()}),N()(),g(7,"div",4),q(8,"i",5),g(9,"p",6),j(10),T(11,"translate"),N()(),g(12,"div",7)(13,"div",8)(14,"button",9),T(15,"translate"),Z("click",function(){return b.dismissModal()}),j(16),T(17,"translate"),N()(),q(18,"div",10),g(19,"div",11)(20,"button",12),Z("click",function(){return b.onRestartHomebridgeClick()}),j(21),T(22,"translate"),N()()()()),I&2&&(tu("aria-labelledby","restart-homebridge-modal-title"),p(3),Q(" ",M(4,7,"platform.version.service_restart_required")," "),p(2),tu("aria-label",M(6,9,"form.button_close")),p(5),nu(M(11,11,"plugins.settings.restart_required")),p(4),tu("aria-label",M(15,13,"form.button_close")),p(2),Q(" ",M(17,15,"form.button_close")," "),p(5),Q(" ",M(22,17,"menu.tooltip_restart")," "))},dependencies:[lu],encapsulation:2})}return F})();function Je(F,B){if(F&1&&q(0,"i",19)(1,"i",20),F&2){let l=wu().$implicit;p(),Uu("opacity",l.matterSerialNumber?"1":"0.25")}}function qe(F,B){F&1&&q(0,"i",16)}function Ge(F,B){if(F&1&&(g(0,"li",9)(1,"span",15),zu(2,Je,2,2)(3,qe,1,0,"i",16),N(),g(4,"span",17),j(5),q(6,"br"),g(7,"small",18),j(8),N()()()),F&2){let l=B.$implicit,I=wu();p(2),Ju(I.isMatterSupported?2:3),p(3),Q(" ",l.name),p(3),nu(l.username)}}var F0=(()=>{class F{$activeModal=J(du);$api=J(Yu);$settings=J(ue);$toastr=J(Xu);$translate=J(Wu);isMatterSupported=this.$settings.isFeatureEnabled("matterSupport");bridges=Zu.required({});onRestartChildBridgeClick(){return Hu(this,null,function*(){try{for(let l of this.bridges())yield this.$api.put(`/server/restart/${l.username}`,{});this.$toastr.success(this.$translate.instant("plugins.manage.child_bridge_restart"),this.$translate.instant("toast.title_success"))}catch(l){console.error(l),this.$toastr.error(this.$translate.instant("plugins.manage.child_bridge_restart_failed"),this.$translate.instant("toast.title_error"))}finally{this.$activeModal.close()}})}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(I){return new(I||F)};static \u0275cmp=fu({type:F,selectors:[["ng-component"]],inputs:{bridges:[1,"bridges"]},decls:27,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[1,"fas","fa-power-off","primary-text","mb-3",2,"font-size","75px"],[1,"w-100"],[1,"text-center"],[1,"list-group","list-group-box","mb-0","w-75","mx-auto"],[1,"list-group-item","d-flex","justify-content-between","align-items-center"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-end"],["type","button",1,"btn","btn-primary",3,"click"],[1,"me-3"],[1,"fas","fa-hap"],[1,"flex-grow-1","text-start"],[1,"grey-text","font-monospace"],[1,"fas","fa-lg","fa-hap","me-2"],[1,"fas","fa-lg","fa-matter"]],template:function(I,b){I&1&&(g(0,"div",0)(1,"div",1)(2,"h5",2),j(3),T(4,"translate"),N(),g(5,"button",3),T(6,"translate"),Z("click",function(){return b.dismissModal()}),N()(),g(7,"div",4),q(8,"i",5),g(9,"p",6),j(10),T(11,"translate"),N(),g(12,"div",7)(13,"ul",8),Gu(14,Ge,9,3,"li",9,qu),N()()(),g(16,"div",10)(17,"div",11)(18,"button",12),T(19,"translate"),Z("click",function(){return b.dismissModal()}),j(20),T(21,"translate"),N()(),q(22,"div",7),g(23,"div",13)(24,"button",14),Z("click",function(){return b.onRestartChildBridgeClick()}),j(25),T(26,"translate"),N()()()()),I&2&&(p(3),nu(M(4,6,"platform.version.service_restart_required")),p(2),tu("aria-label",M(6,8,"form.button_close")),p(5),nu(M(11,10,"restart.child_bridge_list")),p(4),Ku(b.bridges()),p(4),tu("aria-label",M(19,12,"form.button_close")),p(2),Q(" ",M(21,14,"form.button_close")," "),p(5),Q(" ",M(26,16,"menu.tooltip_restart")," "))},dependencies:[lu],encapsulation:2})}return F})();function E0(F,{isDebugModeEnabled:B,isMatterSupported:l,isPlatformPlugin:I=!0}){return{type:"object",required:["username"],additionalProperties:!1,title:F.instant("child_bridge.bridge_settings"),properties:Su(ku(Su({username:{type:"string",title:F.instant("users.label_username"),description:`The child bridge username must be 6 pairs of colon-separated hexadecimal characters (A-F 0-9).
15
+ Example: 0E:89:49:64:91:86.`,pattern:"^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$"},port:{type:"number",title:F.instant("accessories.bridge_port"),description:"The port the child bridge listens on.",minimum:1025,maximum:65534},pin:{type:"string",title:"Bridge PIN",description:`The child bridge pin.
16
+ Example: 630-27-655.`,pattern:"^([0-9]{3}-[0-9]{2}-[0-9]{3})$"},name:{type:"string",title:F.instant("child_bridge.config.name"),description:"The name of the child bridge.",maxLength:64},manufacturer:{type:"string",title:F.instant("child_bridge.config.manufacturer"),description:"The child bridge manufacturer to be displayed in HomeKit.",maxLength:32},firmwareRevision:{type:"string",title:F.instant("child_bridge.config.firmware"),description:"The child bridge firmware version to be displayed in HomeKit.",maxLength:64},model:{type:"string",title:F.instant("child_bridge.config.model"),description:"The child bridge model to be displayed in HomeKit.",maxLength:32}},B?{debugModeEnabled:{type:"boolean",title:"Debug Mode",description:"Enable verbose logging for debugging."}}:{}),{env:{type:"object",additionalProperties:!1,title:"Environment Variables",description:"Environment variables to set for this child bridge.",properties:{DEBUG:{type:"string",title:"DEBUG",description:F.instant("settings.service.debug_tooltip")},NODE_OPTIONS:{type:"string",title:"NODE_OPTIONS",description:F.instant("settings.service.node_tooltip")}}}}),l&&I?{matter:{type:"object",additionalProperties:!1,title:F.instant("settings.matter.title"),description:"Matter-specific configuration for this child bridge.",properties:{port:{type:"number",title:F.instant("settings.matter.port"),description:F.instant("settings.matter.port_desc"),minimum:1025,maximum:65534}}}}:{})}}export{e0 as a,F0 as b,Ke as c,E0 as d};
@@ -0,0 +1 @@
1
+ import{C as G,E as X,H as tt,K as et}from"./chunk-YZZ7SAON.js";import{L as Q,X as R,aa as W,d as P}from"./chunk-ZPXACREZ.js";import{e as at,g as ut,h as z}from"./chunk-B4AJQJMI.js";var it=at((B,U)=>{(function(w,k){typeof B=="object"&&typeof U<"u"?U.exports=k():typeof define=="function"&&define.amd?define(k):(w=typeof globalThis<"u"?globalThis:w||self).dayjs=k()})(B,function(){"use strict";var w=1e3,k=6e4,s=36e5,h="millisecond",d="second",m="minute",v="hour",y="day",f="week",L="month",J="quarter",S="year",_="date",K="Invalid Date",st=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,nt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var i=["th","st","nd","rd"],t=r%100;return"["+r+(i[(t-20)%10]||i[t]||i[0])+"]"}},F=function(r,i,t){var n=String(r);return!n||n.length>=i?r:""+Array(i+1-n.length).join(t)+r},ot={s:F,z:function(r){var i=-r.utcOffset(),t=Math.abs(i),n=Math.floor(t/60),e=t%60;return(i<=0?"+":"-")+F(n,2,"0")+":"+F(e,2,"0")},m:function r(i,t){if(i.date()<t.date())return-r(t,i);var n=12*(t.year()-i.year())+(t.month()-i.month()),e=i.clone().add(n,L),o=t-e<0,a=i.clone().add(n+(o?-1:1),L);return+(-(n+(t-e)/(o?e-a:a-e))||0)},a:function(r){return r<0?Math.ceil(r)||0:Math.floor(r)},p:function(r){return{M:L,y:S,w:f,d:y,D:_,h:v,m,s:d,ms:h,Q:J}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(r){return r===void 0}},I="en",D={};D[I]=rt;var q="$isDayjsObject",N=function(r){return r instanceof C||!(!r||!r[q])},Y=function r(i,t,n){var e;if(!i)return I;if(typeof i=="string"){var o=i.toLowerCase();D[o]&&(e=o),t&&(D[o]=t,e=o);var a=i.split("-");if(!e&&a.length>1)return r(a[0])}else{var c=i.name;D[c]=i,e=c}return!n&&e&&(I=e),e||!n&&I},g=function(r,i){if(N(r))return r.clone();var t=typeof i=="object"?i:{};return t.date=r,t.args=arguments,new C(t)},u=ot;u.l=Y,u.i=N,u.w=function(r,i){return g(r,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var C=(function(){function r(t){this.$L=Y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var i=r.prototype;return i.parse=function(t){this.$d=(function(n){var e=n.date,o=n.utc;if(e===null)return new Date(NaN);if(u.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var a=e.match(st);if(a){var c=a[2]-1||0,l=(a[7]||"0").substring(0,3);return o?new Date(Date.UTC(a[1],c,a[3]||1,a[4]||0,a[5]||0,a[6]||0,l)):new Date(a[1],c,a[3]||1,a[4]||0,a[5]||0,a[6]||0,l)}}return new Date(e)})(t),this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return u},i.isValid=function(){return this.$d.toString()!==K},i.isSame=function(t,n){var e=g(t);return this.startOf(n)<=e&&e<=this.endOf(n)},i.isAfter=function(t,n){return g(t)<this.startOf(n)},i.isBefore=function(t,n){return this.endOf(n)<g(t)},i.$g=function(t,n,e){return u.u(t)?this[n]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,n){var e=this,o=!!u.u(n)||n,a=u.p(t),c=function(x,M){var T=u.w(e.$u?Date.UTC(e.$y,M,x):new Date(e.$y,M,x),e);return o?T:T.endOf(y)},l=function(x,M){return u.w(e.toDate()[x].apply(e.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(M)),e)},$=this.$W,p=this.$M,b=this.$D,H="set"+(this.$u?"UTC":"");switch(a){case S:return o?c(1,0):c(31,11);case L:return o?c(1,p):c(0,p+1);case f:var O=this.$locale().weekStart||0,j=($<O?$+7:$)-O;return c(o?b-j:b+(6-j),p);case y:case _:return l(H+"Hours",0);case v:return l(H+"Minutes",1);case m:return l(H+"Seconds",2);case d:return l(H+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,n){var e,o=u.p(t),a="set"+(this.$u?"UTC":""),c=(e={},e[y]=a+"Date",e[_]=a+"Date",e[L]=a+"Month",e[S]=a+"FullYear",e[v]=a+"Hours",e[m]=a+"Minutes",e[d]=a+"Seconds",e[h]=a+"Milliseconds",e)[o],l=o===y?this.$D+(n-this.$W):n;if(o===L||o===S){var $=this.clone().set(_,1);$.$d[c](l),$.init(),this.$d=$.set(_,Math.min(this.$D,$.daysInMonth())).$d}else c&&this.$d[c](l);return this.init(),this},i.set=function(t,n){return this.clone().$set(t,n)},i.get=function(t){return this[u.p(t)]()},i.add=function(t,n){var e,o=this;t=Number(t);var a=u.p(n),c=function(p){var b=g(o);return u.w(b.date(b.date()+Math.round(p*t)),o)};if(a===L)return this.set(L,this.$M+t);if(a===S)return this.set(S,this.$y+t);if(a===y)return c(1);if(a===f)return c(7);var l=(e={},e[m]=k,e[v]=s,e[d]=w,e)[a]||1,$=this.$d.getTime()+t*l;return u.w($,this)},i.subtract=function(t,n){return this.add(-1*t,n)},i.format=function(t){var n=this,e=this.$locale();if(!this.isValid())return e.invalidDate||K;var o=t||"YYYY-MM-DDTHH:mm:ssZ",a=u.z(this),c=this.$H,l=this.$m,$=this.$M,p=e.weekdays,b=e.months,H=e.meridiem,O=function(M,T,A,V){return M&&(M[T]||M(n,o))||A[T].slice(0,V)},j=function(M){return u.s(c%12||12,M,"0")},x=H||function(M,T,A){var V=M<12?"AM":"PM";return A?V.toLowerCase():V};return o.replace(nt,function(M,T){return T||(function(A){switch(A){case"YY":return String(n.$y).slice(-2);case"YYYY":return u.s(n.$y,4,"0");case"M":return $+1;case"MM":return u.s($+1,2,"0");case"MMM":return O(e.monthsShort,$,b,3);case"MMMM":return O(b,$);case"D":return n.$D;case"DD":return u.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return O(e.weekdaysMin,n.$W,p,2);case"ddd":return O(e.weekdaysShort,n.$W,p,3);case"dddd":return p[n.$W];case"H":return String(c);case"HH":return u.s(c,2,"0");case"h":return j(1);case"hh":return j(2);case"a":return x(c,l,!0);case"A":return x(c,l,!1);case"m":return String(l);case"mm":return u.s(l,2,"0");case"s":return String(n.$s);case"ss":return u.s(n.$s,2,"0");case"SSS":return u.s(n.$ms,3,"0");case"Z":return a}return null})(M)||a.replace(":","")})},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,n,e){var o,a=this,c=u.p(n),l=g(t),$=(l.utcOffset()-this.utcOffset())*k,p=this-l,b=function(){return u.m(a,l)};switch(c){case S:o=b()/12;break;case L:o=b();break;case J:o=b()/3;break;case f:o=(p-$)/6048e5;break;case y:o=(p-$)/864e5;break;case v:o=p/s;break;case m:o=p/k;break;case d:o=p/w;break;default:o=p}return e?o:u.a(o)},i.daysInMonth=function(){return this.endOf(L).$D},i.$locale=function(){return D[this.$L]},i.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),o=Y(t,n,!0);return o&&(e.$L=o),e},i.clone=function(){return u.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},r})(),Z=C.prototype;return g.prototype=Z,[["$ms",h],["$s",d],["$m",m],["$H",v],["$W",y],["$M",L],["$y",S],["$D",_]].forEach(function(r){Z[r[1]]=function(i){return this.$g(i,r[0],r[1])}}),g.extend=function(r,i){return r.$i||(r(i,C,g),r.$i=!0),g},g.locale=Y,g.isDayjs=N,g.unix=function(r){return g(1e3*r)},g.en=D[I],g.Ls=D,g.p={},g})});var E=ut(it(),1);var vt=(()=>{class w{$api=W(et);$title=W(G);$toastr=W(tt);$translate=W(X);settingsLoadedSubject=new P;defaultTheme="deep-purple";forbiddenKeys=["__proto__","constructor","prototype"];serverTimeToastSubscription;restartToastRef=null;env={};host;proxyHost;webroot;originalWebroot;formAuth=!0;sessionTimeout=28800;sessionTimeoutInactivityBased=!1;uiVersion;theme;lightingMode;currentLightingMode;actualLightingMode;browserLightingMode;menuMode;keepOrphans;wallpaper;serverTimeOffset=0;rtl=!1;browserLang;onSettingsLoaded=this.settingsLoadedSubject.pipe(Q());settingsLoaded=!1;themeList=["orange","red","pink","purple","deep-purple","indigo","blue","blue-grey","cyan","green","teal","grey","brown"];constructor(){this.getAppSettings()}getAppSettings(){return z(this,null,function*(){let s=yield this.$api.get("/auth/settings");this.formAuth=s.formAuth,this.sessionTimeout=s.sessionTimeout,this.sessionTimeoutInactivityBased=s.sessionTimeoutInactivityBased,this.env=s.env,this.host=s.host,this.webroot=s.webroot,this.originalWebroot=s.originalWebroot,this.proxyHost=s.proxyHost,this.lightingMode=s.lightingMode,this.wallpaper=s.wallpaper,this.setLightingMode(this.lightingMode,"user"),this.setTheme(s.theme),this.setMenuMode(s.menuMode),this.setKeepOrphans(s.keepOrphans),this.setTitle(this.env.homebridgeInstanceName),this.checkServerTime(s.serverTimestamp),this.setUiVersion(s.env.packageVersion),this.setLang(this.env.lang),this.settingsLoaded=!0,this.settingsLoadedSubject.next(void 0),this.browserLang=this.$translate.getBrowserCultureLang()})}setBrowserLightingMode(s){this.browserLightingMode=s,this.lightingMode==="auto"&&this.setLightingMode(s,"browser")}setLightingMode(s,h){h==="user"&&(this.lightingMode=s),this.currentLightingMode=s,this.actualLightingMode=this.currentLightingMode==="auto"?this.browserLightingMode:this.currentLightingMode,this.theme&&this.setTheme(this.theme)}setTheme(s){(!s||!this.themeList.includes(s))&&(s=this.defaultTheme,this.$api.put("/config-editor/ui",{key:"theme",value:s}).catch(m=>console.error("Error saving setTheme:",m)));let h=window.document.querySelector("body");h.classList.remove(`config-ui-x-${this.theme}`),h.classList.remove(`config-ui-x-dark-mode-${this.theme}`),this.theme=s,this.actualLightingMode==="dark"?(h.classList.add(`config-ui-x-dark-mode-${this.theme}`),h.classList.contains("dark-mode")||h.classList.add("dark-mode")):(h.classList.add(`config-ui-x-${this.theme}`),h.classList.contains("dark-mode")&&h.classList.remove("dark-mode")),window.document.querySelectorAll("iframe").forEach((m,v)=>{try{let y=m.contentDocument;if(y){let f=y.body;this.actualLightingMode==="dark"?(f.classList.contains(`config-ui-x-${this.theme}`)&&f.classList.remove(`config-ui-x-${this.theme}`),f.classList.contains(`config-ui-x-dark-mode-${this.theme}`)||f.classList.add(`config-ui-x-dark-mode-${this.theme}`),f.classList.contains("dark-mode")||f.classList.add("dark-mode"),f.style.backgroundColor="#242424 !important",f.style.color="#ffffff !important"):(f.classList.contains(`config-ui-x-${this.theme}`)||f.classList.add(`config-ui-x-${this.theme}`),f.classList.contains(`config-ui-x-dark-mode-${this.theme}`)&&f.classList.remove(`config-ui-x-dark-mode-${this.theme}`),f.classList.contains("dark-mode")&&f.classList.remove("dark-mode"),f.style.backgroundColor="#ffffff !important",f.style.color="#000000 !important"),m.contentWindow.postMessage({type:"theme-update",isDark:this.actualLightingMode==="dark",theme:s},window.location.origin)}}catch(y){console.warn(`Iframe ${v}: Access denied (cross-origin?)`,{error:y,src:m.src})}})}setMenuMode(s){this.menuMode=s}setKeepOrphans(s){this.keepOrphans=s}setLang(s){s?this.$translate.use(s):s="auto",this.env.lang=s}setItem(s,h){this[s]=h}setEnvItem(s,h){if(s.includes(".")){let d=s.split("."),m=this.env;for(let v=0;v<d.length-1;v+=1){if(this.forbiddenKeys.includes(d[v]))return;m[d[v]]||(m[d[v]]={}),m=m[d[v]]}this.forbiddenKeys.includes(d[d.length-1])||(m[d[d.length-1]]=h)}else this.env[s]=h}checkServerTime(s){let d=(0,E.default)(s).diff((0,E.default)(),"hour");if(this.serverTimeOffset=d*60*60,d>=8||d<=-8){let m=this.$toastr.warning(this.$translate.instant("settings.datetime.incorrect"),this.$translate.instant("toast.title_warning"),{timeOut:2e4,tapToDismiss:!1});this.serverTimeToastSubscription&&this.serverTimeToastSubscription.unsubscribe(),this.serverTimeToastSubscription=m.onTap.subscribe(()=>{window.open("https://homebridge.io/w/JqTFs","_blank")})}}setUiVersion(s){this.uiVersion||(this.uiVersion=s)}setTitle(s){this.$title.setTitle(s||"Homebridge")}setPageTitle(s){let h=this.env.homebridgeInstanceName||"Homebridge";s?this.$title.setTitle(`${h} \u2014 ${s}`):this.$title.setTitle(h)}isFeatureEnabled(s){return this.env.featureFlags?.[s]??!1}static \u0275fac=function(h){return new(h||w)};static \u0275prov=R({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();export{it as a,vt as b};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-C2W3HONU.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1 @@
1
+ import{X as o,d as e}from"./chunk-ZPXACREZ.js";var n=new e,f=(()=>{class t{readyEvent;constructor(){this.readyEvent=n}static \u0275fac=function(r){return new(r||t)};static \u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function d(){n.next(void 0)}export{f as a,d as b};
@@ -0,0 +1,2 @@
1
+ import{a as b}from"./chunk-N2IMTG2V.js";import{Lb as f,W as p,_,aa as d,ba as M,bc as w,cc as C,dc as y,nb as a,oa as v,pa as h,sb as u,v as c,wc as E,ya as l}from"./chunk-ZPXACREZ.js";var q=["editorContainer"],I="[_nghost-%COMP%]{display:block;height:200px}.editor-container[_ngcontent-%COMP%]{width:100%;height:98%}",D=new _("NGX_MONACO_EDITOR_CONFIG"),O=!1,N,R=(()=>{class t{constructor(){this.config=d(D),this.onInit=new v,this._insideNg=!1}set insideNg(e){this._insideNg=e,this._editor&&(this._editor.dispose(),this.initMonaco(this._options,this.insideNg))}get insideNg(){return this._insideNg}ngAfterViewInit(){O?N.then(()=>{this.initMonaco(this._options,this.insideNg)}):(O=!0,N=new Promise(e=>{let i=this.config.baseUrl;if((i==="assets"||!i)&&(i="./assets/monaco/min/vs"),typeof window.monaco=="object"){this.initMonaco(this._options,this.insideNg),e();return}let o=s=>{let g=s||window.require,m={paths:{vs:`${i}`}};Object.assign(m,this.config.requireConfig||{}),g.config(m),g(["vs/editor/editor.main"],()=>{typeof this.config.onMonacoLoad=="function"&&this.config.onMonacoLoad(),this.initMonaco(this._options,this.insideNg),e()})};if(this.config.monacoRequire)o(this.config.monacoRequire);else if(window.require)if(window.require.config)o();else{var n=`${i}/loader.js`,r=new XMLHttpRequest;r.addEventListener("load",()=>{let s=document.createElement("script");s.type="text/javascript",s.text=["var nodeRequire = require;",r.responseText.replace('"use strict";',""),"var monacoAmdRequire = require;","require = nodeRequire;","require.nodeRequire = require;"].join(`
2
+ `),document.body.appendChild(s),o(window.monacoAmdRequire)}),r.open("GET",n),r.send()}else{let s=document.createElement("script");s.type="text/javascript",s.src=`${i}/loader.js`,s.addEventListener("load",()=>{o()}),document.body.appendChild(s)}}))}ngOnDestroy(){this._windowResizeSubscription&&this._windowResizeSubscription.unsubscribe(),this._editor&&(this._editor.dispose(),this._editor=void 0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=a({type:t,selectors:[["ng-component"]],viewQuery:function(i,o){if(i&1&&w(q,7),i&2){let n;C(n=y())&&(o._editorContainer=n.first)}},inputs:{insideNg:"insideNg"},outputs:{onInit:"onInit"},standalone:!1,decls:0,vars:0,template:function(i,o){},encapsulation:2})}}return t})(),k=(()=>{class t extends R{constructor(){super(...arguments),this.zone=d(h),this._value="",this.propagateChange=e=>{},this.onTouched=()=>{}}set options(e){this._options=Object.assign({},this.config.defaultOptions,e),this._editor&&(this._editor.dispose(),this.initMonaco(this._options,this.insideNg))}get options(){return this._options}set model(e){this.options.model=e,this._editor&&(this._editor.dispose(),this.initMonaco(this.options,this.insideNg))}writeValue(e){this._value=e||"",setTimeout(()=>{this._editor&&!this.options.model&&this._editor.setValue(this._value)})}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.options.readOnly=e||this._options.readOnly}initMonaco(e,i){let o=!!e.model;if(o){let n=monaco.editor.getModel(e.model.uri||"");n?(e.model=n,e.model.setValue(this._value)):e.model=monaco.editor.createModel(e.model.value,e.model.language,e.model.uri)}i?this._editor=monaco.editor.create(this._editorContainer.nativeElement,e):this.zone.runOutsideAngular(()=>{this._editor=monaco.editor.create(this._editorContainer.nativeElement,e)}),o||this._editor.setValue(this._value),this._editor.onDidChangeModelContent(n=>{let r=this._editor.getValue();this.zone.run(()=>{this.propagateChange(r),this._value=r})}),this._editor.onDidBlurEditorWidget(()=>{this.onTouched()}),this._editor.setTheme=n=>{this.options.theme=n,monaco.editor.setTheme(n)},this._windowResizeSubscription&&this._windowResizeSubscription.unsubscribe(),this._windowResizeSubscription=c(window,"resize").subscribe(()=>this._editor.layout()),this.onInit.emit(this._editor)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=l(t)))(o||t)}})()}static{this.\u0275cmp=a({type:t,selectors:[["ngx-monaco-editor"]],inputs:{options:"options",model:"model"},features:[E([{provide:b,useExisting:p(()=>t),multi:!0}]),u],decls:2,vars:0,consts:[["editorContainer",""],[1,"editor-container"]],template:function(i,o){i&1&&f(0,"div",1,0)},styles:["[_nghost-%COMP%]{display:block;height:200px}.editor-container[_ngcontent-%COMP%]{width:100%;height:98%}"],changeDetection:0})}}return t})(),Q=(()=>{class t extends R{constructor(){super(...arguments),this.zone=d(h)}set options(e){this._options=Object.assign({},this.config.defaultOptions,e),this._editor&&(this._editor.dispose(),this.initMonaco(this._options,this.insideNg))}get options(){return this._options}set originalModel(e){this._originalModel=e,this._editor&&(this._editor.dispose(),this.initMonaco(this.options,this.insideNg))}set modifiedModel(e){this._modifiedModel=e,this._editor&&(this._editor.dispose(),this.initMonaco(this.options,this.insideNg))}initMonaco(e,i){if(!this._originalModel||!this._modifiedModel)throw new Error("originalModel or modifiedModel not found for ngx-monaco-diff-editor");this._originalModel.language=this._originalModel.language||e.language,this._modifiedModel.language=this._modifiedModel.language||e.language;let o=monaco.editor.createModel(this._originalModel.code,this._originalModel.language),n=monaco.editor.createModel(this._modifiedModel.code,this._modifiedModel.language);this._editorContainer.nativeElement.innerHTML="";let r=e.theme;i?this._editor=monaco.editor.createDiffEditor(this._editorContainer.nativeElement,e):this.zone.runOutsideAngular(()=>{this._editor=monaco.editor.createDiffEditor(this._editorContainer.nativeElement,e)}),e.theme=r,this._editor.setModel({original:o,modified:n}),this._windowResizeSubscription&&this._windowResizeSubscription.unsubscribe(),this._windowResizeSubscription=c(window,"resize").subscribe(()=>this._editor.layout()),this.onInit.emit(this._editor)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=l(t)))(o||t)}})()}static{this.\u0275cmp=a({type:t,selectors:[["ngx-monaco-diff-editor"]],inputs:{options:"options",originalModel:"originalModel",modifiedModel:"modifiedModel"},features:[u],decls:2,vars:0,consts:[["editorContainer",""],[1,"editor-container"]],template:function(i,o){i&1&&f(0,"div",1,0)},styles:[I],changeDetection:0})}}return t})();function U(t={}){return M([{provide:D,useValue:t}])}export{k as a,Q as b,U as c};
@@ -0,0 +1 @@
1
+ import{X as C}from"./chunk-ZPXACREZ.js";import{e as u,g as c}from"./chunk-B4AJQJMI.js";var E=u((V,l)=>{(function(b,a){b(function(){"use strict";var e={};e.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},e.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var G=Object.prototype.hasOwnProperty,B;e.FALLBACK_PHONE="UnknownPhone",e.FALLBACK_TABLET="UnknownTablet",e.FALLBACK_MOBILE="UnknownMobile",B="isArray"in Array?Array.isArray:function(T){return Object.prototype.toString.call(T)==="[object Array]"};function s(T,S){return T!=null&&S!=null&&T.toLowerCase()===S.toLowerCase()}function H(T,S){var i,o,P=T.length;if(!P||!S)return!1;for(i=S.toLowerCase(),o=0;o<P;++o)if(i===T[o].toLowerCase())return!0;return!1}function t(T){for(var S in T)G.call(T,S)&&(T[S]=new RegExp(T[S],"i"))}function D(T){return(T||"").substr(0,500)}(function(){var S,i,o,P,n,r,M=e.mobileDetectRules;for(S in M.props)if(G.call(M.props,S)){for(i=M.props[S],B(i)||(i=[i]),n=i.length,P=0;P<n;++P)o=i[P],r=o.indexOf("[VER]"),r>=0&&(o=o.substring(0,r)+"([\\w._\\+]+)"+o.substring(r+5)),i[P]=new RegExp(o,"i");M.props[S]=i}t(M.oss),t(M.phones),t(M.tablets),t(M.uas),t(M.utils),M.oss0={WindowsPhoneOS:M.oss.WindowsPhoneOS,WindowsMobileOS:M.oss.WindowsMobileOS}})(),e.findMatch=function(T,S){for(var i in T)if(G.call(T,i)&&T[i].test(S))return i;return null},e.findMatches=function(T,S){var i=[];for(var o in T)G.call(T,o)&&T[o].test(S)&&i.push(o);return i},e.getVersionStr=function(T,S){var i=e.mobileDetectRules.props,o,P,n,r;if(G.call(i,T)){for(o=i[T],n=o.length,P=0;P<n;++P)if(r=o[P].exec(S),r!==null)return r[1]}return null},e.getVersion=function(T,S){var i=e.getVersionStr(T,S);return i?e.prepareVersionNo(i):NaN},e.prepareVersionNo=function(T){var S;return S=T.split(/[a-z._ \/\-]/i),S.length===1&&(T=S[0]),S.length>1&&(T=S[0]+".",S.shift(),T+=S.join("")),Number(T)},e.isMobileFallback=function(T){return e.detectMobileBrowsers.fullPattern.test(T)||e.detectMobileBrowsers.shortPattern.test(T.substr(0,4))},e.isTabletFallback=function(T){return e.detectMobileBrowsers.tabletPattern.test(T)},e.prepareDetectionCache=function(T,S,i){if(T.mobile===a){var o,P,n;if(P=e.findMatch(e.mobileDetectRules.tablets,S),P){T.mobile=T.tablet=P,T.phone=null;return}if(o=e.findMatch(e.mobileDetectRules.phones,S),o){T.mobile=T.phone=o,T.tablet=null;return}e.isMobileFallback(S)?(n=A.isPhoneSized(i),n===a?(T.mobile=e.FALLBACK_MOBILE,T.tablet=T.phone=null):n?(T.mobile=T.phone=e.FALLBACK_PHONE,T.tablet=null):(T.mobile=T.tablet=e.FALLBACK_TABLET,T.phone=null)):e.isTabletFallback(S)?(T.mobile=T.tablet=e.FALLBACK_TABLET,T.phone=null):T.mobile=T.tablet=T.phone=null}},e.mobileGrade=function(T){var S=T.mobile()!==null;return T.os("iOS")&&T.version("iPad")>=4.3||T.os("iOS")&&T.version("iPhone")>=3.1||T.os("iOS")&&T.version("iPod")>=3.1||T.version("Android")>2.1&&T.is("Webkit")||T.version("Windows Phone OS")>=7||T.is("BlackBerry")&&T.version("BlackBerry")>=6||T.match("Playbook.*Tablet")||T.version("webOS")>=1.4&&T.match("Palm|Pre|Pixi")||T.match("hp.*TouchPad")||T.is("Firefox")&&T.version("Firefox")>=12||T.is("Chrome")&&T.is("AndroidOS")&&T.version("Android")>=4||T.is("Skyfire")&&T.version("Skyfire")>=4.1&&T.is("AndroidOS")&&T.version("Android")>=2.3||T.is("Opera")&&T.version("Opera Mobi")>11&&T.is("AndroidOS")||T.is("MeeGoOS")||T.is("Tizen")||T.is("Dolfin")&&T.version("Bada")>=2||(T.is("UC Browser")||T.is("Dolfin"))&&T.version("Android")>=2.3||T.match("Kindle Fire")||T.is("Kindle")&&T.version("Kindle")>=3||T.is("AndroidOS")&&T.is("NookTablet")||T.version("Chrome")>=11&&!S||T.version("Safari")>=5&&!S||T.version("Firefox")>=4&&!S||T.version("MSIE")>=7&&!S||T.version("Opera")>=10&&!S?"A":T.os("iOS")&&T.version("iPad")<4.3||T.os("iOS")&&T.version("iPhone")<3.1||T.os("iOS")&&T.version("iPod")<3.1||T.is("Blackberry")&&T.version("BlackBerry")>=5&&T.version("BlackBerry")<6||T.version("Opera Mini")>=5&&T.version("Opera Mini")<=6.5&&(T.version("Android")>=2.3||T.is("iOS"))||T.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||T.version("Opera Mobi")>=11&&T.is("SymbianOS")?"B":(T.version("BlackBerry")<5||T.match("MSIEMobile|Windows CE.*Mobile")||T.version("Windows Mobile")<=5.2,"C")},e.detectOS=function(T){return e.findMatch(e.mobileDetectRules.oss0,T)||e.findMatch(e.mobileDetectRules.oss,T)},e.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height};function A(T,S){this.ua=D(T),this._cache={},this.maxPhoneWidth=S||600}return A.prototype={constructor:A,mobile:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===a&&(this._cache.userAgent=e.findMatch(e.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===a&&(this._cache.userAgents=e.findMatches(e.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===a&&(this._cache.os=e.detectOS(this.ua)),this._cache.os},version:function(T){return e.getVersion(T,this.ua)},versionStr:function(T){return e.getVersionStr(T,this.ua)},is:function(T){return H(this.userAgents(),T)||s(T,this.os())||s(T,this.phone())||s(T,this.tablet())||H(e.findMatches(e.mobileDetectRules.utils,this.ua),T)},match:function(T){return T instanceof RegExp||(T=new RegExp(T,"i")),T.test(this.ua)},isPhoneSized:function(T){return A.isPhoneSized(T||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===a&&(this._cache.grade=e.mobileGrade(this)),this._cache.grade}},typeof window<"u"&&window.screen?A.isPhoneSized=function(T){return T<0?a:e.getDeviceSmallerSide()<=T}:A.isPhoneSized=function(){},A._impl=e,A.version="1.4.5 2021-03-13",A})})((function(b){if(typeof l<"u"&&l.exports)return function(a){l.exports=a()};if(typeof define=="function"&&define.amd)return define;if(typeof window<"u")return function(a){window.MobileDetect=a()};throw new Error("unknown environment")})())});var d=c(E(),1);function I(b){b.preventDefault()}var N=(()=>{class b{detect;isTouchMoveLocked=!1;constructor(){this.detect=new d.default(window.navigator.userAgent)}disableTouchMove(){this.isTouchMoveLocked||(document.body.addEventListener("touchmove",I,{passive:!1}),this.isTouchMoveLocked=!0)}enableTouchMove(){document.body.removeEventListener("touchmove",I),this.isTouchMoveLocked=!1}static \u0275fac=function(G){return new(G||b)};static \u0275prov=C({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();export{N as a};
@@ -0,0 +1,2 @@
1
+ import{a as re}from"./chunk-63DEF4BP.js";import{b as K}from"./chunk-CR6W3PUA.js";import{C as ie,D as ne,c as A,d as S,e as J,f as Q,g as X,j as $,m as Y,r as Z,s as ee,z as te}from"./chunk-N2IMTG2V.js";import{b as D}from"./chunk-PXNJ4PSF.js";import{C as R,E as N,F as q,H as G,J as E,K as j,q as H}from"./chunk-YZZ7SAON.js";import{Ab as F,Ec as a,Fb as _,Fc as s,Gb as o,Hb as r,Ib as m,Rb as T,Ua as W,Xb as x,Za as n,Zb as u,aa as h,ga as w,ha as b,hc as P,ic as U,jc as I,kc as l,lc as g,mc as f,nb as V,xc as L,yb as O,zb as z,zc as B}from"./chunk-ZPXACREZ.js";import{h as y}from"./chunk-B4AJQJMI.js";var se=()=>["restoring","restarting","restore-complete"],M=(t,d)=>({"is-valid":t,"is-invalid":d});function le(t,d){if(t&1){let e=T();o(0,"div",5)(1,"h4",6),l(2),a(3,"translate"),r(),m(4,"div",7),a(5,"translate"),o(6,"button",8),x("click",function(){w(e);let i=u();return b(i.onClickGettingStarted())}),l(7),a(8,"translate"),r(),o(9,"a",9),x("click",function(){w(e);let i=u();return b(i.onClickRestoreBackup())}),l(10),a(11,"translate"),r()()}t&2&&(n(2),g(s(3,4,"setup.welcome_to_homebridge")),n(2),_("innerHTML",s(5,6,"setup.intro"),W),n(3),f(" ",s(8,8,"setup.button_get_started")," "),n(3),g(s(11,10,"setup_wizard_restore")))}function pe(t,d){if(t&1){let e=T();o(0,"div",5)(1,"h4",6),l(2),a(3,"translate"),r(),o(4,"div",10),l(5),a(6,"translate"),r(),o(7,"div",11)(8,"form",12),x("ngSubmit",function(){w(e);let i=u();return b(i.createFirstUser())}),o(9,"div",13)(10,"span",14),m(11,"i",15),r(),m(12,"input",16),a(13,"translate"),r(),o(14,"div",13)(15,"span",14),m(16,"i",17),r(),m(17,"input",18),a(18,"translate"),r(),o(19,"div",13)(20,"span",14),m(21,"i",17),r(),m(22,"input",19),a(23,"translate"),r(),o(24,"div",20)(25,"button",21),x("click",function(){w(e);let i=u();return b(i.onClickCancelRestore())}),l(26),a(27,"translate"),r(),o(28,"button",22),l(29),a(30,"translate"),r()()()()()}if(t&2){let e=u();n(2),g(s(3,19,"setup.create_account")),n(3),g(s(6,21,"setup_wizard_create_info")),n(3),_("formGroup",e.createUserForm),n(4),I(B(33,M,e.createUserForm.controls.username.dirty&&e.createUserForm.controls.username.valid,e.createUserForm.controls.username.dirty&&e.createUserForm.controls.username.invalid)),_("readonly",e.loading)("placeholder",s(13,23,"users.label_username")),n(5),I(B(36,M,e.createUserForm.controls.password.dirty&&e.createUserForm.controls.password.valid,e.createUserForm.controls.password.dirty&&e.createUserForm.controls.password.errors)),_("readonly",e.loading)("placeholder",s(18,25,"users.label_password")),n(5),I(B(39,M,e.createUserForm.controls.passwordConfirm.dirty&&e.createUserForm.controls.passwordConfirm.valid,e.createUserForm.controls.passwordConfirm.dirty&&e.createUserForm.controls.passwordConfirm.errors)),_("readonly",e.loading)("placeholder",s(23,27,"users.label_confirm_password")),n(3),_("disabled",e.restoreUploading),n(),f(" ",s(27,29,"form.button_back")," "),n(2),_("disabled",e.createUserForm.invalid||e.loading),n(),f(" ",s(30,31,"form.button_continue")," ")}}function de(t,d){t&1&&(m(0,"i",25),l(1),a(2,"translate")),t&2&&(n(),f(" ",s(2,1,"backup.label_uploading")," "))}function ce(t,d){t&1&&(l(0),a(1,"translate")),t&2&&f(" ",s(1,1,"form.button_continue")," ")}function me(t,d){if(t&1){let e=T();o(0,"div",5)(1,"h4",6),l(2),a(3,"translate"),r(),o(4,"div",10),l(5),a(6,"translate"),r(),o(7,"input",23),x("change",function(i){w(e);let k=u();return b(k.handleRestoreFileInput(i.target.files))}),r(),o(8,"div",20)(9,"button",21),x("click",function(){w(e);let i=u();return b(i.onClickCancelRestore())}),l(10),a(11,"translate"),r(),o(12,"button",24),x("click",function(){w(e);let i=u();return b(i.onRestoreBackupClick())}),z(13,de,3,3)(14,ce,2,3),r()()()}if(t&2){let e=u();n(2),g(s(3,6,"setup_wizard_restore")),n(3),g(s(6,8,"backup.restore_help_one")),n(4),_("disabled",e.restoreUploading),n(),f(" ",s(11,10,"form.button_back")," "),n(2),_("disabled",e.restoreUploading||!e.selectedFile),n(),F(e.restoreUploading?13:14)}}function ue(t,d){t&1&&(l(0),a(1,"translate")),t&2&&f(" ",s(1,1,"setup_wizard_restoring")," ")}function ge(t,d){t&1&&(l(0),a(1,"translate")),t&2&&f(" ",s(1,1,"setup_wizard_starting")," ")}function _e(t,d){t&1&&(l(0),a(1,"translate")),t&2&&f(" ",s(1,1,"setup_wizard_complete")," ")}function fe(t,d){t&1&&(o(0,"a",27),l(1),a(2,"translate"),r()),t&2&&(n(),g(s(2,1,"form.button_continue")))}function he(t,d){if(t&1&&(o(0,"div",5)(1,"h4",6),z(2,ue,2,3)(3,ge,2,3)(4,_e,2,3),r(),m(5,"div",26),z(6,fe,3,3,"a",27),r()),t&2){let e=u();n(2),F(e.step==="restoring"?2:e.step==="restarting"?3:e.step==="restore-complete"?4:-1),n(4),F(e.step==="restore-complete"?6:-1)}}function we(t,d){t&1&&(o(0,"div",5)(1,"h4",28),l(2),a(3,"translate"),r(),o(4,"div",10),l(5),a(6,"translate"),r(),o(7,"a",29),l(8),a(9,"translate"),r()()),t&2&&(n(2),g(s(3,3,"setup_wizard_complete_title")),n(3),g(s(6,5,"setup_wizard_completed")),n(3),g(s(9,7,"form.button_continue")))}var Ue=(()=>{class t{$api=h(j);$auth=h(K);$settings=h(D);$title=h(R);$toastr=h(G);$translate=h(N);$ws=h(re);io;step="welcome";backgroundStyle;progress=1;restoreInProgress=!1;restoreStarted=!1;restoreFailed=!1;loading=!1;selectedFile;restoreUploading=!1;createUserForm=new X({username:new $("",[S.required]),password:new $("",[S.compose([S.required,S.minLength(4)])]),passwordConfirm:new $("",[S.required])},this.matchPassword);ngOnInit(){return y(this,null,function*(){this.$title.setTitle(this.$translate.instant("setup_wizard_page_title")),yield this.setBackground()})}onClickGettingStarted(){this.step="create-account",this.progress=50}onClickRestoreBackup(){this.step="restore-backup",this.progress=20}onClickCancelRestore(){this.selectedFile=null,this.step="welcome",this.progress=1}createFirstUser(){return y(this,null,function*(){this.loading=!0,this.progress=75;let e=this.createUserForm.getRawValue();e.name=e.username;try{yield this.$api.post("/setup-wizard/create-first-user",e),this.$settings.env.setupWizardComplete=!0,this.progress=100,this.loading=!1,yield this.$auth.login({username:e.username,password:e.password}),this.step="setup-complete"}catch(p){this.loading=!1,this.progress=50,console.error(p),this.$toastr.error(p.message,this.$translate.instant("toast.title_error"))}})}handleRestoreFileInput(e){e.length?(this.selectedFile=e[0],this.progress=40):(delete this.selectedFile,this.progress=20)}onRestoreBackupClick(){return y(this,null,function*(){this.restoreUploading=!0,this.step="restoring",this.progress=60;try{let e=yield this.$api.get("/setup-wizard/get-setup-wizard-token");window.localStorage.setItem(E.jwt.tokenKey,e.access_token),this.$auth.token=e.access_token,this.progress=65;let p=new FormData;p.append("restoreArchive",this.selectedFile,this.selectedFile.name),yield this.$api.post("/backup/restore",p),this.progress=70,this.io=this.$ws.connectToNamespace("backup");let i=document.getElementById("output");this.io.socket.on("stdout",c=>{c.split(`
2
+ \r`).forEach(C=>{if(C&&!/^[⠇⠏⠋⠙⠹⠸]+$/.test(C)){let v=document.createElement("div"),ae=/\x1B\[(\d{1,2}(;\d{1,2})?)?[mGK]/g;v.innerHTML=C.replace(ae,""),C.includes("[0;31m")?v.classList.add("red-text"):C.includes("[0;32m")?v.classList.add("green-text"):C.includes("[0;33m")?v.classList.add("orange-text"):C.includes("[0;36m")&&v.classList.add("cyan-text"),i.appendChild(v),i.scrollTop=i.scrollHeight}})}),this.restoreStarted=!0,this.restoreInProgress=!0,this.progress=75,yield this.io.request("do-restore").toPromise(),this.progress=80,this.restoreInProgress=!1,yield this.$api.put("/backup/restart",{}),this.step="restarting",this.progress=85,window.localStorage.removeItem(E.jwt.tokenKey),this.$auth.token=null;let k=document.createElement("div");k.classList.add("orange-text"),k.innerHTML="Starting Homebridge, please wait...",i.appendChild(k),i.scrollTop=i.scrollHeight,yield new Promise(c=>setTimeout(c,3e3)),this.progress=88,yield new Promise(c=>setTimeout(c,3e3)),this.progress=91,yield new Promise(c=>setTimeout(c,3e3)),this.progress=94,yield new Promise(c=>setTimeout(c,3e3)),this.progress=97,yield new Promise(c=>setTimeout(c,3e3)),this.progress=99;let oe=setInterval(()=>y(this,null,function*(){try{yield this.$api.get("/auth/settings"),clearInterval(oe),this.progress=100,this.restoreUploading=!1,this.step="restore-complete"}catch{}}),1e3)}catch(e){console.error(e),this.restoreUploading=!1,this.restoreFailed=!0,this.progress=20,this.step="restore-backup",this.$toastr.error(e.message,this.$translate.instant("toast.title_error"))}finally{this.io&&this.io.end()}})}setBackground(){return y(this,null,function*(){if(this.$settings.settingsLoaded||(yield this.$settings.onSettingsLoaded.toPromise()),this.$settings.env.customWallpaperHash){let e=`${E.api.base}/auth/wallpaper/${this.$settings.env.customWallpaperHash}`;this.backgroundStyle=`url('${e}') center/cover`}})}matchPassword(e){let p=e.get("password").value,i=e.get("passwordConfirm").value;if(p!==i)e.get("passwordConfirm").setErrors({matchPassword:!0});else return null}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=V({type:t,selectors:[["ng-component"]],decls:10,vars:11,consts:[[1,"setup-container","gradient","d-flex","align-items-start","justify-content-center"],[1,"w-100","setup-card","d-flex","py-4","flex-column"],["ngSrc","assets/homebridge-color-round.svg","alt","Homebridge Logo","height","100","width","100","priority","true",1,"homebridge-logo","mx-auto","my-3"],[1,"progress","w-100","my-4"],["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"progress-bar","progress-bar-striped","bg-success"],[1,"w-100","d-flex","flex-column","align-items-center","mb-2"],[1,"mb-3","text-center"],[1,"mb-4","small","grey-text","text-center",3,"innerHTML"],["type","button",1,"btn","btn-lg","btn-primary","mb-4",3,"click"],["href","javascript:void(0)",1,"grey-text",3,"click"],[1,"mb-4","small","grey-text","text-center"],[1,"w-100"],["novalidate","",3,"ngSubmit","formGroup"],[1,"input-group","mb-4"],[1,"input-group-text","custom-input"],[1,"fas","fa-user","primary-text","fa-lg"],["formControlName","username","type","text","id","form-username","autocomplete","username","autocapitalize","none","tabindex","1","required","",1,"form-control","custom-input",3,"readonly","placeholder"],[1,"fas","fa-lock","primary-text","fa-lg"],["formControlName","password","type","password","id","form-pass","autocomplete","new-password","tabindex","2","required","",1,"form-control","custom-input",3,"readonly","placeholder"],["formControlName","passwordConfirm","type","password","id","form-pass-confirm","autocomplete","new-password","tabindex","2","required","",1,"form-control","custom-input",3,"readonly","placeholder"],[1,"mt-3","w-100","d-flex","justify-content-between"],["type","button",1,"btn","btn-elegant","ms-0",3,"click","disabled"],["type","submit",1,"btn","btn-primary",3,"disabled"],["type","file","id","restoreFileUpload","accept","application/gzip, .gz",1,"form-control","custom-input","mb-3",3,"change"],["type","button",1,"btn","btn-primary","me-0",3,"click","disabled"],[1,"fas","fa-spinner","fa-pulse"],["id","output",1,"font-monospace","small","alert","alert-info","w-100","text-start","mt-1","mb-0"],["href","/login",1,"btn","btn-lg","btn-primary","mt-4"],[1,"mb-3"],["href","/",1,"btn","btn-lg","btn-primary"]],template:function(p,i){p&1&&(o(0,"div",0)(1,"div",1),m(2,"img",2),o(3,"div",3),m(4,"div",4),r(),z(5,le,12,12,"div",5)(6,pe,31,42,"div",5)(7,me,15,12,"div",5)(8,he,7,2,"div",5)(9,we,10,9,"div",5),r()()),p&2&&(P("background",i.backgroundStyle),U("anim",!i.backgroundStyle),n(4),P("width",i.progress+"%"),U("progress-bar-animated",i.loading||i.restoreUploading),O("aria-valuenow",i.progress),n(),F(i.step==="welcome"?5:i.step==="create-account"?6:i.step==="restore-backup"?7:L(10,se).includes(i.step)?8:i.step==="setup-complete"?9:-1))},dependencies:[H,ie,Y,A,J,Q,te,ne,ee,Z,q],styles:["body{overflow:scroll!important} body.dark-mode .setup-card{background-color:#2b2b2b;color:#fff}.setup-container[_ngcontent-%COMP%]{z-index:-1;padding-top:2em;padding-bottom:2em;min-height:100%;background-size:300% 300%}.anim[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_gradient 20s ease infinite;-moz-animation:gradient 20s ease infinite;-o-animation:gradient 20s ease infinite;animation:_ngcontent-%COMP%_gradient 20s ease infinite}@keyframes _ngcontent-%COMP%_gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.setup-card[_ngcontent-%COMP%]{max-width:550px;border-radius:1rem;padding-right:25px;padding-left:25px;background-color:#ffffffe6}.setup-card[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{background-color:inherit!important}@media screen and (max-width:575px){.setup-card[_ngcontent-%COMP%]{margin-left:1em;margin-right:1em}}.homebridge-logo[_ngcontent-%COMP%]{margin-bottom:10px}.progress[_ngcontent-%COMP%]{background-color:#ddd}#output[_ngcontent-%COMP%]{height:200px;overflow-y:scroll;white-space:pre-wrap}"]})}return t})();export{Ue as SetupWizardComponent};
@@ -0,0 +1,3 @@
1
+ import{a as ee}from"./chunk-WYJ4N4TV.js";import"./chunk-BMOLDRJ3.js";import{a as B}from"./chunk-SOEFKTV3.js";import{a as re}from"./chunk-H7F7H5MW.js";import"./chunk-63DEF4BP.js";import{n as Y,t as Z}from"./chunk-LT4LVLTJ.js";import"./chunk-JLNKCN3A.js";import{b as A}from"./chunk-CR6W3PUA.js";import{D as X,c as G,e as Q,f as H,g as R,j as W,m as J,r as K,s as U}from"./chunk-N2IMTG2V.js";import{b as O}from"./chunk-PXNJ4PSF.js";import{E as P,F as N,H as j,K as z}from"./chunk-YZZ7SAON.js";import{Ab as v,Ec as s,Fb as f,Fc as l,Gb as m,Hb as a,Ib as d,Pc as $,Rb as x,Xb as h,Ya as E,Za as n,Zb as p,aa as c,d as I,ec as y,fc as M,ga as u,ha as g,ic as S,jc as k,kc as F,lc as q,nb as V,sa as C,vc as D,yb as _,zb as w}from"./chunk-ZPXACREZ.js";import{g as ne,h as b}from"./chunk-B4AJQJMI.js";var T=ne(re(),1);var ae=["logoutput"],se=["searchInput"];function le(o,L){if(o&1){let e=x();m(0,"div",5)(1,"button",9),s(2,"translate"),s(3,"translate"),h("click",function(){u(e);let i=p();return g(i.showSearch())}),d(4,"i"),a(),m(5,"button",9),s(6,"translate"),s(7,"translate"),h("click",function(){u(e);let i=p();return g(i.downloadLogFile())}),d(8,"i",10),a(),m(9,"button",11),s(10,"translate"),s(11,"translate"),h("click",function(){u(e);let i=p();return g(i.truncateLogFile())}),d(12,"i",12),a()()}if(o&2){let e=p();n(),f("openDelay",150)("ngbTooltip",l(2,12,"form.search")),_("aria-label",l(3,14,"form.search")),n(3),k(D("fas",e.showSearchBar()?" primary-text":""," fa-search")),n(),f("openDelay",150)("ngbTooltip",l(6,16,"form.button_download")),_("aria-label",l(7,18,"form.button_download")),n(4),f("openDelay",150)("ngbTooltip",l(10,20,"form.button_delete")),_("aria-label",l(11,22,"form.button_delete"))}}function ce(o,L){if(o&1){let e=x();m(0,"a",17),h("click",function(){u(e);let i=p(2);return g(i.onClearSearch())}),d(1,"i",18),a()}}function me(o,L){if(o&1){let e=x();m(0,"div",6)(1,"div",13)(2,"form",14),h("ngSubmit",function(){u(e);let i=p();return g(i.onSubmit(i.form.value))}),d(3,"input",15,1),s(5,"translate"),w(6,ce,2,0,"a",16),a()()()}if(o&2){let e=p();n(2),f("formGroup",e.form),n(),S("is-invalid",e.searchInputInvalid),f("placeholder",l(5,5,"logs.placeholder_search_logs")),n(3),v(e.showExitButton()?6:-1)}}var Te=(()=>{class o{$api=c(z);$auth=c(A);$log=c(ee);$modal=c(Y);$settings=c(O);$toastr=c(j);$translate=c(P);termTarget=$("logoutput",{});searchInput=$("searchInput",{});resizeEvent=new I;valueChangesSubscription;isAdmin=this.$auth.user.admin;showSearchBar=C(!1,{});showExitButton=C(!1,{});form=new R({query:new W("")});get searchInputInvalid(){let e=(this.form.get("query")?.value||"").trim();return e.length>0&&e.length<3}onWindowResize(){this.resizeEvent.next(void 0)}ngOnInit(){let e=this.$translate.instant("menu.linux.label_logs");this.$settings.setPageTitle(e),window.document.querySelector("body").classList.add("bg-black"),this.$log.startTerminal(this.termTarget(),{allowProposedApi:!0},this.resizeEvent),this.valueChangesSubscription=this.form.get("query")?.valueChanges.subscribe(t=>{let i=t||"",r=i.trim();r!==i&&this.form.get("query")?.setValue(r,{emitEvent:!1}),this.showExitButton()&&r.length<3&&(this.showExitButton.set(!1),this.$log.clearSearchFilter())})}showSearch(){if(this.showSearchBar())this.showSearchBar.set(!1),this.showExitButton.set(!1),this.form.setValue({query:""}),this.$log.clearSearchFilter();else{this.showSearchBar.set(!0);let e=this.searchInput();e&&setTimeout(()=>e.nativeElement.focus(),0)}}onSubmit(e){let t=(e.query||"").trim();!t.length||t.length<3?(this.form.setValue({query:""}),this.showExitButton.set(!1),this.$log.clearSearchFilter()):(this.showExitButton.set(!0),this.$log.setSearchFilter(t))}onClearSearch(){this.form.setValue({query:""}),this.showExitButton.set(!1),this.$log.clearSearchFilter()}ngOnDestroy(){window.document.querySelector("body").classList.remove("bg-black"),this.valueChangesSubscription&&this.valueChangesSubscription.unsubscribe(),this.resizeEvent.complete(),this.$log.destroyTerminal()}downloadLogFile(){return b(this,null,function*(){let e=this.$modal.open(B,{size:"lg",backdrop:"static"});e.componentInstance.title=this.$translate.instant("logs.title_download_log_file"),e.componentInstance.message=this.$translate.instant("logs.download_warning"),e.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_download"),e.componentInstance.faIconClass="fas fa-user-secret primary-text",e.result.then(()=>b(this,null,function*(){try{let t=yield this.$api.get("/platform-tools/hb-service/log/download",{observe:"response",responseType:"blob"}),i=this.$log.getSearchFilter();if(i){let te=(yield t.body.text()).split(`
2
+ `).filter(oe=>oe.replace(/\x1b\[[0-9;]*m/g,"").toLowerCase().includes(i.toLowerCase())),ie=new Blob([te.join(`
3
+ `)],{type:"text/plain"});(0,T.saveAs)(ie,"homebridge.log.txt")}else(0,T.saveAs)(t.body,"homebridge.log.txt")}catch(t){let i;try{if(t&&typeof t=="object"&&"error"in t){let r=yield t.error.text();i=JSON.parse(r).message}}catch(r){console.error(r)}this.$toastr.error(i||this.$translate.instant("logs.download.error"),this.$translate.instant("toast.title_error"))}})).catch(()=>{})})}truncateLogFile(){let e=this.$modal.open(B,{size:"lg",backdrop:"static"});e.componentInstance.title=this.$translate.instant("logs.title_truncate_log_file"),e.componentInstance.message=this.$translate.instant("logs.truncate_log_warning"),e.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_delete"),e.componentInstance.confirmButtonClass="btn-danger",e.componentInstance.faIconClass="fas fa-circle-exclamation primary-text",e.result.then(()=>b(this,null,function*(){try{yield this.$api.put("/platform-tools/hb-service/log/truncate",{}),this.$toastr.success(this.$translate.instant("logs.log_file_truncated"),this.$translate.instant("toast.title_success")),this.$log.term.clear()}catch(t){console.error(t);let i=t&&typeof t=="object"&&"error"in t&&t.error&&typeof t.error=="object"&&"message"in t.error?String(t.error.message):this.$translate.instant("logs.truncate.error");this.$toastr.error(i,this.$translate.instant("toast.title_error"))}})).catch(()=>{})}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=V({type:o,selectors:[["ng-component"]],viewQuery:function(t,i){t&1&&(y(i.termTarget,ae,5),y(i.searchInput,se,5)),t&2&&M(2)},hostBindings:function(t,i){t&1&&h("resize",function(){return i.onWindowResize()},E)},decls:10,vars:9,consts:[["logoutput",""],["searchInput",""],[1,"row","mb-3"],[1,"col-6"],[1,"primary-text","m-0"],[1,"col-6","text-end"],[1,"row"],[1,"flex-column","d-flex","align-items-stretch"],["id","log-output",1,"align-self-end","w-100","h-100","mb-1"],["container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0","me-2",3,"click","openDelay","ngbTooltip"],[1,"fas","fa-download"],["container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0","me-0",3,"click","openDelay","ngbTooltip"],[1,"fas","fa-trash-alt"],[1,"col-md-12"],["novalidate","",3,"ngSubmit","formGroup"],["type","text","formControlName","query",1,"search-bar",3,"placeholder"],["href","javascript:void(0)",1,"search-bar-clear"],["href","javascript:void(0)",1,"search-bar-clear",3,"click"],[1,"fas","fa-square-xmark"]],template:function(t,i){t&1&&(m(0,"div",2)(1,"div",3)(2,"h3",4),F(3),s(4,"translate"),a()(),w(5,le,13,24,"div",5),a(),w(6,me,7,7,"div",6),m(7,"div",7),d(8,"div",8,0),a()),t&2&&(n(3),q(l(4,7,"menu.linux.label_logs")),n(2),v(i.isAdmin?5:-1),n(),v(i.showSearchBar()?6:-1),n(),S("adjust-for-mobile",!i.showSearchBar())("adjust-for-mobile-with-search",i.showSearchBar()))},dependencies:[Z,X,J,G,Q,H,U,K,N],styles:[".search-bar[_ngcontent-%COMP%]{outline:none;box-sizing:inherit!important;background-color:inherit;height:50px!important;width:100%;border-width:.5px;padding:10px;margin-bottom:15px}@media(hover:hover){.search-bar[_ngcontent-%COMP%]:hover{border:1px solid #000000}}.search-bar[_ngcontent-%COMP%]:focus{border:1px solid #000000;box-shadow:0 1px #000}.search-bar.is-invalid[_ngcontent-%COMP%]{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}@media(hover:hover){.search-bar.is-invalid[_ngcontent-%COMP%]:hover{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}}.search-bar.is-invalid[_ngcontent-%COMP%]:focus{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}.search-bar-clear[_ngcontent-%COMP%]{position:absolute;right:30px;font-size:25px;color:#d0d0d0;line-height:50px;cursor:pointer}.adjust-for-mobile-with-search[_ngcontent-%COMP%]{height:calc(100% - 95px);width:calc(100% + 17px);overflow:hidden}@media(max-width:767px){.adjust-for-mobile-with-search[_ngcontent-%COMP%]{height:calc(100% - 125px)}}"]})}return o})();export{Te as LogsComponent};
@@ -0,0 +1 @@
1
+ import{m as D}from"./chunk-LT4LVLTJ.js";import{F as I}from"./chunk-YZZ7SAON.js";import{Ab as c,Ec as C,Fc as b,Jb as o,Kb as s,Lb as l,Rb as L,Sb as u,Ua as g,Yb as _,Za as n,Zb as m,aa as S,ga as E,ha as B,jc as x,kc as p,lc as T,mc as h,nb as y,sa as a,vc as M,yb as f,zb as r}from"./chunk-ZPXACREZ.js";function H(t,v){if(t&1&&l(0,"i",14),t&2){let e=m();x(M("fas ",e.faIconClassSignal()," mb-3"))}}function N(t,v){if(t&1&&l(0,"p",7),t&2){let e=m();u("innerHTML",e.message2Signal(),g)}}function R(t,v){if(t&1&&l(0,"p",7),t&2){let e=m();u("innerHTML",e.message3Signal(),g)}}function w(t,v){if(t&1){let e=L();o(0,"button",15),_("click",function(){E(e);let i=m();return B(i.closeModal())}),p(1),s()}if(t&2){let e=m();x(M("btn ",e.confirmButtonClassSignal()||"btn-primary")),n(),h(" ",e.confirmButtonLabelSignal()," ")}}var A=(()=>{class t{$activeModal=S(D);_title=a("",{});_message=a("",{});_message2=a(void 0,{});_message3=a(void 0,{});_confirmButtonLabel=a(void 0,{});_confirmButtonClass=a(void 0,{});_faIconClass=a(void 0,{});set title(e){this._title.set(e)}get title(){return this._title()}set message(e){this._message.set(e)}get message(){return this._message()}set message2(e){this._message2.set(e)}get message2(){return this._message2()}set message3(e){this._message3.set(e)}get message3(){return this._message3()}set confirmButtonLabel(e){this._confirmButtonLabel.set(e)}get confirmButtonLabel(){return this._confirmButtonLabel()}set confirmButtonClass(e){this._confirmButtonClass.set(e)}get confirmButtonClass(){return this._confirmButtonClass()}set faIconClass(e){this._faIconClass.set(e)}get faIconClass(){return this._faIconClass()}titleSignal=this._title.asReadonly();messageSignal=this._message.asReadonly();message2Signal=this._message2.asReadonly();message3Signal=this._message3.asReadonly();confirmButtonLabelSignal=this._confirmButtonLabel.asReadonly();confirmButtonClassSignal=this._confirmButtonClass.asReadonly();faIconClassSignal=this._faIconClass.asReadonly();dismissModal(){this.$activeModal.dismiss("Dismiss")}closeModal(){this.$activeModal.close()}static \u0275fac=function(d){return new(d||t)};static \u0275cmp=y({type:t,selectors:[["ng-component"]],decls:20,vars:16,consts:[["role","dialog","aria-modal","true",1,"modal-content"],[1,"modal-header"],["id","confirm-modal-title",1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-0","text-center",3,"innerHTML"],[1,"mt-2","mb-0","text-center",3,"innerHTML"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-center"],[1,"text-end"],["type","button","data-bs-dismiss","modal",3,"class"],[2,"font-size","75px"],["type","button","data-bs-dismiss","modal",3,"click"]],template:function(d,i){d&1&&(o(0,"div",0)(1,"div",1)(2,"h5",2),p(3),s(),o(4,"button",3),C(5,"translate"),_("click",function(){return i.dismissModal()}),s()(),o(6,"div",4),r(7,H,1,3,"i",5),l(8,"p",6),r(9,N,1,1,"p",7),r(10,R,1,1,"p",7),s(),o(11,"div",8)(12,"div",9)(13,"button",10),C(14,"translate"),_("click",function(){return i.dismissModal()}),p(15),C(16,"translate"),s()(),l(17,"div",11),o(18,"div",12),r(19,w,2,4,"button",13),s()()()),d&2&&(f("aria-labelledby","confirm-modal-title"),n(3),T(i.titleSignal()),n(),f("aria-label",b(5,10,"form.button_close")),n(3),c(i.faIconClassSignal()?7:-1),n(),u("innerHTML",i.messageSignal(),g),n(),c(i.message2Signal()?9:-1),n(),c(i.message3Signal()?10:-1),n(3),f("aria-label",b(14,12,"form.button_cancel")),n(2),h(" ",b(16,14,"form.button_cancel")," "),n(4),c(i.confirmButtonLabelSignal()?19:-1))},dependencies:[I],encapsulation:2})}return t})();export{A as a};