ext_yarn 0.1.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 (618) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +125 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +21 -0
  5. data/Gemfile.lock +78 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +3 -0
  8. data/bin/yarn +12 -0
  9. data/ext_yarn.gemspec +23 -0
  10. data/lib/ext_yarn/engine.rb +21 -0
  11. data/lib/ext_yarn/version.rb +3 -0
  12. data/lib/ext_yarn.rb +5 -0
  13. data/node_modules/.yarn-integrity +64 -0
  14. data/node_modules/bootstrap-sass/LICENSE +22 -0
  15. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/affix.js +162 -0
  16. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/alert.js +94 -0
  17. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/button.js +125 -0
  18. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/carousel.js +237 -0
  19. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js +212 -0
  20. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js +165 -0
  21. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js +339 -0
  22. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/popover.js +108 -0
  23. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js +172 -0
  24. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tab.js +155 -0
  25. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js +520 -0
  26. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js +59 -0
  27. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js +12 -0
  28. data/node_modules/bootstrap-sass/assets/javascripts/bootstrap.js +2377 -0
  29. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss +9 -0
  30. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  31. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  32. data/node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss +56 -0
  33. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  34. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +68 -0
  35. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
  36. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +244 -0
  37. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  38. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +270 -0
  39. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +36 -0
  40. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +69 -0
  41. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
  42. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +216 -0
  43. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +617 -0
  44. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +307 -0
  45. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +84 -0
  46. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +171 -0
  47. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +54 -0
  48. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +66 -0
  49. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +130 -0
  50. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +66 -0
  51. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +40 -0
  52. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +150 -0
  53. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  54. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +242 -0
  55. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +424 -0
  56. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +54 -0
  57. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +89 -0
  58. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +271 -0
  59. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +131 -0
  60. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +101 -0
  61. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  62. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  63. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
  64. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +161 -0
  65. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +234 -0
  66. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_theme.scss +291 -0
  67. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  68. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +101 -0
  69. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +298 -0
  70. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  71. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +874 -0
  72. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +29 -0
  73. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  74. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  75. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  76. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +65 -0
  77. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  78. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  79. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  80. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  81. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  82. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  83. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  84. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  85. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  86. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
  87. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  88. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  89. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  90. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  91. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  92. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  93. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  94. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  95. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  96. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  97. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  98. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  99. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  100. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  101. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  102. data/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  103. data/node_modules/bootstrap-sass/package.json +44 -0
  104. data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
  105. data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
  106. data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
  107. data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
  108. data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
  109. data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
  110. data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
  111. data/node_modules/bootswatch/darkly/_variables.scss +870 -0
  112. data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
  113. data/node_modules/bootswatch/flatly/_variables.scss +870 -0
  114. data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
  115. data/node_modules/bootswatch/journal/_variables.scss +870 -0
  116. data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
  117. data/node_modules/bootswatch/lumen/_variables.scss +870 -0
  118. data/node_modules/bootswatch/package.json +26 -0
  119. data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
  120. data/node_modules/bootswatch/paper/_variables.scss +870 -0
  121. data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
  122. data/node_modules/bootswatch/readable/_variables.scss +870 -0
  123. data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
  124. data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
  125. data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
  126. data/node_modules/bootswatch/simplex/_variables.scss +870 -0
  127. data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
  128. data/node_modules/bootswatch/slate/_variables.scss +870 -0
  129. data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
  130. data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
  131. data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
  132. data/node_modules/bootswatch/superhero/_variables.scss +870 -0
  133. data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
  134. data/node_modules/bootswatch/united/_variables.scss +870 -0
  135. data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
  136. data/node_modules/bootswatch/yeti/_variables.scss +870 -0
  137. data/node_modules/chart.js/dist/Chart.bundle.js +18919 -0
  138. data/node_modules/chart.js/dist/Chart.js +14384 -0
  139. data/node_modules/chart.js/package.json +57 -0
  140. data/node_modules/chartkick/chartkick.js +1853 -0
  141. data/node_modules/chartkick/package.json +25 -0
  142. data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  143. data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  144. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  145. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  146. data/node_modules/file-saver/FileSaver.js +188 -0
  147. data/node_modules/file-saver/package.json +28 -0
  148. data/node_modules/font-awesome-sass/LICENSE.txt +22 -0
  149. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  150. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
  151. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  152. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  153. data/node_modules/font-awesome-sass/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  154. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-compass.scss +5 -0
  155. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
  156. data/node_modules/font-awesome-sass/assets/stylesheets/_font-awesome.scss +18 -0
  157. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_animated.scss +34 -0
  158. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_bordered-pulled.scss +25 -0
  159. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_core.scss +12 -0
  160. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
  161. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_icons.scss +789 -0
  162. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_larger.scss +13 -0
  163. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_list.scss +19 -0
  164. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_mixins.scss +60 -0
  165. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_path.scss +14 -0
  166. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
  167. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
  168. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_stacked.scss +20 -0
  169. data/node_modules/font-awesome-sass/assets/stylesheets/font-awesome/_variables.scss +802 -0
  170. data/node_modules/font-awesome-sass/package.json +19 -0
  171. data/node_modules/jquery/dist/jquery.js +10253 -0
  172. data/node_modules/jquery/dist/jquery.slim.js +8160 -0
  173. data/node_modules/jquery/package.json +97 -0
  174. data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
  175. data/node_modules/jquery-pjax/package.json +18 -0
  176. data/node_modules/jquery-ui/package.json +74 -0
  177. data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
  178. data/node_modules/jquery-ui/themes/base/all.css +12 -0
  179. data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
  180. data/node_modules/jquery-ui/themes/base/base.css +30 -0
  181. data/node_modules/jquery-ui/themes/base/button.css +82 -0
  182. data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
  183. data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
  184. data/node_modules/jquery-ui/themes/base/core.css +97 -0
  185. data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
  186. data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
  187. data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
  188. data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  189. data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  190. data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  191. data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  192. data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  193. data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  194. data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  195. data/node_modules/jquery-ui/themes/base/menu.css +64 -0
  196. data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
  197. data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
  198. data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
  199. data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
  200. data/node_modules/jquery-ui/themes/base/slider.css +75 -0
  201. data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
  202. data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
  203. data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
  204. data/node_modules/jquery-ui/themes/base/theme.css +443 -0
  205. data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
  206. data/node_modules/jquery-ui/ui/core.js +21 -0
  207. data/node_modules/jquery-ui/ui/data.js +39 -0
  208. data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
  209. data/node_modules/jquery-ui/ui/effect.js +1635 -0
  210. data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
  211. data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
  212. data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
  213. data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
  214. data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
  215. data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
  216. data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
  217. data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
  218. data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
  219. data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  220. data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
  221. data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
  222. data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
  223. data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
  224. data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
  225. data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
  226. data/node_modules/jquery-ui/ui/focusable.js +84 -0
  227. data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
  228. data/node_modules/jquery-ui/ui/form.js +20 -0
  229. data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  230. data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
  231. data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
  232. data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  233. data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  234. data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  235. data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  236. data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  237. data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  238. data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
  239. data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  240. data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  241. data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  242. data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  243. data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  244. data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  245. data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  246. data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  247. data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
  248. data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  249. data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  250. data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  251. data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
  252. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  253. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  254. data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  255. data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  256. data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  257. data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  258. data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  259. data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  260. data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  261. data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  262. data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
  263. data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  264. data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  265. data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  266. data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
  267. data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  268. data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  269. data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  270. data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  271. data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
  272. data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
  273. data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
  274. data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  275. data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  276. data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  277. data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
  278. data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  279. data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  280. data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
  281. data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
  282. data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  283. data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
  284. data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
  285. data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
  286. data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  287. data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  288. data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  289. data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  290. data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  291. data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  292. data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  293. data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  294. data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
  295. data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  296. data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  297. data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  298. data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  299. data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  300. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  301. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  302. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  303. data/node_modules/jquery-ui/ui/ie.js +15 -0
  304. data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
  305. data/node_modules/jquery-ui/ui/keycode.js +45 -0
  306. data/node_modules/jquery-ui/ui/labels.js +62 -0
  307. data/node_modules/jquery-ui/ui/plugin.js +44 -0
  308. data/node_modules/jquery-ui/ui/position.js +498 -0
  309. data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
  310. data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
  311. data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
  312. data/node_modules/jquery-ui/ui/tabbable.js +35 -0
  313. data/node_modules/jquery-ui/ui/unique-id.js +49 -0
  314. data/node_modules/jquery-ui/ui/version.js +17 -0
  315. data/node_modules/jquery-ui/ui/widget.js +733 -0
  316. data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
  317. data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
  318. data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
  319. data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  320. data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
  321. data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
  322. data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
  323. data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
  324. data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
  325. data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
  326. data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
  327. data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
  328. data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
  329. data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
  330. data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
  331. data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
  332. data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
  333. data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
  334. data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
  335. data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
  336. data/node_modules/jquery-ujs/package.json +26 -0
  337. data/node_modules/jquery-ujs/src/rails.js +555 -0
  338. data/node_modules/js-cookie/package.json +49 -0
  339. data/node_modules/js-cookie/src/js.cookie.js +165 -0
  340. data/node_modules/jstz/dist/jstz.js +1428 -0
  341. data/node_modules/jstz/package.json +57 -0
  342. data/node_modules/lodash/core.js +3836 -0
  343. data/node_modules/lodash/lodash.js +17084 -0
  344. data/node_modules/lodash/package.json +17 -0
  345. data/node_modules/moment/locale/af.js +74 -0
  346. data/node_modules/moment/locale/ar-dz.js +60 -0
  347. data/node_modules/moment/locale/ar-kw.js +60 -0
  348. data/node_modules/moment/locale/ar-ly.js +127 -0
  349. data/node_modules/moment/locale/ar-ma.js +61 -0
  350. data/node_modules/moment/locale/ar-sa.js +106 -0
  351. data/node_modules/moment/locale/ar-tn.js +60 -0
  352. data/node_modules/moment/locale/ar.js +143 -0
  353. data/node_modules/moment/locale/az.js +106 -0
  354. data/node_modules/moment/locale/be.js +135 -0
  355. data/node_modules/moment/locale/bg.js +91 -0
  356. data/node_modules/moment/locale/bm.js +60 -0
  357. data/node_modules/moment/locale/bn.js +120 -0
  358. data/node_modules/moment/locale/bo.js +120 -0
  359. data/node_modules/moment/locale/br.js +109 -0
  360. data/node_modules/moment/locale/bs.js +153 -0
  361. data/node_modules/moment/locale/ca.js +89 -0
  362. data/node_modules/moment/locale/cs.js +180 -0
  363. data/node_modules/moment/locale/cv.js +64 -0
  364. data/node_modules/moment/locale/cy.js +82 -0
  365. data/node_modules/moment/locale/da.js +61 -0
  366. data/node_modules/moment/locale/de-at.js +80 -0
  367. data/node_modules/moment/locale/de-ch.js +79 -0
  368. data/node_modules/moment/locale/de.js +79 -0
  369. data/node_modules/moment/locale/dv.js +101 -0
  370. data/node_modules/moment/locale/el.js +101 -0
  371. data/node_modules/moment/locale/en-au.js +68 -0
  372. data/node_modules/moment/locale/en-ca.js +64 -0
  373. data/node_modules/moment/locale/en-gb.js +68 -0
  374. data/node_modules/moment/locale/en-ie.js +68 -0
  375. data/node_modules/moment/locale/en-nz.js +68 -0
  376. data/node_modules/moment/locale/eo.js +74 -0
  377. data/node_modules/moment/locale/es-do.js +92 -0
  378. data/node_modules/moment/locale/es-us.js +84 -0
  379. data/node_modules/moment/locale/es.js +93 -0
  380. data/node_modules/moment/locale/et.js +82 -0
  381. data/node_modules/moment/locale/eu.js +67 -0
  382. data/node_modules/moment/locale/fa.js +108 -0
  383. data/node_modules/moment/locale/fi.js +110 -0
  384. data/node_modules/moment/locale/fo.js +61 -0
  385. data/node_modules/moment/locale/fr-ca.js +75 -0
  386. data/node_modules/moment/locale/fr-ch.js +79 -0
  387. data/node_modules/moment/locale/fr.js +84 -0
  388. data/node_modules/moment/locale/fy.js +76 -0
  389. data/node_modules/moment/locale/gd.js +77 -0
  390. data/node_modules/moment/locale/gl.js +78 -0
  391. data/node_modules/moment/locale/gom-latn.js +124 -0
  392. data/node_modules/moment/locale/gu.js +125 -0
  393. data/node_modules/moment/locale/he.js +100 -0
  394. data/node_modules/moment/locale/hi.js +125 -0
  395. data/node_modules/moment/locale/hr.js +155 -0
  396. data/node_modules/moment/locale/hu.js +111 -0
  397. data/node_modules/moment/locale/hy-am.js +96 -0
  398. data/node_modules/moment/locale/id.js +84 -0
  399. data/node_modules/moment/locale/is.js +133 -0
  400. data/node_modules/moment/locale/it.js +71 -0
  401. data/node_modules/moment/locale/ja.js +81 -0
  402. data/node_modules/moment/locale/jv.js +84 -0
  403. data/node_modules/moment/locale/ka.js +90 -0
  404. data/node_modules/moment/locale/kk.js +88 -0
  405. data/node_modules/moment/locale/km.js +59 -0
  406. data/node_modules/moment/locale/kn.js +127 -0
  407. data/node_modules/moment/locale/ko.js +83 -0
  408. data/node_modules/moment/locale/ky.js +89 -0
  409. data/node_modules/moment/locale/lb.js +138 -0
  410. data/node_modules/moment/locale/lo.js +71 -0
  411. data/node_modules/moment/locale/lt.js +119 -0
  412. data/node_modules/moment/locale/lv.js +99 -0
  413. data/node_modules/moment/locale/me.js +113 -0
  414. data/node_modules/moment/locale/mi.js +65 -0
  415. data/node_modules/moment/locale/mk.js +91 -0
  416. data/node_modules/moment/locale/ml.js +82 -0
  417. data/node_modules/moment/locale/mr.js +162 -0
  418. data/node_modules/moment/locale/ms-my.js +84 -0
  419. data/node_modules/moment/locale/ms.js +83 -0
  420. data/node_modules/moment/locale/mt.js +61 -0
  421. data/node_modules/moment/locale/my.js +97 -0
  422. data/node_modules/moment/locale/nb.js +64 -0
  423. data/node_modules/moment/locale/ne.js +124 -0
  424. data/node_modules/moment/locale/nl-be.js +89 -0
  425. data/node_modules/moment/locale/nl.js +89 -0
  426. data/node_modules/moment/locale/nn.js +61 -0
  427. data/node_modules/moment/locale/pa-in.js +125 -0
  428. data/node_modules/moment/locale/pl.js +127 -0
  429. data/node_modules/moment/locale/pt-br.js +62 -0
  430. data/node_modules/moment/locale/pt.js +66 -0
  431. data/node_modules/moment/locale/ro.js +77 -0
  432. data/node_modules/moment/locale/ru.js +185 -0
  433. data/node_modules/moment/locale/sd.js +99 -0
  434. data/node_modules/moment/locale/se.js +62 -0
  435. data/node_modules/moment/locale/si.js +72 -0
  436. data/node_modules/moment/locale/sk.js +158 -0
  437. data/node_modules/moment/locale/sl.js +174 -0
  438. data/node_modules/moment/locale/sq.js +71 -0
  439. data/node_modules/moment/locale/sr-cyrl.js +112 -0
  440. data/node_modules/moment/locale/sr.js +112 -0
  441. data/node_modules/moment/locale/ss.js +90 -0
  442. data/node_modules/moment/locale/sv.js +70 -0
  443. data/node_modules/moment/locale/sw.js +60 -0
  444. data/node_modules/moment/locale/ta.js +131 -0
  445. data/node_modules/moment/locale/te.js +90 -0
  446. data/node_modules/moment/locale/tet.js +69 -0
  447. data/node_modules/moment/locale/th.js +68 -0
  448. data/node_modules/moment/locale/tl-ph.js +63 -0
  449. data/node_modules/moment/locale/tlh.js +123 -0
  450. data/node_modules/moment/locale/tr.js +91 -0
  451. data/node_modules/moment/locale/tzl.js +93 -0
  452. data/node_modules/moment/locale/tzm-latn.js +59 -0
  453. data/node_modules/moment/locale/tzm.js +59 -0
  454. data/node_modules/moment/locale/uk.js +153 -0
  455. data/node_modules/moment/locale/ur.js +100 -0
  456. data/node_modules/moment/locale/uz-latn.js +59 -0
  457. data/node_modules/moment/locale/uz.js +59 -0
  458. data/node_modules/moment/locale/vi.js +80 -0
  459. data/node_modules/moment/locale/x-pseudo.js +69 -0
  460. data/node_modules/moment/locale/yo.js +61 -0
  461. data/node_modules/moment/locale/zh-cn.js +112 -0
  462. data/node_modules/moment/locale/zh-hk.js +106 -0
  463. data/node_modules/moment/locale/zh-tw.js +105 -0
  464. data/node_modules/moment/min/locales.js +9769 -0
  465. data/node_modules/moment/min/moment-with-locales.js +14289 -0
  466. data/node_modules/moment/moment.js +4535 -0
  467. data/node_modules/moment/package.json +99 -0
  468. data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
  469. data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
  470. data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
  471. data/node_modules/moment-timezone/moment-timezone.js +605 -0
  472. data/node_modules/moment-timezone/package.json +50 -0
  473. data/node_modules/nprogress/nprogress.css +74 -0
  474. data/node_modules/nprogress/nprogress.js +480 -0
  475. data/node_modules/nprogress/package.json +47 -0
  476. data/node_modules/nprogress/support/extras.css +4 -0
  477. data/node_modules/roboto-fontface/css/mixins.scss +36 -0
  478. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
  479. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
  480. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
  481. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
  482. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
  483. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
  484. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
  485. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
  486. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
  487. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
  488. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
  489. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
  490. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
  491. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
  492. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
  493. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
  494. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
  495. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
  496. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
  497. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
  498. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
  499. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
  500. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
  501. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
  502. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
  503. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
  504. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
  505. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
  506. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
  507. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
  508. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
  509. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
  510. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  511. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
  512. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
  513. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
  514. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
  515. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
  516. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
  517. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
  518. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
  519. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
  520. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  521. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
  522. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
  523. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
  524. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
  525. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
  526. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
  527. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
  528. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
  529. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
  530. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  531. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
  532. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
  533. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
  534. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
  535. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
  536. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
  537. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
  538. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
  539. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
  540. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  541. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
  542. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
  543. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
  544. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
  545. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
  546. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
  547. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
  548. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
  549. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
  550. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
  551. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
  552. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
  553. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
  554. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
  555. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
  556. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
  557. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
  558. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
  559. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
  560. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  561. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
  562. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
  563. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
  564. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
  565. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
  566. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
  567. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
  568. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
  569. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
  570. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
  571. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
  572. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
  573. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
  574. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
  575. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
  576. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
  577. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
  578. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
  579. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
  580. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
  581. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
  582. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
  583. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
  584. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
  585. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
  586. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
  587. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
  588. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
  589. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
  590. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
  591. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
  592. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
  593. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
  594. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
  595. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
  596. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
  597. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
  598. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
  599. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
  600. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
  601. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
  602. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
  603. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
  604. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
  605. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
  606. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
  607. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
  608. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
  609. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
  610. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
  611. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
  612. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
  613. data/node_modules/roboto-fontface/package.json +28 -0
  614. data/node_modules/signature_pad/dist/signature_pad.js +610 -0
  615. data/node_modules/signature_pad/package.json +41 -0
  616. data/package.json +25 -0
  617. data/yarn.lock +126 -0
  618. metadata +708 -0
