@macallumharvey/first-test-wet 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. package/dist/WetButton.d.ts +9 -0
  2. package/dist/WetModal.d.ts +6 -0
  3. package/dist/first-test-wet.cjs.development.js +26 -0
  4. package/dist/first-test-wet.cjs.development.js.map +1 -1
  5. package/dist/first-test-wet.cjs.production.min.js +1 -1
  6. package/dist/first-test-wet.cjs.production.min.js.map +1 -1
  7. package/dist/first-test-wet.esm.js +26 -1
  8. package/dist/first-test-wet.esm.js.map +1 -1
  9. package/dist/index.d.ts +1 -0
  10. package/package.json +1 -1
  11. package/src/WetButton.tsx +19 -0
  12. package/src/WetModal.tsx +25 -0
  13. package/src/index.tsx +2 -2
  14. package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +1 -0
  15. package/src/wet-boew-cdn-4.0.81.1/License-en.txt +1 -0
  16. package/src/wet-boew-cdn-4.0.81.1/assets/cloud-popup-relative.png +0 -0
  17. package/src/wet-boew-cdn-4.0.81.1/assets/fd-slider-sprite.png +0 -0
  18. package/src/wet-boew-cdn-4.0.81.1/assets/loading.png +0 -0
  19. package/src/wet-boew-cdn-4.0.81.1/assets/mediacontrols.html +33 -0
  20. package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
  21. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-minus-mini.png +0 -0
  22. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-plus-mini.png +0 -0
  23. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-world-mini.png +0 -0
  24. package/src/wet-boew-cdn-4.0.81.1/css/noscript.css +112 -0
  25. package/src/wet-boew-cdn-4.0.81.1/css/noscript.min.css +6 -0
  26. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.css +32 -0
  27. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.min.css +1 -0
  28. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.css +47 -0
  29. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.min.css +1 -0
  30. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.css +28 -0
  31. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.min.css +1 -0
  32. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.css +16 -0
  33. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.min.css +1 -0
  34. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.css +24 -0
  35. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.min.css +1 -0
  36. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.css +8 -0
  37. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.min.css +1 -0
  38. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.css +229 -0
  39. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.min.css +1 -0
  40. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.eot +0 -0
  41. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.svg +288 -0
  42. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.ttf +0 -0
  43. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff +0 -0
  44. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
  45. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/mml-chtml.js +1 -0
  46. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  47. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  48. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  49. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  50. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  51. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  52. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  53. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  54. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  55. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  56. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  57. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  58. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  59. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  60. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  61. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  62. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  63. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  64. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  65. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  66. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  67. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  68. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  69. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.js +1512 -0
  70. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +9 -0
  71. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.js +3770 -0
  72. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +1 -0
  73. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.js +15733 -0
  74. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +4 -0
  75. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.js +345 -0
  76. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +1 -0
  77. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.js +3168 -0
  78. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +1 -0
  79. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.js +282 -0
  80. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +1 -0
  81. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.js +820 -0
  82. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +1 -0
  83. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.js +2061 -0
  84. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +4 -0
  85. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.js +1661 -0
  86. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +9 -0
  87. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.js +315 -0
  88. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +1 -0
  89. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.js +349 -0
  90. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +1 -0
  91. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.js +53 -0
  92. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.min.js +1 -0
  93. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.js +49 -0
  94. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.min.js +1 -0
  95. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.js +64 -0
  96. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.min.js +1 -0
  97. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.js +160 -0
  98. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.min.js +1 -0
  99. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.js +92 -0
  100. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.min.js +1 -0
  101. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.js +94 -0
  102. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.min.js +1 -0
  103. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.js +59 -0
  104. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.min.js +1 -0
  105. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.js +102 -0
  106. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.min.js +1 -0
  107. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.js +67 -0
  108. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.min.js +1 -0
  109. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.js +95 -0
  110. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.min.js +1 -0
  111. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.js +63 -0
  112. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.min.js +1 -0
  113. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.js +50 -0
  114. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.min.js +1 -0
  115. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.js +60 -0
  116. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.min.js +1 -0
  117. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.js +183 -0
  118. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.min.js +1 -0
  119. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.js +57 -0
  120. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.min.js +1 -0
  121. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.js +140 -0
  122. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.min.js +1 -0
  123. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.js +67 -0
  124. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.min.js +1 -0
  125. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.js +49 -0
  126. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.min.js +1 -0
  127. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.js +37 -0
  128. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.min.js +1 -0
  129. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.js +59 -0
  130. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.min.js +1 -0
  131. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.js +50 -0
  132. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.min.js +1 -0
  133. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.js +81 -0
  134. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.min.js +1 -0
  135. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.js +56 -0
  136. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.min.js +1 -0
  137. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.js +59 -0
  138. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.min.js +1 -0
  139. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.js +60 -0
  140. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.min.js +1 -0
  141. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.js +63 -0
  142. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.min.js +1 -0
  143. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.js +49 -0
  144. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.min.js +1 -0
  145. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.js +67 -0
  146. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.min.js +1 -0
  147. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.js +51 -0
  148. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.min.js +1 -0
  149. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.js +55 -0
  150. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.min.js +1 -0
  151. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.js +71 -0
  152. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.min.js +1 -0
  153. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.js +45 -0
  154. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.min.js +1 -0
  155. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.js +1008 -0
  156. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +1 -0
  157. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.js +1742 -0
  158. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +1 -0
  159. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.js +3 -0
  160. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +1 -0
  161. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.js +1998 -0
  162. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +1 -0
  163. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.js +2216 -0
  164. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +1 -0
  165. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.js +452 -0
  166. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +1 -0
  167. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.js +254 -0
  168. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +7 -0
  169. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.js +293 -0
  170. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +7 -0
  171. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.js +293 -0
  172. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +7 -0
  173. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.js +294 -0
  174. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +7 -0
  175. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.js +363 -0
  176. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +7 -0
  177. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.js +293 -0
  178. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +7 -0
  179. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.js +254 -0
  180. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +7 -0
  181. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.js +296 -0
  182. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +7 -0
  183. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.js +291 -0
  184. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +7 -0
  185. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.js +322 -0
  186. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +7 -0
  187. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.js +254 -0
  188. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +7 -0
  189. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.js +293 -0
  190. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +7 -0
  191. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.js +254 -0
  192. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +7 -0
  193. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.js +292 -0
  194. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +7 -0
  195. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.js +291 -0
  196. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +7 -0
  197. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.js +320 -0
  198. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +7 -0
  199. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.js +254 -0
  200. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +7 -0
  201. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.js +294 -0
  202. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +7 -0
  203. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.js +293 -0
  204. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +7 -0
  205. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.js +293 -0
  206. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +7 -0
  207. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.js +293 -0
  208. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +7 -0
  209. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.js +327 -0
  210. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +7 -0
  211. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.js +296 -0
  212. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +7 -0
  213. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.js +254 -0
  214. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +7 -0
  215. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.js +279 -0
  216. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +7 -0
  217. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.js +293 -0
  218. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +7 -0
  219. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.js +291 -0
  220. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +7 -0
  221. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.js +254 -0
  222. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +7 -0
  223. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.js +293 -0
  224. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +7 -0
  225. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.js +295 -0
  226. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +7 -0
  227. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.js +293 -0
  228. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +7 -0
  229. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.js +293 -0
  230. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +7 -0
  231. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.js +254 -0
  232. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +7 -0
  233. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.js +294 -0
  234. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +7 -0
  235. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js +10 -0
  236. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js +7 -0
  237. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +1 -0
  238. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js +10 -0
  239. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js +7 -0
  240. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +1 -0
  241. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.js +9814 -0
  242. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.js +4 -0
  243. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.map +1 -0
  244. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.js +419 -0
  245. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +8 -0
  246. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +1 -0
  247. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.js +50 -0
  248. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js +8 -0
  249. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +1 -0
  250. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.js +338 -0
  251. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +8 -0
  252. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +1 -0
  253. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.js +126 -0
  254. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +8 -0
  255. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +1 -0
  256. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.js +47 -0
  257. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js +16 -0
  258. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +1 -0
  259. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.js +140 -0
  260. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +8 -0
  261. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +1 -0
  262. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.js +784 -0
  263. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +8 -0
  264. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +1 -0
  265. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.js +107 -0
  266. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +8 -0
  267. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +1 -0
  268. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.js +1343 -0
  269. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +9 -0
  270. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +1 -0
  271. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.js +73 -0
  272. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js +8 -0
  273. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +1 -0
  274. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.js +29 -0
  275. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js +8 -0
  276. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +1 -0
  277. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.js +603 -0
  278. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js +8 -0
  279. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +1 -0
  280. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.js +20264 -0
  281. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +9 -0
  282. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +1 -0
  283. package/src/wet-boew-cdn-4.0.81.1/package.json +15 -0
  284. package/src/wet-boew-cdn-4.0.81.1/payload.json +1722 -0
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * jQuery Validation Plugin v1.19.5
3
+ *
4
+ * https://jqueryvalidation.org/
5
+ *
6
+ * Copyright (c) 2022 Jörn Zaefferer
7
+ * Released under the MIT license
8
+ */
9
+ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){d.extend(d.fn,{validate:function(t){var s;if(this.length)return(s=d.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),s=new d.validator(t,this[0]),d.data(this[0],"validator",s),s.settings.onsubmit&&(this.on("click.validate",":submit",function(t){s.submitButton=t.currentTarget,d(this).hasClass("cancel")&&(s.cancelSubmit=!0),void 0!==d(this).attr("formnovalidate")&&(s.cancelSubmit=!0)}),this.on("submit.validate",function(i){function t(){var t,e;return s.submitButton&&(s.settings.submitHandler||s.formSubmitted)&&(t=d("<input type='hidden'/>").attr("name",s.submitButton.name).val(d(s.submitButton).val()).appendTo(s.currentForm)),!(s.settings.submitHandler&&!s.settings.debug)||(e=s.settings.submitHandler.call(s,s.currentForm,i),t&&t.remove(),void 0!==e&&e)}return s.settings.debug&&i.preventDefault(),s.cancelSubmit?(s.cancelSubmit=!1,t()):s.form()?s.pendingRequest?!(s.formSubmitted=!0):t():(s.focusInvalid(),!1)}))),s;t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,i;return d(this[0]).is("form")?t=this.validate().form():(i=[],t=!0,e=d(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(i=i.concat(e.errorList))}),e.errorList=i),t},rules:function(t,e){var i,s,n,r,a,o=this[0],l=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=o&&(!o.form&&l&&(o.form=this.closest("form")[0],o.name=this.attr("name")),null!=o.form)){if(t)switch(s=(i=d.data(o.form,"validator").settings).rules,n=d.validator.staticRules(o),t){case"add":d.extend(n,d.validator.normalizeRule(e)),delete n.messages,s[o.name]=n,e.messages&&(i.messages[o.name]=d.extend(i.messages[o.name],e.messages));break;case"remove":return e?(a={},d.each(e.split(/\s/),function(t,e){a[e]=n[e],delete n[e]}),a):(delete s[o.name],n)}return(l=d.validator.normalizeRules(d.extend({},d.validator.classRules(o),d.validator.attributeRules(o),d.validator.dataRules(o),d.validator.staticRules(o)),o)).required&&(r=l.required,delete l.required,l=d.extend({required:r},l)),l.remote&&(r=l.remote,delete l.remote,l=d.extend(l,{remote:r})),l}}});function e(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}d.extend(d.expr.pseudos||d.expr[":"],{blank:function(t){return!e(""+d(t).val())},filled:function(t){t=d(t).val();return null!==t&&!!e(""+t)},unchecked:function(t){return!d(t).prop("checked")}}),d.validator=function(t,e){this.settings=d.extend(!0,{},d.validator.defaults,t),this.currentForm=e,this.init()},d.validator.format=function(i,t){return 1===arguments.length?function(){var t=d.makeArray(arguments);return t.unshift(i),d.validator.format.apply(this,t)}:(void 0!==t&&((t=2<arguments.length&&t.constructor!==Array?d.makeArray(arguments).slice(1):t).constructor!==Array&&(t=[t]),d.each(t,function(t,e){i=i.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})})),i)},d.extend(d.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:d([]),errorLabelContainer:d([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||-1!==d.inArray(e.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):d(t)).addClass(e).removeClass(i)},unhighlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):d(t)).removeClass(e).addClass(i)}},setDefaults:function(t){d.extend(d.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:d.validator.format("Please enter no more than {0} characters."),minlength:d.validator.format("Please enter at least {0} characters."),rangelength:d.validator.format("Please enter a value between {0} and {1} characters long."),range:d.validator.format("Please enter a value between {0} and {1}."),max:d.validator.format("Please enter a value less than or equal to {0}."),min:d.validator.format("Please enter a value greater than or equal to {0}."),step:d.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=d(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||d(this.currentForm),this.containers=d(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,n=this.currentForm,s=this.groups={};function t(t){var e,i,s=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");!this.form&&s&&(this.form=d(this).closest("form")[0],this.name=d(this).attr("name")),n===this.form&&(s=d.data(this.form,"validator"),e="on"+t.type.replace(/^validate/,""),(i=s.settings)[e])&&!d(this).is(i.ignore)&&i[e].call(s,this,t)}d.each(this.settings.groups,function(i,t){"string"==typeof t&&(t=t.split(/\s/)),d.each(t,function(t,e){s[e]=i})}),i=this.settings.rules,d.each(i,function(t,e){i[t]=d.validator.normalizeRule(e)}),d(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&d(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),d.extend(this.submitted,this.errorMap),this.invalid=d.extend({},this.errorMap),this.valid()||d(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e,i,s=this.clean(t),n=this.validationTargetFor(s),r=this,a=!0;return void 0===n?delete this.invalid[s.name]:(this.prepareElement(n),this.currentElements=d(n),(i=this.groups[n.name])&&d.each(this.groups,function(t,e){e===i&&t!==n.name&&(s=r.validationTargetFor(r.clean(r.findByName(t))))&&s.name in r.invalid&&(r.currentElements.push(s),a=r.check(s)&&a)}),e=!1!==this.check(n),a=a&&e,this.invalid[n.name]=!e,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),d(t).attr("aria-invalid",!e)),a},showErrors:function(e){var i;e&&(d.extend((i=this).errorMap,e),this.errorList=d.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=d.grep(this.successList,function(t){return!(t.name in e)})),this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){d.fn.resetForm&&d(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{d(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===d.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var i=this,s={};return d(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var t=this.name||d(this).attr("name"),e=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");return!t&&i.settings.debug&&window.console&&console.error("%o has no name assigned",this),e&&(this.form=d(this).closest("form")[0],this.name=t),this.form===i.currentForm&&!(t in s||!i.objectLength(d(this).rules()))&&(s[t]=!0)})},clean:function(t){return d(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return d(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=d([]),this.toHide=d([])},reset:function(){this.resetInternals(),this.currentElements=d([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e=d(t),i=t.type,s=void 0!==e.attr("contenteditable")&&"false"!==e.attr("contenteditable");return"radio"===i||"checkbox"===i?this.findByName(t.name).filter(":checked").val():"number"===i&&void 0!==t.validity?t.validity.badInput?"NaN":e.val():(t=s?e.text():e.val(),"file"===i?"C:\\fakepath\\"===t.substr(0,12)?t.substr(12):0<=(s=t.lastIndexOf("/"))||0<=(s=t.lastIndexOf("\\"))?t.substr(s+1):t:"string"==typeof t?t.replace(/\r/g,""):t)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,s,n,r=d(e).rules(),a=d.map(r,function(t,e){return e}).length,o=!1,l=this.elementValue(e);for(i in"function"==typeof r.normalizer?n=r.normalizer:"function"==typeof this.settings.normalizer&&(n=this.settings.normalizer),n&&(l=n.call(e,l),delete r.normalizer),r){s={method:i,parameters:r[i]};try{if("dependency-mismatch"===(t=d.validator.methods[i].call(this,l,e,s.parameters))&&1===a)o=!0;else{if(o=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,s),!1}}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+s.method+"' method.",t),t instanceof TypeError&&(t.message+=". Exception occurred when checking element "+e.id+", check the '"+s.method+"' method."),t}}if(!o)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return d(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||d(t).data("msg")},customMessage:function(t,e){t=this.settings.messages[t];return t&&(t.constructor===String?t:t[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){var i=this.findDefined(this.customMessage(t.name,(e="string"==typeof e?{method:e}:e).method),this.customDataMessage(t,e.method),!this.settings.ignoreTitle&&t.title||void 0,d.validator.messages[e.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),s=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,e.parameters,t):s.test(i)&&(i=d.validator.format(i.replace(s,"{$1}"),e.parameters)),i},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return t=this.settings.wrapper?t.add(t.parent(this.settings.wrapper)):t},defaultShowErrors:function(){for(var t,e,i=0;this.errorList[i];i++)e=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,t=this.validElements();t[i];i++)this.settings.unhighlight.call(this,t[i],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return d(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,s,n,r=this.errorsFor(t),a=this.idOrName(t),o=d(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(e)):(s=r=d("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(s=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(s):this.settings.errorPlacement?this.settings.errorPlacement.call(this,s,d(t)):s.insertAfter(t),r.is("label")?r.attr("for",a):0===r.parents("label[for='"+this.escapeCssMeta(a)+"']").length&&(s=r.attr("id"),o?o.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(o+=" "+s):o=s,d(t).attr("aria-describedby",o),i=this.groups[t.name])&&d.each((n=this).groups,function(t,e){e===i&&d("[name='"+n.escapeCssMeta(t)+"']",n.currentForm).attr("aria-describedby",r.attr("id"))})),!e&&this.settings.success&&(r.text(""),"string"==typeof this.settings.success?r.addClass(this.settings.success):this.settings.success(r,t)),this.toShow=this.toShow.add(r)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),t=d(t).attr("aria-describedby"),e="label[for='"+e+"'], label[for='"+e+"'] *";return t&&(e=e+", #"+this.escapeCssMeta(t).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(t){return void 0===t?"":t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),d(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return d(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return d("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!d(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!d.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,d(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],d(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(d(this.currentForm).trigger("submit"),this.submitButton&&d("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(d(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",d.data(t,"previousValue")||d.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),d(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:d.extend(this.classRuleSettings,t)},classRules:function(t){var e={},t=d(t).attr("class");return t&&d.each(t.split(" "),function(){this in d.validator.classRuleSettings&&d.extend(e,d.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,i,s){(s=/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(s=Number(s),isNaN(s))?void 0:s)||0===s?t[i]=s:e===i&&"range"!==e&&(t["date"===e?"dateISO":i]=!0)},attributeRules:function(t){var e,i,s={},n=d(t),r=t.getAttribute("type");for(e in d.validator.methods)i="required"===e?!!(i=""===(i=t.getAttribute(e))?!0:i):n.attr(e),this.normalizeAttributeRule(s,r,e,i);return s.maxlength&&/-1|2147483647|524288/.test(s.maxlength)&&delete s.maxlength,s},dataRules:function(t){var e,i,s={},n=d(t),r=t.getAttribute("type");for(e in d.validator.methods)""===(i=n.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()))&&(i=!0),this.normalizeAttributeRule(s,r,e,i);return s},staticRules:function(t){var e={},i=d.data(t.form,"validator");return e=i.settings.rules?d.validator.normalizeRule(i.settings.rules[t.name])||{}:e},normalizeRules:function(s,n){return d.each(s,function(t,e){if(!1===e)delete s[t];else if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!d(e.depends,n.form).length;break;case"function":i=e.depends.call(n,n)}i?s[t]=void 0===e.param||e.param:(d.data(n.form,"validator").resetElements(d(n)),delete s[t])}}),d.each(s,function(t,e){s[t]="function"==typeof e&&"normalizer"!==t?e(n):e}),d.each(["minlength","maxlength"],function(){s[this]&&(s[this]=Number(s[this]))}),d.each(["rangelength","range"],function(){var t;s[this]&&(Array.isArray(s[this])?s[this]=[Number(s[this][0]),Number(s[this][1])]:"string"==typeof s[this]&&(t=s[this].replace(/[\[\]]/g,"").split(/[\s,]+/),s[this]=[Number(t[0]),Number(t[1])]))}),d.validator.autoCreateRanges&&(null!=s.min&&null!=s.max&&(s.range=[s.min,s.max],delete s.min,delete s.max),null!=s.minlength)&&null!=s.maxlength&&(s.rangelength=[s.minlength,s.maxlength],delete s.minlength,delete s.maxlength),s},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},d.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,i){d.validator.methods[t]=e,d.validator.messages[t]=void 0!==i?i:d.validator.messages[t],e.length<3&&d.validator.addClassRules(t,d.validator.normalizeRule(t))},methods:{required:function(t,e,i){return this.depend(i,e)?"select"===e.nodeName.toLowerCase()?(i=d(e).val())&&0<i.length:this.checkable(e)?0<this.getLength(t,e):null!=t&&0<t.length:"dependency-mismatch"},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:(i=!1,function(t,e){return i||(i=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=t},maxlength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t<=i},rangelength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t>=i[0]&&t<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(t,e,i){function s(t){return(t=(""+t).match(/(?:\.(\d+))?$/))&&t[1]?t[1].length:0}function n(t){return Math.round(t*Math.pow(10,r))}var r,a=d(e).attr("type"),o="Step attribute on input type "+a+" is not supported.",l=new RegExp("\\b"+a+"\\b"),h=!0;if(a&&!l.test(["text","number","range"].join()))throw new Error(o);return r=s(i),(s(t)>r||n(t)%n(i)!=0)&&(h=!1),this.optional(e)||h},equalTo:function(t,e,i){i=d(i);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){d(e).valid()}),t===i.val()},remote:function(s,n,t,r){if(this.optional(n))return"dependency-mismatch";r="string"==typeof r&&r||"remote";var a,e,o=this.previousValue(n,r);return this.settings.messages[n.name]||(this.settings.messages[n.name]={}),o.originalMessage=o.originalMessage||this.settings.messages[n.name][r],this.settings.messages[n.name][r]=o.message,e=d.param(d.extend({data:s},(t="string"==typeof t?{url:t}:t).data)),o.old===e?o.valid:(o.old=e,(a=this).startRequest(n),(e={})[n.name]=s,d.ajax(d.extend(!0,{mode:"abort",port:"validate"+n.name,dataType:"json",data:e,context:a.currentForm,success:function(t){var e,i=!0===t||"true"===t;a.settings.messages[n.name][r]=o.originalMessage,i?(e=a.formSubmitted,a.resetInternals(),a.toHide=a.errorsFor(n),a.formSubmitted=e,a.successList.push(n),a.invalid[n.name]=!1,a.showErrors()):(e={},t=t||a.defaultMessage(n,{method:r,parameters:s}),e[n.name]=o.message=t,a.invalid[n.name]=!0,a.showErrors(e)),o.valid=i,a.stopRequest(n,i)}},t)),"pending")}}});var i,s,n={};return d.ajaxPrefilter?d.ajaxPrefilter(function(t,e,i){var s=t.port;"abort"===t.mode&&(n[s]&&n[s].abort(),n[s]=i)}):(s=d.ajax,d.ajax=function(t){var e=("mode"in t?t:d.ajaxSettings).mode,i=("port"in t?t:d.ajaxSettings).port;return"abort"===e?(n[i]&&n[i].abort(),n[i]=s.apply(this,arguments),n[i]):s.apply(this,arguments)}),d});
@@ -0,0 +1,315 @@
1
+ /**
2
+ * @title WET-BOEW variant of Starcounter-Jack/JSON-Patch
3
+ * @overview Same as json-patch.js but added extensibility support, changed the behaviour of patch test to be atomic and code was fully eslinted.
4
+ * @license MIT
5
+ * @author @duboisp @Starcounter-Jack
6
+ *
7
+ * ----
8
+ *
9
+ * https://github.com/Starcounter-Jack/JSON-Patch
10
+ * json-patch-duplex.js version: 1.1.4
11
+ * (c) 2013 Joachim Wester
12
+ * MIT license
13
+ */
14
+ var jsonpatch;
15
+ ( function ( jsonpatch ) {
16
+ var _objectKeys = function ( obj ) {
17
+ if ( _isArray( obj ) ) {
18
+ var keys = new Array( obj.length );
19
+ for ( var k = 0; k < keys.length; k++ ) {
20
+ keys[ k ] = "" + k;
21
+ }
22
+ return keys;
23
+ }
24
+ if ( Object.keys ) {
25
+ return Object.keys( obj );
26
+ }
27
+ var keys = [];
28
+ for ( var i in obj ) {
29
+ if ( obj.hasOwnProperty( i ) ) {
30
+ keys.push( i );
31
+ }
32
+ }
33
+ return keys;
34
+ },
35
+ _equals = function( a, b ) {
36
+ switch (typeof a) {
37
+ case "undefined": //backward compatibility, but really I think we should return false
38
+ case "boolean":
39
+ case "string":
40
+ case "number":
41
+ return a === b;
42
+ case "object":
43
+ if ( a === null ) {
44
+ return b === null;
45
+ }
46
+ if ( _isArray( a ) ) {
47
+ if ( !_isArray( b ) || a.length !== b.length ) {
48
+ return false;
49
+ }
50
+ for ( var i = 0, l = a.length; i < l; i++ ) {
51
+ if ( !_equals( a[ i ], b[ i ] ) ) {
52
+ return false;
53
+ }
54
+ }
55
+ return true;
56
+ }
57
+ var bKeys = _objectKeys( b ),
58
+ bLength = bKeys.length;
59
+ if ( _objectKeys( a ).length !== bLength ) {
60
+ return false;
61
+ }
62
+ for ( var i = 0; i < bLength; i++ ) {
63
+ if ( !_equals( a[ i ], b[ i ] ) ) {
64
+ return false;
65
+ }
66
+ }
67
+ return true;
68
+ default:
69
+ return false;
70
+ }
71
+ },
72
+
73
+ /* We use a Javascript hash to store each-
74
+ function. Each hash entry (property) uses
75
+ the operation identifiers specified in rfc6902.
76
+ In this way, we can map each patch operation
77
+ to its dedicated function in efficient way.
78
+ */
79
+ // The operations applicable to an object */
80
+ objOps = {
81
+ add: function( obj, key ) {
82
+ obj[ key ] = this.value;
83
+ },
84
+ remove: function (obj, key) {
85
+ var removed = obj[key];
86
+ delete obj[key];
87
+ return removed;
88
+ },
89
+ replace: function( obj, key ) {
90
+ var removed = obj[ key ];
91
+ obj[ key ] = this.value;
92
+ return removed;
93
+ },
94
+ move: function( obj, key, tree ) {
95
+ var getOriginalDestination = { op: "_get", path: this.path };
96
+ apply( tree, [ getOriginalDestination ] );
97
+
98
+ // In case value is moved up and overwrites its ancestor
99
+ var original = getOriginalDestination.value === undefined ? undefined : JSON.parse( JSON.stringify( getOriginalDestination.value ) ),
100
+ temp = { op: "_get", path: this.from };
101
+ apply( tree, [ temp ] );
102
+ apply( tree, [
103
+ { op: "remove", path: this.from }
104
+ ] );
105
+ apply( tree, [
106
+ { op: "add", path: this.path, value: temp.value }
107
+ ] );
108
+ return original;
109
+ },
110
+ copy: function ( obj, key, tree ) {
111
+ var temp = { op: "_get", path: this.from };
112
+ apply( tree, [ temp ] );
113
+ apply( tree, [
114
+ { op: "add", path: this.path, value: temp.value }
115
+ ] );
116
+ },
117
+ test: function ( obj, key ) {
118
+ return _equals( obj[ key ], this.value );
119
+ },
120
+ _get: function ( obj, key ) {
121
+ this.value = obj[ key ];
122
+ }
123
+ },
124
+
125
+ // The operations applicable to an array. Many are the same as for the object
126
+ arrOps = {
127
+ add: function ( arr, i ) {
128
+ arr.splice( i, 0, this.value );
129
+
130
+ // this may be needed when using "-" in an array
131
+ return i;
132
+ },
133
+ remove: function ( arr, i ) {
134
+ var removedList = arr.splice( i, 1 );
135
+ return removedList[ 0 ];
136
+ },
137
+ replace: function ( arr, i ) {
138
+ var removed = arr[ i ];
139
+ arr[ i ] = this.value;
140
+ return removed;
141
+ },
142
+ move: objOps.move,
143
+ copy: objOps.copy,
144
+ test: objOps.test,
145
+ _get: objOps._get
146
+ },
147
+
148
+ // The operations applicable to object root. Many are the same as for the object
149
+ rootOps = {
150
+ add: function ( obj ) {
151
+ rootOps.remove.call( this, obj );
152
+ for ( var key in this.value ) {
153
+ if ( this.value.hasOwnProperty( key ) ) {
154
+ obj[ key ] = this.value[ key ];
155
+ }
156
+ }
157
+ },
158
+ remove: function ( obj ) {
159
+ var removed = {}, key;
160
+ for ( key in obj ) {
161
+ if ( obj.hasOwnProperty( key ) ) {
162
+ removed[ key ] = obj[ key ];
163
+ objOps.remove.call( this, obj, key );
164
+ }
165
+ }
166
+ return removed;
167
+ },
168
+ replace: function ( obj ) {
169
+ var removed = apply( obj, [
170
+ { op: "remove", path: this.path }
171
+ ] );
172
+ apply( obj, [
173
+ { op: "add", path: this.path, value: this.value }
174
+ ] );
175
+ return removed[ 0 ];
176
+ },
177
+ move: objOps.move,
178
+ copy: objOps.copy,
179
+ test: function ( obj ) {
180
+ return ( JSON.stringify( obj ) === JSON.stringify( this.value ) );
181
+ },
182
+ _get: function ( obj ) {
183
+ this.value = obj;
184
+ }
185
+ },
186
+
187
+ /**
188
+ * Apply a json-patch operation on an object tree
189
+ * Returns an array of results of operations.
190
+ * Each element can either be a boolean (if op === "test") or
191
+ * the removed object (operations that remove things)
192
+ * or just be undefined
193
+ *
194
+ @param {object} Tree
195
+ @param {array} Array of patches
196
+ @param {boolean} Apply the patch even if test fail, instead test result will be returned
197
+ */
198
+ apply = function( tree, patches, force ) {
199
+ if ( !force ) {
200
+
201
+ // Re-order all "test" operation to ensure they are executed first
202
+ patches.sort( function( a, b ) {
203
+ if ( a.op === "test" && b.op !== "test" ) {
204
+ return -1;
205
+ } else if ( b.op === "test" ) {
206
+ return 1;
207
+ } else {
208
+ return 0;
209
+ }
210
+ } );
211
+ }
212
+ var results = new Array( patches.length ), p = 0, plen = patches.length, patch, key;
213
+ while ( p < plen ) {
214
+ patch = patches[ p ];
215
+ p += 1;
216
+
217
+ // Find the object
218
+ var path = patch.path || "",
219
+ op = patch.op,
220
+ isTest = force ? false : op === "test", // if true, it enforce test to apply subsequent patches
221
+ keys = path.split( "/" ),
222
+ obj = tree,
223
+ t = 1, //skip empty element - http://jsperf.com/to-shift-or-not-to-shift
224
+ len = keys.length;
225
+ while ( true && obj ) {
226
+ key = keys[ t ];
227
+ t += 1;
228
+ if ( key === undefined ) {
229
+ if ( t >= len ) {
230
+ results[ p - 1 ] = rootOps[ op ].call( patch, obj, key, tree ); // Apply patch
231
+ if ( isTest && !results[ p - 1 ] ) {
232
+ return tree;
233
+ }
234
+ break;
235
+ }
236
+ }
237
+ if ( _isArray( obj ) ) {
238
+ if ( key === "-" ) {
239
+ key = obj.length;
240
+ }
241
+ else {
242
+ key = parseInt( key, 10 );
243
+ }
244
+ if ( t >= len ) {
245
+ results[ p - 1 ] = arrOps[ op ].call( patch, obj, key, tree ); // Apply patch
246
+ if ( isTest && !results[ p - 1] ) {
247
+ return tree;
248
+ }
249
+ break;
250
+ }
251
+ }
252
+ else {
253
+ if ( key && key.indexOf( "~" ) !== -1 ) {
254
+ key = key.replace( /~1/g, "/" ).replace( /~0/g, "~" ); // escape chars
255
+ }
256
+ if ( t >= len ) {
257
+ results[ p - 1 ] = objOps[ op ].call( patch, obj, key, tree ); // Apply patch
258
+ if ( isTest && !results[ p - 1] ) {
259
+ return tree;
260
+ }
261
+ break;
262
+ }
263
+ }
264
+ obj = obj[ key ];
265
+ }
266
+ }
267
+ return results;
268
+ },
269
+
270
+ /**
271
+ * Register a custom operation, node in tree
272
+ */
273
+ registerOperation = function( name, fn ) {
274
+ if ( objOps[ name ] ) {
275
+ throw "The operation " + name + " already registered.";
276
+ }
277
+ objOps[ name ] = fn;
278
+ },
279
+
280
+ /**
281
+ * Register a custom operation, tree is an array
282
+ */
283
+ registerOperationArray = function( name, fn ) {
284
+ if ( arrOps[ name ] ) {
285
+ throw "The operation " + name + " already registered.";
286
+ }
287
+ arrOps[ name ] = fn;
288
+ },
289
+
290
+ /**
291
+ * Register a custom operation, root operation
292
+ */
293
+ registerOperationRoot = function( name, fn ) {
294
+ if ( rootOps[ name ] ) {
295
+ throw "The operation " + name + " already registered.";
296
+ }
297
+ rootOps[ name ] = fn;
298
+ },
299
+ _isArray;
300
+
301
+ if ( Array.isArray ) {
302
+ _isArray = Array.isArray;
303
+ }
304
+ else {
305
+ _isArray = function ( obj ) {
306
+ return obj.push && typeof obj.length === "number";
307
+ };
308
+ }
309
+
310
+ jsonpatch.apply = apply;
311
+ jsonpatch.registerOps = registerOperation;
312
+ jsonpatch.registerOpsArray = registerOperationArray;
313
+ jsonpatch.registerOpsRoot = registerOperationRoot;
314
+
315
+ } )( jsonpatch || ( jsonpatch = {} ) );
@@ -0,0 +1 @@
1
+ var jsonpatch;!function(e){function i(e){if(m(e))for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;else{if(Object.keys)return Object.keys(e);var n,t=[];for(n in e)e.hasOwnProperty(n)&&t.push(n)}return t}function o(e,t){switch(typeof e){case"undefined":case"boolean":case"string":case"number":return e===t;case"object":if(null===e)return null===t;if(m(e)){if(!m(t)||e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(!o(e[r],t[r]))return!1}else{var a=i(t).length;if(i(e).length!==a)return!1;for(r=0;r<a;r++)if(!o(e[r],t[r]))return!1}return!0;default:return!1}}var g={add:function(e,t){e[t]=this.value},remove:function(e,t){var r=e[t];return delete e[t],r},replace:function(e,t){var r=e[t];return e[t]=this.value,r},move:function(e,t,r){var n={op:"_get",path:this.path},n=(u(r,[n]),void 0===n.value?void 0:JSON.parse(JSON.stringify(n.value))),a={op:"_get",path:this.from};return u(r,[a]),u(r,[{op:"remove",path:this.from}]),u(r,[{op:"add",path:this.path,value:a.value}]),n},copy:function(e,t,r){var n={op:"_get",path:this.from};u(r,[n]),u(r,[{op:"add",path:this.path,value:n.value}])},test:function(e,t){return o(e[t],this.value)},_get:function(e,t){this.value=e[t]}},d={add:function(e,t){return e.splice(t,0,this.value),t},remove:function(e,t){return e.splice(t,1)[0]},replace:function(e,t){var r=e[t];return e[t]=this.value,r},move:g.move,copy:g.copy,test:g.test,_get:g._get},y={add:function(e){for(var t in y.remove.call(this,e),this.value)this.value.hasOwnProperty(t)&&(e[t]=this.value[t])},remove:function(e){var t,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t],g.remove.call(this,e,t));return r},replace:function(e){var t=u(e,[{op:"remove",path:this.path}]);return u(e,[{op:"add",path:this.path,value:this.value}]),t[0]},move:g.move,copy:g.copy,test:function(e){return JSON.stringify(e)===JSON.stringify(this.value)},_get:function(e){this.value=e}},u=function(e,t,r){r||t.sort(function(e,t){return"test"===e.op&&"test"!==t.op?-1:"test"===t.op?1:0});for(var n,a,i=new Array(t.length),o=0,u=t.length;o<u;){n=t[o],o+=1;for(var s=n.path||"",h=n.op,l=!r&&"test"===h,f=s.split("/"),p=e,c=1,v=f.length;p;){if(a=f[c],c+=1,void 0===a&&v<=c){if(i[o-1]=y[h].call(n,p,a,e),l&&!i[o-1])return e;break}if(m(p)){if(a="-"===a?p.length:parseInt(a,10),v<=c){if(i[o-1]=d[h].call(n,p,a,e),l&&!i[o-1])return e;break}}else if(a&&-1!==a.indexOf("~")&&(a=a.replace(/~1/g,"/").replace(/~0/g,"~")),v<=c){if(i[o-1]=g[h].call(n,p,a,e),l&&!i[o-1])return e;break}p=p[a]}}return i},m=Array.isArray||function(e){return e.push&&"number"==typeof e.length};e.apply=u,e.registerOps=function(e,t){if(g[e])throw"The operation "+e+" already registered.";g[e]=t},e.registerOpsArray=function(e,t){if(d[e])throw"The operation "+e+" already registered.";d[e]=t},e.registerOpsRoot=function(e,t){if(y[e])throw"The operation "+e+" already registered.";y[e]=t}}(jsonpatch=jsonpatch||{});