@@ -0,0 +1,1201 @@
1
+ /*!
2
+ * jQuery UI Resizable 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: Resizable
11
+ //>>group: Interactions
12
+ //>>description: Enables resize functionality for any element.
13
+ //>>docs: http://api.jqueryui.com/resizable/
14
+ //>>demos: http://jqueryui.com/resizable/
15
+ //>>css.structure: ../../themes/base/core.css
16
+ //>>css.structure: ../../themes/base/resizable.css
17
+ //>>css.theme: ../../themes/base/theme.css
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "./mouse",
26
+ "../disable-selection",
27
+ "../plugin",
28
+ "../version",
29
+ "../widget"
30
+ ], factory );
31
+ } else {
32
+
33
+ // Browser globals
34
+ factory( jQuery );
35
+ }
36
+ }( function( $ ) {
37
+
38
+ $.widget( "ui.resizable", $.ui.mouse, {
39
+ version: "1.12.1",
40
+ widgetEventPrefix: "resize",
41
+ options: {
42
+ alsoResize: false,
43
+ animate: false,
44
+ animateDuration: "slow",
45
+ animateEasing: "swing",
46
+ aspectRatio: false,
47
+ autoHide: false,
48
+ classes: {
49
+ "ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se"
50
+ },
51
+ containment: false,
52
+ ghost: false,
53
+ grid: false,
54
+ handles: "e,s,se",
55
+ helper: false,
56
+ maxHeight: null,
57
+ maxWidth: null,
58
+ minHeight: 10,
59
+ minWidth: 10,
60
+
61
+ // See #7960
62
+ zIndex: 90,
63
+
64
+ // Callbacks
65
+ resize: null,
66
+ start: null,
67
+ stop: null
68
+ },
69
+
70
+ _num: function( value ) {
71
+ return parseFloat( value ) || 0;
72
+ },
73
+
74
+ _isNumber: function( value ) {
75
+ return !isNaN( parseFloat( value ) );
76
+ },
77
+
78
+ _hasScroll: function( el, a ) {
79
+
80
+ if ( $( el ).css( "overflow" ) === "hidden" ) {
81
+ return false;
82
+ }
83
+
84
+ var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",
85
+ has = false;
86
+
87
+ if ( el[ scroll ] > 0 ) {
88
+ return true;
89
+ }
90
+
91
+ // TODO: determine which cases actually cause this to happen
92
+ // if the element doesn't have the scroll set, see if it's possible to
93
+ // set the scroll
94
+ el[ scroll ] = 1;
95
+ has = ( el[ scroll ] > 0 );
96
+ el[ scroll ] = 0;
97
+ return has;
98
+ },
99
+
100
+ _create: function() {
101
+
102
+ var margins,
103
+ o = this.options,
104
+ that = this;
105
+ this._addClass( "ui-resizable" );
106
+
107
+ $.extend( this, {
108
+ _aspectRatio: !!( o.aspectRatio ),
109
+ aspectRatio: o.aspectRatio,
110
+ originalElement: this.element,
111
+ _proportionallyResizeElements: [],
112
+ _helper: o.helper || o.ghost || o.animate ? o.helper || "ui-resizable-helper" : null
113
+ } );
114
+
115
+ // Wrap the element if it cannot hold child nodes
116
+ if ( this.element[ 0 ].nodeName.match( /^(canvas|textarea|input|select|button|img)$/i ) ) {
117
+
118
+ this.element.wrap(
119
+ $( "<div class='ui-wrapper' style='overflow: hidden;'></div>" ).css( {
120
+ position: this.element.css( "position" ),
121
+ width: this.element.outerWidth(),
122
+ height: this.element.outerHeight(),
123
+ top: this.element.css( "top" ),
124
+ left: this.element.css( "left" )
125
+ } )
126
+ );
127
+
128
+ this.element = this.element.parent().data(
129
+ "ui-resizable", this.element.resizable( "instance" )
130
+ );
131
+
132
+ this.elementIsWrapper = true;
133
+
134
+ margins = {
135
+ marginTop: this.originalElement.css( "marginTop" ),
136
+ marginRight: this.originalElement.css( "marginRight" ),
137
+ marginBottom: this.originalElement.css( "marginBottom" ),
138
+ marginLeft: this.originalElement.css( "marginLeft" )
139
+ };
140
+
141
+ this.element.css( margins );
142
+ this.originalElement.css( "margin", 0 );
143
+
144
+ // support: Safari
145
+ // Prevent Safari textarea resize
146
+ this.originalResizeStyle = this.originalElement.css( "resize" );
147
+ this.originalElement.css( "resize", "none" );
148
+
149
+ this._proportionallyResizeElements.push( this.originalElement.css( {
150
+ position: "static",
151
+ zoom: 1,
152
+ display: "block"
153
+ } ) );
154
+
155
+ // Support: IE9
156
+ // avoid IE jump (hard set the margin)
157
+ this.originalElement.css( margins );
158
+
159
+ this._proportionallyResize();
160
+ }
161
+
162
+ this._setupHandles();
163
+
164
+ if ( o.autoHide ) {
165
+ $( this.element )
166
+ .on( "mouseenter", function() {
167
+ if ( o.disabled ) {
168
+ return;
169
+ }
170
+ that._removeClass( "ui-resizable-autohide" );
171
+ that._handles.show();
172
+ } )
173
+ .on( "mouseleave", function() {
174
+ if ( o.disabled ) {
175
+ return;
176
+ }
177
+ if ( !that.resizing ) {
178
+ that._addClass( "ui-resizable-autohide" );
179
+ that._handles.hide();
180
+ }
181
+ } );
182
+ }
183
+
184
+ this._mouseInit();
185
+ },
186
+
187
+ _destroy: function() {
188
+
189
+ this._mouseDestroy();
190
+
191
+ var wrapper,
192
+ _destroy = function( exp ) {
193
+ $( exp )
194
+ .removeData( "resizable" )
195
+ .removeData( "ui-resizable" )
196
+ .off( ".resizable" )
197
+ .find( ".ui-resizable-handle" )
198
+ .remove();
199
+ };
200
+
201
+ // TODO: Unwrap at same DOM position
202
+ if ( this.elementIsWrapper ) {
203
+ _destroy( this.element );
204
+ wrapper = this.element;
205
+ this.originalElement.css( {
206
+ position: wrapper.css( "position" ),
207
+ width: wrapper.outerWidth(),
208
+ height: wrapper.outerHeight(),
209
+ top: wrapper.css( "top" ),
210
+ left: wrapper.css( "left" )
211
+ } ).insertAfter( wrapper );
212
+ wrapper.remove();
213
+ }
214
+
215
+ this.originalElement.css( "resize", this.originalResizeStyle );
216
+ _destroy( this.originalElement );
217
+
218
+ return this;
219
+ },
220
+
221
+ _setOption: function( key, value ) {
222
+ this._super( key, value );
223
+
224
+ switch ( key ) {
225
+ case "handles":
226
+ this._removeHandles();
227
+ this._setupHandles();
228
+ break;
229
+ default:
230
+ break;
231
+ }
232
+ },
233
+
234
+ _setupHandles: function() {
235
+ var o = this.options, handle, i, n, hname, axis, that = this;
236
+ this.handles = o.handles ||
237
+ ( !$( ".ui-resizable-handle", this.element ).length ?
238
+ "e,s,se" : {
239
+ n: ".ui-resizable-n",
240
+ e: ".ui-resizable-e",
241
+ s: ".ui-resizable-s",
242
+ w: ".ui-resizable-w",
243
+ se: ".ui-resizable-se",
244
+ sw: ".ui-resizable-sw",
245
+ ne: ".ui-resizable-ne",
246
+ nw: ".ui-resizable-nw"
247
+ } );
248
+
249
+ this._handles = $();
250
+ if ( this.handles.constructor === String ) {
251
+
252
+ if ( this.handles === "all" ) {
253
+ this.handles = "n,e,s,w,se,sw,ne,nw";
254
+ }
255
+
256
+ n = this.handles.split( "," );
257
+ this.handles = {};
258
+
259
+ for ( i = 0; i < n.length; i++ ) {
260
+
261
+ handle = $.trim( n[ i ] );
262
+ hname = "ui-resizable-" + handle;
263
+ axis = $( "<div>" );
264
+ this._addClass( axis, "ui-resizable-handle " + hname );
265
+
266
+ axis.css( { zIndex: o.zIndex } );
267
+
268
+ this.handles[ handle ] = ".ui-resizable-" + handle;
269
+ this.element.append( axis );
270
+ }
271
+
272
+ }
273
+
274
+ this._renderAxis = function( target ) {
275
+
276
+ var i, axis, padPos, padWrapper;
277
+
278
+ target = target || this.element;
279
+
280
+ for ( i in this.handles ) {
281
+
282
+ if ( this.handles[ i ].constructor === String ) {
283
+ this.handles[ i ] = this.element.children( this.handles[ i ] ).first().show();
284
+ } else if ( this.handles[ i ].jquery || this.handles[ i ].nodeType ) {
285
+ this.handles[ i ] = $( this.handles[ i ] );
286
+ this._on( this.handles[ i ], { "mousedown": that._mouseDown } );
287
+ }
288
+
289
+ if ( this.elementIsWrapper &&
290
+ this.originalElement[ 0 ]
291
+ .nodeName
292
+ .match( /^(textarea|input|select|button)$/i ) ) {
293
+ axis = $( this.handles[ i ], this.element );
294
+
295
+ padWrapper = /sw|ne|nw|se|n|s/.test( i ) ?
296
+ axis.outerHeight() :
297
+ axis.outerWidth();
298
+
299
+ padPos = [ "padding",
300
+ /ne|nw|n/.test( i ) ? "Top" :
301
+ /se|sw|s/.test( i ) ? "Bottom" :
302
+ /^e$/.test( i ) ? "Right" : "Left" ].join( "" );
303
+
304
+ target.css( padPos, padWrapper );
305
+
306
+ this._proportionallyResize();
307
+ }
308
+
309
+ this._handles = this._handles.add( this.handles[ i ] );
310
+ }
311
+ };
312
+
313
+ // TODO: make renderAxis a prototype function
314
+ this._renderAxis( this.element );
315
+
316
+ this._handles = this._handles.add( this.element.find( ".ui-resizable-handle" ) );
317
+ this._handles.disableSelection();
318
+
319
+ this._handles.on( "mouseover", function() {
320
+ if ( !that.resizing ) {
321
+ if ( this.className ) {
322
+ axis = this.className.match( /ui-resizable-(se|sw|ne|nw|n|e|s|w)/i );
323
+ }
324
+ that.axis = axis && axis[ 1 ] ? axis[ 1 ] : "se";
325
+ }
326
+ } );
327
+
328
+ if ( o.autoHide ) {
329
+ this._handles.hide();
330
+ this._addClass( "ui-resizable-autohide" );
331
+ }
332
+ },
333
+
334
+ _removeHandles: function() {
335
+ this._handles.remove();
336
+ },
337
+
338
+ _mouseCapture: function( event ) {
339
+ var i, handle,
340
+ capture = false;
341
+
342
+ for ( i in this.handles ) {
343
+ handle = $( this.handles[ i ] )[ 0 ];
344
+ if ( handle === event.target || $.contains( handle, event.target ) ) {
345
+ capture = true;
346
+ }
347
+ }
348
+
349
+ return !this.options.disabled && capture;
350
+ },
351
+
352
+ _mouseStart: function( event ) {
353
+
354
+ var curleft, curtop, cursor,
355
+ o = this.options,
356
+ el = this.element;
357
+
358
+ this.resizing = true;
359
+
360
+ this._renderProxy();
361
+
362
+ curleft = this._num( this.helper.css( "left" ) );
363
+ curtop = this._num( this.helper.css( "top" ) );
364
+
365
+ if ( o.containment ) {
366
+ curleft += $( o.containment ).scrollLeft() || 0;
367
+ curtop += $( o.containment ).scrollTop() || 0;
368
+ }
369
+
370
+ this.offset = this.helper.offset();
371
+ this.position = { left: curleft, top: curtop };
372
+
373
+ this.size = this._helper ? {
374
+ width: this.helper.width(),
375
+ height: this.helper.height()
376
+ } : {
377
+ width: el.width(),
378
+ height: el.height()
379
+ };
380
+
381
+ this.originalSize = this._helper ? {
382
+ width: el.outerWidth(),
383
+ height: el.outerHeight()
384
+ } : {
385
+ width: el.width(),
386
+ height: el.height()
387
+ };
388
+
389
+ this.sizeDiff = {
390
+ width: el.outerWidth() - el.width(),
391
+ height: el.outerHeight() - el.height()
392
+ };
393
+
394
+ this.originalPosition = { left: curleft, top: curtop };
395
+ this.originalMousePosition = { left: event.pageX, top: event.pageY };
396
+
397
+ this.aspectRatio = ( typeof o.aspectRatio === "number" ) ?
398
+ o.aspectRatio :
399
+ ( ( this.originalSize.width / this.originalSize.height ) || 1 );
400
+
401
+ cursor = $( ".ui-resizable-" + this.axis ).css( "cursor" );
402
+ $( "body" ).css( "cursor", cursor === "auto" ? this.axis + "-resize" : cursor );
403
+
404
+ this._addClass( "ui-resizable-resizing" );
405
+ this._propagate( "start", event );
406
+ return true;
407
+ },
408
+
409
+ _mouseDrag: function( event ) {
410
+
411
+ var data, props,
412
+ smp = this.originalMousePosition,
413
+ a = this.axis,
414
+ dx = ( event.pageX - smp.left ) || 0,
415
+ dy = ( event.pageY - smp.top ) || 0,
416
+ trigger = this._change[ a ];
417
+
418
+ this._updatePrevProperties();
419
+
420
+ if ( !trigger ) {
421
+ return false;
422
+ }
423
+
424
+ data = trigger.apply( this, [ event, dx, dy ] );
425
+
426
+ this._updateVirtualBoundaries( event.shiftKey );
427
+ if ( this._aspectRatio || event.shiftKey ) {
428
+ data = this._updateRatio( data, event );
429
+ }
430
+
431
+ data = this._respectSize( data, event );
432
+
433
+ this._updateCache( data );
434
+
435
+ this._propagate( "resize", event );
436
+
437
+ props = this._applyChanges();
438
+
439
+ if ( !this._helper && this._proportionallyResizeElements.length ) {
440
+ this._proportionallyResize();
441
+ }
442
+
443
+ if ( !$.isEmptyObject( props ) ) {
444
+ this._updatePrevProperties();
445
+ this._trigger( "resize", event, this.ui() );
446
+ this._applyChanges();
447
+ }
448
+
449
+ return false;
450
+ },
451
+
452
+ _mouseStop: function( event ) {
453
+
454
+ this.resizing = false;
455
+ var pr, ista, soffseth, soffsetw, s, left, top,
456
+ o = this.options, that = this;
457
+
458
+ if ( this._helper ) {
459
+
460
+ pr = this._proportionallyResizeElements;
461
+ ista = pr.length && ( /textarea/i ).test( pr[ 0 ].nodeName );
462
+ soffseth = ista && this._hasScroll( pr[ 0 ], "left" ) ? 0 : that.sizeDiff.height;
463
+ soffsetw = ista ? 0 : that.sizeDiff.width;
464
+
465
+ s = {
466
+ width: ( that.helper.width() - soffsetw ),
467
+ height: ( that.helper.height() - soffseth )
468
+ };
469
+ left = ( parseFloat( that.element.css( "left" ) ) +
470
+ ( that.position.left - that.originalPosition.left ) ) || null;
471
+ top = ( parseFloat( that.element.css( "top" ) ) +
472
+ ( that.position.top - that.originalPosition.top ) ) || null;
473
+
474
+ if ( !o.animate ) {
475
+ this.element.css( $.extend( s, { top: top, left: left } ) );
476
+ }
477
+
478
+ that.helper.height( that.size.height );
479
+ that.helper.width( that.size.width );
480
+
481
+ if ( this._helper && !o.animate ) {
482
+ this._proportionallyResize();
483
+ }
484
+ }
485
+
486
+ $( "body" ).css( "cursor", "auto" );
487
+
488
+ this._removeClass( "ui-resizable-resizing" );
489
+
490
+ this._propagate( "stop", event );
491
+
492
+ if ( this._helper ) {
493
+ this.helper.remove();
494
+ }
495
+
496
+ return false;
497
+
498
+ },
499
+
500
+ _updatePrevProperties: function() {
501
+ this.prevPosition = {
502
+ top: this.position.top,
503
+ left: this.position.left
504
+ };
505
+ this.prevSize = {
506
+ width: this.size.width,
507
+ height: this.size.height
508
+ };
509
+ },
510
+
511
+ _applyChanges: function() {
512
+ var props = {};
513
+
514
+ if ( this.position.top !== this.prevPosition.top ) {
515
+ props.top = this.position.top + "px";
516
+ }
517
+ if ( this.position.left !== this.prevPosition.left ) {
518
+ props.left = this.position.left + "px";
519
+ }
520
+ if ( this.size.width !== this.prevSize.width ) {
521
+ props.width = this.size.width + "px";
522
+ }
523
+ if ( this.size.height !== this.prevSize.height ) {
524
+ props.height = this.size.height + "px";
525
+ }
526
+
527
+ this.helper.css( props );
528
+
529
+ return props;
530
+ },
531
+
532
+ _updateVirtualBoundaries: function( forceAspectRatio ) {
533
+ var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
534
+ o = this.options;
535
+
536
+ b = {
537
+ minWidth: this._isNumber( o.minWidth ) ? o.minWidth : 0,
538
+ maxWidth: this._isNumber( o.maxWidth ) ? o.maxWidth : Infinity,
539
+ minHeight: this._isNumber( o.minHeight ) ? o.minHeight : 0,
540
+ maxHeight: this._isNumber( o.maxHeight ) ? o.maxHeight : Infinity
541
+ };
542
+
543
+ if ( this._aspectRatio || forceAspectRatio ) {
544
+ pMinWidth = b.minHeight * this.aspectRatio;
545
+ pMinHeight = b.minWidth / this.aspectRatio;
546
+ pMaxWidth = b.maxHeight * this.aspectRatio;
547
+ pMaxHeight = b.maxWidth / this.aspectRatio;
548
+
549
+ if ( pMinWidth > b.minWidth ) {
550
+ b.minWidth = pMinWidth;
551
+ }
552
+ if ( pMinHeight > b.minHeight ) {
553
+ b.minHeight = pMinHeight;
554
+ }
555
+ if ( pMaxWidth < b.maxWidth ) {
556
+ b.maxWidth = pMaxWidth;
557
+ }
558
+ if ( pMaxHeight < b.maxHeight ) {
559
+ b.maxHeight = pMaxHeight;
560
+ }
561
+ }
562
+ this._vBoundaries = b;
563
+ },
564
+
565
+ _updateCache: function( data ) {
566
+ this.offset = this.helper.offset();
567
+ if ( this._isNumber( data.left ) ) {
568
+ this.position.left = data.left;
569
+ }
570
+ if ( this._isNumber( data.top ) ) {
571
+ this.position.top = data.top;
572
+ }
573
+ if ( this._isNumber( data.height ) ) {
574
+ this.size.height = data.height;
575
+ }
576
+ if ( this._isNumber( data.width ) ) {
577
+ this.size.width = data.width;
578
+ }
579
+ },
580
+
581
+ _updateRatio: function( data ) {
582
+
583
+ var cpos = this.position,
584
+ csize = this.size,
585
+ a = this.axis;
586
+
587
+ if ( this._isNumber( data.height ) ) {
588
+ data.width = ( data.height * this.aspectRatio );
589
+ } else if ( this._isNumber( data.width ) ) {
590
+ data.height = ( data.width / this.aspectRatio );
591
+ }
592
+
593
+ if ( a === "sw" ) {
594
+ data.left = cpos.left + ( csize.width - data.width );
595
+ data.top = null;
596
+ }
597
+ if ( a === "nw" ) {
598
+ data.top = cpos.top + ( csize.height - data.height );
599
+ data.left = cpos.left + ( csize.width - data.width );
600
+ }
601
+
602
+ return data;
603
+ },
604
+
605
+ _respectSize: function( data ) {
606
+
607
+ var o = this._vBoundaries,
608
+ a = this.axis,
609
+ ismaxw = this._isNumber( data.width ) && o.maxWidth && ( o.maxWidth < data.width ),
610
+ ismaxh = this._isNumber( data.height ) && o.maxHeight && ( o.maxHeight < data.height ),
611
+ isminw = this._isNumber( data.width ) && o.minWidth && ( o.minWidth > data.width ),
612
+ isminh = this._isNumber( data.height ) && o.minHeight && ( o.minHeight > data.height ),
613
+ dw = this.originalPosition.left + this.originalSize.width,
614
+ dh = this.originalPosition.top + this.originalSize.height,
615
+ cw = /sw|nw|w/.test( a ), ch = /nw|ne|n/.test( a );
616
+ if ( isminw ) {
617
+ data.width = o.minWidth;
618
+ }
619
+ if ( isminh ) {
620
+ data.height = o.minHeight;
621
+ }
622
+ if ( ismaxw ) {
623
+ data.width = o.maxWidth;
624
+ }
625
+ if ( ismaxh ) {
626
+ data.height = o.maxHeight;
627
+ }
628
+
629
+ if ( isminw && cw ) {
630
+ data.left = dw - o.minWidth;
631
+ }
632
+ if ( ismaxw && cw ) {
633
+ data.left = dw - o.maxWidth;
634
+ }
635
+ if ( isminh && ch ) {
636
+ data.top = dh - o.minHeight;
637
+ }
638
+ if ( ismaxh && ch ) {
639
+ data.top = dh - o.maxHeight;
640
+ }
641
+
642
+ // Fixing jump error on top/left - bug #2330
643
+ if ( !data.width && !data.height && !data.left && data.top ) {
644
+ data.top = null;
645
+ } else if ( !data.width && !data.height && !data.top && data.left ) {
646
+ data.left = null;
647
+ }
648
+
649
+ return data;
650
+ },
651
+
652
+ _getPaddingPlusBorderDimensions: function( element ) {
653
+ var i = 0,
654
+ widths = [],
655
+ borders = [
656
+ element.css( "borderTopWidth" ),
657
+ element.css( "borderRightWidth" ),
658
+ element.css( "borderBottomWidth" ),
659
+ element.css( "borderLeftWidth" )
660
+ ],
661
+ paddings = [
662
+ element.css( "paddingTop" ),
663
+ element.css( "paddingRight" ),
664
+ element.css( "paddingBottom" ),
665
+ element.css( "paddingLeft" )
666
+ ];
667
+
668
+ for ( ; i < 4; i++ ) {
669
+ widths[ i ] = ( parseFloat( borders[ i ] ) || 0 );
670
+ widths[ i ] += ( parseFloat( paddings[ i ] ) || 0 );
671
+ }
672
+
673
+ return {
674
+ height: widths[ 0 ] + widths[ 2 ],
675
+ width: widths[ 1 ] + widths[ 3 ]
676
+ };
677
+ },
678
+
679
+ _proportionallyResize: function() {
680
+
681
+ if ( !this._proportionallyResizeElements.length ) {
682
+ return;
683
+ }
684
+
685
+ var prel,
686
+ i = 0,
687
+ element = this.helper || this.element;
688
+
689
+ for ( ; i < this._proportionallyResizeElements.length; i++ ) {
690
+
691
+ prel = this._proportionallyResizeElements[ i ];
692
+
693
+ // TODO: Seems like a bug to cache this.outerDimensions
694
+ // considering that we are in a loop.
695
+ if ( !this.outerDimensions ) {
696
+ this.outerDimensions = this._getPaddingPlusBorderDimensions( prel );
697
+ }
698
+
699
+ prel.css( {
700
+ height: ( element.height() - this.outerDimensions.height ) || 0,
701
+ width: ( element.width() - this.outerDimensions.width ) || 0
702
+ } );
703
+
704
+ }
705
+
706
+ },
707
+
708
+ _renderProxy: function() {
709
+
710
+ var el = this.element, o = this.options;
711
+ this.elementOffset = el.offset();
712
+
713
+ if ( this._helper ) {
714
+
715
+ this.helper = this.helper || $( "<div style='overflow:hidden;'></div>" );
716
+
717
+ this._addClass( this.helper, this._helper );
718
+ this.helper.css( {
719
+ width: this.element.outerWidth(),
720
+ height: this.element.outerHeight(),
721
+ position: "absolute",
722
+ left: this.elementOffset.left + "px",
723
+ top: this.elementOffset.top + "px",
724
+ zIndex: ++o.zIndex //TODO: Don't modify option
725
+ } );
726
+
727
+ this.helper
728
+ .appendTo( "body" )
729
+ .disableSelection();
730
+
731
+ } else {
732
+ this.helper = this.element;
733
+ }
734
+
735
+ },
736
+
737
+ _change: {
738
+ e: function( event, dx ) {
739
+ return { width: this.originalSize.width + dx };
740
+ },
741
+ w: function( event, dx ) {
742
+ var cs = this.originalSize, sp = this.originalPosition;
743
+ return { left: sp.left + dx, width: cs.width - dx };
744
+ },
745
+ n: function( event, dx, dy ) {
746
+ var cs = this.originalSize, sp = this.originalPosition;
747
+ return { top: sp.top + dy, height: cs.height - dy };
748
+ },
749
+ s: function( event, dx, dy ) {
750
+ return { height: this.originalSize.height + dy };
751
+ },
752
+ se: function( event, dx, dy ) {
753
+ return $.extend( this._change.s.apply( this, arguments ),
754
+ this._change.e.apply( this, [ event, dx, dy ] ) );
755
+ },
756
+ sw: function( event, dx, dy ) {
757
+ return $.extend( this._change.s.apply( this, arguments ),
758
+ this._change.w.apply( this, [ event, dx, dy ] ) );
759
+ },
760
+ ne: function( event, dx, dy ) {
761
+ return $.extend( this._change.n.apply( this, arguments ),
762
+ this._change.e.apply( this, [ event, dx, dy ] ) );
763
+ },
764
+ nw: function( event, dx, dy ) {
765
+ return $.extend( this._change.n.apply( this, arguments ),
766
+ this._change.w.apply( this, [ event, dx, dy ] ) );
767
+ }
768
+ },
769
+
770
+ _propagate: function( n, event ) {
771
+ $.ui.plugin.call( this, n, [ event, this.ui() ] );
772
+ ( n !== "resize" && this._trigger( n, event, this.ui() ) );
773
+ },
774
+
775
+ plugins: {},
776
+
777
+ ui: function() {
778
+ return {
779
+ originalElement: this.originalElement,
780
+ element: this.element,
781
+ helper: this.helper,
782
+ position: this.position,
783
+ size: this.size,
784
+ originalSize: this.originalSize,
785
+ originalPosition: this.originalPosition
786
+ };
787
+ }
788
+
789
+ } );
790
+
791
+ /*
792
+ * Resizable Extensions
793
+ */
794
+
795
+ $.ui.plugin.add( "resizable", "animate", {
796
+
797
+ stop: function( event ) {
798
+ var that = $( this ).resizable( "instance" ),
799
+ o = that.options,
800
+ pr = that._proportionallyResizeElements,
801
+ ista = pr.length && ( /textarea/i ).test( pr[ 0 ].nodeName ),
802
+ soffseth = ista && that._hasScroll( pr[ 0 ], "left" ) ? 0 : that.sizeDiff.height,
803
+ soffsetw = ista ? 0 : that.sizeDiff.width,
804
+ style = {
805
+ width: ( that.size.width - soffsetw ),
806
+ height: ( that.size.height - soffseth )
807
+ },
808
+ left = ( parseFloat( that.element.css( "left" ) ) +
809
+ ( that.position.left - that.originalPosition.left ) ) || null,
810
+ top = ( parseFloat( that.element.css( "top" ) ) +
811
+ ( that.position.top - that.originalPosition.top ) ) || null;
812
+
813
+ that.element.animate(
814
+ $.extend( style, top && left ? { top: top, left: left } : {} ), {
815
+ duration: o.animateDuration,
816
+ easing: o.animateEasing,
817
+ step: function() {
818
+
819
+ var data = {
820
+ width: parseFloat( that.element.css( "width" ) ),
821
+ height: parseFloat( that.element.css( "height" ) ),
822
+ top: parseFloat( that.element.css( "top" ) ),
823
+ left: parseFloat( that.element.css( "left" ) )
824
+ };
825
+
826
+ if ( pr && pr.length ) {
827
+ $( pr[ 0 ] ).css( { width: data.width, height: data.height } );
828
+ }
829
+
830
+ // Propagating resize, and updating values for each animation step
831
+ that._updateCache( data );
832
+ that._propagate( "resize", event );
833
+
834
+ }
835
+ }
836
+ );
837
+ }
838
+
839
+ } );
840
+
841
+ $.ui.plugin.add( "resizable", "containment", {
842
+
843
+ start: function() {
844
+ var element, p, co, ch, cw, width, height,
845
+ that = $( this ).resizable( "instance" ),
846
+ o = that.options,
847
+ el = that.element,
848
+ oc = o.containment,
849
+ ce = ( oc instanceof $ ) ?
850
+ oc.get( 0 ) :
851
+ ( /parent/.test( oc ) ) ? el.parent().get( 0 ) : oc;
852
+
853
+ if ( !ce ) {
854
+ return;
855
+ }
856
+
857
+ that.containerElement = $( ce );
858
+
859
+ if ( /document/.test( oc ) || oc === document ) {
860
+ that.containerOffset = {
861
+ left: 0,
862
+ top: 0
863
+ };
864
+ that.containerPosition = {
865
+ left: 0,
866
+ top: 0
867
+ };
868
+
869
+ that.parentData = {
870
+ element: $( document ),
871
+ left: 0,
872
+ top: 0,
873
+ width: $( document ).width(),
874
+ height: $( document ).height() || document.body.parentNode.scrollHeight
875
+ };
876
+ } else {
877
+ element = $( ce );
878
+ p = [];
879
+ $( [ "Top", "Right", "Left", "Bottom" ] ).each( function( i, name ) {
880
+ p[ i ] = that._num( element.css( "padding" + name ) );
881
+ } );
882
+
883
+ that.containerOffset = element.offset();
884
+ that.containerPosition = element.position();
885
+ that.containerSize = {
886
+ height: ( element.innerHeight() - p[ 3 ] ),
887
+ width: ( element.innerWidth() - p[ 1 ] )
888
+ };
889
+
890
+ co = that.containerOffset;
891
+ ch = that.containerSize.height;
892
+ cw = that.containerSize.width;
893
+ width = ( that._hasScroll ( ce, "left" ) ? ce.scrollWidth : cw );
894
+ height = ( that._hasScroll ( ce ) ? ce.scrollHeight : ch ) ;
895
+
896
+ that.parentData = {
897
+ element: ce,
898
+ left: co.left,
899
+ top: co.top,
900
+ width: width,
901
+ height: height
902
+ };
903
+ }
904
+ },
905
+
906
+ resize: function( event ) {
907
+ var woset, hoset, isParent, isOffsetRelative,
908
+ that = $( this ).resizable( "instance" ),
909
+ o = that.options,
910
+ co = that.containerOffset,
911
+ cp = that.position,
912
+ pRatio = that._aspectRatio || event.shiftKey,
913
+ cop = {
914
+ top: 0,
915
+ left: 0
916
+ },
917
+ ce = that.containerElement,
918
+ continueResize = true;
919
+
920
+ if ( ce[ 0 ] !== document && ( /static/ ).test( ce.css( "position" ) ) ) {
921
+ cop = co;
922
+ }
923
+
924
+ if ( cp.left < ( that._helper ? co.left : 0 ) ) {
925
+ that.size.width = that.size.width +
926
+ ( that._helper ?
927
+ ( that.position.left - co.left ) :
928
+ ( that.position.left - cop.left ) );
929
+
930
+ if ( pRatio ) {
931
+ that.size.height = that.size.width / that.aspectRatio;
932
+ continueResize = false;
933
+ }
934
+ that.position.left = o.helper ? co.left : 0;
935
+ }
936
+
937
+ if ( cp.top < ( that._helper ? co.top : 0 ) ) {
938
+ that.size.height = that.size.height +
939
+ ( that._helper ?
940
+ ( that.position.top - co.top ) :
941
+ that.position.top );
942
+
943
+ if ( pRatio ) {
944
+ that.size.width = that.size.height * that.aspectRatio;
945
+ continueResize = false;
946
+ }
947
+ that.position.top = that._helper ? co.top : 0;
948
+ }
949
+
950
+ isParent = that.containerElement.get( 0 ) === that.element.parent().get( 0 );
951
+ isOffsetRelative = /relative|absolute/.test( that.containerElement.css( "position" ) );
952
+
953
+ if ( isParent && isOffsetRelative ) {
954
+ that.offset.left = that.parentData.left + that.position.left;
955
+ that.offset.top = that.parentData.top + that.position.top;
956
+ } else {
957
+ that.offset.left = that.element.offset().left;
958
+ that.offset.top = that.element.offset().top;
959
+ }
960
+
961
+ woset = Math.abs( that.sizeDiff.width +
962
+ ( that._helper ?
963
+ that.offset.left - cop.left :
964
+ ( that.offset.left - co.left ) ) );
965
+
966
+ hoset = Math.abs( that.sizeDiff.height +
967
+ ( that._helper ?
968
+ that.offset.top - cop.top :
969
+ ( that.offset.top - co.top ) ) );
970
+
971
+ if ( woset + that.size.width >= that.parentData.width ) {
972
+ that.size.width = that.parentData.width - woset;
973
+ if ( pRatio ) {
974
+ that.size.height = that.size.width / that.aspectRatio;
975
+ continueResize = false;
976
+ }
977
+ }
978
+
979
+ if ( hoset + that.size.height >= that.parentData.height ) {
980
+ that.size.height = that.parentData.height - hoset;
981
+ if ( pRatio ) {
982
+ that.size.width = that.size.height * that.aspectRatio;
983
+ continueResize = false;
984
+ }
985
+ }
986
+
987
+ if ( !continueResize ) {
988
+ that.position.left = that.prevPosition.left;
989
+ that.position.top = that.prevPosition.top;
990
+ that.size.width = that.prevSize.width;
991
+ that.size.height = that.prevSize.height;
992
+ }
993
+ },
994
+
995
+ stop: function() {
996
+ var that = $( this ).resizable( "instance" ),
997
+ o = that.options,
998
+ co = that.containerOffset,
999
+ cop = that.containerPosition,
1000
+ ce = that.containerElement,
1001
+ helper = $( that.helper ),
1002
+ ho = helper.offset(),
1003
+ w = helper.outerWidth() - that.sizeDiff.width,
1004
+ h = helper.outerHeight() - that.sizeDiff.height;
1005
+
1006
+ if ( that._helper && !o.animate && ( /relative/ ).test( ce.css( "position" ) ) ) {
1007
+ $( this ).css( {
1008
+ left: ho.left - cop.left - co.left,
1009
+ width: w,
1010
+ height: h
1011
+ } );
1012
+ }
1013
+
1014
+ if ( that._helper && !o.animate && ( /static/ ).test( ce.css( "position" ) ) ) {
1015
+ $( this ).css( {
1016
+ left: ho.left - cop.left - co.left,
1017
+ width: w,
1018
+ height: h
1019
+ } );
1020
+ }
1021
+ }
1022
+ } );
1023
+
1024
+ $.ui.plugin.add( "resizable", "alsoResize", {
1025
+
1026
+ start: function() {
1027
+ var that = $( this ).resizable( "instance" ),
1028
+ o = that.options;
1029
+
1030
+ $( o.alsoResize ).each( function() {
1031
+ var el = $( this );
1032
+ el.data( "ui-resizable-alsoresize", {
1033
+ width: parseFloat( el.width() ), height: parseFloat( el.height() ),
1034
+ left: parseFloat( el.css( "left" ) ), top: parseFloat( el.css( "top" ) )
1035
+ } );
1036
+ } );
1037
+ },
1038
+
1039
+ resize: function( event, ui ) {
1040
+ var that = $( this ).resizable( "instance" ),
1041
+ o = that.options,
1042
+ os = that.originalSize,
1043
+ op = that.originalPosition,
1044
+ delta = {
1045
+ height: ( that.size.height - os.height ) || 0,
1046
+ width: ( that.size.width - os.width ) || 0,
1047
+ top: ( that.position.top - op.top ) || 0,
1048
+ left: ( that.position.left - op.left ) || 0
1049
+ };
1050
+
1051
+ $( o.alsoResize ).each( function() {
1052
+ var el = $( this ), start = $( this ).data( "ui-resizable-alsoresize" ), style = {},
1053
+ css = el.parents( ui.originalElement[ 0 ] ).length ?
1054
+ [ "width", "height" ] :
1055
+ [ "width", "height", "top", "left" ];
1056
+
1057
+ $.each( css, function( i, prop ) {
1058
+ var sum = ( start[ prop ] || 0 ) + ( delta[ prop ] || 0 );
1059
+ if ( sum && sum >= 0 ) {
1060
+ style[ prop ] = sum || null;
1061
+ }
1062
+ } );
1063
+
1064
+ el.css( style );
1065
+ } );
1066
+ },
1067
+
1068
+ stop: function() {
1069
+ $( this ).removeData( "ui-resizable-alsoresize" );
1070
+ }
1071
+ } );
1072
+
1073
+ $.ui.plugin.add( "resizable", "ghost", {
1074
+
1075
+ start: function() {
1076
+
1077
+ var that = $( this ).resizable( "instance" ), cs = that.size;
1078
+
1079
+ that.ghost = that.originalElement.clone();
1080
+ that.ghost.css( {
1081
+ opacity: 0.25,
1082
+ display: "block",
1083
+ position: "relative",
1084
+ height: cs.height,
1085
+ width: cs.width,
1086
+ margin: 0,
1087
+ left: 0,
1088
+ top: 0
1089
+ } );
1090
+
1091
+ that._addClass( that.ghost, "ui-resizable-ghost" );
1092
+
1093
+ // DEPRECATED
1094
+ // TODO: remove after 1.12
1095
+ if ( $.uiBackCompat !== false && typeof that.options.ghost === "string" ) {
1096
+
1097
+ // Ghost option
1098
+ that.ghost.addClass( this.options.ghost );
1099
+ }
1100
+
1101
+ that.ghost.appendTo( that.helper );
1102
+
1103
+ },
1104
+
1105
+ resize: function() {
1106
+ var that = $( this ).resizable( "instance" );
1107
+ if ( that.ghost ) {
1108
+ that.ghost.css( {
1109
+ position: "relative",
1110
+ height: that.size.height,
1111
+ width: that.size.width
1112
+ } );
1113
+ }
1114
+ },
1115
+
1116
+ stop: function() {
1117
+ var that = $( this ).resizable( "instance" );
1118
+ if ( that.ghost && that.helper ) {
1119
+ that.helper.get( 0 ).removeChild( that.ghost.get( 0 ) );
1120
+ }
1121
+ }
1122
+
1123
+ } );
1124
+
1125
+ $.ui.plugin.add( "resizable", "grid", {
1126
+
1127
+ resize: function() {
1128
+ var outerDimensions,
1129
+ that = $( this ).resizable( "instance" ),
1130
+ o = that.options,
1131
+ cs = that.size,
1132
+ os = that.originalSize,
1133
+ op = that.originalPosition,
1134
+ a = that.axis,
1135
+ grid = typeof o.grid === "number" ? [ o.grid, o.grid ] : o.grid,
1136
+ gridX = ( grid[ 0 ] || 1 ),
1137
+ gridY = ( grid[ 1 ] || 1 ),
1138
+ ox = Math.round( ( cs.width - os.width ) / gridX ) * gridX,
1139
+ oy = Math.round( ( cs.height - os.height ) / gridY ) * gridY,
1140
+ newWidth = os.width + ox,
1141
+ newHeight = os.height + oy,
1142
+ isMaxWidth = o.maxWidth && ( o.maxWidth < newWidth ),
1143
+ isMaxHeight = o.maxHeight && ( o.maxHeight < newHeight ),
1144
+ isMinWidth = o.minWidth && ( o.minWidth > newWidth ),
1145
+ isMinHeight = o.minHeight && ( o.minHeight > newHeight );
1146
+
1147
+ o.grid = grid;
1148
+
1149
+ if ( isMinWidth ) {
1150
+ newWidth += gridX;
1151
+ }
1152
+ if ( isMinHeight ) {
1153
+ newHeight += gridY;
1154
+ }
1155
+ if ( isMaxWidth ) {
1156
+ newWidth -= gridX;
1157
+ }
1158
+ if ( isMaxHeight ) {
1159
+ newHeight -= gridY;
1160
+ }
1161
+
1162
+ if ( /^(se|s|e)$/.test( a ) ) {
1163
+ that.size.width = newWidth;
1164
+ that.size.height = newHeight;
1165
+ } else if ( /^(ne)$/.test( a ) ) {
1166
+ that.size.width = newWidth;
1167
+ that.size.height = newHeight;
1168
+ that.position.top = op.top - oy;
1169
+ } else if ( /^(sw)$/.test( a ) ) {
1170
+ that.size.width = newWidth;
1171
+ that.size.height = newHeight;
1172
+ that.position.left = op.left - ox;
1173
+ } else {
1174
+ if ( newHeight - gridY <= 0 || newWidth - gridX <= 0 ) {
1175
+ outerDimensions = that._getPaddingPlusBorderDimensions( this );
1176
+ }
1177
+
1178
+ if ( newHeight - gridY > 0 ) {
1179
+ that.size.height = newHeight;
1180
+ that.position.top = op.top - oy;
1181
+ } else {
1182
+ newHeight = gridY - outerDimensions.height;
1183
+ that.size.height = newHeight;
1184
+ that.position.top = op.top + os.height - newHeight;
1185
+ }
1186
+ if ( newWidth - gridX > 0 ) {
1187
+ that.size.width = newWidth;
1188
+ that.position.left = op.left - ox;
1189
+ } else {
1190
+ newWidth = gridX - outerDimensions.width;
1191
+ that.size.width = newWidth;
1192
+ that.position.left = op.left + os.width - newWidth;
1193
+ }
1194
+ }
1195
+ }
1196
+
1197
+ } );
1198
+
1199
+ return $.ui.resizable;
1200
+
1201
+ } ) );