Caldera Forms – More Than Contact Forms - Version 1.7.1

Version Description

Download this release

Release Info

Developer Shelob9
Plugin Icon 128x128 Caldera Forms – More Than Contact Forms
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7.0 to 1.7.1

Files changed (489) hide show
  1. LICENSE +0 -0
  2. README.md +5 -2
  3. assets/build/css/admin.min.css +0 -0
  4. assets/build/css/caldera-alert.min.css +0 -0
  5. assets/build/css/caldera-form.min.css +0 -0
  6. assets/build/css/caldera-forms-front.min.css +1 -1
  7. assets/build/css/caldera-grid.min.css +0 -0
  8. assets/build/css/caldera-modals.min.css +0 -0
  9. assets/build/css/caldera-table.min.css +0 -0
  10. assets/build/css/cfont.min.css +0 -0
  11. assets/build/css/dashicon.min.css +0 -0
  12. assets/build/css/editor-grid.min.css +0 -0
  13. assets/build/css/entry-viewer-2.min.css +0 -0
  14. assets/build/css/fields.min.css +0 -0
  15. assets/build/css/fonts/caldera-forms.eot +0 -0
  16. assets/build/css/fonts/caldera-forms.svg +0 -0
  17. assets/build/css/fonts/caldera-forms.ttf +0 -0
  18. assets/build/css/fonts/caldera-forms.woff +0 -0
  19. assets/build/css/fonts/cf-raty.eot +0 -0
  20. assets/build/css/fonts/cf-raty.svg +0 -0
  21. assets/build/css/fonts/cf-raty.ttf +0 -0
  22. assets/build/css/fonts/cf-raty.woff +0 -0
  23. assets/build/css/fonts/cfont.eot +0 -0
  24. assets/build/css/fonts/cfont.svg +0 -0
  25. assets/build/css/fonts/cfont.ttf +0 -0
  26. assets/build/css/fonts/cfont.woff +0 -0
  27. assets/build/css/fonts/icon.eot +0 -0
  28. assets/build/css/fonts/icon.svg +0 -0
  29. assets/build/css/fonts/icon.ttf +0 -0
  30. assets/build/css/fonts/icon.woff +0 -0
  31. assets/build/css/minicolor-colors.png +0 -0
  32. assets/build/css/minicolor-trigger.png +0 -0
  33. assets/build/css/modals.min.css +0 -0
  34. assets/build/css/processors-edit.min.css +0 -0
  35. assets/build/css/remodal-default-theme.min.css +0 -0
  36. assets/build/css/remodal.min.css +0 -0
  37. assets/build/css/theme-default.min.css +0 -0
  38. assets/build/images/align-justify.svg +0 -0
  39. assets/build/images/calculator.svg +0 -0
  40. assets/build/images/caldera-globe-logo-sm.png +0 -0
  41. assets/build/images/cart-plus.svg +0 -0
  42. assets/build/images/cc-amex.svg +0 -0
  43. assets/build/images/cc-discover.svg +0 -0
  44. assets/build/images/cc-mastercard.svg +0 -0
  45. assets/build/images/cc-paypal.svg +0 -0
  46. assets/build/images/cc-stripe.svg +0 -0
  47. assets/build/images/cc-visa.svg +0 -0
  48. assets/build/images/cf-pro-logo.png +0 -0
  49. assets/build/images/chain.svg +0 -0
  50. assets/build/images/checkmark.png +0 -0
  51. assets/build/images/cloud-upload.svg +0 -0
  52. assets/build/images/cog.svg +0 -0
  53. assets/build/images/credit-card.svg +0 -0
  54. assets/build/images/envelope-o.svg +0 -0
  55. assets/build/images/envelope-square.svg +0 -0
  56. assets/build/images/eye.svg +0 -0
  57. assets/build/images/field.png +0 -0
  58. assets/build/images/folder-open-o.svg +0 -0
  59. assets/build/images/howto.gif +0 -0
  60. assets/build/images/lgo-icon.png +0 -0
  61. assets/build/images/list.svg +0 -0
  62. assets/build/images/loading.gif +0 -0
  63. assets/build/images/lock.svg +0 -0
  64. assets/build/images/mobile.svg +0 -0
  65. assets/build/images/new-icon.png +0 -0
  66. assets/build/images/paint-brush.svg +0 -0
  67. assets/build/images/paypal.svg +0 -0
  68. assets/build/images/plus.svg +0 -0
  69. assets/build/images/processor.png +0 -0
  70. assets/build/images/ra.svg +0 -0
  71. assets/build/images/slack.svg +0 -0
  72. assets/build/images/star.svg +0 -0
  73. assets/build/images/user.svg +0 -0
  74. assets/build/images/volume-control-phone.svg +0 -0
  75. assets/build/images/wordpress.svg +0 -0
  76. assets/build/js/ajax-core.min.js +1 -1
  77. assets/build/js/api/client.min.js +0 -0
  78. assets/build/js/api/stores.min.js +0 -0
  79. assets/build/js/caldera-clippy.min.js +0 -0
  80. assets/build/js/caldera-modals.min.js +0 -0
  81. assets/build/js/edit.min.js +2 -2
  82. assets/build/js/entry-viewer-2.min.js +0 -0
  83. assets/build/js/field-config.min.js +0 -0
  84. assets/build/js/fields.min.js +0 -0
  85. assets/build/js/formobject.min.js +0 -0
  86. assets/build/js/handlebars.min.js +0 -0
  87. assets/build/js/html5.min.js +0 -0
  88. assets/build/js/i18n/al.js +0 -0
  89. assets/build/js/i18n/ar.js +0 -0
  90. assets/build/js/i18n/bg.js +0 -0
  91. assets/build/js/i18n/ca.js +0 -0
  92. assets/build/js/i18n/cs.extra.js +0 -0
  93. assets/build/js/i18n/cs.js +0 -0
  94. assets/build/js/i18n/da.js +0 -0
  95. assets/build/js/i18n/de.extra.js +0 -0
  96. assets/build/js/i18n/de.js +0 -0
  97. assets/build/js/i18n/el.extra.js +0 -0
  98. assets/build/js/i18n/el.js +0 -0
  99. assets/build/js/i18n/en.extra.js +0 -0
  100. assets/build/js/i18n/en.js +0 -0
  101. assets/build/js/i18n/es.js +0 -0
  102. assets/build/js/i18n/eu.js +0 -0
  103. assets/build/js/i18n/fa.js +0 -0
  104. assets/build/js/i18n/fi.extra.js +0 -0
  105. assets/build/js/i18n/fi.js +0 -0
  106. assets/build/js/i18n/fr.extra.js +0 -0
  107. assets/build/js/i18n/fr.js +0 -0
  108. assets/build/js/i18n/he.extra.js +0 -0
  109. assets/build/js/i18n/he.js +0 -0
  110. assets/build/js/i18n/hr.extra.js +0 -0
  111. assets/build/js/i18n/hr.js +0 -0
  112. assets/build/js/i18n/hu.extra.js +0 -0
  113. assets/build/js/i18n/hu.js +0 -0
  114. assets/build/js/i18n/id.extra.js +0 -0
  115. assets/build/js/i18n/id.js +0 -0
  116. assets/build/js/i18n/it.extra.js +0 -0
  117. assets/build/js/i18n/it.js +0 -0
  118. assets/build/js/i18n/ja.extra.js +0 -0
  119. assets/build/js/i18n/ja.js +0 -0
  120. assets/build/js/i18n/ko.js +0 -0
  121. assets/build/js/i18n/lt.extra.js +0 -0
  122. assets/build/js/i18n/lt.js +0 -0
  123. assets/build/js/i18n/lv.extra.js +0 -0
  124. assets/build/js/i18n/lv.js +0 -0
  125. assets/build/js/i18n/ms.extra.js +0 -0
  126. assets/build/js/i18n/ms.js +0 -0
  127. assets/build/js/i18n/ms_MY.extra.js +0 -0
  128. assets/build/js/i18n/ms_MY.js +0 -0
  129. assets/build/js/i18n/nl.extra.js +0 -0
  130. assets/build/js/i18n/nl.js +0 -0
  131. assets/build/js/i18n/no.js +0 -0
  132. assets/build/js/i18n/pl.js +0 -0
  133. assets/build/js/i18n/pt-br.js +0 -0
  134. assets/build/js/i18n/pt-pt.js +0 -0
  135. assets/build/js/i18n/ro.extra.js +0 -0
  136. assets/build/js/i18n/ro.js +0 -0
  137. assets/build/js/i18n/ru.extra.js +0 -0
  138. assets/build/js/i18n/ru.js +0 -0
  139. assets/build/js/i18n/sk.extra.js +0 -0
  140. assets/build/js/i18n/sk.js +0 -0
  141. assets/build/js/i18n/sl.extra.js +0 -0
  142. assets/build/js/i18n/sl.js +0 -0
  143. assets/build/js/i18n/sq.js +0 -0
  144. assets/build/js/i18n/sr.extra.js +0 -0
  145. assets/build/js/i18n/sr.js +0 -0
  146. assets/build/js/i18n/sv.extra.js +0 -0
  147. assets/build/js/i18n/sv.js +0 -0
  148. assets/build/js/i18n/th.js +0 -0
  149. assets/build/js/i18n/tr.js +0 -0
  150. assets/build/js/i18n/ua.extra.js +0 -0
  151. assets/build/js/i18n/ua.js +0 -0
  152. assets/build/js/i18n/uk.extra.js +0 -0
  153. assets/build/js/i18n/uk.js +0 -0
  154. assets/build/js/i18n/zh_cn.extra.js +0 -0
  155. assets/build/js/i18n/zh_cn.js +0 -0
  156. assets/build/js/i18n/zh_tw.js +0 -0
  157. assets/build/js/jquery-baldrick.min.js +0 -0
  158. assets/build/js/jquery.min.js +0 -0
  159. assets/build/js/modals.min.js +0 -0
  160. assets/build/js/parsley-aria.min.js +0 -0
  161. assets/build/js/polyfiller.min.js +0 -0
  162. assets/build/js/remodal.min.js +0 -0
  163. assets/build/js/shortcode-insert.min.js +0 -0
  164. assets/build/js/state/events.min.js +0 -0
  165. assets/build/js/support-page.min.js +0 -0
  166. assets/build/js/viewer/init.min.js +0 -0
  167. assets/build/js/viewer/viewer.min.js +0 -0
  168. assets/build/js/vue.min.js +0 -0
  169. assets/build/js/vue/status-component.min.js +0 -0
  170. assets/build/js/vue/vue-filter.min.js +0 -0
  171. assets/build/js/vue/vue.min.js +0 -0
  172. assets/build/js/wp-baldrick-full.min.js +0 -0
  173. assets/css/caldera-forms-front.css +1 -1
  174. assets/css/caldera-modals.css +0 -0
  175. assets/css/caldera-table.css +0 -0
  176. assets/css/cfont.css +0 -0
  177. assets/css/entry-viewer-2.css +0 -0
  178. assets/css/fonts/cfont.eot +0 -0
  179. assets/css/fonts/cfont.svg +0 -0
  180. assets/css/fonts/cfont.ttf +0 -0
  181. assets/css/fonts/cfont.woff +0 -0
  182. assets/css/ie7/ie7.css +0 -0
  183. assets/css/ie7/ie7.js +0 -0
  184. assets/css/remodal-default-theme.css +0 -0
  185. assets/css/remodal.css +0 -0
  186. assets/css/theme-default.min.css +0 -0
  187. assets/images/align-justify.svg +0 -0
  188. assets/images/calculator.svg +0 -0
  189. assets/images/cart-plus.svg +0 -0
  190. assets/images/cc-amex.svg +0 -0
  191. assets/images/cc-discover.svg +0 -0
  192. assets/images/cc-mastercard.svg +0 -0
  193. assets/images/cc-paypal.svg +0 -0
  194. assets/images/cc-stripe.svg +0 -0
  195. assets/images/cc-visa.svg +0 -0
  196. assets/images/cf-pro-logo.png +0 -0
  197. assets/images/chain.svg +0 -0
  198. assets/images/cloud-upload.svg +0 -0
  199. assets/images/cog.svg +0 -0
  200. assets/images/credit-card.svg +0 -0
  201. assets/images/envelope-o.svg +0 -0
  202. assets/images/envelope-square.svg +0 -0
  203. assets/images/eye.svg +0 -0
  204. assets/images/folder-open-o.svg +0 -0
  205. assets/images/list.svg +0 -0
  206. assets/images/lock.svg +0 -0
  207. assets/images/mobile.svg +0 -0
  208. assets/images/paint-brush.svg +0 -0
  209. assets/images/paypal.svg +0 -0
  210. assets/images/plus.svg +0 -0
  211. assets/images/ra.svg +0 -0
  212. assets/images/slack.svg +0 -0
  213. assets/images/star.svg +0 -0
  214. assets/images/user.svg +0 -0
  215. assets/images/volume-control-phone.svg +0 -0
  216. assets/images/wordpress.svg +0 -0
  217. assets/js/admin.js +0 -0
  218. assets/js/admin.min.js +0 -0
  219. assets/js/ajax-core.js +3 -2
  220. assets/js/api/client.js +0 -0
  221. assets/js/api/stores.js +0 -0
  222. assets/js/caldera-forms-front.js +1 -1
  223. assets/js/caldera-modals.js +0 -0
  224. assets/js/edit.js +0 -3
  225. assets/js/entry-viewer-2.js +1 -1
  226. assets/js/field-config.js +0 -0
  227. assets/js/fields.js +0 -0
  228. assets/js/formobject.js +0 -0
  229. assets/js/html5.js +0 -0
  230. assets/js/i18n/al.js +0 -0
  231. assets/js/i18n/ar.js +0 -0
  232. assets/js/i18n/bg.js +0 -0
  233. assets/js/i18n/ca.js +0 -0
  234. assets/js/i18n/cs.extra.js +0 -0
  235. assets/js/i18n/cs.js +0 -0
  236. assets/js/i18n/da.js +0 -0
  237. assets/js/i18n/de.extra.js +0 -0
  238. assets/js/i18n/de.js +0 -0
  239. assets/js/i18n/el.extra.js +0 -0
  240. assets/js/i18n/el.js +0 -0
  241. assets/js/i18n/en.extra.js +0 -0
  242. assets/js/i18n/en.js +0 -0
  243. assets/js/i18n/es.js +0 -0
  244. assets/js/i18n/eu.js +0 -0
  245. assets/js/i18n/fa.js +0 -0
  246. assets/js/i18n/fi.extra.js +0 -0
  247. assets/js/i18n/fi.js +0 -0
  248. assets/js/i18n/fr.extra.js +0 -0
  249. assets/js/i18n/fr.js +0 -0
  250. assets/js/i18n/he.extra.js +0 -0
  251. assets/js/i18n/he.js +0 -0
  252. assets/js/i18n/hr.extra.js +0 -0
  253. assets/js/i18n/hr.js +0 -0
  254. assets/js/i18n/hu.extra.js +0 -0
  255. assets/js/i18n/hu.js +0 -0
  256. assets/js/i18n/id.extra.js +0 -0
  257. assets/js/i18n/id.js +0 -0
  258. assets/js/i18n/it.extra.js +0 -0
  259. assets/js/i18n/it.js +0 -0
  260. assets/js/i18n/ja.extra.js +0 -0
  261. assets/js/i18n/ja.js +0 -0
  262. assets/js/i18n/ko.js +0 -0
  263. assets/js/i18n/lt.extra.js +0 -0
  264. assets/js/i18n/lt.js +0 -0
  265. assets/js/i18n/lv.extra.js +0 -0
  266. assets/js/i18n/lv.js +0 -0
  267. assets/js/i18n/ms.extra.js +0 -0
  268. assets/js/i18n/ms.js +0 -0
  269. assets/js/i18n/ms_MY.extra.js +0 -0
  270. assets/js/i18n/ms_MY.js +0 -0
  271. assets/js/i18n/nl.extra.js +0 -0
  272. assets/js/i18n/nl.js +0 -0
  273. assets/js/i18n/no.js +0 -0
  274. assets/js/i18n/pl.js +0 -0
  275. assets/js/i18n/pt-br.js +0 -0
  276. assets/js/i18n/pt-pt.js +0 -0
  277. assets/js/i18n/ro.extra.js +0 -0
  278. assets/js/i18n/ro.js +0 -0
  279. assets/js/i18n/ru.extra.js +0 -0
  280. assets/js/i18n/ru.js +0 -0
  281. assets/js/i18n/sk.extra.js +0 -0
  282. assets/js/i18n/sk.js +0 -0
  283. assets/js/i18n/sl.extra.js +0 -0
  284. assets/js/i18n/sl.js +0 -0
  285. assets/js/i18n/sq.js +0 -0
  286. assets/js/i18n/sr.extra.js +0 -0
  287. assets/js/i18n/sr.js +0 -0
  288. assets/js/i18n/sv.extra.js +0 -0
  289. assets/js/i18n/sv.js +0 -0
  290. assets/js/i18n/th.js +0 -0
  291. assets/js/i18n/tr.js +0 -0
  292. assets/js/i18n/ua.extra.js +0 -0
  293. assets/js/i18n/ua.js +0 -0
  294. assets/js/i18n/uk.extra.js +0 -0
  295. assets/js/i18n/uk.js +0 -0
  296. assets/js/i18n/zh_cn.extra.js +0 -0
  297. assets/js/i18n/zh_cn.js +0 -0
  298. assets/js/i18n/zh_tw.js +0 -0
  299. assets/js/inputmask.js +0 -0
  300. assets/js/jquery-baldrick.js +0 -0
  301. assets/js/parsley-aria.js +0 -0
  302. assets/js/parsley.min.js +1 -1
  303. assets/js/remodal.js +0 -0
  304. assets/js/shortcode-insert.min.js +1 -0
  305. assets/js/state/events.js +0 -0
  306. assets/js/support-page.js +0 -0
  307. assets/js/viewer/init.js +0 -0
  308. assets/js/viewer/viewer.js +0 -0
  309. assets/js/vue.js +1 -1
  310. assets/js/vue/status-component.js +0 -0
  311. assets/js/vue/vue-filter.js +0 -0
  312. assets/js/vue/vue.js +0 -0
  313. caldera-core.php +2 -2
  314. classes/admin.php +51 -0
  315. classes/admin/apeasypods.php +0 -0
  316. classes/admin/apeasyqueries.php +0 -0
  317. classes/admin/apsetup.php +0 -0
  318. classes/admin/apsetupinterface.php +0 -0
  319. classes/admin/assets.php +0 -0
  320. classes/admin/extend.php +0 -0
  321. classes/admin/feed.php +0 -0
  322. classes/admin/panel.php +0 -0
  323. classes/admin/pro.php +0 -0
  324. classes/admin/resend.php +0 -0
  325. classes/api/entries.php +0 -0
  326. classes/api/form.php +13 -1
  327. classes/api/forms.php +0 -0
  328. classes/api/jsconfig.php +0 -0
  329. classes/api/privacy.php +0 -132
  330. classes/api/settings.php +0 -0
  331. classes/api/token.php +0 -0
  332. classes/api/tokens.php +0 -0
  333. classes/cdn.php +0 -0
  334. classes/cdn/contract.php +0 -0
  335. classes/cdn/init.php +0 -0
  336. classes/cdn/jsdelivr.php +0 -0
  337. classes/cdn/settings.php +0 -0
  338. classes/core.php +11 -7
  339. classes/db/base.php +0 -0
  340. classes/db/form.php +0 -0
  341. classes/db/tables.php +0 -0
  342. classes/db/track.php +0 -0
  343. classes/email/attachment.php +0 -0
  344. classes/email/callbacks.php +0 -0
  345. classes/email/client.php +0 -0
  346. classes/email/interface.php +0 -0
  347. classes/email/preview.php +0 -0
  348. classes/email/previews.php +0 -0
  349. classes/email/resend.php +0 -0
  350. classes/email/save.php +0 -0
  351. classes/email/sendgrid.php +0 -0
  352. classes/email/sendgrid/lib/SendGrid.php +0 -0
  353. classes/email/sendgrid/lib/helpers/mail/Mail.php +0 -0
  354. classes/email/sendgrid/lib/helpers/mail/README.md +0 -0
  355. classes/email/sendgrid/sendgrid-php.php +0 -0
  356. classes/email/sendgrid/vendor/autoload.php +0 -0
  357. classes/email/sendgrid/vendor/composer/ClassLoader.php +0 -0
  358. classes/email/sendgrid/vendor/composer/LICENSE +0 -0
  359. classes/email/sendgrid/vendor/composer/autoload_classmap.php +0 -0
  360. classes/email/sendgrid/vendor/composer/autoload_files.php +0 -0
  361. classes/email/sendgrid/vendor/composer/autoload_namespaces.php +0 -0
  362. classes/email/sendgrid/vendor/composer/autoload_psr4.php +0 -0
  363. classes/email/sendgrid/vendor/composer/autoload_real.php +0 -0
  364. classes/email/sendgrid/vendor/composer/autoload_static.php +0 -0
  365. classes/email/sendgrid/vendor/composer/installed.json +0 -0
  366. classes/email/sendgrid/vendor/sendgrid/php-http-client/CHANGELOG.md +0 -0
  367. classes/email/sendgrid/vendor/sendgrid/php-http-client/CONTRIBUTING.md +0 -0
  368. classes/email/sendgrid/vendor/sendgrid/php-http-client/LICENSE.txt +0 -0
  369. classes/email/sendgrid/vendor/sendgrid/php-http-client/README.md +0 -0
  370. classes/email/sendgrid/vendor/sendgrid/php-http-client/examples/example.php +0 -0
  371. classes/email/sendgrid/vendor/sendgrid/php-http-client/lib/SendGrid/Client.php +0 -0
  372. classes/email/settings.php +0 -0
  373. classes/entry/bulk.php +0 -0
  374. classes/entry/entries.php +0 -0
  375. classes/entry/entry.php +0 -0
  376. classes/entry/factory.php +0 -33
  377. classes/entry/field.php +0 -0
  378. classes/entry/fields.php +0 -132
  379. classes/entry/meta.php +0 -0
  380. classes/entry/object.php +0 -0
  381. classes/entry/shortcode.php +0 -0
  382. classes/entry/token.php +0 -0
  383. classes/entry/ui.php +0 -0
  384. classes/entry/update.php +0 -0
  385. classes/entry/viewer.php +0 -0
  386. classes/entry/vue.php +0 -0
  387. classes/field/calculation.php +0 -0
  388. classes/field/credit.php +0 -0
  389. classes/field/honey.php +0 -0
  390. classes/field/html.php +0 -0
  391. classes/field/input.php +0 -0
  392. classes/field/localizer.php +0 -0
  393. classes/field/utm.php +0 -0
  394. classes/fields.php +0 -0
  395. classes/forms.php +4 -0
  396. classes/magic.php +0 -0
  397. classes/magic/parser.php +0 -0
  398. classes/magic/summary.php +0 -0
  399. classes/magic/util.php +0 -0
  400. classes/object.php +0 -0
  401. classes/render/assets.php +0 -0
  402. classes/render/footer.php +0 -0
  403. classes/render/modals.php +0 -0
  404. classes/render/nonce.php +0 -0
  405. classes/render/util.php +0 -0
  406. classes/settings/contract.php +0 -0
  407. classes/settings/init.php +0 -0
  408. classes/settings/option.php +0 -0
  409. classes/shortcode/atts.php +0 -0
  410. classes/shortcode/defaults.php +0 -0
  411. classes/support.php +0 -0
  412. classes/sync/calc.php +0 -0
  413. classes/sync/factory.php +0 -0
  414. classes/sync/html.php +0 -0
  415. classes/sync/summary.php +0 -0
  416. classes/sync/sync.php +0 -0
  417. classes/tracking.php +0 -0
  418. classes/transient.php +0 -0
  419. clients/blocks/README.md +13 -0
  420. clients/blocks/components/FormChooser.js +60 -0
  421. clients/blocks/components/FormPreview.js +41 -0
  422. clients/blocks/index.js +88 -0
  423. clients/blocks/store.js +189 -0
  424. clients/functions/CalderaFormsButtonPulse.js +59 -0
  425. clients/functions/README.md +12 -0
  426. clients/functions/appendAssets.js +58 -0
  427. clients/functions/bindBaldrickTriggers.js +37 -0
  428. clients/privacy/build/index.min.js +0 -30
  429. clients/pro/README.md +15 -0
  430. clients/pro/build/style.min.css +0 -1
  431. clients/pro/components/Account/Edit.vue +89 -0
  432. clients/pro/components/Account/display.js +23 -0
  433. clients/pro/components/Account/style.css +13 -0
  434. clients/pro/components/Elements/Field/Checkbox.vue +43 -0
  435. clients/pro/components/Elements/Field/Text.vue +41 -0
  436. clients/pro/components/Elements/Parts/Input/Input.vue +38 -0
  437. clients/pro/components/Elements/Parts/Label/Label.vue +16 -0
  438. clients/pro/components/Elements/Status/README.MD +74 -0
  439. clients/pro/components/Elements/Status/Status.vue +52 -0
  440. clients/pro/components/Elements/_Component/index.js +11 -0
  441. clients/pro/components/Elements/_Component/style.css +3 -0
  442. clients/pro/components/FormSettings/Form.vue +134 -0
  443. clients/pro/components/FormSettings/Forms.vue +66 -0
  444. clients/pro/components/GeneralSettings/enhancedDelivery.vue +41 -0
  445. clients/pro/components/GeneralSettings/logLevel.vue +46 -0
  446. clients/pro/components/Link/linkKeys.vue +16 -0
  447. clients/pro/dev-client.js +2 -0
  448. clients/pro/index.js +63 -0
  449. clients/pro/promise-polyfill.js +3 -0
  450. clients/pro/pwa.js +15 -0
  451. clients/pro/router/index.js +15 -0
  452. clients/pro/store/actions.js +158 -0
  453. clients/pro/store/getters.js +47 -0
  454. clients/pro/store/index.js +65 -0
  455. clients/pro/store/mutations.js +72 -0
  456. clients/pro/store/plugins.js +67 -0
  457. clients/pro/store/util/API.js +27 -0
  458. clients/pro/store/util/mockState.js +26 -0
  459. clients/pro/store/util/urlString.js +10 -0
  460. clients/pro/store/util/utils.js +24 -0
  461. clients/pro/store/util/wpConfig.js +60 -0
  462. clients/pro/views/Settings.vue +163 -0
  463. clients/pro/views/Tab.vue +62 -0
  464. clients/pro/views/_View/index.js +10 -0
  465. clients/pro/webpack/config.js +16 -0
  466. clients/pro/webpack/index.php +6 -0
  467. clients/pro/webpack/log-plugin.js +15 -0
  468. clients/pro/webpack/server.js +44 -0
  469. clients/pro/webpack/tab.php +3 -0
  470. clients/pro/webpack/utils.js +68 -0
  471. clients/pro/webpack/webpack.base.js +79 -0
  472. clients/pro/webpack/webpack.dev.js +43 -0
  473. clients/pro/webpack/webpack.prod.js +80 -0
  474. composer.json +0 -0
  475. fields/advanced_file/config_template.php +0 -0
  476. fields/advanced_file/field.php +37 -7
  477. fields/advanced_file/preview.php +0 -0
  478. fields/advanced_file/uploader.js +0 -0
  479. fields/advanced_file/uploader.min.js +0 -0
  480. fields/color_picker/minicolors.min.css +0 -0
  481. fields/color_picker/setup.js +0 -0
  482. fields/credit_card_cvc/config.php +0 -0
  483. fields/credit_card_cvc/preview.php +0 -0
  484. fields/credit_card_exp/config.php +0 -0
  485. fields/credit_card_exp/preview.php +0 -0
  486. fields/credit_card_number/config.php +0 -0
  487. fields/credit_card_number/credit-card.js +0 -0
  488. fields/credit_card_number/preview.php +0 -0
  489. fields/date_picker/cf-datepicker.js +0 -892
LICENSE CHANGED
File without changes
README.md CHANGED
@@ -78,16 +78,19 @@ Alternatively, because this, isn't 2014, you can use the provided Docker environ
78
  ### Release To WordPress.org
79
  ##### Requires
80
  * [svn](https://subversion.apache.org/quick-start#installing-the-client)
81
- * Grunt `npm install -g grunt-cli`
82
  * [npm](https://www.npmjs.com/get-npm)
 
83
  * [Have commit access to Caldera Forms svn](https://wordpress.org/plugins/caldera-forms/advanced/#committer-list)
84
 
85
  #### Steps
86
  * Build release file
87
  - `npm package`
88
- * Push to WordPress.org
89
  - `cd bin`
90
  - `bash deploy-wp-org-tag.sh 12345 christiechirinos`
 
 
 
91
 
92
  #### Notes
93
  * This assumes your WordPress.org username is `christiechirinos`, and your password is `12345`.
78
  ### Release To WordPress.org
79
  ##### Requires
80
  * [svn](https://subversion.apache.org/quick-start#installing-the-client)
 
81
  * [npm](https://www.npmjs.com/get-npm)
82
+ * Grunt `npm install -g grunt-cli`
83
  * [Have commit access to Caldera Forms svn](https://wordpress.org/plugins/caldera-forms/advanced/#committer-list)
84
 
85
  #### Steps
86
  * Build release file
87
  - `npm package`
88
+ * Push Tag to WordPress.org
89
  - `cd bin`
90
  - `bash deploy-wp-org-tag.sh 12345 christiechirinos`
91
+ * Install tag using WP Rollback on QA site and re-run Ghost Inspector tests.
92
+ * Copy tag to trunk
93
+ - `bash deploy-wp-org-trunk.sh 12345 christiechirinos`
94
 
95
  #### Notes
96
  * This assumes your WordPress.org username is `christiechirinos`, and your password is `12345`.
assets/build/css/admin.min.css CHANGED
File without changes
assets/build/css/caldera-alert.min.css CHANGED
File without changes
assets/build/css/caldera-form.min.css CHANGED
File without changes
assets/build/css/caldera-forms-front.min.css CHANGED
@@ -1 +1 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 */.caldera-grid html,.cf-toggle-switch html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.caldera-grid .sr-only,.caldera-grid svg:not(:root),.cf-toggle-switch svg:not(:root){overflow:hidden}.caldera-grid .btn,.cfdatepicker table{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.caldera-grid button,.caldera-grid select,.cf-toggle-switch button,.cf-toggle-switch select{text-transform:none}@media (min-width:768px){.caldera-grid .container{width:750px}}@media (min-width:992px){.caldera-grid .container{width:970px}}@media (min-width:1200px){.caldera-grid .container{width:1170px}}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid a{background:0 0;text-decoration:none}.caldera-grid img{vertical-align:middle}.caldera-grid *,.caldera-grid :after,.caldera-grid :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.caldera-grid body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.caldera-grid button,.caldera-grid input,.caldera-grid select,.caldera-grid textarea{font-family:inherit;font-size:inherit;line-height:inherit}.caldera-grid a:focus,.caldera-grid a:hover{color:#2a6496;text-decoration:underline}.caldera-grid a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .img-responsive{display:block;max-width:100%;height:auto}.caldera-grid .img-rounded{border-radius:6px}.caldera-grid .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.caldera-grid .img-circle{border-radius:50%}.caldera-grid hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.caldera-grid .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);border:0}.caldera-grid .container,.caldera-grid .container-fluid{margin-right:auto;margin-left:auto;padding-left:7.5px;padding-right:7.5px}@media (min-width:768px){.caldera-grid .container{width:735px}}@media (min-width:992px){.caldera-grid .container{width:955px}}@media (min-width:1200px){.caldera-grid .container{width:1155px}}.caldera-grid .row{margin-left:-7.5px;margin-right:-7.5px;max-width:100%}.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9,.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9,.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9,.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{position:relative;padding-left:7.5px;padding-right:7.5px}.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{float:left}.caldera-grid .col-xs-12{width:100%}.caldera-grid .col-xs-11{width:91.66666667%}.caldera-grid .col-xs-10{width:83.33333333%}.caldera-grid .col-xs-9{width:75%}.caldera-grid .col-xs-8{width:66.66666667%}.caldera-grid .col-xs-7{width:58.33333333%}.caldera-grid .col-xs-6{width:50%}.caldera-grid .col-xs-5{width:41.66666667%}.caldera-grid .col-xs-4{width:33.33333333%}.caldera-grid .col-xs-3{width:25%}.caldera-grid .col-xs-2{width:16.66666667%}.caldera-grid .col-xs-1{width:8.33333333%}.caldera-grid .col-xs-pull-12{right:100%}.caldera-grid .col-xs-pull-11{right:91.66666667%}.caldera-grid .col-xs-pull-10{right:83.33333333%}.caldera-grid .col-xs-pull-9{right:75%}.caldera-grid .col-xs-pull-8{right:66.66666667%}.caldera-grid .col-xs-pull-7{right:58.33333333%}.caldera-grid .col-xs-pull-6{right:50%}.caldera-grid .col-xs-pull-5{right:41.66666667%}.caldera-grid .col-xs-pull-4{right:33.33333333%}.caldera-grid .col-xs-pull-3{right:25%}.caldera-grid .col-xs-pull-2{right:16.66666667%}.caldera-grid .col-xs-pull-1{right:8.33333333%}.caldera-grid .col-xs-pull-0{right:0}.caldera-grid .col-xs-push-12{left:100%}.caldera-grid .col-xs-push-11{left:91.66666667%}.caldera-grid .col-xs-push-10{left:83.33333333%}.caldera-grid .col-xs-push-9{left:75%}.caldera-grid .col-xs-push-8{left:66.66666667%}.caldera-grid .col-xs-push-7{left:58.33333333%}.caldera-grid .col-xs-push-6{left:50%}.caldera-grid .col-xs-push-5{left:41.66666667%}.caldera-grid .col-xs-push-4{left:33.33333333%}.caldera-grid .col-xs-push-3{left:25%}.caldera-grid .col-xs-push-2{left:16.66666667%}.caldera-grid .col-xs-push-1{left:8.33333333%}.caldera-grid .col-xs-push-0{left:0}.caldera-grid .col-xs-offset-12{margin-left:100%}.caldera-grid .col-xs-offset-11{margin-left:91.66666667%}.caldera-grid .col-xs-offset-10{margin-left:83.33333333%}.caldera-grid .col-xs-offset-9{margin-left:75%}.caldera-grid .col-xs-offset-8{margin-left:66.66666667%}.caldera-grid .col-xs-offset-7{margin-left:58.33333333%}.caldera-grid .col-xs-offset-6{margin-left:50%}.caldera-grid .col-xs-offset-5{margin-left:41.66666667%}.caldera-grid .col-xs-offset-4{margin-left:33.33333333%}.caldera-grid .col-xs-offset-3{margin-left:25%}.caldera-grid .col-xs-offset-2{margin-left:16.66666667%}.caldera-grid .col-xs-offset-1{margin-left:8.33333333%}.caldera-grid .col-xs-offset-0{margin-left:0}@media (min-width:768px){.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9{float:left}.caldera-grid .col-sm-12{width:100%}.caldera-grid .col-sm-11{width:91.66666667%}.caldera-grid .col-sm-10{width:83.33333333%}.caldera-grid .col-sm-9{width:75%}.caldera-grid .col-sm-8{width:66.66666667%}.caldera-grid .col-sm-7{width:58.33333333%}.caldera-grid .col-sm-6{width:50%}.caldera-grid .col-sm-5{width:41.66666667%}.caldera-grid .col-sm-4{width:33.33333333%}.caldera-grid .col-sm-3{width:25%}.caldera-grid .col-sm-2{width:16.66666667%}.caldera-grid .col-sm-1{width:8.33333333%}.caldera-grid .col-sm-pull-12{right:100%}.caldera-grid .col-sm-pull-11{right:91.66666667%}.caldera-grid .col-sm-pull-10{right:83.33333333%}.caldera-grid .col-sm-pull-9{right:75%}.caldera-grid .col-sm-pull-8{right:66.66666667%}.caldera-grid .col-sm-pull-7{right:58.33333333%}.caldera-grid .col-sm-pull-6{right:50%}.caldera-grid .col-sm-pull-5{right:41.66666667%}.caldera-grid .col-sm-pull-4{right:33.33333333%}.caldera-grid .col-sm-pull-3{right:25%}.caldera-grid .col-sm-pull-2{right:16.66666667%}.caldera-grid .col-sm-pull-1{right:8.33333333%}.caldera-grid .col-sm-pull-0{right:0}.caldera-grid .col-sm-push-12{left:100%}.caldera-grid .col-sm-push-11{left:91.66666667%}.caldera-grid .col-sm-push-10{left:83.33333333%}.caldera-grid .col-sm-push-9{left:75%}.caldera-grid .col-sm-push-8{left:66.66666667%}.caldera-grid .col-sm-push-7{left:58.33333333%}.caldera-grid .col-sm-push-6{left:50%}.caldera-grid .col-sm-push-5{left:41.66666667%}.caldera-grid .col-sm-push-4{left:33.33333333%}.caldera-grid .col-sm-push-3{left:25%}.caldera-grid .col-sm-push-2{left:16.66666667%}.caldera-grid .col-sm-push-1{left:8.33333333%}.caldera-grid .col-sm-push-0{left:0}.caldera-grid .col-sm-offset-12{margin-left:100%}.caldera-grid .col-sm-offset-11{margin-left:91.66666667%}.caldera-grid .col-sm-offset-10{margin-left:83.33333333%}.caldera-grid .col-sm-offset-9{margin-left:75%}.caldera-grid .col-sm-offset-8{margin-left:66.66666667%}.caldera-grid .col-sm-offset-7{margin-left:58.33333333%}.caldera-grid .col-sm-offset-6{margin-left:50%}.caldera-grid .col-sm-offset-5{margin-left:41.66666667%}.caldera-grid .col-sm-offset-4{margin-left:33.33333333%}.caldera-grid .col-sm-offset-3{margin-left:25%}.caldera-grid .col-sm-offset-2{margin-left:16.66666667%}.caldera-grid .col-sm-offset-1{margin-left:8.33333333%}.caldera-grid .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9{float:left}.caldera-grid .col-md-12{width:100%}.caldera-grid .col-md-11{width:91.66666667%}.caldera-grid .col-md-10{width:83.33333333%}.caldera-grid .col-md-9{width:75%}.caldera-grid .col-md-8{width:66.66666667%}.caldera-grid .col-md-7{width:58.33333333%}.caldera-grid .col-md-6{width:50%}.caldera-grid .col-md-5{width:41.66666667%}.caldera-grid .col-md-4{width:33.33333333%}.caldera-grid .col-md-3{width:25%}.caldera-grid .col-md-2{width:16.66666667%}.caldera-grid .col-md-1{width:8.33333333%}.caldera-grid .col-md-pull-12{right:100%}.caldera-grid .col-md-pull-11{right:91.66666667%}.caldera-grid .col-md-pull-10{right:83.33333333%}.caldera-grid .col-md-pull-9{right:75%}.caldera-grid .col-md-pull-8{right:66.66666667%}.caldera-grid .col-md-pull-7{right:58.33333333%}.caldera-grid .col-md-pull-6{right:50%}.caldera-grid .col-md-pull-5{right:41.66666667%}.caldera-grid .col-md-pull-4{right:33.33333333%}.caldera-grid .col-md-pull-3{right:25%}.caldera-grid .col-md-pull-2{right:16.66666667%}.caldera-grid .col-md-pull-1{right:8.33333333%}.caldera-grid .col-md-pull-0{right:0}.caldera-grid .col-md-push-12{left:100%}.caldera-grid .col-md-push-11{left:91.66666667%}.caldera-grid .col-md-push-10{left:83.33333333%}.caldera-grid .col-md-push-9{left:75%}.caldera-grid .col-md-push-8{left:66.66666667%}.caldera-grid .col-md-push-7{left:58.33333333%}.caldera-grid .col-md-push-6{left:50%}.caldera-grid .col-md-push-5{left:41.66666667%}.caldera-grid .col-md-push-4{left:33.33333333%}.caldera-grid .col-md-push-3{left:25%}.caldera-grid .col-md-push-2{left:16.66666667%}.caldera-grid .col-md-push-1{left:8.33333333%}.caldera-grid .col-md-push-0{left:0}.caldera-grid .col-md-offset-12{margin-left:100%}.caldera-grid .col-md-offset-11{margin-left:91.66666667%}.caldera-grid .col-md-offset-10{margin-left:83.33333333%}.caldera-grid .col-md-offset-9{margin-left:75%}.caldera-grid .col-md-offset-8{margin-left:66.66666667%}.caldera-grid .col-md-offset-7{margin-left:58.33333333%}.caldera-grid .col-md-offset-6{margin-left:50%}.caldera-grid .col-md-offset-5{margin-left:41.66666667%}.caldera-grid .col-md-offset-4{margin-left:33.33333333%}.caldera-grid .col-md-offset-3{margin-left:25%}.caldera-grid .col-md-offset-2{margin-left:16.66666667%}.caldera-grid .col-md-offset-1{margin-left:8.33333333%}.caldera-grid .col-md-offset-0{margin-left:0}}@-ms-viewport{width:device-width}@media (min-width:1200px){.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9{float:left}.caldera-grid .col-lg-12{width:100%}.caldera-grid .col-lg-11{width:91.66666667%}.caldera-grid .col-lg-10{width:83.33333333%}.caldera-grid .col-lg-9{width:75%}.caldera-grid .col-lg-8{width:66.66666667%}.caldera-grid .col-lg-7{width:58.33333333%}.caldera-grid .col-lg-6{width:50%}.caldera-grid .col-lg-5{width:41.66666667%}.caldera-grid .col-lg-4{width:33.33333333%}.caldera-grid .col-lg-3{width:25%}.caldera-grid .col-lg-2{width:16.66666667%}.caldera-grid .col-lg-1{width:8.33333333%}.caldera-grid .col-lg-pull-12{right:100%}.caldera-grid .col-lg-pull-11{right:91.66666667%}.caldera-grid .col-lg-pull-10{right:83.33333333%}.caldera-grid .col-lg-pull-9{right:75%}.caldera-grid .col-lg-pull-8{right:66.66666667%}.caldera-grid .col-lg-pull-7{right:58.33333333%}.caldera-grid .col-lg-pull-6{right:50%}.caldera-grid .col-lg-pull-5{right:41.66666667%}.caldera-grid .col-lg-pull-4{right:33.33333333%}.caldera-grid .col-lg-pull-3{right:25%}.caldera-grid .col-lg-pull-2{right:16.66666667%}.caldera-grid .col-lg-pull-1{right:8.33333333%}.caldera-grid .col-lg-pull-0{right:0}.caldera-grid .col-lg-push-12{left:100%}.caldera-grid .col-lg-push-11{left:91.66666667%}.caldera-grid .col-lg-push-10{left:83.33333333%}.caldera-grid .col-lg-push-9{left:75%}.caldera-grid .col-lg-push-8{left:66.66666667%}.caldera-grid .col-lg-push-7{left:58.33333333%}.caldera-grid .col-lg-push-6{left:50%}.caldera-grid .col-lg-push-5{left:41.66666667%}.caldera-grid .col-lg-push-4{left:33.33333333%}.caldera-grid .col-lg-push-3{left:25%}.caldera-grid .col-lg-push-2{left:16.66666667%}.caldera-grid .col-lg-push-1{left:8.33333333%}.caldera-grid .col-lg-push-0{left:0}.caldera-grid .col-lg-offset-12{margin-left:100%}.caldera-grid .col-lg-offset-11{margin-left:91.66666667%}.caldera-grid .col-lg-offset-10{margin-left:83.33333333%}.caldera-grid .col-lg-offset-9{margin-left:75%}.caldera-grid .col-lg-offset-8{margin-left:66.66666667%}.caldera-grid .col-lg-offset-7{margin-left:58.33333333%}.caldera-grid .col-lg-offset-6{margin-left:50%}.caldera-grid .col-lg-offset-5{margin-left:41.66666667%}.caldera-grid .col-lg-offset-4{margin-left:33.33333333%}.caldera-grid .col-lg-offset-3{margin-left:25%}.caldera-grid .col-lg-offset-2{margin-left:16.66666667%}.caldera-grid .col-lg-offset-1{margin-left:8.33333333%}.caldera-grid .col-lg-offset-0{margin-left:0}}.caldera-grid .clearfix:after,.caldera-grid .clearfix:before,.caldera-grid .container-fluid:after,.caldera-grid .container-fluid:before,.caldera-grid .container:after,.caldera-grid .container:before,.caldera-grid .row:after,.caldera-grid .row:before{content:" ";display:table}.caldera-grid .clearfix:after,.caldera-grid .container-fluid:after,.caldera-grid .container:after,.caldera-grid .row:after{clear:both}.caldera-grid .center-block{display:block;margin-left:auto;margin-right:auto}.caldera-grid .pull-right{float:right!important}.caldera-grid .pull-left{float:left!important}.caldera-grid .hide{display:none!important}.caldera-grid .show{display:block!important}.caldera-grid .hidden,.caldera-grid .visible-lg,.caldera-grid .visible-md,.caldera-grid .visible-sm,.caldera-grid .visible-xs{display:none!important}.caldera-grid .invisible{visibility:hidden}.caldera-grid .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.caldera-grid .alert .alert-link,.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid .hidden{visibility:hidden!important}.caldera-grid .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.caldera-grid .visible-xs{display:block!important}.caldera-grid table.visible-xs{display:table}.caldera-grid tr.visible-xs{display:table-row!important}.caldera-grid td.visible-xs,.caldera-grid th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .visible-sm{display:block!important}.caldera-grid table.visible-sm{display:table}.caldera-grid tr.visible-sm{display:table-row!important}.caldera-grid td.visible-sm,.caldera-grid th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .visible-md{display:block!important}.caldera-grid table.visible-md{display:table}.caldera-grid tr.visible-md{display:table-row!important}.caldera-grid td.visible-md,.caldera-grid th.visible-md{display:table-cell!important}}@media (min-width:1200px){.caldera-grid .visible-lg{display:block!important}.caldera-grid table.visible-lg{display:table}.caldera-grid tr.visible-lg{display:table-row!important}.caldera-grid td.visible-lg,.caldera-grid th.visible-lg{display:table-cell!important}.caldera-grid .hidden-lg{display:none!important}}@media (max-width:767px){.caldera-grid .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .hidden-md{display:none!important}}.caldera-grid .visible-print{display:none!important}@media print{.caldera-grid .visible-print{display:block!important}.caldera-grid table.visible-print{display:table}.caldera-grid tr.visible-print{display:table-row!important}.caldera-grid td.visible-print,.caldera-grid th.visible-print{display:table-cell!important}.caldera-grid .hidden-print{display:none!important}}input.parsley-success,select.parsley-success,textarea.parsley-success{color:#468847;background-color:#DFF0D8;border:1px solid #D6E9C6}input.parsley-error,select.parsley-error,textarea.parsley-error{color:#B94A48;background-color:#F2DEDE;border:1px solid #EED3D7}.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.parsley-errors-list.filled{opacity:1}.caldera-grid .alert{padding:8px;margin-bottom:18px;border-radius:2px}.caldera-grid .alert-dismissable{padding-right:28px}.caldera-grid .alert-success{background-color:#dff0d8;border-color:#a3d48e;color:#3c763d}.caldera-grid .alert-success hr{border-top-color:#93cd7c}.caldera-grid .alert-success .alert-link{color:#2b542c}.caldera-grid .alert-info{background-color:#d9edf7;border-color:#85c5e5;color:#31708f}.caldera-grid .alert-info hr{border-top-color:#70bbe1}.caldera-grid .alert-info .alert-link{color:#245269}.caldera-grid .alert-warning{background-color:#f9edbe;border-color:#f0c36d;color:#333}.caldera-grid .alert-warning hr{border-top-color:#eeb956}.caldera-grid .alert-warning .alert-link{color:#1a1a1a}.caldera-grid .alert-danger,.caldera-grid .alert-error{background-color:#f2dede;border-color:#d59595;color:#a94442}.caldera-grid .alert-danger hr,.caldera-grid .alert-error hr{border-top-color:#ce8383}.caldera-grid .alert-danger .alert-link,.caldera-grid .alert-error .alert-link{color:#843534}.caldera-grid .alert-danger,.caldera-grid .alert-error,.caldera-grid .alert-info,.caldera-grid .alert-success,.caldera-grid .alert-warning{text-shadow:0 1px 0 rgba(255,255,255,.5)}.caldera-grid .has-error .form-control:focus,.caldera-grid .has-error .form-control:hover{border-color:#dd4b39}.caldera-grid.cf_processing{background:url(../images/loading.gif) center center/30px auto no-repeat rgba(0,0,0,0)}.caldera-grid.cf_processing>*{opacity:.5}.caldera-grid html{font-family:sans-serif}.caldera-grid body{margin:0}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid menu,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background-color:transparent}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0}.caldera-grid figure{margin:1em 40px}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input{line-height:normal}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}@media print{.caldera-grid *,.caldera-grid :after,.caldera-grid :before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}.caldera-grid a,.caldera-grid a:visited{text-decoration:underline}.caldera-grid a[href]:after{content:" (" attr(href) ")"}.caldera-grid abbr[title]:after{content:" (" attr(title) ")"}.caldera-grid a[href^="#"]:after,.caldera-grid a[href^="javascript:"]:after{content:""}.caldera-grid blockquote,.caldera-grid pre{border:1px solid #999;page-break-inside:avoid}.caldera-grid thead{display:table-header-group}.caldera-grid img,.caldera-grid tr{page-break-inside:avoid}.caldera-grid img{max-width:100%!important}.caldera-grid h2,.caldera-grid h3,.caldera-grid p{orphans:3;widows:3}.caldera-grid h2,.caldera-grid h3{page-break-after:avoid}.caldera-grid select{background:#fff!important}.caldera-grid .navbar{display:none}.caldera-grid .btn>.caret,.caldera-grid .dropup>.btn>.caret{border-top-color:#000!important}.caldera-grid .label{border:1px solid #000}.caldera-grid .table{border-collapse:collapse!important}.caldera-grid .table td,.caldera-grid .table th{background-color:#fff!important}.caldera-grid .table-bordered td,.caldera-grid .table-bordered th{border:1px solid #ddd!important}}.caldera-grid .btn,.caldera-grid .btn-danger.active,.caldera-grid .btn-danger:active,.caldera-grid .btn-default.active,.caldera-grid .btn-default:active,.caldera-grid .btn-info.active,.caldera-grid .btn-info:active,.caldera-grid .btn-primary.active,.caldera-grid .btn-primary:active,.caldera-grid .btn-success.active,.caldera-grid .btn-success:active,.caldera-grid .btn-warning.active,.caldera-grid .btn-warning:active,.caldera-grid .form-control,.open>.dropdown-toggle.caldera-grid .btn-danger,.open>.dropdown-toggle.caldera-grid .btn-default,.open>.dropdown-toggle.caldera-grid .btn-info,.open>.dropdown-toggle.caldera-grid .btn-primary,.open>.dropdown-toggle.caldera-grid .btn-success,.open>.dropdown-toggle.caldera-grid .btn-warning{background-image:none}.caldera-grid fieldset{padding:0;margin:0;border:0;min-width:0}.caldera-grid legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.caldera-grid label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{margin:0;line-height:normal}.caldera-grid .form-control,.caldera-grid output{font-size:14px;line-height:1.42857143;color:#555;display:block}.caldera-grid input[type=file]{display:block}.caldera-grid input[type=range]{display:block;width:100%}.caldera-grid select[multiple],.caldera-grid select[size]{height:auto}.caldera-grid input[type=checkbox]:focus,.caldera-grid input[type=file]:focus,.caldera-grid input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid input[type=checkbox]{-webkit-appearance:checkbox}.caldera-grid input[type=radio]{-webkit-appearance:radio}.caldera-grid output{padding-top:7px}.caldera-grid .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.caldera-grid .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.caldera-grid .form-control::-moz-placeholder{color:#999;opacity:1}.caldera-grid .form-control:-ms-input-placeholder{color:#999}.caldera-grid .form-control::-webkit-input-placeholder{color:#999}.caldera-grid .has-success .checkbox,.caldera-grid .has-success .checkbox-inline,.caldera-grid .has-success .control-label,.caldera-grid .has-success .form-control-feedback,.caldera-grid .has-success .help-block,.caldera-grid .has-success .radio,.caldera-grid .has-success .radio-inline,.caldera-grid .has-success.checkbox label,.caldera-grid .has-success.checkbox-inline label,.caldera-grid .has-success.radio label,.caldera-grid .has-success.radio-inline label{color:#3c763d}.caldera-grid .form-control[disabled],.caldera-grid .form-control[readonly],fieldset[disabled] .caldera-grid .form-control{background-color:#eee;opacity:1}.caldera-grid .form-control[disabled],fieldset[disabled] .caldera-grid .form-control{cursor:not-allowed}textarea .caldera-grid .form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){.caldera-grid input[type=date],.caldera-grid input[type=datetime-local],.caldera-grid input[type=month],.caldera-grid input[type=time]{line-height:34px}.caldera-grid input[type=date].input-sm,.caldera-grid input[type=datetime-local].input-sm,.caldera-grid input[type=month].input-sm,.caldera-grid input[type=time].input-sm,.input-group-sm .caldera-grid input[type=date],.input-group-sm .caldera-grid input[type=datetime-local],.input-group-sm .caldera-grid input[type=month],.input-group-sm .caldera-grid input[type=time]{line-height:30px}.caldera-grid input[type=date].input-lg,.caldera-grid input[type=datetime-local].input-lg,.caldera-grid input[type=month].input-lg,.caldera-grid input[type=time].input-lg,.input-group-lg .caldera-grid input[type=date],.input-group-lg .caldera-grid input[type=datetime-local],.input-group-lg .caldera-grid input[type=month],.input-group-lg .caldera-grid input[type=time]{line-height:46px}}.caldera-grid .form-group{margin-bottom:15px}.caldera-grid .checkbox,.caldera-grid .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.caldera-grid .checkbox label,.caldera-grid .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.caldera-grid .checkbox input[type=checkbox],.caldera-grid .checkbox-inline input[type=checkbox],.caldera-grid .radio input[type=radio],.caldera-grid .radio-inline input[type=radio]{margin-left:-20px}.caldera-grid .checkbox+.checkbox,.caldera-grid .radio+.radio{margin-top:-5px}.caldera-grid .checkbox-inline,.caldera-grid .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.caldera-grid .checkbox-inline+.checkbox-inline,.caldera-grid .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.caldera-grid .checkbox-inline.disabled,.caldera-grid .checkbox.disabled label,.caldera-grid .radio-inline.disabled,.caldera-grid .radio.disabled label,.caldera-grid input[type=checkbox].disabled,.caldera-grid input[type=checkbox][disabled],.caldera-grid input[type=radio].disabled,.caldera-grid input[type=radio][disabled],fieldset[disabled] .caldera-grid .checkbox label,fieldset[disabled] .caldera-grid .checkbox-inline,fieldset[disabled] .caldera-grid .radio label,fieldset[disabled] .caldera-grid .radio-inline,fieldset[disabled] .caldera-grid input[type=checkbox],fieldset[disabled] .caldera-grid input[type=radio]{cursor:not-allowed}.caldera-grid .form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.caldera-grid .form-control-static.input-lg,.caldera-grid .form-control-static.input-sm{padding-left:0;padding-right:0}.caldera-grid .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .input-sm{height:30px;line-height:30px}select[multiple].caldera-grid .input-sm,textarea.caldera-grid .input-sm{height:auto}.caldera-grid .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .form-group-sm .form-control{height:30px;line-height:30px}select[multiple].caldera-grid .form-group-sm .form-control,textarea.caldera-grid .form-group-sm .form-control{height:auto}.caldera-grid .form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;min-height:32px}.caldera-grid .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .input-lg{height:46px;line-height:46px}select[multiple].caldera-grid .input-lg,textarea.caldera-grid .input-lg{height:auto}.caldera-grid .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .form-group-lg .form-control{height:46px;line-height:46px}select[multiple].caldera-grid .form-group-lg .form-control,textarea.caldera-grid .form-group-lg .form-control{height:auto}.caldera-grid .form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;min-height:38px}.caldera-grid .has-feedback{position:relative}.caldera-grid .has-feedback .form-control{padding-right:42.5px}.caldera-grid .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.caldera-grid .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.caldera-grid .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.caldera-grid .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.caldera-grid .has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.caldera-grid .has-warning .checkbox,.caldera-grid .has-warning .checkbox-inline,.caldera-grid .has-warning .control-label,.caldera-grid .has-warning .form-control-feedback,.caldera-grid .has-warning .help-block,.caldera-grid .has-warning .radio,.caldera-grid .has-warning .radio-inline,.caldera-grid .has-warning.checkbox label,.caldera-grid .has-warning.checkbox-inline label,.caldera-grid .has-warning.radio label,.caldera-grid .has-warning.radio-inline label{color:#8a6d3b}.caldera-grid .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.caldera-grid .has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline,.caldera-grid .has-error.checkbox label,.caldera-grid .has-error.checkbox-inline label,.caldera-grid .has-error.radio label,.caldera-grid .has-error.radio-inline label{color:#a94442}.caldera-grid .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.caldera-grid .has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.caldera-grid .has-feedback label~.form-control-feedback{top:25px}.caldera-grid .has-feedback label.sr-only~.form-control-feedback{top:0}.caldera-grid .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.caldera-grid .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.caldera-grid .form-inline .form-control-static{display:inline-block}.caldera-grid .form-inline .input-group{display:inline-table;vertical-align:middle}.caldera-grid .form-inline .input-group .form-control,.caldera-grid .form-inline .input-group .input-group-addon,.caldera-grid .form-inline .input-group .input-group-btn{width:auto}.caldera-grid .form-inline .input-group>.form-control{width:100%}.caldera-grid .form-inline .control-label{margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox,.caldera-grid .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox label,.caldera-grid .form-inline .radio label{padding-left:0}.caldera-grid .form-inline .checkbox input[type=checkbox],.caldera-grid .form-inline .radio input[type=radio]{position:relative;margin-left:0}.caldera-grid .form-inline .has-feedback .form-control-feedback{top:0}.caldera-grid .form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .checkbox-inline,.caldera-grid .form-horizontal .radio,.caldera-grid .form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .radio{min-height:27px}.caldera-grid .form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.caldera-grid .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.caldera-grid .form-horizontal .form-group-lg .control-label{padding-top:14.33px}.caldera-grid .form-horizontal .form-group-sm .control-label{padding-top:6px}}.caldera-grid .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:2px;user-select:none}.caldera-grid .btn.active.focus,.caldera-grid .btn.active:focus,.caldera-grid .btn.focus,.caldera-grid .btn:active.focus,.caldera-grid .btn:active:focus,.caldera-grid .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .btn.focus,.caldera-grid .btn:focus,.caldera-grid .btn:hover{color:#333;text-decoration:none}.caldera-grid .btn.active,.caldera-grid .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.caldera-grid .btn.disabled,.caldera-grid .btn[disabled],fieldset[disabled] .caldera-grid .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-default{color:#333;background-color:#fff;border-color:#ccc}.caldera-grid .btn-default.active,.caldera-grid .btn-default.focus,.caldera-grid .btn-default:active,.caldera-grid .btn-default:focus,.caldera-grid .btn-default:hover,.open>.dropdown-toggle.caldera-grid .btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.caldera-grid .btn-default.disabled,.caldera-grid .btn-default.disabled.active,.caldera-grid .btn-default.disabled.focus,.caldera-grid .btn-default.disabled:active,.caldera-grid .btn-default.disabled:focus,.caldera-grid .btn-default.disabled:hover,.caldera-grid .btn-default[disabled],.caldera-grid .btn-default[disabled].active,.caldera-grid .btn-default[disabled].focus,.caldera-grid .btn-default[disabled]:active,.caldera-grid .btn-default[disabled]:focus,.caldera-grid .btn-default[disabled]:hover,fieldset[disabled] .caldera-grid .btn-default,fieldset[disabled] .caldera-grid .btn-default.active,fieldset[disabled] .caldera-grid .btn-default.focus,fieldset[disabled] .caldera-grid .btn-default:active,fieldset[disabled] .caldera-grid .btn-default:focus,fieldset[disabled] .caldera-grid .btn-default:hover{background-color:#fff;border-color:#ccc}.caldera-grid .btn-default .badge{color:#fff;background-color:#333}.caldera-grid .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary.active,.caldera-grid .btn-primary.focus,.caldera-grid .btn-primary:active,.caldera-grid .btn-primary:focus,.caldera-grid .btn-primary:hover,.open>.dropdown-toggle.caldera-grid .btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.caldera-grid .btn-primary.disabled,.caldera-grid .btn-primary.disabled.active,.caldera-grid .btn-primary.disabled.focus,.caldera-grid .btn-primary.disabled:active,.caldera-grid .btn-primary.disabled:focus,.caldera-grid .btn-primary.disabled:hover,.caldera-grid .btn-primary[disabled],.caldera-grid .btn-primary[disabled].active,.caldera-grid .btn-primary[disabled].focus,.caldera-grid .btn-primary[disabled]:active,.caldera-grid .btn-primary[disabled]:focus,.caldera-grid .btn-primary[disabled]:hover,fieldset[disabled] .caldera-grid .btn-primary,fieldset[disabled] .caldera-grid .btn-primary.active,fieldset[disabled] .caldera-grid .btn-primary.focus,fieldset[disabled] .caldera-grid .btn-primary:active,fieldset[disabled] .caldera-grid .btn-primary:focus,fieldset[disabled] .caldera-grid .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary .badge{color:#337ab7;background-color:#fff}.caldera-grid .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success.active,.caldera-grid .btn-success.focus,.caldera-grid .btn-success:active,.caldera-grid .btn-success:focus,.caldera-grid .btn-success:hover,.open>.dropdown-toggle.caldera-grid .btn-success{color:#fff;background-color:#449d44;border-color:#398439}.caldera-grid .btn-success.disabled,.caldera-grid .btn-success.disabled.active,.caldera-grid .btn-success.disabled.focus,.caldera-grid .btn-success.disabled:active,.caldera-grid .btn-success.disabled:focus,.caldera-grid .btn-success.disabled:hover,.caldera-grid .btn-success[disabled],.caldera-grid .btn-success[disabled].active,.caldera-grid .btn-success[disabled].focus,.caldera-grid .btn-success[disabled]:active,.caldera-grid .btn-success[disabled]:focus,.caldera-grid .btn-success[disabled]:hover,fieldset[disabled] .caldera-grid .btn-success,fieldset[disabled] .caldera-grid .btn-success.active,fieldset[disabled] .caldera-grid .btn-success.focus,fieldset[disabled] .caldera-grid .btn-success:active,fieldset[disabled] .caldera-grid .btn-success:focus,fieldset[disabled] .caldera-grid .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success .badge{color:#5cb85c;background-color:#fff}.caldera-grid .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info.active,.caldera-grid .btn-info.focus,.caldera-grid .btn-info:active,.caldera-grid .btn-info:focus,.caldera-grid .btn-info:hover,.open>.dropdown-toggle.caldera-grid .btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.caldera-grid .btn-info.disabled,.caldera-grid .btn-info.disabled.active,.caldera-grid .btn-info.disabled.focus,.caldera-grid .btn-info.disabled:active,.caldera-grid .btn-info.disabled:focus,.caldera-grid .btn-info.disabled:hover,.caldera-grid .btn-info[disabled],.caldera-grid .btn-info[disabled].active,.caldera-grid .btn-info[disabled].focus,.caldera-grid .btn-info[disabled]:active,.caldera-grid .btn-info[disabled]:focus,.caldera-grid .btn-info[disabled]:hover,fieldset[disabled] .caldera-grid .btn-info,fieldset[disabled] .caldera-grid .btn-info.active,fieldset[disabled] .caldera-grid .btn-info.focus,fieldset[disabled] .caldera-grid .btn-info:active,fieldset[disabled] .caldera-grid .btn-info:focus,fieldset[disabled] .caldera-grid .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info .badge{color:#5bc0de;background-color:#fff}.caldera-grid .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning.active,.caldera-grid .btn-warning.focus,.caldera-grid .btn-warning:active,.caldera-grid .btn-warning:focus,.caldera-grid .btn-warning:hover,.open>.dropdown-toggle.caldera-grid .btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.caldera-grid .btn-warning.disabled,.caldera-grid .btn-warning.disabled.active,.caldera-grid .btn-warning.disabled.focus,.caldera-grid .btn-warning.disabled:active,.caldera-grid .btn-warning.disabled:focus,.caldera-grid .btn-warning.disabled:hover,.caldera-grid .btn-warning[disabled],.caldera-grid .btn-warning[disabled].active,.caldera-grid .btn-warning[disabled].focus,.caldera-grid .btn-warning[disabled]:active,.caldera-grid .btn-warning[disabled]:focus,.caldera-grid .btn-warning[disabled]:hover,fieldset[disabled] .caldera-grid .btn-warning,fieldset[disabled] .caldera-grid .btn-warning.active,fieldset[disabled] .caldera-grid .btn-warning.focus,fieldset[disabled] .caldera-grid .btn-warning:active,fieldset[disabled] .caldera-grid .btn-warning:focus,fieldset[disabled] .caldera-grid .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning .badge{color:#f0ad4e;background-color:#fff}.caldera-grid .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger.active,.caldera-grid .btn-danger.focus,.caldera-grid .btn-danger:active,.caldera-grid .btn-danger:focus,.caldera-grid .btn-danger:hover,.open>.dropdown-toggle.caldera-grid .btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.caldera-grid .btn-danger.disabled,.caldera-grid .btn-danger.disabled.active,.caldera-grid .btn-danger.disabled.focus,.caldera-grid .btn-danger.disabled:active,.caldera-grid .btn-danger.disabled:focus,.caldera-grid .btn-danger.disabled:hover,.caldera-grid .btn-danger[disabled],.caldera-grid .btn-danger[disabled].active,.caldera-grid .btn-danger[disabled].focus,.caldera-grid .btn-danger[disabled]:active,.caldera-grid .btn-danger[disabled]:focus,.caldera-grid .btn-danger[disabled]:hover,fieldset[disabled] .caldera-grid .btn-danger,fieldset[disabled] .caldera-grid .btn-danger.active,fieldset[disabled] .caldera-grid .btn-danger.focus,fieldset[disabled] .caldera-grid .btn-danger:active,fieldset[disabled] .caldera-grid .btn-danger:focus,fieldset[disabled] .caldera-grid .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger .badge{color:#d9534f;background-color:#fff}.caldera-grid .btn-link{color:#337ab7;font-weight:400;border-radius:0}.caldera-grid .btn-link,.caldera-grid .btn-link.active,.caldera-grid .btn-link:active,.caldera-grid .btn-link[disabled],fieldset[disabled] .caldera-grid .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-link,.caldera-grid .btn-link:active,.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{border-color:transparent}.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.caldera-grid .btn-link[disabled]:focus,.caldera-grid .btn-link[disabled]:hover,fieldset[disabled] .caldera-grid .btn-link:focus,fieldset[disabled] .caldera-grid .btn-link:hover{color:#777;text-decoration:none}.caldera-grid .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}.caldera-grid .btn-sm,.caldera-grid .btn-xs{font-size:12px;line-height:1.5;border-radius:1px}.caldera-grid .btn-sm{padding:5px 10px}.caldera-grid .btn-xs{padding:1px 5px}.caldera-grid .btn-block{display:block;width:100%}.caldera-grid .btn-block+.btn-block{margin-top:5px}.caldera-grid input[type=button].btn-block,.caldera-grid input[type=reset].btn-block,.caldera-grid input[type=submit].btn-block{width:100%}.caldera-grid textarea.form-control{padding-right:4px;height:auto}.caldera-grid .breadcrumb{padding:6px 12px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.caldera-grid .breadcrumb>li{display:inline-block;margin:0}.caldera-grid .breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.caldera-grid .breadcrumb>.active,.caldera-grid .breadcrumb>.active>a{color:#777}.breadcrumb>li.active.error>a,.breadcrumb>li.error>a{color:red}.caldera-grid .cf-credit-card{padding-left:42px;background-image:url(../images/credit-card.svg);background-repeat:no-repeat!important;background-position-x:4px!important;background-position-y:3px!important}.caldera-grid .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}p.caldera-forms-consent-field-agreement{display:inline}@font-face{font-family:cf-raty;src:url(fonts/cf-raty.eot?40481674);src:url(fonts/cf-raty.eot?40481674#iefix) format('embedded-opentype'),url(fonts/cf-raty.woff?40481674) format('woff'),url(fonts/cf-raty.ttf?40481674) format('truetype'),url(fonts/cf-raty.svg?40481674#cf-raty) format('svg');font-weight:400;font-style:normal}[class*=" raty-"]:before,[class^=raty-]:before{font-family:cf-raty;font-style:normal;font-weight:400;speak:none;font-size:2em;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.raty-heart-on:before{content:'\e800'}.raty-heart-off:before{content:'\e801'}.raty-star-on:before{content:'\e802'}.raty-star-off:before{content:'\e803'}.raty-circle-on:before{content:'\e804'}.raty-circle-off:before{content:'\e805'}.raty-dot-off:before{content:'\e806'}.raty-dot-on:before{content:'\e807'}.raty-face-off:before{content:'\e808'}.raty-face-on:before{content:'\e809'}.raty-cancel-off:before{content:'\e80a'}.raty-cancel-on:before{content:'\e80b'}.calculation-group{background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px;margin:6px 0}.preview-color-selector{background:#F0F0F0;border:1px solid #E2E2E2;display:inline;margin-left:-1px;padding:3px 12px;box-shadow:0 0 0 2px #fff inset}.miniColors-trigger{border:1px solid #999;-mz-border-radius:0 1px 1px 0;-webkit-border-radius:0 1px 1px 0;display:inline-block;height:24px;margin:0 0 -8px -1px;width:30px}.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group,.cf-color-picker .input-group-btn>.btn+.btn{margin-left:-1px}.miniColors-selector{background:#FFF;border:1px solid #999;-moz-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);-webkit-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);box-shadow:0 3px 0 -1px rgba(0,0,0,.05);height:162px;padding:5px;position:absolute;width:187px;z-index:999999;margin-top:-1px}.miniColors-colors,.miniColors-hues{top:5px;height:150px;cursor:crosshair;position:absolute}.miniColors-selector.black{background:#000;border-color:#000}.miniColors-colors{left:5px;width:150px;background:url(minicolor-colors.png) right no-repeat}.miniColors-hues{left:160px;width:20px;background:url(minicolor-colors.png) left no-repeat}.miniColors-colorPicker{position:absolute;width:9px;height:9px;border:1px solid #fff;-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px}.miniColors-colorPicker-inner{position:absolute;top:0;left:0;width:7px;height:7px;border:1px solid #000;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.miniColors-huePicker{position:absolute;left:-3px;width:24px;height:1px;border:1px solid #fff;border-radius:2px;background:#000}.cf-color-picker .form-control::-moz-placeholder{color:#999;opacity:1}.cf-color-picker .form-control:-ms-input-placeholder{color:#999}.cf-color-picker .form-control::-webkit-input-placeholder{color:#999}.cf-color-picker .form-control[disabled],.cf-color-picker .form-control[readonly],.cf-color-picker fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}.cf-color-picker .form-group{margin-bottom:15px}.cf-color-picker .input-group{position:relative;display:table;border-collapse:separate;max-width:120px}.cf-color-picker .input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.cf-color-picker .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.cf-color-picker .input-group-lg>.form-control,.cf-color-picker .input-group-lg>.input-group-addon,.cf-color-picker .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-color-picker .input-group-sm>.form-control,.cf-color-picker .input-group-sm>.input-group-addon,.cf-color-picker .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-color-picker .input-group .form-control,.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{display:table-cell}.cf-color-picker .input-group .form-control:not(:first-child):not(:last-child),.cf-color-picker .input-group-addon:not(:first-child):not(:last-child),.cf-color-picker .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.cf-color-picker .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.cf-color-picker .text-hide,.table-striped .cfdatepicker table tr td,.table-striped .cfdatepicker table tr th{background-color:transparent}.cf-color-picker .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.cf-color-picker .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.cf-color-picker .input-group .form-control:first-child,.cf-color-picker .input-group-addon:first-child,.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group>.btn,.cf-color-picker .input-group-btn:first-child>.dropdown-toggle,.cf-color-picker .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.cf-color-picker .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-color-picker .input-group-addon:first-child{border-right:0}.cf-color-picker .input-group .form-control:last-child,.cf-color-picker .input-group-addon:last-child,.cf-color-picker .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.cf-color-picker .input-group-btn:first-child>.btn:not(:first-child),.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group>.btn,.cf-color-picker .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.cf-color-picker .input-group-addon:last-child{border-left:0}.cf-color-picker .input-group-btn{position:relative;font-size:0;white-space:nowrap}.cf-color-picker .input-group-btn>.btn{position:relative}.cf-color-picker .input-group-btn>.btn:active,.cf-color-picker .input-group-btn>.btn:focus,.cf-color-picker .input-group-btn>.btn:hover{z-index:2}.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group{margin-right:-1px}.cf-color-picker .clearfix:after,.cf-color-picker .clearfix:before,.cf-color-picker .form-horizontal .form-group:after,.cf-color-picker .form-horizontal .form-group:before{content:" ";display:table}.cf-color-picker .clearfix:after,.cf-color-picker .form-horizontal .form-group:after{clear:both}.cf-color-picker .center-block{display:block;margin-left:auto;margin-right:auto}.cf-color-picker .pull-right{float:right!important}.cf-color-picker .pull-left{float:left!important}.cf-color-picker .hide{display:none!important}.cf-color-picker .show{display:block!important}.cf-color-picker .invisible{visibility:hidden}.cf-color-picker .text-hide{font:0/0 a;color:transparent;text-shadow:none;border:0}.cf-color-picker .hidden{display:none!important;visibility:hidden!important}.cf-color-picker .affix{position:fixed}@-ms-viewport{width:device-width}.cf-color-picker .visible-lg,.cf-color-picker .visible-md,.cf-color-picker .visible-print,.cf-color-picker .visible-sm,.cf-color-picker .visible-xs{display:none!important}@media (max-width:767px){.cf-color-picker .visible-xs{display:block!important}.cf-color-picker table.visible-xs{display:table}.cf-color-picker tr.visible-xs{display:table-row!important}.cf-color-picker td.visible-xs,.cf-color-picker th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .visible-sm{display:block!important}.cf-color-picker table.visible-sm{display:table}.cf-color-picker tr.visible-sm{display:table-row!important}.cf-color-picker td.visible-sm,.cf-color-picker th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .visible-md{display:block!important}.cf-color-picker table.visible-md{display:table}.cf-color-picker tr.visible-md{display:table-row!important}.cf-color-picker td.visible-md,.cf-color-picker th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-color-picker .visible-lg{display:block!important}.cf-color-picker table.visible-lg{display:table}.cf-color-picker tr.visible-lg{display:table-row!important}.cf-color-picker td.visible-lg,.cf-color-picker th.visible-lg{display:table-cell!important}.cf-color-picker .hidden-lg{display:none!important}}@media (max-width:767px){.cf-color-picker .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .hidden-md{display:none!important}}@media print{.cf-color-picker .visible-print{display:block!important}.cf-color-picker table.visible-print{display:table}.cf-color-picker tr.visible-print{display:table-row!important}.cf-color-picker td.visible-print,.cf-color-picker th.visible-print{display:table-cell!important}.cf-color-picker .hidden-print{display:none!important}}.cfdatepicker-dropdown:after,.cfdatepicker-dropdown:before{content:'';display:inline-block;border-top:0;position:absolute}.cfdatepicker{padding:4px;border-radius:4px;direction:ltr}.cfdatepicker-inline{width:220px}.cfdatepicker.cfdatepicker-rtl{direction:rtl}.cfdatepicker.cfdatepicker-rtl table tr td span{float:right}.cfdatepicker-dropdown{top:0;left:0}.cfdatepicker-dropdown:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2)}.cfdatepicker-dropdown:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff}.cfdatepicker-dropdown.cfdatepicker-orient-left:before{left:6px}.cfdatepicker-dropdown.cfdatepicker-orient-left:after{left:7px}.cfdatepicker-dropdown.cfdatepicker-orient-right:before{right:6px}.cfdatepicker-dropdown.cfdatepicker-orient-right:after{right:7px}.cfdatepicker-dropdown.cfdatepicker-orient-top:before{top:-7px}.cfdatepicker-dropdown.cfdatepicker-orient-top:after{top:-6px}.cfdatepicker-dropdown.cfdatepicker-orient-bottom:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.cfdatepicker-dropdown.cfdatepicker-orient-bottom:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.cfdatepicker>div{display:none}.cfdatepicker.days div.cfdatepicker-days,.cfdatepicker.months div.cfdatepicker-months,.cfdatepicker.years div.cfdatepicker-years{display:block}.cfdatepicker table{border:0;width:auto;margin:0;-webkit-touch-callout:none;-khtml-user-select:none;user-select:none}.cfdatepicker table tr td,.cfdatepicker table tr th{text-align:center;width:10px;height:10px;border-radius:4px;border:none}.cfdatepicker table tr td.day.focused,.cfdatepicker table tr td.day:hover{background:#eee;cursor:pointer}.cfdatepicker table tr td.new,.cfdatepicker table tr td.old{color:#999}.cfdatepicker table tr td.disabled,.cfdatepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.cfdatepicker table tr td.today,.cfdatepicker table tr td.today.disabled,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today:hover{color:#000;background-color:#ffdb99;border-color:#ffb733}.cfdatepicker table tr td.today.active,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:focus,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today.disabled:hover.active,.cfdatepicker table tr td.today.disabled:hover:active,.cfdatepicker table tr td.today.disabled:hover:focus,.cfdatepicker table tr td.today.disabled:hover:hover,.cfdatepicker table tr td.today:active,.cfdatepicker table tr td.today:focus,.cfdatepicker table tr td.today:hover,.cfdatepicker table tr td.today:hover.active,.cfdatepicker table tr td.today:hover:active,.cfdatepicker table tr td.today:hover:focus,.cfdatepicker table tr td.today:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.today,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.today:hover{color:#000;background-color:#ffcd70;border-color:#f59e00}.cfdatepicker table tr td.today.active,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:hover.active,.cfdatepicker table tr td.today.disabled:hover:active,.cfdatepicker table tr td.today:active,.cfdatepicker table tr td.today:hover.active,.cfdatepicker table tr td.today:hover:active,.open .dropdown-toggle.cfdatepicker table tr td.today,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.today:hover{background-image:none}.cfdatepicker table tr td.today.disabled,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled.disabled,.cfdatepicker table tr td.today.disabled.disabled.active,.cfdatepicker table tr td.today.disabled.disabled:active,.cfdatepicker table tr td.today.disabled.disabled:focus,.cfdatepicker table tr td.today.disabled.disabled:hover,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:focus,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today.disabled:hover.disabled,.cfdatepicker table tr td.today.disabled:hover.disabled.active,.cfdatepicker table tr td.today.disabled:hover.disabled:active,.cfdatepicker table tr td.today.disabled:hover.disabled:focus,.cfdatepicker table tr td.today.disabled:hover.disabled:hover,.cfdatepicker table tr td.today.disabled:hover[disabled],.cfdatepicker table tr td.today.disabled:hover[disabled].active,.cfdatepicker table tr td.today.disabled:hover[disabled]:active,.cfdatepicker table tr td.today.disabled:hover[disabled]:focus,.cfdatepicker table tr td.today.disabled:hover[disabled]:hover,.cfdatepicker table tr td.today.disabled[disabled],.cfdatepicker table tr td.today.disabled[disabled].active,.cfdatepicker table tr td.today.disabled[disabled]:active,.cfdatepicker table tr td.today.disabled[disabled]:focus,.cfdatepicker table tr td.today.disabled[disabled]:hover,.cfdatepicker table tr td.today:hover.disabled,.cfdatepicker table tr td.today:hover.disabled.active,.cfdatepicker table tr td.today:hover.disabled:active,.cfdatepicker table tr td.today:hover.disabled:focus,.cfdatepicker table tr td.today:hover.disabled:hover,.cfdatepicker table tr td.today:hover[disabled],.cfdatepicker table tr td.today:hover[disabled].active,.cfdatepicker table tr td.today:hover[disabled]:active,.cfdatepicker table tr td.today:hover[disabled]:focus,.cfdatepicker table tr td.today:hover[disabled]:hover,.cfdatepicker table tr td.today[disabled],.cfdatepicker table tr td.today[disabled].active,.cfdatepicker table tr td.today[disabled]:active,.cfdatepicker table tr td.today[disabled]:focus,.cfdatepicker table tr td.today[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.today,fieldset[disabled] .cfdatepicker table tr td.today.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled,fieldset[disabled] .cfdatepicker table tr td.today.disabled.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.today:active,fieldset[disabled] .cfdatepicker table tr td.today:focus,fieldset[disabled] .cfdatepicker table tr td.today:hover,fieldset[disabled] .cfdatepicker table tr td.today:hover.active,fieldset[disabled] .cfdatepicker table tr td.today:hover:active,fieldset[disabled] .cfdatepicker table tr td.today:hover:focus,fieldset[disabled] .cfdatepicker table tr td.today:hover:hover{background-color:#ffdb99;border-color:#ffb733}.cfdatepicker table tr td.today:hover:hover{color:#000}.cfdatepicker table tr td.today.active:hover{color:#fff}.cfdatepicker table tr td.range,.cfdatepicker table tr td.range.disabled,.cfdatepicker table tr td.range.disabled:hover,.cfdatepicker table tr td.range:hover{background:#eee;border-radius:0}.cfdatepicker table tr td.active.active,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:hover.active,.cfdatepicker table tr td.active.disabled:hover:active,.cfdatepicker table tr td.active:active,.cfdatepicker table tr td.active:hover.active,.cfdatepicker table tr td.active:hover:active,.cfdatepicker table tr td.range.today.active,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:hover.active,.cfdatepicker table tr td.range.today.disabled:hover:active,.cfdatepicker table tr td.range.today:active,.cfdatepicker table tr td.range.today:hover.active,.cfdatepicker table tr td.range.today:hover:active,.cfdatepicker table tr td.selected.active,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:hover.active,.cfdatepicker table tr td.selected.disabled:hover:active,.cfdatepicker table tr td.selected:active,.cfdatepicker table tr td.selected:hover.active,.cfdatepicker table tr td.selected:hover:active,.open .dropdown-toggle.cfdatepicker table tr td.active,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.active:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected:hover{background-image:none}.cfdatepicker table tr td.range.today,.cfdatepicker table tr td.range.today.disabled,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today:hover{color:#000;background-color:#f7ca77;border-color:#f1a417;border-radius:0}.cfdatepicker table tr td.range.today.active,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover.active,.cfdatepicker table tr td.range.today.disabled:hover:active,.cfdatepicker table tr td.range.today.disabled:hover:focus,.cfdatepicker table tr td.range.today.disabled:hover:hover,.cfdatepicker table tr td.range.today:active,.cfdatepicker table tr td.range.today:focus,.cfdatepicker table tr td.range.today:hover,.cfdatepicker table tr td.range.today:hover.active,.cfdatepicker table tr td.range.today:hover:active,.cfdatepicker table tr td.range.today:hover:focus,.cfdatepicker table tr td.range.today:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today:hover{color:#000;background-color:#f4bb51;border-color:#bf800c}.cfdatepicker table tr td.range.today.disabled,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled.disabled,.cfdatepicker table tr td.range.today.disabled.disabled.active,.cfdatepicker table tr td.range.today.disabled.disabled:active,.cfdatepicker table tr td.range.today.disabled.disabled:focus,.cfdatepicker table tr td.range.today.disabled.disabled:hover,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover.disabled,.cfdatepicker table tr td.range.today.disabled:hover.disabled.active,.cfdatepicker table tr td.range.today.disabled:hover.disabled:active,.cfdatepicker table tr td.range.today.disabled:hover.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover[disabled],.cfdatepicker table tr td.range.today.disabled:hover[disabled].active,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:active,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:focus,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:hover,.cfdatepicker table tr td.range.today.disabled[disabled],.cfdatepicker table tr td.range.today.disabled[disabled].active,.cfdatepicker table tr td.range.today.disabled[disabled]:active,.cfdatepicker table tr td.range.today.disabled[disabled]:focus,.cfdatepicker table tr td.range.today.disabled[disabled]:hover,.cfdatepicker table tr td.range.today:hover.disabled,.cfdatepicker table tr td.range.today:hover.disabled.active,.cfdatepicker table tr td.range.today:hover.disabled:active,.cfdatepicker table tr td.range.today:hover.disabled:focus,.cfdatepicker table tr td.range.today:hover.disabled:hover,.cfdatepicker table tr td.range.today:hover[disabled],.cfdatepicker table tr td.range.today:hover[disabled].active,.cfdatepicker table tr td.range.today:hover[disabled]:active,.cfdatepicker table tr td.range.today:hover[disabled]:focus,.cfdatepicker table tr td.range.today:hover[disabled]:hover,.cfdatepicker table tr td.range.today[disabled],.cfdatepicker table tr td.range.today[disabled].active,.cfdatepicker table tr td.range.today[disabled]:active,.cfdatepicker table tr td.range.today[disabled]:focus,.cfdatepicker table tr td.range.today[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.range.today,fieldset[disabled] .cfdatepicker table tr td.range.today.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.range.today:active,fieldset[disabled] .cfdatepicker table tr td.range.today:focus,fieldset[disabled] .cfdatepicker table tr td.range.today:hover,fieldset[disabled] .cfdatepicker table tr td.range.today:hover.active,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:active,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:focus,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:hover{background-color:#f7ca77;border-color:#f1a417}.cfdatepicker table tr td.selected,.cfdatepicker table tr td.selected.disabled,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected:hover{color:#fff;background-color:#999;border-color:#555;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td.selected.active,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover.active,.cfdatepicker table tr td.selected.disabled:hover:active,.cfdatepicker table tr td.selected.disabled:hover:focus,.cfdatepicker table tr td.selected.disabled:hover:hover,.cfdatepicker table tr td.selected:active,.cfdatepicker table tr td.selected:focus,.cfdatepicker table tr td.selected:hover,.cfdatepicker table tr td.selected:hover.active,.cfdatepicker table tr td.selected:hover:active,.cfdatepicker table tr td.selected:hover:focus,.cfdatepicker table tr td.selected:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected:hover{color:#fff;background-color:#858585;border-color:#373737}.cfdatepicker table tr td.selected.disabled,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled.disabled,.cfdatepicker table tr td.selected.disabled.disabled.active,.cfdatepicker table tr td.selected.disabled.disabled:active,.cfdatepicker table tr td.selected.disabled.disabled:focus,.cfdatepicker table tr td.selected.disabled.disabled:hover,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover.disabled,.cfdatepicker table tr td.selected.disabled:hover.disabled.active,.cfdatepicker table tr td.selected.disabled:hover.disabled:active,.cfdatepicker table tr td.selected.disabled:hover.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover[disabled],.cfdatepicker table tr td.selected.disabled:hover[disabled].active,.cfdatepicker table tr td.selected.disabled:hover[disabled]:active,.cfdatepicker table tr td.selected.disabled:hover[disabled]:focus,.cfdatepicker table tr td.selected.disabled:hover[disabled]:hover,.cfdatepicker table tr td.selected.disabled[disabled],.cfdatepicker table tr td.selected.disabled[disabled].active,.cfdatepicker table tr td.selected.disabled[disabled]:active,.cfdatepicker table tr td.selected.disabled[disabled]:focus,.cfdatepicker table tr td.selected.disabled[disabled]:hover,.cfdatepicker table tr td.selected:hover.disabled,.cfdatepicker table tr td.selected:hover.disabled.active,.cfdatepicker table tr td.selected:hover.disabled:active,.cfdatepicker table tr td.selected:hover.disabled:focus,.cfdatepicker table tr td.selected:hover.disabled:hover,.cfdatepicker table tr td.selected:hover[disabled],.cfdatepicker table tr td.selected:hover[disabled].active,.cfdatepicker table tr td.selected:hover[disabled]:active,.cfdatepicker table tr td.selected:hover[disabled]:focus,.cfdatepicker table tr td.selected:hover[disabled]:hover,.cfdatepicker table tr td.selected[disabled],.cfdatepicker table tr td.selected[disabled].active,.cfdatepicker table tr td.selected[disabled]:active,.cfdatepicker table tr td.selected[disabled]:focus,.cfdatepicker table tr td.selected[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.selected,fieldset[disabled] .cfdatepicker table tr td.selected.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled,fieldset[disabled] .cfdatepicker table tr td.selected.disabled.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.selected:active,fieldset[disabled] .cfdatepicker table tr td.selected:focus,fieldset[disabled] .cfdatepicker table tr td.selected:hover,fieldset[disabled] .cfdatepicker table tr td.selected:hover.active,fieldset[disabled] .cfdatepicker table tr td.selected:hover:active,fieldset[disabled] .cfdatepicker table tr td.selected:hover:focus,fieldset[disabled] .cfdatepicker table tr td.selected:hover:hover{background-color:#999;border-color:#555}.cfdatepicker table tr td.active,.cfdatepicker table tr td.active.disabled,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active:hover{color:#fff;background-color:#428bca;border-color:#357ebd;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td.active.active,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:focus,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active.disabled:hover.active,.cfdatepicker table tr td.active.disabled:hover:active,.cfdatepicker table tr td.active.disabled:hover:focus,.cfdatepicker table tr td.active.disabled:hover:hover,.cfdatepicker table tr td.active:active,.cfdatepicker table tr td.active:focus,.cfdatepicker table tr td.active:hover,.cfdatepicker table tr td.active:hover.active,.cfdatepicker table tr td.active:hover:active,.cfdatepicker table tr td.active:hover:focus,.cfdatepicker table tr td.active:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.active,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.active:hover{color:#fff;background-color:#3276b1;border-color:#285e8e}.cfdatepicker table tr td.active.disabled,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled.disabled,.cfdatepicker table tr td.active.disabled.disabled.active,.cfdatepicker table tr td.active.disabled.disabled:active,.cfdatepicker table tr td.active.disabled.disabled:focus,.cfdatepicker table tr td.active.disabled.disabled:hover,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:focus,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active.disabled:hover.disabled,.cfdatepicker table tr td.active.disabled:hover.disabled.active,.cfdatepicker table tr td.active.disabled:hover.disabled:active,.cfdatepicker table tr td.active.disabled:hover.disabled:focus,.cfdatepicker table tr td.active.disabled:hover.disabled:hover,.cfdatepicker table tr td.active.disabled:hover[disabled],.cfdatepicker table tr td.active.disabled:hover[disabled].active,.cfdatepicker table tr td.active.disabled:hover[disabled]:active,.cfdatepicker table tr td.active.disabled:hover[disabled]:focus,.cfdatepicker table tr td.active.disabled:hover[disabled]:hover,.cfdatepicker table tr td.active.disabled[disabled],.cfdatepicker table tr td.active.disabled[disabled].active,.cfdatepicker table tr td.active.disabled[disabled]:active,.cfdatepicker table tr td.active.disabled[disabled]:focus,.cfdatepicker table tr td.active.disabled[disabled]:hover,.cfdatepicker table tr td.active:hover.disabled,.cfdatepicker table tr td.active:hover.disabled.active,.cfdatepicker table tr td.active:hover.disabled:active,.cfdatepicker table tr td.active:hover.disabled:focus,.cfdatepicker table tr td.active:hover.disabled:hover,.cfdatepicker table tr td.active:hover[disabled],.cfdatepicker table tr td.active:hover[disabled].active,.cfdatepicker table tr td.active:hover[disabled]:active,.cfdatepicker table tr td.active:hover[disabled]:focus,.cfdatepicker table tr td.active:hover[disabled]:hover,.cfdatepicker table tr td.active[disabled],.cfdatepicker table tr td.active[disabled].active,.cfdatepicker table tr td.active[disabled]:active,.cfdatepicker table tr td.active[disabled]:focus,.cfdatepicker table tr td.active[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.active,fieldset[disabled] .cfdatepicker table tr td.active.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled,fieldset[disabled] .cfdatepicker table tr td.active.disabled.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.active:active,fieldset[disabled] .cfdatepicker table tr td.active:focus,fieldset[disabled] .cfdatepicker table tr td.active:hover,fieldset[disabled] .cfdatepicker table tr td.active:hover.active,fieldset[disabled] .cfdatepicker table tr td.active:hover:active,fieldset[disabled] .cfdatepicker table tr td.active:hover:focus,fieldset[disabled] .cfdatepicker table tr td.active:hover:hover{background-color:#428bca;border-color:#357ebd}.cfdatepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;border-radius:4px}.cfdatepicker table tr td span:hover{background:#eee}.cfdatepicker table tr td span.disabled,.cfdatepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.cfdatepicker table tr td span.active,.cfdatepicker table tr td span.active.disabled,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active:hover{color:#fff;background-color:#428bca;border-color:#357ebd;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td span.active.active,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover.active,.cfdatepicker table tr td span.active.disabled:hover:active,.cfdatepicker table tr td span.active.disabled:hover:focus,.cfdatepicker table tr td span.active.disabled:hover:hover,.cfdatepicker table tr td span.active:active,.cfdatepicker table tr td span.active:focus,.cfdatepicker table tr td span.active:hover,.cfdatepicker table tr td span.active:hover.active,.cfdatepicker table tr td span.active:hover:active,.cfdatepicker table tr td span.active:hover:focus,.cfdatepicker table tr td span.active:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active:hover{color:#fff;background-color:#3276b1;border-color:#285e8e}.cfdatepicker table tr td span.active.active,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:hover.active,.cfdatepicker table tr td span.active.disabled:hover:active,.cfdatepicker table tr td span.active:active,.cfdatepicker table tr td span.active:hover.active,.cfdatepicker table tr td span.active:hover:active,.open .dropdown-toggle.cfdatepicker table tr td span.active,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active:hover{background-image:none}.cfdatepicker table tr td span.active.disabled,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled.disabled,.cfdatepicker table tr td span.active.disabled.disabled.active,.cfdatepicker table tr td span.active.disabled.disabled:active,.cfdatepicker table tr td span.active.disabled.disabled:focus,.cfdatepicker table tr td span.active.disabled.disabled:hover,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover.disabled,.cfdatepicker table tr td span.active.disabled:hover.disabled.active,.cfdatepicker table tr td span.active.disabled:hover.disabled:active,.cfdatepicker table tr td span.active.disabled:hover.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover[disabled],.cfdatepicker table tr td span.active.disabled:hover[disabled].active,.cfdatepicker table tr td span.active.disabled:hover[disabled]:active,.cfdatepicker table tr td span.active.disabled:hover[disabled]:focus,.cfdatepicker table tr td span.active.disabled:hover[disabled]:hover,.cfdatepicker table tr td span.active.disabled[disabled],.cfdatepicker table tr td span.active.disabled[disabled].active,.cfdatepicker table tr td span.active.disabled[disabled]:active,.cfdatepicker table tr td span.active.disabled[disabled]:focus,.cfdatepicker table tr td span.active.disabled[disabled]:hover,.cfdatepicker table tr td span.active:hover.disabled,.cfdatepicker table tr td span.active:hover.disabled.active,.cfdatepicker table tr td span.active:hover.disabled:active,.cfdatepicker table tr td span.active:hover.disabled:focus,.cfdatepicker table tr td span.active:hover.disabled:hover,.cfdatepicker table tr td span.active:hover[disabled],.cfdatepicker table tr td span.active:hover[disabled].active,.cfdatepicker table tr td span.active:hover[disabled]:active,.cfdatepicker table tr td span.active:hover[disabled]:focus,.cfdatepicker table tr td span.active:hover[disabled]:hover,.cfdatepicker table tr td span.active[disabled],.cfdatepicker table tr td span.active[disabled].active,.cfdatepicker table tr td span.active[disabled]:active,.cfdatepicker table tr td span.active[disabled]:focus,.cfdatepicker table tr td span.active[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td span.active,fieldset[disabled] .cfdatepicker table tr td span.active.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled,fieldset[disabled] .cfdatepicker table tr td span.active.disabled.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:focus,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td span.active:active,fieldset[disabled] .cfdatepicker table tr td span.active:focus,fieldset[disabled] .cfdatepicker table tr td span.active:hover,fieldset[disabled] .cfdatepicker table tr td span.active:hover.active,fieldset[disabled] .cfdatepicker table tr td span.active:hover:active,fieldset[disabled] .cfdatepicker table tr td span.active:hover:focus,fieldset[disabled] .cfdatepicker table tr td span.active:hover:hover{background-color:#428bca;border-color:#357ebd}.cfdatepicker table tr td span.new,.cfdatepicker table tr td span.old{color:#999}.cfdatepicker th.cfdatepicker-switch{width:145px}.cfdatepicker tfoot tr th,.cfdatepicker thead tr:first-child th{cursor:pointer}.cfdatepicker tfoot tr th:hover,.cfdatepicker thead tr:first-child th:hover{background:#eee}.cfdatepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.cfdatepicker thead tr:first-child th.cw{cursor:default;background-color:transparent}.input-group.date .input-group-addon i{cursor:pointer;width:16px;height:16px}.input-daterange input{text-align:center}.input-daterange input:first-child{border-radius:3px 0 0 3px}.input-daterange input:last-child{border-radius:0 3px 3px 0}.input-daterange .input-group-addon{width:auto;min-width:16px;padding:4px 5px;font-weight:400;line-height:1.42857143;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:solid #ccc;border-width:1px 0;margin-left:-5px;margin-right:-5px}.cfdatepicker.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;color:#333;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.42857143}.cfdatepicker.dropdown-menu td,.cfdatepicker.dropdown-menu th{padding:4px 5px}.image-thumb{margin-left:63px;padding:6px 0 6px 6px}.image-picker-content.image-thumb-lrg{margin-bottom:6px}.image-picker-side-bar{float:left;margin-left:-68px;width:62px;max-width:100%}.image-thumb-lrg .image-picker-side-bar{background:#F6F6F6;border:1px solid #DFDFDF;float:none;margin:0 0 6px;padding:6px 6px 2px;text-align:center;width:auto}.image-picker-side-bar>img{border:1px solid #DFDFDF;width:62px}.image-thumb-lrg .image-picker-side-bar>img{-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;text-align:center;width:auto}.image-thumb .image-picker-main-content{margin-right:6px}.button.image-picker-button{margin:7px 0 0;width:110px;display:inline-block}.button.button-primary.image-picker-button{float:right;margin-left:6px;width:80px}.image-picker-main-content select{width:100%}.image-picker-sizer:disabled{opacity:.7;box-shadow:none;color:#A1A1A1}.button-primary.image-picker-button.image-picker-button-solo,.button.image-picker-button.image-picker-button-solo{width:170px;margin-top:0}.button-primary.image-picker-button.image-picker-button-solo{margin-top:7px;margin-left:0;float:none}.image-thumb-lrg .button.image-picker-button.cu-image-picker.image-picker-button-solo{width:120px}.image-thumb-lrg .button.button-primary.image-picker-button.cu-image-remover.image-picker-button-solo{float:right;margin:0 0 0 6px;width:auto}.cf-toggle-switch .btn-group>.btn-group,.cf-toggle-switch .btn-toolbar .btn-group,.cf-toggle-switch .btn-toolbar .input-group{float:left}.image-thumb-lrg .button.button-primary.image-picker-button.cu-image-remover{width:45%}input.cu-image-picker-file-select[type=file]{display:none}.rangeslider,.rangeslider__fill{background:#e6e6e6;display:block;height:8px;width:100%;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px}.rangeslider__handle,.toggle_option_row input{display:inline-block}.rangeslider{position:relative}.rangeslider--disabled{filter:alpha(Opacity=40);opacity:.4}.rangeslider__fill{background:#0f0;position:absolute;top:0}.rangeslider__handle{background:#fff;border:1px solid #ccc;cursor:pointer;width:18px;height:18px;position:absolute;top:-5px;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%}input[type=range]:focus+.rangeslider .rangeslider__handle{-webkit-box-shadow:0 0 3px rgba(100,100,100,.9);-moz-box-shadow:0 0 3px rgba(100,100,100,.9);box-shadow:0 0 3px rgba(100,100,100,.9)}.recaptchatable #recaptcha_response_field{height:21px!important}.toggle_option_row{margin:4px 0}.toggle_option_row .dashicons-sort{cursor:move}.toggle_option_row .toggle_label_field,.toggle_option_row .toggle_value_field{width:136px;line-height:20px}.toggle_option_preview .button{border-radius:0;margin-right:-5px}.toggle_option_preview .button:first-child{border-radius:3px 0 0 3px}.toggle_option_preview .button:last-child{border-radius:0 3px 3px 0}.toggle_option_preview.toggle_vertical .button{width:100%}.toggle_option_preview.toggle_vertical .button:first-child{border-radius:3px 3px 0 0}.toggle_option_preview.toggle_vertical .button:last-child{border-radius:0 0 3px 3px}.cf-toggle-switch html{font-family:sans-serif}.cf-toggle-switch body{margin:0}.cf-toggle-switch article,.cf-toggle-switch aside,.cf-toggle-switch details,.cf-toggle-switch figcaption,.cf-toggle-switch figure,.cf-toggle-switch footer,.cf-toggle-switch header,.cf-toggle-switch hgroup,.cf-toggle-switch main,.cf-toggle-switch nav,.cf-toggle-switch section,.cf-toggle-switch summary{display:block}.cf-toggle-switch audio,.cf-toggle-switch canvas,.cf-toggle-switch progress,.cf-toggle-switch video{display:inline-block;vertical-align:baseline}.cf-toggle-switch audio:not([controls]){display:none;height:0}.cf-toggle-switch [hidden],.cf-toggle-switch template{display:none}.cf-toggle-switch a{background:0 0}.cf-toggle-switch a:active,.cf-toggle-switch a:hover{outline:0}.cf-toggle-switch abbr[title]{border-bottom:1px dotted}.cf-toggle-switch b,.cf-toggle-switch strong{font-weight:700}.cf-toggle-switch dfn{font-style:italic}.cf-toggle-switch h1{font-size:2em;margin:.67em 0}.cf-toggle-switch mark{background:#ff0;color:#000}.cf-toggle-switch .btn,.cf-toggle-switch .btn-danger.active,.cf-toggle-switch .btn-danger:active,.cf-toggle-switch .btn-default.active,.cf-toggle-switch .btn-default:active,.cf-toggle-switch .btn-info.active,.cf-toggle-switch .btn-info:active,.cf-toggle-switch .btn-primary.active,.cf-toggle-switch .btn-primary:active,.cf-toggle-switch .btn-success.active,.cf-toggle-switch .btn-success:active,.cf-toggle-switch .btn-warning.active,.cf-toggle-switch .btn-warning:active,.cf-toggle-switch .open .dropdown-toggle.btn-danger,.cf-toggle-switch .open .dropdown-toggle.btn-default,.cf-toggle-switch .open .dropdown-toggle.btn-info,.cf-toggle-switch .open .dropdown-toggle.btn-primary,.cf-toggle-switch .open .dropdown-toggle.btn-success,.cf-toggle-switch .open .dropdown-toggle.btn-warning{background-image:none}.cf-toggle-switch small{font-size:80%}.cf-toggle-switch sub,.cf-toggle-switch sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.cf-toggle-switch sup{top:-.5em}.cf-toggle-switch sub{bottom:-.25em}.cf-toggle-switch img{border:0}.cf-toggle-switch figure{margin:1em 40px}.cf-toggle-switch hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.cf-toggle-switch pre{overflow:auto}.cf-toggle-switch code,.cf-toggle-switch kbd,.cf-toggle-switch pre,.cf-toggle-switch samp{font-family:monospace,monospace;font-size:1em}.cf-toggle-switch button,.cf-toggle-switch input,.cf-toggle-switch optgroup,.cf-toggle-switch select,.cf-toggle-switch textarea{color:inherit;font:inherit;margin:0}.cf-toggle-switch button{overflow:visible}.cf-toggle-switch button,.cf-toggle-switch html input[type=button],.cf-toggle-switch input[type=reset],.cf-toggle-switch input[type=submit]{-webkit-appearance:button;cursor:pointer}.cf-toggle-switch button[disabled],.cf-toggle-switch html input[disabled]{cursor:default}.cf-toggle-switch button::-moz-focus-inner,.cf-toggle-switch input::-moz-focus-inner{border:0;padding:0}.cf-toggle-switch input{line-height:normal}.cf-toggle-switch input[type=checkbox],.cf-toggle-switch input[type=radio]{box-sizing:border-box;padding:0}.cf-toggle-switch input[type=number]::-webkit-inner-spin-button,.cf-toggle-switch input[type=number]::-webkit-outer-spin-button{height:auto}.cf-toggle-switch input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.cf-toggle-switch input[type=search]::-webkit-search-cancel-button,.cf-toggle-switch input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.cf-toggle-switch fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}.cf-toggle-switch legend{border:0;padding:0}.cf-toggle-switch textarea{overflow:auto}.cf-toggle-switch optgroup{font-weight:700}.cf-toggle-switch table{border-collapse:collapse;border-spacing:0}.cf-toggle-switch td,.cf-toggle-switch th{padding:0}.cf-toggle-switch .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cf-toggle-switch .btn.active:focus,.cf-toggle-switch .btn:active:focus,.cf-toggle-switch .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.cf-toggle-switch .btn-group .dropdown-toggle:active,.cf-toggle-switch .btn-group-vertical>.btn:focus,.cf-toggle-switch .btn-group.open .dropdown-toggle,.cf-toggle-switch .btn-group>.btn:focus{outline:0}.cf-toggle-switch .btn:focus,.cf-toggle-switch .btn:hover{color:#333;text-decoration:none}.cf-toggle-switch .btn.active,.cf-toggle-switch .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.cf-toggle-switch .btn.disabled,.cf-toggle-switch .btn[disabled],.cf-toggle-switch fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-default{color:#333;background-color:#fff;border-color:#ccc}.cf-toggle-switch .btn-default.active,.cf-toggle-switch .btn-default:active,.cf-toggle-switch .btn-default:focus,.cf-toggle-switch .btn-default:hover,.cf-toggle-switch .open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.cf-toggle-switch .btn-default.disabled,.cf-toggle-switch .btn-default.disabled.active,.cf-toggle-switch .btn-default.disabled:active,.cf-toggle-switch .btn-default.disabled:focus,.cf-toggle-switch .btn-default.disabled:hover,.cf-toggle-switch .btn-default[disabled],.cf-toggle-switch .btn-default[disabled].active,.cf-toggle-switch .btn-default[disabled]:active,.cf-toggle-switch .btn-default[disabled]:focus,.cf-toggle-switch .btn-default[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-default,.cf-toggle-switch fieldset[disabled] .btn-default.active,.cf-toggle-switch fieldset[disabled] .btn-default:active,.cf-toggle-switch fieldset[disabled] .btn-default:focus,.cf-toggle-switch fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.cf-toggle-switch .btn-default .badge{color:#fff;background-color:#333}.cf-toggle-switch .btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.cf-toggle-switch .btn-primary.active,.cf-toggle-switch .btn-primary:active,.cf-toggle-switch .btn-primary:focus,.cf-toggle-switch .btn-primary:hover,.cf-toggle-switch .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.cf-toggle-switch .btn-primary.disabled,.cf-toggle-switch .btn-primary.disabled.active,.cf-toggle-switch .btn-primary.disabled:active,.cf-toggle-switch .btn-primary.disabled:focus,.cf-toggle-switch .btn-primary.disabled:hover,.cf-toggle-switch .btn-primary[disabled],.cf-toggle-switch .btn-primary[disabled].active,.cf-toggle-switch .btn-primary[disabled]:active,.cf-toggle-switch .btn-primary[disabled]:focus,.cf-toggle-switch .btn-primary[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-primary,.cf-toggle-switch fieldset[disabled] .btn-primary.active,.cf-toggle-switch fieldset[disabled] .btn-primary:active,.cf-toggle-switch fieldset[disabled] .btn-primary:focus,.cf-toggle-switch fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.cf-toggle-switch .btn-primary .badge{color:#428bca;background-color:#fff}.cf-toggle-switch .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.cf-toggle-switch .btn-success.active,.cf-toggle-switch .btn-success:active,.cf-toggle-switch .btn-success:focus,.cf-toggle-switch .btn-success:hover,.cf-toggle-switch .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.cf-toggle-switch .btn-success.disabled,.cf-toggle-switch .btn-success.disabled.active,.cf-toggle-switch .btn-success.disabled:active,.cf-toggle-switch .btn-success.disabled:focus,.cf-toggle-switch .btn-success.disabled:hover,.cf-toggle-switch .btn-success[disabled],.cf-toggle-switch .btn-success[disabled].active,.cf-toggle-switch .btn-success[disabled]:active,.cf-toggle-switch .btn-success[disabled]:focus,.cf-toggle-switch .btn-success[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-success,.cf-toggle-switch fieldset[disabled] .btn-success.active,.cf-toggle-switch fieldset[disabled] .btn-success:active,.cf-toggle-switch fieldset[disabled] .btn-success:focus,.cf-toggle-switch fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.cf-toggle-switch .btn-success .badge{color:#5cb85c;background-color:#fff}.cf-toggle-switch .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.cf-toggle-switch .btn-info.active,.cf-toggle-switch .btn-info:active,.cf-toggle-switch .btn-info:focus,.cf-toggle-switch .btn-info:hover,.cf-toggle-switch .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.cf-toggle-switch .btn-info.disabled,.cf-toggle-switch .btn-info.disabled.active,.cf-toggle-switch .btn-info.disabled:active,.cf-toggle-switch .btn-info.disabled:focus,.cf-toggle-switch .btn-info.disabled:hover,.cf-toggle-switch .btn-info[disabled],.cf-toggle-switch .btn-info[disabled].active,.cf-toggle-switch .btn-info[disabled]:active,.cf-toggle-switch .btn-info[disabled]:focus,.cf-toggle-switch .btn-info[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-info,.cf-toggle-switch fieldset[disabled] .btn-info.active,.cf-toggle-switch fieldset[disabled] .btn-info:active,.cf-toggle-switch fieldset[disabled] .btn-info:focus,.cf-toggle-switch fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.cf-toggle-switch .btn-info .badge{color:#5bc0de;background-color:#fff}.cf-toggle-switch .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.cf-toggle-switch .btn-warning.active,.cf-toggle-switch .btn-warning:active,.cf-toggle-switch .btn-warning:focus,.cf-toggle-switch .btn-warning:hover,.cf-toggle-switch .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.cf-toggle-switch .btn-warning.disabled,.cf-toggle-switch .btn-warning.disabled.active,.cf-toggle-switch .btn-warning.disabled:active,.cf-toggle-switch .btn-warning.disabled:focus,.cf-toggle-switch .btn-warning.disabled:hover,.cf-toggle-switch .btn-warning[disabled],.cf-toggle-switch .btn-warning[disabled].active,.cf-toggle-switch .btn-warning[disabled]:active,.cf-toggle-switch .btn-warning[disabled]:focus,.cf-toggle-switch .btn-warning[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-warning,.cf-toggle-switch fieldset[disabled] .btn-warning.active,.cf-toggle-switch fieldset[disabled] .btn-warning:active,.cf-toggle-switch fieldset[disabled] .btn-warning:focus,.cf-toggle-switch fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.cf-toggle-switch .btn-warning .badge{color:#f0ad4e;background-color:#fff}.cf-toggle-switch .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.cf-toggle-switch .btn-danger.active,.cf-toggle-switch .btn-danger:active,.cf-toggle-switch .btn-danger:focus,.cf-toggle-switch .btn-danger:hover,.cf-toggle-switch .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.cf-toggle-switch .btn-danger.disabled,.cf-toggle-switch .btn-danger.disabled.active,.cf-toggle-switch .btn-danger.disabled:active,.cf-toggle-switch .btn-danger.disabled:focus,.cf-toggle-switch .btn-danger.disabled:hover,.cf-toggle-switch .btn-danger[disabled],.cf-toggle-switch .btn-danger[disabled].active,.cf-toggle-switch .btn-danger[disabled]:active,.cf-toggle-switch .btn-danger[disabled]:focus,.cf-toggle-switch .btn-danger[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-danger,.cf-toggle-switch fieldset[disabled] .btn-danger.active,.cf-toggle-switch fieldset[disabled] .btn-danger:active,.cf-toggle-switch fieldset[disabled] .btn-danger:focus,.cf-toggle-switch fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.cf-toggle-switch .btn-danger .badge{color:#d9534f;background-color:#fff}.cf-toggle-switch .btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.cf-toggle-switch .btn-link,.cf-toggle-switch .btn-link:active,.cf-toggle-switch .btn-link[disabled],.cf-toggle-switch fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-link,.cf-toggle-switch .btn-link:active,.cf-toggle-switch .btn-link:focus,.cf-toggle-switch .btn-link:hover{border-color:transparent}.cf-toggle-switch .btn-link:focus,.cf-toggle-switch .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.cf-toggle-switch .btn-link[disabled]:focus,.cf-toggle-switch .btn-link[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-link:focus,.cf-toggle-switch fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.cf-toggle-switch .btn-group-lg>.btn,.cf-toggle-switch .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-toggle-switch .btn-group-sm>.btn,.cf-toggle-switch .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-toggle-switch .btn-group-xs>.btn,.cf-toggle-switch .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.cf-toggle-switch .btn-group-vertical>.btn:not(:first-child):not(:last-child),.cf-toggle-switch .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.cf-toggle-switch .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.cf-toggle-switch .btn-block{display:block;width:100%;padding-left:0;padding-right:0}.cf-toggle-switch .btn-block+.btn-block{margin-top:5px}.cf-toggle-switch input[type=button].btn-block,.cf-toggle-switch input[type=reset].btn-block,.cf-toggle-switch input[type=submit].btn-block{width:100%}.cf-toggle-switch .btn-group,.cf-toggle-switch .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.cf-toggle-switch .btn-group-vertical>.btn,.cf-toggle-switch .btn-group>.btn{position:relative;float:left}.cf-toggle-switch .btn-group-vertical>.btn.active,.cf-toggle-switch .btn-group-vertical>.btn:active,.cf-toggle-switch .btn-group-vertical>.btn:focus,.cf-toggle-switch .btn-group-vertical>.btn:hover,.cf-toggle-switch .btn-group>.btn.active,.cf-toggle-switch .btn-group>.btn:active,.cf-toggle-switch .btn-group>.btn:focus,.cf-toggle-switch .btn-group>.btn:hover{z-index:2}.cf-toggle-switch .btn-group .btn+.btn,.cf-toggle-switch .btn-group .btn+.btn-group,.cf-toggle-switch .btn-group .btn-group+.btn,.cf-toggle-switch .btn-group .btn-group+.btn-group{margin-left:-1px}.cf-toggle-switch .btn-toolbar{margin-left:-5px}.cf-toggle-switch .btn-toolbar>.btn,.cf-toggle-switch .btn-toolbar>.btn-group,.cf-toggle-switch .btn-toolbar>.input-group{margin-left:5px}.cf-toggle-switch .btn .caret,.cf-toggle-switch .btn-group>.btn:first-child{margin-left:0}.cf-toggle-switch .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-toggle-switch .btn-group>.btn:last-child:not(:first-child),.cf-toggle-switch .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group>.btn-group:first-child>.btn:last-child,.cf-toggle-switch .btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.cf-toggle-switch .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.cf-toggle-switch .btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.cf-toggle-switch .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.cf-toggle-switch .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-lg .caret{border-width:5px 5px 0}.cf-toggle-switch .dropup .btn-lg .caret{border-width:0 5px 5px}.cf-toggle-switch .btn-group-vertical>.btn,.cf-toggle-switch .btn-group-vertical>.btn-group,.cf-toggle-switch .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.cf-toggle-switch .btn-group-vertical>.btn-group>.btn{float:none}.cf-toggle-switch .btn-group-vertical>.btn+.btn,.cf-toggle-switch .btn-group-vertical>.btn+.btn-group,.cf-toggle-switch .btn-group-vertical>.btn-group+.btn,.cf-toggle-switch .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.cf-toggle-switch .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.cf-toggle-switch .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.cf-toggle-switch .btn-group-justified>.btn,.cf-toggle-switch .btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.cf-toggle-switch .btn-group-justified>.btn-group .btn{width:100%}.cf-toggle-switch [data-toggle=buttons]>.btn>input[type=checkbox],.cf-toggle-switch [data-toggle=buttons]>.btn>input[type=radio]{display:none}.cf-toggle-switch .btn-group-vertical>.btn-group:after,.cf-toggle-switch .btn-group-vertical>.btn-group:before,.cf-toggle-switch .btn-toolbar:after,.cf-toggle-switch .btn-toolbar:before,.cf-toggle-switch .clearfix:after,.cf-toggle-switch .clearfix:before{content:" ";display:table}.cf-toggle-switch .btn-group-vertical>.btn-group:after,.cf-toggle-switch .btn-toolbar:after,.cf-toggle-switch .clearfix:after{clear:both}.cf-toggle-switch .center-block{display:block;margin-left:auto;margin-right:auto}.cf-toggle-switch .pull-right{float:right!important}.cf-toggle-switch .pull-left{float:left!important}.cf-toggle-switch .hide{display:none!important}.cf-toggle-switch .show{display:block!important}.cf-toggle-switch .invisible{visibility:hidden}.cf-toggle-switch .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.cf-toggle-switch .hidden{display:none!important;visibility:hidden!important}.cf-toggle-switch .affix{position:fixed}@-ms-viewport{width:device-width}.cf-toggle-switch .visible-lg,.cf-toggle-switch .visible-md,.cf-toggle-switch .visible-print,.cf-toggle-switch .visible-sm,.cf-toggle-switch .visible-xs{display:none!important}@media (max-width:767px){.cf-toggle-switch .visible-xs{display:block!important}.cf-toggle-switch table.visible-xs{display:table}.cf-toggle-switch tr.visible-xs{display:table-row!important}.cf-toggle-switch td.visible-xs,.cf-toggle-switch th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-toggle-switch .visible-sm{display:block!important}.cf-toggle-switch table.visible-sm{display:table}.cf-toggle-switch tr.visible-sm{display:table-row!important}.cf-toggle-switch td.visible-sm,.cf-toggle-switch th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-toggle-switch .visible-md{display:block!important}.cf-toggle-switch table.visible-md{display:table}.cf-toggle-switch tr.visible-md{display:table-row!important}.cf-toggle-switch td.visible-md,.cf-toggle-switch th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-toggle-switch .visible-lg{display:block!important}.cf-toggle-switch table.visible-lg{display:table}.cf-toggle-switch tr.visible-lg{display:table-row!important}.cf-toggle-switch td.visible-lg,.cf-toggle-switch th.visible-lg{display:table-cell!important}.cf-toggle-switch .hidden-lg{display:none!important}}@media (max-width:767px){.cf-toggle-switch .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-toggle-switch .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-toggle-switch .hidden-md{display:none!important}}@media print{.cf-toggle-switch .visible-print{display:block!important}.cf-toggle-switch table.visible-print{display:table}.cf-toggle-switch tr.visible-print{display:table-row!important}.cf-toggle-switch td.visible-print,.cf-toggle-switch th.visible-print{display:table-cell!important}.cf-toggle-switch .hidden-print{display:none!important}}.cf-toggle-group-buttons{width:100%;clear:both}input.form-control.parsley-success,select.form-control.parsley-success,textarea.form-control.parsley-success{color:#468847;background-color:#DFF0D8;border-color:#D6E9C6}input.form-control.parsley-error,select.form-control.parsley-error,textarea.form-control.parsley-error{color:#B94A48;background-color:#F2DEDE;border-color:#EED3D7}.form-control.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;color:#468847;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.form-control.parsley-errors-list.filled{opacity:1}.breadcrumb a.has-error{color:red}.form-group .parsley-errors-list.filled,.form-group .parsley-errors-list.filled .parsley-type{list-style:none}.caldera-grid .cf-multi-uploader-list>ul{list-style:none;margin:0 0 12px;padding:0}.caldera-grid .cf-multi-uploader-list>ul>li{margin:0;padding:0 0 22px;position:relative;clear:both}.caldera-grid .cf-multi-uploader-list>ul>li .file-name{display:inline-block;font-weight:700;left:16px;right:0;overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap}.caldera-grid .cf-multi-uploader-list>ul>li .file-name.file-uploaded{left:0}.caldera-grid .cf-multi-uploader-list>ul>li .file-size{float:right}.caldera-grid .cf-multi-uploader-list>ul>li .file-type{float:left}.caldera-grid .cf-multi-uploader-list>ul>li .file-error{clear:both;display:block}.caldera-grid .cf-multi-uploader-list>ul>li .cf-file-remove{color:#cf0000;text-decoration:none;border:0}.caldera-grid .cf-multi-uploader-list>ul>li.has-error .bar{background-color:#cf0000!important}.caldera-grid .cf-multi-uploader-list>ul>li.has-error{color:#cf0000}.has-error.cf-toggle-switch .cf-toggle-group-buttons>a{background-color:#f2dede;border-color:#dd4b39}.cfdatepicker{z-index:10011!important}
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 */.caldera-grid html,.cf-toggle-switch html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.caldera-grid .sr-only,.caldera-grid svg:not(:root),.cf-toggle-switch svg:not(:root){overflow:hidden}.caldera-grid .btn,.cfdatepicker table{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.caldera-grid button,.caldera-grid select,.cf-toggle-switch button,.cf-toggle-switch select{text-transform:none}@media (min-width:768px){.caldera-grid .container{width:750px}}@media (min-width:992px){.caldera-grid .container{width:970px}}@media (min-width:1200px){.caldera-grid .container{width:1170px}}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid a{background:0 0;text-decoration:none}.caldera-grid img{vertical-align:middle}.caldera-grid *,.caldera-grid :after,.caldera-grid :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.caldera-grid body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.caldera-grid button,.caldera-grid input,.caldera-grid select,.caldera-grid textarea{font-family:inherit;font-size:inherit;line-height:inherit}.caldera-grid a:focus,.caldera-grid a:hover{color:#2a6496;text-decoration:underline}.caldera-grid a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .img-responsive{display:block;max-width:100%;height:auto}.caldera-grid .img-rounded{border-radius:6px}.caldera-grid .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.caldera-grid .img-circle{border-radius:50%}.caldera-grid hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.caldera-grid .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);border:0}.caldera-grid .container,.caldera-grid .container-fluid{margin-right:auto;margin-left:auto;padding-left:7.5px;padding-right:7.5px}@media (min-width:768px){.caldera-grid .container{width:735px}}@media (min-width:992px){.caldera-grid .container{width:955px}}@media (min-width:1200px){.caldera-grid .container{width:1155px}}.caldera-grid .row{margin-left:-7.5px;margin-right:-7.5px;max-width:100%}.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9,.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9,.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9,.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{position:relative;padding-left:7.5px;padding-right:7.5px}.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{float:left}.caldera-grid .col-xs-12{width:100%}.caldera-grid .col-xs-11{width:91.66666667%}.caldera-grid .col-xs-10{width:83.33333333%}.caldera-grid .col-xs-9{width:75%}.caldera-grid .col-xs-8{width:66.66666667%}.caldera-grid .col-xs-7{width:58.33333333%}.caldera-grid .col-xs-6{width:50%}.caldera-grid .col-xs-5{width:41.66666667%}.caldera-grid .col-xs-4{width:33.33333333%}.caldera-grid .col-xs-3{width:25%}.caldera-grid .col-xs-2{width:16.66666667%}.caldera-grid .col-xs-1{width:8.33333333%}.caldera-grid .col-xs-pull-12{right:100%}.caldera-grid .col-xs-pull-11{right:91.66666667%}.caldera-grid .col-xs-pull-10{right:83.33333333%}.caldera-grid .col-xs-pull-9{right:75%}.caldera-grid .col-xs-pull-8{right:66.66666667%}.caldera-grid .col-xs-pull-7{right:58.33333333%}.caldera-grid .col-xs-pull-6{right:50%}.caldera-grid .col-xs-pull-5{right:41.66666667%}.caldera-grid .col-xs-pull-4{right:33.33333333%}.caldera-grid .col-xs-pull-3{right:25%}.caldera-grid .col-xs-pull-2{right:16.66666667%}.caldera-grid .col-xs-pull-1{right:8.33333333%}.caldera-grid .col-xs-pull-0{right:0}.caldera-grid .col-xs-push-12{left:100%}.caldera-grid .col-xs-push-11{left:91.66666667%}.caldera-grid .col-xs-push-10{left:83.33333333%}.caldera-grid .col-xs-push-9{left:75%}.caldera-grid .col-xs-push-8{left:66.66666667%}.caldera-grid .col-xs-push-7{left:58.33333333%}.caldera-grid .col-xs-push-6{left:50%}.caldera-grid .col-xs-push-5{left:41.66666667%}.caldera-grid .col-xs-push-4{left:33.33333333%}.caldera-grid .col-xs-push-3{left:25%}.caldera-grid .col-xs-push-2{left:16.66666667%}.caldera-grid .col-xs-push-1{left:8.33333333%}.caldera-grid .col-xs-push-0{left:0}.caldera-grid .col-xs-offset-12{margin-left:100%}.caldera-grid .col-xs-offset-11{margin-left:91.66666667%}.caldera-grid .col-xs-offset-10{margin-left:83.33333333%}.caldera-grid .col-xs-offset-9{margin-left:75%}.caldera-grid .col-xs-offset-8{margin-left:66.66666667%}.caldera-grid .col-xs-offset-7{margin-left:58.33333333%}.caldera-grid .col-xs-offset-6{margin-left:50%}.caldera-grid .col-xs-offset-5{margin-left:41.66666667%}.caldera-grid .col-xs-offset-4{margin-left:33.33333333%}.caldera-grid .col-xs-offset-3{margin-left:25%}.caldera-grid .col-xs-offset-2{margin-left:16.66666667%}.caldera-grid .col-xs-offset-1{margin-left:8.33333333%}.caldera-grid .col-xs-offset-0{margin-left:0}@media (min-width:768px){.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9{float:left}.caldera-grid .col-sm-12{width:100%}.caldera-grid .col-sm-11{width:91.66666667%}.caldera-grid .col-sm-10{width:83.33333333%}.caldera-grid .col-sm-9{width:75%}.caldera-grid .col-sm-8{width:66.66666667%}.caldera-grid .col-sm-7{width:58.33333333%}.caldera-grid .col-sm-6{width:50%}.caldera-grid .col-sm-5{width:41.66666667%}.caldera-grid .col-sm-4{width:33.33333333%}.caldera-grid .col-sm-3{width:25%}.caldera-grid .col-sm-2{width:16.66666667%}.caldera-grid .col-sm-1{width:8.33333333%}.caldera-grid .col-sm-pull-12{right:100%}.caldera-grid .col-sm-pull-11{right:91.66666667%}.caldera-grid .col-sm-pull-10{right:83.33333333%}.caldera-grid .col-sm-pull-9{right:75%}.caldera-grid .col-sm-pull-8{right:66.66666667%}.caldera-grid .col-sm-pull-7{right:58.33333333%}.caldera-grid .col-sm-pull-6{right:50%}.caldera-grid .col-sm-pull-5{right:41.66666667%}.caldera-grid .col-sm-pull-4{right:33.33333333%}.caldera-grid .col-sm-pull-3{right:25%}.caldera-grid .col-sm-pull-2{right:16.66666667%}.caldera-grid .col-sm-pull-1{right:8.33333333%}.caldera-grid .col-sm-pull-0{right:0}.caldera-grid .col-sm-push-12{left:100%}.caldera-grid .col-sm-push-11{left:91.66666667%}.caldera-grid .col-sm-push-10{left:83.33333333%}.caldera-grid .col-sm-push-9{left:75%}.caldera-grid .col-sm-push-8{left:66.66666667%}.caldera-grid .col-sm-push-7{left:58.33333333%}.caldera-grid .col-sm-push-6{left:50%}.caldera-grid .col-sm-push-5{left:41.66666667%}.caldera-grid .col-sm-push-4{left:33.33333333%}.caldera-grid .col-sm-push-3{left:25%}.caldera-grid .col-sm-push-2{left:16.66666667%}.caldera-grid .col-sm-push-1{left:8.33333333%}.caldera-grid .col-sm-push-0{left:0}.caldera-grid .col-sm-offset-12{margin-left:100%}.caldera-grid .col-sm-offset-11{margin-left:91.66666667%}.caldera-grid .col-sm-offset-10{margin-left:83.33333333%}.caldera-grid .col-sm-offset-9{margin-left:75%}.caldera-grid .col-sm-offset-8{margin-left:66.66666667%}.caldera-grid .col-sm-offset-7{margin-left:58.33333333%}.caldera-grid .col-sm-offset-6{margin-left:50%}.caldera-grid .col-sm-offset-5{margin-left:41.66666667%}.caldera-grid .col-sm-offset-4{margin-left:33.33333333%}.caldera-grid .col-sm-offset-3{margin-left:25%}.caldera-grid .col-sm-offset-2{margin-left:16.66666667%}.caldera-grid .col-sm-offset-1{margin-left:8.33333333%}.caldera-grid .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9{float:left}.caldera-grid .col-md-12{width:100%}.caldera-grid .col-md-11{width:91.66666667%}.caldera-grid .col-md-10{width:83.33333333%}.caldera-grid .col-md-9{width:75%}.caldera-grid .col-md-8{width:66.66666667%}.caldera-grid .col-md-7{width:58.33333333%}.caldera-grid .col-md-6{width:50%}.caldera-grid .col-md-5{width:41.66666667%}.caldera-grid .col-md-4{width:33.33333333%}.caldera-grid .col-md-3{width:25%}.caldera-grid .col-md-2{width:16.66666667%}.caldera-grid .col-md-1{width:8.33333333%}.caldera-grid .col-md-pull-12{right:100%}.caldera-grid .col-md-pull-11{right:91.66666667%}.caldera-grid .col-md-pull-10{right:83.33333333%}.caldera-grid .col-md-pull-9{right:75%}.caldera-grid .col-md-pull-8{right:66.66666667%}.caldera-grid .col-md-pull-7{right:58.33333333%}.caldera-grid .col-md-pull-6{right:50%}.caldera-grid .col-md-pull-5{right:41.66666667%}.caldera-grid .col-md-pull-4{right:33.33333333%}.caldera-grid .col-md-pull-3{right:25%}.caldera-grid .col-md-pull-2{right:16.66666667%}.caldera-grid .col-md-pull-1{right:8.33333333%}.caldera-grid .col-md-pull-0{right:0}.caldera-grid .col-md-push-12{left:100%}.caldera-grid .col-md-push-11{left:91.66666667%}.caldera-grid .col-md-push-10{left:83.33333333%}.caldera-grid .col-md-push-9{left:75%}.caldera-grid .col-md-push-8{left:66.66666667%}.caldera-grid .col-md-push-7{left:58.33333333%}.caldera-grid .col-md-push-6{left:50%}.caldera-grid .col-md-push-5{left:41.66666667%}.caldera-grid .col-md-push-4{left:33.33333333%}.caldera-grid .col-md-push-3{left:25%}.caldera-grid .col-md-push-2{left:16.66666667%}.caldera-grid .col-md-push-1{left:8.33333333%}.caldera-grid .col-md-push-0{left:0}.caldera-grid .col-md-offset-12{margin-left:100%}.caldera-grid .col-md-offset-11{margin-left:91.66666667%}.caldera-grid .col-md-offset-10{margin-left:83.33333333%}.caldera-grid .col-md-offset-9{margin-left:75%}.caldera-grid .col-md-offset-8{margin-left:66.66666667%}.caldera-grid .col-md-offset-7{margin-left:58.33333333%}.caldera-grid .col-md-offset-6{margin-left:50%}.caldera-grid .col-md-offset-5{margin-left:41.66666667%}.caldera-grid .col-md-offset-4{margin-left:33.33333333%}.caldera-grid .col-md-offset-3{margin-left:25%}.caldera-grid .col-md-offset-2{margin-left:16.66666667%}.caldera-grid .col-md-offset-1{margin-left:8.33333333%}.caldera-grid .col-md-offset-0{margin-left:0}}@-ms-viewport{width:device-width}@media (min-width:1200px){.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9{float:left}.caldera-grid .col-lg-12{width:100%}.caldera-grid .col-lg-11{width:91.66666667%}.caldera-grid .col-lg-10{width:83.33333333%}.caldera-grid .col-lg-9{width:75%}.caldera-grid .col-lg-8{width:66.66666667%}.caldera-grid .col-lg-7{width:58.33333333%}.caldera-grid .col-lg-6{width:50%}.caldera-grid .col-lg-5{width:41.66666667%}.caldera-grid .col-lg-4{width:33.33333333%}.caldera-grid .col-lg-3{width:25%}.caldera-grid .col-lg-2{width:16.66666667%}.caldera-grid .col-lg-1{width:8.33333333%}.caldera-grid .col-lg-pull-12{right:100%}.caldera-grid .col-lg-pull-11{right:91.66666667%}.caldera-grid .col-lg-pull-10{right:83.33333333%}.caldera-grid .col-lg-pull-9{right:75%}.caldera-grid .col-lg-pull-8{right:66.66666667%}.caldera-grid .col-lg-pull-7{right:58.33333333%}.caldera-grid .col-lg-pull-6{right:50%}.caldera-grid .col-lg-pull-5{right:41.66666667%}.caldera-grid .col-lg-pull-4{right:33.33333333%}.caldera-grid .col-lg-pull-3{right:25%}.caldera-grid .col-lg-pull-2{right:16.66666667%}.caldera-grid .col-lg-pull-1{right:8.33333333%}.caldera-grid .col-lg-pull-0{right:0}.caldera-grid .col-lg-push-12{left:100%}.caldera-grid .col-lg-push-11{left:91.66666667%}.caldera-grid .col-lg-push-10{left:83.33333333%}.caldera-grid .col-lg-push-9{left:75%}.caldera-grid .col-lg-push-8{left:66.66666667%}.caldera-grid .col-lg-push-7{left:58.33333333%}.caldera-grid .col-lg-push-6{left:50%}.caldera-grid .col-lg-push-5{left:41.66666667%}.caldera-grid .col-lg-push-4{left:33.33333333%}.caldera-grid .col-lg-push-3{left:25%}.caldera-grid .col-lg-push-2{left:16.66666667%}.caldera-grid .col-lg-push-1{left:8.33333333%}.caldera-grid .col-lg-push-0{left:0}.caldera-grid .col-lg-offset-12{margin-left:100%}.caldera-grid .col-lg-offset-11{margin-left:91.66666667%}.caldera-grid .col-lg-offset-10{margin-left:83.33333333%}.caldera-grid .col-lg-offset-9{margin-left:75%}.caldera-grid .col-lg-offset-8{margin-left:66.66666667%}.caldera-grid .col-lg-offset-7{margin-left:58.33333333%}.caldera-grid .col-lg-offset-6{margin-left:50%}.caldera-grid .col-lg-offset-5{margin-left:41.66666667%}.caldera-grid .col-lg-offset-4{margin-left:33.33333333%}.caldera-grid .col-lg-offset-3{margin-left:25%}.caldera-grid .col-lg-offset-2{margin-left:16.66666667%}.caldera-grid .col-lg-offset-1{margin-left:8.33333333%}.caldera-grid .col-lg-offset-0{margin-left:0}}.caldera-grid .clearfix:after,.caldera-grid .clearfix:before,.caldera-grid .container-fluid:after,.caldera-grid .container-fluid:before,.caldera-grid .container:after,.caldera-grid .container:before,.caldera-grid .row:after,.caldera-grid .row:before{content:" ";display:table}.caldera-grid .clearfix:after,.caldera-grid .container-fluid:after,.caldera-grid .container:after,.caldera-grid .row:after{clear:both}.caldera-grid .center-block{display:block;margin-left:auto;margin-right:auto}.caldera-grid .pull-right{float:right!important}.caldera-grid .pull-left{float:left!important}.caldera-grid .hide{display:none!important}.caldera-grid .show{display:block!important}.caldera-grid .hidden,.caldera-grid .visible-lg,.caldera-grid .visible-md,.caldera-grid .visible-sm,.caldera-grid .visible-xs{display:none!important}.caldera-grid .invisible{visibility:hidden}.caldera-grid .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.caldera-grid .alert .alert-link,.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid .hidden{visibility:hidden!important}.caldera-grid .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.caldera-grid .visible-xs{display:block!important}.caldera-grid table.visible-xs{display:table}.caldera-grid tr.visible-xs{display:table-row!important}.caldera-grid td.visible-xs,.caldera-grid th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .visible-sm{display:block!important}.caldera-grid table.visible-sm{display:table}.caldera-grid tr.visible-sm{display:table-row!important}.caldera-grid td.visible-sm,.caldera-grid th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .visible-md{display:block!important}.caldera-grid table.visible-md{display:table}.caldera-grid tr.visible-md{display:table-row!important}.caldera-grid td.visible-md,.caldera-grid th.visible-md{display:table-cell!important}}@media (min-width:1200px){.caldera-grid .visible-lg{display:block!important}.caldera-grid table.visible-lg{display:table}.caldera-grid tr.visible-lg{display:table-row!important}.caldera-grid td.visible-lg,.caldera-grid th.visible-lg{display:table-cell!important}.caldera-grid .hidden-lg{display:none!important}}@media (max-width:767px){.caldera-grid .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .hidden-md{display:none!important}}.caldera-grid .visible-print{display:none!important}@media print{.caldera-grid .visible-print{display:block!important}.caldera-grid table.visible-print{display:table}.caldera-grid tr.visible-print{display:table-row!important}.caldera-grid td.visible-print,.caldera-grid th.visible-print{display:table-cell!important}.caldera-grid .hidden-print{display:none!important}}input.parsley-success,select.parsley-success,textarea.parsley-success{color:#468847;background-color:#DFF0D8;border:1px solid #D6E9C6}input.parsley-error,select.parsley-error,textarea.parsley-error{color:#B94A48;background-color:#F2DEDE;border:1px solid #EED3D7}.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.parsley-errors-list.filled{opacity:1}.caldera-grid .alert{padding:8px;margin-bottom:18px;border-radius:2px}.caldera-grid .alert-dismissable{padding-right:28px}.caldera-grid .alert-success{background-color:#dff0d8;border-color:#a3d48e;color:#3c763d}.caldera-grid .alert-success hr{border-top-color:#93cd7c}.caldera-grid .alert-success .alert-link{color:#2b542c}.caldera-grid .alert-info{background-color:#d9edf7;border-color:#85c5e5;color:#31708f}.caldera-grid .alert-info hr{border-top-color:#70bbe1}.caldera-grid .alert-info .alert-link{color:#245269}.caldera-grid .alert-warning{background-color:#f9edbe;border-color:#f0c36d;color:#333}.caldera-grid .alert-warning hr{border-top-color:#eeb956}.caldera-grid .alert-warning .alert-link{color:#1a1a1a}.caldera-grid .alert-danger,.caldera-grid .alert-error{background-color:#f2dede;border-color:#d59595;color:#a94442}.caldera-grid .alert-danger hr,.caldera-grid .alert-error hr{border-top-color:#ce8383}.caldera-grid .alert-danger .alert-link,.caldera-grid .alert-error .alert-link{color:#843534}.caldera-grid .alert-danger,.caldera-grid .alert-error,.caldera-grid .alert-info,.caldera-grid .alert-success,.caldera-grid .alert-warning{text-shadow:0 1px 0 rgba(255,255,255,.5)}.caldera-grid .has-error .form-control:focus,.caldera-grid .has-error .form-control:hover{border-color:#dd4b39}.caldera-grid.cf_processing{background:url(../images/loading.gif) center center/30px auto no-repeat rgba(0,0,0,0)}.caldera-grid.cf_processing>*{opacity:.5}.caldera-grid html{font-family:sans-serif}.caldera-grid body{margin:0}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid menu,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background-color:transparent}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0}.caldera-grid figure{margin:1em 40px}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input{line-height:normal}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}@media print{.caldera-grid *,.caldera-grid :after,.caldera-grid :before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}.caldera-grid a,.caldera-grid a:visited{text-decoration:underline}.caldera-grid a[href]:after{content:" (" attr(href) ")"}.caldera-grid abbr[title]:after{content:" (" attr(title) ")"}.caldera-grid a[href^="#"]:after,.caldera-grid a[href^="javascript:"]:after{content:""}.caldera-grid blockquote,.caldera-grid pre{border:1px solid #999;page-break-inside:avoid}.caldera-grid thead{display:table-header-group}.caldera-grid img,.caldera-grid tr{page-break-inside:avoid}.caldera-grid img{max-width:100%!important}.caldera-grid h2,.caldera-grid h3,.caldera-grid p{orphans:3;widows:3}.caldera-grid h2,.caldera-grid h3{page-break-after:avoid}.caldera-grid select{background:#fff!important}.caldera-grid .navbar{display:none}.caldera-grid .btn>.caret,.caldera-grid .dropup>.btn>.caret{border-top-color:#000!important}.caldera-grid .label{border:1px solid #000}.caldera-grid .table{border-collapse:collapse!important}.caldera-grid .table td,.caldera-grid .table th{background-color:#fff!important}.caldera-grid .table-bordered td,.caldera-grid .table-bordered th{border:1px solid #ddd!important}}.caldera-grid .btn,.caldera-grid .btn-danger.active,.caldera-grid .btn-danger:active,.caldera-grid .btn-default.active,.caldera-grid .btn-default:active,.caldera-grid .btn-info.active,.caldera-grid .btn-info:active,.caldera-grid .btn-primary.active,.caldera-grid .btn-primary:active,.caldera-grid .btn-success.active,.caldera-grid .btn-success:active,.caldera-grid .btn-warning.active,.caldera-grid .btn-warning:active,.caldera-grid .form-control,.open>.dropdown-toggle.caldera-grid .btn-danger,.open>.dropdown-toggle.caldera-grid .btn-default,.open>.dropdown-toggle.caldera-grid .btn-info,.open>.dropdown-toggle.caldera-grid .btn-primary,.open>.dropdown-toggle.caldera-grid .btn-success,.open>.dropdown-toggle.caldera-grid .btn-warning{background-image:none}.caldera-grid fieldset{padding:0;margin:0;border:0;min-width:0}.caldera-grid legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.caldera-grid label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{margin:0;line-height:normal}.caldera-grid .form-control,.caldera-grid output{font-size:14px;line-height:1.42857143;color:#555;display:block}.caldera-grid input[type=file]{display:block}.caldera-grid input[type=range]{display:block;width:100%}.caldera-grid select[multiple],.caldera-grid select[size]{height:auto}.caldera-grid input[type=checkbox]:focus,.caldera-grid input[type=file]:focus,.caldera-grid input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid input[type=checkbox]{-webkit-appearance:checkbox}.caldera-grid input[type=radio]{-webkit-appearance:radio}.caldera-grid output{padding-top:7px}.caldera-grid .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.caldera-grid .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.caldera-grid .form-control::-moz-placeholder{color:#999;opacity:1}.caldera-grid .form-control:-ms-input-placeholder{color:#999}.caldera-grid .form-control::-webkit-input-placeholder{color:#999}.caldera-grid .has-success .checkbox,.caldera-grid .has-success .checkbox-inline,.caldera-grid .has-success .control-label,.caldera-grid .has-success .form-control-feedback,.caldera-grid .has-success .help-block,.caldera-grid .has-success .radio,.caldera-grid .has-success .radio-inline,.caldera-grid .has-success.checkbox label,.caldera-grid .has-success.checkbox-inline label,.caldera-grid .has-success.radio label,.caldera-grid .has-success.radio-inline label{color:#3c763d}.caldera-grid .form-control[disabled],.caldera-grid .form-control[readonly],fieldset[disabled] .caldera-grid .form-control{background-color:#eee;opacity:1}.caldera-grid .form-control[disabled],fieldset[disabled] .caldera-grid .form-control{cursor:not-allowed}textarea .caldera-grid .form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){.caldera-grid input[type=date],.caldera-grid input[type=datetime-local],.caldera-grid input[type=month],.caldera-grid input[type=time]{line-height:34px}.caldera-grid input[type=date].input-sm,.caldera-grid input[type=datetime-local].input-sm,.caldera-grid input[type=month].input-sm,.caldera-grid input[type=time].input-sm,.input-group-sm .caldera-grid input[type=date],.input-group-sm .caldera-grid input[type=datetime-local],.input-group-sm .caldera-grid input[type=month],.input-group-sm .caldera-grid input[type=time]{line-height:30px}.caldera-grid input[type=date].input-lg,.caldera-grid input[type=datetime-local].input-lg,.caldera-grid input[type=month].input-lg,.caldera-grid input[type=time].input-lg,.input-group-lg .caldera-grid input[type=date],.input-group-lg .caldera-grid input[type=datetime-local],.input-group-lg .caldera-grid input[type=month],.input-group-lg .caldera-grid input[type=time]{line-height:46px}}.caldera-grid .form-group{margin-bottom:15px}.caldera-grid .checkbox,.caldera-grid .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.caldera-grid .checkbox label,.caldera-grid .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.caldera-grid .checkbox input[type=checkbox],.caldera-grid .checkbox-inline input[type=checkbox],.caldera-grid .radio input[type=radio],.caldera-grid .radio-inline input[type=radio]{margin-left:-20px}.caldera-grid .checkbox+.checkbox,.caldera-grid .radio+.radio{margin-top:-5px}.caldera-grid .checkbox-inline,.caldera-grid .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.caldera-grid .checkbox-inline+.checkbox-inline,.caldera-grid .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.caldera-grid .checkbox-inline.disabled,.caldera-grid .checkbox.disabled label,.caldera-grid .radio-inline.disabled,.caldera-grid .radio.disabled label,.caldera-grid input[type=checkbox].disabled,.caldera-grid input[type=checkbox][disabled],.caldera-grid input[type=radio].disabled,.caldera-grid input[type=radio][disabled],fieldset[disabled] .caldera-grid .checkbox label,fieldset[disabled] .caldera-grid .checkbox-inline,fieldset[disabled] .caldera-grid .radio label,fieldset[disabled] .caldera-grid .radio-inline,fieldset[disabled] .caldera-grid input[type=checkbox],fieldset[disabled] .caldera-grid input[type=radio]{cursor:not-allowed}.caldera-grid .form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.caldera-grid .form-control-static.input-lg,.caldera-grid .form-control-static.input-sm{padding-left:0;padding-right:0}.caldera-grid .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .input-sm{height:30px;line-height:30px}select[multiple].caldera-grid .input-sm,textarea.caldera-grid .input-sm{height:auto}.caldera-grid .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .form-group-sm .form-control{height:30px;line-height:30px}select[multiple].caldera-grid .form-group-sm .form-control,textarea.caldera-grid .form-group-sm .form-control{height:auto}.caldera-grid .form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;min-height:32px}.caldera-grid .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .input-lg{height:46px;line-height:46px}select[multiple].caldera-grid .input-lg,textarea.caldera-grid .input-lg{height:auto}.caldera-grid .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .form-group-lg .form-control{height:46px;line-height:46px}select[multiple].caldera-grid .form-group-lg .form-control,textarea.caldera-grid .form-group-lg .form-control{height:auto}.caldera-grid .form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;min-height:38px}.caldera-grid .has-feedback{position:relative}.caldera-grid .has-feedback .form-control{padding-right:42.5px}.caldera-grid .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.caldera-grid .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.caldera-grid .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.caldera-grid .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.caldera-grid .has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.caldera-grid .has-warning .checkbox,.caldera-grid .has-warning .checkbox-inline,.caldera-grid .has-warning .control-label,.caldera-grid .has-warning .form-control-feedback,.caldera-grid .has-warning .help-block,.caldera-grid .has-warning .radio,.caldera-grid .has-warning .radio-inline,.caldera-grid .has-warning.checkbox label,.caldera-grid .has-warning.checkbox-inline label,.caldera-grid .has-warning.radio label,.caldera-grid .has-warning.radio-inline label{color:#8a6d3b}.caldera-grid .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.caldera-grid .has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline,.caldera-grid .has-error.checkbox label,.caldera-grid .has-error.checkbox-inline label,.caldera-grid .has-error.radio label,.caldera-grid .has-error.radio-inline label{color:#a94442}.caldera-grid .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.caldera-grid .has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.caldera-grid .has-feedback label~.form-control-feedback{top:25px}.caldera-grid .has-feedback label.sr-only~.form-control-feedback{top:0}.caldera-grid .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.caldera-grid .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.caldera-grid .form-inline .form-control-static{display:inline-block}.caldera-grid .form-inline .input-group{display:inline-table;vertical-align:middle}.caldera-grid .form-inline .input-group .form-control,.caldera-grid .form-inline .input-group .input-group-addon,.caldera-grid .form-inline .input-group .input-group-btn{width:auto}.caldera-grid .form-inline .input-group>.form-control{width:100%}.caldera-grid .form-inline .control-label{margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox,.caldera-grid .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox label,.caldera-grid .form-inline .radio label{padding-left:0}.caldera-grid .form-inline .checkbox input[type=checkbox],.caldera-grid .form-inline .radio input[type=radio]{position:relative;margin-left:0}.caldera-grid .form-inline .has-feedback .form-control-feedback{top:0}.caldera-grid .form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .checkbox-inline,.caldera-grid .form-horizontal .radio,.caldera-grid .form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .radio{min-height:27px}.caldera-grid .form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.caldera-grid .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.caldera-grid .form-horizontal .form-group-lg .control-label{padding-top:14.33px}.caldera-grid .form-horizontal .form-group-sm .control-label{padding-top:6px}}.caldera-grid .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:2px;user-select:none}.caldera-grid .btn.active.focus,.caldera-grid .btn.active:focus,.caldera-grid .btn.focus,.caldera-grid .btn:active.focus,.caldera-grid .btn:active:focus,.caldera-grid .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .btn.focus,.caldera-grid .btn:focus,.caldera-grid .btn:hover{color:#333;text-decoration:none}.caldera-grid .btn.active,.caldera-grid .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.caldera-grid .btn.disabled,.caldera-grid .btn[disabled],fieldset[disabled] .caldera-grid .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-default{color:#333;background-color:#fff;border-color:#ccc}.caldera-grid .btn-default.active,.caldera-grid .btn-default.focus,.caldera-grid .btn-default:active,.caldera-grid .btn-default:focus,.caldera-grid .btn-default:hover,.open>.dropdown-toggle.caldera-grid .btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.caldera-grid .btn-default.disabled,.caldera-grid .btn-default.disabled.active,.caldera-grid .btn-default.disabled.focus,.caldera-grid .btn-default.disabled:active,.caldera-grid .btn-default.disabled:focus,.caldera-grid .btn-default.disabled:hover,.caldera-grid .btn-default[disabled],.caldera-grid .btn-default[disabled].active,.caldera-grid .btn-default[disabled].focus,.caldera-grid .btn-default[disabled]:active,.caldera-grid .btn-default[disabled]:focus,.caldera-grid .btn-default[disabled]:hover,fieldset[disabled] .caldera-grid .btn-default,fieldset[disabled] .caldera-grid .btn-default.active,fieldset[disabled] .caldera-grid .btn-default.focus,fieldset[disabled] .caldera-grid .btn-default:active,fieldset[disabled] .caldera-grid .btn-default:focus,fieldset[disabled] .caldera-grid .btn-default:hover{background-color:#fff;border-color:#ccc}.caldera-grid .btn-default .badge{color:#fff;background-color:#333}.caldera-grid .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary.active,.caldera-grid .btn-primary.focus,.caldera-grid .btn-primary:active,.caldera-grid .btn-primary:focus,.caldera-grid .btn-primary:hover,.open>.dropdown-toggle.caldera-grid .btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.caldera-grid .btn-primary.disabled,.caldera-grid .btn-primary.disabled.active,.caldera-grid .btn-primary.disabled.focus,.caldera-grid .btn-primary.disabled:active,.caldera-grid .btn-primary.disabled:focus,.caldera-grid .btn-primary.disabled:hover,.caldera-grid .btn-primary[disabled],.caldera-grid .btn-primary[disabled].active,.caldera-grid .btn-primary[disabled].focus,.caldera-grid .btn-primary[disabled]:active,.caldera-grid .btn-primary[disabled]:focus,.caldera-grid .btn-primary[disabled]:hover,fieldset[disabled] .caldera-grid .btn-primary,fieldset[disabled] .caldera-grid .btn-primary.active,fieldset[disabled] .caldera-grid .btn-primary.focus,fieldset[disabled] .caldera-grid .btn-primary:active,fieldset[disabled] .caldera-grid .btn-primary:focus,fieldset[disabled] .caldera-grid .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary .badge{color:#337ab7;background-color:#fff}.caldera-grid .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success.active,.caldera-grid .btn-success.focus,.caldera-grid .btn-success:active,.caldera-grid .btn-success:focus,.caldera-grid .btn-success:hover,.open>.dropdown-toggle.caldera-grid .btn-success{color:#fff;background-color:#449d44;border-color:#398439}.caldera-grid .btn-success.disabled,.caldera-grid .btn-success.disabled.active,.caldera-grid .btn-success.disabled.focus,.caldera-grid .btn-success.disabled:active,.caldera-grid .btn-success.disabled:focus,.caldera-grid .btn-success.disabled:hover,.caldera-grid .btn-success[disabled],.caldera-grid .btn-success[disabled].active,.caldera-grid .btn-success[disabled].focus,.caldera-grid .btn-success[disabled]:active,.caldera-grid .btn-success[disabled]:focus,.caldera-grid .btn-success[disabled]:hover,fieldset[disabled] .caldera-grid .btn-success,fieldset[disabled] .caldera-grid .btn-success.active,fieldset[disabled] .caldera-grid .btn-success.focus,fieldset[disabled] .caldera-grid .btn-success:active,fieldset[disabled] .caldera-grid .btn-success:focus,fieldset[disabled] .caldera-grid .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success .badge{color:#5cb85c;background-color:#fff}.caldera-grid .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info.active,.caldera-grid .btn-info.focus,.caldera-grid .btn-info:active,.caldera-grid .btn-info:focus,.caldera-grid .btn-info:hover,.open>.dropdown-toggle.caldera-grid .btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.caldera-grid .btn-info.disabled,.caldera-grid .btn-info.disabled.active,.caldera-grid .btn-info.disabled.focus,.caldera-grid .btn-info.disabled:active,.caldera-grid .btn-info.disabled:focus,.caldera-grid .btn-info.disabled:hover,.caldera-grid .btn-info[disabled],.caldera-grid .btn-info[disabled].active,.caldera-grid .btn-info[disabled].focus,.caldera-grid .btn-info[disabled]:active,.caldera-grid .btn-info[disabled]:focus,.caldera-grid .btn-info[disabled]:hover,fieldset[disabled] .caldera-grid .btn-info,fieldset[disabled] .caldera-grid .btn-info.active,fieldset[disabled] .caldera-grid .btn-info.focus,fieldset[disabled] .caldera-grid .btn-info:active,fieldset[disabled] .caldera-grid .btn-info:focus,fieldset[disabled] .caldera-grid .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info .badge{color:#5bc0de;background-color:#fff}.caldera-grid .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning.active,.caldera-grid .btn-warning.focus,.caldera-grid .btn-warning:active,.caldera-grid .btn-warning:focus,.caldera-grid .btn-warning:hover,.open>.dropdown-toggle.caldera-grid .btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.caldera-grid .btn-warning.disabled,.caldera-grid .btn-warning.disabled.active,.caldera-grid .btn-warning.disabled.focus,.caldera-grid .btn-warning.disabled:active,.caldera-grid .btn-warning.disabled:focus,.caldera-grid .btn-warning.disabled:hover,.caldera-grid .btn-warning[disabled],.caldera-grid .btn-warning[disabled].active,.caldera-grid .btn-warning[disabled].focus,.caldera-grid .btn-warning[disabled]:active,.caldera-grid .btn-warning[disabled]:focus,.caldera-grid .btn-warning[disabled]:hover,fieldset[disabled] .caldera-grid .btn-warning,fieldset[disabled] .caldera-grid .btn-warning.active,fieldset[disabled] .caldera-grid .btn-warning.focus,fieldset[disabled] .caldera-grid .btn-warning:active,fieldset[disabled] .caldera-grid .btn-warning:focus,fieldset[disabled] .caldera-grid .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning .badge{color:#f0ad4e;background-color:#fff}.caldera-grid .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger.active,.caldera-grid .btn-danger.focus,.caldera-grid .btn-danger:active,.caldera-grid .btn-danger:focus,.caldera-grid .btn-danger:hover,.open>.dropdown-toggle.caldera-grid .btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.caldera-grid .btn-danger.disabled,.caldera-grid .btn-danger.disabled.active,.caldera-grid .btn-danger.disabled.focus,.caldera-grid .btn-danger.disabled:active,.caldera-grid .btn-danger.disabled:focus,.caldera-grid .btn-danger.disabled:hover,.caldera-grid .btn-danger[disabled],.caldera-grid .btn-danger[disabled].active,.caldera-grid .btn-danger[disabled].focus,.caldera-grid .btn-danger[disabled]:active,.caldera-grid .btn-danger[disabled]:focus,.caldera-grid .btn-danger[disabled]:hover,fieldset[disabled] .caldera-grid .btn-danger,fieldset[disabled] .caldera-grid .btn-danger.active,fieldset[disabled] .caldera-grid .btn-danger.focus,fieldset[disabled] .caldera-grid .btn-danger:active,fieldset[disabled] .caldera-grid .btn-danger:focus,fieldset[disabled] .caldera-grid .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger .badge{color:#d9534f;background-color:#fff}.caldera-grid .btn-link{color:#337ab7;font-weight:400;border-radius:0}.caldera-grid .btn-link,.caldera-grid .btn-link.active,.caldera-grid .btn-link:active,.caldera-grid .btn-link[disabled],fieldset[disabled] .caldera-grid .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-link,.caldera-grid .btn-link:active,.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{border-color:transparent}.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.caldera-grid .btn-link[disabled]:focus,.caldera-grid .btn-link[disabled]:hover,fieldset[disabled] .caldera-grid .btn-link:focus,fieldset[disabled] .caldera-grid .btn-link:hover{color:#777;text-decoration:none}.caldera-grid .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}.caldera-grid .btn-sm,.caldera-grid .btn-xs{font-size:12px;line-height:1.5;border-radius:1px}.caldera-grid .btn-sm{padding:5px 10px}.caldera-grid .btn-xs{padding:1px 5px}.caldera-grid .btn-block{display:block;width:100%}.caldera-grid .btn-block+.btn-block{margin-top:5px}.caldera-grid input[type=button].btn-block,.caldera-grid input[type=reset].btn-block,.caldera-grid input[type=submit].btn-block{width:100%}.caldera-grid textarea.form-control{padding-right:4px;height:auto}.caldera-grid .breadcrumb{padding:6px 12px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.caldera-grid .breadcrumb>li{display:inline-block;margin:0}.caldera-grid .breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.caldera-grid .breadcrumb>.active,.caldera-grid .breadcrumb>.active>a{color:#777}.breadcrumb>li.active.error>a,.breadcrumb>li.error>a{color:red}.caldera-grid .cf-credit-card{padding-left:42px;background-image:url(../images/credit-card.svg);background-repeat:no-repeat!important;background-position-x:4px!important;background-position-y:3px!important}.caldera-grid .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}p.caldera-forms-consent-field-agreement{display:inline}@font-face{font-family:cf-raty;src:url(fonts/cf-raty.eot?40481674);src:url(fonts/cf-raty.eot?40481674#iefix) format('embedded-opentype'),url(fonts/cf-raty.woff?40481674) format('woff'),url(fonts/cf-raty.ttf?40481674) format('truetype'),url(fonts/cf-raty.svg?40481674#cf-raty) format('svg');font-weight:400;font-style:normal}[class*=" raty-"]:before,[class^=raty-]:before{font-family:cf-raty;font-style:normal;font-weight:400;speak:none;font-size:2em;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.raty-heart-on:before{content:'\e800'}.raty-heart-off:before{content:'\e801'}.raty-star-on:before{content:'\e802'}.raty-star-off:before{content:'\e803'}.raty-circle-on:before{content:'\e804'}.raty-circle-off:before{content:'\e805'}.raty-dot-off:before{content:'\e806'}.raty-dot-on:before{content:'\e807'}.raty-face-off:before{content:'\e808'}.raty-face-on:before{content:'\e809'}.raty-cancel-off:before{content:'\e80a'}.raty-cancel-on:before{content:'\e80b'}.calculation-group{background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px;margin:6px 0}.preview-color-selector{background:#F0F0F0;border:1px solid #E2E2E2;display:inline;margin-left:-1px;padding:3px 12px;box-shadow:0 0 0 2px #fff inset}.miniColors-trigger{border:1px solid #999;-mz-border-radius:0 1px 1px 0;-webkit-border-radius:0 1px 1px 0;display:inline-block;height:24px;margin:0 0 -8px -1px;width:30px}.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group,.cf-color-picker .input-group-btn>.btn+.btn{margin-left:-1px}.miniColors-selector{background:#FFF;border:1px solid #999;-moz-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);-webkit-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);box-shadow:0 3px 0 -1px rgba(0,0,0,.05);height:162px;padding:5px;position:absolute;width:187px;z-index:999999;margin-top:-1px}.miniColors-colors,.miniColors-hues{top:5px;height:150px;cursor:crosshair;position:absolute}.miniColors-selector.black{background:#000;border-color:#000}.miniColors-colors{left:5px;width:150px;background:url(minicolor-colors.png) right no-repeat}.miniColors-hues{left:160px;width:20px;background:url(minicolor-colors.png) left no-repeat}.miniColors-colorPicker{position:absolute;width:9px;height:9px;border:1px solid #fff;-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px}.miniColors-colorPicker-inner{position:absolute;top:0;left:0;width:7px;height:7px;border:1px solid #000;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.miniColors-huePicker{position:absolute;left:-3px;width:24px;height:1px;border:1px solid #fff;border-radius:2px;background:#000}.cf-color-picker .form-control::-moz-placeholder{color:#999;opacity:1}.cf-color-picker .form-control:-ms-input-placeholder{color:#999}.cf-color-picker .form-control::-webkit-input-placeholder{color:#999}.cf-color-picker .form-control[disabled],.cf-color-picker .form-control[readonly],.cf-color-picker fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}.cf-color-picker .form-group{margin-bottom:15px}.cf-color-picker .input-group{position:relative;display:table;border-collapse:separate;max-width:120px}.cf-color-picker .input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.cf-color-picker .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.cf-color-picker .input-group-lg>.form-control,.cf-color-picker .input-group-lg>.input-group-addon,.cf-color-picker .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-color-picker .input-group-sm>.form-control,.cf-color-picker .input-group-sm>.input-group-addon,.cf-color-picker .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-color-picker .input-group .form-control,.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{display:table-cell}.cf-color-picker .input-group .form-control:not(:first-child):not(:last-child),.cf-color-picker .input-group-addon:not(:first-child):not(:last-child),.cf-color-picker .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.cf-color-picker .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.cf-color-picker .text-hide,.table-striped .cfdatepicker table tr td,.table-striped .cfdatepicker table tr th{background-color:transparent}.cf-color-picker .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.cf-color-picker .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.cf-color-picker .input-group .form-control:first-child,.cf-color-picker .input-group-addon:first-child,.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group>.btn,.cf-color-picker .input-group-btn:first-child>.dropdown-toggle,.cf-color-picker .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.cf-color-picker .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-color-picker .input-group-addon:first-child{border-right:0}.cf-color-picker .input-group .form-control:last-child,.cf-color-picker .input-group-addon:last-child,.cf-color-picker .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.cf-color-picker .input-group-btn:first-child>.btn:not(:first-child),.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group>.btn,.cf-color-picker .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.cf-color-picker .input-group-addon:last-child{border-left:0}.cf-color-picker .input-group-btn{position:relative;font-size:0;white-space:nowrap}.cf-color-picker .input-group-btn>.btn{position:relative}.cf-color-picker .input-group-btn>.btn:active,.cf-color-picker .input-group-btn>.btn:focus,.cf-color-picker .input-group-btn>.btn:hover{z-index:2}.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group{margin-right:-1px}.cf-color-picker .clearfix:after,.cf-color-picker .clearfix:before,.cf-color-picker .form-horizontal .form-group:after,.cf-color-picker .form-horizontal .form-group:before{content:" ";display:table}.cf-color-picker .clearfix:after,.cf-color-picker .form-horizontal .form-group:after{clear:both}.cf-color-picker .center-block{display:block;margin-left:auto;margin-right:auto}.cf-color-picker .pull-right{float:right!important}.cf-color-picker .pull-left{float:left!important}.cf-color-picker .hide{display:none!important}.cf-color-picker .show{display:block!important}.cf-color-picker .invisible{visibility:hidden}.cf-color-picker .text-hide{font:0/0 a;color:transparent;text-shadow:none;border:0}.cf-color-picker .hidden{display:none!important;visibility:hidden!important}.cf-color-picker .affix{position:fixed}@-ms-viewport{width:device-width}.cf-color-picker .visible-lg,.cf-color-picker .visible-md,.cf-color-picker .visible-print,.cf-color-picker .visible-sm,.cf-color-picker .visible-xs{display:none!important}@media (max-width:767px){.cf-color-picker .visible-xs{display:block!important}.cf-color-picker table.visible-xs{display:table}.cf-color-picker tr.visible-xs{display:table-row!important}.cf-color-picker td.visible-xs,.cf-color-picker th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .visible-sm{display:block!important}.cf-color-picker table.visible-sm{display:table}.cf-color-picker tr.visible-sm{display:table-row!important}.cf-color-picker td.visible-sm,.cf-color-picker th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .visible-md{display:block!important}.cf-color-picker table.visible-md{display:table}.cf-color-picker tr.visible-md{display:table-row!important}.cf-color-picker td.visible-md,.cf-color-picker th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-color-picker .visible-lg{display:block!important}.cf-color-picker table.visible-lg{display:table}.cf-color-picker tr.visible-lg{display:table-row!important}.cf-color-picker td.visible-lg,.cf-color-picker th.visible-lg{display:table-cell!important}.cf-color-picker .hidden-lg{display:none!important}}@media (max-width:767px){.cf-color-picker .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .hidden-md{display:none!important}}@media print{.cf-color-picker .visible-print{display:block!important}.cf-color-picker table.visible-print{display:table}.cf-color-picker tr.visible-print{display:table-row!important}.cf-color-picker td.visible-print,.cf-color-picker th.visible-print{display:table-cell!important}.cf-color-picker .hidden-print{display:none!important}}.cfdatepicker-dropdown:after,.cfdatepicker-dropdown:before{content:'';display:inline-block;border-top:0;position:absolute}.cfdatepicker{padding:4px;border-radius:4px;direction:ltr}.cfdatepicker-inline{width:220px}.cfdatepicker.cfdatepicker-rtl{direction:rtl}.cfdatepicker.cfdatepicker-rtl table tr td span{float:right}.cfdatepicker-dropdown{top:0;left:0}.cfdatepicker-dropdown:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2)}.cfdatepicker-dropdown:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff}.cfdatepicker-dropdown.cfdatepicker-orient-left:before{left:6px}.cfdatepicker-dropdown.cfdatepicker-orient-left:after{left:7px}.cfdatepicker-dropdown.cfdatepicker-orient-right:before{right:6px}.cfdatepicker-dropdown.cfdatepicker-orient-right:after{right:7px}.cfdatepicker-dropdown.cfdatepicker-orient-top:before{top:-7px}.cfdatepicker-dropdown.cfdatepicker-orient-top:after{top:-6px}.cfdatepicker-dropdown.cfdatepicker-orient-bottom:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.cfdatepicker-dropdown.cfdatepicker-orient-bottom:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.cfdatepicker>div{display:none}.cfdatepicker.days div.cfdatepicker-days,.cfdatepicker.months div.cfdatepicker-months,.cfdatepicker.years div.cfdatepicker-years{display:block}.cfdatepicker table{border:0;width:auto;margin:0;-webkit-touch-callout:none;-khtml-user-select:none;user-select:none}.cfdatepicker table tr td,.cfdatepicker table tr th{text-align:center;width:10px;height:10px;border-radius:4px;border:none}.cfdatepicker table tr td.day.focused,.cfdatepicker table tr td.day:hover{background:#eee;cursor:pointer}.cfdatepicker table tr td.new,.cfdatepicker table tr td.old{color:#999}.cfdatepicker table tr td.disabled,.cfdatepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.cfdatepicker table tr td.today,.cfdatepicker table tr td.today.disabled,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today:hover{color:#000;background-color:#ffdb99;border-color:#ffb733}.cfdatepicker table tr td.today.active,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:focus,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today.disabled:hover.active,.cfdatepicker table tr td.today.disabled:hover:active,.cfdatepicker table tr td.today.disabled:hover:focus,.cfdatepicker table tr td.today.disabled:hover:hover,.cfdatepicker table tr td.today:active,.cfdatepicker table tr td.today:focus,.cfdatepicker table tr td.today:hover,.cfdatepicker table tr td.today:hover.active,.cfdatepicker table tr td.today:hover:active,.cfdatepicker table tr td.today:hover:focus,.cfdatepicker table tr td.today:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.today,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.today:hover{color:#000;background-color:#ffcd70;border-color:#f59e00}.cfdatepicker table tr td.today.active,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:hover.active,.cfdatepicker table tr td.today.disabled:hover:active,.cfdatepicker table tr td.today:active,.cfdatepicker table tr td.today:hover.active,.cfdatepicker table tr td.today:hover:active,.open .dropdown-toggle.cfdatepicker table tr td.today,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.today:hover{background-image:none}.cfdatepicker table tr td.today.disabled,.cfdatepicker table tr td.today.disabled.active,.cfdatepicker table tr td.today.disabled.disabled,.cfdatepicker table tr td.today.disabled.disabled.active,.cfdatepicker table tr td.today.disabled.disabled:active,.cfdatepicker table tr td.today.disabled.disabled:focus,.cfdatepicker table tr td.today.disabled.disabled:hover,.cfdatepicker table tr td.today.disabled:active,.cfdatepicker table tr td.today.disabled:focus,.cfdatepicker table tr td.today.disabled:hover,.cfdatepicker table tr td.today.disabled:hover.disabled,.cfdatepicker table tr td.today.disabled:hover.disabled.active,.cfdatepicker table tr td.today.disabled:hover.disabled:active,.cfdatepicker table tr td.today.disabled:hover.disabled:focus,.cfdatepicker table tr td.today.disabled:hover.disabled:hover,.cfdatepicker table tr td.today.disabled:hover[disabled],.cfdatepicker table tr td.today.disabled:hover[disabled].active,.cfdatepicker table tr td.today.disabled:hover[disabled]:active,.cfdatepicker table tr td.today.disabled:hover[disabled]:focus,.cfdatepicker table tr td.today.disabled:hover[disabled]:hover,.cfdatepicker table tr td.today.disabled[disabled],.cfdatepicker table tr td.today.disabled[disabled].active,.cfdatepicker table tr td.today.disabled[disabled]:active,.cfdatepicker table tr td.today.disabled[disabled]:focus,.cfdatepicker table tr td.today.disabled[disabled]:hover,.cfdatepicker table tr td.today:hover.disabled,.cfdatepicker table tr td.today:hover.disabled.active,.cfdatepicker table tr td.today:hover.disabled:active,.cfdatepicker table tr td.today:hover.disabled:focus,.cfdatepicker table tr td.today:hover.disabled:hover,.cfdatepicker table tr td.today:hover[disabled],.cfdatepicker table tr td.today:hover[disabled].active,.cfdatepicker table tr td.today:hover[disabled]:active,.cfdatepicker table tr td.today:hover[disabled]:focus,.cfdatepicker table tr td.today:hover[disabled]:hover,.cfdatepicker table tr td.today[disabled],.cfdatepicker table tr td.today[disabled].active,.cfdatepicker table tr td.today[disabled]:active,.cfdatepicker table tr td.today[disabled]:focus,.cfdatepicker table tr td.today[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.today,fieldset[disabled] .cfdatepicker table tr td.today.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled,fieldset[disabled] .cfdatepicker table tr td.today.disabled.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.today.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.today:active,fieldset[disabled] .cfdatepicker table tr td.today:focus,fieldset[disabled] .cfdatepicker table tr td.today:hover,fieldset[disabled] .cfdatepicker table tr td.today:hover.active,fieldset[disabled] .cfdatepicker table tr td.today:hover:active,fieldset[disabled] .cfdatepicker table tr td.today:hover:focus,fieldset[disabled] .cfdatepicker table tr td.today:hover:hover{background-color:#ffdb99;border-color:#ffb733}.cfdatepicker table tr td.today:hover:hover{color:#000}.cfdatepicker table tr td.today.active:hover{color:#fff}.cfdatepicker table tr td.range,.cfdatepicker table tr td.range.disabled,.cfdatepicker table tr td.range.disabled:hover,.cfdatepicker table tr td.range:hover{background:#eee;border-radius:0}.cfdatepicker table tr td.active.active,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:hover.active,.cfdatepicker table tr td.active.disabled:hover:active,.cfdatepicker table tr td.active:active,.cfdatepicker table tr td.active:hover.active,.cfdatepicker table tr td.active:hover:active,.cfdatepicker table tr td.range.today.active,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:hover.active,.cfdatepicker table tr td.range.today.disabled:hover:active,.cfdatepicker table tr td.range.today:active,.cfdatepicker table tr td.range.today:hover.active,.cfdatepicker table tr td.range.today:hover:active,.cfdatepicker table tr td.selected.active,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:hover.active,.cfdatepicker table tr td.selected.disabled:hover:active,.cfdatepicker table tr td.selected:active,.cfdatepicker table tr td.selected:hover.active,.cfdatepicker table tr td.selected:hover:active,.open .dropdown-toggle.cfdatepicker table tr td.active,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.active:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected:hover{background-image:none}.cfdatepicker table tr td.range.today,.cfdatepicker table tr td.range.today.disabled,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today:hover{color:#000;background-color:#f7ca77;border-color:#f1a417;border-radius:0}.cfdatepicker table tr td.range.today.active,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover.active,.cfdatepicker table tr td.range.today.disabled:hover:active,.cfdatepicker table tr td.range.today.disabled:hover:focus,.cfdatepicker table tr td.range.today.disabled:hover:hover,.cfdatepicker table tr td.range.today:active,.cfdatepicker table tr td.range.today:focus,.cfdatepicker table tr td.range.today:hover,.cfdatepicker table tr td.range.today:hover.active,.cfdatepicker table tr td.range.today:hover:active,.cfdatepicker table tr td.range.today:hover:focus,.cfdatepicker table tr td.range.today:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled,.open .dropdown-toggle.cfdatepicker table tr td.range.today.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.range.today:hover{color:#000;background-color:#f4bb51;border-color:#bf800c}.cfdatepicker table tr td.range.today.disabled,.cfdatepicker table tr td.range.today.disabled.active,.cfdatepicker table tr td.range.today.disabled.disabled,.cfdatepicker table tr td.range.today.disabled.disabled.active,.cfdatepicker table tr td.range.today.disabled.disabled:active,.cfdatepicker table tr td.range.today.disabled.disabled:focus,.cfdatepicker table tr td.range.today.disabled.disabled:hover,.cfdatepicker table tr td.range.today.disabled:active,.cfdatepicker table tr td.range.today.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover.disabled,.cfdatepicker table tr td.range.today.disabled:hover.disabled.active,.cfdatepicker table tr td.range.today.disabled:hover.disabled:active,.cfdatepicker table tr td.range.today.disabled:hover.disabled:focus,.cfdatepicker table tr td.range.today.disabled:hover.disabled:hover,.cfdatepicker table tr td.range.today.disabled:hover[disabled],.cfdatepicker table tr td.range.today.disabled:hover[disabled].active,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:active,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:focus,.cfdatepicker table tr td.range.today.disabled:hover[disabled]:hover,.cfdatepicker table tr td.range.today.disabled[disabled],.cfdatepicker table tr td.range.today.disabled[disabled].active,.cfdatepicker table tr td.range.today.disabled[disabled]:active,.cfdatepicker table tr td.range.today.disabled[disabled]:focus,.cfdatepicker table tr td.range.today.disabled[disabled]:hover,.cfdatepicker table tr td.range.today:hover.disabled,.cfdatepicker table tr td.range.today:hover.disabled.active,.cfdatepicker table tr td.range.today:hover.disabled:active,.cfdatepicker table tr td.range.today:hover.disabled:focus,.cfdatepicker table tr td.range.today:hover.disabled:hover,.cfdatepicker table tr td.range.today:hover[disabled],.cfdatepicker table tr td.range.today:hover[disabled].active,.cfdatepicker table tr td.range.today:hover[disabled]:active,.cfdatepicker table tr td.range.today:hover[disabled]:focus,.cfdatepicker table tr td.range.today:hover[disabled]:hover,.cfdatepicker table tr td.range.today[disabled],.cfdatepicker table tr td.range.today[disabled].active,.cfdatepicker table tr td.range.today[disabled]:active,.cfdatepicker table tr td.range.today[disabled]:focus,.cfdatepicker table tr td.range.today[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.range.today,fieldset[disabled] .cfdatepicker table tr td.range.today.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.range.today.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.range.today:active,fieldset[disabled] .cfdatepicker table tr td.range.today:focus,fieldset[disabled] .cfdatepicker table tr td.range.today:hover,fieldset[disabled] .cfdatepicker table tr td.range.today:hover.active,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:active,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:focus,fieldset[disabled] .cfdatepicker table tr td.range.today:hover:hover{background-color:#f7ca77;border-color:#f1a417}.cfdatepicker table tr td.selected,.cfdatepicker table tr td.selected.disabled,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected:hover{color:#fff;background-color:#999;border-color:#555;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td.selected.active,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover.active,.cfdatepicker table tr td.selected.disabled:hover:active,.cfdatepicker table tr td.selected.disabled:hover:focus,.cfdatepicker table tr td.selected.disabled:hover:hover,.cfdatepicker table tr td.selected:active,.cfdatepicker table tr td.selected:focus,.cfdatepicker table tr td.selected:hover,.cfdatepicker table tr td.selected:hover.active,.cfdatepicker table tr td.selected:hover:active,.cfdatepicker table tr td.selected:hover:focus,.cfdatepicker table tr td.selected:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled,.open .dropdown-toggle.cfdatepicker table tr td.selected.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.selected:hover{color:#fff;background-color:#858585;border-color:#373737}.cfdatepicker table tr td.selected.disabled,.cfdatepicker table tr td.selected.disabled.active,.cfdatepicker table tr td.selected.disabled.disabled,.cfdatepicker table tr td.selected.disabled.disabled.active,.cfdatepicker table tr td.selected.disabled.disabled:active,.cfdatepicker table tr td.selected.disabled.disabled:focus,.cfdatepicker table tr td.selected.disabled.disabled:hover,.cfdatepicker table tr td.selected.disabled:active,.cfdatepicker table tr td.selected.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover.disabled,.cfdatepicker table tr td.selected.disabled:hover.disabled.active,.cfdatepicker table tr td.selected.disabled:hover.disabled:active,.cfdatepicker table tr td.selected.disabled:hover.disabled:focus,.cfdatepicker table tr td.selected.disabled:hover.disabled:hover,.cfdatepicker table tr td.selected.disabled:hover[disabled],.cfdatepicker table tr td.selected.disabled:hover[disabled].active,.cfdatepicker table tr td.selected.disabled:hover[disabled]:active,.cfdatepicker table tr td.selected.disabled:hover[disabled]:focus,.cfdatepicker table tr td.selected.disabled:hover[disabled]:hover,.cfdatepicker table tr td.selected.disabled[disabled],.cfdatepicker table tr td.selected.disabled[disabled].active,.cfdatepicker table tr td.selected.disabled[disabled]:active,.cfdatepicker table tr td.selected.disabled[disabled]:focus,.cfdatepicker table tr td.selected.disabled[disabled]:hover,.cfdatepicker table tr td.selected:hover.disabled,.cfdatepicker table tr td.selected:hover.disabled.active,.cfdatepicker table tr td.selected:hover.disabled:active,.cfdatepicker table tr td.selected:hover.disabled:focus,.cfdatepicker table tr td.selected:hover.disabled:hover,.cfdatepicker table tr td.selected:hover[disabled],.cfdatepicker table tr td.selected:hover[disabled].active,.cfdatepicker table tr td.selected:hover[disabled]:active,.cfdatepicker table tr td.selected:hover[disabled]:focus,.cfdatepicker table tr td.selected:hover[disabled]:hover,.cfdatepicker table tr td.selected[disabled],.cfdatepicker table tr td.selected[disabled].active,.cfdatepicker table tr td.selected[disabled]:active,.cfdatepicker table tr td.selected[disabled]:focus,.cfdatepicker table tr td.selected[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.selected,fieldset[disabled] .cfdatepicker table tr td.selected.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled,fieldset[disabled] .cfdatepicker table tr td.selected.disabled.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.selected.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.selected:active,fieldset[disabled] .cfdatepicker table tr td.selected:focus,fieldset[disabled] .cfdatepicker table tr td.selected:hover,fieldset[disabled] .cfdatepicker table tr td.selected:hover.active,fieldset[disabled] .cfdatepicker table tr td.selected:hover:active,fieldset[disabled] .cfdatepicker table tr td.selected:hover:focus,fieldset[disabled] .cfdatepicker table tr td.selected:hover:hover{background-color:#999;border-color:#555}.cfdatepicker table tr td.active,.cfdatepicker table tr td.active.disabled,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active:hover{color:#fff;background-color:#428bca;border-color:#357ebd;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td.active.active,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:focus,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active.disabled:hover.active,.cfdatepicker table tr td.active.disabled:hover:active,.cfdatepicker table tr td.active.disabled:hover:focus,.cfdatepicker table tr td.active.disabled:hover:hover,.cfdatepicker table tr td.active:active,.cfdatepicker table tr td.active:focus,.cfdatepicker table tr td.active:hover,.cfdatepicker table tr td.active:hover.active,.cfdatepicker table tr td.active:hover:active,.cfdatepicker table tr td.active:hover:focus,.cfdatepicker table tr td.active:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td.active,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td.active:hover{color:#fff;background-color:#3276b1;border-color:#285e8e}.cfdatepicker table tr td.active.disabled,.cfdatepicker table tr td.active.disabled.active,.cfdatepicker table tr td.active.disabled.disabled,.cfdatepicker table tr td.active.disabled.disabled.active,.cfdatepicker table tr td.active.disabled.disabled:active,.cfdatepicker table tr td.active.disabled.disabled:focus,.cfdatepicker table tr td.active.disabled.disabled:hover,.cfdatepicker table tr td.active.disabled:active,.cfdatepicker table tr td.active.disabled:focus,.cfdatepicker table tr td.active.disabled:hover,.cfdatepicker table tr td.active.disabled:hover.disabled,.cfdatepicker table tr td.active.disabled:hover.disabled.active,.cfdatepicker table tr td.active.disabled:hover.disabled:active,.cfdatepicker table tr td.active.disabled:hover.disabled:focus,.cfdatepicker table tr td.active.disabled:hover.disabled:hover,.cfdatepicker table tr td.active.disabled:hover[disabled],.cfdatepicker table tr td.active.disabled:hover[disabled].active,.cfdatepicker table tr td.active.disabled:hover[disabled]:active,.cfdatepicker table tr td.active.disabled:hover[disabled]:focus,.cfdatepicker table tr td.active.disabled:hover[disabled]:hover,.cfdatepicker table tr td.active.disabled[disabled],.cfdatepicker table tr td.active.disabled[disabled].active,.cfdatepicker table tr td.active.disabled[disabled]:active,.cfdatepicker table tr td.active.disabled[disabled]:focus,.cfdatepicker table tr td.active.disabled[disabled]:hover,.cfdatepicker table tr td.active:hover.disabled,.cfdatepicker table tr td.active:hover.disabled.active,.cfdatepicker table tr td.active:hover.disabled:active,.cfdatepicker table tr td.active:hover.disabled:focus,.cfdatepicker table tr td.active:hover.disabled:hover,.cfdatepicker table tr td.active:hover[disabled],.cfdatepicker table tr td.active:hover[disabled].active,.cfdatepicker table tr td.active:hover[disabled]:active,.cfdatepicker table tr td.active:hover[disabled]:focus,.cfdatepicker table tr td.active:hover[disabled]:hover,.cfdatepicker table tr td.active[disabled],.cfdatepicker table tr td.active[disabled].active,.cfdatepicker table tr td.active[disabled]:active,.cfdatepicker table tr td.active[disabled]:focus,.cfdatepicker table tr td.active[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td.active,fieldset[disabled] .cfdatepicker table tr td.active.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled,fieldset[disabled] .cfdatepicker table tr td.active.disabled.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:focus,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td.active.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td.active:active,fieldset[disabled] .cfdatepicker table tr td.active:focus,fieldset[disabled] .cfdatepicker table tr td.active:hover,fieldset[disabled] .cfdatepicker table tr td.active:hover.active,fieldset[disabled] .cfdatepicker table tr td.active:hover:active,fieldset[disabled] .cfdatepicker table tr td.active:hover:focus,fieldset[disabled] .cfdatepicker table tr td.active:hover:hover{background-color:#428bca;border-color:#357ebd}.cfdatepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;border-radius:4px}.cfdatepicker table tr td span:hover{background:#eee}.cfdatepicker table tr td span.disabled,.cfdatepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.cfdatepicker table tr td span.active,.cfdatepicker table tr td span.active.disabled,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active:hover{color:#fff;background-color:#428bca;border-color:#357ebd;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.cfdatepicker table tr td span.active.active,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover.active,.cfdatepicker table tr td span.active.disabled:hover:active,.cfdatepicker table tr td span.active.disabled:hover:focus,.cfdatepicker table tr td span.active.disabled:hover:hover,.cfdatepicker table tr td span.active:active,.cfdatepicker table tr td span.active:focus,.cfdatepicker table tr td span.active:hover,.cfdatepicker table tr td span.active:hover.active,.cfdatepicker table tr td span.active:hover:active,.cfdatepicker table tr td span.active:hover:focus,.cfdatepicker table tr td span.active:hover:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active:hover{color:#fff;background-color:#3276b1;border-color:#285e8e}.cfdatepicker table tr td span.active.active,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:hover.active,.cfdatepicker table tr td span.active.disabled:hover:active,.cfdatepicker table tr td span.active:active,.cfdatepicker table tr td span.active:hover.active,.cfdatepicker table tr td span.active:hover:active,.open .dropdown-toggle.cfdatepicker table tr td span.active,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled,.open .dropdown-toggle.cfdatepicker table tr td span.active.disabled:hover,.open .dropdown-toggle.cfdatepicker table tr td span.active:hover{background-image:none}.cfdatepicker table tr td span.active.disabled,.cfdatepicker table tr td span.active.disabled.active,.cfdatepicker table tr td span.active.disabled.disabled,.cfdatepicker table tr td span.active.disabled.disabled.active,.cfdatepicker table tr td span.active.disabled.disabled:active,.cfdatepicker table tr td span.active.disabled.disabled:focus,.cfdatepicker table tr td span.active.disabled.disabled:hover,.cfdatepicker table tr td span.active.disabled:active,.cfdatepicker table tr td span.active.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover.disabled,.cfdatepicker table tr td span.active.disabled:hover.disabled.active,.cfdatepicker table tr td span.active.disabled:hover.disabled:active,.cfdatepicker table tr td span.active.disabled:hover.disabled:focus,.cfdatepicker table tr td span.active.disabled:hover.disabled:hover,.cfdatepicker table tr td span.active.disabled:hover[disabled],.cfdatepicker table tr td span.active.disabled:hover[disabled].active,.cfdatepicker table tr td span.active.disabled:hover[disabled]:active,.cfdatepicker table tr td span.active.disabled:hover[disabled]:focus,.cfdatepicker table tr td span.active.disabled:hover[disabled]:hover,.cfdatepicker table tr td span.active.disabled[disabled],.cfdatepicker table tr td span.active.disabled[disabled].active,.cfdatepicker table tr td span.active.disabled[disabled]:active,.cfdatepicker table tr td span.active.disabled[disabled]:focus,.cfdatepicker table tr td span.active.disabled[disabled]:hover,.cfdatepicker table tr td span.active:hover.disabled,.cfdatepicker table tr td span.active:hover.disabled.active,.cfdatepicker table tr td span.active:hover.disabled:active,.cfdatepicker table tr td span.active:hover.disabled:focus,.cfdatepicker table tr td span.active:hover.disabled:hover,.cfdatepicker table tr td span.active:hover[disabled],.cfdatepicker table tr td span.active:hover[disabled].active,.cfdatepicker table tr td span.active:hover[disabled]:active,.cfdatepicker table tr td span.active:hover[disabled]:focus,.cfdatepicker table tr td span.active:hover[disabled]:hover,.cfdatepicker table tr td span.active[disabled],.cfdatepicker table tr td span.active[disabled].active,.cfdatepicker table tr td span.active[disabled]:active,.cfdatepicker table tr td span.active[disabled]:focus,.cfdatepicker table tr td span.active[disabled]:hover,fieldset[disabled] .cfdatepicker table tr td span.active,fieldset[disabled] .cfdatepicker table tr td span.active.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled,fieldset[disabled] .cfdatepicker table tr td span.active.disabled.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:focus,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover.active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:active,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:focus,fieldset[disabled] .cfdatepicker table tr td span.active.disabled:hover:hover,fieldset[disabled] .cfdatepicker table tr td span.active:active,fieldset[disabled] .cfdatepicker table tr td span.active:focus,fieldset[disabled] .cfdatepicker table tr td span.active:hover,fieldset[disabled] .cfdatepicker table tr td span.active:hover.active,fieldset[disabled] .cfdatepicker table tr td span.active:hover:active,fieldset[disabled] .cfdatepicker table tr td span.active:hover:focus,fieldset[disabled] .cfdatepicker table tr td span.active:hover:hover{background-color:#428bca;border-color:#357ebd}.cfdatepicker table tr td span.new,.cfdatepicker table tr td span.old{color:#999}.cfdatepicker th.cfdatepicker-switch{width:145px}.cfdatepicker tfoot tr th,.cfdatepicker thead tr:first-child th{cursor:pointer}.cfdatepicker tfoot tr th:hover,.cfdatepicker thead tr:first-child th:hover{background:#eee}.cfdatepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.cfdatepicker thead tr:first-child th.cw{cursor:default;background-color:transparent}.input-group.date .input-group-addon i{cursor:pointer;width:16px;height:16px}.input-daterange input{text-align:center}.input-daterange input:first-child{border-radius:3px 0 0 3px}.input-daterange input:last-child{border-radius:0 3px 3px 0}.input-daterange .input-group-addon{width:auto;min-width:16px;padding:4px 5px;font-weight:400;line-height:1.42857143;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:solid #ccc;border-width:1px 0;margin-left:-5px;margin-right:-5px}.cfdatepicker.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;color:#333;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.42857143}.cfdatepicker.dropdown-menu td,.cfdatepicker.dropdown-menu th{padding:4px 5px}.image-thumb{margin-left:63px;padding:6px 0 6px 6px}.image-picker-content.image-thumb-lrg{margin-bottom:6px}.image-picker-side-bar{float:left;margin-left:-68px;width:62px;max-width:100%}.image-thumb-lrg .image-picker-side-bar{background:#F6F6F6;border:1px solid #DFDFDF;float:none;margin:0 0 6px;padding:6px 6px 2px;text-align:center;width:auto}.image-picker-side-bar>img{border:1px solid #DFDFDF;width:62px}.image-thumb-lrg .image-picker-side-bar>img{-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;text-align:center;width:auto}.image-thumb .image-picker-main-content{margin-right:6px}.button.image-picker-button{margin:7px 0 0;width:110px;display:inline-block}.button.button-primary.image-picker-button{float:right;margin-left:6px;width:80px}.image-picker-main-content select{width:100%}.image-picker-sizer:disabled{opacity:.7;box-shadow:none;color:#A1A1A1}.button-primary.image-picker-button.image-picker-button-solo,.button.image-picker-button.image-picker-button-solo{width:170px;margin-top:0}.button-primary.image-picker-button.image-picker-button-solo{margin-top:7px;margin-left:0;float:none}.image-thumb-lrg .button.image-picker-button.cu-image-picker.image-picker-button-solo{width:120px}.image-thumb-lrg .button.button-primary.image-picker-button.cu-image-remover.image-picker-button-solo{float:right;margin:0 0 0 6px;width:auto}.cf-toggle-switch .btn-group>.btn-group,.cf-toggle-switch .btn-toolbar .btn-group,.cf-toggle-switch .btn-toolbar .input-group{float:left}.image-thumb-lrg .button.button-primary.image-picker-button.cu-image-remover{width:45%}input.cu-image-picker-file-select[type=file]{display:none}.rangeslider,.rangeslider__fill{background:#e6e6e6;display:block;height:8px;width:100%;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px}.rangeslider__handle,.toggle_option_row input{display:inline-block}.rangeslider{position:relative}.rangeslider--disabled{filter:alpha(Opacity=40);opacity:.4}.rangeslider__fill{background:#0f0;position:absolute;top:0}.rangeslider__handle{background:#fff;border:1px solid #ccc;cursor:pointer;width:18px;height:18px;position:absolute;top:-5px;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%}input[type=range]:focus+.rangeslider .rangeslider__handle{-webkit-box-shadow:0 0 3px rgba(100,100,100,.9);-moz-box-shadow:0 0 3px rgba(100,100,100,.9);box-shadow:0 0 3px rgba(100,100,100,.9)}.recaptchatable #recaptcha_response_field{height:21px!important}.toggle_option_row{margin:4px 0}.toggle_option_row .dashicons-sort{cursor:move}.toggle_option_row .toggle_label_field,.toggle_option_row .toggle_value_field{width:136px;line-height:20px}.toggle_option_preview .button{border-radius:0;margin-right:-5px}.toggle_option_preview .button:first-child{border-radius:3px 0 0 3px}.toggle_option_preview .button:last-child{border-radius:0 3px 3px 0}.toggle_option_preview.toggle_vertical .button{width:100%}.toggle_option_preview.toggle_vertical .button:first-child{border-radius:3px 3px 0 0}.toggle_option_preview.toggle_vertical .button:last-child{border-radius:0 0 3px 3px}.cf-toggle-switch html{font-family:sans-serif}.cf-toggle-switch body{margin:0}.cf-toggle-switch article,.cf-toggle-switch aside,.cf-toggle-switch details,.cf-toggle-switch figcaption,.cf-toggle-switch figure,.cf-toggle-switch footer,.cf-toggle-switch header,.cf-toggle-switch hgroup,.cf-toggle-switch main,.cf-toggle-switch nav,.cf-toggle-switch section,.cf-toggle-switch summary{display:block}.cf-toggle-switch audio,.cf-toggle-switch canvas,.cf-toggle-switch progress,.cf-toggle-switch video{display:inline-block;vertical-align:baseline}.cf-toggle-switch audio:not([controls]){display:none;height:0}.cf-toggle-switch [hidden],.cf-toggle-switch template{display:none}.cf-toggle-switch a{background:0 0}.cf-toggle-switch a:active,.cf-toggle-switch a:hover{outline:0}.cf-toggle-switch abbr[title]{border-bottom:1px dotted}.cf-toggle-switch b,.cf-toggle-switch strong{font-weight:700}.cf-toggle-switch dfn{font-style:italic}.cf-toggle-switch h1{font-size:2em;margin:.67em 0}.cf-toggle-switch mark{background:#ff0;color:#000}.cf-toggle-switch .btn,.cf-toggle-switch .btn-danger.active,.cf-toggle-switch .btn-danger:active,.cf-toggle-switch .btn-default.active,.cf-toggle-switch .btn-default:active,.cf-toggle-switch .btn-info.active,.cf-toggle-switch .btn-info:active,.cf-toggle-switch .btn-primary.active,.cf-toggle-switch .btn-primary:active,.cf-toggle-switch .btn-success.active,.cf-toggle-switch .btn-success:active,.cf-toggle-switch .btn-warning.active,.cf-toggle-switch .btn-warning:active,.cf-toggle-switch .open .dropdown-toggle.btn-danger,.cf-toggle-switch .open .dropdown-toggle.btn-default,.cf-toggle-switch .open .dropdown-toggle.btn-info,.cf-toggle-switch .open .dropdown-toggle.btn-primary,.cf-toggle-switch .open .dropdown-toggle.btn-success,.cf-toggle-switch .open .dropdown-toggle.btn-warning{background-image:none}.cf-toggle-switch small{font-size:80%}.cf-toggle-switch sub,.cf-toggle-switch sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.cf-toggle-switch sup{top:-.5em}.cf-toggle-switch sub{bottom:-.25em}.cf-toggle-switch img{border:0}.cf-toggle-switch figure{margin:1em 40px}.cf-toggle-switch hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.cf-toggle-switch pre{overflow:auto}.cf-toggle-switch code,.cf-toggle-switch kbd,.cf-toggle-switch pre,.cf-toggle-switch samp{font-family:monospace,monospace;font-size:1em}.cf-toggle-switch button,.cf-toggle-switch input,.cf-toggle-switch optgroup,.cf-toggle-switch select,.cf-toggle-switch textarea{color:inherit;font:inherit;margin:0}.cf-toggle-switch button{overflow:visible}.cf-toggle-switch button,.cf-toggle-switch html input[type=button],.cf-toggle-switch input[type=reset],.cf-toggle-switch input[type=submit]{-webkit-appearance:button;cursor:pointer}.cf-toggle-switch button[disabled],.cf-toggle-switch html input[disabled]{cursor:default}.cf-toggle-switch button::-moz-focus-inner,.cf-toggle-switch input::-moz-focus-inner{border:0;padding:0}.cf-toggle-switch input{line-height:normal}.cf-toggle-switch input[type=checkbox],.cf-toggle-switch input[type=radio]{box-sizing:border-box;padding:0}.cf-toggle-switch input[type=number]::-webkit-inner-spin-button,.cf-toggle-switch input[type=number]::-webkit-outer-spin-button{height:auto}.cf-toggle-switch input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.cf-toggle-switch input[type=search]::-webkit-search-cancel-button,.cf-toggle-switch input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.cf-toggle-switch fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}.cf-toggle-switch legend{border:0;padding:0}.cf-toggle-switch textarea{overflow:auto}.cf-toggle-switch optgroup{font-weight:700}.cf-toggle-switch table{border-collapse:collapse;border-spacing:0}.cf-toggle-switch td,.cf-toggle-switch th{padding:0}.cf-toggle-switch .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cf-toggle-switch .btn.active:focus,.cf-toggle-switch .btn:active:focus,.cf-toggle-switch .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.cf-toggle-switch .btn-group .dropdown-toggle:active,.cf-toggle-switch .btn-group-vertical>.btn:focus,.cf-toggle-switch .btn-group.open .dropdown-toggle,.cf-toggle-switch .btn-group>.btn:focus{outline:0}.cf-toggle-switch .btn:focus,.cf-toggle-switch .btn:hover{color:#333;text-decoration:none}.cf-toggle-switch .btn.active,.cf-toggle-switch .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.cf-toggle-switch .btn.disabled,.cf-toggle-switch .btn[disabled],.cf-toggle-switch fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-default{color:#333;background-color:#fff;border-color:#ccc}.cf-toggle-switch .btn-default.active,.cf-toggle-switch .btn-default:active,.cf-toggle-switch .btn-default:focus,.cf-toggle-switch .btn-default:hover,.cf-toggle-switch .open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.cf-toggle-switch .btn-default.disabled,.cf-toggle-switch .btn-default.disabled.active,.cf-toggle-switch .btn-default.disabled:active,.cf-toggle-switch .btn-default.disabled:focus,.cf-toggle-switch .btn-default.disabled:hover,.cf-toggle-switch .btn-default[disabled],.cf-toggle-switch .btn-default[disabled].active,.cf-toggle-switch .btn-default[disabled]:active,.cf-toggle-switch .btn-default[disabled]:focus,.cf-toggle-switch .btn-default[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-default,.cf-toggle-switch fieldset[disabled] .btn-default.active,.cf-toggle-switch fieldset[disabled] .btn-default:active,.cf-toggle-switch fieldset[disabled] .btn-default:focus,.cf-toggle-switch fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.cf-toggle-switch .btn-default .badge{color:#fff;background-color:#333}.cf-toggle-switch .btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.cf-toggle-switch .btn-primary.active,.cf-toggle-switch .btn-primary:active,.cf-toggle-switch .btn-primary:focus,.cf-toggle-switch .btn-primary:hover,.cf-toggle-switch .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.cf-toggle-switch .btn-primary.disabled,.cf-toggle-switch .btn-primary.disabled.active,.cf-toggle-switch .btn-primary.disabled:active,.cf-toggle-switch .btn-primary.disabled:focus,.cf-toggle-switch .btn-primary.disabled:hover,.cf-toggle-switch .btn-primary[disabled],.cf-toggle-switch .btn-primary[disabled].active,.cf-toggle-switch .btn-primary[disabled]:active,.cf-toggle-switch .btn-primary[disabled]:focus,.cf-toggle-switch .btn-primary[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-primary,.cf-toggle-switch fieldset[disabled] .btn-primary.active,.cf-toggle-switch fieldset[disabled] .btn-primary:active,.cf-toggle-switch fieldset[disabled] .btn-primary:focus,.cf-toggle-switch fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.cf-toggle-switch .btn-primary .badge{color:#428bca;background-color:#fff}.cf-toggle-switch .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.cf-toggle-switch .btn-success.active,.cf-toggle-switch .btn-success:active,.cf-toggle-switch .btn-success:focus,.cf-toggle-switch .btn-success:hover,.cf-toggle-switch .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.cf-toggle-switch .btn-success.disabled,.cf-toggle-switch .btn-success.disabled.active,.cf-toggle-switch .btn-success.disabled:active,.cf-toggle-switch .btn-success.disabled:focus,.cf-toggle-switch .btn-success.disabled:hover,.cf-toggle-switch .btn-success[disabled],.cf-toggle-switch .btn-success[disabled].active,.cf-toggle-switch .btn-success[disabled]:active,.cf-toggle-switch .btn-success[disabled]:focus,.cf-toggle-switch .btn-success[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-success,.cf-toggle-switch fieldset[disabled] .btn-success.active,.cf-toggle-switch fieldset[disabled] .btn-success:active,.cf-toggle-switch fieldset[disabled] .btn-success:focus,.cf-toggle-switch fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.cf-toggle-switch .btn-success .badge{color:#5cb85c;background-color:#fff}.cf-toggle-switch .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.cf-toggle-switch .btn-info.active,.cf-toggle-switch .btn-info:active,.cf-toggle-switch .btn-info:focus,.cf-toggle-switch .btn-info:hover,.cf-toggle-switch .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.cf-toggle-switch .btn-info.disabled,.cf-toggle-switch .btn-info.disabled.active,.cf-toggle-switch .btn-info.disabled:active,.cf-toggle-switch .btn-info.disabled:focus,.cf-toggle-switch .btn-info.disabled:hover,.cf-toggle-switch .btn-info[disabled],.cf-toggle-switch .btn-info[disabled].active,.cf-toggle-switch .btn-info[disabled]:active,.cf-toggle-switch .btn-info[disabled]:focus,.cf-toggle-switch .btn-info[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-info,.cf-toggle-switch fieldset[disabled] .btn-info.active,.cf-toggle-switch fieldset[disabled] .btn-info:active,.cf-toggle-switch fieldset[disabled] .btn-info:focus,.cf-toggle-switch fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.cf-toggle-switch .btn-info .badge{color:#5bc0de;background-color:#fff}.cf-toggle-switch .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.cf-toggle-switch .btn-warning.active,.cf-toggle-switch .btn-warning:active,.cf-toggle-switch .btn-warning:focus,.cf-toggle-switch .btn-warning:hover,.cf-toggle-switch .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.cf-toggle-switch .btn-warning.disabled,.cf-toggle-switch .btn-warning.disabled.active,.cf-toggle-switch .btn-warning.disabled:active,.cf-toggle-switch .btn-warning.disabled:focus,.cf-toggle-switch .btn-warning.disabled:hover,.cf-toggle-switch .btn-warning[disabled],.cf-toggle-switch .btn-warning[disabled].active,.cf-toggle-switch .btn-warning[disabled]:active,.cf-toggle-switch .btn-warning[disabled]:focus,.cf-toggle-switch .btn-warning[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-warning,.cf-toggle-switch fieldset[disabled] .btn-warning.active,.cf-toggle-switch fieldset[disabled] .btn-warning:active,.cf-toggle-switch fieldset[disabled] .btn-warning:focus,.cf-toggle-switch fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.cf-toggle-switch .btn-warning .badge{color:#f0ad4e;background-color:#fff}.cf-toggle-switch .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.cf-toggle-switch .btn-danger.active,.cf-toggle-switch .btn-danger:active,.cf-toggle-switch .btn-danger:focus,.cf-toggle-switch .btn-danger:hover,.cf-toggle-switch .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.cf-toggle-switch .btn-danger.disabled,.cf-toggle-switch .btn-danger.disabled.active,.cf-toggle-switch .btn-danger.disabled:active,.cf-toggle-switch .btn-danger.disabled:focus,.cf-toggle-switch .btn-danger.disabled:hover,.cf-toggle-switch .btn-danger[disabled],.cf-toggle-switch .btn-danger[disabled].active,.cf-toggle-switch .btn-danger[disabled]:active,.cf-toggle-switch .btn-danger[disabled]:focus,.cf-toggle-switch .btn-danger[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-danger,.cf-toggle-switch fieldset[disabled] .btn-danger.active,.cf-toggle-switch fieldset[disabled] .btn-danger:active,.cf-toggle-switch fieldset[disabled] .btn-danger:focus,.cf-toggle-switch fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.cf-toggle-switch .btn-danger .badge{color:#d9534f;background-color:#fff}.cf-toggle-switch .btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.cf-toggle-switch .btn-link,.cf-toggle-switch .btn-link:active,.cf-toggle-switch .btn-link[disabled],.cf-toggle-switch fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-link,.cf-toggle-switch .btn-link:active,.cf-toggle-switch .btn-link:focus,.cf-toggle-switch .btn-link:hover{border-color:transparent}.cf-toggle-switch .btn-link:focus,.cf-toggle-switch .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.cf-toggle-switch .btn-link[disabled]:focus,.cf-toggle-switch .btn-link[disabled]:hover,.cf-toggle-switch fieldset[disabled] .btn-link:focus,.cf-toggle-switch fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.cf-toggle-switch .btn-group-lg>.btn,.cf-toggle-switch .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-toggle-switch .btn-group-sm>.btn,.cf-toggle-switch .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-toggle-switch .btn-group-xs>.btn,.cf-toggle-switch .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.cf-toggle-switch .btn-group-vertical>.btn:not(:first-child):not(:last-child),.cf-toggle-switch .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.cf-toggle-switch .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.cf-toggle-switch .btn-block{display:block;width:100%;padding-left:0;padding-right:0}.cf-toggle-switch .btn-block+.btn-block{margin-top:5px}.cf-toggle-switch input[type=button].btn-block,.cf-toggle-switch input[type=reset].btn-block,.cf-toggle-switch input[type=submit].btn-block{width:100%}.cf-toggle-switch .btn-group,.cf-toggle-switch .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.cf-toggle-switch .btn-group-vertical>.btn,.cf-toggle-switch .btn-group>.btn{position:relative;float:left}.cf-toggle-switch .btn-group-vertical>.btn.active,.cf-toggle-switch .btn-group-vertical>.btn:active,.cf-toggle-switch .btn-group-vertical>.btn:focus,.cf-toggle-switch .btn-group-vertical>.btn:hover,.cf-toggle-switch .btn-group>.btn.active,.cf-toggle-switch .btn-group>.btn:active,.cf-toggle-switch .btn-group>.btn:focus,.cf-toggle-switch .btn-group>.btn:hover{z-index:2}.cf-toggle-switch .btn-group .btn+.btn,.cf-toggle-switch .btn-group .btn+.btn-group,.cf-toggle-switch .btn-group .btn-group+.btn,.cf-toggle-switch .btn-group .btn-group+.btn-group{margin-left:-1px}.cf-toggle-switch .btn-toolbar{margin-left:-5px}.cf-toggle-switch .btn-toolbar>.btn,.cf-toggle-switch .btn-toolbar>.btn-group,.cf-toggle-switch .btn-toolbar>.input-group{margin-left:5px}.cf-toggle-switch .btn .caret,.cf-toggle-switch .btn-group>.btn:first-child{margin-left:0}.cf-toggle-switch .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-toggle-switch .btn-group>.btn:last-child:not(:first-child),.cf-toggle-switch .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group>.btn-group:first-child>.btn:last-child,.cf-toggle-switch .btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.cf-toggle-switch .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.cf-toggle-switch .btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.cf-toggle-switch .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.cf-toggle-switch .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.cf-toggle-switch .btn-lg .caret{border-width:5px 5px 0}.cf-toggle-switch .dropup .btn-lg .caret{border-width:0 5px 5px}.cf-toggle-switch .btn-group-vertical>.btn,.cf-toggle-switch .btn-group-vertical>.btn-group,.cf-toggle-switch .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.cf-toggle-switch .btn-group-vertical>.btn-group>.btn{float:none}.cf-toggle-switch .btn-group-vertical>.btn+.btn,.cf-toggle-switch .btn-group-vertical>.btn+.btn-group,.cf-toggle-switch .btn-group-vertical>.btn-group+.btn,.cf-toggle-switch .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.cf-toggle-switch .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.cf-toggle-switch .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.cf-toggle-switch .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.cf-toggle-switch .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.cf-toggle-switch .btn-group-justified>.btn,.cf-toggle-switch .btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.cf-toggle-switch .btn-group-justified>.btn-group .btn{width:100%}.cf-toggle-switch [data-toggle=buttons]>.btn>input[type=checkbox],.cf-toggle-switch [data-toggle=buttons]>.btn>input[type=radio]{display:none}.cf-toggle-switch .btn-group-vertical>.btn-group:after,.cf-toggle-switch .btn-group-vertical>.btn-group:before,.cf-toggle-switch .btn-toolbar:after,.cf-toggle-switch .btn-toolbar:before,.cf-toggle-switch .clearfix:after,.cf-toggle-switch .clearfix:before{content:" ";display:table}.cf-toggle-switch .btn-group-vertical>.btn-group:after,.cf-toggle-switch .btn-toolbar:after,.cf-toggle-switch .clearfix:after{clear:both}.cf-toggle-switch .center-block{display:block;margin-left:auto;margin-right:auto}.cf-toggle-switch .pull-right{float:right!important}.cf-toggle-switch .pull-left{float:left!important}.cf-toggle-switch .hide{display:none!important}.cf-toggle-switch .show{display:block!important}.cf-toggle-switch .invisible{visibility:hidden}.cf-toggle-switch .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.cf-toggle-switch .hidden{display:none!important;visibility:hidden!important}.cf-toggle-switch .affix{position:fixed}@-ms-viewport{width:device-width}.cf-toggle-switch .visible-lg,.cf-toggle-switch .visible-md,.cf-toggle-switch .visible-print,.cf-toggle-switch .visible-sm,.cf-toggle-switch .visible-xs{display:none!important}@media (max-width:767px){.cf-toggle-switch .visible-xs{display:block!important}.cf-toggle-switch table.visible-xs{display:table}.cf-toggle-switch tr.visible-xs{display:table-row!important}.cf-toggle-switch td.visible-xs,.cf-toggle-switch th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-toggle-switch .visible-sm{display:block!important}.cf-toggle-switch table.visible-sm{display:table}.cf-toggle-switch tr.visible-sm{display:table-row!important}.cf-toggle-switch td.visible-sm,.cf-toggle-switch th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-toggle-switch .visible-md{display:block!important}.cf-toggle-switch table.visible-md{display:table}.cf-toggle-switch tr.visible-md{display:table-row!important}.cf-toggle-switch td.visible-md,.cf-toggle-switch th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-toggle-switch .visible-lg{display:block!important}.cf-toggle-switch table.visible-lg{display:table}.cf-toggle-switch tr.visible-lg{display:table-row!important}.cf-toggle-switch td.visible-lg,.cf-toggle-switch th.visible-lg{display:table-cell!important}.cf-toggle-switch .hidden-lg{display:none!important}}@media (max-width:767px){.cf-toggle-switch .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-toggle-switch .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-toggle-switch .hidden-md{display:none!important}}@media print{.cf-toggle-switch .visible-print{display:block!important}.cf-toggle-switch table.visible-print{display:table}.cf-toggle-switch tr.visible-print{display:table-row!important}.cf-toggle-switch td.visible-print,.cf-toggle-switch th.visible-print{display:table-cell!important}.cf-toggle-switch .hidden-print{display:none!important}}.cf-toggle-group-buttons{width:100%;clear:both}input.form-control.parsley-success,select.form-control.parsley-success,textarea.form-control.parsley-success{color:#468847;background-color:#DFF0D8;border-color:#D6E9C6}input.form-control.parsley-error,select.form-control.parsley-error,textarea.form-control.parsley-error{color:#B94A48;background-color:#F2DEDE;border-color:#EED3D7}.form-control.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;color:#468847;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.form-control.parsley-errors-list.filled{opacity:1}.breadcrumb a.has-error{color:red}.form-group .parsley-errors-list.filled,.form-group .parsley-errors-list.filled .parsley-type{list-style:none}.caldera-grid .cf-multi-uploader-list>ul{list-style:none;margin:0 0 12px;padding:0}.caldera-grid .cf-multi-uploader-list>ul>li{margin:0;padding:0 0 22px;position:relative;clear:both}.caldera-grid .cf-multi-uploader-list>ul>li .file-name{display:inline-block;font-weight:700;left:16px;right:0;overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap}.caldera-grid .cf-multi-uploader-list>ul>li .file-name.file-uploaded{left:0}.caldera-grid .cf-multi-uploader-list>ul>li .file-size{float:right}.caldera-grid .cf-multi-uploader-list>ul>li .file-type{float:left}.caldera-grid .cf-multi-uploader-list>ul>li .file-error{clear:both;display:block}.caldera-grid .cf-multi-uploader-list>ul>li .cf-file-remove{color:#cf0000;text-decoration:none;border:0}.caldera-grid .cf-multi-uploader-list>ul>li.has-error .bar{background-color:#cf0000!important}.caldera-grid .cf-multi-uploader-list>ul>li.has-error{color:#cf0000}.has-error.cf-toggle-switch .cf-toggle-group-buttons>a{background-color:#f2dede;border-color:#dd4b39}.cfdatepicker{z-index:10011!important}
assets/build/css/caldera-grid.min.css CHANGED
File without changes
assets/build/css/caldera-modals.min.css CHANGED
File without changes
assets/build/css/caldera-table.min.css CHANGED
File without changes
assets/build/css/cfont.min.css CHANGED
File without changes
assets/build/css/dashicon.min.css CHANGED
File without changes
assets/build/css/editor-grid.min.css CHANGED
File without changes
assets/build/css/entry-viewer-2.min.css CHANGED
File without changes
assets/build/css/fields.min.css CHANGED
File without changes
assets/build/css/fonts/caldera-forms.eot CHANGED
File without changes
assets/build/css/fonts/caldera-forms.svg CHANGED
File without changes
assets/build/css/fonts/caldera-forms.ttf CHANGED
File without changes
assets/build/css/fonts/caldera-forms.woff CHANGED
File without changes
assets/build/css/fonts/cf-raty.eot CHANGED
File without changes
assets/build/css/fonts/cf-raty.svg CHANGED
File without changes
assets/build/css/fonts/cf-raty.ttf CHANGED
File without changes
assets/build/css/fonts/cf-raty.woff CHANGED
File without changes
assets/build/css/fonts/cfont.eot CHANGED
File without changes
assets/build/css/fonts/cfont.svg CHANGED
File without changes
assets/build/css/fonts/cfont.ttf CHANGED
File without changes
assets/build/css/fonts/cfont.woff CHANGED
File without changes
assets/build/css/fonts/icon.eot CHANGED
File without changes
assets/build/css/fonts/icon.svg CHANGED
File without changes
assets/build/css/fonts/icon.ttf CHANGED
File without changes
assets/build/css/fonts/icon.woff CHANGED
File without changes
assets/build/css/minicolor-colors.png CHANGED
File without changes
assets/build/css/minicolor-trigger.png CHANGED
File without changes
assets/build/css/modals.min.css CHANGED
File without changes
assets/build/css/processors-edit.min.css CHANGED
File without changes
assets/build/css/remodal-default-theme.min.css CHANGED
File without changes
assets/build/css/remodal.min.css CHANGED
File without changes
assets/build/css/theme-default.min.css CHANGED
File without changes
assets/build/images/align-justify.svg CHANGED
File without changes
assets/build/images/calculator.svg CHANGED
File without changes
assets/build/images/caldera-globe-logo-sm.png CHANGED
File without changes
assets/build/images/cart-plus.svg CHANGED
File without changes
assets/build/images/cc-amex.svg CHANGED
File without changes
assets/build/images/cc-discover.svg CHANGED
File without changes
assets/build/images/cc-mastercard.svg CHANGED
File without changes
assets/build/images/cc-paypal.svg CHANGED
File without changes
assets/build/images/cc-stripe.svg CHANGED
File without changes
assets/build/images/cc-visa.svg CHANGED
File without changes
assets/build/images/cf-pro-logo.png CHANGED
File without changes
assets/build/images/chain.svg CHANGED
File without changes
assets/build/images/checkmark.png CHANGED
File without changes
assets/build/images/cloud-upload.svg CHANGED
File without changes
assets/build/images/cog.svg CHANGED
File without changes
assets/build/images/credit-card.svg CHANGED
File without changes
assets/build/images/envelope-o.svg CHANGED
File without changes
assets/build/images/envelope-square.svg CHANGED
File without changes
assets/build/images/eye.svg CHANGED
File without changes
assets/build/images/field.png CHANGED
File without changes
assets/build/images/folder-open-o.svg CHANGED
File without changes
assets/build/images/howto.gif CHANGED
File without changes
assets/build/images/lgo-icon.png CHANGED
File without changes
assets/build/images/list.svg CHANGED
File without changes
assets/build/images/loading.gif CHANGED
File without changes
assets/build/images/lock.svg CHANGED
File without changes
assets/build/images/mobile.svg CHANGED
File without changes
assets/build/images/new-icon.png CHANGED
File without changes
assets/build/images/paint-brush.svg CHANGED
File without changes
assets/build/images/paypal.svg CHANGED
File without changes
assets/build/images/plus.svg CHANGED
File without changes
assets/build/images/processor.png CHANGED
File without changes
assets/build/images/ra.svg CHANGED
File without changes
assets/build/images/slack.svg CHANGED
File without changes
assets/build/images/star.svg CHANGED
File without changes
assets/build/images/user.svg CHANGED
File without changes
assets/build/images/volume-control-phone.svg CHANGED
File without changes
assets/build/images/wordpress.svg CHANGED
File without changes
assets/build/js/ajax-core.min.js CHANGED
@@ -1 +1 @@
1
- var resBaldrickTriggers;jQuery(function(a){var b=[],c=function(c,d,e){var f=a("#progress-file-"+d),g=a("."+d+" .file-size");b.push(1),cf_uploader_filelist[d].state=2,a.ajax({xhr:function(){var a=new window.XMLHttpRequest;return a.upload.addEventListener("progress",function(a){if(a.lengthComputable){var b=a.loaded/a.total*100;f.width(b+"%"),g.html(size_format(a.loaded)+" / "+size_format(a.total))}},!1),a.addEventListener("progress",function(a){if(a.lengthComputable){a.loaded,a.total}},!1),a},url:c.data("request")+"/upload/",type:"POST",data:e,processData:!1,contentType:!1,success:function(e,f,g){if(e.success&&!0===e.success){b.pop();var h=a('[data-file="'+d+'"]');h.next().addClass("file-uploaded"),h.remove(),cf_uploader_filelist[d].state=3,c.submit()}else if(e.data&&!e.success)return a("."+d).addClass("has-error"),c.find(":submit").prop("disabled",!1),c.find(".cf-uploader-trigger").slideDown(),void a("."+d+" .file-error").html(e.data)},error:function(a,b,d){c.data("postDisable")||buttons.prop("disabled",!1)}})};(resBaldrickTriggers=function(){var d=function(b){return a("#caldera_notices_"+b.params.trigger.data("instance"))},e=function(b){return a("#caldera-forms-breadcrumb_"+b.params.trigger.data("instance"))},f=function(a){var b=e(a);b.length&&b.show().attr("aria-hidden",!1).css("visibility","visible")},g=function(a){var b=e(a);b.length&&b.show().attr("aria-hidden",!0).css("visibility","hidden")};a(".cfajax-trigger").baldrick({request:"./",method:"POST",init:function(d,e){e.preventDefault();var f=a(d),g=f.find(":submit");if(f.data("_cf_manual"))return f.find('[name="cfajax"]').remove(),!1;if(f.data("postDisable")||g.prop("disabled",!0),"object"==typeof cf_uploader_filelist){f.find(".cf-uploader-trigger").slideUp();var h=!1,i=b.length;for(var j in cf_uploader_filelist)if(!(cf_uploader_filelist[j].state>1||0===cf_uploader_filelist[j].state)){h=!0;var k=new FormData,l=j,m=a("#"+l.split("_file_")[0]);if(k.append(m.data("field"),cf_uploader_filelist[j].file),k.append("field",m.data("field")),k.append("control",m.data("controlid")),c(f,l,k),1===++i)break}if(!0===h||b.length)return!1}},error:function(b){if(404===b.jqxhr.status)this.trigger.data("_cf_manual",!0).trigger("submit");else{var c=d(b);b.jqxhr.responseJSON.data.html&&(c.html(b.jqxhr.responseJSON.data.html),a("html,body").animate({scrollTop:c.offset().top-c.outerHeight()},300))}},callback:function(b){b.params.trigger.find(":submit").prop("disabled",!1);var c=d(b);if(b.params.trigger.data("customCallback")&&"function"==typeof window[b.params.trigger.data("customCallback")]&&window[b.params.trigger.data("customCallback")](b.data),b.params.trigger.data("inhibitnotice")||(a(".caldera_ajax_error_wrap").removeClass("caldera_ajax_error_wrap").removeClass("has-error"),a(".caldera_ajax_error_block").remove(),"complete"===b.data.status||"success"===b.data.type?(g(b),b.data.html&&b.params.target.html(b.data.html),b.params.trigger.data("hiderows")&&b.params.trigger.find("div.row").remove()):"preprocess"===b.data.status?(f(b),b.params.target.html(b.data.html)):"error"===b.data.status&&(f(b),b.params.target.html(b.data.html))),"complete"!==b.data.status&&"success"!==b.data.type||b.data.entry||b.params.trigger[0].reset(),b.data.url&&(b.params.trigger.hide(),window.location=b.data.url),b.params.trigger.find(".cf-uploader-trigger").slideDown(),b.data.fields)for(var e in b.data.fields){var h=b.params.trigger.find('[data-field="'+e+'"]'),i=h.parent();if(h.length){i.is("label")&&(i=i.parent(),(i.hasClass("checkbox")||i.hasClass("radio"))&&(i=i.parent()));var j=i.find(".help-block").not(".caldera_ajax_error_block");i.addClass("has-error").addClass("caldera_ajax_error_wrap"),j.length&&j.hide(),i.append('<span class="help-block caldera_ajax_error_block">'+b.data.fields[e]+"</span>")}else c.html('<p class="alert alert-danger ">'+b.data.fields[e]+"</p>")}if("undefined"!=b.data.scroll){var k=document.getElementById(b.data.scroll);if(null!=k){var l=a(k);a("html,body").animate({scrollTop:l.offset().top-l.outerHeight()-12},300)}}a(document).trigger("cf.submission",b),a(document).trigger("cf."+b.data.type)}})})()});var resBaldrickTriggers;jQuery(function(a){var b=[],c=function(c,d,e){var f=a("#progress-file-"+d),g=a("."+d+" .file-size");b.push(1),cf_uploader_filelist[d].state=2,a.ajax({xhr:function(){var a=new window.XMLHttpRequest;return a.upload.addEventListener("progress",function(a){if(a.lengthComputable){var b=a.loaded/a.total*100;f.width(b+"%"),g.html(size_format(a.loaded)+" / "+size_format(a.total))}},!1),a.addEventListener("progress",function(a){a.lengthComputable&&(a.loaded,a.total)},!1),a},url:c.data("request")+"/upload/",type:"POST",data:e,processData:!1,contentType:!1,success:function(e,f,g){if(e.success&&!0===e.success){b.pop();var h=a('[data-file="'+d+'"]');h.next().addClass("file-uploaded"),h.remove(),cf_uploader_filelist[d].state=3,c.submit()}else if(e.data&&!e.success)return a("."+d).addClass("has-error"),c.find(":submit").prop("disabled",!1),c.find(".cf-uploader-trigger").slideDown(),void a("."+d+" .file-error").html(e.data)},error:function(a,b,d){c.data("postDisable")||buttons.prop("disabled",!1)}})};(resBaldrickTriggers=function(){a(".cfajax-trigger").baldrick({request:"./",method:"POST",init:function(d,e){e.preventDefault();var f=a(d),g=f.find(":submit");if(f.data("_cf_manual"))return f.find('[name="cfajax"]').remove(),!1;if(f.data("postDisable")||g.prop("disabled",!0),"object"==typeof cf_uploader_filelist){f.find(".cf-uploader-trigger").slideUp();var h=!1,i=b.length;for(var j in cf_uploader_filelist)if(!(cf_uploader_filelist[j].state>1||0===cf_uploader_filelist[j].state)){h=!0;var k=new FormData,l=j,m=a("#"+l.split("_file_")[0]);if(k.append(m.data("field"),cf_uploader_filelist[j].file),k.append("field",m.data("field")),k.append("control",m.data("controlid")),c(f,l,k),1===++i)break}if(!0===h||b.length)return!1}},error:function(a){404===a.jqxhr.status&&this.trigger.data("_cf_manual",!0).trigger("submit")},callback:function(b){if(b.params.trigger.find(":submit").prop("disabled",!1),b.params.trigger.data("instance"),b.params.trigger.data("customCallback")&&"function"==typeof window[b.params.trigger.data("customCallback")]&&window[b.params.trigger.data("customCallback")](b.data),b.params.trigger.data("inhibitnotice")||(a(".caldera_ajax_error_wrap").removeClass("caldera_ajax_error_wrap").removeClass("has-error"),a(".caldera_ajax_error_block").remove(),"complete"===b.data.status||"success"===b.data.type?(b.data.html&&b.params.target.html(b.data.html),b.params.trigger.data("hiderows")&&b.params.trigger.find("div.row").remove()):"preprocess"===b.data.status?b.params.target.html(b.data.html):"error"===b.data.status&&b.params.target.html(b.data.html)),"complete"!==b.data.status&&"success"!==b.data.type||b.data.entry||b.params.trigger[0].reset(),b.data.url&&(b.params.trigger.hide(),window.location=b.data.url),b.params.trigger.find(".cf-uploader-trigger").slideDown(),b.data.fields)for(var c in b.data.fields){var d=b.params.trigger.find('[data-field="'+c+'"]'),e=d.parent();e.is("label")&&(e=e.parent(),(e.hasClass("checkbox")||e.hasClass("radio"))&&(e=e.parent()));var f=e.find(".help-block").not(".caldera_ajax_error_block");e.addClass("has-error").addClass("caldera_ajax_error_wrap"),f.length&&f.hide(),e.append('<span class="help-block caldera_ajax_error_block">'+b.data.fields[c]+"</span>")}a(document).trigger("cf.submission",b),a(document).trigger("cf."+b.data.type)}})})()});
1
+ var resBaldrickTriggers;jQuery(function(a){var b=[],c=function(c,d,e){var f=a("#progress-file-"+d),g=a("."+d+" .file-size");b.push(1),cf_uploader_filelist[d].state=2,a.ajax({xhr:function(){var a=new window.XMLHttpRequest;return a.upload.addEventListener("progress",function(a){if(a.lengthComputable){var b=a.loaded/a.total*100;f.width(b+"%"),g.html(size_format(a.loaded)+" / "+size_format(a.total))}},!1),a.addEventListener("progress",function(a){if(a.lengthComputable){a.loaded,a.total}},!1),a},url:c.data("request")+"/upload/",type:"POST",data:e,processData:!1,contentType:!1,success:function(e,f,g){if(e.success&&!0===e.success){b.pop();var h=a('[data-file="'+d+'"]');h.next().addClass("file-uploaded"),h.remove(),cf_uploader_filelist[d].state=3,c.submit()}else if(e.data&&!e.success)return a("."+d).addClass("has-error"),c.find(":submit").prop("disabled",!1),c.find(".cf-uploader-trigger").slideDown(),void a("."+d+" .file-error").html(e.data)},error:function(a,b,d){c.data("postDisable")||buttons.prop("disabled",!1)}})};(resBaldrickTriggers=function(){var d=function(b){return a("#caldera_notices_"+b.params.trigger.data("instance"))},e=function(b){return a("#caldera-forms-breadcrumb_"+b.params.trigger.data("instance"))},f=function(a){var b=e(a);b.length&&b.show().attr("aria-hidden",!1).css("visibility","visible")},g=function(a){var b=e(a);b.length&&b.show().attr("aria-hidden",!0).css("visibility","hidden")};a(".cfajax-trigger").baldrick({request:"./",method:"POST",init:function(d,e){e.preventDefault();var f=a(d),g=f.find(":submit");if(f.data("_cf_manual"))return f.find('[name="cfajax"]').remove(),!1;if(f.data("postDisable")||g.prop("disabled",!0),"object"==typeof cf_uploader_filelist){f.find(".cf-uploader-trigger").slideUp();var h=!1,i=b.length;for(var j in cf_uploader_filelist)if(!(cf_uploader_filelist[j].state>1||0===cf_uploader_filelist[j].state)){h=!0;var k=new FormData,l=j,m=a("#"+l.split("_file_")[0]);if(k.append(m.data("field"),cf_uploader_filelist[j].file),k.append("field",m.data("field")),k.append("control",m.data("controlid")),c(f,l,k),m.val(""),m.attr("type","hidden"),m.val(m.data("controlid")),1===++i)break}if(!0===h||b.length)return!1}},error:function(b){if(404===b.jqxhr.status)this.trigger.data("_cf_manual",!0).trigger("submit");else{var c=d(b);b.jqxhr.responseJSON.data.html&&(c.html(b.jqxhr.responseJSON.data.html),a("html,body").animate({scrollTop:c.offset().top-c.outerHeight()},300))}},callback:function(b){b.params.trigger.find(":submit").prop("disabled",!1);var c=d(b);if(b.params.trigger.data("customCallback")&&"function"==typeof window[b.params.trigger.data("customCallback")]&&window[b.params.trigger.data("customCallback")](b.data),b.params.trigger.data("inhibitnotice")||(a(".caldera_ajax_error_wrap").removeClass("caldera_ajax_error_wrap").removeClass("has-error"),a(".caldera_ajax_error_block").remove(),"complete"===b.data.status||"success"===b.data.type?(g(b),b.data.html&&b.params.target.html(b.data.html),b.params.trigger.data("hiderows")&&b.params.trigger.find("div.row").remove()):"preprocess"===b.data.status?(f(b),b.params.target.html(b.data.html)):"error"===b.data.status&&(f(b),b.params.target.html(b.data.html))),"complete"!==b.data.status&&"success"!==b.data.type||b.data.entry||b.params.trigger[0].reset(),b.data.url&&(b.params.trigger.hide(),window.location=b.data.url),b.params.trigger.find(".cf-uploader-trigger").slideDown(),b.data.fields)for(var e in b.data.fields){var h=b.params.trigger.find('[data-field="'+e+'"]'),i=h.parent();if(h.length){i.is("label")&&(i=i.parent(),(i.hasClass("checkbox")||i.hasClass("radio"))&&(i=i.parent()));var j=i.find(".help-block").not(".caldera_ajax_error_block");i.addClass("has-error").addClass("caldera_ajax_error_wrap"),j.length&&j.hide(),i.append('<span class="help-block caldera_ajax_error_block">'+b.data.fields[e]+"</span>")}else c.html('<p class="alert alert-danger ">'+b.data.fields[e]+"</p>")}if("undefined"!=b.data.scroll){var k=document.getElementById(b.data.scroll);if(null!=k){var l=a(k);a("html,body").animate({scrollTop:l.offset().top-l.outerHeight()-12},300)}}a(document).trigger("cf.submission",b),a(document).trigger("cf."+b.data.type)}})})()});var resBaldrickTriggers;jQuery(function(a){var b=[],c=function(c,d,e){var f=a("#progress-file-"+d),g=a("."+d+" .file-size");b.push(1),cf_uploader_filelist[d].state=2,a.ajax({xhr:function(){var a=new window.XMLHttpRequest;return a.upload.addEventListener("progress",function(a){if(a.lengthComputable){var b=a.loaded/a.total*100;f.width(b+"%"),g.html(size_format(a.loaded)+" / "+size_format(a.total))}},!1),a.addEventListener("progress",function(a){a.lengthComputable&&(a.loaded,a.total)},!1),a},url:c.data("request")+"/upload/",type:"POST",data:e,processData:!1,contentType:!1,success:function(e,f,g){if(e.success&&!0===e.success){b.pop();var h=a('[data-file="'+d+'"]');h.next().addClass("file-uploaded"),h.remove(),cf_uploader_filelist[d].state=3,c.submit()}else if(e.data&&!e.success)return a("."+d).addClass("has-error"),c.find(":submit").prop("disabled",!1),c.find(".cf-uploader-trigger").slideDown(),void a("."+d+" .file-error").html(e.data)},error:function(a,b,d){c.data("postDisable")||buttons.prop("disabled",!1)}})};(resBaldrickTriggers=function(){a(".cfajax-trigger").baldrick({request:"./",method:"POST",init:function(d,e){e.preventDefault();var f=a(d),g=f.find(":submit");if(f.data("_cf_manual"))return f.find('[name="cfajax"]').remove(),!1;if(f.data("postDisable")||g.prop("disabled",!0),"object"==typeof cf_uploader_filelist){f.find(".cf-uploader-trigger").slideUp();var h=!1,i=b.length;for(var j in cf_uploader_filelist)if(!(cf_uploader_filelist[j].state>1||0===cf_uploader_filelist[j].state)){h=!0;var k=new FormData,l=j,m=a("#"+l.split("_file_")[0]);if(k.append(m.data("field"),cf_uploader_filelist[j].file),k.append("field",m.data("field")),k.append("control",m.data("controlid")),c(f,l,k),1===++i)break}if(!0===h||b.length)return!1}},error:function(a){404===a.jqxhr.status&&this.trigger.data("_cf_manual",!0).trigger("submit")},callback:function(b){if(b.params.trigger.find(":submit").prop("disabled",!1),b.params.trigger.data("instance"),b.params.trigger.data("customCallback")&&"function"==typeof window[b.params.trigger.data("customCallback")]&&window[b.params.trigger.data("customCallback")](b.data),b.params.trigger.data("inhibitnotice")||(a(".caldera_ajax_error_wrap").removeClass("caldera_ajax_error_wrap").removeClass("has-error"),a(".caldera_ajax_error_block").remove(),"complete"===b.data.status||"success"===b.data.type?(b.data.html&&b.params.target.html(b.data.html),b.params.trigger.data("hiderows")&&b.params.trigger.find("div.row").remove()):"preprocess"===b.data.status?b.params.target.html(b.data.html):"error"===b.data.status&&b.params.target.html(b.data.html)),"complete"!==b.data.status&&"success"!==b.data.type||b.data.entry||b.params.trigger[0].reset(),b.data.url&&(b.params.trigger.hide(),window.location=b.data.url),b.params.trigger.find(".cf-uploader-trigger").slideDown(),b.data.fields)for(var c in b.data.fields){var d=b.params.trigger.find('[data-field="'+c+'"]'),e=d.parent();e.is("label")&&(e=e.parent(),(e.hasClass("checkbox")||e.hasClass("radio"))&&(e=e.parent()));var f=e.find(".help-block").not(".caldera_ajax_error_block");e.addClass("has-error").addClass("caldera_ajax_error_wrap"),f.length&&f.hide(),e.append('<span class="help-block caldera_ajax_error_block">'+b.data.fields[c]+"</span>")}a(document).trigger("cf.submission",b),a(document).trigger("cf."+b.data.type)}})})()});
assets/build/js/api/client.min.js CHANGED
File without changes
assets/build/js/api/stores.min.js CHANGED
File without changes
assets/build/js/caldera-clippy.min.js CHANGED
File without changes
assets/build/js/caldera-modals.min.js CHANGED
File without changes
assets/build/js/edit.min.js CHANGED
@@ -1,3 +1,3 @@
1
- function new_conditional_group(a){var b=a.trigger.data("id"),c="cl"+Math.round(18746582734*Math.random());return{group:[{id:"rw"+Math.round(98347598345*Math.random()),type:a.trigger.data("type"),lines:[{id:c}]}],id:b}}function new_conditional_line(a){var b=a.trigger.data("id"),c=a.trigger.data("group"),d=a.trigger.data("type"),e="cl"+Math.round(18746582734*Math.random());return{id:b,type:d,lineid:e,rowid:c,name:"config["+d+"]["+b+"][conditions][group]["+c+"]["+e+"]"}}function build_conditions_config(a){var b=JSON.parse(a.trigger.val());return b.id=a.trigger.data("id"),b}function pre_compile_templates(){for(var a=jQuery(".cf-editor-template"),b=0;b<a.length;b++)compiled_templates[a[b].id]=Handlebars.compile(a[b].innerHTML)}function get_compiled_template(a){return"object"!=typeof compiled_templates&&pre_compile_templates(),compiled_templates[a+"_tmpl"]?compiled_templates[a+"_tmpl"]:compiled_templates.noconfig_field_templ}function setup_field_type(a){return{id:a.trigger.prop("id")}}function check_required_bindings(a){var b,c=(jQuery(".caldera-header-save-button"),jQuery(".layout-form-field")),d=jQuery(".caldera-processor-nav"),e=!0;b=a?jQuery(a):jQuery(".caldera-config-field .required"),b.removeClass("has-error"),c.removeClass("has-error"),d.removeClass("has-error"),jQuery(".error-tag").remove(),required_errors={},b.each(function(a,b){var c=jQuery(b),d=c.closest(".caldera-config-editor-panel");if(b.value.length){if(c.hasClass("field-slug"))for(var f=jQuery(".field-slug").not(c),g=0;g<f.length;g++)if(f[g].value===b.value){var c=jQuery(f[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}if(c.hasClass("toggle_value_field"))for(var j=c.closest(".caldera-config-group").find(".toggle_value_field").not(c),g=0;g<j.length;g++)if(j[g].value===b.value){var c=jQuery(j[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}}else{required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1}});for(var f in required_errors)jQuery(".caldera-forms-options-form").find('a[href="#'+f+'"]').append('<span class="error-tag">'+required_errors[f]+"</span>");return jQuery(".caldera-conditional-field-set").trigger("change"),e}function cf_revisions_ui(){var a=CF_ADMIN.rest.revisions,b=document.getElementById("tmpl--revisions");if(null!==b){var c=jQuery("#caldera-forms-revisions-spinner");c.css({visibility:"visible",float:"none"}),jQuery.get(a,function(a){if(a.hasOwnProperty("message"))document.getElementById("caldera-forms-revisions").innerHTML='<p class="notice notice-large notice-info">'+a.message+"</p>";else{var d={revisions:a};revisions=a;var e=b.innerHTML,f=jQuery("#tmpl--revisions").html();e=Handlebars.compile(f),document.getElementById("caldera-forms-revisions").innerHTML=e(d)}c.css({visibility:"hidden",float:"none"}),jQuery("input[type=radio][name=caldera-forms-revision]").change(function(){jQuery("#caldera-forms-revision-go").attr("href",jQuery(this).data("edit")).css({display:"inline-block",visibility:"visible"}).attr("aria-hidden",!1)})}).fail(function(){c.css({visibility:"hidden",float:"none"})})}}function new_conditional_group(a){var b=a.trigger.data("id"),c="cl"+Math.round(18746582734*Math.random());return{group:[{id:"rw"+Math.round(98347598345*Math.random()),type:a.trigger.data("type"),lines:[{id:c}]}],id:b}}function new_conditional_line(a){var b=a.trigger.data("id"),c=a.trigger.data("group"),d=a.trigger.data("type"),e="cl"+Math.round(18746582734*Math.random());return{id:b,type:d,lineid:e,rowid:c,name:"config["+d+"]["+b+"][conditions][group]["+c+"]["+e+"]"}}function build_conditions_config(a){var b=JSON.parse(a.trigger.val());return b.id=a.trigger.data("id"),b}function setup_field_type(a){return{id:a.trigger.prop("id")}}function check_required_bindings(a){var b,c=(jQuery(".caldera-header-save-button"),jQuery(".layout-form-field")),d=jQuery(".caldera-processor-nav"),e=!0;b=a?jQuery(a):jQuery(".caldera-config-field .required"),b.removeClass("has-error"),c.removeClass("has-error"),d.removeClass("has-error"),jQuery(".error-tag").remove(),required_errors={},b.each(function(a,b){var c=jQuery(b),d=c.closest(".caldera-config-editor-panel");if(b.value.length){if(c.hasClass("field-slug"))for(var f=jQuery(".field-slug").not(c),g=0;g<f.length;g++)if(f[g].value===b.value){var c=jQuery(f[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}if(c.hasClass("toggle_value_field"))for(var j=c.closest(".caldera-config-group").find(".toggle_value_field").not(c),g=0;g<j.length;g++)if(j[g].value===b.value){var c=jQuery(j[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}}else{required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1}});for(var f in required_errors)jQuery(".caldera-forms-options-form").find('a[href="#'+f+'"]').append('<span class="error-tag">'+required_errors[f]+"</span>");return jQuery(".caldera-conditional-field-set").trigger("change"),e}var cfAdminAJAX;cfAdminAJAX="object"==typeof CF_ADMIN?CF_ADMIN.adminAjax:ajaxurl,jQuery(document).ready(function(a){function b(b){var d=a(b),e=d.val(),f=d.closest(".caldera-editor-field-config-wrapper"),g=f.find(".caldera-config-field-setup"),h=get_compiled_template(e),i=f.find(".field_config_string").val(),j=d.data("type");if(f.find(".caldera-config-group").show(),d.addClass("field-initialized"),i=i.length&&j===d.val()?JSON.parse(i):fieldtype_defaults[d.val()+"_cfg"],i||(i={}),i._id=d.data("field"),i._name="config[fields]["+d.data("field")+"][config]",h=a("<div>").html(h(i)),g.html(h.html()),"function"==typeof window[d.val()+"_init"]&&window[d.val()+"_init"](d.data("field"),g),fieldtype_defaults[d.val()+"_nosupport"]&&(fieldtype_defaults[d.val()+"_nosupport"].indexOf("hide_label")>=0&&f.find(".hide-label-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("caption")>=0&&f.find(".caption-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("required")>=0&&f.find(".required-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("custom_class")>=0&&f.find(".customclass-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("entry_list")>=0&&f.find(".entrylist-field").hide().find(".field-config").prop("checked",!1)),f.find(".toggle_show_values").trigger("change"),!a(".caldera-select-field-type").not(".field-initialized").length){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded"))c(d.data("field"));else{for(var k=a(".caldera-select-field-type.field-initialized"),l=0;l<k.length;l++)c(a(k[l]).data("field"));core_form.addClass("builder-loaded")}a(".caldera-header-save-button").prop("disabled",!1),rebuild_field_binding(),baldrickTriggers()}if(a(".color-field").length&&a(".color-field").wpColorPicker({change:function(b){var c=a(this);c.data("ev")&&clearTimeout(c.data("ev")),c.data("ev",setTimeout(function(){c.trigger("record")},200)),c.data("target")&&(a(c.data("target")).css(c.data("style"),c.val()),a(c.data("target")).val(c.val()))}}),["html","section_break"].indexOf(d.val())>=0){var m=f.find(".field-label");m.val()||m.val(d.val()+"__"+f.find(".field-id").val()).trigger("change")}}function c(b){var c=a("#"+b),d=c.find(".caldera-select-field-type"),e=d.val(),f=a('.layout-form-field[data-config="'+b+'"]'),g=f.find(".field_preview"),h=(a("#preview-"+e+"_tmpl").html(),get_compiled_template("preview-"+e)),i={id:b},j=c.find(".field-config");j.each(function(c,d){for(var e=a(d),f=e.prop("name").split("["+b+"]")[1].substr(1),g=f.substr(0,f.length-1).split("]["),h=e.is(":checkbox,:radio")?e.filter(":checked").val():e.val(),j={},k=g.length-1;k>=0;k--)if(k===g.length-1)j[g[k]]=h;else{var l=j;j={},j[g[k]]=l}a.extend(!0,i,j)}),g.html(h(i)),f.removeClass("button"),a(".preview-field-config").prop("disabled",!0)}function d(b){var c,d=a(".caldera-editor-fields-panel"),e=(a(".caldera-editor-groups-panel"),a(".caldera-group-nav")),f=a('[data-group="'+b+'"]'),g=f.find(".caldera-config-group-name"),h=f.find(".caldera-config-group-slug"),i=f.find(".caldera-config-group-desc"),j=f.find(".caldera-config-group-admin"),k=a(".active-group-name"),l=a(".active-group-slug"),m=a(".active-group-desc"),n=a(".active-group-admin"),o=a(".caldera-editor-fields-list ul"),p=f.find(".caldera-config-group-repeat"),q=a(".repeat-config-button"),r=(a(".caldera-editor-group-settings"),a(".caldera-config-group-remove"));a(".new-group-input").remove(),a(".new-field-input").remove(),e.removeClass("active"),d.show(),o.hide(),o.removeClass("active").find("li.active").removeClass("active"),o.hide(),f.addClass("active"),c=a(".caldera-editor-fields-list ul.active li"),c.length?r.hide():r.show(),a(".caldera-editor-field-config-wrapper").hide(),f.show(),k.val(g.val()),l.val(h.val()),m.val(i.val()),"1"===j.val()?n.prop("checked",!0):n.prop("checked",!1),"1"===p.val()?q.addClass("field-edit-open"):q.removeClass("field-edit-open")}var e=a("#save_indicator");a("#caldera-forms-restore-revision").on("click",function(b){b.preventDefault();var c=a(this);e.addClass("loading"),a.post({url:"admin.php?page=caldera-forms",data:{cf_edit_nonce:a("#cf_edit_nonce").val(),form:c.data("form"),cf_revision:a("#form_db_id_field").val(),restore:!0},success:function(){window.location=c.data("edit-link")}})}),a(".caldera-header-save-button").baldrick({method:"POST",request:"admin.php?page=caldera-forms",before:function(b,c){if(c.preventDefault(),!check_required_bindings())return!1;e.addClass("loading"),"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();var d=a(".caldera-forms-options-form").formJSON();return d.conditions&&(d.config.conditional_groups={conditions:d.conditions}),Object.keys(non_editor_fields).forEach(function(a){d[a]=non_editor_fields[a]}),a(b).data("cf_edit_nonce",d.cf_edit_nonce),a(b).data("_wp_http_referer",d._wp_http_referer),a(b).data("sender","ajax"),a(document).trigger("cf.presave",{config:d.config}),a(b).data("config",JSON.stringify(d.config)),!0},callback:function(b){if(!1===b.data){var c=a(".updated_notice_box");c.stop().animate({top:0},200,function(){setTimeout(function(){c.stop().animate({top:-75},200)},2e3)}),cf_revisions_ui()}},complete:function(b){a(".wrapper-instance-pane .field-config").prop("sabled",!1)}}),a("body").on("click",".toggle_processor_event input",function(b){var c=a(this),d=c.closest(".wrapper-instance-pane"),e=d.find(".caldera-config-processor-setup"),f=d.find(".caldera-config-processor-notice");c.is(":checked")?(c.parent().addClass("activated"),c.parent().find(".is_active").show().attr("aria-hidden",!1).css("visibility","visible"),c.parent().find(".not_active").hide().attr("aria-hidden",!0).css("visibility","hidden")):(c.parent().removeClass("activated"),c.parent().find(".is_active").hide().attr("aria-hidden",!0).css("visibility","hidden"),c.parent().find(".not_active").show().attr("aria-hidden",!1).css("visibility","visible")),d.find(".toggle_processor_event .activated").length?(e.slideDown(100),f.slideUp(100)):(e.slideUp(100),f.slideDown(100))}),a("body").on("click",".toggle_option_tab > a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href")),e=c.parent().find("a"),f=c.closest(".caldera-editor-config-wrapper").find(".wrapper-instance-pane");e.removeClass("button-primary"),f.hide(),d.show(),c.addClass("button-primary"),a(".caldera-conditionals-usetype").trigger("change")}),a(".caldera-editor-body").on("change",".caldera-select-field-type",function(a){b(this)}),a(".caldera-editor-body").on("click",".caldera-group-nav a",function(b){b.preventDefault(),d(a(this).attr("href").substr(1))}),a(".caldera-editor-body").on("click",".caldera-editor-fields-list a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href"));a(".new-group-input").remove(),a(".new-field-input").remove(),a(".caldera-editor-fields-list li.active").removeClass("active"),c.parent().addClass("active"),a(".caldera-editor-field-config-wrapper").hide(),d.show()}),a(".caldera-editor-body").on("click",".group-config-button",function(b){var c=a(this),d=a(".caldera-editor-group-settings"),e=c.closest(".caldera-editor-fields-panel"),f=a(".caldera-config-group-remove");e.find(".caldera-field-line").length?f.hide():f.show(),c.hasClass("field-edit-open")?(d.slideUp(100),c.removeClass("field-edit-open")):(d.slideDown(100),c.addClass("field-edit-open"))}),a(".caldera-editor-body").on("keydown",".field-config",function(b){a(this).is("textarea")||13===b.which&&b.preventDefault()}),a(".caldera-editor-body").on("change",".field-label",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").prop("id"),d=a('[data-field="'+c+'"]'),e=a("#"+c+" .caldera-editor-field-title, .layout-form-field.field-edit-open .layout_field_name"),f=a("#"+c+" .field-slug");d.find("a").html('<i class="icn-field"></i> '+this.value),e.text(this.value),"change"===b.type&&f.trigger("change"),rebuild_field_binding()}),a(".caldera-editor-body").on("change",".active-group-name",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name")),e=c.find("span");"focusout"!==b.type||this.value.length||(this.value="Group "+(parseInt(c.index())+1)),d.val(this.value),e.text(this.value)}),a(".caldera-editor-body").on("change",".active-group-slug",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val()),e=c.find(".caldera-config-group-slug"),f=(c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase());"focusout"!==b.type||this.value.length||(f=d.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase()),e.val(f),this.value=f}),a(".caldera-editor-body").on("change",".active-group-desc",function(b){b.preventDefault();var c=a(".caldera-group-nav.active");c.data("group");c.find(".caldera-config-group-desc").val(this.value)}),a(".caldera-editor-body").on("change",".active-group-admin",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val(),c.find(".caldera-config-group-admin"));c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase();a(this).prop("checked")?(d.val(1),c.addClass("is-admin")):(d.val(0),c.removeClass("is-admin"))}),a(".caldera-editor-body").on("click",".repeat-config-button",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find("a .group-type")),e=c.find(".caldera-config-group-repeat"),f=a(this);f.hasClass("field-edit-open")?(e.val("0"),d.removeClass("icn-repeat").addClass("icn-folder"),f.removeClass("field-edit-open")):(e.val("1"),d.addClass("icn-repeat").removeClass("icn-folder"),f.addClass("field-edit-open"))}),a(".caldera-editor-body").on("click",".delete-field",function(){var b=a(this),c=b.closest(".caldera-editor-field-config-wrapper").prop("id");confirm(b.data("confirm"))&&(a("#"+c).remove(),a('option[value="'+c+'"]').remove(),a('[data-bind="'+c+'"]').remove(),delete current_form_fields[c],a('[data-config="'+c+'"]').slideUp(200,function(){a(this).remove(),rebuild_field_binding(),a(document).trigger("field.removed")}))}),a(".caldera-editor-body").on("click",".add-new-group,.add-field",function(){var b=a(this);if(a(".new-group-input").remove(),a(".new-field-input").remove(),b.hasClass("add-field")){a('<input type="text" class="new-field-input block-input">').appendTo(a(".caldera-editor-fields-list ul.active")).focus()}else{a('<input type="text" class="new-group-input block-input">').appendTo(a(".caldera-editor-groups-panel")).focus()}}),a(".caldera-editor-body").on("change keypress",".new-group-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,e,f=this.value,g=a(this),h=a(".caldera-editor-groups-panel ul"),i=a(".caldera-editor-fields-list");if(f.length){c=Handlebars.compile(a("#caldera_group_line_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),name:f},h.append(c(e));a('<ul data-group="'+e.id+'">').hide().appendTo(i),g.remove(),d(e.id)}else g.remove()}),a(".caldera-editor-body").on("change keypress",".new-field-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,d,e,f=this.value,g=a(this),h=g.parent(),i=a(".caldera-editor-field-config"),j=a(".caldera-config-group-remove");if(f.length){j.hide(),c=Handlebars.compile(a("#caldera_field_line_templ").html()),d=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),label:f,slug:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),group:a(".caldera-group-nav.active").data("group")};var k=a(c(e));k.appendTo(h),i.append(d(e)),k.find("a").trigger("click"),g.remove()}else g.remove()}),a(".caldera-editor-body").on("change",".field-slug",function(b){this.value.length?this.value=this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase():"change"===b.type&&(this.value=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-label").val().split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase())}),a(".caldera-editor-body").on("click",".caldera-add-group",function(b){var c=a(this),d=c.data("group"),e=a("#"+d+"_panel_tmpl").html();c.parent().parent().append(e)}),a(".caldera-editor-body").on("click",".caldera-config-group-remove",function(b){var c=a(".active-group-slug").val();a('[data-group="'+c+'"]').hide(0,function(){a(this).remove();var b=a(".caldera-group-nav");b.length?b.first().find("a").trigger("click"):a(".caldera-editor-fields-panel").hide()})}),a("body").on("click",".set-current-field",function(b){b.preventDefault();var c=a(this);a("#"+c.data("field")+"_type").val(c.data("type")).trigger("change"),a("#"+c.data("field")+"_lable").focus(),a("#field_setup_baldrickModalCloser").trigger("click")}),a(".caldera-editor-body").on("change record",".field-config",function(b){var d=a(this),e=d.closest(".caldera-editor-field-config-wrapper");current_form_fields&&(d.prop("id")===e.prop("id")+"_lable"&&(current_form_fields[e.prop("id")].label=this.value),d.prop("id")===e.prop("id")+"_slug"&&(current_form_fields[e.prop("id")].slug=this.value),d.prop("id")===e.prop("id")+"_type"&&(current_form_fields[e.prop("id")].type=this.value),e.length&&c(e.prop("id")))}),a(".caldera-editor-body").on("focus",".caldera-field-bind",function(b){var c=a(this),d=this.value;if(b.type&&"focusin"===b.type)return c.removeClass("bound_field").addClass("reload-binding"),rebind_field_bindings(),void(this.value=d)}),a(".caldera-editor-body").on("change",".caldera-conditional-field-set",function(b){var c,d,e=a(this),f=e.parent().find(".compare-type"),g=e.data("condition"),h=e.data("id"),i="config["+g+"]["+h+"][conditions][group]["+e.data("row")+"]["+e.data("line")+"]",j=e.data("line"),k=a("#"+j+"_value"),l=k.find(".caldera-conditional-value-field").first(),m=[],n=this.value;if("{"!==n.substr(0,1)&&(c=a("#"+n),d=c.find(".field-button-type"),m=c.find(".caldera-config-group-toggle-options")),e.hasClass(".bind_init")&&e.addClass("bound_triggered"),l.length?l.val().length&&k.data("value",l.val()):0===k.val()?k.data("value",0):"0"===k.val()&&k.data("value","0"),f.show(),m.length){var o=m.find(".toggle_option_row"),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">';p+='<option value=""></option>',o.each(function(b,c){var d=a(c).find(".toggle_label_field"),e=d.data("option"),f="";k.data("value")&&(k.data("value").toString()!==e&&k.data("value").toString()!==a(c).find(".toggle_value_field").val()||(f=' selected="selected"')),p+='<option value="'+e+'"'+f+">"+d.val()+"</option>"}),p+="</select>"}else d&&"button"==d.val()?(f.val("is").hide(),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">',p+='<option value="click" '+("click"===k.data("value")?'selected="selected"':"")+">Click</option>",p+='<option value="dblclick" '+("dblclick"===k.data("value")?'selected="selected"':"")+">Double Click</option>",p+="</select>"):p='<input name="'+i+'[value]" type="text" class="caldera-conditional-value-field magic-tag-enabled" value="'+(k.data("value")?k.data("value"):"")+'" style="max-width: 205px;">';k.html(p),init_magic_tags()}),a(".caldera-editor-body").on("change",".caldera-conditionals-usetype",function(b){var c=a(this);"show"===this.value||"hide"===this.value||"disable"===this.value||"use"===this.value||"not"===this.value?(a("#"+c.data("id")+"_condition_group_add").show(),a("#"+c.data("id")+"_conditional_wrap").show()):(a("#"+c.data("id")+"_condition_group_add").hide(),a("#"+c.data("id")+"_conditional_wrap").hide())}),a(".caldera-editor-body").on("click",".remove-conditional-line",function(b){b.preventDefault();var c=a(this),d=c.closest(".caldera-condition-line"),e=c.closest(".caldera-condition-group");d.remove(),e.find(".caldera-condition-line").length||e.remove()}),a(".caldera-group-nav").first().find("a").trigger("click"),a(".caldera-editor-body").on("change",".toggle_show_values",function(b){var c=a(this),d=c.closest(".caldera-config-group-toggle-options"),e=d.find(".toggle_label_field"),f=d.find(".toggle_value_field, .toggle_calc_value_field"),g=d.find(".option-setting-label-for-value"),h=d.find(".option-setting-label-for-label"),i=(d.find(".option-group-control"),{width:"100%",display:"inline",float:"left"});c.prop("checked")?(f.show().css(i).attr("aria-hidden",!1),e.show().css(i).attr("aria-hidden",!1),g.show().css({display:"inline-block"}),h.css("display","inline")):(f.hide().attr("aria-hidden",!0),g.hide().attr("aria-hidden",!0),e.css("width",245),h.css("display","inline")),e.trigger("toggle.values"),init_magic_tags()}),a(".caldera-editor-body").on("change",".auto-populate-type",function(){a(this).closest(".wrapper-instance-pane").find(".auto-populate-options").trigger("change")}),a(".caldera-editor-body").on("change",".auto-populate-options",function(){var b=a(this),c=b.closest(".wrapper-instance-pane"),d=c.find(".caldera-config-group-toggle-options"),e=c.find(".caldera-config-group-auto-options"),f=e.find(".auto-populate-type");e.find(".auto-populate-type-panel").hide(),b.prop("checked")?(d.hide(),e.show()):(d.show(),e.hide()),e.find(".caldera-config-group-auto-"+f.val()).show()}),a("body").on("change",".pin-toggle-roles",function(){var b=a(this),c=a("#caldera-pin-rules");"1"===b.val()?c.show():c.hide()}),a("body").on("click",".magic-tag-init",function(b){a(this).prev().focus().trigger("init.magic")}),a("body").on("keyup focus select click init.magic",".magic-tag-enabled",function(b){init_magic_tags();var c=a(this),d=c.parent(),e=d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val()?d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val():"hidden",f=d.find(".magic-tags-autocomplete"),g=f.find("ul"),h=this.value,i=[],j="",k=this.selectionStart,l=this.selectionEnd;if(f.length&&f.data("focus"))return void b.preventDefault();if(c.data("tag",""),this.selectionEnd>this.selectionStart)j=this.value.substr(this.selectionStart,this.selectionEnd-this.selectionStart);else if(("select"===b.type||"keyup"===b.type)&&40!==b.which&&38!==b.which&&39!==b.which&&37!==b.which){for(k=this.selectionStart;k>0;k--){var m=h.substr(k-1,1);if(" "===m||"\n"===m||("%"===m||"}"===m)&&this.selectionStart===k)break}for(l=this.selectionStart;l<h.length;l++){var m=h.substr(l,1);if(" "===m||"\n"===m||("%"===m||"{"===m)&&this.selectionStart===l)break}j=h.substr(k,l-k)}if("focusout"!==b.type){"init"!==b.type&&j.length<3&&f.length&&f.remove(),f.length||(f=a('<div class="magic-tags-autocomplete"></div>'),g=a("<ul></ul>"),g.appendTo(f),f.insertAfter(c),f.on("mouseenter",function(){a(this).data("focus",!0)}),f.on("mouseleave",function(){a(this).data("focus",!1),setTimeout(function(){f.remove()},200),c.is(":focus")||c.trigger("focusout")})),g.empty();var n="system",o=!1;"hidden"===e||"dropdown"===e||"radio"===e||"toggle_switch"===e||"checkbox"===e?(o=!0,e="text",n="all"):"paragraph"!==e&&"html"!==e||(e="text"),c.data("type")&&(e=c.data("type")),e=e.split(","),e.push("vars");for(var p=0;p<e.length;p++)for(var q in system_values)if(void 0!==system_values[q].tags&&void 0!==system_values[q].tags[e[p]]){if(i=[q],"system"!==q&&"variable"!==q&&"field"!==q){var r=jQuery(".processor-"+q),s=c.closest(".caldera-editor-processor-config-wrapper"),t=s.prop("id");i=[];for(var u=0;u<r.length;u++)if(s.length||!0!==o){if(t===r[u].id)continue;jQuery("li."+r[u].id).index()<jQuery("li."+t).index()&&i.push(r[u].id)}else i.push(r[u].id)}for(var v=0;v<i.length;v++)if("all"===n||n===q||"variable"===q){var w=a('<li class="header">'+system_values[q].type+(v>0?" ["+(v+1)+"]":"")+"</li>"),x=0;w.appendTo(g);for(var y=0;y<system_values[q].tags[e[p]].length;y++)if(!c.data("parent")||"variable:"+c.data("parent")!==system_values[q].tags[e[p]][y]){var z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+system_values[q].wrap[1];if(i[v]!==q&&i.length>1&&(z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+":"+i[v]+system_values[q].wrap[1]),z.indexOf(j)>=0||"init"===b.type){x+=1;var A=z.replace(j,"<strong>"+j+"</strong>"),B=a('<li class="tag" data-tag="'+z+'">'+A+"</li>");B.on("click",function(){var b=a(this).data("tag");c.val(h.substr(0,k)+b+h.substr(l)).trigger("change").focus(),c[0].selectionStart=k+b.length-(b.indexOf("*")>0?2:0),c[0].selectionEnd=k+b.length-(b.indexOf("*")>0?1:0),l=k=c[0].selectionEnd,h+=b,c.trigger("init.magic")}),B.appendTo(g)}}0===x&&w.remove()}}}g.children().length||f.remove(),"focusout"===b.type&&setTimeout(function(){f.remove()},200)}),pre_compile_templates(),a(".caldera-select-field-type").not(".field-initialized").each(function(a,c){b(c)})});var rebuild_field_binding,rebind_field_bindings,current_form_fields={},required_errors={},add_new_grid_page,add_page_grid,init_magic_tags,core_form,compiled_templates={};init_magic_tags=function(){jQuery(".magic-tag-enabled").each(function(a,b){var c=jQuery(b);if(c.hasClass("magic-tag-init-bound")){var d=c.parent().find(".magic-tag-init");return void(c.is(":visible")?d.show():d.hide())}var e=jQuery('<span class=""></span>'),f=jQuery('<span style="position:relative;display:inline-block; width:100%;"></span>');c.is("input")&&e.css("borderBottom","none"),c.hasClass("caldera-conditional-value-field")&&f.width("auto"),c.wrap(f),e.insertAfter(c),c.addClass("magic-tag-init-bound"),c.is(":visible")?e.show():e.hide()})},rebuild_field_binding=function(){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded")){var a=jQuery(".caldera-editor-field-config-wrapper");system_values.field={tags:{text:[]},type:"Fields",wrap:["%","%"]};for(var b=0;b<a.length;b++){var c=a[b].id,d=jQuery("#"+c+"_lable").val(),e=jQuery("#"+c+"_slug").val(),f=jQuery("#"+c+"_type").val();void 0===system_values.field.tags[f]&&(system_values.field.tags[f]=[]),system_values.field.tags[f].push(e),"text"!==f&&system_values.field.tags.text.push(e),current_form_fields[c]={label:d,slug:e,type:f},jQuery("option.bound-field").trigger("change").each(function(a,b){var c=jQuery(b);0!==c.prop("value").indexOf("{")?c.text(jQuery("#"+c.prop("value")+"_lable").val()+" ["+jQuery("#"+c.prop("value")+"_lable").val()+"]"):c.text(c.prop("value").replace("{","").replace("}",""))}).removeClass("bound-field")}}},rebind_field_bindings=function(){var a,b,c=jQuery(".caldera-field-bind").not(".bound_field");if(c.length){c.addClass("bound_field");for(var d=0;d<c.length;d++){var e=jQuery(c[d]),f=e.val(),g=e.data("default"),h=e.data("exclude"),i=0,j=e.closest(".caldera-editor-processor-config-wrapper"),k=j.prop("id"),l="";if(g&&!e.hasClass("reload-binding")&&(f=g),e.is("select")){e.empty();var m=jQuery('<optgroup label="Fields">');for(var n in current_form_fields)e.data("type")&&e.data("type").split(",").indexOf(current_form_fields[n].type)<0||(e.data("id")!==n&&m.append('<option value="'+n+'"'+(f===n?'selected="selected"':"")+">"+current_form_fields[n].label+" ["+current_form_fields[n].slug+"]</option>"),i+=1);m.appendTo(e),0===i&&e.empty();for(var o in system_values)if(a=[],!(h&&h.split(",").indexOf(o)>=0)){if("system"!==o&&"variable"!==o)for(var p=jQuery(".processor-"+o),q=0;q<p.length;q++)k!==p[q].id&&(a.push(p[q].id),p.length>1&&(b=jQuery("li."+p[q].id+" .processor-line-number"))&&b.html("["+(q+1)+"]"));else a.push("__system__");var r=[];e.data("type")?(r=e.data("type").split(","),r.push("vars")):r=["text","vars"];for(var s=0;s<r.length;s++)if(system_values[o].tags&&system_values[o].tags[r[s]])for(var t=0;t<a.length;t++){jQuery("li."+a[t]).index()>jQuery("li."+k).index()&&"__system__"!==a[t]?e.closest(".caldera-editor-processors-panel-wrap").length&&(l=' disabled="disabled"'):l="";for(var m=jQuery('<optgroup label="'+system_values[o].type+("__system__"!==a[t]?" "+jQuery("li."+a[t]).find(".processor-line-number").html():"")+'"'+l+">"),u=0;u<system_values[o].tags[r[s]].length;u++){var v=system_values[o].tags[r[s]][u];"__system__"!==a[t]&&(v=v.replace(o,a[t])),m.append('<option value="{'+v+'}"'+(f==="{"+v+"}"?'selected="selected"':"")+l+">"+system_values[o].tags[r[s]][u]+"</option>"),i+=1}m.children().length&&m.appendTo(e)}}if(0===i){if(e.empty(),e.data("type")){e.append('<option value="">No '+e.data("type").split(",").join(" or ")+" in form</option>");var w=!0}}else e.prop("disabled",!1);e.hasClass("required")||void 0!==w||e.prepend('<option value=""></option>'),e.val(f)}}init_magic_tags(),jQuery(document).trigger("bound.fields"),jQuery(".caldera-header-save-button").prop("disabled",!1),void 0!=typeof cf_revisions_ui&&cf_revisions_ui()}},jQuery(document).ready(function(a){function b(){var b=a(".layout-grid-panel"),c=0;b.each(function(b,d){
2
- var e=a(d),f=e.find(".layout-structure"),g=e.find(".row"),h=[];g.each(function(b,d){var e=a(d),f=e.children().not(".column-merge"),g=[];c+=1,f.each(function(b,d){span=a(d).attr("class").split("-"),g.push(span[2]);var e=a(d).find(".field-location");e.length&&e.each(function(d,e){a(e).val(c+":"+(b+1)).removeAttr("disabled")})}),h.push(g.join(":"))}),f.val(h.join("|"))})}function c(b,c,e){var f,g,h="fld_"+Math.round(1e7*Math.random()),i=h,j=a("#field_config_panels");b.prop("id","").prop("title",""),f=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),g=a.extend({},{id:i,label:"",slug:""},e),g.slug="";f(g);j.append(f(g)),b.removeClass("button-small").removeClass("button").removeClass("button-primary").removeClass("ui-draggable").removeClass("layout-new-form-field").addClass("layout-form-field").attr("data-config",h).css({display:"",opacity:""}),b.find(".layout_field_name").remove(),b.find(".field-location").prop("name","config[layout_grid][fields]["+h+"]"),b.find(".settings-panel").show(),b.appendTo(c),d(),b.find(".icon-edit").trigger("click"),a("#"+h+"_lable").focus().select(),baldrickTriggers(),a(document).trigger("field.added"),e?a("#"+i+"_type").data("type",g.type).trigger("change"):a("#"+h).trigger("field.drop"),rebuild_field_binding()}function d(){a(".toggle-options").sortable({handle:".dashicons-sort"}),a("#grid-pages-panel").sortable({placeholder:"row-drop-helper",handle:".sort-handle",items:".first-row-level",axis:"y",stop:function(){b()}}),a(".layout-column").sortable({connectWith:".layout-column",appendTo:"#grid-pages-panel",helper:"clone",items:".layout-form-field",handle:".drag-handle",cursor:"move",opacity:.7,cursorAt:{left:100,top:15},start:function(a,b){b.helper.css({width:"200px",height:"35px",paddingTop:"20px"})},stop:function(a,c){c.item.removeAttr("style"),b()}}),a("h3 .layout-new-form-field").draggable({helper:"clone",appendTo:"body"}),a(".page-toggle.button").droppable({accept:".layout-form-field",over:function(b,c){a(this).trigger("click"),a(".layout-column").sortable("refresh")}}),a(".layout-column").droppable({greedy:!0,activeClass:"ui-state-dropper",hoverClass:"ui-state-hoverable",accept:".layout-new-form-field",drop:function(b,d){c(d.draggable.clone(),a(this))}}),b()}function e(){if(h){var b=a(".column-fieldinsert");b.length?(b.stop().fadeToggle(700),a(".layout-new-form-field").stop().fadeToggle(700)):cf_clear_puler()}}function f(){a(".caldera-editor-processors-panel ul").sortable({update:function(){rebuild_field_binding()},create:function(){0==a(".caldera-editor-processors-panel ul").children().length&&(j.addClass("button-primary"),i=new CalderaFormsButtonPulse(j),window.setTimeout(function(){i.startPulse()},3e3))}})}function g(b){var c=a(b),d=a("#"+c.val()+"-tmpl").length?a("#"+c.val()+"-tmpl").html():"",e=c.closest(".caldera-editor-processor-config-wrapper"),f=e.find(".caldera-config-processor-setup"),g=Handlebars.compile(d),h=e.find(".processor_config_string").val(),i=c.data("type");h=h.length&&i===c.val()?JSON.parse(h):processor_defaults[c.val()+"_cfg"],h||(h={}),h._id=e.prop("id"),h._name="config[processors]["+e.prop("id")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[c.val()+"_init"]&&window[c.val()+"_init"](e.prop("id"),f),e.find(".no-conditions").length&&e.find(".toggle_option_tab").remove(),rebuild_field_binding(),baldrickTriggers(),a(".wp-baldrick").baldrick({request:cfAdminAJAX,method:"POST",before:function(b){var c=a(b);c.data("addNode")&&!c.data("request")&&c.data("request","cf_get_default_setting")}})}add_new_grid_page=function(a){return{page_no:"pg_"+Math.round(1e7*Math.random())}},add_page_grid=function(b){var c=a(".page-toggle").length+1,e=a('<button type="button" data-name="Page '+c+'" data-page="'+b.rawData.page_no+'" class="page-toggle button">'+b.params.trigger.data("addtitle")+" "+c+"</button> "),f=a("#page-toggles");e.appendTo(f),f.show(),d(),e.trigger("click"),1===c&&f.hide(),a(document).trigger("add.page")},a(document).on("remove.page add.page load.page",function(b){var c=a(".page-toggle").length,d=a("#tab_pages");c<=1?d.hide():d.show()}),d(),a("#grid-pages-panel").on("click",".column-fieldinsert .dashicons-plus-alt",function(b){var d=a(this).closest(".column-container");c(a("#newfield-tool").clone().css("display",""),d)}),a("#grid-pages-panel").on("click",".column-split",function(b){var c=a(this).parent().parent(),e=c.attr("class").split("-"),f=a("<div>").insertAfter(c),g=Math.ceil(e[2]/2),h=Math.floor(e[2]/2);e[2]=g,c.attr("class",e.join("-")),e[2]=h,f.addClass(e.join("-")).append('<div class="layout-column column-container">'),a(this).remove(),d(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".column-remove",function(c){var d=a(this).closest(".row"),e=d.find(".layout-form-field"),f=d.closest(".layout-grid-panel");if(e.length){if(!confirm(a("#row-remove-fields-message").text()))return;e.each(function(b,c){var d=a(c).data("config");a("#"+d).remove(),a('option[value="'+d+'"]').remove(),a('[data-bind="'+d+'"]').remove(),delete current_form_fields[d]})}d.slideUp(200,function(){if(a(this).remove(),b(),rebuild_field_binding(),!f.find(".row").length){f.remove();var c=a("#page-toggles .button-primary"),d=c.prev(),e=c.next();c.remove(),d.length?d.trigger("click"):e.trigger("click")}a(document).trigger("remove.page")}),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a(".caldera-config-editor-main-panel").on("click",".caldera-add-row",function(c){if(c.preventDefault(),!a(".page-active").length)return void a(".caldera-add-page").trigger("click");var e=a('<div style="display:none;" class="first-row-level row"><div class="col-xs-12"><div class="layout-column column-container"></div></div></div>');a(".page-active").append(e),e.slideDown(200),d(),b()}),a("#grid-pages-panel").on("click",".column-join",function(c){var d=a(this).parent().parent().parent(),e=d.prev(),f=e.attr("class").split("-"),g=d.attr("class").split("-");f[2]=parseFloat(f[2])+parseFloat(g[2]),d.find(".layout-column").contents().appendTo(e.find(".layout-column")),e.attr("class",f.join("-")),d.remove(),b(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("mouseenter",".row",function(c){var d=jQuery(this);jQuery(".column-tools,.column-merge").remove(),d.children().children().first().append('<div class="column-remove column-tools" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.delete_row+'" ><i class="icon-remove"></i></div>'),d.children().children().last().append('<div class="column-sort column-tools" style="text-align:right;"><i class="dashicons dashicons-menu drag-handle sort-handle"></i></div>'),d.children().children().not(":first").prepend('<div class="column-merge"><div class="column-join column-tools"><i class="icon-join"></i></div></div>');var e=d.parent().parent().parent().width()/12-1;d.children().children().each(function(b,c){var d=a(c),e=d.width()/2-5;d.prepend('<div class="column-fieldinsert column-tools"><i class="dashicons dashicons-plus-alt" data-toggle="tooltip" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.add_field_row+'"></i></div>'),d.parent().hasClass("col-xs-1")||(d.prepend('<div class="column-split column-tools" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.split_row+'"><i class="dashicons dashicons-leftright"></i></div>'),d.find(".column-split").css("left",e))}),jQuery(".column-merge").draggable({axis:"x",helper:"clone",appendTo:d,grid:[e,0],drag:function(c,d){a(this).addClass("dragging"),a(".column-tools").remove(),a(".column-split").remove();var e=a(this).parent().parent(),f=d.helper,g=d.originalPosition.left>f.position().left?"left":"right",h=e.prev(),i=Math.round(e.parent().width()/12-10),j=Math.abs(d.originalPosition.left-f.position().left);if(e.parent().addClass("sizing"),j>=i){var k=h.attr("class").split("-"),l=e.attr("class").split("-");k[2]=parseFloat(k[2]),l[2]=parseFloat(l[2]),"left"===g?(k[2]--,l[2]++,k[2]>0&&k[2]<k[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)):(k[2]++,l[2]--,l[2]>0&&l[2]<l[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)),b()}},stop:function(){a(this).removeClass("dragging").parent().parent().parent().removeClass("sizing")}})}),a("#grid-pages-panel").on("mouseleave",".row",function(a){jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".layout-form-field .icon-remove",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config"));c.slideUp(100,function(){a(this).remove()}),d.slideUp(100,function(){a(this).remove()})}),a(document).on("click",".layout-form-field .dashicons-admin-page",function(){var b=a(this),d=b.parent(),e=d.data("config"),f=a("#"+e).formJSON(),g=b.closest(".column-container"),h=d.clone().css("display",""),i={};d.hasClass("field-edit-open")&&(d.removeClass("field-edit-open"),h.removeClass("field-edit-open"),a(".caldera-editor-field-config-wrapper").hide()),f.config.fields[e]&&(i=f.config.fields[e],delete i.ID),c(h,g,i)}),a(document).on("click",".layout-form-field .icon-edit",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config")+"_type").val();a(".caldera-editor-field-config-wrapper").hide(),c.hasClass("field-edit-open")?c.removeClass("field-edit-open"):(a(".layout-form-field").removeClass("field-edit-open"),c.addClass("field-edit-open"),a("#"+c.data("config")).show()),a(document).trigger("show."+c.data("config")),a(document).trigger("show.fieldedit"),"radio"!==d&&"checkbox"!==d&&"dropdown"!==d&&"toggle_switch"!==d||a("#"+c.data("config")+"_auto").trigger("change")}),a("body").on("click",".layout-modal-edit-closer,.layout-modal-save-action",function(b){b.preventDefault();var c=a(this),d=a(".layout-form-field.edit-open"),e=c.closest(".layout-modal-container");settings=e.find(".settings-panel").first(),a(".edit-open").removeClass("edit-open"),settings.appendTo(d.find(".settings-wrapper")).hide(),e.hide()}),a(".layout-editor-body").on("change",".layout-core-pod-query",function(){a(this).parent().find(".settings-panel-row").remove(),a(".edit-open").find(".drag-handle .set-pod").html(" - "+a(this).val())}),a(".layout-editor-body").on("click",".remove-where",function(){a(this).closest(".settings-panel-row").remove()}),a(".layout-editor-body").on("click",".use-pod-container",function(){var b=a(this),c=b.prev(),d=c.val();if(d.length){a(".edit-open").find(".drag-handle .set-pod").html(" - "+c.val()),b.parent().parent().find(".spinner").css("display","inline-block");var e={action:"pq_loadpod",pod_reference:{pod:d}};a.post(cfAdminAJAX,e,function(c){b.parent().find(".spinner").css("display","none");var d=a("#where-line-tmpl").html(),e="",f=b.closest(".settings-panel").data("container");for(var g in c)e+='<option value="'+c[g]+'">'+c[g]+"</option>";d=d.replace(/{{fields}}/g,e).replace(/{{container_id}}/g,f),b.parent().append(d)})}}),a(".caldera-editor-header").on("click",".column-sort .icon-edit",function(a){}),a(".layout-editor-body").on("tray_loaded",".layout-template-tray",function(){d()}),a(".caldera-editor-header").on("click",".caldera-editor-header-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-editor-header-nav li").removeClass("active"),a(".caldera-editor-body").hide(),a(c.attr("href")).show(),c.parent().addClass("active"),rebind_field_bindings()}),a("body").on("change",".required",function(){check_required_bindings(this)}),a("body").on("submit",".caldera-forms-options-form",function(b){a(".required.has-error").length&&b.preventDefault()}),a(".caldera-editor-body").on("click",".add-toggle-option",function(b){var c=a(this);if(c.data("bulk"))return a(c.data("bulk")).toggle(),void a(c.data("bulk")).find("textarea").focus();var d=c.closest(".caldera-editor-field-config-wrapper"),e=d.find(".toggle-options"),f=a("#field-option-row-tmpl").html(),g=Handlebars.compile(f),h="opt"+parseInt(1048576*(Math.random()+1)),i={_name:"config[fields]["+d.prop("id")+"][config]",option:{}};if(c.data("options")){for(var j=a(c.data("options")),k=j.val().split("\n"),l=!1,m=0;m<k.length;m++){var n=k[m],o=n,p=o.split("|");p.length>1&&(o=p[0],n=p[1],l=!0),i.option["opt"+parseInt(1048576*(Math.random()+m))]={value:o,calc_value:o,label:n,default:!1}}a(c.data("options")).parent().hide(),j.val(""),!0===l?d.find(".toggle_show_values").prop("checked",!0):d.find(".toggle_show_values").prop("checked",!1),e.empty()}else i.option[h]={value:"",label:"",calc_value:"",default:!1};a(".preset_options").val(""),e.append(g(i)),d.find(".toggle_show_values").trigger("change"),a(".toggle-options").sortable({handle:".dashicons-sort"}),k||e.find(".toggle_label_field").last().focus()}),a(".caldera-editor-body").on("change",".preset_options",function(b){var c=a(this),d=c.val(),e=a(c.data("bulk"));preset_options&&preset_options[d]&&preset_options[d].data&&("object"==typeof preset_options[d].data&&preset_options[d].data.length&&(preset_options[d].data=preset_options[d].data.join("\n")),e.val(preset_options[d].data))}),a(".caldera-editor-body").on("click",".toggle-remove-option",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-config").first();a(this).parent().remove(),c.trigger("change"),a(document).trigger("option.remove")}),a(".caldera-editor-body").on("click",".page-toggle",function(b){var c=a(this),d=c.parent(),e=d.find(".button");e.removeClass("button-primary"),a(".layout-grid-panel").hide().removeClass("page-active"),a("#"+c.data("page")).show().addClass("page-active"),c.addClass("button-primary"),e.each(function(b,c){a(c).html(d.data("title")+" "+(b+1))}),1===e.length&&d.hide()}),a(".caldera-editor-body").on("blur toggle.values",".toggle_label_field",function(b){var c=a(this),d=a('.toggle_value_field[data-opt="'+c.data("option")+'"]');d.is(":visible")||d.val(c.val())}),a(document).on("change focusout",".toggle_value_field",function(){a(document).trigger("show.fieldedit")}),a(document).on("show.fieldedit option.remove",function(b){a(".toggle_value_field.has-error").removeClass("has-error");for(var c=a("#"+a(".layout-form-field.field-edit-open").data("config")),d=c.find(".toggle_value_field"),e=c.find(".notice"),f=0,g=0;g<d.length;g++){for(var h=(d[g].value,0),i=0;i<d.length;i++)d[g]!==d[i]&&d[g].value===d[i].value&&(a(d[i]).addClass("has-error"),h++);h>0&&(a(d[g]).addClass("has-error"),f++)}f>0?(e.slideDown(),b.preventDefault()):e.slideUp()});var h=!1;focus_initial_field=function(b){var c=a(".layout-grid-panel .icon-edit").first();c.length?c.trigger("click"):(a(".layout-column.column-container").first().trigger("mouseover"),h=setInterval(e,500)),a(document).off("load.page",focus_initial_field)},a(document).on("load.page",focus_initial_field),cf_clear_puler=function(){h&&(clearTimeout(h),a(document).off("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler)),a(".layout-new-form-field, .column-fieldinsert").fadeIn()},a(document).on("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler),rebuild_field_binding(),a(document).trigger("load.page");var i,j=a(".new-processor-button");a("body").on("click",".caldera-processor-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-processor-nav").removeClass("active"),a(".caldera-editor-processor-config-wrapper").hide(),a(c.attr("href")).show(),c.parent().addClass("active")}),a("body").on("click",".add-new-processor",function(b){"object"==typeof i&&(j.removeClass("button-primary"),i.stopPulse());var c=a(this),d=Handlebars.compile(a("#processor-wrapper-tmpl").html());wrap=a(".active-processors-list"),process_conf=a(".caldera-editor-processor-config"),processid=Math.round(1e8*Math.random()),new_templ=Handlebars.compile(a("#processor-line-tmpl").html()),new_proc={id:"fp_"+processid,type:c.data("type")},wrap.append(new_templ(new_proc)),process_conf.append(d(new_proc)),a("#form_processor_baldrickModalCloser").trigger("click"),a(".caldera-processor-nav a").last().trigger("click"),a("#fp_"+processid+"_type").val(c.data("type")).trigger("change"),f(),baldrickTriggers()}),a("body").on("click",".delete-processor",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper");d.data("type");confirm(c.data("confirm"))&&(a("."+d.prop("id")).remove(),d.remove(),a(".caldera-processor-nav a").first().trigger("click"),rebuild_field_binding())}),a("body").on("change",".caldera-select-processor-type",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper"),e=c.find('option[value="'+c.val()+'"]').text(),f=d.find(".caldera-editor-processor-title"),h=a(".caldera-processor-nav.active a");""===e&&(e=f.data("title")),f.html(e),h.html(e+' <span class="processor-line-number"></span>').parent().addClass("processor_type_"+c.val()),g(this),rebuild_field_binding()}),a(document).on("click","#cf-shortcode-preview",function(){a(this).focus().select()}),a(document).on("change",".cf-email-preview-toggle",function(){var b=a(this),c=a(".caldera-header-email-preview-button");b.is(":checked")?c.show().attr("aria-hidden","false").css("visibility","visible"):c.hide().attr("aria-hidden","true").css("visibility","hidden")}),rebuild_field_binding(),a(".caldera-select-processor-type").each(function(a,b){g(b)}),f()}),Handlebars.registerHelper("_field",function(a){var b=this,c="",d="",e="",f=this[a.hash.slug]?' data-default="'+this[a.hash.slug]+'"':"";a.hash.required&&(c=" required"),a.hash.exclude&&(e='data-exclude="'+a.hash.exclude+'"'),a.hash.array&&(d="[]","true"!==a.hash.array&&(f='value="'+a.hash.array+'"')),out="<select "+(a.hash.type?'data-type="'+a.hash.type+'"':"")+f+" "+e+' name="'+this._name+"["+a.hash.slug+"]"+d+'" id="'+this._id+"_"+a.hash.slug+'" class="block-input field-config caldera-field-bind'+c+'">',this[a.hash.slug]?out+='<option class="bound-field" value="'+this[a.hash.slug]+'" class="bound-field"></option>':a.hash.required||(out+='<option value=""></option>');for(var g in current_form_fields){var h="";a.hash.type&&current_form_fields[g].type!==a.hash.type||(b[a.hash.slug]&&b[a.hash.slug]===g&&(h=' selected="selected"'),out+='<option value="'+g+'"'+h+">"+current_form_fields[g].label+" ["+current_form_fields[g].slug+"]</option>")}return out+="</select>",a.hash.required&&(out+='<input class="field-config" name="'+this._name+'[_required_bounds][]" type="hidden" value="'+a.hash.slug+'">'),out}),Handlebars.registerHelper("console",function(a,b){console.log(this)});var revisions={};jQuery(document).ready(function(a){function b(b){var d=a(b),e=d.closest(".caldera-editor-field-config-wrapper"),f=e.find(".caldera-config-field-setup"),g=compiled_templates[d.val()+"_tmpl"]?compiled_templates[d.val()+"_tmpl"]:compiled_templates.noconfig_field_templ,h=e.find(".field_config_string").val(),i=d.data("type");if(e.find(".caldera-config-group").show(),d.addClass("field-initialized"),h=h.length&&i===d.val()?JSON.parse(h):fieldtype_defaults[d.val()+"_cfg"],h||(h={}),h._id=d.data("field"),h._name="config[fields]["+d.data("field")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[d.val()+"_init"]&&window[d.val()+"_init"](d.data("field"),f),fieldtype_defaults[d.val()+"_nosupport"]&&(fieldtype_defaults[d.val()+"_nosupport"].indexOf("hide_label")>=0&&e.find(".hide-label-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("caption")>=0&&e.find(".caption-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("required")>=0&&e.find(".required-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("custom_class")>=0&&e.find(".customclass-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("entry_list")>=0&&e.find(".entrylist-field").hide().find(".field-config").prop("checked",!1)),e.find(".toggle_show_values").trigger("change"),!a(".caldera-select-field-type").not(".field-initialized").length){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded"))c(d.data("field"));else{for(var j=a(".caldera-select-field-type.field-initialized"),k=0;k<j.length;k++)c(a(j[k]).data("field"));core_form.addClass("builder-loaded")}a(".caldera-header-save-button").prop("disabled",!1),rebuild_field_binding(),baldrickTriggers()}a(".color-field").length&&a(".color-field").wpColorPicker({change:function(b){var c=a(this);c.data("ev")&&clearTimeout(c.data("ev")),c.data("ev",setTimeout(function(){c.trigger("record")},200)),c.data("target")&&(a(c.data("target")).css(c.data("style"),c.val()),a(c.data("target")).val(c.val()))}})}function c(b){var c=a("#"+b),d=c.find(".caldera-select-field-type"),e=a('.layout-form-field[data-config="'+b+'"]'),f=e.find(".field_preview"),g=(a("#preview-"+d.val()+"_tmpl").html(),compiled_templates["preview-"+d.val()+"_tmpl"]),h={id:b};c.find(".field-config").each(function(c,d){for(var e=a(d),f=e.prop("name").split("["+b+"]")[1].substr(1),g=f.substr(0,f.length-1).split("]["),i=e.is(":checkbox,:radio")?e.filter(":checked").val():e.val(),j={},k=g.length-1;k>=0;k--)if(k===g.length-1)j[g[k]]=i;else{var l=j;j={},j[g[k]]=l}a.extend(!0,h,j)}),f.html(g(h)),e.removeClass("button"),a(".preview-field-config").prop("disabled",!0)}function d(b){var c,d=a(".caldera-editor-fields-panel"),e=(a(".caldera-editor-groups-panel"),a(".caldera-group-nav")),f=a('[data-group="'+b+'"]'),g=f.find(".caldera-config-group-name"),h=f.find(".caldera-config-group-slug"),i=f.find(".caldera-config-group-desc"),j=f.find(".caldera-config-group-admin"),k=a(".active-group-name"),l=a(".active-group-slug"),m=a(".active-group-desc"),n=a(".active-group-admin"),o=a(".caldera-editor-fields-list ul"),p=f.find(".caldera-config-group-repeat"),q=a(".repeat-config-button"),r=(a(".caldera-editor-group-settings"),a(".caldera-config-group-remove"));a(".new-group-input").remove(),a(".new-field-input").remove(),e.removeClass("active"),d.show(),o.hide(),o.removeClass("active").find("li.active").removeClass("active"),o.hide(),f.addClass("active"),c=a(".caldera-editor-fields-list ul.active li"),c.length?r.hide():r.show(),a(".caldera-editor-field-config-wrapper").hide(),f.show(),k.val(g.val()),l.val(h.val()),m.val(i.val()),"1"===j.val()?n.prop("checked",!0):n.prop("checked",!1),"1"===p.val()?q.addClass("field-edit-open"):q.removeClass("field-edit-open")}a(".caldera-header-save-button").baldrick({method:"POST",request:"admin.php?page=caldera-forms",before:function(b,c){if(c.preventDefault(),!check_required_bindings())return!1;a("#save_indicator").addClass("loading"),"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();var d=a(".caldera-forms-options-form").formJSON();return d.conditions&&(d.config.conditional_groups={conditions:d.conditions}),a(b).data("cf_edit_nonce",d.cf_edit_nonce),a(b).data("_wp_http_referer",d._wp_http_referer),a(b).data("sender","ajax"),a(b).data("config",JSON.stringify(d.config)),!0},callback:function(b){if(!1===b.data){var c=a(".updated_notice_box");c.stop().animate({top:0},200,function(){setTimeout(function(){c.stop().animate({top:-75},200)},2e3)})}},complete:function(b){a(".wrapper-instance-pane .field-config").prop("disabled",!1)}}),a("body").on("click",".toggle_processor_event input",function(b){var c=a(this),d=c.closest(".wrapper-instance-pane"),e=d.find(".caldera-config-processor-setup"),f=d.find(".caldera-config-processor-notice");c.is(":checked")?(c.parent().addClass("activated"),c.parent().find(".is_active").show().attr("aria-hidden",!1).css("visibility","visible"),c.parent().find(".not_active").hide().attr("aria-hidden",!0).css("visibility","hidden")):(c.parent().removeClass("activated"),c.parent().find(".is_active").hide().attr("aria-hidden",!0).css("visibility","hidden"),c.parent().find(".not_active").show().attr("aria-hidden",!1).css("visibility","visible")),d.find(".toggle_processor_event .activated").length?(e.slideDown(100),f.slideUp(100)):(e.slideUp(100),f.slideDown(100))}),a("body").on("click",".toggle_option_tab > a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href")),e=c.parent().find("a"),f=c.closest(".caldera-editor-config-wrapper").find(".wrapper-instance-pane");e.removeClass("button-primary"),f.hide(),d.show(),c.addClass("button-primary"),a(".caldera-conditionals-usetype").trigger("change")}),a(".caldera-editor-body").on("change",".caldera-select-field-type",function(a){b(this)}),a(".caldera-editor-body").on("click",".caldera-group-nav a",function(b){b.preventDefault(),d(a(this).attr("href").substr(1))}),a(".caldera-editor-body").on("click",".caldera-editor-fields-list a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href"));a(".new-group-input").remove(),a(".new-field-input").remove(),a(".caldera-editor-fields-list li.active").removeClass("active"),c.parent().addClass("active"),a(".caldera-editor-field-config-wrapper").hide(),d.show()}),a(".caldera-editor-body").on("click",".group-config-button",function(b){var c=a(this),d=a(".caldera-editor-group-settings"),e=c.closest(".caldera-editor-fields-panel"),f=a(".caldera-config-group-remove");e.find(".caldera-field-line").length?f.hide():f.show(),c.hasClass("field-edit-open")?(d.slideUp(100),c.removeClass("field-edit-open")):(d.slideDown(100),c.addClass("field-edit-open"))}),a(".caldera-editor-body").on("keydown",".field-config",function(b){a(this).is("textarea")||13===b.which&&b.preventDefault()}),a(".caldera-editor-body").on("change",".field-label",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").prop("id");field_line=a('[data-field="'+c+'"]'),field_title=a("#"+c+" .caldera-editor-field-title, .layout-form-field.field-edit-open .layout_field_name"),slug=a("#"+c+" .field-slug"),field_line.find("a").html('<i class="icn-field"></i> '+this.value),field_title.text(this.value),"change"===b.type&&slug.trigger("change"),rebuild_field_binding()}),a(".caldera-editor-body").on("change",".active-group-name",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name")),e=c.find("span");"focusout"!==b.type||this.value.length||(this.value="Group "+(parseInt(c.index())+1)),d.val(this.value),e.text(this.value)}),a(".caldera-editor-body").on("change",".active-group-slug",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val()),e=c.find(".caldera-config-group-slug"),f=(c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase());"focusout"!==b.type||this.value.length||(f=d.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase()),e.val(f),this.value=f}),a(".caldera-editor-body").on("change",".active-group-desc",function(b){b.preventDefault();var c=a(".caldera-group-nav.active");(c.data("group"),c.find(".caldera-config-group-desc")).val(this.value)}),a(".caldera-editor-body").on("change",".active-group-admin",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val(),c.find(".caldera-config-group-admin"));c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),a(this).prop("checked")?(d.val(1),c.addClass("is-admin")):(d.val(0),c.removeClass("is-admin"))}),a(".caldera-editor-body").on("click",".repeat-config-button",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find("a .group-type")),e=c.find(".caldera-config-group-repeat"),f=a(this);f.hasClass("field-edit-open")?(e.val("0"),d.removeClass("icn-repeat").addClass("icn-folder"),f.removeClass("field-edit-open")):(e.val("1"),d.addClass("icn-repeat").removeClass("icn-folder"),f.addClass("field-edit-open"))}),a(".caldera-editor-body").on("click",".delete-field",function(){var b=a(this),c=b.closest(".caldera-editor-field-config-wrapper").prop("id");confirm(b.data("confirm"))&&(a("#"+c).remove(),a('option[value="'+c+'"]').remove(),a('[data-bind="'+c+'"]').remove(),delete current_form_fields[c],a('[data-config="'+c+'"]').slideUp(200,function(){a(this).remove(),rebuild_field_binding(),a(document).trigger("field.removed")}))}),a(".caldera-editor-body").on("click",".add-new-group,.add-field",function(){var b=a(this);if(a(".new-group-input").remove(),a(".new-field-input").remove(),b.hasClass("add-field")){a('<input type="text" class="new-field-input block-input">').appendTo(a(".caldera-editor-fields-list ul.active")).focus()}else{a('<input type="text" class="new-group-input block-input">').appendTo(a(".caldera-editor-groups-panel")).focus()}}),a(".caldera-editor-body").on("change keypress",".new-group-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,e,f=this.value,g=a(this),h=a(".caldera-editor-groups-panel ul"),i=a(".caldera-editor-fields-list");if(f.length){c=Handlebars.compile(a("#caldera_group_line_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),name:f},h.append(c(e));a('<ul data-group="'+e.id+'">').hide().appendTo(i),g.remove(),d(e.id)}else g.remove()}),a(".caldera-editor-body").on("change keypress",".new-field-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,d,e,f=this.value,g=a(this),h=g.parent(),i=a(".caldera-editor-field-config"),j=a(".caldera-config-group-remove");if(f.length){j.hide(),c=Handlebars.compile(a("#caldera_field_line_templ").html()),d=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),label:f,slug:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),group:a(".caldera-group-nav.active").data("group")};var k=a(c(e));k.appendTo(h),i.append(d(e)),k.find("a").trigger("click"),g.remove()}else g.remove()}),a(".caldera-editor-body").on("change",".field-slug",function(b){this.value.length?this.value=this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase():"change"===b.type&&(this.value=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-label").val().split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase())}),a(".caldera-editor-body").on("click",".caldera-add-group",function(b){var c=a(this),d=c.data("group"),e=a("#"+d+"_panel_tmpl").html();c.parent().parent().append(e)}),a(".caldera-editor-body").on("click",".caldera-config-group-remove",function(b){var c=a(".active-group-slug").val();a('[data-group="'+c+'"]').hide(0,function(){a(this).remove();var b=a(".caldera-group-nav");b.length?b.first().find("a").trigger("click"):a(".caldera-editor-fields-panel").hide()})}),a("body").on("click",".set-current-field",function(b){b.preventDefault();var c=a(this);a("#"+c.data("field")+"_type").val(c.data("type")).trigger("change"),a("#"+c.data("field")+"_lable").focus(),a("#field_setup_baldrickModalCloser").trigger("click")}),a(".caldera-editor-body").on("change record",".field-config",function(b){var d=a(this),e=d.closest(".caldera-editor-field-config-wrapper");current_form_fields&&(d.prop("id")===e.prop("id")+"_lable"&&(current_form_fields[e.prop("id")].label=this.value),d.prop("id")===e.prop("id")+"_slug"&&(current_form_fields[e.prop("id")].slug=this.value),d.prop("id")===e.prop("id")+"_type"&&(current_form_fields[e.prop("id")].type=this.value),e.length&&c(e.prop("id")))}),a(".caldera-editor-body").on("focus",".caldera-field-bind",function(b){var c=a(this),d=this.value;if(b.type&&"focusin"===b.type)return c.removeClass("bound_field").addClass("reload-binding"),rebind_field_bindings(),void(this.value=d)}),a(".caldera-editor-body").on("change",".caldera-conditional-field-set",function(b){
3
  var c,d,e=a(this),f=e.parent().find(".compare-type"),g=e.data("condition"),h=e.data("id"),i="config["+g+"]["+h+"][conditions][group]["+e.data("row")+"]["+e.data("line")+"]",j=e.data("line"),k=a("#"+j+"_value"),l=k.find(".caldera-conditional-value-field").first(),m=[],n=this.value;if("{"!==n.substr(0,1)&&(c=a("#"+n),d=c.find(".field-button-type"),m=c.find(".caldera-config-group-toggle-options")),e.hasClass(".bind_init")&&e.addClass("bound_triggered"),l.length&&l.val().length&&k.data("value",l.val()),f.show(),m.length){var o=m.find(".toggle_option_row"),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">';p+='<option value=""></option>',o.each(function(b,c){var d=a(c).find(".toggle_label_field"),e=d.data("option"),f="";k.data("value")&&(k.data("value").toString()!==e&&k.data("value").toString()!==a(c).find(".toggle_value_field").val()||(f=' selected="selected"')),p+='<option value="'+e+'"'+f+">"+d.val()+"</option>"}),p+="</select>"}else d&&"button"==d.val()?(f.val("is").hide(),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">',p+='<option value="click" '+("click"===k.data("value")?'selected="selected"':"")+">Click</option>",p+='<option value="dblclick" '+("dblclick"===k.data("value")?'selected="selected"':"")+">Double Click</option>",p+="</select>"):p='<input name="'+i+'[value]" type="text" class="caldera-conditional-value-field magic-tag-enabled" value="'+(k.data("value")?k.data("value"):"")+'" style="max-width: 205px;">';k.html(p),init_magic_tags()}),a(".caldera-editor-body").on("change",".caldera-conditionals-usetype",function(b){var c=a(this);"show"===this.value||"hide"===this.value||"disable"===this.value||"use"===this.value||"not"===this.value?(a("#"+c.data("id")+"_condition_group_add").show(),a("#"+c.data("id")+"_conditional_wrap").show()):(a("#"+c.data("id")+"_condition_group_add").hide(),a("#"+c.data("id")+"_conditional_wrap").hide())}),a(".caldera-editor-body").on("click",".remove-conditional-line",function(b){b.preventDefault();var c=a(this),d=c.closest(".caldera-condition-line"),e=c.closest(".caldera-condition-group");d.remove(),e.find(".caldera-condition-line").length||e.remove()}),a(".caldera-group-nav").first().find("a").trigger("click"),a(".caldera-editor-body").on("change",".toggle_show_values",function(b){var c=a(this),d=c.closest(".caldera-config-group-toggle-options");values=d.find(".toggle_value_field"),lables=d.find(".toggle_label_field"),field_lables=d.find(".caldera-config-group-option-labels"),c.prop("checked")?(values.show().parent().show(),values.show().parent().parent().show(),lables.css("width",""),field_lables.show()):(values.hide().parent().hide(),lables.css("width",245),field_lables.hide()),lables.trigger("toggle.values"),init_magic_tags()}),a(".caldera-editor-body").on("change",".auto-populate-type",function(){a(this).closest(".wrapper-instance-pane").find(".auto-populate-options").trigger("change")}),a(".caldera-editor-body").on("change",".auto-populate-options",function(){var b=a(this),c=b.closest(".wrapper-instance-pane"),d=c.find(".caldera-config-group-toggle-options"),e=c.find(".caldera-config-group-auto-options"),f=e.find(".auto-populate-type");e.find(".auto-populate-type-panel").hide(),b.prop("checked")?(d.hide(),e.show()):(d.show(),e.hide()),e.find(".caldera-config-group-auto-"+f.val()).show()}),a("body").on("change",".pin-toggle-roles",function(){var b=a(this),c=a("#caldera-pin-rules");"1"===b.val()?c.show():c.hide()}),a("body").on("click",".magic-tag-init",function(b){a(this).prev().focus().trigger("init.magic")}),a("body").on("keyup focus select click init.magic",".magic-tag-enabled",function(b){init_magic_tags();var c=a(this),d=c.parent(),e=d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val()?d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val():"hidden",f=d.find(".magic-tags-autocomplete"),g=f.find("ul"),h=this.value,i=[],j="",k=this.selectionStart,l=this.selectionEnd;if(f.length&&f.data("focus"))return void b.preventDefault();if(c.data("tag",""),this.selectionEnd>this.selectionStart)j=this.value.substr(this.selectionStart,this.selectionEnd-this.selectionStart);else if(("select"===b.type||"keyup"===b.type)&&40!==b.which&&38!==b.which&&39!==b.which&&37!==b.which){for(k=this.selectionStart;k>0;k--){var m=h.substr(k-1,1);if(" "===m||"\n"===m||("%"===m||"}"===m)&&this.selectionStart===k)break}for(l=this.selectionStart;l<h.length;l++){var m=h.substr(l,1);if(" "===m||"\n"===m||("%"===m||"{"===m)&&this.selectionStart===l)break}j=h.substr(k,l-k)}if("focusout"!==b.type){"init"!==b.type&&j.length<3&&f.length&&f.remove(),f.length||(f=a('<div class="magic-tags-autocomplete"></div>'),g=a("<ul></ul>"),g.appendTo(f),f.insertAfter(c),f.on("mouseenter",function(){a(this).data("focus",!0)}),f.on("mouseleave",function(){a(this).data("focus",!1),setTimeout(function(){f.remove()},200),c.is(":focus")||c.trigger("focusout")})),g.empty();var n="system",o=!1;"hidden"===e||"dropdown"===e||"radio"===e||"toggle_switch"===e||"checkbox"===e?(o=!0,e="text",n="all"):"paragraph"!==e&&"html"!==e||(e="text"),c.data("type")&&(e=c.data("type")),e=e.split(","),e.push("vars");for(var p=0;p<e.length;p++)for(var q in system_values)if(void 0!==system_values[q].tags&&void 0!==system_values[q].tags[e[p]]){if(i=[q],"system"!==q&&"variable"!==q&&"field"!==q){var r=jQuery(".processor-"+q),s=c.closest(".caldera-editor-processor-config-wrapper"),t=s.prop("id");i=[];for(var u=0;u<r.length;u++)if(s.length||!0!==o){if(t===r[u].id)continue;jQuery("li."+r[u].id).index()<jQuery("li."+t).index()&&i.push(r[u].id)}else i.push(r[u].id)}for(var v=0;v<i.length;v++)if("all"===n||n===q||"variable"===q){var w=a('<li class="header">'+system_values[q].type+(v>0?" ["+(v+1)+"]":"")+"</li>"),x=0;w.appendTo(g);for(var y=0;y<system_values[q].tags[e[p]].length;y++)if(!c.data("parent")||"variable:"+c.data("parent")!==system_values[q].tags[e[p]][y]){var z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+system_values[q].wrap[1];if(i[v]!==q&&i.length>1&&(z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+":"+i[v]+system_values[q].wrap[1]),z.indexOf(j)>=0||"init"===b.type){x+=1;var A=z.replace(j,"<strong>"+j+"</strong>"),B=a('<li class="tag" data-tag="'+z+'">'+A+"</li>");B.on("click",function(){var b=a(this).data("tag");c.val(h.substr(0,k)+b+h.substr(l)).trigger("change").focus(),c[0].selectionStart=k+b.length-(b.indexOf("*")>0?2:0),c[0].selectionEnd=k+b.length-(b.indexOf("*")>0?1:0),l=k=c[0].selectionEnd,h+=b,c.trigger("init.magic")}),B.appendTo(g)}}0===x&&w.remove()}}}g.children().length||f.remove(),"focusout"===b.type&&setTimeout(function(){f.remove()},200)});for(var e=a(".cf-editor-template"),f=0;f<e.length;f++)compiled_templates[e[f].id]=Handlebars.compile(e[f].innerHTML);a(".caldera-select-field-type").not(".field-initialized").each(function(a,c){b(c)})});var rebuild_field_binding,rebind_field_bindings,current_form_fields={},required_errors={},add_new_grid_page,add_page_grid,init_magic_tags,core_form,compiled_templates={};init_magic_tags=function(){jQuery(".magic-tag-enabled").each(function(a,b){var c=jQuery(b);if(c.hasClass("magic-tag-init-bound")){var d=c.parent().find(".magic-tag-init");return void(c.is(":visible")?d.show():d.hide())}var e=jQuery('<span class=""></span>'),f=jQuery('<span style="position:relative;display:inline-block; width:100%;"></span>');c.is("input")&&e.css("borderBottom","none"),c.hasClass("caldera-conditional-value-field")&&f.width("auto"),c.wrap(f),e.insertAfter(c),c.addClass("magic-tag-init-bound"),c.is(":visible")?e.show():e.hide()})},rebuild_field_binding=function(){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded")){var a=jQuery(".caldera-editor-field-config-wrapper");system_values.field={tags:{text:[]},type:"Fields",wrap:["%","%"]};for(var b=0;b<a.length;b++){var c=a[b].id,d=jQuery("#"+c+"_lable").val(),e=jQuery("#"+c+"_slug").val(),f=jQuery("#"+c+"_type").val();void 0===system_values.field.tags[f]&&(system_values.field.tags[f]=[]),system_values.field.tags[f].push(e),"text"!==f&&system_values.field.tags.text.push(e),current_form_fields[c]={label:d,slug:e,type:f},jQuery("option.bound-field").trigger("change").each(function(a,b){var c=jQuery(b);0!==c.prop("value").indexOf("{")?c.text(jQuery("#"+c.prop("value")+"_lable").val()+" ["+jQuery("#"+c.prop("value")+"_lable").val()+"]"):c.text(c.prop("value").replace("{","").replace("}",""))}).removeClass("bound-field")}}},rebind_field_bindings=function(){var a,b,c=jQuery(".caldera-field-bind").not(".bound_field");if(c.length){c.addClass("bound_field");for(var d=0;d<c.length;d++){var e=jQuery(c[d]),f=e.val(),g=e.data("default"),h=e.data("exclude"),i=0,j=e.closest(".caldera-editor-processor-config-wrapper"),k=j.prop("id"),l="";if(g&&!e.hasClass("reload-binding")&&(f=g),e.is("select")){e.empty();var m=jQuery('<optgroup label="Fields">');for(var n in current_form_fields)e.data("type")&&e.data("type").split(",").indexOf(current_form_fields[n].type)<0||(e.data("id")!==n&&m.append('<option value="'+n+'"'+(f===n?'selected="selected"':"")+">"+current_form_fields[n].label+" ["+current_form_fields[n].slug+"]</option>"),i+=1);m.appendTo(e),0===i&&e.empty();for(var o in system_values)if(a=[],!(h&&h.split(",").indexOf(o)>=0)){if("system"!==o&&"variable"!==o)for(var p=jQuery(".processor-"+o),q=0;q<p.length;q++)k!==p[q].id&&(a.push(p[q].id),p.length>1&&(b=jQuery("li."+p[q].id+" .processor-line-number"))&&b.html("["+(q+1)+"]"));else a.push("__system__");var r=[];e.data("type")?(r=e.data("type").split(","),r.push("vars")):r=["text","vars"];for(var s=0;s<r.length;s++)if(system_values[o].tags&&system_values[o].tags[r[s]])for(var t=0;t<a.length;t++){jQuery("li."+a[t]).index()>jQuery("li."+k).index()&&"__system__"!==a[t]?e.closest(".caldera-editor-processors-panel-wrap").length&&(l=' disabled="disabled"'):l="";for(var m=jQuery('<optgroup label="'+system_values[o].type+("__system__"!==a[t]?" "+jQuery("li."+a[t]).find(".processor-line-number").html():"")+'"'+l+">"),u=0;u<system_values[o].tags[r[s]].length;u++){var v=system_values[o].tags[r[s]][u];"__system__"!==a[t]&&(v=v.replace(o,a[t])),m.append('<option value="{'+v+'}"'+(f==="{"+v+"}"?'selected="selected"':"")+l+">"+system_values[o].tags[r[s]][u]+"</option>"),i+=1}m.children().length&&m.appendTo(e)}}if(0===i){if(e.empty(),e.data("type")){e.append('<option value="">No '+e.data("type").split(",").join(" or ")+" in form</option>");var w=!0}}else e.prop("disabled",!1);e.hasClass("required")||void 0!==w||e.prepend('<option value=""></option>'),e.val(f)}}init_magic_tags(),jQuery(document).trigger("bound.fields"),jQuery(".caldera-header-save-button").prop("disabled",!1)}},jQuery(document).ready(function(a){function b(){var b=a(".layout-grid-panel"),c=0;b.each(function(b,d){var e=a(d),f=e.find(".layout-structure"),g=e.find(".row"),h=[];g.each(function(b,d){var e=a(d),f=e.children().not(".column-merge"),g=[];c+=1,f.each(function(b,d){span=a(d).attr("class").split("-"),g.push(span[2]);var e=a(d).find(".field-location");e.length&&e.each(function(d,e){a(e).val(c+":"+(b+1)).removeAttr("disabled")})}),h.push(g.join(":"))}),f.val(h.join("|"))})}function c(b,c,e){var f,g,h="fld_"+Math.round(1e7*Math.random()),i=h,j=a("#field_config_panels");b.prop("id","").prop("title",""),f=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),g=a.extend({},{id:i,label:"",slug:""},e),g.slug="",j.append(f(g)),b.removeClass("button-small").removeClass("button").removeClass("button-primary").removeClass("ui-draggable").removeClass("layout-new-form-field").addClass("layout-form-field").attr("data-config",h).css({display:"",opacity:""}),b.find(".layout_field_name").remove(),b.find(".field-location").prop("name","config[layout_grid][fields]["+h+"]"),b.find(".settings-panel").show(),b.appendTo(c),d(),b.find(".icon-edit").trigger("click"),a("#"+h+"_lable").focus().select(),baldrickTriggers(),a(document).trigger("field.added"),e?a("#"+i+"_type").data("type",g.type).trigger("change"):a("#"+h).trigger("field.drop"),rebuild_field_binding()}function d(){a(".toggle-options").sortable({handle:".dashicons-sort"}),a("#grid-pages-panel").sortable({placeholder:"row-drop-helper",handle:".sort-handle",items:".first-row-level",axis:"y",stop:function(){b()}}),a(".layout-column").sortable({connectWith:".layout-column",appendTo:"#grid-pages-panel",helper:"clone",items:".layout-form-field",handle:".drag-handle",cursor:"move",opacity:.7,cursorAt:{left:100,top:15},start:function(a,b){b.helper.css({width:"200px",height:"35px",paddingTop:"20px"})},stop:function(a,c){c.item.removeAttr("style"),b()}}),a("h3 .layout-new-form-field").draggable({helper:"clone",appendTo:"body"}),a(".page-toggle.button").droppable({accept:".layout-form-field",over:function(b,c){a(this).trigger("click"),a(".layout-column").sortable("refresh")}}),a(".layout-column").droppable({greedy:!0,activeClass:"ui-state-dropper",hoverClass:"ui-state-hoverable",accept:".layout-new-form-field",drop:function(b,d){c(d.draggable.clone(),a(this))}}),b()}function e(){if(h){var b=a(".column-fieldinsert");b.length?(b.stop().fadeToggle(700),a(".layout-new-form-field").stop().fadeToggle(700)):cf_clear_puler()}}function f(){a(".caldera-editor-processors-panel ul").sortable({update:function(){rebuild_field_binding()}})}function g(b){var c=a(b),d=a("#"+c.val()+"-tmpl").length?a("#"+c.val()+"-tmpl").html():"",e=c.closest(".caldera-editor-processor-config-wrapper"),f=e.find(".caldera-config-processor-setup"),g=Handlebars.compile(d),h=e.find(".processor_config_string").val(),i=c.data("type");h=h.length&&i===c.val()?JSON.parse(h):processor_defaults[c.val()+"_cfg"],h||(h={}),h._id=e.prop("id"),h._name="config[processors]["+e.prop("id")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[c.val()+"_init"]&&window[c.val()+"_init"](e.prop("id"),f),e.find(".no-conditions").length&&e.find(".toggle_option_tab").remove(),rebuild_field_binding(),baldrickTriggers(),a(".wp-baldrick").baldrick({request:ajaxurl,method:"POST",before:function(b){var c=a(b);c.data("addNode")&&!c.data("request")&&c.data("request","cf_get_default_setting")}})}add_new_grid_page=function(a){return{page_no:"pg_"+Math.round(1e7*Math.random())}},add_page_grid=function(b){var c=a(".page-toggle").length+1,e=a('<button type="button" data-name="Page '+c+'" data-page="'+b.rawData.page_no+'" class="page-toggle button">'+b.params.trigger.data("addtitle")+" "+c+"</button> "),f=a("#page-toggles");e.appendTo(f),f.show(),d(),e.trigger("click"),1===c&&f.hide(),a(document).trigger("add.page")},a(document).on("remove.page add.page load.page",function(b){var c=a(".page-toggle").length,d=a("#tab_pages");c<=1?d.hide():d.show()}),d(),a("#grid-pages-panel").on("click",".column-fieldinsert .dashicons-plus-alt",function(b){var d=a(this).closest(".column-container");c(a("#newfield-tool").clone().css("display",""),d)}),a("#grid-pages-panel").on("click",".column-split",function(b){var c=a(this).parent().parent(),e=c.attr("class").split("-"),f=a("<div>").insertAfter(c),g=Math.ceil(e[2]/2),h=Math.floor(e[2]/2);e[2]=g,c.attr("class",e.join("-")),e[2]=h,f.addClass(e.join("-")).append('<div class="layout-column column-container">'),a(this).remove(),d(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".column-remove",function(c){var d=a(this).closest(".row"),e=d.find(".layout-form-field"),f=d.closest(".layout-grid-panel");if(e.length){if(!confirm(a("#row-remove-fields-message").text()))return;e.each(function(b,c){var d=a(c).data("config");a("#"+d).remove(),a('option[value="'+d+'"]').remove(),a('[data-bind="'+d+'"]').remove(),delete current_form_fields[d]})}d.slideUp(200,function(){if(a(this).remove(),b(),rebuild_field_binding(),!f.find(".row").length){f.remove();var c=a("#page-toggles .button-primary"),d=c.prev(),e=c.next();c.remove(),d.length?d.trigger("click"):e.trigger("click")}a(document).trigger("remove.page")}),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a(".caldera-config-editor-main-panel").on("click",".caldera-add-row",function(c){if(c.preventDefault(),!a(".page-active").length)return void a(".caldera-add-page").trigger("click");var e=a('<div style="display:none;" class="first-row-level row"><div class="col-xs-12"><div class="layout-column column-container"></div></div></div>');a(".page-active").append(e),e.slideDown(200),d(),b()}),a("#grid-pages-panel").on("click",".column-join",function(c){var d=a(this).parent().parent().parent(),e=d.prev(),f=e.attr("class").split("-"),g=d.attr("class").split("-");f[2]=parseFloat(f[2])+parseFloat(g[2]),d.find(".layout-column").contents().appendTo(e.find(".layout-column")),e.attr("class",f.join("-")),d.remove(),b(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("mouseenter",".row",function(c){var d=jQuery(this);jQuery(".column-tools,.column-merge").remove(),d.children().children().first().append('<div class="column-remove column-tools"><i class="icon-remove"></i></div>'),d.children().children().last().append('<div class="column-sort column-tools" style="text-align:right;"><i class="dashicons dashicons-menu drag-handle sort-handle"></i></div>'),d.children().children().not(":first").prepend('<div class="column-merge"><div class="column-join column-tools"><i class="icon-join"></i></div></div>');var e=d.parent().parent().parent().width()/12-1;d.children().children().each(function(b,c){var d=a(c),e=d.width()/2-5;d.prepend('<div class="column-fieldinsert column-tools"><i class="dashicons dashicons-plus-alt"></i></div>'),d.parent().hasClass("col-xs-1")||(d.prepend('<div class="column-split column-tools"><i class="dashicons dashicons-leftright"></i></div>'),d.find(".column-split").css("left",e))}),jQuery(".column-merge").draggable({axis:"x",helper:"clone",appendTo:d,grid:[e,0],drag:function(c,d){a(this).addClass("dragging"),a(".column-tools").remove(),a(".column-split").remove();var e=a(this).parent().parent(),f=d.helper,g=d.originalPosition.left>f.position().left?"left":"right",h=e.prev(),i=Math.round(e.parent().width()/12-10),j=Math.abs(d.originalPosition.left-f.position().left);if(e.parent().addClass("sizing"),j>=i){var k=h.attr("class").split("-"),l=e.attr("class").split("-");k[2]=parseFloat(k[2]),l[2]=parseFloat(l[2]),"left"===g?(k[2]--,l[2]++,k[2]>0&&k[2]<k[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)):(k[2]++,l[2]--,l[2]>0&&l[2]<l[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)),b()}},stop:function(){a(this).removeClass("dragging").parent().parent().parent().removeClass("sizing")}})}),a("#grid-pages-panel").on("mouseleave",".row",function(a){jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".layout-form-field .icon-remove",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config"));c.slideUp(100,function(){a(this).remove()}),d.slideUp(100,function(){a(this).remove()})}),a(document).on("click",".layout-form-field .dashicons-admin-page",function(){var b=a(this),d=b.parent(),e=d.data("config"),f=a("#"+e).formJSON(),g=b.closest(".column-container"),h=d.clone().css("display",""),i={};d.hasClass("field-edit-open")&&(d.removeClass("field-edit-open"),h.removeClass("field-edit-open"),a(".caldera-editor-field-config-wrapper").hide()),f.config.fields[e]&&(i=f.config.fields[e],delete i.ID),c(h,g,i)}),a(document).on("click",".layout-form-field .icon-edit",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config")+"_type").val();a(".caldera-editor-field-config-wrapper").hide(),c.hasClass("field-edit-open")?c.removeClass("field-edit-open"):(a(".layout-form-field").removeClass("field-edit-open"),c.addClass("field-edit-open"),a("#"+c.data("config")).show()),a(document).trigger("show."+c.data("config")),a(document).trigger("show.fieldedit"),"radio"!==d&&"checkbox"!==d&&"dropdown"!==d&&"toggle_switch"!==d||a("#"+c.data("config")+"_auto").trigger("change")}),a("body").on("click",".layout-modal-edit-closer,.layout-modal-save-action",function(b){b.preventDefault();var c=a(this),d=a(".layout-form-field.edit-open"),e=c.closest(".layout-modal-container");settings=e.find(".settings-panel").first(),a(".edit-open").removeClass("edit-open"),settings.appendTo(d.find(".settings-wrapper")).hide(),e.hide()}),a(".layout-editor-body").on("change",".layout-core-pod-query",function(){a(this).parent().find(".settings-panel-row").remove(),a(".edit-open").find(".drag-handle .set-pod").html(" - "+a(this).val())}),a(".layout-editor-body").on("click",".remove-where",function(){a(this).closest(".settings-panel-row").remove()}),a(".layout-editor-body").on("click",".use-pod-container",function(){var b=a(this),c=b.prev(),d=c.val();if(d.length){a(".edit-open").find(".drag-handle .set-pod").html(" - "+c.val()),b.parent().parent().find(".spinner").css("display","inline-block");var e={action:"pq_loadpod",pod_reference:{pod:d}};a.post(ajaxurl,e,function(c){b.parent().find(".spinner").css("display","none");var d=a("#where-line-tmpl").html(),e="",f=b.closest(".settings-panel").data("container");for(var g in c)e+='<option value="'+c[g]+'">'+c[g]+"</option>";d=d.replace(/{{fields}}/g,e).replace(/{{container_id}}/g,f),b.parent().append(d)})}}),a(".caldera-editor-header").on("click",".column-sort .icon-edit",function(a){}),a(".layout-editor-body").on("tray_loaded",".layout-template-tray",function(){d()}),a(".caldera-editor-header").on("click",".caldera-editor-header-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-editor-header-nav li").removeClass("active"),a(".caldera-editor-body").hide(),a(c.attr("href")).show(),c.parent().addClass("active"),rebind_field_bindings()}),a("body").on("change",".required",function(){check_required_bindings(this)}),a("body").on("submit",".caldera-forms-options-form",function(b){a(".required.has-error").length&&b.preventDefault()}),a(".caldera-editor-body").on("click",".add-toggle-option",function(b){var c=a(this);if(c.data("bulk"))return a(c.data("bulk")).toggle(),void a(c.data("bulk")).find("textarea").focus();var d=c.closest(".caldera-editor-field-config-wrapper"),e=d.find(".toggle-options"),f=a("#field-option-row-tmpl").html(),g=Handlebars.compile(f),h="opt"+parseInt(1048576*(Math.random()+1)),i={_name:"config[fields]["+d.prop("id")+"][config]",option:{}};if(c.data("options")){for(var j=a(c.data("options")),k=j.val().split("\n"),l=!1,m=0;m<k.length;m++){var n=k[m],o=n,p=o.split("|");p.length>1&&(o=p[0],n=p[1],l=!0),i.option["opt"+parseInt(1048576*(Math.random()+m))]={value:o,label:n,default:!1}}a(c.data("options")).parent().hide(),j.val(""),!0===l?d.find(".toggle_show_values").prop("checked",!0):d.find(".toggle_show_values").prop("checked",!1),e.empty()}else i.option[h]={value:"",label:"",default:!1};a(".preset_options").val(""),e.append(g(i)),d.find(".toggle_show_values").trigger("change"),a(".toggle-options").sortable({handle:".dashicons-sort"}),k||e.find(".toggle_label_field").last().focus()}),a(".caldera-editor-body").on("change",".preset_options",function(b){var c=a(this),d=c.val(),e=a(c.data("bulk"));preset_options&&preset_options[d]&&preset_options[d].data&&("object"==typeof preset_options[d].data&&preset_options[d].data.length&&(preset_options[d].data=preset_options[d].data.join("\n")),e.val(preset_options[d].data))}),a(".caldera-editor-body").on("click",".toggle-remove-option",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-config").first();a(this).parent().remove(),c.trigger("change"),a(document).trigger("option.remove")}),a(".caldera-editor-body").on("click",".page-toggle",function(b){var c=a(this),d=c.parent(),e=d.find(".button");e.removeClass("button-primary"),a(".layout-grid-panel").hide().removeClass("page-active"),a("#"+c.data("page")).show().addClass("page-active"),c.addClass("button-primary"),e.each(function(b,c){a(c).html(d.data("title")+" "+(b+1))}),1===e.length&&d.hide()}),a(".caldera-editor-body").on("blur toggle.values",".toggle_label_field",function(b){var c=a(this),d=c.prev();d.val().length||d.val(c.val())}),a(document).on("change focusout",".toggle_value_field",function(){a(document).trigger("show.fieldedit")}),a(document).on("show.fieldedit option.remove",function(b){a(".toggle_value_field.has-error").removeClass("has-error");for(var c=a("#"+a(".layout-form-field.field-edit-open").data("config")),d=c.find(".toggle_value_field"),e=c.find(".notice"),f=0,g=0;g<d.length;g++){for(var h=(d[g].value,0),i=0;i<d.length;i++)d[g]!==d[i]&&d[g].value===d[i].value&&(a(d[i]).addClass("has-error"),h++);h>0&&(a(d[g]).addClass("has-error"),f++)}f>0?(e.slideDown(),b.preventDefault()):e.slideUp()});var h=!1;focus_initial_field=function(b){var c=a(".layout-grid-panel .icon-edit").first();c.length?c.trigger("click"):(a(".layout-column.column-container").first().trigger("mouseover"),h=setInterval(e,500)),a(document).off("load.page",focus_initial_field)},a(document).on("load.page",focus_initial_field),cf_clear_puler=function(){h&&(clearTimeout(h),a(document).off("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler)),a(".layout-new-form-field, .column-fieldinsert").fadeIn()},a(document).on("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler),rebuild_field_binding(),a(document).trigger("load.page"),a("body").on("click",".caldera-processor-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-processor-nav").removeClass("active"),a(".caldera-editor-processor-config-wrapper").hide(),a(c.attr("href")).show(),c.parent().addClass("active")}),a("body").on("click",".add-new-processor",function(b){var c=a(this),d=Handlebars.compile(a("#processor-wrapper-tmpl").html());wrap=a(".active-processors-list"),process_conf=a(".caldera-editor-processor-config"),processid=Math.round(1e8*Math.random()),new_templ=Handlebars.compile(a("#processor-line-tmpl").html()),new_proc={id:"fp_"+processid,type:c.data("type")},wrap.append(new_templ(new_proc)),process_conf.append(d(new_proc)),a("#form_processor_baldrickModalCloser").trigger("click"),a(".caldera-processor-nav a").last().trigger("click"),a("#fp_"+processid+"_type").val(c.data("type")).trigger("change"),f(),baldrickTriggers()}),a("body").on("click",".delete-processor",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper");d.data("type"),confirm(c.data("confirm"))&&(a("."+d.prop("id")).remove(),d.remove(),a(".caldera-processor-nav a").first().trigger("click"),rebuild_field_binding())}),a("body").on("change",".caldera-select-processor-type",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper"),e=c.find('option[value="'+c.val()+'"]').text(),f=d.find(".caldera-editor-processor-title"),h=a(".caldera-processor-nav.active a");""===e&&(e=f.data("title")),f.html(e),h.html(e+' <span class="processor-line-number"></span>').parent().addClass("processor_type_"+c.val()),g(this),rebuild_field_binding()}),a(document).on("click","#cf-shortcode-preview",function(){a(this).focus().select()}),a(document).on("change",".cf-email-preview-toggle",function(){var b=a(this),c=a(".caldera-header-email-preview-button");b.is(":checked")?c.show().attr("aria-hidden","false").css("visibility","visible"):c.hide().attr("aria-hidden","true").css("visibility","hidden")}),rebuild_field_binding(),a(".caldera-select-processor-type").each(function(a,b){g(b)}),f()}),Handlebars.registerHelper("_field",function(a){var b=this,c="",d="",e="",f=this[a.hash.slug]?' data-default="'+this[a.hash.slug]+'"':"";a.hash.required&&(c=" required"),a.hash.exclude&&(e='data-exclude="'+a.hash.exclude+'"'),a.hash.array&&(d="[]","true"!==a.hash.array&&(f='value="'+a.hash.array+'"')),out="<select "+(a.hash.type?'data-type="'+a.hash.type+'"':"")+f+" "+e+' name="'+this._name+"["+a.hash.slug+"]"+d+'" id="'+this._id+"_"+a.hash.slug+'" class="block-input field-config caldera-field-bind'+c+'">',this[a.hash.slug]?out+='<option class="bound-field" value="'+this[a.hash.slug]+'" class="bound-field"></option>':a.hash.required||(out+='<option value=""></option>');for(var g in current_form_fields){var h="";a.hash.type&&current_form_fields[g].type!==a.hash.type||(b[a.hash.slug]&&b[a.hash.slug]===g&&(h=' selected="selected"'),out+='<option value="'+g+'"'+h+">"+current_form_fields[g].label+" ["+current_form_fields[g].slug+"]</option>")}return out+="</select>",a.hash.required&&(out+='<input class="field-config" name="'+this._name+'[_required_bounds][]" type="hidden" value="'+a.hash.slug+'">'),out}),Handlebars.registerHelper("console",function(a,b){console.log(this)});
1
+ function new_conditional_group(a){var b=a.trigger.data("id"),c="cl"+Math.round(18746582734*Math.random());return{group:[{id:"rw"+Math.round(98347598345*Math.random()),type:a.trigger.data("type"),lines:[{id:c}]}],id:b}}function new_conditional_line(a){var b=a.trigger.data("id"),c=a.trigger.data("group"),d=a.trigger.data("type"),e="cl"+Math.round(18746582734*Math.random());return{id:b,type:d,lineid:e,rowid:c,name:"config["+d+"]["+b+"][conditions][group]["+c+"]["+e+"]"}}function build_conditions_config(a){var b=JSON.parse(a.trigger.val());return b.id=a.trigger.data("id"),b}function pre_compile_templates(){for(var a=jQuery(".cf-editor-template"),b=0;b<a.length;b++)compiled_templates[a[b].id]=Handlebars.compile(a[b].innerHTML)}function get_compiled_template(a){return"object"!=typeof compiled_templates&&pre_compile_templates(),compiled_templates[a+"_tmpl"]?compiled_templates[a+"_tmpl"]:compiled_templates.noconfig_field_templ}function setup_field_type(a){return{id:a.trigger.prop("id")}}function check_required_bindings(a){var b,c=(jQuery(".caldera-header-save-button"),jQuery(".layout-form-field")),d=jQuery(".caldera-processor-nav"),e=!0;b=a?jQuery(a):jQuery(".caldera-config-field .required"),b.removeClass("has-error"),c.removeClass("has-error"),d.removeClass("has-error"),jQuery(".error-tag").remove(),required_errors={},b.each(function(a,b){var c=jQuery(b),d=c.closest(".caldera-config-editor-panel");if(b.value.length){if(c.hasClass("field-slug"))for(var f=jQuery(".field-slug").not(c),g=0;g<f.length;g++)if(f[g].value===b.value){var c=jQuery(f[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}if(c.hasClass("toggle_value_field"))for(var j=c.closest(".caldera-config-group").find(".toggle_value_field").not(c),g=0;g<j.length;g++)if(j[g].value===b.value){var c=jQuery(j[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}}else{required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1}});for(var f in required_errors)jQuery(".caldera-forms-options-form").find('a[href="#'+f+'"]').append('<span class="error-tag">'+required_errors[f]+"</span>");return jQuery(".caldera-conditional-field-set").trigger("change"),e}function cf_revisions_ui(){var a=CF_ADMIN.rest.revisions,b=document.getElementById("tmpl--revisions");if(null!==b){var c=jQuery("#caldera-forms-revisions-spinner");c.css({visibility:"visible",float:"none"}),jQuery.get(a,function(a){if(a.hasOwnProperty("message"))document.getElementById("caldera-forms-revisions").innerHTML='<p class="notice notice-large notice-info">'+a.message+"</p>";else{var d={revisions:a};revisions=a;var e=b.innerHTML,f=jQuery("#tmpl--revisions").html();e=Handlebars.compile(f),document.getElementById("caldera-forms-revisions").innerHTML=e(d)}c.css({visibility:"hidden",float:"none"}),jQuery("input[type=radio][name=caldera-forms-revision]").change(function(){jQuery("#caldera-forms-revision-go").attr("href",jQuery(this).data("edit")).css({display:"inline-block",visibility:"visible"}).attr("aria-hidden",!1)})}).fail(function(){c.css({visibility:"hidden",float:"none"})})}}function new_conditional_group(a){var b=a.trigger.data("id"),c="cl"+Math.round(18746582734*Math.random());return{group:[{id:"rw"+Math.round(98347598345*Math.random()),type:a.trigger.data("type"),lines:[{id:c}]}],id:b}}function new_conditional_line(a){var b=a.trigger.data("id"),c=a.trigger.data("group"),d=a.trigger.data("type"),e="cl"+Math.round(18746582734*Math.random());return{id:b,type:d,lineid:e,rowid:c,name:"config["+d+"]["+b+"][conditions][group]["+c+"]["+e+"]"}}function build_conditions_config(a){var b=JSON.parse(a.trigger.val());return b.id=a.trigger.data("id"),b}function setup_field_type(a){return{id:a.trigger.prop("id")}}function check_required_bindings(a){var b,c=(jQuery(".caldera-header-save-button"),jQuery(".layout-form-field")),d=jQuery(".caldera-processor-nav"),e=!0;b=a?jQuery(a):jQuery(".caldera-config-field .required"),b.removeClass("has-error"),c.removeClass("has-error"),d.removeClass("has-error"),jQuery(".error-tag").remove(),required_errors={},b.each(function(a,b){var c=jQuery(b),d=c.closest(".caldera-config-editor-panel");if(b.value.length){if(c.hasClass("field-slug"))for(var f=jQuery(".field-slug").not(c),g=0;g<f.length;g++)if(f[g].value===b.value){var c=jQuery(f[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}if(c.hasClass("toggle_value_field"))for(var j=c.closest(".caldera-config-group").find(".toggle_value_field").not(c),g=0;g<j.length;g++)if(j[g].value===b.value){var c=jQuery(j[g]);required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1;break}}else{required_errors[d.prop("id")]||(required_errors[d.prop("id")]=0);var h=c.closest(".caldera-editor-field-config-wrapper"),i=c.closest(".caldera-editor-processor-config-wrapper");h.length&&jQuery('.layout-form-field[data-config="'+h.prop("id")+'"]').addClass("has-error"),i.length&&jQuery("."+i.prop("id")).addClass("has-error"),required_errors[d.prop("id")]+=1,c.addClass("has-error"),e=!1}});for(var f in required_errors)jQuery(".caldera-forms-options-form").find('a[href="#'+f+'"]').append('<span class="error-tag">'+required_errors[f]+"</span>");return jQuery(".caldera-conditional-field-set").trigger("change"),e}var cfAdminAJAX;cfAdminAJAX="object"==typeof CF_ADMIN?CF_ADMIN.adminAjax:ajaxurl,jQuery(document).ready(function(a){function b(b){var d=a(b),e=d.val(),f=d.closest(".caldera-editor-field-config-wrapper"),g=f.find(".caldera-config-field-setup"),h=get_compiled_template(e),i=f.find(".field_config_string").val(),j=d.data("type");if(f.find(".caldera-config-group").show(),d.addClass("field-initialized"),i=i.length&&j===d.val()?JSON.parse(i):fieldtype_defaults[d.val()+"_cfg"],i||(i={}),i._id=d.data("field"),i._name="config[fields]["+d.data("field")+"][config]",h=a("<div>").html(h(i)),g.html(h.html()),"function"==typeof window[d.val()+"_init"]&&window[d.val()+"_init"](d.data("field"),g),fieldtype_defaults[d.val()+"_nosupport"]&&(fieldtype_defaults[d.val()+"_nosupport"].indexOf("hide_label")>=0&&f.find(".hide-label-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("caption")>=0&&f.find(".caption-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("required")>=0&&f.find(".required-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("custom_class")>=0&&f.find(".customclass-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("entry_list")>=0&&f.find(".entrylist-field").hide().find(".field-config").prop("checked",!1)),f.find(".toggle_show_values").trigger("change"),!a(".caldera-select-field-type").not(".field-initialized").length){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded"))c(d.data("field"));else{for(var k=a(".caldera-select-field-type.field-initialized"),l=0;l<k.length;l++)c(a(k[l]).data("field"));core_form.addClass("builder-loaded")}a(".caldera-header-save-button").prop("disabled",!1),rebuild_field_binding(),baldrickTriggers()}if(a(".color-field").length&&a(".color-field").wpColorPicker({change:function(b){var c=a(this);c.data("ev")&&clearTimeout(c.data("ev")),c.data("ev",setTimeout(function(){c.trigger("record")},200)),c.data("target")&&(a(c.data("target")).css(c.data("style"),c.val()),a(c.data("target")).val(c.val()))}}),["html","section_break"].indexOf(d.val())>=0){var m=f.find(".field-label");m.val()||m.val(d.val()+"__"+f.find(".field-id").val()).trigger("change")}}function c(b){var c=a("#"+b),d=c.find(".caldera-select-field-type"),e=d.val(),f=a('.layout-form-field[data-config="'+b+'"]'),g=f.find(".field_preview"),h=(a("#preview-"+e+"_tmpl").html(),get_compiled_template("preview-"+e)),i={id:b},j=c.find(".field-config");j.each(function(c,d){for(var e=a(d),f=e.prop("name").split("["+b+"]")[1].substr(1),g=f.substr(0,f.length-1).split("]["),h=e.is(":checkbox,:radio")?e.filter(":checked").val():e.val(),j={},k=g.length-1;k>=0;k--)if(k===g.length-1)j[g[k]]=h;else{var l=j;j={},j[g[k]]=l}a.extend(!0,i,j)}),g.html(h(i)),f.removeClass("button"),a(".preview-field-config").prop("disabled",!0)}function d(b){var c,d=a(".caldera-editor-fields-panel"),e=(a(".caldera-editor-groups-panel"),a(".caldera-group-nav")),f=a('[data-group="'+b+'"]'),g=f.find(".caldera-config-group-name"),h=f.find(".caldera-config-group-slug"),i=f.find(".caldera-config-group-desc"),j=f.find(".caldera-config-group-admin"),k=a(".active-group-name"),l=a(".active-group-slug"),m=a(".active-group-desc"),n=a(".active-group-admin"),o=a(".caldera-editor-fields-list ul"),p=f.find(".caldera-config-group-repeat"),q=a(".repeat-config-button"),r=(a(".caldera-editor-group-settings"),a(".caldera-config-group-remove"));a(".new-group-input").remove(),a(".new-field-input").remove(),e.removeClass("active"),d.show(),o.hide(),o.removeClass("active").find("li.active").removeClass("active"),o.hide(),f.addClass("active"),c=a(".caldera-editor-fields-list ul.active li"),c.length?r.hide():r.show(),a(".caldera-editor-field-config-wrapper").hide(),f.show(),k.val(g.val()),l.val(h.val()),m.val(i.val()),"1"===j.val()?n.prop("checked",!0):n.prop("checked",!1),"1"===p.val()?q.addClass("field-edit-open"):q.removeClass("field-edit-open")}var e=a("#save_indicator");a("#caldera-forms-restore-revision").on("click",function(b){b.preventDefault();var c=a(this);e.addClass("loading"),a.post({url:"admin.php?page=caldera-forms",data:{cf_edit_nonce:a("#cf_edit_nonce").val(),form:c.data("form"),cf_revision:a("#form_db_id_field").val(),restore:!0},success:function(){window.location=c.data("edit-link")}})}),a(".caldera-header-save-button").baldrick({method:"POST",request:"admin.php?page=caldera-forms",before:function(b,c){if(c.preventDefault(),!check_required_bindings())return!1;e.addClass("loading"),"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();var d=a(".caldera-forms-options-form").formJSON();return d.conditions&&(d.config.conditional_groups={conditions:d.conditions}),a(b).data("cf_edit_nonce",d.cf_edit_nonce),a(b).data("_wp_http_referer",d._wp_http_referer),a(b).data("sender","ajax"),a(document).trigger("cf.presave",{config:d.config}),a(b).data("config",JSON.stringify(d.config)),!0},callback:function(b){if(!1===b.data){var c=a(".updated_notice_box");c.stop().animate({top:0},200,function(){setTimeout(function(){c.stop().animate({top:-75},200)},2e3)}),cf_revisions_ui()}},complete:function(b){a(".wrapper-instance-pane .field-config").prop("sabled",!1)}}),a("body").on("click",".toggle_processor_event input",function(b){var c=a(this),d=c.closest(".wrapper-instance-pane"),e=d.find(".caldera-config-processor-setup"),f=d.find(".caldera-config-processor-notice");c.is(":checked")?(c.parent().addClass("activated"),c.parent().find(".is_active").show().attr("aria-hidden",!1).css("visibility","visible"),c.parent().find(".not_active").hide().attr("aria-hidden",!0).css("visibility","hidden")):(c.parent().removeClass("activated"),c.parent().find(".is_active").hide().attr("aria-hidden",!0).css("visibility","hidden"),c.parent().find(".not_active").show().attr("aria-hidden",!1).css("visibility","visible")),d.find(".toggle_processor_event .activated").length?(e.slideDown(100),f.slideUp(100)):(e.slideUp(100),f.slideDown(100))}),a("body").on("click",".toggle_option_tab > a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href")),e=c.parent().find("a"),f=c.closest(".caldera-editor-config-wrapper").find(".wrapper-instance-pane");e.removeClass("button-primary"),f.hide(),d.show(),c.addClass("button-primary"),a(".caldera-conditionals-usetype").trigger("change")}),a(".caldera-editor-body").on("change",".caldera-select-field-type",function(a){b(this)}),a(".caldera-editor-body").on("click",".caldera-group-nav a",function(b){b.preventDefault(),d(a(this).attr("href").substr(1))}),a(".caldera-editor-body").on("click",".caldera-editor-fields-list a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href"));a(".new-group-input").remove(),a(".new-field-input").remove(),a(".caldera-editor-fields-list li.active").removeClass("active"),c.parent().addClass("active"),a(".caldera-editor-field-config-wrapper").hide(),d.show()}),a(".caldera-editor-body").on("click",".group-config-button",function(b){var c=a(this),d=a(".caldera-editor-group-settings"),e=c.closest(".caldera-editor-fields-panel"),f=a(".caldera-config-group-remove");e.find(".caldera-field-line").length?f.hide():f.show(),c.hasClass("field-edit-open")?(d.slideUp(100),c.removeClass("field-edit-open")):(d.slideDown(100),c.addClass("field-edit-open"))}),a(".caldera-editor-body").on("keydown",".field-config",function(b){a(this).is("textarea")||13===b.which&&b.preventDefault()}),a(".caldera-editor-body").on("change",".field-label",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").prop("id"),d=a('[data-field="'+c+'"]'),e=a("#"+c+" .caldera-editor-field-title, .layout-form-field.field-edit-open .layout_field_name"),f=a("#"+c+" .field-slug");d.find("a").html('<i class="icn-field"></i> '+this.value),e.text(this.value),"change"===b.type&&f.trigger("change"),rebuild_field_binding()}),a(".caldera-editor-body").on("change",".active-group-name",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name")),e=c.find("span");"focusout"!==b.type||this.value.length||(this.value="Group "+(parseInt(c.index())+1)),d.val(this.value),e.text(this.value)}),a(".caldera-editor-body").on("change",".active-group-slug",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val()),e=c.find(".caldera-config-group-slug"),f=(c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase());"focusout"!==b.type||this.value.length||(f=d.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase()),e.val(f),this.value=f}),a(".caldera-editor-body").on("change",".active-group-desc",function(b){b.preventDefault();var c=a(".caldera-group-nav.active");c.data("group");c.find(".caldera-config-group-desc").val(this.value)}),a(".caldera-editor-body").on("change",".active-group-admin",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val(),c.find(".caldera-config-group-admin"));c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase();a(this).prop("checked")?(d.val(1),c.addClass("is-admin")):(d.val(0),c.removeClass("is-admin"))}),a(".caldera-editor-body").on("click",".repeat-config-button",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find("a .group-type")),e=c.find(".caldera-config-group-repeat"),f=a(this);f.hasClass("field-edit-open")?(e.val("0"),d.removeClass("icn-repeat").addClass("icn-folder"),f.removeClass("field-edit-open")):(e.val("1"),d.addClass("icn-repeat").removeClass("icn-folder"),f.addClass("field-edit-open"))}),a(".caldera-editor-body").on("click",".delete-field",function(){var b=a(this),c=b.closest(".caldera-editor-field-config-wrapper").prop("id");confirm(b.data("confirm"))&&(a("#"+c).remove(),a('option[value="'+c+'"]').remove(),a('[data-bind="'+c+'"]').remove(),delete current_form_fields[c],a('[data-config="'+c+'"]').slideUp(200,function(){a(this).remove(),rebuild_field_binding(),a(document).trigger("field.removed")}))}),a(".caldera-editor-body").on("click",".add-new-group,.add-field",function(){var b=a(this);if(a(".new-group-input").remove(),a(".new-field-input").remove(),b.hasClass("add-field")){a('<input type="text" class="new-field-input block-input">').appendTo(a(".caldera-editor-fields-list ul.active")).focus()}else{a('<input type="text" class="new-group-input block-input">').appendTo(a(".caldera-editor-groups-panel")).focus()}}),a(".caldera-editor-body").on("change keypress",".new-group-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,e,f=this.value,g=a(this),h=a(".caldera-editor-groups-panel ul"),i=a(".caldera-editor-fields-list");if(f.length){c=Handlebars.compile(a("#caldera_group_line_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),name:f},h.append(c(e));a('<ul data-group="'+e.id+'">').hide().appendTo(i),g.remove(),d(e.id)}else g.remove()}),a(".caldera-editor-body").on("change keypress",".new-field-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,d,e,f=this.value,g=a(this),h=g.parent(),i=a(".caldera-editor-field-config"),j=a(".caldera-config-group-remove");if(f.length){j.hide(),c=Handlebars.compile(a("#caldera_field_line_templ").html()),d=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),label:f,slug:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),group:a(".caldera-group-nav.active").data("group")};var k=a(c(e));k.appendTo(h),i.append(d(e)),k.find("a").trigger("click"),g.remove()}else g.remove()}),a(".caldera-editor-body").on("change",".field-slug",function(b){this.value.length?this.value=this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase():"change"===b.type&&(this.value=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-label").val().split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase())}),a(".caldera-editor-body").on("click",".caldera-add-group",function(b){var c=a(this),d=c.data("group"),e=a("#"+d+"_panel_tmpl").html();c.parent().parent().append(e)}),a(".caldera-editor-body").on("click",".caldera-config-group-remove",function(b){var c=a(".active-group-slug").val();a('[data-group="'+c+'"]').hide(0,function(){a(this).remove();var b=a(".caldera-group-nav");b.length?b.first().find("a").trigger("click"):a(".caldera-editor-fields-panel").hide()})}),a("body").on("click",".set-current-field",function(b){b.preventDefault();var c=a(this);a("#"+c.data("field")+"_type").val(c.data("type")).trigger("change"),a("#"+c.data("field")+"_lable").focus(),a("#field_setup_baldrickModalCloser").trigger("click")}),a(".caldera-editor-body").on("change record",".field-config",function(b){var d=a(this),e=d.closest(".caldera-editor-field-config-wrapper");current_form_fields&&(d.prop("id")===e.prop("id")+"_lable"&&(current_form_fields[e.prop("id")].label=this.value),d.prop("id")===e.prop("id")+"_slug"&&(current_form_fields[e.prop("id")].slug=this.value),d.prop("id")===e.prop("id")+"_type"&&(current_form_fields[e.prop("id")].type=this.value),e.length&&c(e.prop("id")))}),a(".caldera-editor-body").on("focus",".caldera-field-bind",function(b){var c=a(this),d=this.value;if(b.type&&"focusin"===b.type)return c.removeClass("bound_field").addClass("reload-binding"),rebind_field_bindings(),void(this.value=d)}),a(".caldera-editor-body").on("change",".caldera-conditional-field-set",function(b){var c,d,e=a(this),f=e.parent().find(".compare-type"),g=e.data("condition"),h=e.data("id"),i="config["+g+"]["+h+"][conditions][group]["+e.data("row")+"]["+e.data("line")+"]",j=e.data("line"),k=a("#"+j+"_value"),l=k.find(".caldera-conditional-value-field").first(),m=[],n=this.value;if("{"!==n.substr(0,1)&&(c=a("#"+n),d=c.find(".field-button-type"),m=c.find(".caldera-config-group-toggle-options")),e.hasClass(".bind_init")&&e.addClass("bound_triggered"),l.length?l.val().length&&k.data("value",l.val()):0===k.val()?k.data("value",0):"0"===k.val()&&k.data("value","0"),f.show(),m.length){var o=m.find(".toggle_option_row"),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">';p+='<option value=""></option>',o.each(function(b,c){var d=a(c).find(".toggle_label_field"),e=d.data("option"),f="";k.data("value")&&(k.data("value").toString()!==e&&k.data("value").toString()!==a(c).find(".toggle_value_field").val()||(f=' selected="selected"')),p+='<option value="'+e+'"'+f+">"+d.val()+"</option>"}),p+="</select>"}else d&&"button"==d.val()?(f.val("is").hide(),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">',p+='<option value="click" '+("click"===k.data("value")?'selected="selected"':"")+">Click</option>",p+='<option value="dblclick" '+("dblclick"===k.data("value")?'selected="selected"':"")+">Double Click</option>",p+="</select>"):p='<input name="'+i+'[value]" type="text" class="caldera-conditional-value-field magic-tag-enabled" value="'+(k.data("value")?k.data("value"):"")+'" style="max-width: 205px;">';k.html(p),init_magic_tags()}),a(".caldera-editor-body").on("change",".caldera-conditionals-usetype",function(b){var c=a(this);"show"===this.value||"hide"===this.value||"disable"===this.value||"use"===this.value||"not"===this.value?(a("#"+c.data("id")+"_condition_group_add").show(),a("#"+c.data("id")+"_conditional_wrap").show()):(a("#"+c.data("id")+"_condition_group_add").hide(),a("#"+c.data("id")+"_conditional_wrap").hide())}),a(".caldera-editor-body").on("click",".remove-conditional-line",function(b){b.preventDefault();var c=a(this),d=c.closest(".caldera-condition-line"),e=c.closest(".caldera-condition-group");d.remove(),e.find(".caldera-condition-line").length||e.remove()}),a(".caldera-group-nav").first().find("a").trigger("click"),a(".caldera-editor-body").on("change",".toggle_show_values",function(b){var c=a(this),d=c.closest(".caldera-config-group-toggle-options"),e=d.find(".toggle_label_field"),f=d.find(".toggle_value_field, .toggle_calc_value_field"),g=d.find(".option-setting-label-for-value"),h=d.find(".option-setting-label-for-label"),i=(d.find(".option-group-control"),{width:"100%",display:"inline",float:"left"});c.prop("checked")?(f.show().css(i).attr("aria-hidden",!1),e.show().css(i).attr("aria-hidden",!1),g.show().css({display:"inline-block"}),h.css("display","inline")):(f.hide().attr("aria-hidden",!0),g.hide().attr("aria-hidden",!0),e.css("width",245),h.css("display","inline")),e.trigger("toggle.values"),init_magic_tags()}),a(".caldera-editor-body").on("change",".auto-populate-type",function(){a(this).closest(".wrapper-instance-pane").find(".auto-populate-options").trigger("change")}),a(".caldera-editor-body").on("change",".auto-populate-options",function(){var b=a(this),c=b.closest(".wrapper-instance-pane"),d=c.find(".caldera-config-group-toggle-options"),e=c.find(".caldera-config-group-auto-options"),f=e.find(".auto-populate-type");e.find(".auto-populate-type-panel").hide(),b.prop("checked")?(d.hide(),e.show()):(d.show(),e.hide()),e.find(".caldera-config-group-auto-"+f.val()).show()}),a("body").on("change",".pin-toggle-roles",function(){var b=a(this),c=a("#caldera-pin-rules");"1"===b.val()?c.show():c.hide()}),a("body").on("click",".magic-tag-init",function(b){a(this).prev().focus().trigger("init.magic")}),a("body").on("keyup focus select click init.magic",".magic-tag-enabled",function(b){init_magic_tags();var c=a(this),d=c.parent(),e=d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val()?d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val():"hidden",f=d.find(".magic-tags-autocomplete"),g=f.find("ul"),h=this.value,i=[],j="",k=this.selectionStart,l=this.selectionEnd;if(f.length&&f.data("focus"))return void b.preventDefault();if(c.data("tag",""),this.selectionEnd>this.selectionStart)j=this.value.substr(this.selectionStart,this.selectionEnd-this.selectionStart);else if(("select"===b.type||"keyup"===b.type)&&40!==b.which&&38!==b.which&&39!==b.which&&37!==b.which){for(k=this.selectionStart;k>0;k--){var m=h.substr(k-1,1);if(" "===m||"\n"===m||("%"===m||"}"===m)&&this.selectionStart===k)break}for(l=this.selectionStart;l<h.length;l++){var m=h.substr(l,1);if(" "===m||"\n"===m||("%"===m||"{"===m)&&this.selectionStart===l)break}j=h.substr(k,l-k)}if("focusout"!==b.type){"init"!==b.type&&j.length<3&&f.length&&f.remove(),f.length||(f=a('<div class="magic-tags-autocomplete"></div>'),g=a("<ul></ul>"),g.appendTo(f),f.insertAfter(c),f.on("mouseenter",function(){a(this).data("focus",!0)}),f.on("mouseleave",function(){a(this).data("focus",!1),setTimeout(function(){f.remove()},200),c.is(":focus")||c.trigger("focusout")})),g.empty();var n="system",o=!1;"hidden"===e||"dropdown"===e||"radio"===e||"toggle_switch"===e||"checkbox"===e?(o=!0,e="text",n="all"):"paragraph"!==e&&"html"!==e||(e="text"),c.data("type")&&(e=c.data("type")),e=e.split(","),e.push("vars");for(var p=0;p<e.length;p++)for(var q in system_values)if(void 0!==system_values[q].tags&&void 0!==system_values[q].tags[e[p]]){if(i=[q],"system"!==q&&"variable"!==q&&"field"!==q){var r=jQuery(".processor-"+q),s=c.closest(".caldera-editor-processor-config-wrapper"),t=s.prop("id");i=[];for(var u=0;u<r.length;u++)if(s.length||!0!==o){if(t===r[u].id)continue;jQuery("li."+r[u].id).index()<jQuery("li."+t).index()&&i.push(r[u].id)}else i.push(r[u].id)}for(var v=0;v<i.length;v++)if("all"===n||n===q||"variable"===q){var w=a('<li class="header">'+system_values[q].type+(v>0?" ["+(v+1)+"]":"")+"</li>"),x=0;w.appendTo(g);for(var y=0;y<system_values[q].tags[e[p]].length;y++)if(!c.data("parent")||"variable:"+c.data("parent")!==system_values[q].tags[e[p]][y]){var z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+system_values[q].wrap[1];if(i[v]!==q&&i.length>1&&(z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+":"+i[v]+system_values[q].wrap[1]),z.indexOf(j)>=0||"init"===b.type){x+=1;var A=z.replace(j,"<strong>"+j+"</strong>"),B=a('<li class="tag" data-tag="'+z+'">'+A+"</li>");B.on("click",function(){var b=a(this).data("tag");c.val(h.substr(0,k)+b+h.substr(l)).trigger("change").focus(),c[0].selectionStart=k+b.length-(b.indexOf("*")>0?2:0),c[0].selectionEnd=k+b.length-(b.indexOf("*")>0?1:0),l=k=c[0].selectionEnd,h+=b,c.trigger("init.magic")}),B.appendTo(g)}}0===x&&w.remove()}}}g.children().length||f.remove(),"focusout"===b.type&&setTimeout(function(){f.remove()},200)}),pre_compile_templates(),a(".caldera-select-field-type").not(".field-initialized").each(function(a,c){b(c)})});var rebuild_field_binding,rebind_field_bindings,current_form_fields={},required_errors={},add_new_grid_page,add_page_grid,init_magic_tags,core_form,compiled_templates={};init_magic_tags=function(){jQuery(".magic-tag-enabled").each(function(a,b){var c=jQuery(b);if(c.hasClass("magic-tag-init-bound")){var d=c.parent().find(".magic-tag-init");return void(c.is(":visible")?d.show():d.hide())}var e=jQuery('<span class=""></span>'),f=jQuery('<span style="position:relative;display:inline-block; width:100%;"></span>');c.is("input")&&e.css("borderBottom","none"),c.hasClass("caldera-conditional-value-field")&&f.width("auto"),c.wrap(f),e.insertAfter(c),c.addClass("magic-tag-init-bound"),c.is(":visible")?e.show():e.hide()})},rebuild_field_binding=function(){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded")){var a=jQuery(".caldera-editor-field-config-wrapper");system_values.field={tags:{text:[]},type:"Fields",wrap:["%","%"]};for(var b=0;b<a.length;b++){var c=a[b].id,d=jQuery("#"+c+"_lable").val(),e=jQuery("#"+c+"_slug").val(),f=jQuery("#"+c+"_type").val();void 0===system_values.field.tags[f]&&(system_values.field.tags[f]=[]),system_values.field.tags[f].push(e),"text"!==f&&system_values.field.tags.text.push(e),current_form_fields[c]={label:d,slug:e,type:f},jQuery("option.bound-field").trigger("change").each(function(a,b){var c=jQuery(b);0!==c.prop("value").indexOf("{")?c.text(jQuery("#"+c.prop("value")+"_lable").val()+" ["+jQuery("#"+c.prop("value")+"_lable").val()+"]"):c.text(c.prop("value").replace("{","").replace("}",""))}).removeClass("bound-field")}}},rebind_field_bindings=function(){var a,b,c=jQuery(".caldera-field-bind").not(".bound_field");if(c.length){c.addClass("bound_field");for(var d=0;d<c.length;d++){var e=jQuery(c[d]),f=e.val(),g=e.data("default"),h=e.data("exclude"),i=0,j=e.closest(".caldera-editor-processor-config-wrapper"),k=j.prop("id"),l="";if(g&&!e.hasClass("reload-binding")&&(f=g),e.is("select")){e.empty();var m=jQuery('<optgroup label="Fields">');for(var n in current_form_fields)e.data("type")&&e.data("type").split(",").indexOf(current_form_fields[n].type)<0||(e.data("id")!==n&&m.append('<option value="'+n+'"'+(f===n?'selected="selected"':"")+">"+current_form_fields[n].label+" ["+current_form_fields[n].slug+"]</option>"),i+=1);m.appendTo(e),0===i&&e.empty();for(var o in system_values)if(a=[],!(h&&h.split(",").indexOf(o)>=0)){if("system"!==o&&"variable"!==o)for(var p=jQuery(".processor-"+o),q=0;q<p.length;q++)k!==p[q].id&&(a.push(p[q].id),p.length>1&&(b=jQuery("li."+p[q].id+" .processor-line-number"))&&b.html("["+(q+1)+"]"));else a.push("__system__");var r=[];e.data("type")?(r=e.data("type").split(","),r.push("vars")):r=["text","vars"];for(var s=0;s<r.length;s++)if(system_values[o].tags&&system_values[o].tags[r[s]])for(var t=0;t<a.length;t++){jQuery("li."+a[t]).index()>jQuery("li."+k).index()&&"__system__"!==a[t]?e.closest(".caldera-editor-processors-panel-wrap").length&&(l=' disabled="disabled"'):l="";for(var m=jQuery('<optgroup label="'+system_values[o].type+("__system__"!==a[t]?" "+jQuery("li."+a[t]).find(".processor-line-number").html():"")+'"'+l+">"),u=0;u<system_values[o].tags[r[s]].length;u++){var v=system_values[o].tags[r[s]][u];"__system__"!==a[t]&&(v=v.replace(o,a[t])),m.append('<option value="{'+v+'}"'+(f==="{"+v+"}"?'selected="selected"':"")+l+">"+system_values[o].tags[r[s]][u]+"</option>"),i+=1}m.children().length&&m.appendTo(e)}}if(0===i){if(e.empty(),e.data("type")){e.append('<option value="">No '+e.data("type").split(",").join(" or ")+" in form</option>");var w=!0}}else e.prop("disabled",!1);e.hasClass("required")||void 0!==w||e.prepend('<option value=""></option>'),e.val(f)}}init_magic_tags(),jQuery(document).trigger("bound.fields"),jQuery(".caldera-header-save-button").prop("disabled",!1),void 0!=typeof cf_revisions_ui&&cf_revisions_ui()}},jQuery(document).ready(function(a){function b(){var b=a(".layout-grid-panel"),c=0;b.each(function(b,d){var e=a(d),f=e.find(".layout-structure"),g=e.find(".row"),h=[];g.each(function(b,d){
2
+ var e=a(d),f=e.children().not(".column-merge"),g=[];c+=1,f.each(function(b,d){span=a(d).attr("class").split("-"),g.push(span[2]);var e=a(d).find(".field-location");e.length&&e.each(function(d,e){a(e).val(c+":"+(b+1)).removeAttr("disabled")})}),h.push(g.join(":"))}),f.val(h.join("|"))})}function c(b,c,e){var f,g,h="fld_"+Math.round(1e7*Math.random()),i=h,j=a("#field_config_panels");b.prop("id","").prop("title",""),f=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),g=a.extend({},{id:i,label:"",slug:""},e),g.slug="";f(g);j.append(f(g)),b.removeClass("button-small").removeClass("button").removeClass("button-primary").removeClass("ui-draggable").removeClass("layout-new-form-field").addClass("layout-form-field").attr("data-config",h).css({display:"",opacity:""}),b.find(".layout_field_name").remove(),b.find(".field-location").prop("name","config[layout_grid][fields]["+h+"]"),b.find(".settings-panel").show(),b.appendTo(c),d(),b.find(".icon-edit").trigger("click"),a("#"+h+"_lable").focus().select(),baldrickTriggers(),a(document).trigger("field.added"),e?a("#"+i+"_type").data("type",g.type).trigger("change"):a("#"+h).trigger("field.drop"),rebuild_field_binding()}function d(){a(".toggle-options").sortable({handle:".dashicons-sort"}),a("#grid-pages-panel").sortable({placeholder:"row-drop-helper",handle:".sort-handle",items:".first-row-level",axis:"y",stop:function(){b()}}),a(".layout-column").sortable({connectWith:".layout-column",appendTo:"#grid-pages-panel",helper:"clone",items:".layout-form-field",handle:".drag-handle",cursor:"move",opacity:.7,cursorAt:{left:100,top:15},start:function(a,b){b.helper.css({width:"200px",height:"35px",paddingTop:"20px"})},stop:function(a,c){c.item.removeAttr("style"),b()}}),a("h3 .layout-new-form-field").draggable({helper:"clone",appendTo:"body"}),a(".page-toggle.button").droppable({accept:".layout-form-field",over:function(b,c){a(this).trigger("click"),a(".layout-column").sortable("refresh")}}),a(".layout-column").droppable({greedy:!0,activeClass:"ui-state-dropper",hoverClass:"ui-state-hoverable",accept:".layout-new-form-field",drop:function(b,d){c(d.draggable.clone(),a(this))}}),b()}function e(){if(h){var b=a(".column-fieldinsert");b.length?(b.stop().fadeToggle(700),a(".layout-new-form-field").stop().fadeToggle(700)):cf_clear_puler()}}function f(){a(".caldera-editor-processors-panel ul").sortable({update:function(){rebuild_field_binding()},create:function(){0==a(".caldera-editor-processors-panel ul").children().length&&(j.addClass("button-primary"),i=new CalderaFormsButtonPulse(j),window.setTimeout(function(){i.startPulse()},3e3))}})}function g(b){var c=a(b),d=a("#"+c.val()+"-tmpl").length?a("#"+c.val()+"-tmpl").html():"",e=c.closest(".caldera-editor-processor-config-wrapper"),f=e.find(".caldera-config-processor-setup"),g=Handlebars.compile(d),h=e.find(".processor_config_string").val(),i=c.data("type");h=h.length&&i===c.val()?JSON.parse(h):processor_defaults[c.val()+"_cfg"],h||(h={}),h._id=e.prop("id"),h._name="config[processors]["+e.prop("id")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[c.val()+"_init"]&&window[c.val()+"_init"](e.prop("id"),f),e.find(".no-conditions").length&&e.find(".toggle_option_tab").remove(),rebuild_field_binding(),baldrickTriggers(),a(".wp-baldrick").baldrick({request:cfAdminAJAX,method:"POST",before:function(b){var c=a(b);c.data("addNode")&&!c.data("request")&&c.data("request","cf_get_default_setting")}})}add_new_grid_page=function(a){return{page_no:"pg_"+Math.round(1e7*Math.random())}},add_page_grid=function(b){var c=a(".page-toggle").length+1,e=a('<button type="button" data-name="Page '+c+'" data-page="'+b.rawData.page_no+'" class="page-toggle button">'+b.params.trigger.data("addtitle")+" "+c+"</button> "),f=a("#page-toggles");e.appendTo(f),f.show(),d(),e.trigger("click"),1===c&&f.hide(),a(document).trigger("add.page")},a(document).on("remove.page add.page load.page",function(b){var c=a(".page-toggle").length,d=a("#tab_pages");c<=1?d.hide():d.show()}),d(),a("#grid-pages-panel").on("click",".column-fieldinsert .dashicons-plus-alt",function(b){var d=a(this).closest(".column-container");c(a("#newfield-tool").clone().css("display",""),d)}),a("#grid-pages-panel").on("click",".column-split",function(b){var c=a(this).parent().parent(),e=c.attr("class").split("-"),f=a("<div>").insertAfter(c),g=Math.ceil(e[2]/2),h=Math.floor(e[2]/2);e[2]=g,c.attr("class",e.join("-")),e[2]=h,f.addClass(e.join("-")).append('<div class="layout-column column-container">'),a(this).remove(),d(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".column-remove",function(c){var d=a(this).closest(".row"),e=d.find(".layout-form-field"),f=d.closest(".layout-grid-panel");if(e.length){if(!confirm(a("#row-remove-fields-message").text()))return;e.each(function(b,c){var d=a(c).data("config");a("#"+d).remove(),a('option[value="'+d+'"]').remove(),a('[data-bind="'+d+'"]').remove(),delete current_form_fields[d]})}d.slideUp(200,function(){if(a(this).remove(),b(),rebuild_field_binding(),!f.find(".row").length){f.remove();var c=a("#page-toggles .button-primary"),d=c.prev(),e=c.next();c.remove(),d.length?d.trigger("click"):e.trigger("click")}a(document).trigger("remove.page")}),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a(".caldera-config-editor-main-panel").on("click",".caldera-add-row",function(c){if(c.preventDefault(),!a(".page-active").length)return void a(".caldera-add-page").trigger("click");var e=a('<div style="display:none;" class="first-row-level row"><div class="col-xs-12"><div class="layout-column column-container"></div></div></div>');a(".page-active").append(e),e.slideDown(200),d(),b()}),a("#grid-pages-panel").on("click",".column-join",function(c){var d=a(this).parent().parent().parent(),e=d.prev(),f=e.attr("class").split("-"),g=d.attr("class").split("-");f[2]=parseFloat(f[2])+parseFloat(g[2]),d.find(".layout-column").contents().appendTo(e.find(".layout-column")),e.attr("class",f.join("-")),d.remove(),b(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("mouseenter",".row",function(c){var d=jQuery(this);jQuery(".column-tools,.column-merge").remove(),d.children().children().first().append('<div class="column-remove column-tools" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.delete_row+'" ><i class="icon-remove"></i></div>'),d.children().children().last().append('<div class="column-sort column-tools" style="text-align:right;"><i class="dashicons dashicons-menu drag-handle sort-handle"></i></div>'),d.children().children().not(":first").prepend('<div class="column-merge"><div class="column-join column-tools"><i class="icon-join"></i></div></div>');var e=d.parent().parent().parent().width()/12-1;d.children().children().each(function(b,c){var d=a(c),e=d.width()/2-5;d.prepend('<div class="column-fieldinsert column-tools"><i class="dashicons dashicons-plus-alt" data-toggle="tooltip" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.add_field_row+'"></i></div>'),d.parent().hasClass("col-xs-1")||(d.prepend('<div class="column-split column-tools" data-placement="top" title="'+CF_ADMIN_TOOLTIPS.split_row+'"><i class="dashicons dashicons-leftright"></i></div>'),d.find(".column-split").css("left",e))}),jQuery(".column-merge").draggable({axis:"x",helper:"clone",appendTo:d,grid:[e,0],drag:function(c,d){a(this).addClass("dragging"),a(".column-tools").remove(),a(".column-split").remove();var e=a(this).parent().parent(),f=d.helper,g=d.originalPosition.left>f.position().left?"left":"right",h=e.prev(),i=Math.round(e.parent().width()/12-10),j=Math.abs(d.originalPosition.left-f.position().left);if(e.parent().addClass("sizing"),j>=i){var k=h.attr("class").split("-"),l=e.attr("class").split("-");k[2]=parseFloat(k[2]),l[2]=parseFloat(l[2]),"left"===g?(k[2]--,l[2]++,k[2]>0&&k[2]<k[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)):(k[2]++,l[2]--,l[2]>0&&l[2]<l[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)),b()}},stop:function(){a(this).removeClass("dragging").parent().parent().parent().removeClass("sizing")}})}),a("#grid-pages-panel").on("mouseleave",".row",function(a){jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".layout-form-field .icon-remove",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config"));c.slideUp(100,function(){a(this).remove()}),d.slideUp(100,function(){a(this).remove()})}),a(document).on("click",".layout-form-field .dashicons-admin-page",function(){var b=a(this),d=b.parent(),e=d.data("config"),f=a("#"+e).formJSON(),g=b.closest(".column-container"),h=d.clone().css("display",""),i={};d.hasClass("field-edit-open")&&(d.removeClass("field-edit-open"),h.removeClass("field-edit-open"),a(".caldera-editor-field-config-wrapper").hide()),f.config.fields[e]&&(i=f.config.fields[e],delete i.ID),c(h,g,i)}),a(document).on("click",".layout-form-field .icon-edit",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config")+"_type").val();a(".caldera-editor-field-config-wrapper").hide(),c.hasClass("field-edit-open")?c.removeClass("field-edit-open"):(a(".layout-form-field").removeClass("field-edit-open"),c.addClass("field-edit-open"),a("#"+c.data("config")).show()),a(document).trigger("show."+c.data("config")),a(document).trigger("show.fieldedit"),"radio"!==d&&"checkbox"!==d&&"dropdown"!==d&&"toggle_switch"!==d||a("#"+c.data("config")+"_auto").trigger("change")}),a("body").on("click",".layout-modal-edit-closer,.layout-modal-save-action",function(b){b.preventDefault();var c=a(this),d=a(".layout-form-field.edit-open"),e=c.closest(".layout-modal-container");settings=e.find(".settings-panel").first(),a(".edit-open").removeClass("edit-open"),settings.appendTo(d.find(".settings-wrapper")).hide(),e.hide()}),a(".layout-editor-body").on("change",".layout-core-pod-query",function(){a(this).parent().find(".settings-panel-row").remove(),a(".edit-open").find(".drag-handle .set-pod").html(" - "+a(this).val())}),a(".layout-editor-body").on("click",".remove-where",function(){a(this).closest(".settings-panel-row").remove()}),a(".layout-editor-body").on("click",".use-pod-container",function(){var b=a(this),c=b.prev(),d=c.val();if(d.length){a(".edit-open").find(".drag-handle .set-pod").html(" - "+c.val()),b.parent().parent().find(".spinner").css("display","inline-block");var e={action:"pq_loadpod",pod_reference:{pod:d}};a.post(cfAdminAJAX,e,function(c){b.parent().find(".spinner").css("display","none");var d=a("#where-line-tmpl").html(),e="",f=b.closest(".settings-panel").data("container");for(var g in c)e+='<option value="'+c[g]+'">'+c[g]+"</option>";d=d.replace(/{{fields}}/g,e).replace(/{{container_id}}/g,f),b.parent().append(d)})}}),a(".caldera-editor-header").on("click",".column-sort .icon-edit",function(a){}),a(".layout-editor-body").on("tray_loaded",".layout-template-tray",function(){d()}),a(".caldera-editor-header").on("click",".caldera-editor-header-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-editor-header-nav li").removeClass("active"),a(".caldera-editor-body").hide(),a(c.attr("href")).show(),c.parent().addClass("active"),rebind_field_bindings()}),a("body").on("change",".required",function(){check_required_bindings(this)}),a("body").on("submit",".caldera-forms-options-form",function(b){a(".required.has-error").length&&b.preventDefault()}),a(".caldera-editor-body").on("click",".add-toggle-option",function(b){var c=a(this);if(c.data("bulk"))return a(c.data("bulk")).toggle(),void a(c.data("bulk")).find("textarea").focus();var d=c.closest(".caldera-editor-field-config-wrapper"),e=d.find(".toggle-options"),f=a("#field-option-row-tmpl").html(),g=Handlebars.compile(f),h="opt"+parseInt(1048576*(Math.random()+1)),i={_name:"config[fields]["+d.prop("id")+"][config]",option:{}};if(c.data("options")){for(var j=a(c.data("options")),k=j.val().split("\n"),l=!1,m=0;m<k.length;m++){var n=k[m],o=n,p=o.split("|");p.length>1&&(o=p[0],n=p[1],l=!0),i.option["opt"+parseInt(1048576*(Math.random()+m))]={value:o,calc_value:o,label:n,default:!1}}a(c.data("options")).parent().hide(),j.val(""),!0===l?d.find(".toggle_show_values").prop("checked",!0):d.find(".toggle_show_values").prop("checked",!1),e.empty()}else i.option[h]={value:"",label:"",calc_value:"",default:!1};a(".preset_options").val(""),e.append(g(i)),d.find(".toggle_show_values").trigger("change"),a(".toggle-options").sortable({handle:".dashicons-sort"}),k||e.find(".toggle_label_field").last().focus()}),a(".caldera-editor-body").on("change",".preset_options",function(b){var c=a(this),d=c.val(),e=a(c.data("bulk"));preset_options&&preset_options[d]&&preset_options[d].data&&("object"==typeof preset_options[d].data&&preset_options[d].data.length&&(preset_options[d].data=preset_options[d].data.join("\n")),e.val(preset_options[d].data))}),a(".caldera-editor-body").on("click",".toggle-remove-option",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-config").first();a(this).parent().remove(),c.trigger("change"),a(document).trigger("option.remove")}),a(".caldera-editor-body").on("click",".page-toggle",function(b){var c=a(this),d=c.parent(),e=d.find(".button");e.removeClass("button-primary"),a(".layout-grid-panel").hide().removeClass("page-active"),a("#"+c.data("page")).show().addClass("page-active"),c.addClass("button-primary"),e.each(function(b,c){a(c).html(d.data("title")+" "+(b+1))}),1===e.length&&d.hide()}),a(".caldera-editor-body").on("blur toggle.values",".toggle_label_field",function(b){var c=a(this),d=a('.toggle_value_field[data-opt="'+c.data("option")+'"]');d.is(":visible")||d.val(c.val())}),a(document).on("change focusout",".toggle_value_field",function(){a(document).trigger("show.fieldedit")}),a(document).on("show.fieldedit option.remove",function(b){a(".toggle_value_field.has-error").removeClass("has-error");for(var c=a("#"+a(".layout-form-field.field-edit-open").data("config")),d=c.find(".toggle_value_field"),e=c.find(".notice"),f=0,g=0;g<d.length;g++){for(var h=(d[g].value,0),i=0;i<d.length;i++)d[g]!==d[i]&&d[g].value===d[i].value&&(a(d[i]).addClass("has-error"),h++);h>0&&(a(d[g]).addClass("has-error"),f++)}f>0?(e.slideDown(),b.preventDefault()):e.slideUp()});var h=!1;focus_initial_field=function(b){var c=a(".layout-grid-panel .icon-edit").first();c.length?c.trigger("click"):(a(".layout-column.column-container").first().trigger("mouseover"),h=setInterval(e,500)),a(document).off("load.page",focus_initial_field)},a(document).on("load.page",focus_initial_field),cf_clear_puler=function(){h&&(clearTimeout(h),a(document).off("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler)),a(".layout-new-form-field, .column-fieldinsert").fadeIn()},a(document).on("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler),rebuild_field_binding(),a(document).trigger("load.page");var i,j=a(".new-processor-button");a("body").on("click",".caldera-processor-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-processor-nav").removeClass("active"),a(".caldera-editor-processor-config-wrapper").hide(),a(c.attr("href")).show(),c.parent().addClass("active")}),a("body").on("click",".add-new-processor",function(b){"object"==typeof i&&(j.removeClass("button-primary"),i.stopPulse());var c=a(this),d=Handlebars.compile(a("#processor-wrapper-tmpl").html());wrap=a(".active-processors-list"),process_conf=a(".caldera-editor-processor-config"),processid=Math.round(1e8*Math.random()),new_templ=Handlebars.compile(a("#processor-line-tmpl").html()),new_proc={id:"fp_"+processid,type:c.data("type")},wrap.append(new_templ(new_proc)),process_conf.append(d(new_proc)),a("#form_processor_baldrickModalCloser").trigger("click"),a(".caldera-processor-nav a").last().trigger("click"),a("#fp_"+processid+"_type").val(c.data("type")).trigger("change"),f(),baldrickTriggers()}),a("body").on("click",".delete-processor",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper");d.data("type");confirm(c.data("confirm"))&&(a("."+d.prop("id")).remove(),d.remove(),a(".caldera-processor-nav a").first().trigger("click"),rebuild_field_binding())}),a("body").on("change",".caldera-select-processor-type",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper"),e=c.find('option[value="'+c.val()+'"]').text(),f=d.find(".caldera-editor-processor-title"),h=a(".caldera-processor-nav.active a");""===e&&(e=f.data("title")),f.html(e),h.html(e+' <span class="processor-line-number"></span>').parent().addClass("processor_type_"+c.val()),g(this),rebuild_field_binding()}),a(document).on("click","#cf-shortcode-preview",function(){a(this).focus().select()}),a(document).on("change",".cf-email-preview-toggle",function(){var b=a(this),c=a(".caldera-header-email-preview-button");b.is(":checked")?c.show().attr("aria-hidden","false").css("visibility","visible"):c.hide().attr("aria-hidden","true").css("visibility","hidden")}),rebuild_field_binding(),a(".caldera-select-processor-type").each(function(a,b){g(b)}),f()}),Handlebars.registerHelper("_field",function(a){var b=this,c="",d="",e="",f=this[a.hash.slug]?' data-default="'+this[a.hash.slug]+'"':"";a.hash.required&&(c=" required"),a.hash.exclude&&(e='data-exclude="'+a.hash.exclude+'"'),a.hash.array&&(d="[]","true"!==a.hash.array&&(f='value="'+a.hash.array+'"')),out="<select "+(a.hash.type?'data-type="'+a.hash.type+'"':"")+f+" "+e+' name="'+this._name+"["+a.hash.slug+"]"+d+'" id="'+this._id+"_"+a.hash.slug+'" class="block-input field-config caldera-field-bind'+c+'">',this[a.hash.slug]?out+='<option class="bound-field" value="'+this[a.hash.slug]+'" class="bound-field"></option>':a.hash.required||(out+='<option value=""></option>');for(var g in current_form_fields){var h="";a.hash.type&&current_form_fields[g].type!==a.hash.type||(b[a.hash.slug]&&b[a.hash.slug]===g&&(h=' selected="selected"'),out+='<option value="'+g+'"'+h+">"+current_form_fields[g].label+" ["+current_form_fields[g].slug+"]</option>")}return out+="</select>",a.hash.required&&(out+='<input class="field-config" name="'+this._name+'[_required_bounds][]" type="hidden" value="'+a.hash.slug+'">'),out}),Handlebars.registerHelper("console",function(a,b){console.log(this)});var revisions={};jQuery(document).ready(function(a){function b(b){var d=a(b),e=d.closest(".caldera-editor-field-config-wrapper"),f=e.find(".caldera-config-field-setup"),g=compiled_templates[d.val()+"_tmpl"]?compiled_templates[d.val()+"_tmpl"]:compiled_templates.noconfig_field_templ,h=e.find(".field_config_string").val(),i=d.data("type");if(e.find(".caldera-config-group").show(),d.addClass("field-initialized"),h=h.length&&i===d.val()?JSON.parse(h):fieldtype_defaults[d.val()+"_cfg"],h||(h={}),h._id=d.data("field"),h._name="config[fields]["+d.data("field")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[d.val()+"_init"]&&window[d.val()+"_init"](d.data("field"),f),fieldtype_defaults[d.val()+"_nosupport"]&&(fieldtype_defaults[d.val()+"_nosupport"].indexOf("hide_label")>=0&&e.find(".hide-label-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("caption")>=0&&e.find(".caption-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("required")>=0&&e.find(".required-field").hide().find(".field-config").prop("checked",!1),fieldtype_defaults[d.val()+"_nosupport"].indexOf("custom_class")>=0&&e.find(".customclass-field").hide().find(".field-config").val(""),fieldtype_defaults[d.val()+"_nosupport"].indexOf("entry_list")>=0&&e.find(".entrylist-field").hide().find(".field-config").prop("checked",!1)),e.find(".toggle_show_values").trigger("change"),!a(".caldera-select-field-type").not(".field-initialized").length){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded"))c(d.data("field"));else{for(var j=a(".caldera-select-field-type.field-initialized"),k=0;k<j.length;k++)c(a(j[k]).data("field"));core_form.addClass("builder-loaded")}a(".caldera-header-save-button").prop("disabled",!1),rebuild_field_binding(),baldrickTriggers()}a(".color-field").length&&a(".color-field").wpColorPicker({change:function(b){var c=a(this);c.data("ev")&&clearTimeout(c.data("ev")),c.data("ev",setTimeout(function(){c.trigger("record")},200)),c.data("target")&&(a(c.data("target")).css(c.data("style"),c.val()),a(c.data("target")).val(c.val()))}})}function c(b){var c=a("#"+b),d=c.find(".caldera-select-field-type"),e=a('.layout-form-field[data-config="'+b+'"]'),f=e.find(".field_preview"),g=(a("#preview-"+d.val()+"_tmpl").html(),compiled_templates["preview-"+d.val()+"_tmpl"]),h={id:b};c.find(".field-config").each(function(c,d){for(var e=a(d),f=e.prop("name").split("["+b+"]")[1].substr(1),g=f.substr(0,f.length-1).split("]["),i=e.is(":checkbox,:radio")?e.filter(":checked").val():e.val(),j={},k=g.length-1;k>=0;k--)if(k===g.length-1)j[g[k]]=i;else{var l=j;j={},j[g[k]]=l}a.extend(!0,h,j)}),f.html(g(h)),e.removeClass("button"),a(".preview-field-config").prop("disabled",!0)}function d(b){var c,d=a(".caldera-editor-fields-panel"),e=(a(".caldera-editor-groups-panel"),a(".caldera-group-nav")),f=a('[data-group="'+b+'"]'),g=f.find(".caldera-config-group-name"),h=f.find(".caldera-config-group-slug"),i=f.find(".caldera-config-group-desc"),j=f.find(".caldera-config-group-admin"),k=a(".active-group-name"),l=a(".active-group-slug"),m=a(".active-group-desc"),n=a(".active-group-admin"),o=a(".caldera-editor-fields-list ul"),p=f.find(".caldera-config-group-repeat"),q=a(".repeat-config-button"),r=(a(".caldera-editor-group-settings"),a(".caldera-config-group-remove"));a(".new-group-input").remove(),a(".new-field-input").remove(),e.removeClass("active"),d.show(),o.hide(),o.removeClass("active").find("li.active").removeClass("active"),o.hide(),f.addClass("active"),c=a(".caldera-editor-fields-list ul.active li"),c.length?r.hide():r.show(),a(".caldera-editor-field-config-wrapper").hide(),f.show(),k.val(g.val()),l.val(h.val()),m.val(i.val()),"1"===j.val()?n.prop("checked",!0):n.prop("checked",!1),"1"===p.val()?q.addClass("field-edit-open"):q.removeClass("field-edit-open")}a(".caldera-header-save-button").baldrick({method:"POST",request:"admin.php?page=caldera-forms",before:function(b,c){if(c.preventDefault(),!check_required_bindings())return!1;a("#save_indicator").addClass("loading"),"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();var d=a(".caldera-forms-options-form").formJSON();return d.conditions&&(d.config.conditional_groups={conditions:d.conditions}),a(b).data("cf_edit_nonce",d.cf_edit_nonce),a(b).data("_wp_http_referer",d._wp_http_referer),a(b).data("sender","ajax"),a(b).data("config",JSON.stringify(d.config)),!0},callback:function(b){if(!1===b.data){var c=a(".updated_notice_box");c.stop().animate({top:0},200,function(){setTimeout(function(){c.stop().animate({top:-75},200)},2e3)})}},complete:function(b){a(".wrapper-instance-pane .field-config").prop("disabled",!1)}}),a("body").on("click",".toggle_processor_event input",function(b){var c=a(this),d=c.closest(".wrapper-instance-pane"),e=d.find(".caldera-config-processor-setup"),f=d.find(".caldera-config-processor-notice");c.is(":checked")?(c.parent().addClass("activated"),c.parent().find(".is_active").show().attr("aria-hidden",!1).css("visibility","visible"),c.parent().find(".not_active").hide().attr("aria-hidden",!0).css("visibility","hidden")):(c.parent().removeClass("activated"),c.parent().find(".is_active").hide().attr("aria-hidden",!0).css("visibility","hidden"),c.parent().find(".not_active").show().attr("aria-hidden",!1).css("visibility","visible")),d.find(".toggle_processor_event .activated").length?(e.slideDown(100),f.slideUp(100)):(e.slideUp(100),f.slideDown(100))}),a("body").on("click",".toggle_option_tab > a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href")),e=c.parent().find("a"),f=c.closest(".caldera-editor-config-wrapper").find(".wrapper-instance-pane");e.removeClass("button-primary"),f.hide(),d.show(),c.addClass("button-primary"),a(".caldera-conditionals-usetype").trigger("change")}),a(".caldera-editor-body").on("change",".caldera-select-field-type",function(a){b(this)}),a(".caldera-editor-body").on("click",".caldera-group-nav a",function(b){b.preventDefault(),d(a(this).attr("href").substr(1))}),a(".caldera-editor-body").on("click",".caldera-editor-fields-list a",function(b){b.preventDefault();var c=a(this),d=a(c.attr("href"));a(".new-group-input").remove(),a(".new-field-input").remove(),a(".caldera-editor-fields-list li.active").removeClass("active"),c.parent().addClass("active"),a(".caldera-editor-field-config-wrapper").hide(),d.show()}),a(".caldera-editor-body").on("click",".group-config-button",function(b){var c=a(this),d=a(".caldera-editor-group-settings"),e=c.closest(".caldera-editor-fields-panel"),f=a(".caldera-config-group-remove");e.find(".caldera-field-line").length?f.hide():f.show(),c.hasClass("field-edit-open")?(d.slideUp(100),c.removeClass("field-edit-open")):(d.slideDown(100),c.addClass("field-edit-open"))}),a(".caldera-editor-body").on("keydown",".field-config",function(b){a(this).is("textarea")||13===b.which&&b.preventDefault()}),a(".caldera-editor-body").on("change",".field-label",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").prop("id");field_line=a('[data-field="'+c+'"]'),field_title=a("#"+c+" .caldera-editor-field-title, .layout-form-field.field-edit-open .layout_field_name"),slug=a("#"+c+" .field-slug"),field_line.find("a").html('<i class="icn-field"></i> '+this.value),field_title.text(this.value),"change"===b.type&&slug.trigger("change"),rebuild_field_binding()}),a(".caldera-editor-body").on("change",".active-group-name",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name")),e=c.find("span");"focusout"!==b.type||this.value.length||(this.value="Group "+(parseInt(c.index())+1)),d.val(this.value),e.text(this.value)}),a(".caldera-editor-body").on("change",".active-group-slug",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val()),e=c.find(".caldera-config-group-slug"),f=(c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase());"focusout"!==b.type||this.value.length||(f=d.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase()),e.val(f),this.value=f}),a(".caldera-editor-body").on("change",".active-group-desc",function(b){b.preventDefault();var c=a(".caldera-group-nav.active");(c.data("group"),c.find(".caldera-config-group-desc")).val(this.value)}),a(".caldera-editor-body").on("change",".active-group-admin",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find(".caldera-config-group-name").val(),c.find(".caldera-config-group-admin"));c.find("span"),this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),a(this).prop("checked")?(d.val(1),c.addClass("is-admin")):(d.val(0),c.removeClass("is-admin"))}),a(".caldera-editor-body").on("click",".repeat-config-button",function(b){b.preventDefault();var c=a(".caldera-group-nav.active"),d=(c.data("group"),c.find("a .group-type")),e=c.find(".caldera-config-group-repeat"),f=a(this);f.hasClass("field-edit-open")?(e.val("0"),d.removeClass("icn-repeat").addClass("icn-folder"),f.removeClass("field-edit-open")):(e.val("1"),d.addClass("icn-repeat").removeClass("icn-folder"),f.addClass("field-edit-open"))}),a(".caldera-editor-body").on("click",".delete-field",function(){var b=a(this),c=b.closest(".caldera-editor-field-config-wrapper").prop("id");confirm(b.data("confirm"))&&(a("#"+c).remove(),a('option[value="'+c+'"]').remove(),a('[data-bind="'+c+'"]').remove(),delete current_form_fields[c],a('[data-config="'+c+'"]').slideUp(200,function(){a(this).remove(),rebuild_field_binding(),a(document).trigger("field.removed")}))}),a(".caldera-editor-body").on("click",".add-new-group,.add-field",function(){var b=a(this);if(a(".new-group-input").remove(),a(".new-field-input").remove(),b.hasClass("add-field")){a('<input type="text" class="new-field-input block-input">').appendTo(a(".caldera-editor-fields-list ul.active")).focus()}else{a('<input type="text" class="new-group-input block-input">').appendTo(a(".caldera-editor-groups-panel")).focus()}}),a(".caldera-editor-body").on("change keypress",".new-group-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,e,f=this.value,g=a(this),h=a(".caldera-editor-groups-panel ul"),i=a(".caldera-editor-fields-list");if(f.length){c=Handlebars.compile(a("#caldera_group_line_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),name:f},h.append(c(e));a('<ul data-group="'+e.id+'">').hide().appendTo(i),g.remove(),d(e.id)}else g.remove()}),a(".caldera-editor-body").on("change keypress",".new-field-input",function(b){if("keypress"===b.type){if(13!==b.which)return;b.preventDefault()}var c,d,e,f=this.value,g=a(this),h=g.parent(),i=a(".caldera-editor-field-config"),j=a(".caldera-config-group-remove");if(f.length){j.hide(),c=Handlebars.compile(a("#caldera_field_line_templ").html()),d=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),e={id:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),label:f,slug:f.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase(),group:a(".caldera-group-nav.active").data("group")};var k=a(c(e));k.appendTo(h),i.append(d(e)),k.find("a").trigger("click"),g.remove()}else g.remove()}),a(".caldera-editor-body").on("change",".field-slug",function(b){this.value.length?this.value=this.value.split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase():"change"===b.type&&(this.value=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-label").val().split(" ").join("_").split("-").join("_").replace(/[^a-z0-9_]/gi,"").toLowerCase())}),a(".caldera-editor-body").on("click",".caldera-add-group",function(b){var c=a(this),d=c.data("group"),e=a("#"+d+"_panel_tmpl").html();c.parent().parent().append(e)}),a(".caldera-editor-body").on("click",".caldera-config-group-remove",function(b){var c=a(".active-group-slug").val();a('[data-group="'+c+'"]').hide(0,function(){a(this).remove();var b=a(".caldera-group-nav");b.length?b.first().find("a").trigger("click"):a(".caldera-editor-fields-panel").hide()})}),a("body").on("click",".set-current-field",function(b){b.preventDefault();var c=a(this);a("#"+c.data("field")+"_type").val(c.data("type")).trigger("change"),a("#"+c.data("field")+"_lable").focus(),a("#field_setup_baldrickModalCloser").trigger("click")}),a(".caldera-editor-body").on("change record",".field-config",function(b){var d=a(this),e=d.closest(".caldera-editor-field-config-wrapper");current_form_fields&&(d.prop("id")===e.prop("id")+"_lable"&&(current_form_fields[e.prop("id")].label=this.value),d.prop("id")===e.prop("id")+"_slug"&&(current_form_fields[e.prop("id")].slug=this.value),d.prop("id")===e.prop("id")+"_type"&&(current_form_fields[e.prop("id")].type=this.value),e.length&&c(e.prop("id")))}),a(".caldera-editor-body").on("focus",".caldera-field-bind",function(b){var c=a(this),d=this.value;if(b.type&&"focusin"===b.type)return c.removeClass("bound_field").addClass("reload-binding"),rebind_field_bindings(),void(this.value=d)}),a(".caldera-editor-body").on("change",".caldera-conditional-field-set",function(b){
3
  var c,d,e=a(this),f=e.parent().find(".compare-type"),g=e.data("condition"),h=e.data("id"),i="config["+g+"]["+h+"][conditions][group]["+e.data("row")+"]["+e.data("line")+"]",j=e.data("line"),k=a("#"+j+"_value"),l=k.find(".caldera-conditional-value-field").first(),m=[],n=this.value;if("{"!==n.substr(0,1)&&(c=a("#"+n),d=c.find(".field-button-type"),m=c.find(".caldera-config-group-toggle-options")),e.hasClass(".bind_init")&&e.addClass("bound_triggered"),l.length&&l.val().length&&k.data("value",l.val()),f.show(),m.length){var o=m.find(".toggle_option_row"),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">';p+='<option value=""></option>',o.each(function(b,c){var d=a(c).find(".toggle_label_field"),e=d.data("option"),f="";k.data("value")&&(k.data("value").toString()!==e&&k.data("value").toString()!==a(c).find(".toggle_value_field").val()||(f=' selected="selected"')),p+='<option value="'+e+'"'+f+">"+d.val()+"</option>"}),p+="</select>"}else d&&"button"==d.val()?(f.val("is").hide(),p='<select name="'+i+'[value]" class="caldera-processor-value-bind caldera-conditional-value-field" data-field="'+n+'" style="max-width: 220px; width: 220px;">',p+='<option value="click" '+("click"===k.data("value")?'selected="selected"':"")+">Click</option>",p+='<option value="dblclick" '+("dblclick"===k.data("value")?'selected="selected"':"")+">Double Click</option>",p+="</select>"):p='<input name="'+i+'[value]" type="text" class="caldera-conditional-value-field magic-tag-enabled" value="'+(k.data("value")?k.data("value"):"")+'" style="max-width: 205px;">';k.html(p),init_magic_tags()}),a(".caldera-editor-body").on("change",".caldera-conditionals-usetype",function(b){var c=a(this);"show"===this.value||"hide"===this.value||"disable"===this.value||"use"===this.value||"not"===this.value?(a("#"+c.data("id")+"_condition_group_add").show(),a("#"+c.data("id")+"_conditional_wrap").show()):(a("#"+c.data("id")+"_condition_group_add").hide(),a("#"+c.data("id")+"_conditional_wrap").hide())}),a(".caldera-editor-body").on("click",".remove-conditional-line",function(b){b.preventDefault();var c=a(this),d=c.closest(".caldera-condition-line"),e=c.closest(".caldera-condition-group");d.remove(),e.find(".caldera-condition-line").length||e.remove()}),a(".caldera-group-nav").first().find("a").trigger("click"),a(".caldera-editor-body").on("change",".toggle_show_values",function(b){var c=a(this),d=c.closest(".caldera-config-group-toggle-options");values=d.find(".toggle_value_field"),lables=d.find(".toggle_label_field"),field_lables=d.find(".caldera-config-group-option-labels"),c.prop("checked")?(values.show().parent().show(),values.show().parent().parent().show(),lables.css("width",""),field_lables.show()):(values.hide().parent().hide(),lables.css("width",245),field_lables.hide()),lables.trigger("toggle.values"),init_magic_tags()}),a(".caldera-editor-body").on("change",".auto-populate-type",function(){a(this).closest(".wrapper-instance-pane").find(".auto-populate-options").trigger("change")}),a(".caldera-editor-body").on("change",".auto-populate-options",function(){var b=a(this),c=b.closest(".wrapper-instance-pane"),d=c.find(".caldera-config-group-toggle-options"),e=c.find(".caldera-config-group-auto-options"),f=e.find(".auto-populate-type");e.find(".auto-populate-type-panel").hide(),b.prop("checked")?(d.hide(),e.show()):(d.show(),e.hide()),e.find(".caldera-config-group-auto-"+f.val()).show()}),a("body").on("change",".pin-toggle-roles",function(){var b=a(this),c=a("#caldera-pin-rules");"1"===b.val()?c.show():c.hide()}),a("body").on("click",".magic-tag-init",function(b){a(this).prev().focus().trigger("init.magic")}),a("body").on("keyup focus select click init.magic",".magic-tag-enabled",function(b){init_magic_tags();var c=a(this),d=c.parent(),e=d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val()?d.closest(".wrapper-instance-pane").find(".caldera-select-field-type").val():"hidden",f=d.find(".magic-tags-autocomplete"),g=f.find("ul"),h=this.value,i=[],j="",k=this.selectionStart,l=this.selectionEnd;if(f.length&&f.data("focus"))return void b.preventDefault();if(c.data("tag",""),this.selectionEnd>this.selectionStart)j=this.value.substr(this.selectionStart,this.selectionEnd-this.selectionStart);else if(("select"===b.type||"keyup"===b.type)&&40!==b.which&&38!==b.which&&39!==b.which&&37!==b.which){for(k=this.selectionStart;k>0;k--){var m=h.substr(k-1,1);if(" "===m||"\n"===m||("%"===m||"}"===m)&&this.selectionStart===k)break}for(l=this.selectionStart;l<h.length;l++){var m=h.substr(l,1);if(" "===m||"\n"===m||("%"===m||"{"===m)&&this.selectionStart===l)break}j=h.substr(k,l-k)}if("focusout"!==b.type){"init"!==b.type&&j.length<3&&f.length&&f.remove(),f.length||(f=a('<div class="magic-tags-autocomplete"></div>'),g=a("<ul></ul>"),g.appendTo(f),f.insertAfter(c),f.on("mouseenter",function(){a(this).data("focus",!0)}),f.on("mouseleave",function(){a(this).data("focus",!1),setTimeout(function(){f.remove()},200),c.is(":focus")||c.trigger("focusout")})),g.empty();var n="system",o=!1;"hidden"===e||"dropdown"===e||"radio"===e||"toggle_switch"===e||"checkbox"===e?(o=!0,e="text",n="all"):"paragraph"!==e&&"html"!==e||(e="text"),c.data("type")&&(e=c.data("type")),e=e.split(","),e.push("vars");for(var p=0;p<e.length;p++)for(var q in system_values)if(void 0!==system_values[q].tags&&void 0!==system_values[q].tags[e[p]]){if(i=[q],"system"!==q&&"variable"!==q&&"field"!==q){var r=jQuery(".processor-"+q),s=c.closest(".caldera-editor-processor-config-wrapper"),t=s.prop("id");i=[];for(var u=0;u<r.length;u++)if(s.length||!0!==o){if(t===r[u].id)continue;jQuery("li."+r[u].id).index()<jQuery("li."+t).index()&&i.push(r[u].id)}else i.push(r[u].id)}for(var v=0;v<i.length;v++)if("all"===n||n===q||"variable"===q){var w=a('<li class="header">'+system_values[q].type+(v>0?" ["+(v+1)+"]":"")+"</li>"),x=0;w.appendTo(g);for(var y=0;y<system_values[q].tags[e[p]].length;y++)if(!c.data("parent")||"variable:"+c.data("parent")!==system_values[q].tags[e[p]][y]){var z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+system_values[q].wrap[1];if(i[v]!==q&&i.length>1&&(z=system_values[q].wrap[0]+system_values[q].tags[e[p]][y]+":"+i[v]+system_values[q].wrap[1]),z.indexOf(j)>=0||"init"===b.type){x+=1;var A=z.replace(j,"<strong>"+j+"</strong>"),B=a('<li class="tag" data-tag="'+z+'">'+A+"</li>");B.on("click",function(){var b=a(this).data("tag");c.val(h.substr(0,k)+b+h.substr(l)).trigger("change").focus(),c[0].selectionStart=k+b.length-(b.indexOf("*")>0?2:0),c[0].selectionEnd=k+b.length-(b.indexOf("*")>0?1:0),l=k=c[0].selectionEnd,h+=b,c.trigger("init.magic")}),B.appendTo(g)}}0===x&&w.remove()}}}g.children().length||f.remove(),"focusout"===b.type&&setTimeout(function(){f.remove()},200)});for(var e=a(".cf-editor-template"),f=0;f<e.length;f++)compiled_templates[e[f].id]=Handlebars.compile(e[f].innerHTML);a(".caldera-select-field-type").not(".field-initialized").each(function(a,c){b(c)})});var rebuild_field_binding,rebind_field_bindings,current_form_fields={},required_errors={},add_new_grid_page,add_page_grid,init_magic_tags,core_form,compiled_templates={};init_magic_tags=function(){jQuery(".magic-tag-enabled").each(function(a,b){var c=jQuery(b);if(c.hasClass("magic-tag-init-bound")){var d=c.parent().find(".magic-tag-init");return void(c.is(":visible")?d.show():d.hide())}var e=jQuery('<span class=""></span>'),f=jQuery('<span style="position:relative;display:inline-block; width:100%;"></span>');c.is("input")&&e.css("borderBottom","none"),c.hasClass("caldera-conditional-value-field")&&f.width("auto"),c.wrap(f),e.insertAfter(c),c.addClass("magic-tag-init-bound"),c.is(":visible")?e.show():e.hide()})},rebuild_field_binding=function(){if(core_form||(core_form=jQuery(".caldera-forms-options-form")),core_form.hasClass("builder-loaded")){var a=jQuery(".caldera-editor-field-config-wrapper");system_values.field={tags:{text:[]},type:"Fields",wrap:["%","%"]};for(var b=0;b<a.length;b++){var c=a[b].id,d=jQuery("#"+c+"_lable").val(),e=jQuery("#"+c+"_slug").val(),f=jQuery("#"+c+"_type").val();void 0===system_values.field.tags[f]&&(system_values.field.tags[f]=[]),system_values.field.tags[f].push(e),"text"!==f&&system_values.field.tags.text.push(e),current_form_fields[c]={label:d,slug:e,type:f},jQuery("option.bound-field").trigger("change").each(function(a,b){var c=jQuery(b);0!==c.prop("value").indexOf("{")?c.text(jQuery("#"+c.prop("value")+"_lable").val()+" ["+jQuery("#"+c.prop("value")+"_lable").val()+"]"):c.text(c.prop("value").replace("{","").replace("}",""))}).removeClass("bound-field")}}},rebind_field_bindings=function(){var a,b,c=jQuery(".caldera-field-bind").not(".bound_field");if(c.length){c.addClass("bound_field");for(var d=0;d<c.length;d++){var e=jQuery(c[d]),f=e.val(),g=e.data("default"),h=e.data("exclude"),i=0,j=e.closest(".caldera-editor-processor-config-wrapper"),k=j.prop("id"),l="";if(g&&!e.hasClass("reload-binding")&&(f=g),e.is("select")){e.empty();var m=jQuery('<optgroup label="Fields">');for(var n in current_form_fields)e.data("type")&&e.data("type").split(",").indexOf(current_form_fields[n].type)<0||(e.data("id")!==n&&m.append('<option value="'+n+'"'+(f===n?'selected="selected"':"")+">"+current_form_fields[n].label+" ["+current_form_fields[n].slug+"]</option>"),i+=1);m.appendTo(e),0===i&&e.empty();for(var o in system_values)if(a=[],!(h&&h.split(",").indexOf(o)>=0)){if("system"!==o&&"variable"!==o)for(var p=jQuery(".processor-"+o),q=0;q<p.length;q++)k!==p[q].id&&(a.push(p[q].id),p.length>1&&(b=jQuery("li."+p[q].id+" .processor-line-number"))&&b.html("["+(q+1)+"]"));else a.push("__system__");var r=[];e.data("type")?(r=e.data("type").split(","),r.push("vars")):r=["text","vars"];for(var s=0;s<r.length;s++)if(system_values[o].tags&&system_values[o].tags[r[s]])for(var t=0;t<a.length;t++){jQuery("li."+a[t]).index()>jQuery("li."+k).index()&&"__system__"!==a[t]?e.closest(".caldera-editor-processors-panel-wrap").length&&(l=' disabled="disabled"'):l="";for(var m=jQuery('<optgroup label="'+system_values[o].type+("__system__"!==a[t]?" "+jQuery("li."+a[t]).find(".processor-line-number").html():"")+'"'+l+">"),u=0;u<system_values[o].tags[r[s]].length;u++){var v=system_values[o].tags[r[s]][u];"__system__"!==a[t]&&(v=v.replace(o,a[t])),m.append('<option value="{'+v+'}"'+(f==="{"+v+"}"?'selected="selected"':"")+l+">"+system_values[o].tags[r[s]][u]+"</option>"),i+=1}m.children().length&&m.appendTo(e)}}if(0===i){if(e.empty(),e.data("type")){e.append('<option value="">No '+e.data("type").split(",").join(" or ")+" in form</option>");var w=!0}}else e.prop("disabled",!1);e.hasClass("required")||void 0!==w||e.prepend('<option value=""></option>'),e.val(f)}}init_magic_tags(),jQuery(document).trigger("bound.fields"),jQuery(".caldera-header-save-button").prop("disabled",!1)}},jQuery(document).ready(function(a){function b(){var b=a(".layout-grid-panel"),c=0;b.each(function(b,d){var e=a(d),f=e.find(".layout-structure"),g=e.find(".row"),h=[];g.each(function(b,d){var e=a(d),f=e.children().not(".column-merge"),g=[];c+=1,f.each(function(b,d){span=a(d).attr("class").split("-"),g.push(span[2]);var e=a(d).find(".field-location");e.length&&e.each(function(d,e){a(e).val(c+":"+(b+1)).removeAttr("disabled")})}),h.push(g.join(":"))}),f.val(h.join("|"))})}function c(b,c,e){var f,g,h="fld_"+Math.round(1e7*Math.random()),i=h,j=a("#field_config_panels");b.prop("id","").prop("title",""),f=Handlebars.compile(a("#caldera_field_config_wrapper_templ").html()),g=a.extend({},{id:i,label:"",slug:""},e),g.slug="",j.append(f(g)),b.removeClass("button-small").removeClass("button").removeClass("button-primary").removeClass("ui-draggable").removeClass("layout-new-form-field").addClass("layout-form-field").attr("data-config",h).css({display:"",opacity:""}),b.find(".layout_field_name").remove(),b.find(".field-location").prop("name","config[layout_grid][fields]["+h+"]"),b.find(".settings-panel").show(),b.appendTo(c),d(),b.find(".icon-edit").trigger("click"),a("#"+h+"_lable").focus().select(),baldrickTriggers(),a(document).trigger("field.added"),e?a("#"+i+"_type").data("type",g.type).trigger("change"):a("#"+h).trigger("field.drop"),rebuild_field_binding()}function d(){a(".toggle-options").sortable({handle:".dashicons-sort"}),a("#grid-pages-panel").sortable({placeholder:"row-drop-helper",handle:".sort-handle",items:".first-row-level",axis:"y",stop:function(){b()}}),a(".layout-column").sortable({connectWith:".layout-column",appendTo:"#grid-pages-panel",helper:"clone",items:".layout-form-field",handle:".drag-handle",cursor:"move",opacity:.7,cursorAt:{left:100,top:15},start:function(a,b){b.helper.css({width:"200px",height:"35px",paddingTop:"20px"})},stop:function(a,c){c.item.removeAttr("style"),b()}}),a("h3 .layout-new-form-field").draggable({helper:"clone",appendTo:"body"}),a(".page-toggle.button").droppable({accept:".layout-form-field",over:function(b,c){a(this).trigger("click"),a(".layout-column").sortable("refresh")}}),a(".layout-column").droppable({greedy:!0,activeClass:"ui-state-dropper",hoverClass:"ui-state-hoverable",accept:".layout-new-form-field",drop:function(b,d){c(d.draggable.clone(),a(this))}}),b()}function e(){if(h){var b=a(".column-fieldinsert");b.length?(b.stop().fadeToggle(700),a(".layout-new-form-field").stop().fadeToggle(700)):cf_clear_puler()}}function f(){a(".caldera-editor-processors-panel ul").sortable({update:function(){rebuild_field_binding()}})}function g(b){var c=a(b),d=a("#"+c.val()+"-tmpl").length?a("#"+c.val()+"-tmpl").html():"",e=c.closest(".caldera-editor-processor-config-wrapper"),f=e.find(".caldera-config-processor-setup"),g=Handlebars.compile(d),h=e.find(".processor_config_string").val(),i=c.data("type");h=h.length&&i===c.val()?JSON.parse(h):processor_defaults[c.val()+"_cfg"],h||(h={}),h._id=e.prop("id"),h._name="config[processors]["+e.prop("id")+"][config]",g=a("<div>").html(g(h)),f.html(g.html()),"function"==typeof window[c.val()+"_init"]&&window[c.val()+"_init"](e.prop("id"),f),e.find(".no-conditions").length&&e.find(".toggle_option_tab").remove(),rebuild_field_binding(),baldrickTriggers(),a(".wp-baldrick").baldrick({request:ajaxurl,method:"POST",before:function(b){var c=a(b);c.data("addNode")&&!c.data("request")&&c.data("request","cf_get_default_setting")}})}add_new_grid_page=function(a){return{page_no:"pg_"+Math.round(1e7*Math.random())}},add_page_grid=function(b){var c=a(".page-toggle").length+1,e=a('<button type="button" data-name="Page '+c+'" data-page="'+b.rawData.page_no+'" class="page-toggle button">'+b.params.trigger.data("addtitle")+" "+c+"</button> "),f=a("#page-toggles");e.appendTo(f),f.show(),d(),e.trigger("click"),1===c&&f.hide(),a(document).trigger("add.page")},a(document).on("remove.page add.page load.page",function(b){var c=a(".page-toggle").length,d=a("#tab_pages");c<=1?d.hide():d.show()}),d(),a("#grid-pages-panel").on("click",".column-fieldinsert .dashicons-plus-alt",function(b){var d=a(this).closest(".column-container");c(a("#newfield-tool").clone().css("display",""),d)}),a("#grid-pages-panel").on("click",".column-split",function(b){var c=a(this).parent().parent(),e=c.attr("class").split("-"),f=a("<div>").insertAfter(c),g=Math.ceil(e[2]/2),h=Math.floor(e[2]/2);e[2]=g,c.attr("class",e.join("-")),e[2]=h,f.addClass(e.join("-")).append('<div class="layout-column column-container">'),a(this).remove(),d(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".column-remove",function(c){var d=a(this).closest(".row"),e=d.find(".layout-form-field"),f=d.closest(".layout-grid-panel");if(e.length){if(!confirm(a("#row-remove-fields-message").text()))return;e.each(function(b,c){var d=a(c).data("config");a("#"+d).remove(),a('option[value="'+d+'"]').remove(),a('[data-bind="'+d+'"]').remove(),delete current_form_fields[d]})}d.slideUp(200,function(){if(a(this).remove(),b(),rebuild_field_binding(),!f.find(".row").length){f.remove();var c=a("#page-toggles .button-primary"),d=c.prev(),e=c.next();c.remove(),d.length?d.trigger("click"):e.trigger("click")}a(document).trigger("remove.page")}),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a(".caldera-config-editor-main-panel").on("click",".caldera-add-row",function(c){if(c.preventDefault(),!a(".page-active").length)return void a(".caldera-add-page").trigger("click");var e=a('<div style="display:none;" class="first-row-level row"><div class="col-xs-12"><div class="layout-column column-container"></div></div></div>');a(".page-active").append(e),e.slideDown(200),d(),b()}),a("#grid-pages-panel").on("click",".column-join",function(c){var d=a(this).parent().parent().parent(),e=d.prev(),f=e.attr("class").split("-"),g=d.attr("class").split("-");f[2]=parseFloat(f[2])+parseFloat(g[2]),d.find(".layout-column").contents().appendTo(e.find(".layout-column")),e.attr("class",f.join("-")),d.remove(),b(),jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("mouseenter",".row",function(c){var d=jQuery(this);jQuery(".column-tools,.column-merge").remove(),d.children().children().first().append('<div class="column-remove column-tools"><i class="icon-remove"></i></div>'),d.children().children().last().append('<div class="column-sort column-tools" style="text-align:right;"><i class="dashicons dashicons-menu drag-handle sort-handle"></i></div>'),d.children().children().not(":first").prepend('<div class="column-merge"><div class="column-join column-tools"><i class="icon-join"></i></div></div>');var e=d.parent().parent().parent().width()/12-1;d.children().children().each(function(b,c){var d=a(c),e=d.width()/2-5;d.prepend('<div class="column-fieldinsert column-tools"><i class="dashicons dashicons-plus-alt"></i></div>'),d.parent().hasClass("col-xs-1")||(d.prepend('<div class="column-split column-tools"><i class="dashicons dashicons-leftright"></i></div>'),d.find(".column-split").css("left",e))}),jQuery(".column-merge").draggable({axis:"x",helper:"clone",appendTo:d,grid:[e,0],drag:function(c,d){a(this).addClass("dragging"),a(".column-tools").remove(),a(".column-split").remove();var e=a(this).parent().parent(),f=d.helper,g=d.originalPosition.left>f.position().left?"left":"right",h=e.prev(),i=Math.round(e.parent().width()/12-10),j=Math.abs(d.originalPosition.left-f.position().left);if(e.parent().addClass("sizing"),j>=i){var k=h.attr("class").split("-"),l=e.attr("class").split("-");k[2]=parseFloat(k[2]),l[2]=parseFloat(l[2]),"left"===g?(k[2]--,l[2]++,k[2]>0&&k[2]<k[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)):(k[2]++,l[2]--,l[2]>0&&l[2]<l[2]+l[2]?(h.attr("class",k.join("-")),e.attr("class",l.join("-")),d.originalPosition.left=f.position().left):a(this).draggable("option","disabled",!0)),b()}},stop:function(){a(this).removeClass("dragging").parent().parent().parent().removeClass("sizing")}})}),a("#grid-pages-panel").on("mouseleave",".row",function(a){jQuery(".column-tools").remove(),jQuery(".column-merge").remove()}),a("#grid-pages-panel").on("click",".layout-form-field .icon-remove",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config"));c.slideUp(100,function(){a(this).remove()}),d.slideUp(100,function(){a(this).remove()})}),a(document).on("click",".layout-form-field .dashicons-admin-page",function(){var b=a(this),d=b.parent(),e=d.data("config"),f=a("#"+e).formJSON(),g=b.closest(".column-container"),h=d.clone().css("display",""),i={};d.hasClass("field-edit-open")&&(d.removeClass("field-edit-open"),h.removeClass("field-edit-open"),a(".caldera-editor-field-config-wrapper").hide()),f.config.fields[e]&&(i=f.config.fields[e],delete i.ID),c(h,g,i)}),a(document).on("click",".layout-form-field .icon-edit",function(){var b=a(this),c=b.parent(),d=a("#"+c.data("config")+"_type").val();a(".caldera-editor-field-config-wrapper").hide(),c.hasClass("field-edit-open")?c.removeClass("field-edit-open"):(a(".layout-form-field").removeClass("field-edit-open"),c.addClass("field-edit-open"),a("#"+c.data("config")).show()),a(document).trigger("show."+c.data("config")),a(document).trigger("show.fieldedit"),"radio"!==d&&"checkbox"!==d&&"dropdown"!==d&&"toggle_switch"!==d||a("#"+c.data("config")+"_auto").trigger("change")}),a("body").on("click",".layout-modal-edit-closer,.layout-modal-save-action",function(b){b.preventDefault();var c=a(this),d=a(".layout-form-field.edit-open"),e=c.closest(".layout-modal-container");settings=e.find(".settings-panel").first(),a(".edit-open").removeClass("edit-open"),settings.appendTo(d.find(".settings-wrapper")).hide(),e.hide()}),a(".layout-editor-body").on("change",".layout-core-pod-query",function(){a(this).parent().find(".settings-panel-row").remove(),a(".edit-open").find(".drag-handle .set-pod").html(" - "+a(this).val())}),a(".layout-editor-body").on("click",".remove-where",function(){a(this).closest(".settings-panel-row").remove()}),a(".layout-editor-body").on("click",".use-pod-container",function(){var b=a(this),c=b.prev(),d=c.val();if(d.length){a(".edit-open").find(".drag-handle .set-pod").html(" - "+c.val()),b.parent().parent().find(".spinner").css("display","inline-block");var e={action:"pq_loadpod",pod_reference:{pod:d}};a.post(ajaxurl,e,function(c){b.parent().find(".spinner").css("display","none");var d=a("#where-line-tmpl").html(),e="",f=b.closest(".settings-panel").data("container");for(var g in c)e+='<option value="'+c[g]+'">'+c[g]+"</option>";d=d.replace(/{{fields}}/g,e).replace(/{{container_id}}/g,f),b.parent().append(d)})}}),a(".caldera-editor-header").on("click",".column-sort .icon-edit",function(a){}),a(".layout-editor-body").on("tray_loaded",".layout-template-tray",function(){d()}),a(".caldera-editor-header").on("click",".caldera-editor-header-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-editor-header-nav li").removeClass("active"),a(".caldera-editor-body").hide(),a(c.attr("href")).show(),c.parent().addClass("active"),rebind_field_bindings()}),a("body").on("change",".required",function(){check_required_bindings(this)}),a("body").on("submit",".caldera-forms-options-form",function(b){a(".required.has-error").length&&b.preventDefault()}),a(".caldera-editor-body").on("click",".add-toggle-option",function(b){var c=a(this);if(c.data("bulk"))return a(c.data("bulk")).toggle(),void a(c.data("bulk")).find("textarea").focus();var d=c.closest(".caldera-editor-field-config-wrapper"),e=d.find(".toggle-options"),f=a("#field-option-row-tmpl").html(),g=Handlebars.compile(f),h="opt"+parseInt(1048576*(Math.random()+1)),i={_name:"config[fields]["+d.prop("id")+"][config]",option:{}};if(c.data("options")){for(var j=a(c.data("options")),k=j.val().split("\n"),l=!1,m=0;m<k.length;m++){var n=k[m],o=n,p=o.split("|");p.length>1&&(o=p[0],n=p[1],l=!0),i.option["opt"+parseInt(1048576*(Math.random()+m))]={value:o,label:n,default:!1}}a(c.data("options")).parent().hide(),j.val(""),!0===l?d.find(".toggle_show_values").prop("checked",!0):d.find(".toggle_show_values").prop("checked",!1),e.empty()}else i.option[h]={value:"",label:"",default:!1};a(".preset_options").val(""),e.append(g(i)),d.find(".toggle_show_values").trigger("change"),a(".toggle-options").sortable({handle:".dashicons-sort"}),k||e.find(".toggle_label_field").last().focus()}),a(".caldera-editor-body").on("change",".preset_options",function(b){var c=a(this),d=c.val(),e=a(c.data("bulk"));preset_options&&preset_options[d]&&preset_options[d].data&&("object"==typeof preset_options[d].data&&preset_options[d].data.length&&(preset_options[d].data=preset_options[d].data.join("\n")),e.val(preset_options[d].data))}),a(".caldera-editor-body").on("click",".toggle-remove-option",function(b){var c=a(this).closest(".caldera-editor-field-config-wrapper").find(".field-config").first();a(this).parent().remove(),c.trigger("change"),a(document).trigger("option.remove")}),a(".caldera-editor-body").on("click",".page-toggle",function(b){var c=a(this),d=c.parent(),e=d.find(".button");e.removeClass("button-primary"),a(".layout-grid-panel").hide().removeClass("page-active"),a("#"+c.data("page")).show().addClass("page-active"),c.addClass("button-primary"),e.each(function(b,c){a(c).html(d.data("title")+" "+(b+1))}),1===e.length&&d.hide()}),a(".caldera-editor-body").on("blur toggle.values",".toggle_label_field",function(b){var c=a(this),d=c.prev();d.val().length||d.val(c.val())}),a(document).on("change focusout",".toggle_value_field",function(){a(document).trigger("show.fieldedit")}),a(document).on("show.fieldedit option.remove",function(b){a(".toggle_value_field.has-error").removeClass("has-error");for(var c=a("#"+a(".layout-form-field.field-edit-open").data("config")),d=c.find(".toggle_value_field"),e=c.find(".notice"),f=0,g=0;g<d.length;g++){for(var h=(d[g].value,0),i=0;i<d.length;i++)d[g]!==d[i]&&d[g].value===d[i].value&&(a(d[i]).addClass("has-error"),h++);h>0&&(a(d[g]).addClass("has-error"),f++)}f>0?(e.slideDown(),b.preventDefault()):e.slideUp()});var h=!1;focus_initial_field=function(b){var c=a(".layout-grid-panel .icon-edit").first();c.length?c.trigger("click"):(a(".layout-column.column-container").first().trigger("mouseover"),h=setInterval(e,500)),a(document).off("load.page",focus_initial_field)},a(document).on("load.page",focus_initial_field),cf_clear_puler=function(){h&&(clearTimeout(h),a(document).off("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler)),a(".layout-new-form-field, .column-fieldinsert").fadeIn()},a(document).on("mouseover",".layout-new-form-field, .column-fieldinsert",cf_clear_puler),rebuild_field_binding(),a(document).trigger("load.page"),a("body").on("click",".caldera-processor-nav a",function(b){b.preventDefault();var c=a(this);a(".caldera-processor-nav").removeClass("active"),a(".caldera-editor-processor-config-wrapper").hide(),a(c.attr("href")).show(),c.parent().addClass("active")}),a("body").on("click",".add-new-processor",function(b){var c=a(this),d=Handlebars.compile(a("#processor-wrapper-tmpl").html());wrap=a(".active-processors-list"),process_conf=a(".caldera-editor-processor-config"),processid=Math.round(1e8*Math.random()),new_templ=Handlebars.compile(a("#processor-line-tmpl").html()),new_proc={id:"fp_"+processid,type:c.data("type")},wrap.append(new_templ(new_proc)),process_conf.append(d(new_proc)),a("#form_processor_baldrickModalCloser").trigger("click"),a(".caldera-processor-nav a").last().trigger("click"),a("#fp_"+processid+"_type").val(c.data("type")).trigger("change"),f(),baldrickTriggers()}),a("body").on("click",".delete-processor",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper");d.data("type"),confirm(c.data("confirm"))&&(a("."+d.prop("id")).remove(),d.remove(),a(".caldera-processor-nav a").first().trigger("click"),rebuild_field_binding())}),a("body").on("change",".caldera-select-processor-type",function(b){var c=a(this),d=c.closest(".caldera-editor-processor-config-wrapper"),e=c.find('option[value="'+c.val()+'"]').text(),f=d.find(".caldera-editor-processor-title"),h=a(".caldera-processor-nav.active a");""===e&&(e=f.data("title")),f.html(e),h.html(e+' <span class="processor-line-number"></span>').parent().addClass("processor_type_"+c.val()),g(this),rebuild_field_binding()}),a(document).on("click","#cf-shortcode-preview",function(){a(this).focus().select()}),a(document).on("change",".cf-email-preview-toggle",function(){var b=a(this),c=a(".caldera-header-email-preview-button");b.is(":checked")?c.show().attr("aria-hidden","false").css("visibility","visible"):c.hide().attr("aria-hidden","true").css("visibility","hidden")}),rebuild_field_binding(),a(".caldera-select-processor-type").each(function(a,b){g(b)}),f()}),Handlebars.registerHelper("_field",function(a){var b=this,c="",d="",e="",f=this[a.hash.slug]?' data-default="'+this[a.hash.slug]+'"':"";a.hash.required&&(c=" required"),a.hash.exclude&&(e='data-exclude="'+a.hash.exclude+'"'),a.hash.array&&(d="[]","true"!==a.hash.array&&(f='value="'+a.hash.array+'"')),out="<select "+(a.hash.type?'data-type="'+a.hash.type+'"':"")+f+" "+e+' name="'+this._name+"["+a.hash.slug+"]"+d+'" id="'+this._id+"_"+a.hash.slug+'" class="block-input field-config caldera-field-bind'+c+'">',this[a.hash.slug]?out+='<option class="bound-field" value="'+this[a.hash.slug]+'" class="bound-field"></option>':a.hash.required||(out+='<option value=""></option>');for(var g in current_form_fields){var h="";a.hash.type&&current_form_fields[g].type!==a.hash.type||(b[a.hash.slug]&&b[a.hash.slug]===g&&(h=' selected="selected"'),out+='<option value="'+g+'"'+h+">"+current_form_fields[g].label+" ["+current_form_fields[g].slug+"]</option>")}return out+="</select>",a.hash.required&&(out+='<input class="field-config" name="'+this._name+'[_required_bounds][]" type="hidden" value="'+a.hash.slug+'">'),out}),Handlebars.registerHelper("console",function(a,b){console.log(this)});
assets/build/js/entry-viewer-2.min.js CHANGED
File without changes
assets/build/js/field-config.min.js CHANGED
File without changes
assets/build/js/fields.min.js CHANGED
File without changes
assets/build/js/formobject.min.js CHANGED
File without changes
assets/build/js/handlebars.min.js CHANGED
File without changes
assets/build/js/html5.min.js CHANGED
File without changes
assets/build/js/i18n/al.js CHANGED
File without changes
assets/build/js/i18n/ar.js CHANGED
File without changes
assets/build/js/i18n/bg.js CHANGED
File without changes
assets/build/js/i18n/ca.js CHANGED
File without changes
assets/build/js/i18n/cs.extra.js CHANGED
File without changes
assets/build/js/i18n/cs.js CHANGED
File without changes
assets/build/js/i18n/da.js CHANGED
File without changes
assets/build/js/i18n/de.extra.js CHANGED
File without changes
assets/build/js/i18n/de.js CHANGED
File without changes
assets/build/js/i18n/el.extra.js CHANGED
File without changes
assets/build/js/i18n/el.js CHANGED
File without changes
assets/build/js/i18n/en.extra.js CHANGED
File without changes
assets/build/js/i18n/en.js CHANGED
File without changes
assets/build/js/i18n/es.js CHANGED
File without changes
assets/build/js/i18n/eu.js CHANGED
File without changes
assets/build/js/i18n/fa.js CHANGED
File without changes
assets/build/js/i18n/fi.extra.js CHANGED
File without changes
assets/build/js/i18n/fi.js CHANGED
File without changes
assets/build/js/i18n/fr.extra.js CHANGED
File without changes
assets/build/js/i18n/fr.js CHANGED
File without changes
assets/build/js/i18n/he.extra.js CHANGED
File without changes
assets/build/js/i18n/he.js CHANGED
File without changes
assets/build/js/i18n/hr.extra.js CHANGED
File without changes
assets/build/js/i18n/hr.js CHANGED
File without changes
assets/build/js/i18n/hu.extra.js CHANGED
File without changes
assets/build/js/i18n/hu.js CHANGED
File without changes
assets/build/js/i18n/id.extra.js CHANGED
File without changes
assets/build/js/i18n/id.js CHANGED
File without changes
assets/build/js/i18n/it.extra.js CHANGED
File without changes
assets/build/js/i18n/it.js CHANGED
File without changes
assets/build/js/i18n/ja.extra.js CHANGED
File without changes
assets/build/js/i18n/ja.js CHANGED
File without changes
assets/build/js/i18n/ko.js CHANGED
File without changes
assets/build/js/i18n/lt.extra.js CHANGED
File without changes
assets/build/js/i18n/lt.js CHANGED
File without changes
assets/build/js/i18n/lv.extra.js CHANGED
File without changes
assets/build/js/i18n/lv.js CHANGED
File without changes
assets/build/js/i18n/ms.extra.js CHANGED
File without changes
assets/build/js/i18n/ms.js CHANGED
File without changes
assets/build/js/i18n/ms_MY.extra.js CHANGED
File without changes
assets/build/js/i18n/ms_MY.js CHANGED
File without changes
assets/build/js/i18n/nl.extra.js CHANGED
File without changes
assets/build/js/i18n/nl.js CHANGED
File without changes
assets/build/js/i18n/no.js CHANGED
File without changes
assets/build/js/i18n/pl.js CHANGED
File without changes
assets/build/js/i18n/pt-br.js CHANGED
File without changes
assets/build/js/i18n/pt-pt.js CHANGED
File without changes
assets/build/js/i18n/ro.extra.js CHANGED
File without changes
assets/build/js/i18n/ro.js CHANGED
File without changes
assets/build/js/i18n/ru.extra.js CHANGED
File without changes
assets/build/js/i18n/ru.js CHANGED
File without changes
assets/build/js/i18n/sk.extra.js CHANGED
File without changes
assets/build/js/i18n/sk.js CHANGED
File without changes
assets/build/js/i18n/sl.extra.js CHANGED
File without changes
assets/build/js/i18n/sl.js CHANGED
File without changes
assets/build/js/i18n/sq.js CHANGED
File without changes
assets/build/js/i18n/sr.extra.js CHANGED
File without changes
assets/build/js/i18n/sr.js CHANGED
File without changes
assets/build/js/i18n/sv.extra.js CHANGED
File without changes
assets/build/js/i18n/sv.js CHANGED
File without changes
assets/build/js/i18n/th.js CHANGED
File without changes
assets/build/js/i18n/tr.js CHANGED
File without changes
assets/build/js/i18n/ua.extra.js CHANGED
File without changes
assets/build/js/i18n/ua.js CHANGED
File without changes
assets/build/js/i18n/uk.extra.js CHANGED
File without changes
assets/build/js/i18n/uk.js CHANGED
File without changes
assets/build/js/i18n/zh_cn.extra.js CHANGED
File without changes
assets/build/js/i18n/zh_cn.js CHANGED
File without changes
assets/build/js/i18n/zh_tw.js CHANGED
File without changes
assets/build/js/jquery-baldrick.min.js CHANGED
File without changes
assets/build/js/jquery.min.js CHANGED
File without changes
assets/build/js/modals.min.js CHANGED
File without changes
assets/build/js/parsley-aria.min.js CHANGED
File without changes
assets/build/js/polyfiller.min.js CHANGED
File without changes
assets/build/js/remodal.min.js CHANGED
File without changes
assets/build/js/shortcode-insert.min.js CHANGED
File without changes
assets/build/js/state/events.min.js CHANGED
File without changes
assets/build/js/support-page.min.js CHANGED
File without changes
assets/build/js/viewer/init.min.js CHANGED
File without changes
assets/build/js/viewer/viewer.min.js CHANGED
File without changes
assets/build/js/vue.min.js CHANGED
File without changes
assets/build/js/vue/status-component.min.js CHANGED
File without changes
assets/build/js/vue/vue-filter.min.js CHANGED
File without changes
assets/build/js/vue/vue.min.js CHANGED
File without changes
assets/build/js/wp-baldrick-full.min.js CHANGED
File without changes
assets/css/caldera-forms-front.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 */.caldera-grid body{margin:0}.caldera-grid .form-group{margin-bottom:1em}@media (min-width:768px){.caldera-grid .container{width:750px}}@media (min-width:992px){.caldera-grid .container{width:970px}}@media (min-width:1200px){.caldera-grid .container{width:1170px}}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background:0 0;text-decoration:none}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0;vertical-align:middle}.caldera-grid svg:not(:root){overflow:hidden}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid select{text-transform:none}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}.caldera-grid legend{border:0;padding:0}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}.caldera-grid *,.caldera-grid :after,.caldera-grid :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.caldera-grid body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.caldera-grid button,.caldera-grid input,.caldera-grid select,.caldera-grid textarea{font-family:inherit;font-size:inherit;line-height:inherit}.caldera-grid a:focus,.caldera-grid a:hover{color:#2a6496;text-decoration:underline}.caldera-grid a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid figure{margin:0}.caldera-grid .img-responsive{display:block;max-width:100%;height:auto}.caldera-grid .img-rounded{border-radius:6px}.caldera-grid .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.caldera-grid .img-circle{border-radius:50%}.caldera-grid hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.caldera-grid .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.caldera-grid .container,.caldera-grid .container-fluid{margin-right:auto;margin-left:auto;padding-left:7.5px;padding-right:7.5px}@media (min-width:768px){.caldera-grid .container{width:735px}}@media (min-width:992px){.caldera-grid .container{width:955px}}@media (min-width:1200px){.caldera-grid .container{width:1155px}}.caldera-grid .row{margin-left:-7.5px;margin-right:-7.5px;max-width:100%}.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9,.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9,.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9,.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{position:relative;padding-left:7.5px;padding-right:7.5px}.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{float:left}.caldera-grid .col-xs-12{width:100%}.caldera-grid .col-xs-11{width:91.66666667%}.caldera-grid .col-xs-10{width:83.33333333%}.caldera-grid .col-xs-9{width:75%}.caldera-grid .col-xs-8{width:66.66666667%}.caldera-grid .col-xs-7{width:58.33333333%}.caldera-grid .col-xs-6{width:50%}.caldera-grid .col-xs-5{width:41.66666667%}.caldera-grid .col-xs-4{width:33.33333333%}.caldera-grid .col-xs-3{width:25%}.caldera-grid .col-xs-2{width:16.66666667%}.caldera-grid .col-xs-1{width:8.33333333%}.caldera-grid .col-xs-pull-12{right:100%}.caldera-grid .col-xs-pull-11{right:91.66666667%}.caldera-grid .col-xs-pull-10{right:83.33333333%}.caldera-grid .col-xs-pull-9{right:75%}.caldera-grid .col-xs-pull-8{right:66.66666667%}.caldera-grid .col-xs-pull-7{right:58.33333333%}.caldera-grid .col-xs-pull-6{right:50%}.caldera-grid .col-xs-pull-5{right:41.66666667%}.caldera-grid .col-xs-pull-4{right:33.33333333%}.caldera-grid .col-xs-pull-3{right:25%}.caldera-grid .col-xs-pull-2{right:16.66666667%}.caldera-grid .col-xs-pull-1{right:8.33333333%}.caldera-grid .col-xs-pull-0{right:0}.caldera-grid .col-xs-push-12{left:100%}.caldera-grid .col-xs-push-11{left:91.66666667%}.caldera-grid .col-xs-push-10{left:83.33333333%}.caldera-grid .col-xs-push-9{left:75%}.caldera-grid .col-xs-push-8{left:66.66666667%}.caldera-grid .col-xs-push-7{left:58.33333333%}.caldera-grid .col-xs-push-6{left:50%}.caldera-grid .col-xs-push-5{left:41.66666667%}.caldera-grid .col-xs-push-4{left:33.33333333%}.caldera-grid .col-xs-push-3{left:25%}.caldera-grid .col-xs-push-2{left:16.66666667%}.caldera-grid .col-xs-push-1{left:8.33333333%}.caldera-grid .col-xs-push-0{left:0}.caldera-grid .col-xs-offset-12{margin-left:100%}.caldera-grid .col-xs-offset-11{margin-left:91.66666667%}.caldera-grid .col-xs-offset-10{margin-left:83.33333333%}.caldera-grid .col-xs-offset-9{margin-left:75%}.caldera-grid .col-xs-offset-8{margin-left:66.66666667%}.caldera-grid .col-xs-offset-7{margin-left:58.33333333%}.caldera-grid .col-xs-offset-6{margin-left:50%}.caldera-grid .col-xs-offset-5{margin-left:41.66666667%}.caldera-grid .col-xs-offset-4{margin-left:33.33333333%}.caldera-grid .col-xs-offset-3{margin-left:25%}.caldera-grid .col-xs-offset-2{margin-left:16.66666667%}.caldera-grid .col-xs-offset-1{margin-left:8.33333333%}.caldera-grid .col-xs-offset-0{margin-left:0}@media (min-width:768px){.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9{float:left}.caldera-grid .col-sm-12{width:100%}.caldera-grid .col-sm-11{width:91.66666667%}.caldera-grid .col-sm-10{width:83.33333333%}.caldera-grid .col-sm-9{width:75%}.caldera-grid .col-sm-8{width:66.66666667%}.caldera-grid .col-sm-7{width:58.33333333%}.caldera-grid .col-sm-6{width:50%}.caldera-grid .col-sm-5{width:41.66666667%}.caldera-grid .col-sm-4{width:33.33333333%}.caldera-grid .col-sm-3{width:25%}.caldera-grid .col-sm-2{width:16.66666667%}.caldera-grid .col-sm-1{width:8.33333333%}.caldera-grid .col-sm-pull-12{right:100%}.caldera-grid .col-sm-pull-11{right:91.66666667%}.caldera-grid .col-sm-pull-10{right:83.33333333%}.caldera-grid .col-sm-pull-9{right:75%}.caldera-grid .col-sm-pull-8{right:66.66666667%}.caldera-grid .col-sm-pull-7{right:58.33333333%}.caldera-grid .col-sm-pull-6{right:50%}.caldera-grid .col-sm-pull-5{right:41.66666667%}.caldera-grid .col-sm-pull-4{right:33.33333333%}.caldera-grid .col-sm-pull-3{right:25%}.caldera-grid .col-sm-pull-2{right:16.66666667%}.caldera-grid .col-sm-pull-1{right:8.33333333%}.caldera-grid .col-sm-pull-0{right:0}.caldera-grid .col-sm-push-12{left:100%}.caldera-grid .col-sm-push-11{left:91.66666667%}.caldera-grid .col-sm-push-10{left:83.33333333%}.caldera-grid .col-sm-push-9{left:75%}.caldera-grid .col-sm-push-8{left:66.66666667%}.caldera-grid .col-sm-push-7{left:58.33333333%}.caldera-grid .col-sm-push-6{left:50%}.caldera-grid .col-sm-push-5{left:41.66666667%}.caldera-grid .col-sm-push-4{left:33.33333333%}.caldera-grid .col-sm-push-3{left:25%}.caldera-grid .col-sm-push-2{left:16.66666667%}.caldera-grid .col-sm-push-1{left:8.33333333%}.caldera-grid .col-sm-push-0{left:0}.caldera-grid .col-sm-offset-12{margin-left:100%}.caldera-grid .col-sm-offset-11{margin-left:91.66666667%}.caldera-grid .col-sm-offset-10{margin-left:83.33333333%}.caldera-grid .col-sm-offset-9{margin-left:75%}.caldera-grid .col-sm-offset-8{margin-left:66.66666667%}.caldera-grid .col-sm-offset-7{margin-left:58.33333333%}.caldera-grid .col-sm-offset-6{margin-left:50%}.caldera-grid .col-sm-offset-5{margin-left:41.66666667%}.caldera-grid .col-sm-offset-4{margin-left:33.33333333%}.caldera-grid .col-sm-offset-3{margin-left:25%}.caldera-grid .col-sm-offset-2{margin-left:16.66666667%}.caldera-grid .col-sm-offset-1{margin-left:8.33333333%}.caldera-grid .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9{float:left}.caldera-grid .col-md-12{width:100%}.caldera-grid .col-md-11{width:91.66666667%}.caldera-grid .col-md-10{width:83.33333333%}.caldera-grid .col-md-9{width:75%}.caldera-grid .col-md-8{width:66.66666667%}.caldera-grid .col-md-7{width:58.33333333%}.caldera-grid .col-md-6{width:50%}.caldera-grid .col-md-5{width:41.66666667%}.caldera-grid .col-md-4{width:33.33333333%}.caldera-grid .col-md-3{width:25%}.caldera-grid .col-md-2{width:16.66666667%}.caldera-grid .col-md-1{width:8.33333333%}.caldera-grid .col-md-pull-12{right:100%}.caldera-grid .col-md-pull-11{right:91.66666667%}.caldera-grid .col-md-pull-10{right:83.33333333%}.caldera-grid .col-md-pull-9{right:75%}.caldera-grid .col-md-pull-8{right:66.66666667%}.caldera-grid .col-md-pull-7{right:58.33333333%}.caldera-grid .col-md-pull-6{right:50%}.caldera-grid .col-md-pull-5{right:41.66666667%}.caldera-grid .col-md-pull-4{right:33.33333333%}.caldera-grid .col-md-pull-3{right:25%}.caldera-grid .col-md-pull-2{right:16.66666667%}.caldera-grid .col-md-pull-1{right:8.33333333%}.caldera-grid .col-md-pull-0{right:0}.caldera-grid .col-md-push-12{left:100%}.caldera-grid .col-md-push-11{left:91.66666667%}.caldera-grid .col-md-push-10{left:83.33333333%}.caldera-grid .col-md-push-9{left:75%}.caldera-grid .col-md-push-8{left:66.66666667%}.caldera-grid .col-md-push-7{left:58.33333333%}.caldera-grid .col-md-push-6{left:50%}.caldera-grid .col-md-push-5{left:41.66666667%}.caldera-grid .col-md-push-4{left:33.33333333%}.caldera-grid .col-md-push-3{left:25%}.caldera-grid .col-md-push-2{left:16.66666667%}.caldera-grid .col-md-push-1{left:8.33333333%}.caldera-grid .col-md-push-0{left:0}.caldera-grid .col-md-offset-12{margin-left:100%}.caldera-grid .col-md-offset-11{margin-left:91.66666667%}.caldera-grid .col-md-offset-10{margin-left:83.33333333%}.caldera-grid .col-md-offset-9{margin-left:75%}.caldera-grid .col-md-offset-8{margin-left:66.66666667%}.caldera-grid .col-md-offset-7{margin-left:58.33333333%}.caldera-grid .col-md-offset-6{margin-left:50%}.caldera-grid .col-md-offset-5{margin-left:41.66666667%}.caldera-grid .col-md-offset-4{margin-left:33.33333333%}.caldera-grid .col-md-offset-3{margin-left:25%}.caldera-grid .col-md-offset-2{margin-left:16.66666667%}.caldera-grid .col-md-offset-1{margin-left:8.33333333%}.caldera-grid .col-md-offset-0{margin-left:0}}@-ms-viewport{width:device-width}@media (min-width:1200px){.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9{float:left}.caldera-grid .col-lg-12{width:100%}.caldera-grid .col-lg-11{width:91.66666667%}.caldera-grid .col-lg-10{width:83.33333333%}.caldera-grid .col-lg-9{width:75%}.caldera-grid .col-lg-8{width:66.66666667%}.caldera-grid .col-lg-7{width:58.33333333%}.caldera-grid .col-lg-6{width:50%}.caldera-grid .col-lg-5{width:41.66666667%}.caldera-grid .col-lg-4{width:33.33333333%}.caldera-grid .col-lg-3{width:25%}.caldera-grid .col-lg-2{width:16.66666667%}.caldera-grid .col-lg-1{width:8.33333333%}.caldera-grid .col-lg-pull-12{right:100%}.caldera-grid .col-lg-pull-11{right:91.66666667%}.caldera-grid .col-lg-pull-10{right:83.33333333%}.caldera-grid .col-lg-pull-9{right:75%}.caldera-grid .col-lg-pull-8{right:66.66666667%}.caldera-grid .col-lg-pull-7{right:58.33333333%}.caldera-grid .col-lg-pull-6{right:50%}.caldera-grid .col-lg-pull-5{right:41.66666667%}.caldera-grid .col-lg-pull-4{right:33.33333333%}.caldera-grid .col-lg-pull-3{right:25%}.caldera-grid .col-lg-pull-2{right:16.66666667%}.caldera-grid .col-lg-pull-1{right:8.33333333%}.caldera-grid .col-lg-pull-0{right:0}.caldera-grid .col-lg-push-12{left:100%}.caldera-grid .col-lg-push-11{left:91.66666667%}.caldera-grid .col-lg-push-10{left:83.33333333%}.caldera-grid .col-lg-push-9{left:75%}.caldera-grid .col-lg-push-8{left:66.66666667%}.caldera-grid .col-lg-push-7{left:58.33333333%}.caldera-grid .col-lg-push-6{left:50%}.caldera-grid .col-lg-push-5{left:41.66666667%}.caldera-grid .col-lg-push-4{left:33.33333333%}.caldera-grid .col-lg-push-3{left:25%}.caldera-grid .col-lg-push-2{left:16.66666667%}.caldera-grid .col-lg-push-1{left:8.33333333%}.caldera-grid .col-lg-push-0{left:0}.caldera-grid .col-lg-offset-12{margin-left:100%}.caldera-grid .col-lg-offset-11{margin-left:91.66666667%}.caldera-grid .col-lg-offset-10{margin-left:83.33333333%}.caldera-grid .col-lg-offset-9{margin-left:75%}.caldera-grid .col-lg-offset-8{margin-left:66.66666667%}.caldera-grid .col-lg-offset-7{margin-left:58.33333333%}.caldera-grid .col-lg-offset-6{margin-left:50%}.caldera-grid .col-lg-offset-5{margin-left:41.66666667%}.caldera-grid .col-lg-offset-4{margin-left:33.33333333%}.caldera-grid .col-lg-offset-3{margin-left:25%}.caldera-grid .col-lg-offset-2{margin-left:16.66666667%}.caldera-grid .col-lg-offset-1{margin-left:8.33333333%}.caldera-grid .col-lg-offset-0{margin-left:0}}.caldera-grid .clearfix:after,.caldera-grid .clearfix:before,.caldera-grid .container-fluid:after,.caldera-grid .container-fluid:before,.caldera-grid .container:after,.caldera-grid .container:before,.caldera-grid .row:after,.caldera-grid .row:before{content:" ";display:table}.caldera-grid .clearfix:after,.caldera-grid .container-fluid:after,.caldera-grid .container:after,.caldera-grid .row:after{clear:both}.caldera-grid .center-block{display:block;margin-left:auto;margin-right:auto}.caldera-grid .pull-right{float:right!important}.caldera-grid .pull-left{float:left!important}.caldera-grid .hide{display:none!important}.caldera-grid .show{display:block!important}.caldera-grid .hidden,.caldera-grid .visible-lg,.caldera-grid .visible-md,.caldera-grid .visible-sm,.caldera-grid .visible-xs{display:none!important}.caldera-grid .invisible{visibility:hidden}.caldera-grid .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.caldera-grid .hidden{visibility:hidden!important}.caldera-grid .affix{position:fixed}@-ms-viewport{width:device-width}.caldera-grid .form-control{width:100%}@media (max-width:767px){.caldera-grid .visible-xs{display:block!important}.caldera-grid table.visible-xs{display:table}.caldera-grid tr.visible-xs{display:table-row!important}.caldera-grid td.visible-xs,.caldera-grid th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .visible-sm{display:block!important}.caldera-grid table.visible-sm{display:table}.caldera-grid tr.visible-sm{display:table-row!important}.caldera-grid td.visible-sm,.caldera-grid th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .visible-md{display:block!important}.caldera-grid table.visible-md{display:table}.caldera-grid tr.visible-md{display:table-row!important}.caldera-grid td.visible-md,.caldera-grid th.visible-md{display:table-cell!important}}@media (min-width:1200px){.caldera-grid .visible-lg{display:block!important}.caldera-grid table.visible-lg{display:table}.caldera-grid tr.visible-lg{display:table-row!important}.caldera-grid td.visible-lg,.caldera-grid th.visible-lg{display:table-cell!important}.caldera-grid .hidden-lg{display:none!important}}@media (max-width:767px){.caldera-grid .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .hidden-md{display:none!important}}.caldera-grid .visible-print{display:none!important}@media print{.caldera-grid .visible-print{display:block!important}.caldera-grid table.visible-print{display:table}.caldera-grid tr.visible-print{display:table-row!important}.caldera-grid td.visible-print,.caldera-grid th.visible-print{display:table-cell!important}.caldera-grid .hidden-print{display:none!important}}input.parsley-success,select.parsley-success,textarea.parsley-success{color:#468847;background-color:#DFF0D8;border:1px solid #D6E9C6}input.parsley-error,select.parsley-error,textarea.parsley-error{color:#B94A48;background-color:#F2DEDE;border:1px solid #EED3D7}.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.parsley-errors-list.filled{opacity:1}
2
  .caldera-grid .alert{padding:8px;margin-bottom:18px;border-radius:2px}.caldera-grid .alert .alert-link{font-weight:700}.caldera-grid .alert-dismissable{padding-right:28px}.caldera-grid .alert-success{background-color:#dff0d8;border-color:#a3d48e;color:#3c763d}.caldera-grid .alert-success hr{border-top-color:#93cd7c}.caldera-grid .alert-success .alert-link{color:#2b542c}.caldera-grid .alert-info{background-color:#d9edf7;border-color:#85c5e5;color:#31708f}.caldera-grid .alert-info hr{border-top-color:#70bbe1}.caldera-grid .alert-info .alert-link{color:#245269}.caldera-grid .alert-warning{background-color:#f9edbe;border-color:#f0c36d;color:#333}.caldera-grid .alert-warning hr{border-top-color:#eeb956}.caldera-grid .alert-warning .alert-link{color:#1a1a1a}.caldera-grid .alert-danger,.caldera-grid .alert-error{background-color:#f2dede;border-color:#d59595;color:#a94442}.caldera-grid .alert-danger hr,.caldera-grid .alert-error hr{border-top-color:#ce8383}.caldera-grid .alert-danger .alert-link,.caldera-grid .alert-error .alert-link{color:#843534}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline{color:#dd4b39}.caldera-grid .alert-danger,.caldera-grid .alert-error,.caldera-grid .alert-info,.caldera-grid .alert-success,.caldera-grid .alert-warning{text-shadow:0 1px 0 rgba(255,255,255,.5)}.caldera-grid .has-error .form-control{border-color:#dd4b39;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .has-error .input-group-addon{color:#dd4b39;border-color:#dd4b39;background-color:#f2dede}.caldera-grid .has-error .form-control:focus,.caldera-grid .has-error .form-control:hover{border-color:#dd4b39}.caldera-grid.cf_processing{background:url(../images/loading.gif) center center/30px auto no-repeat rgba(0,0,0,0)}.caldera-grid.cf_processing>*{opacity:.5}
3
  .caldera-grid html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.caldera-grid body{margin:0}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid menu,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background-color:transparent}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0}.caldera-grid svg:not(:root){overflow:hidden}.caldera-grid figure{margin:1em 40px}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid select{text-transform:none}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input{line-height:normal}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}@media print{.caldera-grid *,.caldera-grid :after,.caldera-grid :before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}.caldera-grid a,.caldera-grid a:visited{text-decoration:underline}.caldera-grid a[href]:after{content:" (" attr(href) ")"}.caldera-grid abbr[title]:after{content:" (" attr(title) ")"}.caldera-grid a[href^="#"]:after,.caldera-grid a[href^="javascript:"]:after{content:""}.caldera-grid blockquote,.caldera-grid pre{border:1px solid #999;page-break-inside:avoid}.caldera-grid thead{display:table-header-group}.caldera-grid img,.caldera-grid tr{page-break-inside:avoid}.caldera-grid img{max-width:100%!important}.caldera-grid h2,.caldera-grid h3,.caldera-grid p{orphans:3;widows:3}.caldera-grid h2,.caldera-grid h3{page-break-after:avoid}.caldera-grid select{background:#fff!important}.caldera-grid .navbar{display:none}.caldera-grid .btn>.caret,.caldera-grid .dropup>.btn>.caret{border-top-color:#000!important}.caldera-grid .label{border:1px solid #000}.caldera-grid .table{border-collapse:collapse!important}.caldera-grid .table td,.caldera-grid .table th{background-color:#fff!important}.caldera-grid .table-bordered td,.caldera-grid .table-bordered th{border:1px solid #ddd!important}}.caldera-grid .btn,.caldera-grid .btn-danger.active,.caldera-grid .btn-danger:active,.caldera-grid .btn-default.active,.caldera-grid .btn-default:active,.caldera-grid .btn-info.active,.caldera-grid .btn-info:active,.caldera-grid .btn-primary.active,.caldera-grid .btn-primary:active,.caldera-grid .btn-success.active,.caldera-grid .btn-success:active,.caldera-grid .btn-warning.active,.caldera-grid .btn-warning:active,.caldera-grid .form-control,.open>.dropdown-toggle.caldera-grid .btn-danger,.open>.dropdown-toggle.caldera-grid .btn-default,.open>.dropdown-toggle.caldera-grid .btn-info,.open>.dropdown-toggle.caldera-grid .btn-primary,.open>.dropdown-toggle.caldera-grid .btn-success,.open>.dropdown-toggle.caldera-grid .btn-warning{background-image:none}.caldera-grid fieldset{padding:0;margin:0;border:0;min-width:0}.caldera-grid legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.caldera-grid label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{margin:0;line-height:normal}.caldera-grid .form-control,.caldera-grid output{font-size:14px;line-height:1.42857143;color:#555;display:block}.caldera-grid input[type=file]{display:block}.caldera-grid input[type=range]{display:block;width:100%}.caldera-grid select[multiple],.caldera-grid select[size]{height:auto}.caldera-grid input[type=checkbox]:focus,.caldera-grid input[type=file]:focus,.caldera-grid input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid input[type=checkbox]{-webkit-appearance:checkbox}.caldera-grid input[type=radio]{-webkit-appearance:radio}.caldera-grid output{padding-top:7px}.caldera-grid .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.caldera-grid .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.caldera-grid .form-control::-moz-placeholder{color:#999;opacity:1}.caldera-grid .form-control:-ms-input-placeholder{color:#999}.caldera-grid .form-control::-webkit-input-placeholder{color:#999}.caldera-grid .has-success .checkbox,.caldera-grid .has-success .checkbox-inline,.caldera-grid .has-success .control-label,.caldera-grid .has-success .form-control-feedback,.caldera-grid .has-success .help-block,.caldera-grid .has-success .radio,.caldera-grid .has-success .radio-inline,.caldera-grid .has-success.checkbox label,.caldera-grid .has-success.checkbox-inline label,.caldera-grid .has-success.radio label,.caldera-grid .has-success.radio-inline label{color:#3c763d}.caldera-grid .form-control[disabled],.caldera-grid .form-control[readonly],fieldset[disabled] .caldera-grid .form-control{background-color:#eee;opacity:1}.caldera-grid .form-control[disabled],fieldset[disabled] .caldera-grid .form-control{cursor:not-allowed}textarea .caldera-grid .form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){.caldera-grid input[type=date],.caldera-grid input[type=datetime-local],.caldera-grid input[type=month],.caldera-grid input[type=time]{line-height:34px}.caldera-grid input[type=date].input-sm,.caldera-grid input[type=datetime-local].input-sm,.caldera-grid input[type=month].input-sm,.caldera-grid input[type=time].input-sm,.input-group-sm .caldera-grid input[type=date],.input-group-sm .caldera-grid input[type=datetime-local],.input-group-sm .caldera-grid input[type=month],.input-group-sm .caldera-grid input[type=time]{line-height:30px}.caldera-grid input[type=date].input-lg,.caldera-grid input[type=datetime-local].input-lg,.caldera-grid input[type=month].input-lg,.caldera-grid input[type=time].input-lg,.input-group-lg .caldera-grid input[type=date],.input-group-lg .caldera-grid input[type=datetime-local],.input-group-lg .caldera-grid input[type=month],.input-group-lg .caldera-grid input[type=time]{line-height:46px}}.caldera-grid .form-group{margin-bottom:15px}.caldera-grid .checkbox,.caldera-grid .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.caldera-grid .checkbox label,.caldera-grid .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.caldera-grid .checkbox input[type=checkbox],.caldera-grid .checkbox-inline input[type=checkbox],.caldera-grid .radio input[type=radio],.caldera-grid .radio-inline input[type=radio]{margin-left:-20px}.caldera-grid .checkbox+.checkbox,.caldera-grid .radio+.radio{margin-top:-5px}.caldera-grid .checkbox-inline,.caldera-grid .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.caldera-grid .checkbox-inline+.checkbox-inline,.caldera-grid .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.caldera-grid .checkbox-inline.disabled,.caldera-grid .checkbox.disabled label,.caldera-grid .radio-inline.disabled,.caldera-grid .radio.disabled label,.caldera-grid input[type=checkbox].disabled,.caldera-grid input[type=checkbox][disabled],.caldera-grid input[type=radio].disabled,.caldera-grid input[type=radio][disabled],fieldset[disabled] .caldera-grid .checkbox label,fieldset[disabled] .caldera-grid .checkbox-inline,fieldset[disabled] .caldera-grid .radio label,fieldset[disabled] .caldera-grid .radio-inline,fieldset[disabled] .caldera-grid input[type=checkbox],fieldset[disabled] .caldera-grid input[type=radio]{cursor:not-allowed}.caldera-grid .form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.caldera-grid .form-control-static.input-lg,.caldera-grid .form-control-static.input-sm{padding-left:0;padding-right:0}.caldera-grid .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .input-sm{height:30px;line-height:30px}select[multiple].caldera-grid .input-sm,textarea.caldera-grid .input-sm{height:auto}.caldera-grid .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .form-group-sm .form-control{height:30px;line-height:30px}select[multiple].caldera-grid .form-group-sm .form-control,textarea.caldera-grid .form-group-sm .form-control{height:auto}.caldera-grid .form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;min-height:32px}.caldera-grid .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .input-lg{height:46px;line-height:46px}select[multiple].caldera-grid .input-lg,textarea.caldera-grid .input-lg{height:auto}.caldera-grid .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .form-group-lg .form-control{height:46px;line-height:46px}select[multiple].caldera-grid .form-group-lg .form-control,textarea.caldera-grid .form-group-lg .form-control{height:auto}.caldera-grid .form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;min-height:38px}.caldera-grid .has-feedback{position:relative}.caldera-grid .has-feedback .form-control{padding-right:42.5px}.caldera-grid .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.caldera-grid .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.caldera-grid .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.caldera-grid .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.caldera-grid .has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.caldera-grid .has-warning .checkbox,.caldera-grid .has-warning .checkbox-inline,.caldera-grid .has-warning .control-label,.caldera-grid .has-warning .form-control-feedback,.caldera-grid .has-warning .help-block,.caldera-grid .has-warning .radio,.caldera-grid .has-warning .radio-inline,.caldera-grid .has-warning.checkbox label,.caldera-grid .has-warning.checkbox-inline label,.caldera-grid .has-warning.radio label,.caldera-grid .has-warning.radio-inline label{color:#8a6d3b}.caldera-grid .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.caldera-grid .has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline,.caldera-grid .has-error.checkbox label,.caldera-grid .has-error.checkbox-inline label,.caldera-grid .has-error.radio label,.caldera-grid .has-error.radio-inline label{color:#a94442}.caldera-grid .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.caldera-grid .has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.caldera-grid .has-feedback label~.form-control-feedback{top:25px}.caldera-grid .has-feedback label.sr-only~.form-control-feedback{top:0}.caldera-grid .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.caldera-grid .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.caldera-grid .form-inline .form-control-static{display:inline-block}.caldera-grid .form-inline .input-group{display:inline-table;vertical-align:middle}.caldera-grid .form-inline .input-group .form-control,.caldera-grid .form-inline .input-group .input-group-addon,.caldera-grid .form-inline .input-group .input-group-btn{width:auto}.caldera-grid .form-inline .input-group>.form-control{width:100%}.caldera-grid .form-inline .control-label{margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox,.caldera-grid .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox label,.caldera-grid .form-inline .radio label{padding-left:0}.caldera-grid .form-inline .checkbox input[type=checkbox],.caldera-grid .form-inline .radio input[type=radio]{position:relative;margin-left:0}.caldera-grid .form-inline .has-feedback .form-control-feedback{top:0}.caldera-grid .form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .checkbox-inline,.caldera-grid .form-horizontal .radio,.caldera-grid .form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .radio{min-height:27px}.caldera-grid .form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.caldera-grid .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.caldera-grid .form-horizontal .form-group-lg .control-label{padding-top:14.33px}.caldera-grid .form-horizontal .form-group-sm .control-label{padding-top:6px}}.caldera-grid .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.caldera-grid .btn.active.focus,.caldera-grid .btn.active:focus,.caldera-grid .btn.focus,.caldera-grid .btn:active.focus,.caldera-grid .btn:active:focus,.caldera-grid .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .btn.focus,.caldera-grid .btn:focus,.caldera-grid .btn:hover{color:#333;text-decoration:none}.caldera-grid .btn.active,.caldera-grid .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.caldera-grid .btn.disabled,.caldera-grid .btn[disabled],fieldset[disabled] .caldera-grid .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-default{color:#333;background-color:#fff;border-color:#ccc}.caldera-grid .btn-default.active,.caldera-grid .btn-default.focus,.caldera-grid .btn-default:active,.caldera-grid .btn-default:focus,.caldera-grid .btn-default:hover,.open>.dropdown-toggle.caldera-grid .btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.caldera-grid .btn-default.disabled,.caldera-grid .btn-default.disabled.active,.caldera-grid .btn-default.disabled.focus,.caldera-grid .btn-default.disabled:active,.caldera-grid .btn-default.disabled:focus,.caldera-grid .btn-default.disabled:hover,.caldera-grid .btn-default[disabled],.caldera-grid .btn-default[disabled].active,.caldera-grid .btn-default[disabled].focus,.caldera-grid .btn-default[disabled]:active,.caldera-grid .btn-default[disabled]:focus,.caldera-grid .btn-default[disabled]:hover,fieldset[disabled] .caldera-grid .btn-default,fieldset[disabled] .caldera-grid .btn-default.active,fieldset[disabled] .caldera-grid .btn-default.focus,fieldset[disabled] .caldera-grid .btn-default:active,fieldset[disabled] .caldera-grid .btn-default:focus,fieldset[disabled] .caldera-grid .btn-default:hover{background-color:#fff;border-color:#ccc}.caldera-grid .btn-default .badge{color:#fff;background-color:#333}.caldera-grid .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary.active,.caldera-grid .btn-primary.focus,.caldera-grid .btn-primary:active,.caldera-grid .btn-primary:focus,.caldera-grid .btn-primary:hover,.open>.dropdown-toggle.caldera-grid .btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.caldera-grid .btn-primary.disabled,.caldera-grid .btn-primary.disabled.active,.caldera-grid .btn-primary.disabled.focus,.caldera-grid .btn-primary.disabled:active,.caldera-grid .btn-primary.disabled:focus,.caldera-grid .btn-primary.disabled:hover,.caldera-grid .btn-primary[disabled],.caldera-grid .btn-primary[disabled].active,.caldera-grid .btn-primary[disabled].focus,.caldera-grid .btn-primary[disabled]:active,.caldera-grid .btn-primary[disabled]:focus,.caldera-grid .btn-primary[disabled]:hover,fieldset[disabled] .caldera-grid .btn-primary,fieldset[disabled] .caldera-grid .btn-primary.active,fieldset[disabled] .caldera-grid .btn-primary.focus,fieldset[disabled] .caldera-grid .btn-primary:active,fieldset[disabled] .caldera-grid .btn-primary:focus,fieldset[disabled] .caldera-grid .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary .badge{color:#337ab7;background-color:#fff}.caldera-grid .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success.active,.caldera-grid .btn-success.focus,.caldera-grid .btn-success:active,.caldera-grid .btn-success:focus,.caldera-grid .btn-success:hover,.open>.dropdown-toggle.caldera-grid .btn-success{color:#fff;background-color:#449d44;border-color:#398439}.caldera-grid .btn-success.disabled,.caldera-grid .btn-success.disabled.active,.caldera-grid .btn-success.disabled.focus,.caldera-grid .btn-success.disabled:active,.caldera-grid .btn-success.disabled:focus,.caldera-grid .btn-success.disabled:hover,.caldera-grid .btn-success[disabled],.caldera-grid .btn-success[disabled].active,.caldera-grid .btn-success[disabled].focus,.caldera-grid .btn-success[disabled]:active,.caldera-grid .btn-success[disabled]:focus,.caldera-grid .btn-success[disabled]:hover,fieldset[disabled] .caldera-grid .btn-success,fieldset[disabled] .caldera-grid .btn-success.active,fieldset[disabled] .caldera-grid .btn-success.focus,fieldset[disabled] .caldera-grid .btn-success:active,fieldset[disabled] .caldera-grid .btn-success:focus,fieldset[disabled] .caldera-grid .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success .badge{color:#5cb85c;background-color:#fff}.caldera-grid .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info.active,.caldera-grid .btn-info.focus,.caldera-grid .btn-info:active,.caldera-grid .btn-info:focus,.caldera-grid .btn-info:hover,.open>.dropdown-toggle.caldera-grid .btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.caldera-grid .btn-info.disabled,.caldera-grid .btn-info.disabled.active,.caldera-grid .btn-info.disabled.focus,.caldera-grid .btn-info.disabled:active,.caldera-grid .btn-info.disabled:focus,.caldera-grid .btn-info.disabled:hover,.caldera-grid .btn-info[disabled],.caldera-grid .btn-info[disabled].active,.caldera-grid .btn-info[disabled].focus,.caldera-grid .btn-info[disabled]:active,.caldera-grid .btn-info[disabled]:focus,.caldera-grid .btn-info[disabled]:hover,fieldset[disabled] .caldera-grid .btn-info,fieldset[disabled] .caldera-grid .btn-info.active,fieldset[disabled] .caldera-grid .btn-info.focus,fieldset[disabled] .caldera-grid .btn-info:active,fieldset[disabled] .caldera-grid .btn-info:focus,fieldset[disabled] .caldera-grid .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info .badge{color:#5bc0de;background-color:#fff}.caldera-grid .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning.active,.caldera-grid .btn-warning.focus,.caldera-grid .btn-warning:active,.caldera-grid .btn-warning:focus,.caldera-grid .btn-warning:hover,.open>.dropdown-toggle.caldera-grid .btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.caldera-grid .btn-warning.disabled,.caldera-grid .btn-warning.disabled.active,.caldera-grid .btn-warning.disabled.focus,.caldera-grid .btn-warning.disabled:active,.caldera-grid .btn-warning.disabled:focus,.caldera-grid .btn-warning.disabled:hover,.caldera-grid .btn-warning[disabled],.caldera-grid .btn-warning[disabled].active,.caldera-grid .btn-warning[disabled].focus,.caldera-grid .btn-warning[disabled]:active,.caldera-grid .btn-warning[disabled]:focus,.caldera-grid .btn-warning[disabled]:hover,fieldset[disabled] .caldera-grid .btn-warning,fieldset[disabled] .caldera-grid .btn-warning.active,fieldset[disabled] .caldera-grid .btn-warning.focus,fieldset[disabled] .caldera-grid .btn-warning:active,fieldset[disabled] .caldera-grid .btn-warning:focus,fieldset[disabled] .caldera-grid .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning .badge{color:#f0ad4e;background-color:#fff}.caldera-grid .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger.active,.caldera-grid .btn-danger.focus,.caldera-grid .btn-danger:active,.caldera-grid .btn-danger:focus,.caldera-grid .btn-danger:hover,.open>.dropdown-toggle.caldera-grid .btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.caldera-grid .btn-danger.disabled,.caldera-grid .btn-danger.disabled.active,.caldera-grid .btn-danger.disabled.focus,.caldera-grid .btn-danger.disabled:active,.caldera-grid .btn-danger.disabled:focus,.caldera-grid .btn-danger.disabled:hover,.caldera-grid .btn-danger[disabled],.caldera-grid .btn-danger[disabled].active,.caldera-grid .btn-danger[disabled].focus,.caldera-grid .btn-danger[disabled]:active,.caldera-grid .btn-danger[disabled]:focus,.caldera-grid .btn-danger[disabled]:hover,fieldset[disabled] .caldera-grid .btn-danger,fieldset[disabled] .caldera-grid .btn-danger.active,fieldset[disabled] .caldera-grid .btn-danger.focus,fieldset[disabled] .caldera-grid .btn-danger:active,fieldset[disabled] .caldera-grid .btn-danger:focus,fieldset[disabled] .caldera-grid .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger .badge{color:#d9534f;background-color:#fff}.caldera-grid .btn-link{color:#337ab7;font-weight:400;border-radius:0}.caldera-grid .btn-link,.caldera-grid .btn-link.active,.caldera-grid .btn-link:active,.caldera-grid .btn-link[disabled],fieldset[disabled] .caldera-grid .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-link,.caldera-grid .btn-link:active,.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{border-color:transparent}.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.caldera-grid .btn-link[disabled]:focus,.caldera-grid .btn-link[disabled]:hover,fieldset[disabled] .caldera-grid .btn-link:focus,fieldset[disabled] .caldera-grid .btn-link:hover{color:#777;text-decoration:none}.caldera-grid .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}.caldera-grid .btn-sm,.caldera-grid .btn-xs{font-size:12px;line-height:1.5;border-radius:1px}.caldera-grid .btn-sm{padding:5px 10px}.caldera-grid .btn-xs{padding:1px 5px}.caldera-grid .btn-block{display:block;width:100%}.caldera-grid .btn-block+.btn-block{margin-top:5px}.caldera-grid input[type=button].btn-block,.caldera-grid input[type=reset].btn-block,.caldera-grid input[type=submit].btn-block{width:100%}.caldera-grid textarea.form-control{padding-right:4px;height:auto}.caldera-grid .breadcrumb{padding:6px 12px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.caldera-grid .breadcrumb>li{display:inline-block;margin:0}.caldera-grid .breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.caldera-grid .breadcrumb>.active,.caldera-grid .breadcrumb>.active>a{color:#777}.breadcrumb>li.active.error>a,.breadcrumb>li.error>a{color:red}.caldera-grid .cf-credit-card{padding-left:42px;background-image:url(../images/credit-card.svg);background-repeat:no-repeat!important;background-position-x:4px!important;background-position-y:3px!important}.caldera-grid .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}p.caldera-forms-consent-field-agreement{display:inline}
4
  @font-face{font-family:cf-raty;src:url(fonts/cf-raty.eot?40481674);src:url(fonts/cf-raty.eot?40481674#iefix) format('embedded-opentype'),url(fonts/cf-raty.woff?40481674) format('woff'),url(fonts/cf-raty.ttf?40481674) format('truetype'),url(fonts/cf-raty.svg?40481674#cf-raty) format('svg');font-weight:400;font-style:normal}[class*=" raty-"]:before,[class^=raty-]:before{font-family:cf-raty;font-style:normal;font-weight:400;speak:none;font-size:2em;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.raty-heart-on:before{content:'\e800'}.raty-heart-off:before{content:'\e801'}.raty-star-on:before{content:'\e802'}.raty-star-off:before{content:'\e803'}.raty-circle-on:before{content:'\e804'}.raty-circle-off:before{content:'\e805'}.raty-dot-off:before{content:'\e806'}.raty-dot-on:before{content:'\e807'}.raty-face-off:before{content:'\e808'}.raty-face-on:before{content:'\e809'}.raty-cancel-off:before{content:'\e80a'}.raty-cancel-on:before{content:'\e80b'}.calculation-group{background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px;margin:6px 0}.preview-color-selector{background:#F0F0F0;border:1px solid #E2E2E2;display:inline;margin-left:-1px;padding:3px 12px;box-shadow:0 0 0 2px #fff inset}.miniColors-trigger{border:1px solid #999;-mz-border-radius:0 1px 1px 0;-webkit-border-radius:0 1px 1px 0;display:inline-block;height:24px;margin:0 0 -8px -1px;width:30px}.miniColors-selector{background:#FFF;border:1px solid #999;-moz-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);-webkit-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);box-shadow:0 3px 0 -1px rgba(0,0,0,.05);height:162px;padding:5px;position:absolute;width:187px;z-index:999999;margin-top:-1px}.miniColors-selector.black{background:#000;border-color:#000}.miniColors-colors{position:absolute;top:5px;left:5px;width:150px;height:150px;background:url(minicolor-colors.png) right no-repeat;cursor:crosshair}.miniColors-hues{position:absolute;top:5px;left:160px;width:20px;height:150px;background:url(minicolor-colors.png) left no-repeat;cursor:crosshair}.miniColors-colorPicker{position:absolute;width:9px;height:9px;border:1px solid #fff;-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px}.miniColors-colorPicker-inner{position:absolute;top:0;left:0;width:7px;height:7px;border:1px solid #000;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.miniColors-huePicker{position:absolute;left:-3px;width:24px;height:1px;border:1px solid #fff;border-radius:2px;background:#000}.cf-color-picker .form-control::-moz-placeholder{color:#999;opacity:1}.cf-color-picker .form-control:-ms-input-placeholder{color:#999}.cf-color-picker .form-control::-webkit-input-placeholder{color:#999}.cf-color-picker .form-control[disabled],.cf-color-picker .form-control[readonly],.cf-color-picker fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}.cf-color-picker .form-group{margin-bottom:15px}.cf-color-picker .input-group{position:relative;display:table;border-collapse:separate}.cf-color-picker .input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.cf-color-picker .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.cf-color-picker .input-group-lg>.form-control,.cf-color-picker .input-group-lg>.input-group-addon,.cf-color-picker .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-color-picker .input-group-sm>.form-control,.cf-color-picker .input-group-sm>.input-group-addon,.cf-color-picker .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-color-picker .input-group .form-control,.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{display:table-cell}.cf-color-picker .input-group .form-control:not(:first-child):not(:last-child),.cf-color-picker .input-group-addon:not(:first-child):not(:last-child),.cf-color-picker .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.cf-color-picker .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.cf-color-picker .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.cf-color-picker .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.cf-color-picker .input-group .form-control:first-child,.cf-color-picker .input-group-addon:first-child,.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group>.btn,.cf-color-picker .input-group-btn:first-child>.dropdown-toggle,.cf-color-picker .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.cf-color-picker .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-color-picker .input-group-addon:first-child{border-right:0}.cf-color-picker .input-group .form-control:last-child,.cf-color-picker .input-group-addon:last-child,.cf-color-picker .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.cf-color-picker .input-group-btn:first-child>.btn:not(:first-child),.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group>.btn,.cf-color-picker .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.cf-color-picker .input-group-addon:last-child{border-left:0}.cf-color-picker .input-group-btn{position:relative;font-size:0;white-space:nowrap}.cf-color-picker .input-group-btn>.btn{position:relative}.cf-color-picker .input-group-btn>.btn+.btn{margin-left:-1px}.cf-color-picker .input-group-btn>.btn:active,.cf-color-picker .input-group-btn>.btn:focus,.cf-color-picker .input-group-btn>.btn:hover{z-index:2}.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group{margin-right:-1px}.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group{margin-left:-1px}.cf-color-picker .clearfix:after,.cf-color-picker .clearfix:before,.cf-color-picker .form-horizontal .form-group:after,.cf-color-picker .form-horizontal .form-group:before{content:" ";display:table}.cf-color-picker .clearfix:after,.cf-color-picker .form-horizontal .form-group:after{clear:both}.cf-color-picker .center-block{display:block;margin-left:auto;margin-right:auto}.cf-color-picker .pull-right{float:right!important}.cf-color-picker .pull-left{float:left!important}.cf-color-picker .hide{display:none!important}.cf-color-picker .show{display:block!important}.cf-color-picker .invisible{visibility:hidden}.cf-color-picker .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.cf-color-picker .hidden{display:none!important;visibility:hidden!important}.cf-color-picker .affix{position:fixed}@-ms-viewport{width:device-width}.cf-color-picker .visible-lg,.cf-color-picker .visible-md,.cf-color-picker .visible-print,.cf-color-picker .visible-sm,.cf-color-picker .visible-xs{display:none!important}@media (max-width:767px){.cf-color-picker .visible-xs{display:block!important}.cf-color-picker table.visible-xs{display:table}.cf-color-picker tr.visible-xs{display:table-row!important}.cf-color-picker td.visible-xs,.cf-color-picker th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .visible-sm{display:block!important}.cf-color-picker table.visible-sm{display:table}.cf-color-picker tr.visible-sm{display:table-row!important}.cf-color-picker td.visible-sm,.cf-color-picker th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .visible-md{display:block!important}.cf-color-picker table.visible-md{display:table}.cf-color-picker tr.visible-md{display:table-row!important}.cf-color-picker td.visible-md,.cf-color-picker th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-color-picker .visible-lg{display:block!important}.cf-color-picker table.visible-lg{display:table}.cf-color-picker tr.visible-lg{display:table-row!important}.cf-color-picker td.visible-lg,.cf-color-picker th.visible-lg{display:table-cell!important}}@media (max-width:767px){.cf-color-picker .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .hidden-md{display:none!important}}@media (min-width:1200px){.cf-color-picker .hidden-lg{display:none!important}}@media print{.cf-color-picker .visible-print{display:block!important}.cf-color-picker table.visible-print{display:table}.cf-color-picker tr.visible-print{display:table-row!important}.cf-color-picker td.visible-print,.cf-color-picker th.visible-print{display:table-cell!important}}@media print{.cf-color-picker .hidden-print{display:none!important}}.cf-color-picker .input-group{max-width:120px}
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 */.caldera-grid body{margin:0}.caldera-grid .form-group{margin-bottom:1em}@media (min-width:768px){.caldera-grid .container{width:750px}}@media (min-width:992px){.caldera-grid .container{width:970px}}@media (min-width:1200px){.caldera-grid .container{width:1170px}}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background:0 0;text-decoration:none}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0;vertical-align:middle}.caldera-grid svg:not(:root){overflow:hidden}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid select{text-transform:none}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}.caldera-grid legend{border:0;padding:0}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}.caldera-grid *,.caldera-grid :after,.caldera-grid :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.caldera-grid body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.caldera-grid button,.caldera-grid input,.caldera-grid select,.caldera-grid textarea{font-family:inherit;font-size:inherit;line-height:inherit}.caldera-grid a:focus,.caldera-grid a:hover{color:#2a6496;text-decoration:underline}.caldera-grid a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid figure{margin:0}.caldera-grid .img-responsive{display:block;max-width:100%;height:auto}.caldera-grid .img-rounded{border-radius:6px}.caldera-grid .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.caldera-grid .img-circle{border-radius:50%}.caldera-grid hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.caldera-grid .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.caldera-grid .container,.caldera-grid .container-fluid{margin-right:auto;margin-left:auto;padding-left:7.5px;padding-right:7.5px}@media (min-width:768px){.caldera-grid .container{width:735px}}@media (min-width:992px){.caldera-grid .container{width:955px}}@media (min-width:1200px){.caldera-grid .container{width:1155px}}.caldera-grid .row{margin-left:-7.5px;margin-right:-7.5px;max-width:100%}.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9,.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9,.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9,.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{position:relative;padding-left:7.5px;padding-right:7.5px}.caldera-grid .col-xs-1,.caldera-grid .col-xs-10,.caldera-grid .col-xs-11,.caldera-grid .col-xs-12,.caldera-grid .col-xs-2,.caldera-grid .col-xs-3,.caldera-grid .col-xs-4,.caldera-grid .col-xs-5,.caldera-grid .col-xs-6,.caldera-grid .col-xs-7,.caldera-grid .col-xs-8,.caldera-grid .col-xs-9{float:left}.caldera-grid .col-xs-12{width:100%}.caldera-grid .col-xs-11{width:91.66666667%}.caldera-grid .col-xs-10{width:83.33333333%}.caldera-grid .col-xs-9{width:75%}.caldera-grid .col-xs-8{width:66.66666667%}.caldera-grid .col-xs-7{width:58.33333333%}.caldera-grid .col-xs-6{width:50%}.caldera-grid .col-xs-5{width:41.66666667%}.caldera-grid .col-xs-4{width:33.33333333%}.caldera-grid .col-xs-3{width:25%}.caldera-grid .col-xs-2{width:16.66666667%}.caldera-grid .col-xs-1{width:8.33333333%}.caldera-grid .col-xs-pull-12{right:100%}.caldera-grid .col-xs-pull-11{right:91.66666667%}.caldera-grid .col-xs-pull-10{right:83.33333333%}.caldera-grid .col-xs-pull-9{right:75%}.caldera-grid .col-xs-pull-8{right:66.66666667%}.caldera-grid .col-xs-pull-7{right:58.33333333%}.caldera-grid .col-xs-pull-6{right:50%}.caldera-grid .col-xs-pull-5{right:41.66666667%}.caldera-grid .col-xs-pull-4{right:33.33333333%}.caldera-grid .col-xs-pull-3{right:25%}.caldera-grid .col-xs-pull-2{right:16.66666667%}.caldera-grid .col-xs-pull-1{right:8.33333333%}.caldera-grid .col-xs-pull-0{right:0}.caldera-grid .col-xs-push-12{left:100%}.caldera-grid .col-xs-push-11{left:91.66666667%}.caldera-grid .col-xs-push-10{left:83.33333333%}.caldera-grid .col-xs-push-9{left:75%}.caldera-grid .col-xs-push-8{left:66.66666667%}.caldera-grid .col-xs-push-7{left:58.33333333%}.caldera-grid .col-xs-push-6{left:50%}.caldera-grid .col-xs-push-5{left:41.66666667%}.caldera-grid .col-xs-push-4{left:33.33333333%}.caldera-grid .col-xs-push-3{left:25%}.caldera-grid .col-xs-push-2{left:16.66666667%}.caldera-grid .col-xs-push-1{left:8.33333333%}.caldera-grid .col-xs-push-0{left:0}.caldera-grid .col-xs-offset-12{margin-left:100%}.caldera-grid .col-xs-offset-11{margin-left:91.66666667%}.caldera-grid .col-xs-offset-10{margin-left:83.33333333%}.caldera-grid .col-xs-offset-9{margin-left:75%}.caldera-grid .col-xs-offset-8{margin-left:66.66666667%}.caldera-grid .col-xs-offset-7{margin-left:58.33333333%}.caldera-grid .col-xs-offset-6{margin-left:50%}.caldera-grid .col-xs-offset-5{margin-left:41.66666667%}.caldera-grid .col-xs-offset-4{margin-left:33.33333333%}.caldera-grid .col-xs-offset-3{margin-left:25%}.caldera-grid .col-xs-offset-2{margin-left:16.66666667%}.caldera-grid .col-xs-offset-1{margin-left:8.33333333%}.caldera-grid .col-xs-offset-0{margin-left:0}@media (min-width:768px){.caldera-grid .col-sm-1,.caldera-grid .col-sm-10,.caldera-grid .col-sm-11,.caldera-grid .col-sm-12,.caldera-grid .col-sm-2,.caldera-grid .col-sm-3,.caldera-grid .col-sm-4,.caldera-grid .col-sm-5,.caldera-grid .col-sm-6,.caldera-grid .col-sm-7,.caldera-grid .col-sm-8,.caldera-grid .col-sm-9{float:left}.caldera-grid .col-sm-12{width:100%}.caldera-grid .col-sm-11{width:91.66666667%}.caldera-grid .col-sm-10{width:83.33333333%}.caldera-grid .col-sm-9{width:75%}.caldera-grid .col-sm-8{width:66.66666667%}.caldera-grid .col-sm-7{width:58.33333333%}.caldera-grid .col-sm-6{width:50%}.caldera-grid .col-sm-5{width:41.66666667%}.caldera-grid .col-sm-4{width:33.33333333%}.caldera-grid .col-sm-3{width:25%}.caldera-grid .col-sm-2{width:16.66666667%}.caldera-grid .col-sm-1{width:8.33333333%}.caldera-grid .col-sm-pull-12{right:100%}.caldera-grid .col-sm-pull-11{right:91.66666667%}.caldera-grid .col-sm-pull-10{right:83.33333333%}.caldera-grid .col-sm-pull-9{right:75%}.caldera-grid .col-sm-pull-8{right:66.66666667%}.caldera-grid .col-sm-pull-7{right:58.33333333%}.caldera-grid .col-sm-pull-6{right:50%}.caldera-grid .col-sm-pull-5{right:41.66666667%}.caldera-grid .col-sm-pull-4{right:33.33333333%}.caldera-grid .col-sm-pull-3{right:25%}.caldera-grid .col-sm-pull-2{right:16.66666667%}.caldera-grid .col-sm-pull-1{right:8.33333333%}.caldera-grid .col-sm-pull-0{right:0}.caldera-grid .col-sm-push-12{left:100%}.caldera-grid .col-sm-push-11{left:91.66666667%}.caldera-grid .col-sm-push-10{left:83.33333333%}.caldera-grid .col-sm-push-9{left:75%}.caldera-grid .col-sm-push-8{left:66.66666667%}.caldera-grid .col-sm-push-7{left:58.33333333%}.caldera-grid .col-sm-push-6{left:50%}.caldera-grid .col-sm-push-5{left:41.66666667%}.caldera-grid .col-sm-push-4{left:33.33333333%}.caldera-grid .col-sm-push-3{left:25%}.caldera-grid .col-sm-push-2{left:16.66666667%}.caldera-grid .col-sm-push-1{left:8.33333333%}.caldera-grid .col-sm-push-0{left:0}.caldera-grid .col-sm-offset-12{margin-left:100%}.caldera-grid .col-sm-offset-11{margin-left:91.66666667%}.caldera-grid .col-sm-offset-10{margin-left:83.33333333%}.caldera-grid .col-sm-offset-9{margin-left:75%}.caldera-grid .col-sm-offset-8{margin-left:66.66666667%}.caldera-grid .col-sm-offset-7{margin-left:58.33333333%}.caldera-grid .col-sm-offset-6{margin-left:50%}.caldera-grid .col-sm-offset-5{margin-left:41.66666667%}.caldera-grid .col-sm-offset-4{margin-left:33.33333333%}.caldera-grid .col-sm-offset-3{margin-left:25%}.caldera-grid .col-sm-offset-2{margin-left:16.66666667%}.caldera-grid .col-sm-offset-1{margin-left:8.33333333%}.caldera-grid .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.caldera-grid .col-md-1,.caldera-grid .col-md-10,.caldera-grid .col-md-11,.caldera-grid .col-md-12,.caldera-grid .col-md-2,.caldera-grid .col-md-3,.caldera-grid .col-md-4,.caldera-grid .col-md-5,.caldera-grid .col-md-6,.caldera-grid .col-md-7,.caldera-grid .col-md-8,.caldera-grid .col-md-9{float:left}.caldera-grid .col-md-12{width:100%}.caldera-grid .col-md-11{width:91.66666667%}.caldera-grid .col-md-10{width:83.33333333%}.caldera-grid .col-md-9{width:75%}.caldera-grid .col-md-8{width:66.66666667%}.caldera-grid .col-md-7{width:58.33333333%}.caldera-grid .col-md-6{width:50%}.caldera-grid .col-md-5{width:41.66666667%}.caldera-grid .col-md-4{width:33.33333333%}.caldera-grid .col-md-3{width:25%}.caldera-grid .col-md-2{width:16.66666667%}.caldera-grid .col-md-1{width:8.33333333%}.caldera-grid .col-md-pull-12{right:100%}.caldera-grid .col-md-pull-11{right:91.66666667%}.caldera-grid .col-md-pull-10{right:83.33333333%}.caldera-grid .col-md-pull-9{right:75%}.caldera-grid .col-md-pull-8{right:66.66666667%}.caldera-grid .col-md-pull-7{right:58.33333333%}.caldera-grid .col-md-pull-6{right:50%}.caldera-grid .col-md-pull-5{right:41.66666667%}.caldera-grid .col-md-pull-4{right:33.33333333%}.caldera-grid .col-md-pull-3{right:25%}.caldera-grid .col-md-pull-2{right:16.66666667%}.caldera-grid .col-md-pull-1{right:8.33333333%}.caldera-grid .col-md-pull-0{right:0}.caldera-grid .col-md-push-12{left:100%}.caldera-grid .col-md-push-11{left:91.66666667%}.caldera-grid .col-md-push-10{left:83.33333333%}.caldera-grid .col-md-push-9{left:75%}.caldera-grid .col-md-push-8{left:66.66666667%}.caldera-grid .col-md-push-7{left:58.33333333%}.caldera-grid .col-md-push-6{left:50%}.caldera-grid .col-md-push-5{left:41.66666667%}.caldera-grid .col-md-push-4{left:33.33333333%}.caldera-grid .col-md-push-3{left:25%}.caldera-grid .col-md-push-2{left:16.66666667%}.caldera-grid .col-md-push-1{left:8.33333333%}.caldera-grid .col-md-push-0{left:0}.caldera-grid .col-md-offset-12{margin-left:100%}.caldera-grid .col-md-offset-11{margin-left:91.66666667%}.caldera-grid .col-md-offset-10{margin-left:83.33333333%}.caldera-grid .col-md-offset-9{margin-left:75%}.caldera-grid .col-md-offset-8{margin-left:66.66666667%}.caldera-grid .col-md-offset-7{margin-left:58.33333333%}.caldera-grid .col-md-offset-6{margin-left:50%}.caldera-grid .col-md-offset-5{margin-left:41.66666667%}.caldera-grid .col-md-offset-4{margin-left:33.33333333%}.caldera-grid .col-md-offset-3{margin-left:25%}.caldera-grid .col-md-offset-2{margin-left:16.66666667%}.caldera-grid .col-md-offset-1{margin-left:8.33333333%}.caldera-grid .col-md-offset-0{margin-left:0}}@-ms-viewport{width:device-width}@media (min-width:1200px){.caldera-grid .col-lg-1,.caldera-grid .col-lg-10,.caldera-grid .col-lg-11,.caldera-grid .col-lg-12,.caldera-grid .col-lg-2,.caldera-grid .col-lg-3,.caldera-grid .col-lg-4,.caldera-grid .col-lg-5,.caldera-grid .col-lg-6,.caldera-grid .col-lg-7,.caldera-grid .col-lg-8,.caldera-grid .col-lg-9{float:left}.caldera-grid .col-lg-12{width:100%}.caldera-grid .col-lg-11{width:91.66666667%}.caldera-grid .col-lg-10{width:83.33333333%}.caldera-grid .col-lg-9{width:75%}.caldera-grid .col-lg-8{width:66.66666667%}.caldera-grid .col-lg-7{width:58.33333333%}.caldera-grid .col-lg-6{width:50%}.caldera-grid .col-lg-5{width:41.66666667%}.caldera-grid .col-lg-4{width:33.33333333%}.caldera-grid .col-lg-3{width:25%}.caldera-grid .col-lg-2{width:16.66666667%}.caldera-grid .col-lg-1{width:8.33333333%}.caldera-grid .col-lg-pull-12{right:100%}.caldera-grid .col-lg-pull-11{right:91.66666667%}.caldera-grid .col-lg-pull-10{right:83.33333333%}.caldera-grid .col-lg-pull-9{right:75%}.caldera-grid .col-lg-pull-8{right:66.66666667%}.caldera-grid .col-lg-pull-7{right:58.33333333%}.caldera-grid .col-lg-pull-6{right:50%}.caldera-grid .col-lg-pull-5{right:41.66666667%}.caldera-grid .col-lg-pull-4{right:33.33333333%}.caldera-grid .col-lg-pull-3{right:25%}.caldera-grid .col-lg-pull-2{right:16.66666667%}.caldera-grid .col-lg-pull-1{right:8.33333333%}.caldera-grid .col-lg-pull-0{right:0}.caldera-grid .col-lg-push-12{left:100%}.caldera-grid .col-lg-push-11{left:91.66666667%}.caldera-grid .col-lg-push-10{left:83.33333333%}.caldera-grid .col-lg-push-9{left:75%}.caldera-grid .col-lg-push-8{left:66.66666667%}.caldera-grid .col-lg-push-7{left:58.33333333%}.caldera-grid .col-lg-push-6{left:50%}.caldera-grid .col-lg-push-5{left:41.66666667%}.caldera-grid .col-lg-push-4{left:33.33333333%}.caldera-grid .col-lg-push-3{left:25%}.caldera-grid .col-lg-push-2{left:16.66666667%}.caldera-grid .col-lg-push-1{left:8.33333333%}.caldera-grid .col-lg-push-0{left:0}.caldera-grid .col-lg-offset-12{margin-left:100%}.caldera-grid .col-lg-offset-11{margin-left:91.66666667%}.caldera-grid .col-lg-offset-10{margin-left:83.33333333%}.caldera-grid .col-lg-offset-9{margin-left:75%}.caldera-grid .col-lg-offset-8{margin-left:66.66666667%}.caldera-grid .col-lg-offset-7{margin-left:58.33333333%}.caldera-grid .col-lg-offset-6{margin-left:50%}.caldera-grid .col-lg-offset-5{margin-left:41.66666667%}.caldera-grid .col-lg-offset-4{margin-left:33.33333333%}.caldera-grid .col-lg-offset-3{margin-left:25%}.caldera-grid .col-lg-offset-2{margin-left:16.66666667%}.caldera-grid .col-lg-offset-1{margin-left:8.33333333%}.caldera-grid .col-lg-offset-0{margin-left:0}}.caldera-grid .clearfix:after,.caldera-grid .clearfix:before,.caldera-grid .container-fluid:after,.caldera-grid .container-fluid:before,.caldera-grid .container:after,.caldera-grid .container:before,.caldera-grid .row:after,.caldera-grid .row:before{content:" ";display:table}.caldera-grid .clearfix:after,.caldera-grid .container-fluid:after,.caldera-grid .container:after,.caldera-grid .row:after{clear:both}.caldera-grid .center-block{display:block;margin-left:auto;margin-right:auto}.caldera-grid .pull-right{float:right!important}.caldera-grid .pull-left{float:left!important}.caldera-grid .hide{display:none!important}.caldera-grid .show{display:block!important}.caldera-grid .hidden,.caldera-grid .visible-lg,.caldera-grid .visible-md,.caldera-grid .visible-sm,.caldera-grid .visible-xs{display:none!important}.caldera-grid .invisible{visibility:hidden}.caldera-grid .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.caldera-grid .hidden{visibility:hidden!important}.caldera-grid .affix{position:fixed}@-ms-viewport{width:device-width}.caldera-grid .form-control{width:100%}@media (max-width:767px){.caldera-grid .visible-xs{display:block!important}.caldera-grid table.visible-xs{display:table}.caldera-grid tr.visible-xs{display:table-row!important}.caldera-grid td.visible-xs,.caldera-grid th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .visible-sm{display:block!important}.caldera-grid table.visible-sm{display:table}.caldera-grid tr.visible-sm{display:table-row!important}.caldera-grid td.visible-sm,.caldera-grid th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .visible-md{display:block!important}.caldera-grid table.visible-md{display:table}.caldera-grid tr.visible-md{display:table-row!important}.caldera-grid td.visible-md,.caldera-grid th.visible-md{display:table-cell!important}}@media (min-width:1200px){.caldera-grid .visible-lg{display:block!important}.caldera-grid table.visible-lg{display:table}.caldera-grid tr.visible-lg{display:table-row!important}.caldera-grid td.visible-lg,.caldera-grid th.visible-lg{display:table-cell!important}.caldera-grid .hidden-lg{display:none!important}}@media (max-width:767px){.caldera-grid .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.caldera-grid .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.caldera-grid .hidden-md{display:none!important}}.caldera-grid .visible-print{display:none!important}@media print{.caldera-grid .visible-print{display:block!important}.caldera-grid table.visible-print{display:table}.caldera-grid tr.visible-print{display:table-row!important}.caldera-grid td.visible-print,.caldera-grid th.visible-print{display:table-cell!important}.caldera-grid .hidden-print{display:none!important}}input.parsley-success,select.parsley-success,textarea.parsley-success{color:#468847;background-color:#DFF0D8;border:1px solid #D6E9C6}input.parsley-error,select.parsley-error,textarea.parsley-error{color:#B94A48;background-color:#F2DEDE;border:1px solid #EED3D7}.parsley-errors-list{margin:2px 0 3px;padding:0;list-style-type:none;font-size:.9em;line-height:.9em;opacity:0;transition:all .3s ease-in;-o-transition:all .3s ease-in;-moz-transition:all .3s ease-in;-webkit-transition:all .3s ease-in}.parsley-errors-list.filled{opacity:1}
2
  .caldera-grid .alert{padding:8px;margin-bottom:18px;border-radius:2px}.caldera-grid .alert .alert-link{font-weight:700}.caldera-grid .alert-dismissable{padding-right:28px}.caldera-grid .alert-success{background-color:#dff0d8;border-color:#a3d48e;color:#3c763d}.caldera-grid .alert-success hr{border-top-color:#93cd7c}.caldera-grid .alert-success .alert-link{color:#2b542c}.caldera-grid .alert-info{background-color:#d9edf7;border-color:#85c5e5;color:#31708f}.caldera-grid .alert-info hr{border-top-color:#70bbe1}.caldera-grid .alert-info .alert-link{color:#245269}.caldera-grid .alert-warning{background-color:#f9edbe;border-color:#f0c36d;color:#333}.caldera-grid .alert-warning hr{border-top-color:#eeb956}.caldera-grid .alert-warning .alert-link{color:#1a1a1a}.caldera-grid .alert-danger,.caldera-grid .alert-error{background-color:#f2dede;border-color:#d59595;color:#a94442}.caldera-grid .alert-danger hr,.caldera-grid .alert-error hr{border-top-color:#ce8383}.caldera-grid .alert-danger .alert-link,.caldera-grid .alert-error .alert-link{color:#843534}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline{color:#dd4b39}.caldera-grid .alert-danger,.caldera-grid .alert-error,.caldera-grid .alert-info,.caldera-grid .alert-success,.caldera-grid .alert-warning{text-shadow:0 1px 0 rgba(255,255,255,.5)}.caldera-grid .has-error .form-control{border-color:#dd4b39;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .has-error .input-group-addon{color:#dd4b39;border-color:#dd4b39;background-color:#f2dede}.caldera-grid .has-error .form-control:focus,.caldera-grid .has-error .form-control:hover{border-color:#dd4b39}.caldera-grid.cf_processing{background:url(../images/loading.gif) center center/30px auto no-repeat rgba(0,0,0,0)}.caldera-grid.cf_processing>*{opacity:.5}
3
  .caldera-grid html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.caldera-grid body{margin:0}.caldera-grid article,.caldera-grid aside,.caldera-grid details,.caldera-grid figcaption,.caldera-grid figure,.caldera-grid footer,.caldera-grid header,.caldera-grid hgroup,.caldera-grid main,.caldera-grid menu,.caldera-grid nav,.caldera-grid section,.caldera-grid summary{display:block}.caldera-grid audio,.caldera-grid canvas,.caldera-grid progress,.caldera-grid video{display:inline-block;vertical-align:baseline}.caldera-grid audio:not([controls]){display:none;height:0}.caldera-grid [hidden],.caldera-grid template{display:none}.caldera-grid a{background-color:transparent}.caldera-grid a:active,.caldera-grid a:hover{outline:0}.caldera-grid abbr[title]{border-bottom:1px dotted}.caldera-grid b,.caldera-grid strong{font-weight:700}.caldera-grid dfn{font-style:italic}.caldera-grid h1{font-size:2em;margin:.67em 0}.caldera-grid mark{background:#ff0;color:#000}.caldera-grid small{font-size:80%}.caldera-grid sub,.caldera-grid sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.caldera-grid sup{top:-.5em}.caldera-grid sub{bottom:-.25em}.caldera-grid img{border:0}.caldera-grid svg:not(:root){overflow:hidden}.caldera-grid figure{margin:1em 40px}.caldera-grid hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}.caldera-grid pre{overflow:auto}.caldera-grid code,.caldera-grid kbd,.caldera-grid pre,.caldera-grid samp{font-family:monospace,monospace;font-size:1em}.caldera-grid button,.caldera-grid input,.caldera-grid optgroup,.caldera-grid select,.caldera-grid textarea{font:inherit;margin:0}.caldera-grid button{overflow:visible}.caldera-grid button,.caldera-grid select{text-transform:none}.caldera-grid button,.caldera-grid html input[type=button],.caldera-grid input[type=reset],.caldera-grid input[type=submit]{-webkit-appearance:button;cursor:pointer}.caldera-grid button[disabled],.caldera-grid html input[disabled]{cursor:default}.caldera-grid button::-moz-focus-inner,.caldera-grid input::-moz-focus-inner{border:0;padding:0}.caldera-grid input{line-height:normal}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{box-sizing:border-box;padding:0}.caldera-grid input[type=number]::-webkit-inner-spin-button,.caldera-grid input[type=number]::-webkit-outer-spin-button{height:auto}.caldera-grid input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.caldera-grid input[type=search]::-webkit-search-cancel-button,.caldera-grid input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.caldera-grid textarea{overflow:auto}.caldera-grid optgroup{font-weight:700}.caldera-grid table{border-collapse:collapse;border-spacing:0}.caldera-grid td,.caldera-grid th{padding:0}@media print{.caldera-grid *,.caldera-grid :after,.caldera-grid :before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}.caldera-grid a,.caldera-grid a:visited{text-decoration:underline}.caldera-grid a[href]:after{content:" (" attr(href) ")"}.caldera-grid abbr[title]:after{content:" (" attr(title) ")"}.caldera-grid a[href^="#"]:after,.caldera-grid a[href^="javascript:"]:after{content:""}.caldera-grid blockquote,.caldera-grid pre{border:1px solid #999;page-break-inside:avoid}.caldera-grid thead{display:table-header-group}.caldera-grid img,.caldera-grid tr{page-break-inside:avoid}.caldera-grid img{max-width:100%!important}.caldera-grid h2,.caldera-grid h3,.caldera-grid p{orphans:3;widows:3}.caldera-grid h2,.caldera-grid h3{page-break-after:avoid}.caldera-grid select{background:#fff!important}.caldera-grid .navbar{display:none}.caldera-grid .btn>.caret,.caldera-grid .dropup>.btn>.caret{border-top-color:#000!important}.caldera-grid .label{border:1px solid #000}.caldera-grid .table{border-collapse:collapse!important}.caldera-grid .table td,.caldera-grid .table th{background-color:#fff!important}.caldera-grid .table-bordered td,.caldera-grid .table-bordered th{border:1px solid #ddd!important}}.caldera-grid .btn,.caldera-grid .btn-danger.active,.caldera-grid .btn-danger:active,.caldera-grid .btn-default.active,.caldera-grid .btn-default:active,.caldera-grid .btn-info.active,.caldera-grid .btn-info:active,.caldera-grid .btn-primary.active,.caldera-grid .btn-primary:active,.caldera-grid .btn-success.active,.caldera-grid .btn-success:active,.caldera-grid .btn-warning.active,.caldera-grid .btn-warning:active,.caldera-grid .form-control,.open>.dropdown-toggle.caldera-grid .btn-danger,.open>.dropdown-toggle.caldera-grid .btn-default,.open>.dropdown-toggle.caldera-grid .btn-info,.open>.dropdown-toggle.caldera-grid .btn-primary,.open>.dropdown-toggle.caldera-grid .btn-success,.open>.dropdown-toggle.caldera-grid .btn-warning{background-image:none}.caldera-grid fieldset{padding:0;margin:0;border:0;min-width:0}.caldera-grid legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.caldera-grid label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.caldera-grid input[type=checkbox],.caldera-grid input[type=radio]{margin:0;line-height:normal}.caldera-grid .form-control,.caldera-grid output{font-size:14px;line-height:1.42857143;color:#555;display:block}.caldera-grid input[type=file]{display:block}.caldera-grid input[type=range]{display:block;width:100%}.caldera-grid select[multiple],.caldera-grid select[size]{height:auto}.caldera-grid input[type=checkbox]:focus,.caldera-grid input[type=file]:focus,.caldera-grid input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid input[type=checkbox]{-webkit-appearance:checkbox}.caldera-grid input[type=radio]{-webkit-appearance:radio}.caldera-grid output{padding-top:7px}.caldera-grid .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.caldera-grid .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.caldera-grid .form-control::-moz-placeholder{color:#999;opacity:1}.caldera-grid .form-control:-ms-input-placeholder{color:#999}.caldera-grid .form-control::-webkit-input-placeholder{color:#999}.caldera-grid .has-success .checkbox,.caldera-grid .has-success .checkbox-inline,.caldera-grid .has-success .control-label,.caldera-grid .has-success .form-control-feedback,.caldera-grid .has-success .help-block,.caldera-grid .has-success .radio,.caldera-grid .has-success .radio-inline,.caldera-grid .has-success.checkbox label,.caldera-grid .has-success.checkbox-inline label,.caldera-grid .has-success.radio label,.caldera-grid .has-success.radio-inline label{color:#3c763d}.caldera-grid .form-control[disabled],.caldera-grid .form-control[readonly],fieldset[disabled] .caldera-grid .form-control{background-color:#eee;opacity:1}.caldera-grid .form-control[disabled],fieldset[disabled] .caldera-grid .form-control{cursor:not-allowed}textarea .caldera-grid .form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){.caldera-grid input[type=date],.caldera-grid input[type=datetime-local],.caldera-grid input[type=month],.caldera-grid input[type=time]{line-height:34px}.caldera-grid input[type=date].input-sm,.caldera-grid input[type=datetime-local].input-sm,.caldera-grid input[type=month].input-sm,.caldera-grid input[type=time].input-sm,.input-group-sm .caldera-grid input[type=date],.input-group-sm .caldera-grid input[type=datetime-local],.input-group-sm .caldera-grid input[type=month],.input-group-sm .caldera-grid input[type=time]{line-height:30px}.caldera-grid input[type=date].input-lg,.caldera-grid input[type=datetime-local].input-lg,.caldera-grid input[type=month].input-lg,.caldera-grid input[type=time].input-lg,.input-group-lg .caldera-grid input[type=date],.input-group-lg .caldera-grid input[type=datetime-local],.input-group-lg .caldera-grid input[type=month],.input-group-lg .caldera-grid input[type=time]{line-height:46px}}.caldera-grid .form-group{margin-bottom:15px}.caldera-grid .checkbox,.caldera-grid .radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.caldera-grid .checkbox label,.caldera-grid .radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.caldera-grid .checkbox input[type=checkbox],.caldera-grid .checkbox-inline input[type=checkbox],.caldera-grid .radio input[type=radio],.caldera-grid .radio-inline input[type=radio]{margin-left:-20px}.caldera-grid .checkbox+.checkbox,.caldera-grid .radio+.radio{margin-top:-5px}.caldera-grid .checkbox-inline,.caldera-grid .radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.caldera-grid .checkbox-inline+.checkbox-inline,.caldera-grid .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.caldera-grid .checkbox-inline.disabled,.caldera-grid .checkbox.disabled label,.caldera-grid .radio-inline.disabled,.caldera-grid .radio.disabled label,.caldera-grid input[type=checkbox].disabled,.caldera-grid input[type=checkbox][disabled],.caldera-grid input[type=radio].disabled,.caldera-grid input[type=radio][disabled],fieldset[disabled] .caldera-grid .checkbox label,fieldset[disabled] .caldera-grid .checkbox-inline,fieldset[disabled] .caldera-grid .radio label,fieldset[disabled] .caldera-grid .radio-inline,fieldset[disabled] .caldera-grid input[type=checkbox],fieldset[disabled] .caldera-grid input[type=radio]{cursor:not-allowed}.caldera-grid .form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.caldera-grid .form-control-static.input-lg,.caldera-grid .form-control-static.input-sm{padding-left:0;padding-right:0}.caldera-grid .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .input-sm{height:30px;line-height:30px}select[multiple].caldera-grid .input-sm,textarea.caldera-grid .input-sm{height:auto}.caldera-grid .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:1px}select.caldera-grid .form-group-sm .form-control{height:30px;line-height:30px}select[multiple].caldera-grid .form-group-sm .form-control,textarea.caldera-grid .form-group-sm .form-control{height:auto}.caldera-grid .form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;min-height:32px}.caldera-grid .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .input-lg{height:46px;line-height:46px}select[multiple].caldera-grid .input-lg,textarea.caldera-grid .input-lg{height:auto}.caldera-grid .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}select.caldera-grid .form-group-lg .form-control{height:46px;line-height:46px}select[multiple].caldera-grid .form-group-lg .form-control,textarea.caldera-grid .form-group-lg .form-control{height:auto}.caldera-grid .form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;min-height:38px}.caldera-grid .has-feedback{position:relative}.caldera-grid .has-feedback .form-control{padding-right:42.5px}.caldera-grid .form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.caldera-grid .input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.caldera-grid .input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.caldera-grid .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.caldera-grid .has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.caldera-grid .has-warning .checkbox,.caldera-grid .has-warning .checkbox-inline,.caldera-grid .has-warning .control-label,.caldera-grid .has-warning .form-control-feedback,.caldera-grid .has-warning .help-block,.caldera-grid .has-warning .radio,.caldera-grid .has-warning .radio-inline,.caldera-grid .has-warning.checkbox label,.caldera-grid .has-warning.checkbox-inline label,.caldera-grid .has-warning.radio label,.caldera-grid .has-warning.radio-inline label{color:#8a6d3b}.caldera-grid .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.caldera-grid .has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.caldera-grid .has-error .checkbox,.caldera-grid .has-error .checkbox-inline,.caldera-grid .has-error .control-label,.caldera-grid .has-error .form-control-feedback,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline,.caldera-grid .has-error.checkbox label,.caldera-grid .has-error.checkbox-inline label,.caldera-grid .has-error.radio label,.caldera-grid .has-error.radio-inline label{color:#a94442}.caldera-grid .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.caldera-grid .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.caldera-grid .has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.caldera-grid .has-feedback label~.form-control-feedback{top:25px}.caldera-grid .has-feedback label.sr-only~.form-control-feedback{top:0}.caldera-grid .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.caldera-grid .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.caldera-grid .form-inline .form-control-static{display:inline-block}.caldera-grid .form-inline .input-group{display:inline-table;vertical-align:middle}.caldera-grid .form-inline .input-group .form-control,.caldera-grid .form-inline .input-group .input-group-addon,.caldera-grid .form-inline .input-group .input-group-btn{width:auto}.caldera-grid .form-inline .input-group>.form-control{width:100%}.caldera-grid .form-inline .control-label{margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox,.caldera-grid .form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.caldera-grid .form-inline .checkbox label,.caldera-grid .form-inline .radio label{padding-left:0}.caldera-grid .form-inline .checkbox input[type=checkbox],.caldera-grid .form-inline .radio input[type=radio]{position:relative;margin-left:0}.caldera-grid .form-inline .has-feedback .form-control-feedback{top:0}.caldera-grid .form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .checkbox-inline,.caldera-grid .form-horizontal .radio,.caldera-grid .form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.caldera-grid .form-horizontal .checkbox,.caldera-grid .form-horizontal .radio{min-height:27px}.caldera-grid .form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.caldera-grid .form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.caldera-grid .form-horizontal .form-group-lg .control-label{padding-top:14.33px}.caldera-grid .form-horizontal .form-group-sm .control-label{padding-top:6px}}.caldera-grid .btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.caldera-grid .btn.active.focus,.caldera-grid .btn.active:focus,.caldera-grid .btn.focus,.caldera-grid .btn:active.focus,.caldera-grid .btn:active:focus,.caldera-grid .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.caldera-grid .btn.focus,.caldera-grid .btn:focus,.caldera-grid .btn:hover{color:#333;text-decoration:none}.caldera-grid .btn.active,.caldera-grid .btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.caldera-grid .btn.disabled,.caldera-grid .btn[disabled],fieldset[disabled] .caldera-grid .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-default{color:#333;background-color:#fff;border-color:#ccc}.caldera-grid .btn-default.active,.caldera-grid .btn-default.focus,.caldera-grid .btn-default:active,.caldera-grid .btn-default:focus,.caldera-grid .btn-default:hover,.open>.dropdown-toggle.caldera-grid .btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.caldera-grid .btn-default.disabled,.caldera-grid .btn-default.disabled.active,.caldera-grid .btn-default.disabled.focus,.caldera-grid .btn-default.disabled:active,.caldera-grid .btn-default.disabled:focus,.caldera-grid .btn-default.disabled:hover,.caldera-grid .btn-default[disabled],.caldera-grid .btn-default[disabled].active,.caldera-grid .btn-default[disabled].focus,.caldera-grid .btn-default[disabled]:active,.caldera-grid .btn-default[disabled]:focus,.caldera-grid .btn-default[disabled]:hover,fieldset[disabled] .caldera-grid .btn-default,fieldset[disabled] .caldera-grid .btn-default.active,fieldset[disabled] .caldera-grid .btn-default.focus,fieldset[disabled] .caldera-grid .btn-default:active,fieldset[disabled] .caldera-grid .btn-default:focus,fieldset[disabled] .caldera-grid .btn-default:hover{background-color:#fff;border-color:#ccc}.caldera-grid .btn-default .badge{color:#fff;background-color:#333}.caldera-grid .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary.active,.caldera-grid .btn-primary.focus,.caldera-grid .btn-primary:active,.caldera-grid .btn-primary:focus,.caldera-grid .btn-primary:hover,.open>.dropdown-toggle.caldera-grid .btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.caldera-grid .btn-primary.disabled,.caldera-grid .btn-primary.disabled.active,.caldera-grid .btn-primary.disabled.focus,.caldera-grid .btn-primary.disabled:active,.caldera-grid .btn-primary.disabled:focus,.caldera-grid .btn-primary.disabled:hover,.caldera-grid .btn-primary[disabled],.caldera-grid .btn-primary[disabled].active,.caldera-grid .btn-primary[disabled].focus,.caldera-grid .btn-primary[disabled]:active,.caldera-grid .btn-primary[disabled]:focus,.caldera-grid .btn-primary[disabled]:hover,fieldset[disabled] .caldera-grid .btn-primary,fieldset[disabled] .caldera-grid .btn-primary.active,fieldset[disabled] .caldera-grid .btn-primary.focus,fieldset[disabled] .caldera-grid .btn-primary:active,fieldset[disabled] .caldera-grid .btn-primary:focus,fieldset[disabled] .caldera-grid .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.caldera-grid .btn-primary .badge{color:#337ab7;background-color:#fff}.caldera-grid .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success.active,.caldera-grid .btn-success.focus,.caldera-grid .btn-success:active,.caldera-grid .btn-success:focus,.caldera-grid .btn-success:hover,.open>.dropdown-toggle.caldera-grid .btn-success{color:#fff;background-color:#449d44;border-color:#398439}.caldera-grid .btn-success.disabled,.caldera-grid .btn-success.disabled.active,.caldera-grid .btn-success.disabled.focus,.caldera-grid .btn-success.disabled:active,.caldera-grid .btn-success.disabled:focus,.caldera-grid .btn-success.disabled:hover,.caldera-grid .btn-success[disabled],.caldera-grid .btn-success[disabled].active,.caldera-grid .btn-success[disabled].focus,.caldera-grid .btn-success[disabled]:active,.caldera-grid .btn-success[disabled]:focus,.caldera-grid .btn-success[disabled]:hover,fieldset[disabled] .caldera-grid .btn-success,fieldset[disabled] .caldera-grid .btn-success.active,fieldset[disabled] .caldera-grid .btn-success.focus,fieldset[disabled] .caldera-grid .btn-success:active,fieldset[disabled] .caldera-grid .btn-success:focus,fieldset[disabled] .caldera-grid .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.caldera-grid .btn-success .badge{color:#5cb85c;background-color:#fff}.caldera-grid .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info.active,.caldera-grid .btn-info.focus,.caldera-grid .btn-info:active,.caldera-grid .btn-info:focus,.caldera-grid .btn-info:hover,.open>.dropdown-toggle.caldera-grid .btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.caldera-grid .btn-info.disabled,.caldera-grid .btn-info.disabled.active,.caldera-grid .btn-info.disabled.focus,.caldera-grid .btn-info.disabled:active,.caldera-grid .btn-info.disabled:focus,.caldera-grid .btn-info.disabled:hover,.caldera-grid .btn-info[disabled],.caldera-grid .btn-info[disabled].active,.caldera-grid .btn-info[disabled].focus,.caldera-grid .btn-info[disabled]:active,.caldera-grid .btn-info[disabled]:focus,.caldera-grid .btn-info[disabled]:hover,fieldset[disabled] .caldera-grid .btn-info,fieldset[disabled] .caldera-grid .btn-info.active,fieldset[disabled] .caldera-grid .btn-info.focus,fieldset[disabled] .caldera-grid .btn-info:active,fieldset[disabled] .caldera-grid .btn-info:focus,fieldset[disabled] .caldera-grid .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.caldera-grid .btn-info .badge{color:#5bc0de;background-color:#fff}.caldera-grid .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning.active,.caldera-grid .btn-warning.focus,.caldera-grid .btn-warning:active,.caldera-grid .btn-warning:focus,.caldera-grid .btn-warning:hover,.open>.dropdown-toggle.caldera-grid .btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.caldera-grid .btn-warning.disabled,.caldera-grid .btn-warning.disabled.active,.caldera-grid .btn-warning.disabled.focus,.caldera-grid .btn-warning.disabled:active,.caldera-grid .btn-warning.disabled:focus,.caldera-grid .btn-warning.disabled:hover,.caldera-grid .btn-warning[disabled],.caldera-grid .btn-warning[disabled].active,.caldera-grid .btn-warning[disabled].focus,.caldera-grid .btn-warning[disabled]:active,.caldera-grid .btn-warning[disabled]:focus,.caldera-grid .btn-warning[disabled]:hover,fieldset[disabled] .caldera-grid .btn-warning,fieldset[disabled] .caldera-grid .btn-warning.active,fieldset[disabled] .caldera-grid .btn-warning.focus,fieldset[disabled] .caldera-grid .btn-warning:active,fieldset[disabled] .caldera-grid .btn-warning:focus,fieldset[disabled] .caldera-grid .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.caldera-grid .btn-warning .badge{color:#f0ad4e;background-color:#fff}.caldera-grid .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger.active,.caldera-grid .btn-danger.focus,.caldera-grid .btn-danger:active,.caldera-grid .btn-danger:focus,.caldera-grid .btn-danger:hover,.open>.dropdown-toggle.caldera-grid .btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.caldera-grid .btn-danger.disabled,.caldera-grid .btn-danger.disabled.active,.caldera-grid .btn-danger.disabled.focus,.caldera-grid .btn-danger.disabled:active,.caldera-grid .btn-danger.disabled:focus,.caldera-grid .btn-danger.disabled:hover,.caldera-grid .btn-danger[disabled],.caldera-grid .btn-danger[disabled].active,.caldera-grid .btn-danger[disabled].focus,.caldera-grid .btn-danger[disabled]:active,.caldera-grid .btn-danger[disabled]:focus,.caldera-grid .btn-danger[disabled]:hover,fieldset[disabled] .caldera-grid .btn-danger,fieldset[disabled] .caldera-grid .btn-danger.active,fieldset[disabled] .caldera-grid .btn-danger.focus,fieldset[disabled] .caldera-grid .btn-danger:active,fieldset[disabled] .caldera-grid .btn-danger:focus,fieldset[disabled] .caldera-grid .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.caldera-grid .btn-danger .badge{color:#d9534f;background-color:#fff}.caldera-grid .btn-link{color:#337ab7;font-weight:400;border-radius:0}.caldera-grid .btn-link,.caldera-grid .btn-link.active,.caldera-grid .btn-link:active,.caldera-grid .btn-link[disabled],fieldset[disabled] .caldera-grid .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .btn-link,.caldera-grid .btn-link:active,.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{border-color:transparent}.caldera-grid .btn-link:focus,.caldera-grid .btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.caldera-grid .btn-link[disabled]:focus,.caldera-grid .btn-link[disabled]:hover,fieldset[disabled] .caldera-grid .btn-link:focus,fieldset[disabled] .caldera-grid .btn-link:hover{color:#777;text-decoration:none}.caldera-grid .btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:4px}.caldera-grid .btn-sm,.caldera-grid .btn-xs{font-size:12px;line-height:1.5;border-radius:1px}.caldera-grid .btn-sm{padding:5px 10px}.caldera-grid .btn-xs{padding:1px 5px}.caldera-grid .btn-block{display:block;width:100%}.caldera-grid .btn-block+.btn-block{margin-top:5px}.caldera-grid input[type=button].btn-block,.caldera-grid input[type=reset].btn-block,.caldera-grid input[type=submit].btn-block{width:100%}.caldera-grid textarea.form-control{padding-right:4px;height:auto}.caldera-grid .breadcrumb{padding:6px 12px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.caldera-grid .breadcrumb>li{display:inline-block;margin:0}.caldera-grid .breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.caldera-grid .breadcrumb>.active,.caldera-grid .breadcrumb>.active>a{color:#777}.breadcrumb>li.active.error>a,.breadcrumb>li.error>a{color:red}.caldera-grid .cf-credit-card{padding-left:42px;background-image:url(../images/credit-card.svg);background-repeat:no-repeat!important;background-position-x:4px!important;background-position-y:3px!important}.caldera-grid .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}p.caldera-forms-consent-field-agreement{display:inline}
4
  @font-face{font-family:cf-raty;src:url(fonts/cf-raty.eot?40481674);src:url(fonts/cf-raty.eot?40481674#iefix) format('embedded-opentype'),url(fonts/cf-raty.woff?40481674) format('woff'),url(fonts/cf-raty.ttf?40481674) format('truetype'),url(fonts/cf-raty.svg?40481674#cf-raty) format('svg');font-weight:400;font-style:normal}[class*=" raty-"]:before,[class^=raty-]:before{font-family:cf-raty;font-style:normal;font-weight:400;speak:none;font-size:2em;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.raty-heart-on:before{content:'\e800'}.raty-heart-off:before{content:'\e801'}.raty-star-on:before{content:'\e802'}.raty-star-off:before{content:'\e803'}.raty-circle-on:before{content:'\e804'}.raty-circle-off:before{content:'\e805'}.raty-dot-off:before{content:'\e806'}.raty-dot-on:before{content:'\e807'}.raty-face-off:before{content:'\e808'}.raty-face-on:before{content:'\e809'}.raty-cancel-off:before{content:'\e80a'}.raty-cancel-on:before{content:'\e80b'}.calculation-group{background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px;margin:6px 0}.preview-color-selector{background:#F0F0F0;border:1px solid #E2E2E2;display:inline;margin-left:-1px;padding:3px 12px;box-shadow:0 0 0 2px #fff inset}.miniColors-trigger{border:1px solid #999;-mz-border-radius:0 1px 1px 0;-webkit-border-radius:0 1px 1px 0;display:inline-block;height:24px;margin:0 0 -8px -1px;width:30px}.miniColors-selector{background:#FFF;border:1px solid #999;-moz-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);-webkit-box-shadow:0 3px 0 -1px rgba(0,0,0,.05);box-shadow:0 3px 0 -1px rgba(0,0,0,.05);height:162px;padding:5px;position:absolute;width:187px;z-index:999999;margin-top:-1px}.miniColors-selector.black{background:#000;border-color:#000}.miniColors-colors{position:absolute;top:5px;left:5px;width:150px;height:150px;background:url(minicolor-colors.png) right no-repeat;cursor:crosshair}.miniColors-hues{position:absolute;top:5px;left:160px;width:20px;height:150px;background:url(minicolor-colors.png) left no-repeat;cursor:crosshair}.miniColors-colorPicker{position:absolute;width:9px;height:9px;border:1px solid #fff;-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px}.miniColors-colorPicker-inner{position:absolute;top:0;left:0;width:7px;height:7px;border:1px solid #000;-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px}.miniColors-huePicker{position:absolute;left:-3px;width:24px;height:1px;border:1px solid #fff;border-radius:2px;background:#000}.cf-color-picker .form-control::-moz-placeholder{color:#999;opacity:1}.cf-color-picker .form-control:-ms-input-placeholder{color:#999}.cf-color-picker .form-control::-webkit-input-placeholder{color:#999}.cf-color-picker .form-control[disabled],.cf-color-picker .form-control[readonly],.cf-color-picker fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}.cf-color-picker .form-group{margin-bottom:15px}.cf-color-picker .input-group{position:relative;display:table;border-collapse:separate}.cf-color-picker .input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.cf-color-picker .input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.cf-color-picker .input-group-lg>.form-control,.cf-color-picker .input-group-lg>.input-group-addon,.cf-color-picker .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.cf-color-picker .input-group-sm>.form-control,.cf-color-picker .input-group-sm>.input-group-addon,.cf-color-picker .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.cf-color-picker .input-group .form-control,.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{display:table-cell}.cf-color-picker .input-group .form-control:not(:first-child):not(:last-child),.cf-color-picker .input-group-addon:not(:first-child):not(:last-child),.cf-color-picker .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.cf-color-picker .input-group-addon,.cf-color-picker .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.cf-color-picker .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.cf-color-picker .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.cf-color-picker .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.cf-color-picker .input-group .form-control:first-child,.cf-color-picker .input-group-addon:first-child,.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group>.btn,.cf-color-picker .input-group-btn:first-child>.dropdown-toggle,.cf-color-picker .input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.cf-color-picker .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.cf-color-picker .input-group-addon:first-child{border-right:0}.cf-color-picker .input-group .form-control:last-child,.cf-color-picker .input-group-addon:last-child,.cf-color-picker .input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.cf-color-picker .input-group-btn:first-child>.btn:not(:first-child),.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group>.btn,.cf-color-picker .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.cf-color-picker .input-group-addon:last-child{border-left:0}.cf-color-picker .input-group-btn{position:relative;font-size:0;white-space:nowrap}.cf-color-picker .input-group-btn>.btn{position:relative}.cf-color-picker .input-group-btn>.btn+.btn{margin-left:-1px}.cf-color-picker .input-group-btn>.btn:active,.cf-color-picker .input-group-btn>.btn:focus,.cf-color-picker .input-group-btn>.btn:hover{z-index:2}.cf-color-picker .input-group-btn:first-child>.btn,.cf-color-picker .input-group-btn:first-child>.btn-group{margin-right:-1px}.cf-color-picker .input-group-btn:last-child>.btn,.cf-color-picker .input-group-btn:last-child>.btn-group{margin-left:-1px}.cf-color-picker .clearfix:after,.cf-color-picker .clearfix:before,.cf-color-picker .form-horizontal .form-group:after,.cf-color-picker .form-horizontal .form-group:before{content:" ";display:table}.cf-color-picker .clearfix:after,.cf-color-picker .form-horizontal .form-group:after{clear:both}.cf-color-picker .center-block{display:block;margin-left:auto;margin-right:auto}.cf-color-picker .pull-right{float:right!important}.cf-color-picker .pull-left{float:left!important}.cf-color-picker .hide{display:none!important}.cf-color-picker .show{display:block!important}.cf-color-picker .invisible{visibility:hidden}.cf-color-picker .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.cf-color-picker .hidden{display:none!important;visibility:hidden!important}.cf-color-picker .affix{position:fixed}@-ms-viewport{width:device-width}.cf-color-picker .visible-lg,.cf-color-picker .visible-md,.cf-color-picker .visible-print,.cf-color-picker .visible-sm,.cf-color-picker .visible-xs{display:none!important}@media (max-width:767px){.cf-color-picker .visible-xs{display:block!important}.cf-color-picker table.visible-xs{display:table}.cf-color-picker tr.visible-xs{display:table-row!important}.cf-color-picker td.visible-xs,.cf-color-picker th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .visible-sm{display:block!important}.cf-color-picker table.visible-sm{display:table}.cf-color-picker tr.visible-sm{display:table-row!important}.cf-color-picker td.visible-sm,.cf-color-picker th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .visible-md{display:block!important}.cf-color-picker table.visible-md{display:table}.cf-color-picker tr.visible-md{display:table-row!important}.cf-color-picker td.visible-md,.cf-color-picker th.visible-md{display:table-cell!important}}@media (min-width:1200px){.cf-color-picker .visible-lg{display:block!important}.cf-color-picker table.visible-lg{display:table}.cf-color-picker tr.visible-lg{display:table-row!important}.cf-color-picker td.visible-lg,.cf-color-picker th.visible-lg{display:table-cell!important}}@media (max-width:767px){.cf-color-picker .hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.cf-color-picker .hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.cf-color-picker .hidden-md{display:none!important}}@media (min-width:1200px){.cf-color-picker .hidden-lg{display:none!important}}@media print{.cf-color-picker .visible-print{display:block!important}.cf-color-picker table.visible-print{display:table}.cf-color-picker tr.visible-print{display:table-row!important}.cf-color-picker td.visible-print,.cf-color-picker th.visible-print{display:table-cell!important}}@media print{.cf-color-picker .hidden-print{display:none!important}}.cf-color-picker .input-group{max-width:120px}
assets/css/caldera-modals.css CHANGED
File without changes
assets/css/caldera-table.css CHANGED
File without changes
assets/css/cfont.css CHANGED
File without changes
assets/css/entry-viewer-2.css CHANGED
File without changes
assets/css/fonts/cfont.eot CHANGED
File without changes
assets/css/fonts/cfont.svg CHANGED
File without changes
assets/css/fonts/cfont.ttf CHANGED
File without changes
assets/css/fonts/cfont.woff CHANGED
File without changes
assets/css/ie7/ie7.css CHANGED
File without changes
assets/css/ie7/ie7.js CHANGED
File without changes
assets/css/remodal-default-theme.css CHANGED
File without changes
assets/css/remodal.css CHANGED
File without changes
assets/css/theme-default.min.css CHANGED
File without changes
assets/images/align-justify.svg CHANGED
File without changes
assets/images/calculator.svg CHANGED
File without changes
assets/images/cart-plus.svg CHANGED
File without changes
assets/images/cc-amex.svg CHANGED
File without changes
assets/images/cc-discover.svg CHANGED
File without changes
assets/images/cc-mastercard.svg CHANGED
File without changes
assets/images/cc-paypal.svg CHANGED
File without changes
assets/images/cc-stripe.svg CHANGED
File without changes
assets/images/cc-visa.svg CHANGED
File without changes
assets/images/cf-pro-logo.png CHANGED
File without changes
assets/images/chain.svg CHANGED
File without changes
assets/images/cloud-upload.svg CHANGED
File without changes
assets/images/cog.svg CHANGED
File without changes
assets/images/credit-card.svg CHANGED
File without changes
assets/images/envelope-o.svg CHANGED
File without changes
assets/images/envelope-square.svg CHANGED
File without changes
assets/images/eye.svg CHANGED
File without changes
assets/images/folder-open-o.svg CHANGED
File without changes
assets/images/list.svg CHANGED
File without changes
assets/images/lock.svg CHANGED
File without changes
assets/images/mobile.svg CHANGED
File without changes
assets/images/paint-brush.svg CHANGED
File without changes
assets/images/paypal.svg CHANGED
File without changes
assets/images/plus.svg CHANGED
File without changes
assets/images/ra.svg CHANGED
File without changes
assets/images/slack.svg CHANGED
File without changes
assets/images/star.svg CHANGED
File without changes
assets/images/user.svg CHANGED
File without changes
assets/images/volume-control-phone.svg CHANGED
File without changes
assets/images/wordpress.svg CHANGED
File without changes
assets/js/admin.js CHANGED
File without changes
assets/js/admin.min.js CHANGED
File without changes
assets/js/ajax-core.js CHANGED
@@ -161,9 +161,10 @@ jQuery(function($){
161
  data.append( field.data('field'), cf_uploader_filelist[ file ].file );
162
  data.append( 'field', field.data('field') );
163
  data.append( 'control', field.data('controlid') );
164
-
165
-
166
  cf_push_file_upload( form, file_number, data );
 
 
 
167
  count++;
168
  if( count === 1 ){
169
  break;
161
  data.append( field.data('field'), cf_uploader_filelist[ file ].file );
162
  data.append( 'field', field.data('field') );
163
  data.append( 'control', field.data('controlid') );
 
 
164
  cf_push_file_upload( form, file_number, data );
165
+ field.val('');//@see https://github.com/CalderaWP/Caldera-Forms/issues/2514#issuecomment-395213433
166
+ field.attr('type','hidden');
167
+ field.val(field.data('controlid'));
168
  count++;
169
  if( count === 1 ){
170
  break;
assets/js/api/client.js CHANGED
File without changes
assets/js/api/stores.js CHANGED
File without changes
assets/js/caldera-forms-front.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 *//**
2
  * Simple event bindings for form state
3
  *
4
  * In general, access through CFState.events() not directly.
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 *//**
2
  * Simple event bindings for form state
3
  *
4
  * In general, access through CFState.events() not directly.
assets/js/caldera-modals.js CHANGED
File without changes
assets/js/edit.js CHANGED
@@ -118,9 +118,6 @@ jQuery(document).ready(function($){
118
  data_fields.config.conditional_groups = { conditions : data_fields.conditions };
119
  }
120
 
121
- Object.keys(non_editor_fields).forEach(function (key) {
122
- data_fields[key] = non_editor_fields[key];
123
- });
124
  $(el).data('cf_edit_nonce', data_fields.cf_edit_nonce);
125
  $(el).data('_wp_http_referer', data_fields._wp_http_referer);
126
  $(el).data('sender', 'ajax');
118
  data_fields.config.conditional_groups = { conditions : data_fields.conditions };
119
  }
120
 
 
 
 
121
  $(el).data('cf_edit_nonce', data_fields.cf_edit_nonce);
122
  $(el).data('_wp_http_referer', data_fields._wp_http_referer);
123
  $(el).data('sender', 'ajax');
assets/js/entry-viewer-2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 *//**
2
  * API Client for Caldera Forms API for a single form
3
  *
4
  * @since 1.5.0
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 *//**
2
  * API Client for Caldera Forms API for a single form
3
  *
4
  * @since 1.5.0
assets/js/field-config.js CHANGED
File without changes
assets/js/fields.js CHANGED
File without changes
assets/js/formobject.js CHANGED
File without changes
assets/js/html5.js CHANGED
File without changes
assets/js/i18n/al.js CHANGED
File without changes
assets/js/i18n/ar.js CHANGED
File without changes
assets/js/i18n/bg.js CHANGED
File without changes
assets/js/i18n/ca.js CHANGED
File without changes
assets/js/i18n/cs.extra.js CHANGED
File without changes
assets/js/i18n/cs.js CHANGED
File without changes
assets/js/i18n/da.js CHANGED
File without changes
assets/js/i18n/de.extra.js CHANGED
File without changes
assets/js/i18n/de.js CHANGED
File without changes
assets/js/i18n/el.extra.js CHANGED
File without changes
assets/js/i18n/el.js CHANGED
File without changes
assets/js/i18n/en.extra.js CHANGED
File without changes
assets/js/i18n/en.js CHANGED
File without changes
assets/js/i18n/es.js CHANGED
File without changes
assets/js/i18n/eu.js CHANGED
File without changes
assets/js/i18n/fa.js CHANGED
File without changes
assets/js/i18n/fi.extra.js CHANGED
File without changes
assets/js/i18n/fi.js CHANGED
File without changes
assets/js/i18n/fr.extra.js CHANGED
File without changes
assets/js/i18n/fr.js CHANGED
File without changes
assets/js/i18n/he.extra.js CHANGED
File without changes
assets/js/i18n/he.js CHANGED
File without changes
assets/js/i18n/hr.extra.js CHANGED
File without changes
assets/js/i18n/hr.js CHANGED
File without changes
assets/js/i18n/hu.extra.js CHANGED
File without changes
assets/js/i18n/hu.js CHANGED
File without changes
assets/js/i18n/id.extra.js CHANGED
File without changes
assets/js/i18n/id.js CHANGED
File without changes
assets/js/i18n/it.extra.js CHANGED
File without changes
assets/js/i18n/it.js CHANGED
File without changes
assets/js/i18n/ja.extra.js CHANGED
File without changes
assets/js/i18n/ja.js CHANGED
File without changes
assets/js/i18n/ko.js CHANGED
File without changes
assets/js/i18n/lt.extra.js CHANGED
File without changes
assets/js/i18n/lt.js CHANGED
File without changes
assets/js/i18n/lv.extra.js CHANGED
File without changes
assets/js/i18n/lv.js CHANGED
File without changes
assets/js/i18n/ms.extra.js CHANGED
File without changes
assets/js/i18n/ms.js CHANGED
File without changes
assets/js/i18n/ms_MY.extra.js CHANGED
File without changes
assets/js/i18n/ms_MY.js CHANGED
File without changes
assets/js/i18n/nl.extra.js CHANGED
File without changes
assets/js/i18n/nl.js CHANGED
File without changes
assets/js/i18n/no.js CHANGED
File without changes
assets/js/i18n/pl.js CHANGED
File without changes
assets/js/i18n/pt-br.js CHANGED
File without changes
assets/js/i18n/pt-pt.js CHANGED
File without changes
assets/js/i18n/ro.extra.js CHANGED
File without changes
assets/js/i18n/ro.js CHANGED
File without changes
assets/js/i18n/ru.extra.js CHANGED
File without changes
assets/js/i18n/ru.js CHANGED
File without changes
assets/js/i18n/sk.extra.js CHANGED
File without changes
assets/js/i18n/sk.js CHANGED
File without changes
assets/js/i18n/sl.extra.js CHANGED
File without changes
assets/js/i18n/sl.js CHANGED
File without changes
assets/js/i18n/sq.js CHANGED
File without changes
assets/js/i18n/sr.extra.js CHANGED
File without changes
assets/js/i18n/sr.js CHANGED
File without changes
assets/js/i18n/sv.extra.js CHANGED
File without changes
assets/js/i18n/sv.js CHANGED
File without changes
assets/js/i18n/th.js CHANGED
File without changes
assets/js/i18n/tr.js CHANGED
File without changes
assets/js/i18n/ua.extra.js CHANGED
File without changes
assets/js/i18n/ua.js CHANGED
File without changes
assets/js/i18n/uk.extra.js CHANGED
File without changes
assets/js/i18n/uk.js CHANGED
File without changes
assets/js/i18n/zh_cn.extra.js CHANGED
File without changes
assets/js/i18n/zh_cn.js CHANGED
File without changes
assets/js/i18n/zh_tw.js CHANGED
File without changes
assets/js/inputmask.js CHANGED
File without changes
assets/js/jquery-baldrick.js CHANGED
File without changes
assets/js/parsley-aria.js CHANGED
File without changes
assets/js/parsley.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 *//*!
2
  * Parsley.js
3
  * Version 2.8.1 - built Sat, Feb 3rd 2018, 2:27 pm
4
  * http://parsleyjs.org
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 *//*!
2
  * Parsley.js
3
  * Version 2.8.1 - built Sat, Feb 3rd 2018, 2:27 pm
4
  * http://parsleyjs.org
assets/js/remodal.js CHANGED
File without changes
assets/js/shortcode-insert.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(function(e){if(e(".color-field").wpColorPicker({mode:"rgba"}),e("body").on("click","#caldera-forms-form-insert,#wp_fs_caldera-forms",function(t){t.preventDefault();var a=e(".caldera-forms-insert-modal");data=e(this).data("settings"),data&&(data.id&&e('.selected-form-shortcode[value="'+data.id+'"]').prop("checked",!0),data.modal&&(e(".set_cf_modal").prop("checked",!0),e(".modal-forms-setup").show()),data.type&&e(".modal_trigger_type").val(data.type),data.content&&e(".modal_trigger").val(data.content),data.width&&e(".modal_width").val(data.width),e(this).data("settings",{})),a.fadeIn(100)}),e("body").on("click",".caldera-modal-closer",function(t){t.preventDefault();var a=e(".caldera-forms-insert-modal");e("#calderaf_forms_shortcode_modal")[0].reset(),e(".modal-forms-setup").hide(),a.fadeOut(100)}),e("body").on("change",".set_cf_modal",function(t){var a=e(this);a.is(":checked")?e(".modal-forms-setup").show():e(".modal-forms-setup").hide()}),e("body").on("click",".caldera-form-shortcode-insert",function(t){t.preventDefault();var a,o=e(".selected-form-shortcode:checked"),d=e(".set_cf_modal").prop("checked"),r=e(".modal_trigger").val(),c=e(".modal_trigger_type").val(),i=e(".modal_width").val();if(o.length){var s="caldera_form";d&&(s="caldera_form_modal"),a="["+s+' id="'+o.val()+'"',d===!0&&"button"===c&&(a+=' type="'+c+'"'),i.length&&(a+=' width="'+i+'"'),a+="]",d&&(a+=r.length?r:o.parent().text(),a+="[/caldera_form_modal]"),e("#calderaf_forms_shortcode_modal")[0].reset(),e(".modal-forms-setup").hide(),o.prop("checked",!1),window.send_to_editor(a),e(".caldera-modal-closer").trigger("click")}}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media){var t=wp.media;"function"==typeof wp.mce.views.register&&wp.mce.views.register("caldera_form",{template:t.template("editor-caldera-forms"),initialize:function(){this.fetch()},setLoader:function(){this.setContent('<div class="loading-placeholder"><div class="dashicons dashicons-update" style="color:#a3be5f;"></div><div class="wpview-loading"><ins style="background-color:#a3be5f;"></ins></div></div>')},fetch:function(){var t=this,a={post_id:e("#post_ID").val(),content:t.shortcode.content,atts:t.shortcode.attrs};wp.ajax.post("cf_get_form_preview",a).done(function(e){t.render(e.html)}).fail(function(e){t.render(e.html)})},edit:function(e){var t=this.shortcode.attrs.named;t.content=this.shortcode.content,jQuery("#caldera-forms-form-insert").data("settings",t).trigger("click")}})}});
assets/js/state/events.js CHANGED
File without changes
assets/js/support-page.js CHANGED
File without changes
assets/js/viewer/init.js CHANGED
File without changes
assets/js/viewer/viewer.js CHANGED
File without changes
assets/js/vue.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! GENERATED SOURCE FILE caldera-forms - v1.7.0 - 2018-05-31 *//*!
2
  * Vue.js v2.1.6
3
  * (c) 2014-2016 Evan You
4
  * Released under the MIT License.
1
+ /*! GENERATED SOURCE FILE caldera-forms - v1.7.1 - 2018-06-07 *//*!
2
  * Vue.js v2.1.6
3
  * (c) 2014-2016 Evan You
4
  * Released under the MIT License.
assets/js/vue/status-component.js CHANGED
File without changes
assets/js/vue/vue-filter.js CHANGED
File without changes
assets/js/vue/vue.js CHANGED
File without changes
caldera-core.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: https://CalderaForms.com
5
  Description: Easy to use, grid based responsive form builder for creating simple to complex forms.
6
  Author: Caldera Labs
7
- Version: 1.7.0
8
  Author URI: http://CalderaLabs.org
9
  Text Domain: caldera-forms
10
  GitHub Plugin URI: https://github.com/CalderaWP/caldera-forms
@@ -53,7 +53,7 @@ if (!version_compare(PHP_VERSION, '5.6.0', '>=')) {
53
 
54
  define('CFCORE_PATH', plugin_dir_path(__FILE__));
55
  define('CFCORE_URL', plugin_dir_url(__FILE__));
56
- define( 'CFCORE_VER', '1.7.0' );
57
  define('CFCORE_EXTEND_URL', 'https://api.calderaforms.com/1.0/');
58
  define('CFCORE_BASENAME', plugin_basename(__FILE__));
59
 
4
  Plugin URI: https://CalderaForms.com
5
  Description: Easy to use, grid based responsive form builder for creating simple to complex forms.
6
  Author: Caldera Labs
7
+ Version: 1.7.1
8
  Author URI: http://CalderaLabs.org
9
  Text Domain: caldera-forms
10
  GitHub Plugin URI: https://github.com/CalderaWP/caldera-forms
53
 
54
  define('CFCORE_PATH', plugin_dir_path(__FILE__));
55
  define('CFCORE_URL', plugin_dir_url(__FILE__));
56
+ define( 'CFCORE_VER', '1.7.1' );
57
  define('CFCORE_EXTEND_URL', 'https://api.calderaforms.com/1.0/');
58
  define('CFCORE_BASENAME', plugin_basename(__FILE__));
59
 
classes/admin.php CHANGED
@@ -1561,9 +1561,60 @@ class Caldera_Forms_Admin {
1561
  * @param array $data
1562
  */
1563
  public static function save_a_form( $data ){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1564
  Caldera_Forms_Forms::save_form( $data );
1565
  }
1566
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
  /**
1568
  * AJAX callback for new form creation
1569
  *
1561
  * @param array $data
1562
  */
1563
  public static function save_a_form( $data ){
1564
+ $saved_form = Caldera_Forms_Forms::get_form( $data['ID'] );
1565
+ if( ! empty( $saved_form ) && isset( $saved_form[ 'fields' ] ) ){
1566
+ $extra_fields = self::get_editor_extra_fields($saved_form );
1567
+ $form = new Caldera_Forms_API_Privacy($saved_form);
1568
+ if( isset( $extra_fields['email_identifying_fields'] ) ){
1569
+ $form->set_email_identifying_fields( $extra_fields['email_identifying_fields'] );
1570
+ }
1571
+ if( isset( $extra_fields['personally_identifying_fields'] ) ){
1572
+ $form->set_pii_fields( $extra_fields['personally_identifying_fields'] );
1573
+ }
1574
+
1575
+ $data = $form->get_form();
1576
+ if( isset( $extra_fields['is_privacy_export_enabled'] ) ){
1577
+ $data = Caldera_Forms_Forms::update_privacy_export_enabled( $data, boolval($extra_fields['is_privacy_export_enabled']));
1578
+ }
1579
+ }
1580
+
1581
+
1582
+
1583
  Caldera_Forms_Forms::save_form( $data );
1584
  }
1585
 
1586
+
1587
+ /**
1588
+ * Get the additional fields of form that are not used in the editor
1589
+ *
1590
+ * @since 1.71
1591
+ *
1592
+ *
1593
+ * @param array $form Form config to get saved field values from
1594
+ * @return array
1595
+ */
1596
+ public static function get_editor_extra_fields(array $form )
1597
+ {
1598
+ return array_merge(
1599
+ [
1600
+ 'email_identifying_fields' => Caldera_Forms_Forms::email_identifying_fields($form, true ),
1601
+ 'personally_identifying_fields' => Caldera_Forms_Forms::personally_identifying_fields($form,true),
1602
+ 'is_privacy_export_enabled' => Caldera_Forms_Forms::is_privacy_export_enabled($form),
1603
+ ],
1604
+ /**
1605
+ * Add additional fields to the non-editor fields
1606
+ *
1607
+ * These values will be saved with the form, unedited.
1608
+ *
1609
+ * @since 1.7.0
1610
+ *
1611
+ * @param array $field Extra fields.
1612
+ */
1613
+ apply_filters( 'caldera_forms_editor_extra_fields', [] )
1614
+
1615
+ );
1616
+ }
1617
+
1618
  /**
1619
  * AJAX callback for new form creation
1620
  *
classes/admin/apeasypods.php CHANGED
File without changes
classes/admin/apeasyqueries.php CHANGED
File without changes
classes/admin/apsetup.php CHANGED
File without changes
classes/admin/apsetupinterface.php CHANGED
File without changes
classes/admin/assets.php CHANGED
File without changes
classes/admin/extend.php CHANGED
File without changes
classes/admin/feed.php CHANGED
File without changes
classes/admin/panel.php CHANGED
File without changes
classes/admin/pro.php CHANGED
File without changes
classes/admin/resend.php CHANGED
File without changes
classes/api/entries.php CHANGED
File without changes
classes/api/form.php CHANGED
@@ -70,9 +70,21 @@ class Caldera_Forms_API_Form implements ArrayAccess {
70
  * @return array
71
  */
72
  public function toArray(){
73
- return $this->form;
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  /**
77
  * Get a field config IF it should be returned in REST API response.
78
  *
70
  * @return array
71
  */
72
  public function toArray(){
73
+ return $this->get_form();
74
  }
75
 
76
+ /**
77
+ * Get the form config as an array
78
+ *
79
+ * @since 1.7.0
80
+ *
81
+ * @return array
82
+ */
83
+ public function get_form()
84
+ {
85
+ return $this->form;
86
+ }
87
+
88
  /**
89
  * Get a field config IF it should be returned in REST API response.
90
  *
classes/api/forms.php CHANGED
File without changes
classes/api/jsconfig.php CHANGED
File without changes
classes/api/privacy.php DELETED
@@ -1,132 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Class Caldera_Forms_API_Privacy
5
- *
6
- * Form config abstraction for working with privacy settings of form
7
- */
8
- class Caldera_Forms_API_Privacy extends Caldera_Forms_API_Form
9
- {
10
- /**
11
- * Report if this form has privacy/GDPR exporter enabled
12
- *
13
- * @since 1.7.0
14
- *
15
- * @return true
16
- */
17
- public function is_privacy_exporter_enabled()
18
- {
19
- return Caldera_Forms_Forms::is_privacy_export_enabled( $this->form );
20
- }
21
-
22
- /**
23
- * Enable privacy export for this form
24
- *
25
- * @since 1.7.0
26
- *
27
- * @return Caldera_Forms_API_Privacy
28
- */
29
- public function enable_privacy_exporter()
30
- {
31
- $this->form = Caldera_Forms_Forms::update_privacy_export_enabled($this->form, true );
32
- return $this->save_form();
33
- }
34
-
35
- /**
36
- * Disable privacy export for this form.
37
- *
38
- * @return Caldera_Forms_API_Privacy
39
- */
40
- public function disable_privacy_exporter()
41
- {
42
- $this->form = Caldera_Forms_Forms::update_privacy_export_enabled($this->form, false );
43
- return $this->save_form();
44
- }
45
-
46
- /**
47
- * Get IDs of the fields that can contain personally identifying fields
48
- *
49
- * @since 1.7.0
50
- *
51
- * @return array
52
- */
53
- public function get_pii_fields()
54
- {
55
- return Caldera_Forms_Forms::personally_identifying_fields($this->form, true );
56
- }
57
-
58
- /**
59
- * Get IDs of the fields that can contain email we can use to identify whose personally identifying info a form contains.
60
- *
61
- * @since 1.7.0
62
- *
63
- * @return array
64
- */
65
- public function get_email_identifying_fields()
66
- {
67
- return Caldera_Forms_Forms::email_identifying_fields($this->form, true );
68
- }
69
-
70
- /**
71
- * (re)set PII fields of form
72
- *
73
- * @since 1.7.0
74
- *
75
- * @param array $pii_fields New value
76
- * @return $this
77
- */
78
- public function set_pii_fields($pii_fields ){
79
- foreach( $this->get_fields() as $field ){
80
- $this->form[ 'fields' ][ $field[ 'ID' ] ][ 'config' ][ Caldera_Forms_Field_Util::CONFIG_PERSONAL] = (int) in_array( $field[ 'ID' ], $pii_fields );
81
- }
82
- $this->set_fields();
83
- return $this;
84
- }
85
-
86
- /**
87
- * (re)set email identifying field(s) of form
88
- *
89
- * @since 1.7.0
90
- *
91
- * @param array $email_fields New value
92
- * @return $this
93
- */
94
- public function set_email_identifying_fields( $email_fields )
95
- {
96
- foreach( $this->get_fields() as $field ){
97
- $this->form[ 'fields' ][ $field[ 'ID' ] ][ 'config' ][ Caldera_Forms_Field_Util::CONFIG_EMAIL_IDENTIFIER ] = (int) in_array( $field[ 'ID' ], $email_fields );
98
- }
99
- $this->set_fields();
100
- return $this;
101
- }
102
-
103
- /** @inheritdoc */
104
- public function toArray()
105
- {
106
- return array(
107
- 'ID' => caldera_forms_very_safe_string($this->form[ 'ID' ]),
108
- 'name' => isset( $this->form[ 'name' ] ) ? caldera_forms_very_safe_string( $this->form[ 'name' ] ) : '',
109
- 'fields' => $this->get_fields(),
110
- 'emailIdentifyingFields' => $this->get_email_identifying_fields(),
111
- 'piiFields' => $this->get_pii_fields(),
112
- 'privacyExporterEnabled' => $this->is_privacy_exporter_enabled()
113
- );
114
- }
115
-
116
- /** @inheritdoc */
117
- public function set_fields()
118
- {
119
- foreach (Caldera_Forms_Forms::get_fields($this->form, true) as $field_id => $field) {
120
- if (Caldera_Forms_Fields::not_support(Caldera_Forms_Field_Util::get_type($field, $this->form), 'entry_list')) {
121
- continue;
122
- }
123
- $this->fields[$field_id] = [
124
- 'ID' => caldera_forms_very_safe_string($field_id),
125
- 'name' => isset($field['label']) ? caldera_forms_very_safe_string($field['label']) : '',
126
- 'type' => Caldera_Forms_Field_Util::get_type($field, $this->form)
127
- ];
128
- }
129
- }
130
-
131
-
132
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/api/settings.php CHANGED
File without changes
classes/api/token.php CHANGED
File without changes
classes/api/tokens.php CHANGED
File without changes
classes/cdn.php CHANGED
File without changes
classes/cdn/contract.php CHANGED
File without changes
classes/cdn/init.php CHANGED
File without changes
classes/cdn/jsdelivr.php CHANGED
File without changes
classes/cdn/settings.php CHANGED
File without changes
classes/core.php CHANGED
@@ -423,6 +423,7 @@ class Caldera_Forms
423
 
424
  // check update version
425
  $db_version = get_option('CF_DB', 0);
 
426
  $force_update = false;
427
 
428
  // ensure that admin can only force update
@@ -432,13 +433,13 @@ class Caldera_Forms
432
 
433
  include_once CFCORE_PATH . 'includes/updater.php';
434
 
435
- if (CF_DB > $db_version || $force_update) {
436
  self::check_tables();
437
  if ($db_version < 2 || $force_update) {
438
  caldera_forms_db_v2_update();
439
  }
440
 
441
- if ($db_version < 4 || $force_update) {
442
  self::activate_caldera_forms(true);
443
  caldera_forms_write_db_flag(4);
444
  }
@@ -476,17 +477,20 @@ class Caldera_Forms
476
  include_once CFCORE_PATH . 'includes/updater.php';
477
  $version = caldera_forms_get_last_update_version();
478
 
479
- wp_schedule_event(time(), 'daily', 'caldera_forms_tracking_send_rows');
480
  global $wpdb;
481
 
482
  // ensure urls are there
483
  self::init_cf_internal();
484
 
485
  // ensure rewrites
486
- flush_rewrite_rules();
487
-
488
- //make sure we have all tables
489
- self::check_tables();
 
 
 
 
490
 
491
  if ($version >= '1.1.5') {
492
  return; // only if 1.1.4 or lower
423
 
424
  // check update version
425
  $db_version = get_option('CF_DB', 0);
426
+ update_option( 'CF_DB', 7 );
427
  $force_update = false;
428
 
429
  // ensure that admin can only force update
433
 
434
  include_once CFCORE_PATH . 'includes/updater.php';
435
 
436
+ if ( CF_DB > $db_version || $force_update) {
437
  self::check_tables();
438
  if ($db_version < 2 || $force_update) {
439
  caldera_forms_db_v2_update();
440
  }
441
 
442
+ if ( $db_version < 4 || $force_update) {
443
  self::activate_caldera_forms(true);
444
  caldera_forms_write_db_flag(4);
445
  }
477
  include_once CFCORE_PATH . 'includes/updater.php';
478
  $version = caldera_forms_get_last_update_version();
479
 
 
480
  global $wpdb;
481
 
482
  // ensure urls are there
483
  self::init_cf_internal();
484
 
485
  // ensure rewrites
486
+ if ( $version !== CFCORE_VER ) {
487
+ add_action('admin_footer', function () {
488
+ flush_rewrite_rules();
489
+ });
490
+ }
491
+
492
+ //make sure we have all tables
493
+ self::check_tables();
494
 
495
  if ($version >= '1.1.5') {
496
  return; // only if 1.1.4 or lower
classes/db/base.php CHANGED
File without changes
classes/db/form.php CHANGED
File without changes
classes/db/tables.php CHANGED
File without changes
classes/db/track.php CHANGED
File without changes
classes/email/attachment.php CHANGED
File without changes
classes/email/callbacks.php CHANGED
File without changes
classes/email/client.php CHANGED
File without changes
classes/email/interface.php CHANGED
File without changes
classes/email/preview.php CHANGED
File without changes
classes/email/previews.php CHANGED
File without changes
classes/email/resend.php CHANGED
File without changes
classes/email/save.php CHANGED
File without changes
classes/email/sendgrid.php CHANGED
File without changes
classes/email/sendgrid/lib/SendGrid.php CHANGED
File without changes
classes/email/sendgrid/lib/helpers/mail/Mail.php CHANGED
File without changes
classes/email/sendgrid/lib/helpers/mail/README.md CHANGED
File without changes
classes/email/sendgrid/sendgrid-php.php CHANGED
File without changes
classes/email/sendgrid/vendor/autoload.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/ClassLoader.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/LICENSE CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_classmap.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_files.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_namespaces.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_psr4.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_real.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/autoload_static.php CHANGED
File without changes
classes/email/sendgrid/vendor/composer/installed.json CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/CHANGELOG.md CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/CONTRIBUTING.md CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/LICENSE.txt CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/README.md CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/examples/example.php CHANGED
File without changes
classes/email/sendgrid/vendor/sendgrid/php-http-client/lib/SendGrid/Client.php CHANGED
File without changes
classes/email/settings.php CHANGED
File without changes
classes/entry/bulk.php CHANGED
File without changes
classes/entry/entries.php CHANGED
File without changes
classes/entry/entry.php CHANGED
File without changes
classes/entry/factory.php DELETED
@@ -1,33 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Class Caldera_Forms_Entry_Factory
5
- *
6
- * Factories for entry objects
7
-
8
- */
9
- class Caldera_Forms_Entry_Factory
10
- {
11
-
12
- /**
13
- * Factory for Caldera_Forms_Entry_Field objects
14
- *
15
- * @since 1.7.0
16
- *
17
- * @param array|stdClass|Caldera_Forms_Entry_Field $entry_field
18
- * @return Caldera_Forms_Entry_Field|object
19
- */
20
- public static function entry_field($entry_field){
21
- if( ! is_a( $entry_field, Caldera_Forms_Entry_Field::class ) ){
22
- if( is_array( $entry_field )){
23
- $entry_field = (object)$entry_field;
24
- }
25
- if( is_object($entry_field)){
26
- $entry_field = new Caldera_Forms_Entry_Field($entry_field);
27
- }
28
- }
29
-
30
- return $entry_field;
31
- }
32
-
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/entry/field.php CHANGED
File without changes
classes/entry/fields.php DELETED
@@ -1,132 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Class Caldera_Forms_Entry_Fields
5
- *
6
- * A collection of many field values, from different entries of the same form.
7
- */
8
- class Caldera_Forms_Entry_Fields implements \calderawp\CalderaContainers\Interfaces\Arrayable
9
- {
10
-
11
- /**
12
- * The collected fields
13
- *
14
- * @since 1.7.0
15
- *
16
- * @var Caldera_Forms_Entry_Field[] $fields
17
- */
18
- protected $fields;
19
- /**
20
- * The form config
21
- *
22
- * @since 1.7.0
23
- *
24
- * @var array
25
- */
26
- protected $form;
27
-
28
- /**
29
- * Caldera_Forms_Entry_Fields constructor.
30
- * @param array $form Form configuration
31
- * @param Caldera_Forms_Entry_Field[] $fields
32
- */
33
- public function __construct(array $form, array $fields = [] )
34
- {
35
- $this->form = $form;
36
- if( ! empty( $fields ) ){
37
- $this->set_fields_form_array( $fields );
38
- }
39
- }
40
-
41
- /** @inheritdoc */
42
- public function toArray()
43
- {
44
- if (empty($this->fields)) {
45
- return [];
46
- }
47
- $fields = [];
48
- /** @var Caldera_Forms_Entry_Field $field */
49
- foreach ($this->get_fields() as $field) {
50
- $fields[$field->field_id] = $field->to_array(false);
51
- }
52
- return $fields;
53
- }
54
-
55
- /**
56
- * Get the collection of fields
57
- *
58
- * @since 1.7.0
59
- *
60
- * @return Caldera_Forms_Entry_Field[]
61
- */
62
- public function get_fields(){
63
- return $this->fields;
64
- }
65
-
66
- /**
67
- * Check if there is an entry value for an entry ID in this collection
68
- *
69
- * @since 1.7.0
70
- *
71
- * @param string $entry_id The entry's ID
72
- * @return bool
73
- */
74
- public function has_field( $entry_id ){
75
- return isset( $this->fields[ $entry_id ] );
76
- }
77
-
78
- /**
79
- * Get total number of field values in collection
80
- *
81
- * @since 1.7.0
82
- *
83
- * @return int
84
- */
85
- public function count(){
86
- return is_array( $this->fields ) ? count( $this->fields ) : 0;
87
- }
88
-
89
- /**
90
- * Add a field to collection
91
- *
92
- * @since 1.7.0
93
- *
94
- * @param Caldera_Forms_Entry_Field $field
95
- * @return $this
96
- */
97
- public function add_field( Caldera_Forms_Entry_Field $field ){
98
- $this->fields[$field->entry_id] = $field;
99
- return $this;
100
- }
101
-
102
- /**
103
- * Get a field from collection
104
- *
105
- * @since 1.7.0
106
- *
107
- * @param string $field_id Field ID (form config, not DB id column)
108
- * @return Caldera_Forms_Entry_Field
109
- * @throws Exception
110
- */
111
- public function get_field( $field_id ){
112
- if( $this->has_field( $field_id ) ){
113
- return $this->fields[ $field_id ];
114
- }
115
- throw new Exception( __( 'Field Not Found', 'caldera-forms' ) );
116
- }
117
-
118
-
119
- /**
120
- * Populate fields property from an array
121
- *
122
- * @since 1.7.0
123
- *
124
- * @param Caldera_Forms_Entry_Field[] $fields Entry field objects to add
125
- */
126
- protected function set_fields_form_array(array $fields){
127
- foreach ( $fields as $field ){
128
- $this->add_field( Caldera_Forms_Entry_Factory::entry_field($field) );
129
- }
130
- }
131
-
132
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/entry/meta.php CHANGED
File without changes
classes/entry/object.php CHANGED
File without changes
classes/entry/shortcode.php CHANGED
File without changes
classes/entry/token.php CHANGED
File without changes
classes/entry/ui.php CHANGED
File without changes
classes/entry/update.php CHANGED
File without changes
classes/entry/viewer.php CHANGED
File without changes
classes/entry/vue.php CHANGED
File without changes
classes/field/calculation.php CHANGED
File without changes
classes/field/credit.php CHANGED
File without changes
classes/field/honey.php CHANGED
File without changes
classes/field/html.php CHANGED
File without changes
classes/field/input.php CHANGED
File without changes
classes/field/localizer.php CHANGED
File without changes
classes/field/utm.php CHANGED
File without changes
classes/fields.php CHANGED
File without changes
classes/forms.php CHANGED
@@ -412,6 +412,10 @@ class Caldera_Forms_Forms {
412
  * @return array
413
  */
414
  protected static function add_details( $forms ){
 
 
 
 
415
  if( ! empty( $valid_forms = get_transient( self::$registry_cache_key ) ) ) {
416
  return $valid_forms;
417
  }else{
412
  * @return array
413
  */
414
  protected static function add_details( $forms ){
415
+ if( empty( $forms ) ){
416
+ return [];
417
+ }
418
+
419
  if( ! empty( $valid_forms = get_transient( self::$registry_cache_key ) ) ) {
420
  return $valid_forms;
421
  }else{
classes/magic.php CHANGED
File without changes
classes/magic/parser.php CHANGED
File without changes
classes/magic/summary.php CHANGED
File without changes
classes/magic/util.php CHANGED
File without changes
classes/object.php CHANGED
File without changes
classes/render/assets.php CHANGED
File without changes
classes/render/footer.php CHANGED
File without changes
classes/render/modals.php CHANGED
File without changes
classes/render/nonce.php CHANGED
File without changes
classes/render/util.php CHANGED
File without changes
classes/settings/contract.php CHANGED
File without changes
classes/settings/init.php CHANGED
File without changes
classes/settings/option.php CHANGED
File without changes
classes/shortcode/atts.php CHANGED
File without changes
classes/shortcode/defaults.php CHANGED
File without changes
classes/support.php CHANGED
File without changes
classes/sync/calc.php CHANGED
File without changes
classes/sync/factory.php CHANGED
File without changes
classes/sync/html.php CHANGED
File without changes
classes/sync/summary.php CHANGED
File without changes
classes/sync/sync.php CHANGED
File without changes
classes/tracking.php CHANGED
File without changes
classes/transient.php CHANGED
File without changes
clients/blocks/README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Caldera Forms Blocks
2
+ This client is used for the block UI
3
+
4
+ ## Blocks
5
+
6
+ ### Form
7
+ This block shows a form.
8
+
9
+ ## Enqueue Assets
10
+ ```php
11
+ Caldera_Forms_Render_Assets::enqueue_script( 'blocks' );
12
+ Caldera_Forms_Render_Assets::enqueue_style( 'blocks' );
13
+ ```
clients/blocks/components/FormChooser.js ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const SelectControl = wp.components.SelectControl;
2
+ import {CALDERA_FORMS_STORE_NAME} from "../store";
3
+ const { __ } = wp.i18n;
4
+
5
+ /**
6
+ * Get ID of form
7
+ *
8
+ * @since 1.6.2
9
+ *
10
+ * @param {Object} form Form config
11
+ * @return {*}
12
+ */
13
+ const getFormId = (form) => {
14
+ if( 'object' !== typeof form ){
15
+ return '';
16
+ }
17
+ return form.hasOwnProperty('formId' ) ? form.formId : form.ID;
18
+ };
19
+ /**
20
+ * Basic component to choose forms with
21
+ *
22
+ * @param props
23
+ * @return {XML}
24
+ * @constructor
25
+ */
26
+ export const FormChooser = (props) => {
27
+ const opts = props.forms;
28
+ return (
29
+ <SelectControl
30
+ className={'caldera-forms-form-chooser'}
31
+ label={ __( 'Choose A Form' ) }
32
+ value={ props.formId }
33
+ options={ opts.map( (form) => ( {
34
+ value: getFormId(form),
35
+ label: form.name,
36
+ } ) ) }
37
+ onChange={ (newValue) => {props.onChange(newValue)} }
38
+ />
39
+ )
40
+ };
41
+
42
+ //Import wp.data's HOC
43
+ const { withSelect } = wp.data;
44
+
45
+ /**
46
+ * Form chooser wrapped in form selector
47
+ */
48
+ export const FormChooserWithSelect = withSelect( (select, ownProps ) => {
49
+ const { getForms } = select( CALDERA_FORMS_STORE_NAME);
50
+ return {
51
+ forms: getForms()
52
+ };
53
+ } )( FormChooser );
54
+
55
+
56
+
57
+
58
+
59
+
60
+
clients/blocks/components/FormPreview.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import {CALDERA_FORMS_STORE_NAME} from "../store";
2
+ import {appendAssets} from "../../functions/appendAssets";
3
+ const { withSelect } = wp.data;
4
+ const Spinner = wp.components.Spinner;
5
+
6
+ function createMarkup(previewHtml) {
7
+ return {__html: previewHtml};
8
+ }
9
+
10
+ /**
11
+ * Render a form preview
12
+ *
13
+ * @since 1.6.2
14
+ *
15
+ * @param props
16
+ * @return {XML}
17
+ * @constructor
18
+ */
19
+ export const FormPreview = (props) => {
20
+ const className = 'caldera-forms-form-preview-' + props.formId;
21
+ if (undefined !== props.preview && props.preview.html ) {
22
+
23
+ appendAssets(props.preview.css, props.preview.js);
24
+ return <div className={className} dangerouslySetInnerHTML={createMarkup(props.preview.html)}/>;
25
+ } else {
26
+ return <div className={className}><Spinner /></div>;
27
+ }
28
+ };
29
+
30
+
31
+ /**
32
+ * Wrap with data selectors
33
+ */
34
+ export const FormPreviewWithSelect = withSelect( (select, ownProps ) => {
35
+ const { getFormPreview,getForm } = select( CALDERA_FORMS_STORE_NAME);
36
+ return {
37
+ form: getForm(ownProps.formId),
38
+ preview: getFormPreview(ownProps.formId),
39
+ };
40
+ } )( FormPreview );
41
+
clients/blocks/index.js ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ //Import WordPress APIs
3
+ const { __ } = wp.i18n;
4
+ const { registerBlockType } = wp.blocks;
5
+ //Setup store;
6
+ import {CALDERA_FORMS_STORE_NAME,STORE,SET_CURRENT_FORM_ID,requestFormPreview} from "./store";
7
+ const { registerStore, dispatch } = wp.data;
8
+ const InspectorControls = wp.blocks.InspectorControls;
9
+ const {Placeholder} = wp.components;
10
+ const formStore = registerStore(CALDERA_FORMS_STORE_NAME,STORE);
11
+ //Import CF components
12
+ import {FormChooserWithSelect} from "./components/formChooser";
13
+ import {FormPreviewWithSelect} from "./components/FormPreview";
14
+ //Create block
15
+ registerBlockType( 'calderaforms/cform', {
16
+ title: __( 'Caldera Form', 'caldera-forms' ),
17
+ icon: 'feedback',
18
+ category: 'common',
19
+ attributes: {
20
+ formId: {
21
+ formId: 'string',
22
+ default: 'false',
23
+ }
24
+ },
25
+ edit({ attributes, setAttributes, className, isSelected, id } ) {
26
+ /**
27
+ * Utility function to load preview inside block
28
+ *
29
+ * @since 1.6.2
30
+ *
31
+ * @param {String} formId
32
+ */
33
+ const loadPreview = function (formId) {
34
+ if ('false' !== formId && !formStore.getState().formPreviews.hasOwnProperty(formId)) {
35
+ requestFormPreview(formStore.getState(), formId);
36
+ }
37
+ };
38
+
39
+ /**
40
+ * Change handler for when form in block changes
41
+ *
42
+ * @since 1.6.2
43
+ *
44
+ * @param {String} newFormId
45
+ */
46
+ const setCurrentForm = (newFormId) => {
47
+ setAttributes({formId:newFormId});
48
+ loadPreview(newFormId);
49
+ };
50
+
51
+ //Preload preview
52
+ if( 'false' !== attributes.formId ){
53
+ loadPreview(attributes.formId);
54
+ }
55
+
56
+ return (
57
+ <div>
58
+ <InspectorControls>
59
+ <FormChooserWithSelect
60
+ onChange={setCurrentForm}
61
+ formId={attributes.formId}
62
+ />
63
+ </InspectorControls>
64
+
65
+ {'false' === attributes.formId &&
66
+ <Placeholder
67
+ className={ 'caldera-forms-form-chooser-placeholder' }
68
+ label={ 'Caldera Form' } >
69
+ <FormChooserWithSelect
70
+ onChange={setCurrentForm}
71
+ formId={attributes.formId}
72
+ />
73
+
74
+ </Placeholder>
75
+ }
76
+
77
+ {'false' !== attributes.formId &&
78
+ <FormPreviewWithSelect
79
+ formId={attributes.formId}
80
+ />
81
+ }
82
+ </div>
83
+ );
84
+ },
85
+ save: function( { attributes, className } ) {
86
+ return null;
87
+ },
88
+ } );
clients/blocks/store.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { apiRequest } = wp;
2
+ const { registerStore, dispatch } = wp.data;
3
+ export const CALDERA_FORMS_STORE_NAME = 'caldera-forms/forms';
4
+ export const SET_FORMS = 'SET_FORMS';
5
+ export const SET_FORM = 'SET_FORM';
6
+ export const SET_CURRENT_FORM_ID = 'SET_CURRENT_FORM_ID';
7
+ export const ADD_FORM_PREVIEW = 'ADD_FORM_PREVIEW';
8
+ let printedData = 'object' === typeof CF_FORMS ? CF_FORMS : [];
9
+ let cfAdmin = 'object' === typeof CF_ADMIN ? CF_ADMIN : {};
10
+
11
+ /**
12
+ * Intial state
13
+ *
14
+ * @since 1.6.2
15
+ *
16
+ * @type {{forms, formPreviews: {}}}
17
+ */
18
+ const DEFAULT_STATE = {
19
+ forms: printedData.forms,
20
+ formPreviews :{},
21
+ };
22
+
23
+ /**
24
+ * Check if a form has the provided ID
25
+ *
26
+ * @since 1.6.2
27
+ *
28
+ * @param {Object} form Form config
29
+ * @param {String} formId
30
+ * @return {boolean}
31
+ */
32
+ const formHasId = ( form, formId ) => {
33
+ if( 'object' !== typeof form ){
34
+ return false;
35
+ }
36
+ if( form.hasOwnProperty('ID') ){
37
+ return formId === form.ID;
38
+ }
39
+ if( form.hasOwnProperty('formId') ){
40
+ return formId === form.formId;
41
+ }
42
+ return false;
43
+ };
44
+
45
+ /**
46
+ * Find form in state by Id
47
+ *
48
+ * @since 1.6.2
49
+ *
50
+ * @param {Object} state
51
+ * @param {String} formId
52
+ */
53
+ const findFormById = (state, formId) => {
54
+ return state.forms.find(form => {
55
+ return formHasId(form,formId);
56
+ });
57
+ };
58
+
59
+ /**
60
+ * Find form index in state by Id
61
+ *
62
+ * @since 1.6.2
63
+ *
64
+ * @param {Object} state
65
+ * @param {String} formId
66
+ */
67
+ const findFormIndexById = (state, formId) => {
68
+ return state.forms.findIndex(form => {
69
+ return formHasId(form,formId);
70
+ });
71
+ };
72
+
73
+ //Track requests for previews to prevent multiple while pending
74
+ let requestingPreviews = [];
75
+ /**
76
+ * Request form preview HTML from server
77
+ *
78
+ * @since 1.6.2
79
+ *
80
+ * @param {Object} state
81
+ * @param {String} formId
82
+ */
83
+ export const requestFormPreview = (state,formId) => {
84
+ if( 'false' !== formId && requestingPreviews.includes(formId)){
85
+ return;
86
+ }
87
+ requestingPreviews.push(formId);
88
+
89
+ wp.apiRequest({
90
+ url: `${cfAdmin.api.form}${formId}?preview=true`,
91
+ method: 'GET',
92
+ cache: true
93
+
94
+ }).then( (r) => {
95
+ dispatch(CALDERA_FORMS_STORE_NAME).addFormPreview(formId, r);
96
+ } );
97
+ };
98
+
99
+ /**
100
+ * Caldera Forms Redux-store
101
+ *
102
+ * @since 1.6.2
103
+ *
104
+ * @type {{reducer: (function(*=, *)), actions: {setForm: (function(*=)), setForms: (function(*=)), addFormPreview: (function(*=, *=))}, selectors: {getForm: (function(*=, *=)), getForms: (function(*)), getFormPreview: (function(*, *=)), getFormPreviews: (function(*))}, resolvers: {getForm: (function(*, *): Promise)}}}
105
+ */
106
+ export const STORE = {
107
+ reducer( state = DEFAULT_STATE, action ) {
108
+ switch ( action.type ) {
109
+ case SET_FORMS:
110
+ return {
111
+ ...state,
112
+ forms: action.forms
113
+ };
114
+ case ADD_FORM_PREVIEW:
115
+ state.formPreviews[action.formId] = action.preview;
116
+
117
+ return {
118
+ ...state,
119
+ formPreviews:state.formPreviews
120
+ };
121
+ case SET_FORM :
122
+ let forms = state.forms;
123
+ const index = findFormIndexById(state, action.form.ID );
124
+ if(-1 <= index){
125
+ forms.splice(index,1,action.form);
126
+ }else{
127
+ forms.push(action.form);
128
+ }
129
+ return {
130
+ ...state,
131
+ forms: forms
132
+ };
133
+
134
+ }
135
+
136
+ return state;
137
+ },
138
+
139
+ actions: {
140
+ setForm(form){
141
+ return {
142
+ type: SET_FORM,
143
+ form: form
144
+ }
145
+ },
146
+ setForms( forms ) {
147
+ return {
148
+ type: SET_FORMS,
149
+ forms:forms
150
+ };
151
+ },
152
+ addFormPreview(formId,preview){
153
+ return {
154
+ type: ADD_FORM_PREVIEW,
155
+ formId: formId,
156
+ preview:preview
157
+ }
158
+ },
159
+ },
160
+ selectors: {
161
+ getForm( state, formId ) {
162
+ return findFormById(state, formId);
163
+ },
164
+ getForms( state ){
165
+ return state.forms;
166
+ },
167
+ getFormPreview( state,formId ){
168
+ return state.formPreviews.hasOwnProperty( formId )
169
+ ?state.formPreviews[ formId ]
170
+ : '';
171
+
172
+ },
173
+ getFormPreviews(state){
174
+ return state.formPreviews;
175
+ }
176
+ },
177
+ resolvers: {
178
+ async getForm( state, formId ) {
179
+ const form = await wp.apiRequest({
180
+ url: `${cfAdmin.api.form}${formId}?preview=false`,
181
+ method: 'GET',
182
+ cache: true
183
+
184
+ } );
185
+ dispatch( CALDERA_FORMS_STORE_NAME ).setForm( form );
186
+ },
187
+ },
188
+
189
+ };
clients/functions/CalderaFormsButtonPulse.js ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //-- Do NOT use ES6 syntax here, since this is used in editor, which does not use babel --//
2
+ /**
3
+ * Makes arbitrary button pulse
4
+ *
5
+ * @since 1.5.0.9
6
+ *
7
+ * @param $btn The button as a jQuery object
8
+ * @constructor
9
+ */
10
+ export default function CalderaFormsButtonPulse( $btn ){
11
+
12
+ var pulseEffect,
13
+ pulseLoop,
14
+ stopped = false;
15
+
16
+ /**
17
+ * Animates the pulse effect
18
+ *
19
+ * @since 1.5.0.9
20
+ */
21
+ pulseEffect = function() {
22
+ $btn.animate({
23
+ opacity: 0.25
24
+ }, 500 , function() {
25
+ $btn.animate({
26
+ opacity: 1
27
+ }, 500 );
28
+ });
29
+
30
+ };
31
+
32
+ /**
33
+ * Starts the pulse effect loop
34
+ *
35
+ * @since 1.5.0.9
36
+ */
37
+ this.startPulse = function() {
38
+ if( false === stopped ){
39
+ pulseLoop = setInterval( function(){
40
+ pulseEffect();
41
+ }, 1000 );
42
+ }
43
+
44
+
45
+
46
+ };
47
+
48
+ /**
49
+ * Ends the pulse effect loop
50
+ *
51
+ * @since 1.5.0.9
52
+ */
53
+ this.stopPulse = function() {
54
+ stopped = true;
55
+ clearInterval(pulseLoop);
56
+
57
+ };
58
+
59
+ };
clients/functions/README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Shared Functions
2
+
3
+ This directory provides functions at solve cross-concerns.
4
+
5
+ - Each file SHOULD export one function.
6
+
7
+ ## Naming
8
+ - Use the camelcase name of the function.
9
+ - Capitalize the first name of function if it is a constructor function.
10
+ - If you call the function with the new keyword, then it's probably a constructor functions.
11
+ - Josh likes constructor functions that encapsulated a chunk of UI that are provided all dependencies through the constructor.
12
+
clients/functions/appendAssets.js ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const assetsAppended = {
2
+ css: [],
3
+ js: [],
4
+ };
5
+
6
+ /**
7
+ * Append CSS/JS files to DOM so forms look right
8
+ *
9
+ * @since 1.7.0
10
+ * @param {Array} js
11
+ * @param {Array} css
12
+ */
13
+ export function appendAssets(js,css) {
14
+ Object.keys(css).forEach( key => {
15
+ appendAsset('css',css[key],key);
16
+ });
17
+ Object.keys(js).forEach( key => {
18
+ appendAsset('js',js[key],key);
19
+ });}
20
+ /**
21
+ * Append CSS or JavaScript as needed if not already done
22
+ *
23
+ * @since 1.7.0
24
+ *
25
+ * @param {String} type
26
+ * @param {String} url
27
+ * @param {String} identifier
28
+ */
29
+ function appendAsset(type, url, identifier)
30
+ {
31
+
32
+ switch( type ){
33
+ case 'css' :
34
+ if ( -1 < assetsAppended.css.indexOf( identifier ) ) {
35
+ const fileref = document.createElement("link");
36
+ fileref.rel = "stylesheet";
37
+ fileref.type = "text/css";
38
+ fileref.href = url;
39
+ fileref.id = identifier;
40
+ document.getElementsByTagName("head")[0].appendChild(fileref);
41
+ assetsAppended.css.push(identifier);
42
+
43
+ }
44
+
45
+ break;
46
+ case 'js' :
47
+
48
+ if ( -1 < assetsAppended.js.indexOf( identifier ) ) {
49
+ const fileref = document.createElement("script");
50
+ fileref.type = "text/javascript";
51
+ fileref.src = url;
52
+ fileref.id = identifier;
53
+ document.getElementsByTagName("body")[0].appendChild(fileref);
54
+ assetsAppended.js.push(identifier);
55
+ }
56
+ }
57
+
58
+ }
clients/functions/bindBaldrickTriggers.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export function bindBaldrickTriggers($,adminAJAX) {
2
+ return function () {
3
+ $('.ajax-trigger').baldrick({
4
+ request: adminAJAX,
5
+ method: 'POST',
6
+ before: function (el, e) {
7
+ var clicked = $(el);
8
+ // check for a nonce
9
+
10
+ var nonce = $('#cf_toolbar_actions'),
11
+ referer = nonce.parent().find('[name="_wp_http_referer"]');
12
+
13
+ if (nonce.length && referer.length) {
14
+ clicked.data('cf_toolbar_actions', nonce.val());
15
+ clicked.data('_wp_http_referer', referer.val());
16
+ }
17
+
18
+ if (clicked.data('trigger')) {
19
+ e.preventDefault();
20
+ var trigger = $(clicked.data('trigger'));
21
+
22
+ trigger.trigger(( trigger.data('event') ? trigger.data('event') : 'click' ));
23
+ return false;
24
+ }
25
+ },
26
+ complete: function () {
27
+ // check for init function
28
+ $('.init_field_type[data-type]').each(function (k, v) {
29
+ var ftype = $(v);
30
+ if (typeof window[ftype.data('type') + '_init'] === 'function') {
31
+ window[ftype.data('type') + '_init'](ftype.prop('id'), ftype[0]);
32
+ }
33
+ });
34
+ }
35
+ });
36
+ };
37
+ };
clients/privacy/build/index.min.js DELETED
@@ -1,30 +0,0 @@
1
- this.calderaForms=this.calderaForms||{},this.calderaForms.privacy=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=307)}([function(e,t,n){"use strict";e.exports=n(308)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(86),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(45),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(347),a=r(o),i=n(351),u=r(i),s=n(45),l=r(s);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,l.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports=n(313)()},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r,o;/*!
2
- Copyright (c) 2016 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
- !function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}var a={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";function r(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]?e.apply(void 0,n):function(t){return e.apply(void 0,n.concat([t]))}}}function o(e,t){var n=(e.bsClass||"").trim();return null==n&&m()(!1),n+(t?"-"+t:"")}function a(e){var t,n=(t={},t[o(e)]=!0,t);if(e.bsSize){n[o(e,b.b[e.bsSize]||e.bsSize)]=!0}return e.bsStyle&&(n[o(e,e.bsStyle)]=!0),n}function i(e){return{bsClass:e.bsClass,bsSize:e.bsSize,bsStyle:e.bsStyle,bsRole:e.bsRole}}function u(e){return"bsClass"===e||"bsSize"===e||"bsStyle"===e||"bsRole"===e}function s(e){var t={};return p()(e).forEach(function(e){var n=e[0],r=e[1];u(n)||(t[n]=r)}),[i(e),t]}function l(e,t){var n={};t.forEach(function(e){n[e]=!0});var r={};return p()(e).forEach(function(e){var t=e[0],o=e[1];u(t)||n[t]||(r[t]=o)}),[i(e),r]}t.e=o,n.d(t,"a",function(){return g}),n.d(t,"c",function(){return D}),n.d(t,"b",function(){return C}),t.d=a,t.f=s,t.g=l;var c=n(215),p=n.n(c),f=n(1),d=n.n(f),h=n(85),m=n.n(h),v=n(5),y=n.n(v),b=n(32),g=r(function(e,t){var n=t.propTypes||(t.propTypes={}),r=t.defaultProps||(t.defaultProps={});return n.bsClass=y.a.string,r.bsClass=e,t}),D=r(function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.STYLES||[],o=n.propTypes||{};e.forEach(function(e){-1===r.indexOf(e)&&r.push(e)});var a=y.a.oneOf(r);if(n.STYLES=r,a._values=r,n.propTypes=d()({},o,{bsStyle:a}),void 0!==t){(n.defaultProps||(n.defaultProps={})).bsStyle=t}return n}),C=r(function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.SIZES||[],o=n.propTypes||{};e.forEach(function(e){-1===r.indexOf(e)&&r.push(e)});var a=[];r.forEach(function(e){var t=b.b[e];t&&t!==e&&a.push(t),a.push(e)});var i=y.a.oneOf(a);return i._values=a,n.SIZES=r,n.propTypes=d()({},o,{bsSize:i}),void 0!==t&&(n.defaultProps||(n.defaultProps={}),n.defaultProps.bsSize=t),n})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(53)("wks"),o=n(38),a=n(9).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},,function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},,function(e,t,n){var r=n(9),o=n(12),a=n(31),i=n(20),u=n(22),s=function(e,t,n){var l,c,p,f=e&s.F,d=e&s.G,h=e&s.S,m=e&s.P,v=e&s.B,y=e&s.W,b=d?o:o[t]||(o[t]={}),g=b.prototype,D=d?r:h?r[t]:(r[t]||{}).prototype;d&&(n=t);for(l in n)(c=!f&&D&&void 0!==D[l])&&u(b,l)||(p=c?D[l]:n[l],b[l]=d&&"function"!=typeof D[l]?n[l]:v&&c?a(p,r):y&&D[l]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(p):m&&"function"==typeof p?a(Function.call,p):p,m&&((b.virtual||(b.virtual={}))[l]=p,e&s.R&&g&&!g[l]&&i(g,l,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=e[t],s=void 0===i?"undefined":a(i);return u.default.isValidElement(i)?new Error("Invalid "+r+" `"+o+"` of type ReactElement supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):"function"!==s&&"string"!==s?new Error("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):null}Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),u=r(i),s=n(150),l=r(s);t.default=(0,l.default)(o),e.exports=t.default},function(e,t,n){var r=n(15),o=n(67),a=n(49),i=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,function(e,t,n){var r=n(17),o=n(33);e.exports=n(21)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(25)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(69),o=n(50);e.exports=function(e){return r(o(e))}},,function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return null!=e}).reduce(function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}},null)}t.a=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(68),o=n(54);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports={}},function(e,t,n){var r=n(37);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return u});var r={LARGE:"large",SMALL:"small",XSMALL:"xsmall"},o={large:"lg",medium:"md",small:"sm",xsmall:"xs",lg:"lg",md:"md",sm:"sm",xs:"xs"},a=["lg","md","sm","xs"],i={SUCCESS:"success",WARNING:"warning",DANGER:"danger",INFO:"info"},u={DEFAULT:"default",PRIMARY:"primary",LINK:"link",INVERSE:"inverse"}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(336)},,function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!0},function(e,t,n){var r=n(17).f,o=n(22),a=n(10)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){"use strict";function r(e,t,n){var r=0;return f.a.Children.map(e,function(e){return f.a.isValidElement(e)?t.call(n,e,r++):e})}function o(e,t,n){var r=0;f.a.Children.forEach(e,function(e){f.a.isValidElement(e)&&t.call(n,e,r++)})}function a(e){var t=0;return f.a.Children.forEach(e,function(e){f.a.isValidElement(e)&&++t}),t}function i(e,t,n){var r=0,o=[];return f.a.Children.forEach(e,function(e){f.a.isValidElement(e)&&t.call(n,e,r++)&&o.push(e)}),o}function u(e,t,n){var r=0,o=void 0;return f.a.Children.forEach(e,function(e){o||f.a.isValidElement(e)&&t.call(n,e,r++)&&(o=e)}),o}function s(e,t,n){var r=0,o=!0;return f.a.Children.forEach(e,function(e){o&&f.a.isValidElement(e)&&(t.call(n,e,r++)||(o=!1))}),o}function l(e,t,n){var r=0,o=!1;return f.a.Children.forEach(e,function(e){o||f.a.isValidElement(e)&&t.call(n,e,r++)&&(o=!0)}),o}function c(e){var t=[];return f.a.Children.forEach(e,function(e){f.a.isValidElement(e)&&t.push(e)}),t}var p=n(0),f=n.n(p);t.a={map:r,forEach:o,count:a,find:u,filter:i,every:s,some:l,toArray:c}},,,function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(107),a=r(o),i=n(116),u=r(i),s="function"==typeof u.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":typeof e};t.default="function"==typeof u.default&&"symbol"===s(a.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":void 0===e?"undefined":s(e)}},,,function(e,t,n){var r=n(18),o=n(9).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(53)("keys"),o=n(38);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(9),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(50);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u}),n.d(t,"e",function(){return s});var r=n(87),o="SET_FORMS",a="SET_FORM",i="ADD_FORM_PREVIEW",u={forms:r.b.forms,formPreviews:{}},s={setForm:function(e){return{type:a,form:e}},setForms:function(e){return{type:o,forms:e}},addFormPreview:function(e,t){return{type:i,formId:e,preview:t}}}},function(e,t,n){t.f=n(10)},function(e,t,n){var r=n(9),o=n(12),a=n(39),i=n(58),u=n(17).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(37);e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e){return!e||"#"===e.trim()}var o=n(1),a=n.n(o),i=n(6),u=n.n(i),s=n(2),l=n.n(s),c=n(3),p=n.n(c),f=n(4),d=n.n(f),h=n(0),m=n.n(h),v=n(5),y=n.n(v),b=n(16),g=n.n(b),D=n(26),C={href:y.a.string,onClick:y.a.func,onKeyDown:y.a.func,disabled:y.a.bool,role:y.a.string,tabIndex:y.a.oneOfType([y.a.number,y.a.string]),componentClass:g.a},E={componentClass:"a"},_=function(e){function t(n,r){l()(this,t);var o=p()(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o}return d()(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.disabled,o=t.href,a=t.onClick;if((n||r(o))&&e.preventDefault(),n)return void e.stopPropagation();a&&a(e)},t.prototype.handleKeyDown=function(e){" "===e.key&&(e.preventDefault(),this.handleClick(e))},t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.disabled,o=e.onKeyDown,i=u()(e,["componentClass","disabled","onKeyDown"]);return r(i.href)&&(i.role=i.role||"button",i.href=i.href||"#"),n&&(i.tabIndex=-1,i.style=a()({pointerEvents:"none"},i.style)),m.a.createElement(t,a()({},i,{onClick:this.handleClick,onKeyDown:Object(D.a)(this.handleKeyDown,o)}))},t}(m.a.Component);_.propTypes=C,_.defaultProps=E,t.a=_},,function(e,t,n){var r=n(51),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(109)(!0);n(70)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(15),o=n(111),a=n(54),i=n(52)("IE_PROTO"),u=function(){},s=function(){var e,t=n(48)("iframe"),r=a.length;for(t.style.display="none",n(72).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[a[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[i]=e):n=s(),void 0===t?n:o(n,t)}},,function(e,t,n){e.exports=!n(21)&&!n(25)(function(){return 7!=Object.defineProperty(n(48)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(22),o=n(23),a=n(105)(!1),i=n(52)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=i&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){var r=n(29);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(39),o=n(14),a=n(71),i=n(20),u=n(30),s=n(110),l=n(40),c=n(112),p=n(10)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,m,v,y){s(n,t,h);var b,g,D,C=function(e){if(!f&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_="values"==m,w=!1,O=e.prototype,x=O[p]||O["@@iterator"]||m&&O[m],T=x||C(m),k=m?_?C("entries"):T:void 0,S="Array"==t?O.entries||x:x;if(S&&(D=c(S.call(new e)))!==Object.prototype&&D.next&&(l(D,E,!0),r||"function"==typeof D[p]||i(D,p,d)),_&&x&&"values"!==x.name&&(w=!0,T=function(){return x.call(this)}),r&&!y||!f&&!w&&O[p]||i(O,p,T),u[t]=T,u[E]=d,m)if(b={values:_?T:C("values"),keys:v?T:C("keys"),entries:k},y)for(g in b)g in O||a(O,g,b[g]);else o(o.P+o.F*(f||w),t,b);return b}},function(e,t,n){e.exports=n(20)},function(e,t,n){var r=n(9).document;e.exports=r&&r.documentElement},function(e,t,n){n(113);for(var r=n(9),o=n(20),a=n(30),i=n(10)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var l=u[s],c=r[l],p=c&&c.prototype;p&&!p[i]&&o(p,i,l),a[l]=a.Array}},function(e,t,n){var r=n(68),o=n(54).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){},function(e,t,n){var r=n(29),o=n(10)("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(15),o=n(37),a=n(10)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},function(e,t,n){var r,o,a,i=n(31),u=n(130),s=n(72),l=n(48),c=n(9),p=c.process,f=c.setImmediate,d=c.clearImmediate,h=c.MessageChannel,m=c.Dispatch,v=0,y={},b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},g=function(e){b.call(e.data)};f&&d||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++v]=function(){u("function"==typeof e?e:Function(e),t)},r(v),v},d=function(e){delete y[e]},"process"==n(29)(p)?r=function(e){p.nextTick(i(b,e,1))}:m&&m.now?r=function(e){m.now(i(b,e,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=g,r=i(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",g,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),b.call(e)}}:function(e){setTimeout(i(b,e,1),0)}),e.exports={set:f,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(15),o=n(18),a=n(60);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},,function(e,t,n){"use strict";function r(e,t,n,r,o){n&&(e._notifying=!0,n.call.apply(n,[e,r].concat(o)),e._notifying=!1),e._values[t]=r,e.unmounted||e.forceUpdate()}t.__esModule=!0;var o=n(354),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i={shouldComponentUpdate:function(){return!this._notifying}};t.default=(0,a.default)(i,r),e.exports=t.default},,function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,u],c=0;s=new Error(t.replace(/%s/g,function(){return l[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){e.exports={default:n(102),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i});var r=n(45),o=n.n(r),a="object"===("undefined"==typeof CF_FORMS?"undefined":o()(CF_FORMS))?CF_FORMS:[],i="object"===("undefined"==typeof CF_ADMIN?"undefined":o()(CF_ADMIN))?CF_ADMIN:{}},function(e,t,n){var r=n(34),o=n(33),a=n(23),i=n(49),u=n(22),s=n(67),l=Object.getOwnPropertyDescriptor;t.f=n(21)?l:function(e,t){if(e=a(e),t=i(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(45),o=n.n(r),a=function(e,t){return"object"===(void 0===e?"undefined":o()(e))&&(e.hasOwnProperty("ID")?t===e.ID:!!e.hasOwnProperty("formId")&&t===e.formId)},i=function(e,t){return e.forms.find(function(e){return a(e,t)})},u=function(e,t){return e.forms.findIndex(function(e){return a(e,t)})}},function(e,t,n){var r=n(15);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(30),o=n(10)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},function(e,t,n){var r=n(76),o=n(10)("iterator"),a=n(30);e.exports=n(12).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(10)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=(n(346),n(358),n(361),n(362),n(218),n(136));n.d(t,"a",function(){return r.a});var o=(n(174),n(363),n(364),n(219),n(374));n.d(t,"b",function(){return o.a});var a=(n(375),n(173),n(376));n.d(t,"c",function(){return a.a});var i=(n(377),n(177),n(152),n(384),n(155),n(385),n(386),n(389));n.d(t,"d",function(){return i.a});var u=(n(176),n(227),n(390));n.d(t,"e",function(){return u.a});var s=(n(391),n(392),n(395),n(396),n(397));n.d(t,"f",function(){return s.a});var l=n(228);n.d(t,"g",function(){return l.a});n(156),n(404),n(405),n(233),n(234),n(235),n(236),n(237),n(421),n(238),n(425),n(239),n(240),n(432),n(433),n(434),n(436),n(437),n(439),n(214),n(445),n(446),n(447),n(448),n(449),n(61),n(450),n(452),n(182),n(183),n(453),n(246),n(454),n(455),n(247),n(456),n(457),n(458),n(459)},function(e,t,n){e.exports={default:n(359),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}Object.defineProperty(t,"__esModule",{value:!0});var o=n(81),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){return a.default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):r(e,t)}:r}(),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){return(0,u.default)(a.default.findDOMNode(e))};var o=n(35),a=r(o),i=n(96),u=r(i);e.exports=t.default},,,,function(e,t,n){n(103),e.exports=n(12).Object.assign},function(e,t,n){var r=n(14);r(r.S+r.F,"Object",{assign:n(104)})},function(e,t,n){"use strict";var r=n(28),o=n(55),a=n(34),i=n(56),u=n(69),s=Object.assign;e.exports=!s||n(25)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=i(e),s=arguments.length,l=1,c=o.f,p=a.f;s>l;)for(var f,d=u(arguments[l++]),h=c?r(d).concat(c(d)):r(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:s},function(e,t,n){var r=n(23),o=n(63),a=n(106);e.exports=function(e){return function(t,n,i){var u,s=r(t),l=o(s.length),c=a(i,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(51),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},function(e,t,n){e.exports={default:n(108),__esModule:!0}},function(e,t,n){n(64),n(73),e.exports=n(58).f("iterator")},function(e,t,n){var r=n(51),o=n(50);e.exports=function(e){return function(t,n){var a,i,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(a=u.charCodeAt(s),a<55296||a>56319||s+1===l||(i=u.charCodeAt(s+1))<56320||i>57343?e?u.charAt(s):a:e?u.slice(s,s+2):i-56320+(a-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(65),o=n(33),a=n(40),i={};n(20)(i,n(10)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(17),o=n(15),a=n(28);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),u=i.length,s=0;u>s;)r.f(e,n=i[s++],t[n]);return e}},function(e,t,n){var r=n(22),o=n(56),a=n(52)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){"use strict";var r=n(114),o=n(115),a=n(30),i=n(23);e.exports=n(70)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(117),__esModule:!0}},function(e,t,n){n(118),n(75),n(123),n(124),e.exports=n(12).Symbol},function(e,t,n){"use strict";var r=n(9),o=n(22),a=n(21),i=n(14),u=n(71),s=n(119).KEY,l=n(25),c=n(53),p=n(40),f=n(38),d=n(10),h=n(58),m=n(59),v=n(120),y=n(121),b=n(15),g=n(18),D=n(23),C=n(49),E=n(33),_=n(65),w=n(122),O=n(88),x=n(17),T=n(28),k=O.f,S=x.f,j=w.f,N=r.Symbol,P=r.JSON,F=P&&P.stringify,I=d("_hidden"),M=d("toPrimitive"),R={}.propertyIsEnumerable,A=c("symbol-registry"),L=c("symbols"),U=c("op-symbols"),B=Object.prototype,H="function"==typeof N,K=r.QObject,z=!K||!K.prototype||!K.prototype.findChild,q=a&&l(function(){return 7!=_(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=k(B,t);r&&delete B[t],S(e,t,n),r&&e!==B&&S(B,t,r)}:S,W=function(e){var t=L[e]=_(N.prototype);return t._k=e,t},V=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},$=function(e,t,n){return e===B&&$(U,t,n),b(e),t=C(t,!0),b(n),o(L,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=_(n,{enumerable:E(0,!1)})):(o(e,I)||S(e,I,E(1,{})),e[I][t]=!0),q(e,t,n)):S(e,t,n)},G=function(e,t){b(e);for(var n,r=v(t=D(t)),o=0,a=r.length;a>o;)$(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?_(e):G(_(e),t)},Y=function(e){var t=R.call(this,e=C(e,!0));return!(this===B&&o(L,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,I)&&this[I][e])||t)},X=function(e,t){if(e=D(e),t=C(t,!0),e!==B||!o(L,t)||o(U,t)){var n=k(e,t);return!n||!o(L,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=j(D(e)),r=[],a=0;n.length>a;)o(L,t=n[a++])||t==I||t==s||r.push(t);return r},J=function(e){for(var t,n=e===B,r=j(n?U:D(e)),a=[],i=0;r.length>i;)!o(L,t=r[i++])||n&&!o(B,t)||a.push(L[t]);return a};H||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),q(this,e,E(1,n))};return a&&z&&q(B,e,{configurable:!0,set:t}),W(e)},u(N.prototype,"toString",function(){return this._k}),O.f=X,x.f=$,n(74).f=w.f=Z,n(34).f=Y,n(55).f=J,a&&!n(39)&&u(B,"propertyIsEnumerable",Y,!0),h.f=function(e){return W(d(e))}),i(i.G+i.W+i.F*!H,{Symbol:N});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=T(d.store),re=0;ne.length>re;)m(ne[re++]);i(i.S+i.F*!H,"Symbol",{for:function(e){return o(A,e+="")?A[e]:A[e]=N(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in A)if(A[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+i.F*!H,"Object",{create:Q,defineProperty:$,defineProperties:G,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),P&&i(i.S+i.F*(!H||l(function(){var e=N();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(g(t)||void 0!==e)&&!V(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,F.apply(P,r)}}),N.prototype[M]||n(20)(N.prototype,M,N.prototype.valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(38)("meta"),o=n(18),a=n(22),i=n(17).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(25)(function(){return s(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++u,w:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!a(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},d=function(e){return l&&h.NEED&&s(e)&&!a(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},function(e,t,n){var r=n(28),o=n(55),a=n(34);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,u=n(e),s=a.f,l=0;u.length>l;)s.call(e,i=u[l++])&&t.push(i);return t}},function(e,t,n){var r=n(29);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(23),o=n(74).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?u(e):o(r(e))}},function(e,t,n){n(59)("asyncIterator")},function(e,t,n){n(59)("observable")},function(e,t,n){e.exports={default:n(126),__esModule:!0}},function(e,t,n){n(75),n(64),n(73),n(127),n(134),n(135),e.exports=n(12).Promise},function(e,t,n){"use strict";var r,o,a,i,u=n(39),s=n(9),l=n(31),c=n(76),p=n(14),f=n(18),d=n(37),h=n(128),m=n(129),v=n(77),y=n(78).set,b=n(131)(),g=n(60),D=n(79),C=n(80),E=s.TypeError,_=s.process,w=s.Promise,O="process"==c(_),x=function(){},T=o=g.f,k=!!function(){try{var e=w.resolve(1),t=(e.constructor={})[n(10)("species")]=function(e){e(x,x)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t}catch(e){}}(),S=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,a=0;n.length>a;)!function(t){var n,a,i,u=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{u?(o||(2==e._h&&F(e),e._h=1),!0===u?n=r:(c&&c.enter(),n=u(r),c&&(c.exit(),i=!0)),n===t.promise?l(E("Promise-chain cycle")):(a=S(n))?a.call(n,s,l):s(n)):l(r)}catch(e){c&&!i&&c.exit(),l(e)}}(n[a++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(s,function(){var t,n,r,o=e._v,a=P(e);if(a&&(t=D(function(){O?_.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){y.call(s,function(){var t;O?_.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},I=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},M=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=S(e))?b(function(){var r={_w:n,_d:!1};try{t.call(e,l(M,r,1),l(I,r,1))}catch(e){I.call(r,e)}}):(n._v=e,n._s=1,j(n,!1))}catch(e){I.call({_w:n,_d:!1},e)}}};k||(w=function(e){h(this,w,"Promise","_h"),d(e),r.call(this);try{e(l(M,this,1),l(I,this,1))}catch(e){I.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(132)(w.prototype,{then:function(e,t){var n=T(v(this,w));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(M,e,1),this.reject=l(I,e,1)},g.f=T=function(e){return e===w||e===i?new a(e):o(e)}),p(p.G+p.W+p.F*!k,{Promise:w}),n(40)(w,"Promise"),n(133)("Promise"),i=n(12).Promise,p(p.S+p.F*!k,"Promise",{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(u||!k),"Promise",{resolve:function(e){return C(u&&this===i?w:this,e)}}),p(p.S+p.F*!(k&&n(93)(function(e){w.all(e).catch(x)})),"Promise",{all:function(e){var t=this,n=T(t),r=n.resolve,o=n.reject,a=D(function(){var n=[],a=0,i=1;m(e,!1,function(e){var u=a++,s=!1;n.push(void 0),i++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--i||r(n))},o)}),--i||r(n)});return a.e&&o(a.v),n.promise},race:function(e){var t=this,n=T(t),r=n.reject,o=D(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(31),o=n(90),a=n(91),i=n(15),u=n(63),s=n(92),l={},c={},t=e.exports=function(e,t,n,p,f){var d,h,m,v,y=f?function(){return e}:s(e),b=r(n,p,t?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(d=u(e.length);d>g;g++)if((v=t?b(i(h=e[g])[0],h[1]):b(e[g]))===l||v===c)return v}else for(m=y.call(e);!(h=m.next()).done;)if((v=o(m,b,h.value,t))===l||v===c)return v};t.BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(9),o=n(78).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,u=r.Promise,s="process"==n(29)(i);e.exports=function(){var e,t,n,l=function(){var r,o;for(s&&(r=i.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){i.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var c=u.resolve();n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var p=!0,f=document.createTextNode("");new a(l).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(20);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(9),o=n(12),a=n(17),i=n(21),u=n(10)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];i&&t&&!t[u]&&a.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(14),o=n(12),a=n(9),i=n(77),u=n(80);r(r.P+r.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),o=n(60),a=n(79);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(95),o=n.n(r),a=n(6),i=n.n(a),u=n(1),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(0),b=n.n(y),g=n(5),D=n.n(g),C=n(16),E=n.n(C),_=n(8),w=n(32),O=n(61),x={active:D.a.bool,disabled:D.a.bool,block:D.a.bool,onClick:D.a.func,componentClass:E.a,href:D.a.string,type:D.a.oneOf(["button","reset","submit"])},T={active:!1,block:!1,disabled:!1},k=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.renderAnchor=function(e,t){return b.a.createElement(O.a,s()({},e,{className:v()(t,e.disabled&&"disabled")}))},t.prototype.renderButton=function(e,t){var n=e.componentClass,r=i()(e,["componentClass"]),o=n||"button";return b.a.createElement(o,s()({},r,{type:r.type||"button",className:t}))},t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.block,o=t.className,a=i()(t,["active","block","className"]),u=Object(_.f)(a),l=u[0],c=u[1],p=s()({},Object(_.d)(l),(e={active:n},e[Object(_.e)(l,"block")]=r,e)),f=v()(o,p);return c.href?this.renderAnchor(c,f):this.renderButton(c,f)},t}(b.a.Component);k.propTypes=x,k.defaultProps=T,t.a=Object(_.a)("btn",Object(_.b)([w.c.LARGE,w.c.SMALL,w.c.XSMALL],Object(_.c)([].concat(o()(w.d),[w.e.DEFAULT,w.e.PRIMARY,w.e.LINK]),w.e.DEFAULT,k)))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r="",o="",a=t;if("string"==typeof t){if(void 0===n)return e.style[(0,i.default)(t)]||(0,c.default)(e).getPropertyValue((0,s.default)(t));(a={})[t]=n}Object.keys(a).forEach(function(t){var n=a[t];n||0===n?(0,m.default)(t)?o+=t+"("+n+") ":r+=(0,s.default)(t)+": "+n+";":(0,f.default)(e,(0,s.default)(t))}),o&&(r+=d.transform+": "+o+";"),e.style.cssText+=";"+r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(220),i=r(a),u=n(369),s=r(u),l=n(371),c=r(l),p=n(372),f=r(p),d=n(175),h=n(373),m=r(h);e.exports=t.default},,,,,,,,function(e,t,n){"use strict";function r(e){if("object"!==(void 0===e?"undefined":f(e))||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){function a(){b===y&&(b=y.slice())}function i(){if(g)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return v}function u(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(g)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return a(),b.push(e),function(){if(t){if(g)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,a();var n=b.indexOf(e);b.splice(n,1)}}}function s(e){if(!r(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw new Error("Reducers may not dispatch actions.");try{g=!0,v=m(v,e)}finally{g=!1}for(var t=y=b,n=0;n<t.length;n++){(0,t[n])()}return e}function l(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");m=e,s({type:p.REPLACE})}function d(){var e,t=u;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!==(void 0===e?"undefined":f(e))||null===e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[c.a]=function(){return this},e}var h;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var m=e,v=t,y=[],b=y,g=!1;return s({type:p.INIT}),h={dispatch:s,subscribe:u,getState:i,replaceReducer:l},h[c.a]=d,h}function a(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:p.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+p.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var u=Object.keys(n),s=void 0;try{i(n)}catch(e){s=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},i=0;i<u.length;i++){var l=u[i],c=n[l],p=e[l],f=c(p,t);if(void 0===f){var d=a(l,t);throw new Error(d)}o[l]=f,r=r||f!==p}return r?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function l(e,t){if("function"==typeof e)return s(e,t);if("object"!==(void 0===e?"undefined":f(e))||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":void 0===e?"undefined":f(e))+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var a=n[o],i=e[a];"function"==typeof i&&(r[a]=s(i,t))}return r}n.d(t,"c",function(){return o}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l});var c=n(309),p={INIT:"@@redux/INIT"+Math.random().toString(36).substring(7).split("").join("."),REPLACE:"@@redux/REPLACE"+Math.random().toString(36).substring(7).split("").join(".")},f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.assign},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"g",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"f",function(){return c});var r=n(57),o="SET_EDIT_FORM",a="UNSET_EDIT_FORM",i=function(e,t){return r.e.setForm(e,t)},u=function(e){return{type:o,formId:e}},s=function(){return{type:a}},l="SET_FORM_PRIVACY_SETTINGS",c=function(e){return{type:l,form:e}}},function(e,t,n){"use strict";function r(e,t){var n=e.forms,r=Object(u.b)(e,t.form.ID);return-1<=r?n.splice(r,1,t.form):n.push(t.form),i()({},e,{forms:n})}function o(e,t){return i()({},e,{forms:t.forms})}t.a=r,t.b=o;var a=n(1),i=n.n(a),u=n(89)},function(e,t,n){e.exports=n(171)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(125),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return function(){var t=e.apply(this,arguments);return new o.default(function(e,n){function r(a,i){try{var u=t[a](i),s=u.value}catch(e){return void n(e)}if(!u.done)return o.default.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}},function(e,t,n){"use strict";function r(e){function t(t,n,r,o,a,i){var u=o||"<<anonymous>>",s=i||r;if(null==n[r])return t?new Error("Required "+a+" `"+s+"` was not specified in `"+u+"`."):null;for(var l=arguments.length,c=Array(l>6?l-6:0),p=6;p<l;p++)c[p-6]=arguments[p];return e.apply(void 0,[n,r,u,a,s].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(){function e(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=null;return n.forEach(function(e){if(null==o){var n=e.apply(void 0,t);null!=n&&(o=n)}}),o}for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,a.default)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(150),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(223),v=n.n(m),y=n(97),b=n.n(y),g=n(178),D=n.n(g),C=n(0),E=n.n(C),_=n(5),w=n.n(_),O=n(35),x=n.n(O),T=n(151),k=n.n(T),S=n(16),j=n.n(S),N=n(153),P=n.n(N),F=n(83),I=n.n(F),M=n(44),R=(n.n(M),n(174)),A=n(379),L=n(226),U=n(8),B=n(26),H=n(217),K=n(41),z=L.a.defaultProps.bsRole,q=A.a.defaultProps.bsRole,W={dropup:w.a.bool,id:P()(w.a.oneOfType([w.a.string,w.a.number])),componentClass:j.a,children:k()(Object(H.c)(z,q),Object(H.a)(q)),disabled:w.a.bool,pullRight:w.a.bool,open:w.a.bool,defaultOpen:w.a.bool,onToggle:w.a.func,onSelect:w.a.func,role:w.a.string,rootCloseEvent:w.a.oneOf(["click","mousedown"]),onMouseEnter:w.a.func,onMouseLeave:w.a.func},V={componentClass:R.a},$=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleClose=o.handleClose.bind(o),o._focusInDropdown=!1,o.lastOpenEventType=null,o}return f()(t,e),t.prototype.componentDidMount=function(){this.focusNextOnOpen()},t.prototype.componentWillUpdate=function(e){!e.open&&this.props.open&&(this._focusInDropdown=b()(x.a.findDOMNode(this.menu),v()(document)))},t.prototype.componentDidUpdate=function(e){var t=this.props.open,n=e.open;t&&!n&&this.focusNextOnOpen(),!t&&n&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},t.prototype.focus=function(){var e=x.a.findDOMNode(this.toggle);e&&e.focus&&e.focus()},t.prototype.focusNextOnOpen=function(){var e=this.menu;e.focusNext&&("keydown"!==this.lastOpenEventType&&"menuitem"!==this.props.role||e.focusNext())},t.prototype.handleClick=function(e){this.props.disabled||this.toggleOpen(e,{source:"click"})},t.prototype.handleClose=function(e,t){this.props.open&&this.toggleOpen(e,t)},t.prototype.handleKeyDown=function(e){if(!this.props.disabled)switch(e.keyCode){case D.a.codes.down:this.props.open?this.menu.focusNext&&this.menu.focusNext():this.toggleOpen(e,{source:"keydown"}),e.preventDefault();break;case D.a.codes.esc:case D.a.codes.tab:this.handleClose(e,{source:"keydown"})}},t.prototype.toggleOpen=function(e,t){var n=!this.props.open;n&&(this.lastOpenEventType=t.source),this.props.onToggle&&this.props.onToggle(n,e,t)},t.prototype.renderMenu=function(e,t){var n=this,r=t.id,a=t.onSelect,u=t.rootCloseEvent,s=i()(t,["id","onSelect","rootCloseEvent"]),l=function(e){n.menu=e};return"string"==typeof e.ref||(l=Object(B.a)(e.ref,l)),Object(C.cloneElement)(e,o()({},s,{ref:l,labelledBy:r,bsClass:Object(U.e)(s,"menu"),onClose:Object(B.a)(e.props.onClose,this.handleClose),onSelect:Object(B.a)(e.props.onSelect,a,function(e,t){return n.handleClose(t,{source:"select"})}),rootCloseEvent:u}))},t.prototype.renderToggle=function(e,t){var n=this,r=function(e){n.toggle=e};return"string"==typeof e.ref||(r=Object(B.a)(e.ref,r)),Object(C.cloneElement)(e,o()({},t,{ref:r,bsClass:Object(U.e)(t,"toggle"),onClick:Object(B.a)(e.props.onClick,this.handleClick),onKeyDown:Object(B.a)(e.props.onKeyDown,this.handleKeyDown)}))},t.prototype.render=function(){var e,t=this,n=this.props,r=n.componentClass,a=n.id,u=n.dropup,s=n.disabled,l=n.pullRight,c=n.open,p=n.onSelect,f=n.role,d=n.bsClass,m=n.className,v=n.rootCloseEvent,y=n.children,b=i()(n,["componentClass","id","dropup","disabled","pullRight","open","onSelect","role","bsClass","className","rootCloseEvent","children"]);delete b.onToggle;var g=(e={},e[d]=!0,e.open=c,e.disabled=s,e);return u&&(g[d]=!1,g.dropup=!0),E.a.createElement(r,o()({},b,{className:h()(m,g)}),K.a.map(y,function(e){switch(e.props.bsRole){case z:return t.renderToggle(e,{id:a,disabled:s,open:c,role:f,bsClass:d});case q:return t.renderMenu(e,{id:a,open:c,pullRight:l,bsClass:d,onSelect:p,rootCloseEvent:v});default:return e}}))},t}(E.a.Component);$.propTypes=W,$.defaultProps=V,Object(U.a)("dropdown",$);var G=I()($,{open:"onToggle"});G.Toggle=L.a,G.Menu=A.a,t.a=G},function(e,t,n){"use strict";function r(e){return function(t,n,r,o,a){var i=r||"<<anonymous>>",u=a||n;if(null==t[n])return new Error("The "+o+" `"+u+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,l=Array(s>5?s-5:0),c=5;c<s;c++)l[c-5]=arguments[c];return e.apply(void 0,[t,n,r,o,a].concat(l))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=t.propTypes,r={},o={};return a()(e).forEach(function(e){var t=e[0],a=e[1];n[t]?r[t]=a:o[t]=a}),[r,o]}t.a=r;var o=n(215),a=n.n(o)},function(e,t,n){"use strict";var r,o=n(1),a=n.n(o),i=n(6),u=n.n(i),s=n(2),l=n.n(s),c=n(3),p=n.n(c),f=n(4),d=n.n(f),h=n(7),m=n.n(h),v=n(0),y=n.n(v),b=n(5),g=n.n(b),D=n(222),C=n.n(D),E={in:g.a.bool,mountOnEnter:g.a.bool,unmountOnExit:g.a.bool,appear:g.a.bool,timeout:g.a.number,onEnter:g.a.func,onEntering:g.a.func,onEntered:g.a.func,onExit:g.a.func,onExiting:g.a.func,onExited:g.a.func},_={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},w=(r={},r[D.ENTERING]="in",r[D.ENTERED]="in",r),O=function(e){function t(){return l()(this,t),p()(this,e.apply(this,arguments))}return d()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=u()(e,["className","children"]);return y.a.createElement(C.a,r,function(e,r){return y.a.cloneElement(n,a()({},r,{className:m()("fade",t,n.props.className,w[e])}))})},t}(y.a.Component);O.propTypes=E,O.defaultProps=_,t.a=O},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(398),D=n(399),C=n(400),E=n(401),_=n(402),w=n(403),O=n(8),x={componentClass:b.a},T={componentClass:"div"},k=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(O.f)(r),u=a[0],s=a[1],l=Object(O.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);k.propTypes=x,k.defaultProps=T,k.Heading=D.a,k.Body=g.a,k.Left=C.a,k.Right=w.a,k.List=E.a,k.ListItem=_.a,t.a=Object(O.a)("media",k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=e[t],s=void 0===i?"undefined":a(i);return u.default.isValidElement(i)?new Error("Invalid "+r+" `"+o+"` of type ReactElement supplied to `"+n+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===s&&"function"==typeof i.render||1===i.nodeType?null:new Error("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+n+"`, expected a ReactComponent or a DOMElement.")}Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),u=r(i),s=n(150),l=r(s);t.default=(0,l.default)(o),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e="function"==typeof e?e():e,a.default.findDOMNode(e)||t}t.__esModule=!0,t.default=r;var o=n(35),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){e.exports={default:n(184),__esModule:!0}},,,,,,,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return c});var r=n(148),o=n.n(r),a=n(149),i=n.n(a),u=n(87),s=function(){var e=i()(o.a.mark(function e(t){var n;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiRequest({url:""+u.a.api.form+t+"?preview=false",method:"GET",cache:!0});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=i()(o.a.mark(function e(t){var n;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiRequest({url:""+u.a.api.form+t+"?privacy=true",method:"GET",cache:!0});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=i()(o.a.mark(function e(t,n){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiRequest({url:""+u.a.api.form+n+"/privacy",method:"POST",data:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,a=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(172),o)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var a=t&&t.prototype instanceof o?t:o,i=Object.create(a.prototype),u=new d(r||[]);return i._invoke=l(e,n,u),i}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function i(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,o,a,i){var u=r(e[n],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&b.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(l).then(function(e){s.value=e,a(s)},i)}i(u.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function l(e,t,n){var o=O;return function(a,i){if(o===T)throw new Error("Generator is already running");if(o===k){if("throw"===a)throw i;return m()}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var s=c(u,n);if(s){if(s===S)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?k:x,l.arg===S)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=k,n.method="throw",n.arg=l.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,c(e,t),"throw"===t.method))return S;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,S;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=v),t.delegate=null,S):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function h(e){if(e){var t=e[D];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(b.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=v,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,y=Object.prototype,b=y.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},D=g.iterator||"@@iterator",C=g.asyncIterator||"@@asyncIterator",E=g.toStringTag||"@@toStringTag",_="object"==typeof e,w=t.regeneratorRuntime;if(w)return void(_&&(e.exports=w));w=t.regeneratorRuntime=_?e.exports:{},w.wrap=n;var O="suspendedStart",x="suspendedYield",T="executing",k="completed",S={},j={};j[D]=function(){return this};var N=Object.getPrototypeOf,P=N&&N(N(h([])));P&&P!==y&&b.call(P,D)&&(j=P);var F=i.prototype=o.prototype=Object.create(j);a.prototype=F.constructor=i,i.constructor=a,i[E]=a.displayName="GeneratorFunction",w.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},w.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(F),e},w.awrap=function(e){return{__await:e}},u(s.prototype),s.prototype[C]=function(){return this},w.AsyncIterator=s,w.async=function(e,t,r,o){var a=new s(n(e,t,r,o));return w.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},u(F),F[E]="Generator",F[D]=function(){return this},F.toString=function(){return"[object Generator]"},w.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},w.values=h,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,r&&(n.method="next",n.arg=v),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=b.call(o,"catchLoc"),u=b.call(o,"finallyLoc");if(i&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),S},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=v),S}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";var r=n(2),o=n.n(r),a=n(3),i=n.n(a),u=n(4),s=n.n(u),l=n(5),c=n.n(l),p=n(0),f=n.n(p),d={label:c.a.string.isRequired,onClick:c.a.func},h={label:"Close"},m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.onClick;return f.a.createElement("button",{type:"button",className:"close",onClick:n},f.a.createElement("span",{"aria-hidden":"true"},"×"),f.a.createElement("span",{className:"sr-only"},t))},t}(f.a.Component);m.propTypes=d,m.defaultProps=h,t.a=m},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(151),D=n.n(g),C=n(136),E=n(8),_={vertical:b.a.bool,justified:b.a.bool,block:D()(b.a.bool,function(e){var t=e.block,n=e.vertical;return t&&!n?new Error("`block` requires `vertical` to be set to have any effect"):null})},w={block:!1,justified:!1,vertical:!1},O=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.block,r=t.justified,a=t.vertical,u=t.className,s=i()(t,["block","justified","vertical","className"]),l=Object(E.f)(s),c=l[0],p=l[1],f=o()({},Object(E.d)(c),(e={},e[Object(E.e)(c)]=!a,e[Object(E.e)(c,"vertical")]=a,e[Object(E.e)(c,"justified")]=r,e[Object(E.e)(C.a.defaultProps,"block")]=n,e));return v.a.createElement("div",o()({},p,{className:h()(u,f)}))},t}(v.a.Component);O.propTypes=_,O.defaultProps=w,t.a=Object(E.a)("btn-group",O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r=n(81),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a="transform",i=void 0,u=void 0,s=void 0,l=void 0,c=void 0,p=void 0,f=void 0,d=void 0,h=void 0,m=void 0,v=void 0;if(o.default){var y=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,o=void 0,a="",i=0;i<n.length;i++){var u=n[i];if(u+"TransitionProperty"in e){a="-"+u.toLowerCase(),r=t[u]("TransitionEnd"),o=t[u]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!o&&"animationName"in e&&(o="animationend"),e=null,{animationEnd:o,transitionEnd:r,prefix:a}}();i=y.prefix,t.transitionEnd=u=y.transitionEnd,t.animationEnd=s=y.animationEnd,t.transform=a=i+"-"+a,t.transitionProperty=l=i+"-transition-property",t.transitionDuration=c=i+"-transition-duration",t.transitionDelay=f=i+"-transition-delay",t.transitionTiming=p=i+"-transition-timing-function",t.animationName=d=i+"-animation-name",t.animationDuration=h=i+"-animation-duration",t.animationTiming=m=i+"-animation-delay",t.animationDelay=v=i+"-animation-timing-function"}t.transform=a,t.transitionProperty=l,t.transitionTiming=p,t.transitionDelay=f,t.transitionDuration=c,t.transitionEnd=u,t.animationName=d,t.animationDuration=h,t.animationTiming=m,t.animationDelay=v,t.animationEnd=s,t.default={transform:a,end:u,property:l,timing:p,delay:f,duration:c}},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={glyph:b.a.string.isRequired},C=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.glyph,r=t.className,a=i()(t,["glyph","className"]),u=Object(g.f)(a),s=u[0],l=u[1],c=o()({},Object(g.d)(s),(e={},e[Object(g.e)(s,n)]=!0,e));return v.a.createElement("span",o()({},l,{className:h()(r,c)}))},t}(v.a.Component);C.propTypes=D,t.a=Object(g.a)("glyphicon",C)},function(e,t,n){"use strict";function r(e){e.offsetHeight}function o(e,t){var n=t["offset"+Object(x.a)(e)],r=k[e];return n+parseInt(g()(t,r[0]),10)+parseInt(g()(t,r[1]),10)}var a,i=n(1),u=n.n(i),s=n(6),l=n.n(s),c=n(2),p=n.n(c),f=n(3),d=n.n(f),h=n(4),m=n.n(h),v=n(7),y=n.n(v),b=n(137),g=n.n(b),D=n(0),C=n.n(D),E=n(5),_=n.n(E),w=n(222),O=n.n(w),x=n(221),T=n(26),k={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]},S=(a={},a[w.EXITED]="collapse",a[w.EXITING]="collapsing",a[w.ENTERING]="collapsing",a[w.ENTERED]="collapse in",a),j={in:_.a.bool,mountOnEnter:_.a.bool,unmountOnExit:_.a.bool,appear:_.a.bool,timeout:_.a.number,onEnter:_.a.func,onEntering:_.a.func,onEntered:_.a.func,onExit:_.a.func,onExiting:_.a.func,onExited:_.a.func,dimension:_.a.oneOfType([_.a.oneOf(["height","width"]),_.a.func]),getDimensionValue:_.a.func,role:_.a.string},N={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,dimension:"height",getDimensionValue:o},P=function(e){function t(){var n,o,a;p()(this,t);for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return n=o=d()(this,e.call.apply(e,[this].concat(u))),o.handleEnter=function(e){e.style[o.getDimension()]="0"},o.handleEntering=function(e){var t=o.getDimension();e.style[t]=o._getScrollDimensionValue(e,t)},o.handleEntered=function(e){e.style[o.getDimension()]=null},o.handleExit=function(e){var t=o.getDimension();e.style[t]=o.props.getDimensionValue(t,e)+"px",r(e)},o.handleExiting=function(e){e.style[o.getDimension()]="0"},a=n,d()(o,a)}return m()(t,e),t.prototype.getDimension=function(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},t.prototype._getScrollDimensionValue=function(e,t){return e["scroll"+Object(x.a)(t)]+"px"},t.prototype.render=function(){var e=this,t=this.props,n=t.onEnter,r=t.onEntering,o=t.onEntered,a=t.onExit,i=t.onExiting,s=t.className,c=t.children,p=l()(t,["onEnter","onEntering","onEntered","onExit","onExiting","className","children"]);delete p.dimension,delete p.getDimensionValue;var f=Object(T.a)(this.handleEnter,n),d=Object(T.a)(this.handleEntering,r),h=Object(T.a)(this.handleEntered,o),m=Object(T.a)(this.handleExit,a),v=Object(T.a)(this.handleExiting,i);return C.a.createElement(O.a,u()({},p,{"aria-expanded":p.role?p.in:null,onEnter:f,onEntering:d,onEntered:h,onExit:m,onExiting:v}),function(t,n){return C.a.cloneElement(c,u()({},n,{className:y()(s,c.props.className,S[t],"width"===e.getDimension()&&"width")}))})},t}(C.a.Component);P.propTypes=j,P.defaultProps=N,t.a=P},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var n=String(e),a=r[n.toLowerCase()];if(a)return a;var a=o[n.toLowerCase()];return a||(1===n.length?n.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"==typeof t){var a=r[t.toLowerCase()];if(a)return a===n;var a=o[t.toLowerCase()];if(a)return a===n}else if("number"==typeof t)return t===n;return!1}},t=e.exports=n;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
7
- * Programatically add the following
8
- */
9
- for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var i=t.names=t.title={};for(a in r)i[r[a]]=a;for(var u in o)r[u]=o[u]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){};o.default&&(a=function(){return document.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent("on"+t,function(t){t=t||window.event,t.target=t.target||t.srcElement,t.currentTarget=e,n.call(e,t)})}:void 0}()),t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(81),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){};o.default&&(a=function(){return document.addEventListener?function(e,t,n,r){return e.removeEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.detachEvent("on"+t,n)}:void 0}()),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=e[t],s=void 0===i?"undefined":a(i);return u.default.isValidElement(i)?new Error("Invalid "+r+" `"+o+"` of type ReactElement supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):"function"!==s&&"string"!==s?new Error("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):null}t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(0),u=r(i),s=n(442),l=r(s);t.default=(0,l.default)(o)},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(0),f=n.n(p),d=n(5),h=n.n(d),m=n(83),v=n.n(m),y=h.a.oneOfType([h.a.string,h.a.number]),b={id:function(e){var t=null;if(!e.generateChildId){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=y.apply(void 0,[e].concat(r)),t||e.id||(t=new Error("In order to properly initialize Tabs in a way that is accessible to assistive technologies (such as screen readers) an `id` or a `generateChildId` prop to TabContainer is required"))}return t},generateChildId:h.a.func,onSelect:h.a.func,activeKey:h.a.any},g={$bs_tabContainer:h.a.shape({activeKey:h.a.any,onSelect:h.a.func.isRequired,getTabId:h.a.func.isRequired,getPaneId:h.a.func.isRequired})},D=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.activeKey,n=e.onSelect,r=e.generateChildId,o=e.id,a=r||function(e,t){return o?o+"-"+t+"-"+e:null};return{$bs_tabContainer:{activeKey:t,onSelect:n,getTabId:function(e){return a(e,"tab")},getPaneId:function(e){return a(e,"pane")}}}},t.prototype.render=function(){var e=this.props,t=e.children,n=o()(e,["children"]);return delete n.generateChildId,delete n.onSelect,delete n.activeKey,f.a.cloneElement(f.a.Children.only(t),n)},t}(f.a.Component);D.propTypes=b,D.childContextTypes=g,t.a=v()(D,{activeKey:"onSelect"})},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(8),E={componentClass:D.a,animation:b.a.oneOfType([b.a.bool,D.a]),mountOnEnter:b.a.bool,unmountOnExit:b.a.bool},_={componentClass:"div",animation:!0,mountOnEnter:!1,unmountOnExit:!1},w={$bs_tabContainer:b.a.shape({activeKey:b.a.any})},O={$bs_tabContent:b.a.shape({bsClass:b.a.string,animation:b.a.oneOfType([b.a.bool,D.a]),activeKey:b.a.any,mountOnEnter:b.a.bool,unmountOnExit:b.a.bool,onPaneEnter:b.a.func.isRequired,onPaneExited:b.a.func.isRequired,exiting:b.a.bool.isRequired})},x=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handlePaneEnter=o.handlePaneEnter.bind(o),o.handlePaneExited=o.handlePaneExited.bind(o),o.state={activeKey:null,activeChild:null},o}return f()(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.bsClass,n=e.animation,r=e.mountOnEnter,o=e.unmountOnExit,a=this.state.activeKey,i=this.getContainerActiveKey(),u=null!=a?a:i,s=null!=a&&a!==i;return{$bs_tabContent:{bsClass:t,animation:n,activeKey:u,mountOnEnter:r,unmountOnExit:o,onPaneEnter:this.handlePaneEnter,onPaneExited:this.handlePaneExited,exiting:s}}},t.prototype.componentWillReceiveProps=function(e){!e.animation&&this.state.activeChild&&this.setState({activeKey:null,activeChild:null})},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.getContainerActiveKey=function(){var e=this.context.$bs_tabContainer;return e&&e.activeKey},t.prototype.handlePaneEnter=function(e,t){return!!this.props.animation&&(t===this.getContainerActiveKey()&&(this.setState({activeKey:t,activeChild:e}),!0))},t.prototype.handlePaneExited=function(e){this.isUnmounted||this.setState(function(t){return t.activeChild!==e?null:{activeKey:null,activeChild:null}})},t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(C.g)(r,["animation","mountOnEnter","unmountOnExit"]),u=a[0],s=a[1];return v.a.createElement(t,o()({},s,{className:h()(n,Object(C.e)(u,"content"))}))},t}(v.a.Component);x.propTypes=E,x.defaultProps=_,x.contextTypes=w,x.childContextTypes=O,t.a=Object(C.a)("tab",x)},function(e,t,n){n(185),e.exports=n(12).Object.keys},function(e,t,n){var r=n(56),o=n(28);n(186)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(14),o=n(12),a=n(25);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
10
- object-assign
11
- (c) Sindre Sorhus
12
- @license MIT
13
- */
14
- var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,s=r(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var c in n)a.call(n,c)&&(s[c]=n[c]);if(o){u=o(n);for(var p=0;p<u.length;p++)i.call(n,u[p])&&(s[u[p]]=n[u[p]])}}return s}},function(e,t,n){"use strict";function r(e,t,n,r,a,i,u,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,u,s],p=0;l=new Error(t.replace(/%s/g,function(){return c[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(312),o=(n(208),n(317));n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i});var r=n(5),o=n.n(r),a=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),i=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function s(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function l(e){var t,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.getDisplayName,f=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,D=l.methodName,C=void 0===D?"connectAdvanced":D,E=l.renderCountProp,_=void 0===E?void 0:E,w=l.shouldHandleStateChanges,O=void 0===w||w,x=l.storeKey,T=void 0===x?"store":x,k=l.withRef,S=void 0!==k&&k,j=i(l,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),N=T+"Subscription",P=b++,F=(t={},t[T]=v.a,t[N]=v.b,t),I=(n={},n[N]=v.b,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by "+C+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",i=f(n),l=y({},j,{getDisplayName:f,methodName:C,renderCountProp:_,shouldHandleStateChanges:O,storeKey:T,withRef:S,displayName:i,wrappedComponentName:n,WrappedComponent:t}),c=function(n){function c(e,t){r(this,c);var a=o(this,n.call(this,e,t));return a.version=P,a.state={},a.renderCount=0,a.store=e[T]||t[T],a.propsMode=Boolean(e[T]),a.setWrappedInstance=a.setWrappedInstance.bind(a),d()(a.store,'Could not find "'+T+'" in either the context or props of "'+i+'". Either wrap the root component in a <Provider>, or explicitly pass "'+T+'" as a prop to "'+i+'".'),a.initSelector(),a.initSubscription(),a}return a(c,n),c.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[N]=t||this.context[N],e},c.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},c.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},c.prototype.getWrappedInstance=function(){return d()(S,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+C+"() call."),this.wrappedInstance},c.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},c.prototype.initSelector=function(){var t=e(this.store.dispatch,l);this.selector=s(t,this.store),this.selector.run(this.props)},c.prototype.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[N];this.subscription=new m.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(g)):this.notifyNestedSubs()},c.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.prototype.addExtraProps=function(e){if(!(S||_||this.propsMode&&this.subscription))return e;var t=y({},e);return S&&(t.ref=this.setWrappedInstance),_&&(t[_]=this.renderCount++),this.propsMode&&this.subscription&&(t[N]=this.subscription),t},c.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(h.createElement)(t,this.addExtraProps(e.props))},c}(h.Component);return c.WrappedComponent=t,c.displayName=i,c.childContextTypes=I,c.contextTypes=F,c.propTypes=F,p()(c,t)}}t.a=l;var c=n(315),p=n.n(c),f=n(85),d=n.n(f),h=n(0),m=(n.n(h),n(316)),v=n(207),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=0,g={}},function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var a=r(t,n);return"function"==typeof a&&(r.mapToProps=a,r.dependsOnOwnProps=o(a),a=r(t,n)),a},r}}t.a=r,t.b=a;n(210)},function(e,t,n){"use strict";n(320),n(168)},function(e,t,n){"use strict";var r=n(322),o=r.a.Symbol;t.a=o},function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function o(e){return function(t){return null==t?void 0:t[e]}}function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function i(e,t){return null==e?void 0:e[t]}function u(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function s(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function l(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function c(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=zt?zt(null):{}}function f(e){return this.has(e)&&delete this.__data__[e]}function d(e){var t=this.__data__;if(zt){var n=t[e];return n===Ue?void 0:n}return jt.call(t,e)?t[e]:void 0}function h(e){var t=this.__data__;return zt?void 0!==t[e]:jt.call(t,e)}function m(e,t){return this.__data__[e]=zt&&void 0===t?Ue:t,this}function v(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function y(){this.__data__=[]}function b(e){var t=this.__data__,n=L(t,e);return!(n<0)&&(n==t.length-1?t.pop():Rt.call(t,n,1),!0)}function g(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]}function D(e){return L(this.__data__,e)>-1}function C(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _(){this.__data__={hash:new c,map:new(Ut||v),string:new c}}function w(e){return ae(this,e).delete(e)}function O(e){return ae(this,e).get(e)}function x(e){return ae(this,e).has(e)}function T(e,t){return ae(this,e).set(e,t),this}function k(e){var t=-1,n=e?e.length:0;for(this.__data__=new E;++t<n;)this.add(e[t])}function S(e){return this.__data__.set(e,Ue),this}function j(e){return this.__data__.has(e)}function N(e){this.__data__=new v(e)}function P(){this.__data__=new v}function F(e){return this.__data__.delete(e)}function I(e){return this.__data__.get(e)}function M(e){return this.__data__.has(e)}function R(e,t){var n=this.__data__;if(n instanceof v){var r=n.__data__;if(!Ut||r.length<Ae-1)return r.push([e,t]),this;n=this.__data__=new E(r)}return n.set(e,t),this}function A(e,t){var n=en(e)||_e(e)?a(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!jt.call(e,i)||o&&("length"==i||le(i,r))||n.push(i);return n}function L(e,t){for(var n=e.length;n--;)if(Ee(e[n][0],t))return n;return-1}function U(e,t){t=ce(t,e)?[t]:te(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ye(t[n++])];return n&&n==r?e:void 0}function B(e){return Nt.call(e)}function H(e,t){return null!=e&&t in Object(e)}function K(e,t,n,r,o){return e===t||(null==e||null==t||!ke(e)&&!Se(t)?e!==e&&t!==t:z(e,t,K,n,r,o))}function z(e,t,n,r,o,a){var i=en(e),s=en(t),l=We,c=We;i||(l=Zt(e),l=l==qe?Je:l),s||(c=Zt(t),c=c==qe?Je:c);var p=l==Je&&!u(e),f=c==Je&&!u(t),d=l==c;if(d&&!p)return a||(a=new N),i||tn(e)?ne(e,t,n,r,o,a):re(e,t,l,n,r,o,a);if(!(o&He)){var h=p&&jt.call(e,"__wrapped__"),m=f&&jt.call(t,"__wrapped__");if(h||m){var v=h?e.value():e,y=m?t.value():t;return a||(a=new N),n(v,y,r,o,a)}}return!!d&&(a||(a=new N),oe(e,t,n,r,o,a))}function q(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return!a;for(e=Object(e);o--;){var u=n[o];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){u=n[o];var s=u[0],l=e[s],c=u[1];if(i&&u[2]){if(void 0===l&&!(s in e))return!1}else{var p=new N;if(r)var f=r(l,c,s,e,t,p);if(!(void 0===f?K(c,l,r,Be|He,p):f))return!1}}return!0}function W(e){return!(!ke(e)||fe(e))&&(xe(e)||u(e)?Pt:ft).test(be(e))}function V(e){return Se(e)&&Te(e.length)&&!!ht[Nt.call(e)]}function $(e){return"function"==typeof e?e:null==e?Me:"object"==typeof e?en(e)?Y(e[0],e[1]):Q(e):Re(e)}function G(e){if(!de(e))return At(e);var t=[];for(var n in Object(e))jt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Q(e){var t=ie(e);return 1==t.length&&t[0][2]?me(t[0][0],t[0][1]):function(n){return n===e||q(n,e,t)}}function Y(e,t){return ce(e)&&he(t)?me(ye(e),t):function(n){var r=Pe(n,e);return void 0===r&&r===t?Fe(n,e):K(t,r,void 0,Be|He)}}function X(e){return function(t){return U(t,e)}}function Z(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==a){var a=o;if(le(o))Rt.call(e,o,1);else if(ce(o,e))delete e[ye(o)];else{var i=te(o),u=ve(e,i);null!=u&&delete u[ye(ge(i))]}}}return e}function J(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}function ee(e){if("string"==typeof e)return e;if(je(e))return Xt?Xt.call(e):"";var t=e+"";return"0"==t&&1/e==-Ke?"-0":t}function te(e){return en(e)?e:Jt(e)}function ne(e,t,n,o,a,i){var u=a&He,s=e.length,l=t.length;if(s!=l&&!(u&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var p=-1,f=!0,d=a&Be?new k:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],m=t[p];if(o)var v=u?o(m,h,p,t,e,i):o(h,m,p,e,t,i);if(void 0!==v){if(v)continue;f=!1;break}if(d){if(!r(t,function(e,t){if(!d.has(t)&&(h===e||n(h,e,o,a,i)))return d.add(t)})){f=!1;break}}else if(h!==m&&!n(h,m,o,a,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function re(e,t,n,r,o,a,i){switch(n){case at:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ot:return!(e.byteLength!=t.byteLength||!r(new It(e),new It(t)));case Ve:case $e:case Ze:return Ee(+e,+t);case Ge:return e.name==t.name&&e.message==t.message;case et:case nt:return e==t+"";case Xe:var u=s;case tt:var c=a&He;if(u||(u=l),e.size!=t.size&&!c)return!1;var p=i.get(e);if(p)return p==t;a|=Be,i.set(e,t);var f=ne(u(e),u(t),r,o,a,i);return i.delete(e),f;case rt:if(Yt)return Yt.call(e)==Yt.call(t)}return!1}function oe(e,t,n,r,o,a){var i=o&He,u=Ie(e),s=u.length;if(s!=Ie(t).length&&!i)return!1;for(var l=s;l--;){var c=u[l];if(!(i?c in t:jt.call(t,c)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var f=!0;a.set(e,t),a.set(t,e);for(var d=i;++l<s;){c=u[l];var h=e[c],m=t[c];if(r)var v=i?r(m,h,c,t,e,a):r(h,m,c,e,t,a);if(!(void 0===v?h===m||n(h,m,r,o,a):v)){f=!1;break}d||(d="constructor"==c)}if(f&&!d){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(f=!1)}return a.delete(e),a.delete(t),f}function ae(e,t){var n=e.__data__;return pe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e){for(var t=Ie(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,he(o)]}return t}function ue(e,t){var n=i(e,t);return W(n)?n:void 0}function se(e,t,n){t=ce(t,e)?[t]:te(t);for(var r,o=-1,a=t.length;++o<a;){var i=ye(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}if(r)return r;var a=e?e.length:0;return!!a&&Te(a)&&le(i,a)&&(en(e)||_e(e))}function le(e,t){return!!(t=null==t?ze:t)&&("number"==typeof e||dt.test(e))&&e>-1&&e%1==0&&e<t}function ce(e,t){if(en(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!je(e))||(ut.test(e)||!it.test(e)||null!=t&&e in Object(t))}function pe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function fe(e){return!!kt&&kt in e}function de(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xt)}function he(e){return e===e&&!ke(e)}function me(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ve(e,t){return 1==t.length?e:U(e,J(t,0,-1))}function ye(e){if("string"==typeof e||je(e))return e;var t=e+"";return"0"==t&&1/e==-Ke?"-0":t}function be(e){if(null!=e){try{return St.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ge(e){var t=e?e.length:0;return t?e[t-1]:void 0}function De(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=$(t,3);++r<a;){var i=e[r];t(i,r,e)&&(n.push(i),o.push(r))}return Z(e,o),n}function Ce(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(Le);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(Ce.Cache||E),n}function Ee(e,t){return e===t||e!==e&&t!==t}function _e(e){return Oe(e)&&jt.call(e,"callee")&&(!Mt.call(e,"callee")||Nt.call(e)==qe)}function we(e){return null!=e&&Te(e.length)&&!xe(e)}function Oe(e){return Se(e)&&we(e)}function xe(e){var t=ke(e)?Nt.call(e):"";return t==Qe||t==Ye}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ze}function ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Se(e){return!!e&&"object"==typeof e}function je(e){return"symbol"==typeof e||Se(e)&&Nt.call(e)==rt}function Ne(e){return null==e?"":ee(e)}function Pe(e,t,n){var r=null==e?void 0:U(e,t);return void 0===r?n:r}function Fe(e,t){return null!=e&&se(e,t,H)}function Ie(e){return we(e)?A(e):G(e)}function Me(e){return e}function Re(e){return ce(e)?o(ye(e)):X(e)}var Ae=200,Le="Expected a function",Ue="__lodash_hash_undefined__",Be=1,He=2,Ke=1/0,ze=9007199254740991,qe="[object Arguments]",We="[object Array]",Ve="[object Boolean]",$e="[object Date]",Ge="[object Error]",Qe="[object Function]",Ye="[object GeneratorFunction]",Xe="[object Map]",Ze="[object Number]",Je="[object Object]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",ot="[object ArrayBuffer]",at="[object DataView]",it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/,st=/^\./,lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ct=/[\\^$.*+?()[\]{}|]/g,pt=/\\(\\)?/g,ft=/^\[object .+?Constructor\]$/,dt=/^(?:0|[1-9]\d*)$/,ht={};ht["[object Float32Array]"]=ht["[object Float64Array]"]=ht["[object Int8Array]"]=ht["[object Int16Array]"]=ht["[object Int32Array]"]=ht["[object Uint8Array]"]=ht["[object Uint8ClampedArray]"]=ht["[object Uint16Array]"]=ht["[object Uint32Array]"]=!0,ht[qe]=ht[We]=ht[ot]=ht[Ve]=ht[at]=ht[$e]=ht[Ge]=ht[Qe]=ht[Xe]=ht[Ze]=ht[Je]=ht[et]=ht[tt]=ht[nt]=ht["[object WeakMap]"]=!1;var mt="object"==typeof e&&e&&e.Object===Object&&e,vt="object"==typeof self&&self&&self.Object===Object&&self,yt=mt||vt||Function("return this")(),bt="object"==typeof t&&t&&!t.nodeType&&t,gt=bt&&"object"==typeof n&&n&&!n.nodeType&&n,Dt=gt&&gt.exports===bt,Ct=Dt&&mt.process,Et=function(){try{return Ct&&Ct.binding("util")}catch(e){}}(),_t=Et&&Et.isTypedArray,wt=Array.prototype,Ot=Function.prototype,xt=Object.prototype,Tt=yt["__core-js_shared__"],kt=function(){var e=/[^.]+$/.exec(Tt&&Tt.keys&&Tt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),St=Ot.toString,jt=xt.hasOwnProperty,Nt=xt.toString,Pt=RegExp("^"+St.call(jt).replace(ct,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=yt.Symbol,It=yt.Uint8Array,Mt=xt.propertyIsEnumerable,Rt=wt.splice,At=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Lt=ue(yt,"DataView"),Ut=ue(yt,"Map"),Bt=ue(yt,"Promise"),Ht=ue(yt,"Set"),Kt=ue(yt,"WeakMap"),zt=ue(Object,"create"),qt=be(Lt),Wt=be(Ut),Vt=be(Bt),$t=be(Ht),Gt=be(Kt),Qt=Ft?Ft.prototype:void 0,Yt=Qt?Qt.valueOf:void 0,Xt=Qt?Qt.toString:void 0;c.prototype.clear=p,c.prototype.delete=f,c.prototype.get=d,c.prototype.has=h,c.prototype.set=m,v.prototype.clear=y,v.prototype.delete=b,v.prototype.get=g,v.prototype.has=D,v.prototype.set=C,E.prototype.clear=_,E.prototype.delete=w,E.prototype.get=O,E.prototype.has=x,E.prototype.set=T,k.prototype.add=k.prototype.push=S,k.prototype.has=j,N.prototype.clear=P,N.prototype.delete=F,N.prototype.get=I,N.prototype.has=M,N.prototype.set=R;var Zt=B;(Lt&&Zt(new Lt(new ArrayBuffer(1)))!=at||Ut&&Zt(new Ut)!=Xe||Bt&&"[object Promise]"!=Zt(Bt.resolve())||Ht&&Zt(new Ht)!=tt||Kt&&"[object WeakMap]"!=Zt(new Kt))&&(Zt=function(e){var t=Nt.call(e),n=t==Je?e.constructor:void 0,r=n?be(n):void 0;if(r)switch(r){case qt:return at;case Wt:return Xe;case Vt:return"[object Promise]";case $t:return tt;case Gt:return"[object WeakMap]"}return t});var Jt=Ce(function(e){e=Ne(e);var t=[];return st.test(e)&&t.push(""),e.replace(lt,function(e,n,r,o){t.push(r?o.replace(pt,"$1"):n||e)}),t});Ce.Cache=E;var en=Array.isArray,tn=_t?function(e){return function(t){return e(t)}}(_t):V;n.exports=De}).call(t,n(27),n(169)(e))},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return l});var r=n(1),o=n.n(r),a=(n(57),"START_SPIN"),i="STOP_SPIN",u="CLOSE_STATUS_INDICATOR",s="UPDATE_STATUS_INDICATOR",l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{show:!1,message:"",success:!0,spin:!1},t=arguments[1];switch(t.type){case a:return o()({},e,{spin:!0});case i:return o()({},e,{spin:!1});case u:return o()({},e,{show:!1});case s:return o()({},e,{show:t.show,message:t.message,success:t.success});default:return e}}},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(1),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(5),v=n.n(m),y=n(0),b=n.n(y),g=n(83),D=n.n(g),C=n(8),E=n(41),_=n(217),w={accordion:v.a.bool,activeKey:v.a.any,onSelect:v.a.func,role:v.a.string,generateChildId:v.a.func,id:Object(_.b)("PanelGroup")},O={accordion:!1},x={$bs_panelGroup:v.a.shape({getId:v.a.func,headerRole:v.a.string,panelRole:v.a.string,activeKey:v.a.any,onToggle:v.a.func})},T=function(e){function t(){var n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),u=0;u<a;u++)i[u]=arguments[u];return n=r=c()(this,e.call.apply(e,[this].concat(i))),r.handleSelect=function(e,t,n){t?r.props.onSelect(e,n):r.props.activeKey===e&&r.props.onSelect(null,n)},o=n,c()(r,o)}return f()(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.activeKey,n=e.accordion,r=e.generateChildId,o=e.id,a=null;return n&&(a=r||function(e,t){return o?o+"-"+t+"-"+e:null}),{$bs_panelGroup:i()({getId:a,headerRole:"tab",panelRole:"tabpanel"},n&&{activeKey:t,onToggle:this.handleSelect})}},t.prototype.render=function(){var e=this.props,t=e.accordion,n=e.className,r=e.children,a=o()(e,["accordion","className","children"]),u=Object(C.g)(a,["onSelect","activeKey"]),s=u[0],l=u[1];t&&(l.role=l.role||"tablist");var c=Object(C.d)(s);return b.a.createElement("div",i()({},l,{className:h()(n,c)}),E.a.map(r,function(e){return Object(y.cloneElement)(e,{bsStyle:e.props.bsStyle||s.bsStyle})}))},t}(b.a.Component);T.propTypes=w,T.defaultProps=O,T.childContextTypes=x,t.a=D()(Object(C.a)("panel-group",T),{activeKey:"onSelect"})},function(e,t,n){e.exports={default:n(356),__esModule:!0}},function(e,t,n){var r=n(28),o=n(23),a=n(34).f;e.exports=function(e){return function(t){for(var n,i=o(t),u=r(i),s=u.length,l=0,c=[];s>l;)a.call(i,n=u[l++])&&c.push(e?[n,i[n]]:i[n]);return c}}},function(e,t,n){"use strict";function r(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=null;return t.generateChildId||(a=p.apply(void 0,[t].concat(r)))||t.id||(a=new Error("In order to properly initialize the "+e+" in a way that is accessible to assistive technologies (such as screen readers) an `id` or a `generateChildId` prop to "+e+" is required")),a}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l()(function(e,n,r){var o=void 0;return t.every(function(t){return!!c.a.some(e.children,function(e){return e.props.bsRole===t})||(o=t,!1)}),o?new Error("(children) "+r+" - Missing a required child with bsRole: "+o+". "+r+" must have at least one child of each of the following bsRoles: "+t.join(", ")):null})}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l()(function(e,n,r){var o=void 0;return t.every(function(t){return!(c.a.filter(e.children,function(e){return e.props.bsRole===t}).length>1&&(o=t,1))}),o?new Error("(children) "+r+" - Duplicate children detected of bsRole: "+o+". Only one child each allowed with the following bsRoles: "+t.join(", ")):null})}t.b=r,t.c=o,t.a=a;var i=n(5),u=n.n(i),s=n(150),l=n.n(s),c=n(41),p=u.a.oneOfType([u.a.string,u.a.number])},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(61),D={active:b.a.bool,href:b.a.string,title:b.a.node,target:b.a.string},C={active:!1},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.active,n=e.href,r=e.title,a=e.target,u=e.className,s=i()(e,["active","href","title","target","className"]),l={href:n,title:r,target:a};return v.a.createElement("li",{className:h()(u,{active:t})},t?v.a.createElement("span",s):v.a.createElement(g.a,o()({},s,l)))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=E},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(35),D=n.n(g),C=n(366),E=n.n(C),_={direction:b.a.oneOf(["prev","next"]),onAnimateOutEnd:b.a.func,active:b.a.bool,animateIn:b.a.bool,animateOut:b.a.bool,index:b.a.number},w={active:!1,animateIn:!1,animateOut:!1},O=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleAnimateOutEnd=o.handleAnimateOutEnd.bind(o),o.state={direction:null},o.isUnmounted=!1,o}return f()(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.active!==e.active&&this.setState({direction:null})},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props.active,r=e.active;!n&&r&&E.a.end(D.a.findDOMNode(this),this.handleAnimateOutEnd),n!==r&&setTimeout(function(){return t.startAnimation()},20)},t.prototype.componentWillUnmount=function(){this.isUnmounted=!0},t.prototype.handleAnimateOutEnd=function(){this.isUnmounted||this.props.onAnimateOutEnd&&this.props.onAnimateOutEnd(this.props.index)},t.prototype.startAnimation=function(){this.isUnmounted||this.setState({direction:"prev"===this.props.direction?"right":"left"})},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.active,r=e.animateIn,a=e.animateOut,u=e.className,s=i()(e,["direction","active","animateIn","animateOut","className"]);delete s.onAnimateOutEnd,delete s.index;var l={item:!0,active:n&&!r||a};return t&&n&&r&&(l[t]=!0),this.state.direction&&(r||a)&&(l[this.state.direction]=!0),v.a.createElement("div",o()({},s,{className:h()(u,l)}))},t}(v.a.Component);O.propTypes=_,O.defaultProps=w,t.a=O},function(e,t,n){"use strict";function r(e){return(0,a.default)(e.replace(i,"ms-"))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(368),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=/^-ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return""+e.charAt(0).toUpperCase()+e.slice(1)}t.a=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=n(5),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),p=n(0),f=r(p),d=n(35),h=r(d),m=(n(378),t.UNMOUNTED="unmounted"),v=t.EXITED="exited",y=t.ENTERING="entering",b=t.ENTERED="entered",g=t.EXITING="exiting",D=function(e){function t(n,r){a(this,t);var o=i(this,e.call(this,n,r)),u=r.transitionGroup,s=u&&!u.isMounting?n.enter:n.appear,l=void 0;return o.nextStatus=null,n.in?s?(l=v,o.nextStatus=y):l=b:l=n.unmountOnExit||n.mountOnEnter?m:v,o.state={status:l},o.nextCallback=null,o}return u(t,e),t.prototype.getChildContext=function(){return{transitionGroup:null}},t.prototype.componentDidMount=function(){this.updateStatus(!0)},t.prototype.componentWillReceiveProps=function(e){var t=this.pendingState||this.state,n=t.status;e.in?(n===m&&this.setState({status:v}),n!==y&&n!==b&&(this.nextStatus=y)):n!==y&&n!==b||(this.nextStatus=g)},t.prototype.componentDidUpdate=function(){this.updateStatus()},t.prototype.componentWillUnmount=function(){this.cancelNextCallback()},t.prototype.getTimeouts=function(){var e=this.props.timeout,t=void 0,n=void 0,r=void 0;return t=n=r=e,null!=e&&"number"!=typeof e&&(t=e.exit,n=e.enter,r=e.appear),{exit:t,enter:n,appear:r}},t.prototype.updateStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nextStatus;if(null!==t){this.nextStatus=null,this.cancelNextCallback();var n=h.default.findDOMNode(this);t===y?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===v&&this.setState({status:m})},t.prototype.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,a=this.getTimeouts();if(!t&&!r)return void this.safeSetState({status:b},function(){n.props.onEntered(e)});this.props.onEnter(e,o),this.safeSetState({status:y},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a.enter,function(){n.safeSetState({status:b},function(){n.props.onEntered(e,o)})})})},t.prototype.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:v},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:g},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:v},function(){t.props.onExited(e)})})})},t.prototype.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.prototype.safeSetState=function(e,t){var n=this;this.pendingState=e,t=this.setNextCallback(t),this.setState(e,function(){n.pendingState=null,t()})},t.prototype.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.prototype.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},t.prototype.render=function(){var e=this.state.status;if(e===m)return null;var t=this.props,n=t.children,r=o(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var a=f.default.Children.only(n);return f.default.cloneElement(a,r)},t}(f.default.Component);D.contextTypes={transitionGroup:c.object},D.childContextTypes={transitionGroup:function(){}},D.propTypes={},D.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:s,onEntering:s,onEntered:s,onExit:s,onExiting:s,onExited:s},D.UNMOUNTED=0,D.EXITED=1,D.ENTERING=2,D.ENTERED=3,D.EXITING=4,t.default=D},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.default)();try{return e.activeElement}catch(e){}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(96),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return 0===e.button}function s(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}t.__esModule=!0;var l=n(97),c=r(l),p=n(5),f=r(p),d=n(0),h=r(d),m=n(35),v=r(m),y=n(225),b=r(y),g=n(98),D=r(g),C=27,E=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r));return i.addEventListeners=function(){var e=i.props.event,t=(0,D.default)(i);i.documentMouseCaptureListener=(0,b.default)(t,e,i.handleMouseCapture,!0),i.documentMouseListener=(0,b.default)(t,e,i.handleMouse),i.documentKeyupListener=(0,b.default)(t,"keyup",i.handleKeyUp)},i.removeEventListeners=function(){i.documentMouseCaptureListener&&i.documentMouseCaptureListener.remove(),i.documentMouseListener&&i.documentMouseListener.remove(),i.documentKeyupListener&&i.documentKeyupListener.remove()},i.handleMouseCapture=function(e){i.preventMouseRootClose=s(e)||!u(e)||(0,c.default)(v.default.findDOMNode(i),e.target)},i.handleMouse=function(e){!i.preventMouseRootClose&&i.props.onRootClose&&i.props.onRootClose(e)},i.handleKeyUp=function(e){e.keyCode===C&&i.props.onRootClose&&i.props.onRootClose(e)},i.preventMouseRootClose=!1,i}return i(t,e),t.prototype.componentDidMount=function(){this.props.disabled||this.addEventListeners()},t.prototype.componentDidUpdate=function(e){!this.props.disabled&&e.disabled?this.addEventListeners():this.props.disabled&&!e.disabled&&this.removeEventListeners()},t.prototype.componentWillUnmount=function(){this.props.disabled||this.removeEventListeners()},t.prototype.render=function(){return this.props.children},t}(h.default.Component);E.displayName="RootCloseWrapper",E.propTypes={onRootClose:f.default.func,children:f.default.element,disabled:f.default.bool,event:f.default.oneOf(["click","mousedown"])},E.defaultProps={event:"click"},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e,t,n,r){return(0,a.default)(e,t,n,r),{remove:function(){(0,u.default)(e,t,n,r)}}};var o=n(179),a=r(o),i=n(180),u=r(i);e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(0),h=n.n(d),m=n(5),v=n.n(m),y=n(7),b=n.n(y),g=n(136),D=n(61),C=n(8),E={noCaret:v.a.bool,open:v.a.bool,title:v.a.string,useAnchor:v.a.bool},_={open:!1,useAnchor:!1,bsRole:"toggle"},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.noCaret,n=e.open,r=e.useAnchor,a=e.bsClass,u=e.className,s=e.children,l=i()(e,["noCaret","open","useAnchor","bsClass","className","children"]);delete l.bsRole;var c=r?D.a:g.a,p=!t;return h.a.createElement(c,o()({},l,{role:"button",className:b()(u,a),"aria-haspopup":!0,"aria-expanded":n}),s||l.title,p&&" ",p&&h.a.createElement("span",{className:"caret"}))},t}(h.a.Component);w.propTypes=E,w.defaultProps=_,t.a=Object(C.a)("dropdown-toggle",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(8),E={fluid:b.a.bool,componentClass:D.a},_={componentClass:"div",fluid:!1},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.fluid,n=e.componentClass,r=e.className,a=i()(e,["fluid","componentClass","className"]),u=Object(C.f)(a),s=u[0],l=u[1],c=Object(C.e)(s,t&&"fluid");return v.a.createElement(n,o()({},l,{className:h()(r,c)}))},t}(v.a.Component);w.propTypes=E,w.defaultProps=_,t.a=Object(C.a)("container",w)},function(e,t,n){"use strict";var r=n(95),o=n.n(r),a=n(1),i=n.n(a),u=n(6),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(0),b=n.n(y),g=n(5),D=n.n(g),C=n(8),E=n(32),_={active:D.a.any,disabled:D.a.any,header:D.a.node,listItem:D.a.bool,onClick:D.a.func,href:D.a.string,type:D.a.string},w={listItem:!1},O=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.renderHeader=function(e,t){return b.a.isValidElement(e)?Object(y.cloneElement)(e,{className:v()(e.props.className,t)}):b.a.createElement("h4",{className:t},e)},t.prototype.render=function(){var e=this.props,t=e.active,n=e.disabled,r=e.className,o=e.header,a=e.listItem,u=e.children,l=s()(e,["active","disabled","className","header","listItem","children"]),c=Object(C.f)(l),p=c[0],f=c[1],d=i()({},Object(C.d)(p),{active:t,disabled:n}),h=void 0;return f.href?h="a":f.onClick?(h="button",f.type=f.type||"button"):h=a?"li":"span",f.className=v()(r,d),o?b.a.createElement(h,f,this.renderHeader(o,Object(C.e)(p,"heading")),b.a.createElement("p",{className:Object(C.e)(p,"text")},u)):b.a.createElement(h,f,u)},t}(b.a.Component);O.propTypes=_,O.defaultProps=w,t.a=Object(C.a)("list-group-item",Object(C.c)(o()(E.d),O))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((!a&&0!==a||e)&&o.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a};var r=n(81),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=void 0;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e&&"body"===e.tagName.toLowerCase()}function a(e){var t=(0,c.default)(e),n=(0,s.default)(t),r=n.innerWidth;if(!r){var o=t.documentElement.getBoundingClientRect();r=o.right-Math.abs(o.left)}return t.body.clientWidth<r}function i(e){return(0,s.default)(e)||o(e)?a(e):e.scrollHeight>e.clientHeight}t.__esModule=!0,t.default=i;var u=n(158),s=r(u),l=n(96),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(5),s=r(u),l=n(157),c=r(l),p=n(0),f=r(p),d=n(35),h=r(d),m=n(159),v=r(m),y=n(98),b=r(y),g=n(417),D=r(g),C=function(e){function t(){var n,r,i;o(this,t);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(s))),r.setContainer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props;r._portalContainerNode=(0,v.default)(e.container,(0,b.default)(r).body)},r.getMountNode=function(){return r._portalContainerNode},i=n,a(r,i)}return i(t,e),t.prototype.componentDidMount=function(){this.setContainer(),this.forceUpdate(this.props.onRendered)},t.prototype.componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e)},t.prototype.componentWillUnmount=function(){this._portalContainerNode=null},t.prototype.render=function(){return this.props.children&&this._portalContainerNode?h.default.createPortal(this.props.children,this._portalContainerNode):null},t}(f.default.Component);C.displayName="Portal",C.propTypes={container:s.default.oneOfType([c.default,s.default.func]),onRendered:s.default.func},t.default=h.default.createPortal?C:D.default,e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"div"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("modal-body",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"div"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("modal-footer",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(5),v=n.n(m),y=n(0),b=n.n(y),g=n(8),D=n(26),C=n(173),E={closeLabel:v.a.string,closeButton:v.a.bool,onHide:v.a.func},_={closeLabel:"Close",closeButton:!1},w={$bs_modal:v.a.shape({onHide:v.a.func})},O=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.closeLabel,n=e.closeButton,r=e.onHide,a=e.className,u=e.children,s=i()(e,["closeLabel","closeButton","onHide","className","children"]),l=this.context.$bs_modal,c=Object(g.f)(s),p=c[0],f=c[1],d=Object(g.d)(p);return b.a.createElement("div",o()({},f,{className:h()(a,d)}),n&&b.a.createElement(C.a,{label:t,onClick:Object(D.a)(l&&l.onHide,r)}),u)},t}(b.a.Component);O.propTypes=E,O.defaultProps=_,O.contextTypes=w,t.a=Object(g.a)("modal-header",O)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"h4"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("modal-title",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(178),v=n.n(m),y=n(0),b=n.n(y),g=n(5),D=n.n(g),C=n(35),E=n.n(C),_=n(151),w=n.n(_),O=n(44),x=(n.n(O),n(8)),T=n(26),k=n(41),S={activeKey:D.a.any,activeHref:D.a.string,stacked:D.a.bool,justified:w()(D.a.bool,function(e){var t=e.justified,n=e.navbar;return t&&n?Error("justified navbar `Nav`s are not supported"):null}),onSelect:D.a.func,role:D.a.string,navbar:D.a.bool,pullRight:D.a.bool,pullLeft:D.a.bool},j={justified:!1,pullRight:!1,pullLeft:!1,stacked:!1},N={$bs_navbar:D.a.shape({bsClass:D.a.string,onSelect:D.a.func}),$bs_tabContainer:D.a.shape({activeKey:D.a.any,onSelect:D.a.func.isRequired,getTabId:D.a.func.isRequired,getPaneId:D.a.func.isRequired})},P=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.componentDidUpdate=function(){var e=this;if(this._needsRefocus){this._needsRefocus=!1;var t=this.props.children,n=this.getActiveProps(),r=n.activeKey,o=n.activeHref,a=k.a.find(t,function(t){return e.isActive(t,r,o)}),i=k.a.toArray(t),u=i.indexOf(a),s=E.a.findDOMNode(this).children,l=s&&s[u];l&&l.firstChild&&l.firstChild.focus()}},t.prototype.getActiveProps=function(){var e=this.context.$bs_tabContainer;return e||this.props},t.prototype.getNextActiveChild=function(e){var t=this,n=this.props.children,r=n.filter(function(e){return null!=e.props.eventKey&&!e.props.disabled}),o=this.getActiveProps(),a=o.activeKey,i=o.activeHref,u=k.a.find(n,function(e){return t.isActive(e,a,i)}),s=r.indexOf(u);if(-1===s)return r[0];var l=s+e,c=r.length;return l>=c?l=0:l<0&&(l=c-1),r[l]},t.prototype.getTabProps=function(e,t,n,r,o){var a=this;if(!t&&"tablist"!==n)return null;var i=e.props,u=i.id,s=i["aria-controls"],l=i.eventKey,c=i.role,p=i.onKeyDown,f=i.tabIndex;return t&&(u=t.getTabId(l),s=t.getPaneId(l)),"tablist"===n&&(c=c||"tab",p=Object(T.a)(function(e){return a.handleTabKeyDown(o,e)},p),f=r?f:-1),{id:u,role:c,onKeyDown:p,"aria-controls":s,tabIndex:f}},t.prototype.handleTabKeyDown=function(e,t){var n=void 0;switch(t.keyCode){case v.a.codes.left:case v.a.codes.up:n=this.getNextActiveChild(-1);break;case v.a.codes.right:case v.a.codes.down:n=this.getNextActiveChild(1);break;default:return}t.preventDefault(),e&&n&&null!=n.props.eventKey&&e(n.props.eventKey),this._needsRefocus=!0},t.prototype.isActive=function(e,t,n){var r=e.props;return!!(r.active||null!=t&&r.eventKey===t||n&&r.href===n)||r.active},t.prototype.render=function(){var e,t=this,n=this.props,r=n.stacked,a=n.justified,u=n.onSelect,s=n.role,l=n.navbar,c=n.pullRight,p=n.pullLeft,f=n.className,d=n.children,m=i()(n,["stacked","justified","onSelect","role","navbar","pullRight","pullLeft","className","children"]),v=this.context.$bs_tabContainer,g=s||(v?"tablist":null),D=this.getActiveProps(),C=D.activeKey,E=D.activeHref;delete m.activeKey,delete m.activeHref;var _=Object(x.f)(m),w=_[0],O=_[1],S=o()({},Object(x.d)(w),(e={},e[Object(x.e)(w,"stacked")]=r,e[Object(x.e)(w,"justified")]=a,e)),j=null!=l?l:this.context.$bs_navbar,N=void 0,P=void 0;if(j){var F=this.context.$bs_navbar||{bsClass:"navbar"};S[Object(x.e)(F,"nav")]=!0,P=Object(x.e)(F,"right"),N=Object(x.e)(F,"left")}else P="pull-right",N="pull-left";return S[P]=c,S[N]=p,b.a.createElement("ul",o()({},O,{role:g,className:h()(f,S)}),k.a.map(d,function(e){var n=t.isActive(e,C,E),r=Object(T.a)(e.props.onSelect,u,j&&j.onSelect,v&&v.onSelect);return Object(y.cloneElement)(e,o()({},t.getTabProps(e,v,g,n,r),{active:n,activeKey:C,activeHref:E,onSelect:r}))}))},t}(b.a.Component);P.propTypes=S,P.defaultProps=j,P.contextTypes=N,t.a=Object(x.a)("nav",Object(x.c)(["tabs","pills"],P))},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={$bs_navbar:b.a.shape({bsClass:b.a.string})},C=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=i()(e,["className","children"]),a=this.context.$bs_navbar||{bsClass:"navbar"},u=Object(g.e)(a,"brand");return v.a.isValidElement(n)?v.a.cloneElement(n,{className:h()(n.props.className,t,u)}):v.a.createElement("span",o()({},r,{className:h()(t,u)}),n)},t}(v.a.Component);C.contextTypes=D,t.a=C},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(61),D=n(26),C={active:b.a.bool,disabled:b.a.bool,role:b.a.string,href:b.a.string,onClick:b.a.func,onSelect:b.a.func,eventKey:b.a.any},E={active:!1,disabled:!1},_=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return f()(t,e),t.prototype.handleClick=function(e){if(this.props.disabled)return void e.preventDefault();this.props.onSelect&&this.props.onSelect(this.props.eventKey,e)},t.prototype.render=function(){var e=this.props,t=e.active,n=e.disabled,r=e.onClick,a=e.className,u=e.style,s=i()(e,["active","disabled","onClick","className","style"]);return delete s.onSelect,delete s.eventKey,delete s.activeKey,delete s.activeHref,s.role?"tab"===s.role&&(s["aria-selected"]=t):"#"===s.href&&(s.role="button"),v.a.createElement("li",{role:"presentation",className:h()(a,{active:t,disabled:n}),style:u},v.a.createElement(g.a,o()({},s,{disabled:n,onClick:Object(D.a)(r,this.handleClick)})))},t}(v.a.Component);_.propTypes=C,_.defaultProps=E,t.a=_},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(1),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(426),D=n.n(g),C=n(16),E=n.n(C),_=n(155),w=f()({},D.a.propTypes,{show:b.a.bool,rootClose:b.a.bool,onHide:b.a.func,animation:b.a.oneOfType([b.a.bool,E.a]),onEnter:b.a.func,onEntering:b.a.func,onEntered:b.a.func,onExit:b.a.func,onExiting:b.a.func,onExited:b.a.func,placement:b.a.oneOf(["top","right","bottom","left"])}),O={animation:_.a,rootClose:!1,show:!1,placement:"right"},x=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.animation,n=e.children,r=o()(e,["animation","children"]),a=!0===t?_.a:t||null,i=void 0;return i=a?n:Object(m.cloneElement)(n,{className:h()(n.props.className,"in")}),v.a.createElement(D.a,f()({},r,{transition:a}),i)},t}(v.a.Component);x.propTypes=w,x.defaultProps=O,t.a=x},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=(0,s.default)(t),r=t&&t.documentElement,o={top:0,left:0,height:0,width:0};if(t)return(0,i.default)(r,e)?(void 0!==e.getBoundingClientRect&&(o=e.getBoundingClientRect()),o={top:o.top+(n.pageYOffset||r.scrollTop)-(r.clientTop||0),left:o.left+(n.pageXOffset||r.scrollLeft)-(r.clientLeft||0),width:(null==o.width?e.offsetWidth:o.width)||0,height:(null==o.height?e.offsetHeight:o.height)||0}):o}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(97),i=r(a),u=n(158),s=r(u),l=n(96),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,a.default)(e);if(void 0===t)return n?"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop:e.scrollTop;n?n.scrollTo("pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft,t):e.scrollTop=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(158),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(61),D=n(26),C={disabled:b.a.bool,previous:b.a.bool,next:b.a.bool,onClick:b.a.func,onSelect:b.a.func,eventKey:b.a.any},E={disabled:!1,previous:!1,next:!1},_=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleSelect=o.handleSelect.bind(o),o}return f()(t,e),t.prototype.handleSelect=function(e){var t=this.props,n=t.disabled,r=t.onSelect,o=t.eventKey;if(n)return void e.preventDefault();r&&r(o,e)},t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.previous,r=e.next,a=e.onClick,u=e.className,s=e.style,l=i()(e,["disabled","previous","next","onClick","className","style"]);return delete l.onSelect,delete l.eventKey,v.a.createElement("li",{className:h()(u,{disabled:t,previous:n,next:r}),style:s},v.a.createElement(g.a,o()({},l,{disabled:t,onClick:Object(D.a)(a,this.handleSelect)})))},t}(v.a.Component);_.propTypes=C,_.defaultProps=E,t.a=_},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(5),f=n.n(p),d=n(0),h=n.n(d),m=n(8),v=n(177),y={onEnter:f.a.func,onEntering:f.a.func,onEntered:f.a.func,onExit:f.a.func,onExiting:f.a.func,onExited:f.a.func},b={$bs_panel:f.a.shape({headingId:f.a.string,bodyId:f.a.string,bsClass:f.a.string,expanded:f.a.bool})},g=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props.children,t=this.context.$bs_panel||{},n=t.headingId,r=t.bodyId,a=t.bsClass,i=t.expanded,u=Object(m.f)(this.props),s=u[0],l=u[1];return s.bsClass=a||s.bsClass,n&&r&&(l.id=r,l.role=l.role||"tabpanel",l["aria-labelledby"]=n),h.a.createElement(v.a,o()({in:i},l),h.a.createElement("div",{className:Object(m.e)(s,"collapse")},e))},t}(h.a.Component);g.propTypes=y,g.contextTypes=b,t.a=Object(m.a)("panel",g)},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(5),f=n.n(p),d=n(0),h=n.n(d),m=n(7),v=n.n(m),y=n(181),b=n.n(y),g=n(61),D=n(26),C={onClick:f.a.func,componentClass:b.a},E={componentClass:g.a},_={$bs_panel:f.a.shape({bodyId:f.a.string,onToggle:f.a.func,expanded:f.a.bool})},w=function(e){function t(){i()(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=s()(this,e.call.apply(e,[this].concat(r)));return a.handleToggle=a.handleToggle.bind(a),a}return c()(t,e),t.prototype.handleToggle=function(e){var t=this.context.$bs_panel||{},n=t.onToggle;n&&n(e)},t.prototype.render=function(){var e=this.props,t=e.onClick,n=e.className,r=e.componentClass,a=o()(e,["onClick","className","componentClass"]),i=this.context.$bs_panel||{},u=i.expanded,s=i.bodyId,l=r;return a.onClick=Object(D.a)(t,this.handleToggle),a["aria-expanded"]=u,a.className=v()(n,!u&&"collapsed"),s&&(a["aria-controls"]=s),h.a.createElement(l,a)},t}(h.a.Component);w.propTypes=C,w.defaultProps=E,w.contextTypes=_,t.a=w},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(44),E=(n.n(C),n(8)),_=n(26),w=n(155),O={eventKey:b.a.any,animation:b.a.oneOfType([b.a.bool,D.a]),id:b.a.string,"aria-labelledby":b.a.string,bsClass:b.a.string,onEnter:b.a.func,onEntering:b.a.func,onEntered:b.a.func,onExit:b.a.func,onExiting:b.a.func,onExited:b.a.func,mountOnEnter:b.a.bool,unmountOnExit:b.a.bool},x={$bs_tabContainer:b.a.shape({getTabId:b.a.func,getPaneId:b.a.func}),$bs_tabContent:b.a.shape({bsClass:b.a.string,animation:b.a.oneOfType([b.a.bool,D.a]),activeKey:b.a.any,mountOnEnter:b.a.bool,unmountOnExit:b.a.bool,onPaneEnter:b.a.func.isRequired,onPaneExited:b.a.func.isRequired,exiting:b.a.bool.isRequired})},T={$bs_tabContainer:b.a.oneOf([null])},k=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleEnter=o.handleEnter.bind(o),o.handleExited=o.handleExited.bind(o),o.in=!1,o}return f()(t,e),t.prototype.getChildContext=function(){return{$bs_tabContainer:null}},t.prototype.componentDidMount=function(){this.shouldBeIn()&&this.handleEnter()},t.prototype.componentDidUpdate=function(){this.in?this.shouldBeIn()||this.handleExited():this.shouldBeIn()&&this.handleEnter()},t.prototype.componentWillUnmount=function(){this.in&&this.handleExited()},t.prototype.getAnimation=function(){if(null!=this.props.animation)return this.props.animation;var e=this.context.$bs_tabContent;return e&&e.animation},t.prototype.handleEnter=function(){var e=this.context.$bs_tabContent;e&&(this.in=e.onPaneEnter(this,this.props.eventKey))},t.prototype.handleExited=function(){var e=this.context.$bs_tabContent;e&&(e.onPaneExited(this),this.in=!1)},t.prototype.isActive=function(){var e=this.context.$bs_tabContent,t=e&&e.activeKey;return this.props.eventKey===t},t.prototype.shouldBeIn=function(){return this.getAnimation()&&this.isActive()},t.prototype.render=function(){var e=this.props,t=e.eventKey,n=e.className,r=e.onEnter,a=e.onEntering,u=e.onEntered,s=e.onExit,l=e.onExiting,c=e.onExited,p=e.mountOnEnter,f=e.unmountOnExit,d=i()(e,["eventKey","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit"]),m=this.context,y=m.$bs_tabContent,b=m.$bs_tabContainer,g=Object(E.g)(d,["animation"]),D=g[0],C=g[1],O=this.isActive(),x=this.getAnimation(),T=null!=p?p:y&&y.mountOnEnter,k=null!=f?f:y&&y.unmountOnExit;if(!O&&!x&&k)return null;var S=!0===x?w.a:x||null;y&&(D.bsClass=Object(E.e)(y,"pane"));var j=o()({},Object(E.d)(D),{active:O});b&&(C.id=b.getPaneId(t),C["aria-labelledby"]=b.getTabId(t));var N=v.a.createElement("div",o()({},C,{role:"tabpanel","aria-hidden":!O,className:h()(n,j)}));if(S){var P=y&&y.exiting;return v.a.createElement(S,{in:O&&!P,onEnter:Object(_.a)(this.handleEnter,r),onEntering:a,onEntered:u,onExit:s,onExiting:l,onExited:Object(_.a)(this.handleExited,c),mountOnEnter:T,unmountOnExit:k},N)}return N},t}(v.a.Component);k.propTypes=O,k.contextTypes=x,k.childContextTypes=T,t.a=Object(E.a)("tab-pane",k)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(5),h=n.n(d),m=n(0),v=n.n(m),y=n(136),b={type:h.a.oneOf(["checkbox","radio"]),name:h.a.string,checked:h.a.bool,disabled:h.a.bool,onChange:h.a.func,value:h.a.any.isRequired},g=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.name,r=e.checked,a=e.type,u=e.onChange,s=e.value,l=i()(e,["children","name","checked","type","onChange","value"]),c=l.disabled;return v.a.createElement(y.a,o()({},l,{active:!!r,componentClass:"label"}),v.a.createElement("input",{name:n,type:a,autoComplete:"off",value:s,checked:!!r,disabled:!!c,onChange:u}),t)},t}(v.a.Component);g.propTypes=b,t.a=g},function(e,t,n){(function(t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function r(e,t,a,i,u){var s=-1,l=e.length;for(a||(a=o),u||(u=[]);++s<l;){var c=e[s];t>0&&a(c)?t>1?r(c,t-1,a,i,u):n(u,c):i||(u[u.length]=c)}return u}function o(e){return x(e)||i(e)||!!(O&&e&&e[O])}function a(e){return(e?e.length:0)?r(e,1):[]}function i(e){return s(e)&&C.call(e,"callee")&&(!w.call(e,"callee")||E.call(e)==h)}function u(e){return null!=e&&c(e.length)&&!l(e)}function s(e){return f(e)&&u(e)}function l(e){var t=p(e)?E.call(e):"";return t==m||t==v}function c(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(e){return!!e&&"object"==typeof e}var d=9007199254740991,h="[object Arguments]",m="[object Function]",v="[object GeneratorFunction]",y="object"==typeof t&&t&&t.Object===Object&&t,b="object"==typeof self&&self&&self.Object===Object&&self,g=y||b||Function("return this")(),D=Object.prototype,C=D.hasOwnProperty,E=D.toString,_=g.Symbol,w=D.propertyIsEnumerable,O=_?_.isConcatSpreadable:void 0,x=Array.isArray;e.exports=a}).call(t,n(27))},function(e,t){e.exports={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P",":p",":-p"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t=n(0),r=n.n(t),o=n(145),a=n(206),i=n(333),u=(n.n(i),n(334)),s=n(35),l=n.n(s),c=n(343);Object.defineProperty(e.wp,"element",{get:function(){return r.a}});var p=Object(o.c)(u.a);l.a.render(wp.element.createElement(a.a,{store:p},wp.element.createElement(c.a,null)),document.getElementById("caldera-forms-privacy-settings"))}.call(t,n(27))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="http://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);b(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function o(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||N}function a(){}function i(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||N}function u(e,t,n){var r=void 0,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)I.call(t,r)&&!M.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:E,type:e,key:a,ref:i,props:o,_owner:F.current}}function s(e){return"object"==typeof e&&null!==e&&e.$$typeof===E}function l(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,r){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function f(e,t,n,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case E:case _:i=!0}}if(i)return n(o,e,""===t?"."+d(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var s=t+d(a,u);i+=f(a,s,n,o)}else if(null===e||void 0===e?s=null:(s=j&&e[j]||e["@@iterator"],s="function"==typeof s?s:null),"function"==typeof s)for(e=s.call(e),u=0;!(a=e.next()).done;)a=a.value,s=t+d(a,u++),i+=f(a,s,n,o);else"object"===a&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?l(e.key):t.toString(36)}function h(e,t){e.func.call(e.context,t,e.count++)}function m(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?v(e,r,n,D.thatReturnsArgument):null!=e&&(s(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+n,e={$$typeof:E,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function v(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(R,"$&/")+"/"),t=c(t,a,r,o),null==e||f(e,"",m,t),p(t)}/** @license React v16.3.2
15
- * react.production.min.js
16
- *
17
- * Copyright (c) 2013-present, Facebook, Inc.
18
- *
19
- * This source code is licensed under the MIT license found in the
20
- * LICENSE file in the root directory of this source tree.
21
- */
22
- var y=n(203),b=n(204),g=n(205),D=n(167),C="function"==typeof Symbol&&Symbol.for,E=C?Symbol.for("react.element"):60103,_=C?Symbol.for("react.portal"):60106,w=C?Symbol.for("react.fragment"):60107,O=C?Symbol.for("react.strict_mode"):60108,x=C?Symbol.for("react.provider"):60109,T=C?Symbol.for("react.context"):60110,k=C?Symbol.for("react.async_mode"):60111,S=C?Symbol.for("react.forward_ref"):60112,j="function"==typeof Symbol&&Symbol.iterator,N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=o.prototype;var P=i.prototype=new a;P.constructor=i,y(P,o.prototype),P.isPureReactComponent=!0;var F={current:null},I=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0},R=/\/+/g,A=[],L={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return v(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||f(e,"",h,t),p(t)},count:function(e){return null==e?0:f(e,"",D.thatReturnsNull,null)},toArray:function(e){var t=[];return v(e,t,null,D.thatReturnsArgument),t},only:function(e){return s(e)||r("143"),e}},createRef:function(){return{current:null}},Component:o,PureComponent:i,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:T,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_changedBits:0,Provider:null,Consumer:null},e.Provider={$$typeof:x,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:S,render:e}},Fragment:w,StrictMode:O,unstable_AsyncMode:k,createElement:u,cloneElement:function(e,t,n){(null===e||void 0===e)&&r("267",e);var o=void 0,a=y({},e.props),i=e.key,u=e.ref,s=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,s=F.current),void 0!==t.key&&(i=""+t.key);var l=void 0;e.type&&e.type.defaultProps&&(l=e.type.defaultProps);for(o in t)I.call(t,o)&&!M.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==l?l[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){l=Array(o);for(var c=0;c<o;c++)l[c]=arguments[c+2];a.children=l}return{$$typeof:E,type:e.type,key:i,ref:u,props:a,_owner:s}},createFactory:function(e){var t=u.bind(null,e);return t.type=e,t},isValidElement:s,version:"16.3.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:F,assign:y}},U=Object.freeze({default:L}),B=U&&L||U;e.exports=B.default?B.default:B},function(e,t,n){"use strict";(function(e,r){var o,a=n(311);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var i=Object(a.a)(o);t.a=i}).call(t,n(27),n(310)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),u=(n.n(i),n(5)),s=n.n(u),l=n(207);n(168);t.a=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],u=n||t+"Subscription",c=function(e){function n(a,i){r(this,n);var u=o(this,e.call(this,a,i));return u[t]=a.store,u}return a(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[u]=null,e},n.prototype.render=function(){return i.Children.only(this.props.children)},n}(i.Component);return c.propTypes={store:l.a.isRequired,children:s.a.element.isRequired},c.childContextTypes=(e={},e[t]=l.a.isRequired,e[u]=l.b,e),c}()},function(e,t,n){"use strict";var r=n(167),o=n(204),a=n(314);e.exports=function(){function e(e,t,n,r,i,u){u!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,i=Object.getPrototypeOf,u=i&&i(Object);return function s(l,c,p){if("string"!=typeof c){if(u){var f=i(c);f&&f!==u&&s(l,f,p)}var d=r(c);o&&(d=d.concat(o(c)));for(var h=0;h<d.length;++h){var m=d[h];if(!(e[m]||t[m]||p&&p[m])){var v=a(c,m);try{n(l,m,v)}catch(e){}}}return l}return l}})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=a,e=a},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==a&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}n.d(t,"a",function(){return u});var a=null,i={notify:function(){}},u=function(){function e(t,n,o){r(this,e),this.store=t,this.parentSub=n,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=o())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}()},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}var i=n(208),u=n(318),s=n(319),l=n(329),c=n(330),p=n(331),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?i.a:t,d=e.mapStateToPropsFactories,h=void 0===d?l.a:d,m=e.mapDispatchToPropsFactories,v=void 0===m?s.a:m,y=e.mergePropsFactories,b=void 0===y?c.a:y,g=e.selectorFactory,D=void 0===g?p.a:g;return function(e,t,i){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=s.pure,c=void 0===l||l,p=s.areStatesEqual,d=void 0===p?a:p,m=s.areOwnPropsEqual,y=void 0===m?u.a:m,g=s.areStatePropsEqual,C=void 0===g?u.a:g,E=s.areMergedPropsEqual,_=void 0===E?u.a:E,w=r(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=o(e,h,"mapStateToProps"),x=o(t,v,"mapDispatchToProps"),T=o(i,b,"mergeProps");return n(D,f({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:x,initMergeProps:T,pure:c,areStatesEqual:d,areOwnPropsEqual:y,areStatePropsEqual:C,areMergedPropsEqual:_},w))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}t.a=o;var a=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(u.b)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:Object(u.a)(function(e){return{dispatch:e}})}function a(e){return e&&"object"==typeof e?Object(u.a)(function(t){return Object(i.a)(e,t)}):void 0}var i=n(145),u=n(209);t.a=[r,o,a]},function(e,t,n){"use strict";function r(e){if(!Object(i.a)(e)||Object(o.a)(e)!=u)return!1;var t=Object(a.a)(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(321),a=n(326),i=n(328),u="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,p=l.hasOwnProperty,f=c.call(Object);t.a=r},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?s:u:l&&l in Object(e)?Object(a.a)(e):Object(i.a)(e)}var o=n(211),a=n(324),i=n(325),u="[object Null]",s="[object Undefined]",l=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";var r=n(323),o="object"==typeof self&&self&&self.Object===Object&&self,a=r.a||o||Function("return this")();t.a=a},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(27))},function(e,t,n){"use strict";function r(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[s]=n:delete e[s]),o}var o=n(211),a=Object.prototype,i=a.hasOwnProperty,u=a.toString,s=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return a.call(e)}var o=Object.prototype,a=o.toString;t.a=r},function(e,t,n){"use strict";var r=n(327),o=Object(r.a)(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(a.b)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:Object(a.a)(function(){return{}})}var a=n(209);t.a=[r,o]},function(e,t,n){"use strict";function r(e,t,n){return u({},n,e,t)}function o(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,a=!1,i=void 0;return function(t,n,u){var s=e(t,n,u);return a?r&&o(s,i)||(i=s):(a=!0,i=s),i}}}function a(e){return"function"==typeof e?o(e):void 0}function i(e){return e?void 0:function(){return r}}var u=(n(210),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});t.a=[a,i]},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function a(e,t,n,r,o){function a(o,a){return h=o,m=a,v=e(h,m),y=t(r,m),b=n(v,y,m),d=!0,b}function i(){return v=e(h,m),t.dependsOnOwnProps&&(y=t(r,m)),b=n(v,y,m)}function u(){return e.dependsOnOwnProps&&(v=e(h,m)),t.dependsOnOwnProps&&(y=t(r,m)),b=n(v,y,m)}function s(){var t=e(h,m),r=!f(t,v);return v=t,r&&(b=n(v,y,m)),b}function l(e,t){var n=!p(t,m),r=!c(e,h);return h=e,m=t,n&&r?i():n?u():r?s():b}var c=o.areStatesEqual,p=o.areOwnPropsEqual,f=o.areStatePropsEqual,d=!1,h=void 0,m=void 0,v=void 0,y=void 0,b=void 0;return function(e,t){return d?l(e,t):a(e,t)}}function i(e,t){var n=t.initMapStateToProps,i=t.initMapDispatchToProps,u=t.initMergeProps,s=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=n(e,s),c=i(e,s),p=u(e,s);return(s.pure?a:o)(l,c,p,e,s)}t.a=i;n(332)},function(e,t,n){"use strict";n(168)},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}t.__esModule=!0;var o=r();o.withExtraArgument=r,t.default=o},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(145),i=n(146),u=n(57),s=n(147),l=n(89),c=n(335),p=n(213),f=o()({editForm:{}},u.b),d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case u.d:return Object(s.b)(e,t);case u.c:return Object(s.a)(e,t);case i.a:var n=Object(l.a)(e,t.formId);return o()({},e,{editForm:n});case i.c:return o()({},e,{editForm:{}})}return e},h=Object(a.b)({formState:d,privacyState:c.a,statusState:p.e});t.a=h},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(57),o=n(147),a=n(146),i=n(212),u=(n.n(i),r.b),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.b:return Object(o.a)(e,t);default:return e}}},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t,n,r,o,a,i,u,s){this._hasCaughtError=!1,this._caughtError=null;var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function a(){if(yn._hasRethrowError){var e=yn._rethrowError;throw yn._rethrowError=null,yn._hasRethrowError=!1,e}}function i(){if(bn)for(var e in gn){var t=gn[e],n=bn.indexOf(e);if(-1<n||r("96",e),!Dn[n]){t.extractEvents||r("97",e),Dn[n]=t,n=t.eventTypes;for(var o in n){var a=void 0,i=n[o],s=t,l=o;Cn.hasOwnProperty(l)&&r("99",l),Cn[l]=i;var c=i.phasedRegistrationNames;if(c){for(a in c)c.hasOwnProperty(a)&&u(c[a],s,l);a=!0}else i.registrationName?(u(i.registrationName,s,l),a=!0):a=!1;a||r("98",o,e)}}}}function u(e,t,n){En[e]&&r("100",e),En[e]=t,_n[e]=t.eventTypes[n].dependencies}function s(e){bn&&r("101"),bn=Array.prototype.slice.call(e),i()}function l(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];gn.hasOwnProperty(t)&&gn[t]===o||(gn[t]&&r("102",t),gn[t]=o,n=!0)}n&&i()}function c(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=Tn(r),yn.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function p(e,t){return null==t&&r("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function f(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function d(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)c(e,t,n[o],r[o]);else n&&c(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function h(e){return d(e,!0)}function m(e){return d(e,!1)}function v(e,t){var n=e.stateNode;if(!n)return null;var o=On(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&r("231",t,typeof n),n)}function y(e,t){null!==e&&(kn=p(kn,e)),e=kn,kn=null,e&&(t?f(e,h):f(e,m),kn&&r("95"),yn.rethrowCaughtError())}function b(e,t,n,r){for(var o=null,a=0;a<Dn.length;a++){var i=Dn[a];i&&(i=i.extractEvents(e,t,n,r))&&(o=p(o,i))}y(o,!1)}function g(e){if(e[Pn])return e[Pn];for(;!e[Pn];){if(!e.parentNode)return null;e=e.parentNode}return e=e[Pn],5===e.tag||6===e.tag?e:null}function D(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function C(e){return e[Fn]||null}function E(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _(e,t,n){for(var r=[];e;)r.push(e),e=E(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function w(e,t,n){(t=v(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=p(n._dispatchListeners,t),n._dispatchInstances=p(n._dispatchInstances,e))}function O(e){e&&e.dispatchConfig.phasedRegistrationNames&&_(e._targetInst,w,e)}function x(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?E(t):null,_(t,w,e)}}function T(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=v(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=p(n._dispatchListeners,t),n._dispatchInstances=p(n._dispatchInstances,e))}function k(e){e&&e.dispatchConfig.registrationName&&T(e._targetInst,null,e)}function S(e){f(e,O)}function j(e,t,n,r){if(n&&r)e:{for(var o=n,a=r,i=0,u=o;u;u=E(u))i++;u=0;for(var s=a;s;s=E(s))u++;for(;0<i-u;)o=E(o),i--;for(;0<u-i;)a=E(a),u--;for(;i--;){if(o===a||o===a.alternate)break e;o=E(o),a=E(a)}o=null}else o=null;for(a=o,o=[];n&&n!==a&&(null===(i=n.alternate)||i!==a);)o.push(n),n=E(n);for(n=[];r&&r!==a&&(null===(i=r.alternate)||i!==a);)n.push(r),r=E(r);for(r=0;r<o.length;r++)T(o[r],"bubbled",e);for(e=n.length;0<e--;)T(n[e],"captured",t)}function N(){return!Rn&&cn.canUseDOM&&(Rn="textContent"in document.documentElement?"textContent":"innerText"),Rn}function P(){if(An._fallbackText)return An._fallbackText;var e,t,n=An._startText,r=n.length,o=F(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return An._fallbackText=o.slice(e,1<t?1-t:void 0),An._fallbackText}function F(){return"value"in An._root?An._root.value:An._root[N()]}function I(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var o in e)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?fn.thatReturnsTrue:fn.thatReturnsFalse,this.isPropagationStopped=fn.thatReturnsFalse,this}function M(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function R(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function A(e){e.eventPool=[],e.getPooled=M,e.release=R}function L(e,t){switch(e){case"topKeyUp":return-1!==Kn.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function U(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function B(e,t){switch(e){case"topCompositionEnd":return U(t);case"topKeyPress":return 32!==t.which?null:(Qn=!0,$n);case"topTextInput":return e=t.data,e===$n&&Qn?null:e;default:return null}}function H(e,t){if(Yn)return"topCompositionEnd"===e||!zn&&L(e,t)?(e=P(),An._root=null,An._startText=null,An._fallbackText=null,Yn=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"topCompositionEnd":return Vn?null:t.data;default:return null}}function K(e){if(e=xn(e)){Zn&&"function"==typeof Zn.restoreControlledState||r("194");var t=On(e.stateNode);Zn.restoreControlledState(e.stateNode,e.type,t)}}function z(e){Jn?er?er.push(e):er=[e]:Jn=e}function q(){return null!==Jn||null!==er}function W(){if(Jn){var e=Jn,t=er;if(er=Jn=null,K(e),t)for(e=0;e<t.length;e++)K(t[e])}}function V(e,t){return e(t)}function $(e,t,n){return e(t,n)}function G(){}function Q(e,t){if(rr)return e(t);rr=!0;try{return V(e,t)}finally{rr=!1,q()&&(G(),W())}}function Y(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!or[e.type]:"textarea"===t}function X(e){return e=e.target||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Z(e,t){return!(!cn.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"==typeof t[e]),t)}function J(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ee(e){var t=J(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"function"==typeof n.get&&"function"==typeof n.set)return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.get.call(this)},set:function(e){r=""+e,n.set.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}function te(e){e._valueTracker||(e._valueTracker=ee(e))}function ne(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=J(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function re(e){return null===e||void 0===e?null:(e=yr&&e[yr]||e["@@iterator"],"function"==typeof e?e:null)}function oe(e){if("function"==typeof(e=e.type))return e.displayName||e.name;if("string"==typeof e)return e;switch(e){case pr:return"ReactFragment";case cr:return"ReactPortal";case sr:return"ReactCall";case lr:return"ReactReturn"}return null}function ae(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,o=oe(e),a=null;n&&(a=oe(n)),n=r,o="\n in "+(o||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":a?" (created by "+a+")":"");break e;default:o=""}t+=o,e=e.return}while(e);return t}function ie(e){return!!Dr.hasOwnProperty(e)||!gr.hasOwnProperty(e)&&(br.test(e)?Dr[e]=!0:(gr[e]=!0,!1))}function ue(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function se(e,t,n,r){if(null===t||void 0===t||ue(e,t,n,r))return!0;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function le(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function ce(e){return e[1].toUpperCase()}function pe(e,t,n,r){var o=Cr.hasOwnProperty(t)?Cr[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(se(t,n,o,r)&&(n=null),r||null===o?ie(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(o=o.type,n=3===o||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function fe(e,t){var n=t.checked;return pn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function de(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function he(e,t){null!=(t=t.checked)&&pe(e,"checked",t,!1)}function me(e,t){he(e,t);var n=be(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?ye(e,t.type,n):t.hasOwnProperty("defaultValue")&&ye(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ve(e,t){(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue"))&&(""===e.value&&(e.value=""+e._wrapperState.initialValue),e.defaultValue=""+e._wrapperState.initialValue),t=e.name,""!==t&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function ye(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ge(e,t,n){return e=I.getPooled(_r.change,e,t,n),e.type="change",z(n),S(e),e}function De(e){y(e,!1)}function Ce(e){if(ne(D(e)))return e}function Ee(e,t){if("topChange"===e)return t}function _e(){wr&&(wr.detachEvent("onpropertychange",we),Or=wr=null)}function we(e){"value"===e.propertyName&&Ce(Or)&&(e=ge(Or,e,X(e)),Q(De,e))}function Oe(e,t,n){"topFocus"===e?(_e(),wr=t,Or=n,wr.attachEvent("onpropertychange",we)):"topBlur"===e&&_e()}function xe(e){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return Ce(Or)}function Te(e,t){if("topClick"===e)return Ce(t)}function ke(e,t){if("topInput"===e||"topChange"===e)return Ce(t)}function Se(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sr[e])&&!!t[e]}function je(){return Se}function Ne(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!=(2&t.effectTag))return 1}return 3===t.tag?2:3}function Pe(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)}function Fe(e){2!==Ne(e)&&r("188")}function Ie(e){var t=e.alternate;if(!t)return t=Ne(e),3===t&&r("188"),1===t?null:e;for(var n=e,o=t;;){var a=n.return,i=a?a.alternate:null;if(!a||!i)break;if(a.child===i.child){for(var u=a.child;u;){if(u===n)return Fe(a),e;if(u===o)return Fe(a),t;u=u.sibling}r("188")}if(n.return!==o.return)n=a,o=i;else{u=!1;for(var s=a.child;s;){if(s===n){u=!0,n=a,o=i;break}if(s===o){u=!0,o=a,n=i;break}s=s.sibling}if(!u){for(s=i.child;s;){if(s===n){u=!0,n=i,o=a;break}if(s===o){u=!0,o=i,n=a;break}s=s.sibling}u||r("189")}}n.alternate!==o&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function Me(e){if(!(e=Ie(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Re(e){if(!(e=Ie(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ae(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Le(e,t){var n=e[0].toUpperCase()+e.slice(1),r="on"+n;n="top"+n,t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},zr[e]=t,qr[n]=t}function Ue(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=g(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],b(e.topLevelType,t,e.nativeEvent,X(e.nativeEvent))}function Be(e){Gr=!!e}function He(e,t,n){if(!n)return null;e=(Vr(e)?ze:qe).bind(null,e),n.addEventListener(t,e,!1)}function Ke(e,t,n){if(!n)return null;e=(Vr(e)?ze:qe).bind(null,e),n.addEventListener(t,e,!0)}function ze(e,t){$(qe,e,t)}function qe(e,t){if(Gr){var n=X(t);if(n=g(n),null!==n&&"number"==typeof n.tag&&2!==Ne(n)&&(n=null),$r.length){var r=$r.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Q(Ue,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>$r.length&&$r.push(e)}}}function We(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function Ve(e){if(Xr[e])return Xr[e];if(!Yr[e])return e;var t,n=Yr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Zr)return Xr[e]=n[t];return e}function $e(e){return Object.prototype.hasOwnProperty.call(e,ro)||(e[ro]=no++,to[e[ro]]={}),to[e[ro]]}function Ge(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qe(e,t){var n=Ge(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ge(n)}}function Ye(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}function Xe(e,t){if(lo||null==io||io!==dn())return null;var n=io;return"selectionStart"in n&&Ye(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,so&&hn(so,n)?null:(so=n,e=I.getPooled(ao.select,uo,e,t),e.type="select",e.target=io,S(e),e)}function Ze(e,t,n,r){this.tag=e,this.key=n,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function Je(e,t,n){var r=e.alternate;return null===r?(r=new Ze(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function et(e,t,n){var o=e.type,a=e.key;e=e.props;var i=void 0;if("function"==typeof o)i=o.prototype&&o.prototype.isReactComponent?2:0;else if("string"==typeof o)i=5;else switch(o){case pr:return tt(e.children,t,n,a);case mr:i=11,t|=3;break;case fr:i=11,t|=2;break;case sr:i=7;break;case lr:i=9;break;default:if("object"==typeof o&&null!==o)switch(o.$$typeof){case dr:i=13;break;case hr:i=12;break;case vr:i=14;break;default:if("number"==typeof o.tag)return t=o,t.pendingProps=e,t.expirationTime=n,t;r("130",null==o?o:typeof o,"")}else r("130",null==o?o:typeof o,"")}return t=new Ze(i,e,a,t),t.type=o,t.expirationTime=n,t}function tt(e,t,n,r){return e=new Ze(10,e,r,t),e.expirationTime=n,e}function nt(e,t,n){return e=new Ze(6,e,null,t),e.expirationTime=n,e}function rt(e,t,n){return t=new Ze(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ot(e){return function(t){try{return e(t)}catch(e){}}}function at(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);po=ot(function(e){return t.onCommitFiberRoot(n,e)}),fo=ot(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function it(e){"function"==typeof po&&po(e)}function ut(e){"function"==typeof fo&&fo(e)}function st(e){return{baseState:e,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1,capturedValues:null}}function lt(e,t){null===e.last?e.first=e.last=t:(e.last.next=t,e.last=t),(0===e.expirationTime||e.expirationTime>t.expirationTime)&&(e.expirationTime=t.expirationTime)}function ct(e){ho=mo=null;var t=e.alternate,n=e.updateQueue;null===n&&(n=e.updateQueue=st(null)),null!==t?null===(e=t.updateQueue)&&(e=t.updateQueue=st(null)):e=null,ho=n,mo=e!==n?e:null}function pt(e,t){ct(e),e=ho;var n=mo;null===n?lt(e,t):null===e.last||null===n.last?(lt(e,t),lt(n,t)):(lt(e,t),n.last=t)}function ft(e,t,n,r){return e=e.partialState,"function"==typeof e?e.call(t,n,r):e}function dt(e,t,n,r,o,a){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,capturedValues:n.capturedValues,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var i=!0,u=n.first,s=!1;null!==u;){var l=u.expirationTime;if(l>a){var c=n.expirationTime;(0===c||c>l)&&(n.expirationTime=l),s||(s=!0,n.baseState=e)}else s||(n.first=u.next,null===n.first&&(n.last=null)),u.isReplace?(e=ft(u,r,e,o),i=!0):(l=ft(u,r,e,o))&&(e=i?pn({},e,l):pn(e,l),i=!1),u.isForced&&(n.hasForceUpdate=!0),null!==u.callback&&(l=n.callbackList,null===l&&(l=n.callbackList=[]),l.push(u)),null!==u.capturedValue&&(l=n.capturedValues,null===l?n.capturedValues=[u.capturedValue]:l.push(u.capturedValue));u=u.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||null!==n.capturedValues||(t.updateQueue=null),s||(n.baseState=e),e}function ht(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;e<n.length;e++){var o=n[e],a=o.callback;o.callback=null,"function"!=typeof a&&r("191",a),a.call(t)}}function mt(e,t,n,r,o){function a(e,t,n,r,o,a){if(null===t||null!==e.updateQueue&&e.updateQueue.hasForceUpdate)return!0;var i=e.stateNode;return e=e.type,"function"==typeof i.shouldComponentUpdate?i.shouldComponentUpdate(n,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!hn(t,n)||!hn(r,o))}function i(e,t){t.updater=h,e.stateNode=t,t._reactInternalFiber=e}function u(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&h.enqueueReplaceState(t,t.state,null)}function s(e,t,n,r){if(e=e.type,"function"==typeof e.getDerivedStateFromProps)return e.getDerivedStateFromProps.call(null,n,r)}var l=e.cacheContext,c=e.getMaskedContext,p=e.getUnmaskedContext,f=e.isContextConsumer,d=e.hasContextChanged,h={isMounted:Pe,enqueueSetState:function(e,r,o){e=e._reactInternalFiber,o=void 0===o?null:o;var a=n(e);pt(e,{expirationTime:a,partialState:r,callback:o,isReplace:!1,isForced:!1,capturedValue:null,next:null}),t(e,a)},enqueueReplaceState:function(e,r,o){e=e._reactInternalFiber,o=void 0===o?null:o;var a=n(e);pt(e,{expirationTime:a,partialState:r,callback:o,isReplace:!0,isForced:!1,capturedValue:null,next:null}),t(e,a)},enqueueForceUpdate:function(e,r){e=e._reactInternalFiber,r=void 0===r?null:r;var o=n(e);pt(e,{expirationTime:o,partialState:null,callback:r,isReplace:!1,isForced:!0,capturedValue:null,next:null}),t(e,o)}};return{adoptClassInstance:i,callGetDerivedStateFromProps:s,constructClassInstance:function(e,t){var n=e.type,r=p(e),o=f(e),a=o?c(e,r):vn;n=new n(t,a);var u=null!==n.state&&void 0!==n.state?n.state:null;return i(e,n),e.memoizedState=u,t=s(e,n,t,u),null!==t&&void 0!==t&&(e.memoizedState=pn({},e.memoizedState,t)),o&&l(e,r,a),n},mountClassInstance:function(e,t){var n=e.type,r=e.alternate,o=e.stateNode,a=e.pendingProps,i=p(e);o.props=a,o.state=e.memoizedState,o.refs=vn,o.context=c(e,i),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(n=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),n!==o.state&&h.enqueueReplaceState(o,o.state,null),null!==(n=e.updateQueue)&&(o.state=dt(r,e,n,o,a,t))),"function"==typeof o.componentDidMount&&(e.effectTag|=4)},resumeMountClassInstance:function(e,t){var n=e.type,i=e.stateNode;i.props=e.memoizedProps,i.state=e.memoizedState;var l=e.memoizedProps,f=e.pendingProps,h=i.context,m=p(e);m=c(e,m),(n="function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||h!==m)&&u(e,i,f,m),h=e.memoizedState,t=null!==e.updateQueue?dt(null,e,e.updateQueue,i,f,t):h;var v=void 0;if(l!==f&&(v=s(e,i,f,t)),null!==v&&void 0!==v){t=null===t||void 0===t?v:pn({},t,v);var y=e.updateQueue;null!==y&&(y.baseState=pn({},y.baseState,v))}return l!==f||h!==t||d()||null!==e.updateQueue&&e.updateQueue.hasForceUpdate?((l=a(e,l,f,h,t,m))?(n||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(e.effectTag|=4)):("function"==typeof i.componentDidMount&&(e.effectTag|=4),r(e,f),o(e,t)),i.props=f,i.state=t,i.context=m,l):("function"==typeof i.componentDidMount&&(e.effectTag|=4),!1)},updateClassInstance:function(e,t,n){var i=t.type,l=t.stateNode;l.props=t.memoizedProps,l.state=t.memoizedState;var f=t.memoizedProps,h=t.pendingProps,m=l.context,v=p(t);v=c(t,v),(i="function"==typeof i.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(f!==h||m!==v)&&u(t,l,h,v),m=t.memoizedState,n=null!==t.updateQueue?dt(e,t,t.updateQueue,l,h,n):m;var y=void 0;if(f!==h&&(y=s(t,l,h,n)),null!==y&&void 0!==y){n=null===n||void 0===n?y:pn({},n,y);var b=t.updateQueue;null!==b&&(b.baseState=pn({},b.baseState,y))}return f!==h||m!==n||d()||null!==t.updateQueue&&t.updateQueue.hasForceUpdate?((y=a(t,f,h,m,n,v))?(i||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(h,n,v),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(h,n,v)),"function"==typeof l.componentDidUpdate&&(t.effectTag|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.effectTag|=2048)):("function"!=typeof l.componentDidUpdate||f===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||f===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),r(t,h),o(t,n)),l.props=h,l.state=n,l.context=v,y):("function"!=typeof l.componentDidUpdate||f===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||f===e.memoizedProps&&m===e.memoizedState||(t.effectTag|=2048),!1)}}}function vt(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var o=void 0;n&&(2!==n.tag&&r("110"),o=n.stateNode),o||r("147",e);var a=""+e;return null!==t&&null!==t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs===vn?o.refs={}:o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}"string"!=typeof e&&r("148"),n._owner||r("254",e)}return e}function yt(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bt(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t,n){return e=Je(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=nt(n,e.mode,r),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function l(e,t,n,r){return null!==t&&t.type===n.type?(r=a(t,n.props,r),r.ref=vt(e,t,n),r.return=e,r):(r=et(n,e.mode,r),r.ref=vt(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rt(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[],r),t.return=e,t)}function p(e,t,n,r,o){return null===t||10!==t.tag?(t=tt(n,e.mode,r,o),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return t=nt(""+t,e.mode,n),t.return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ur:return n=et(t,e.mode,n),n.ref=vt(e,null,t),n.return=e,n;case cr:return t=rt(t,e.mode,n),t.return=e,t}if(vo(t)||re(t))return t=tt(t,e.mode,n,null),t.return=e,t;yt(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ur:return n.key===o?n.type===pr?p(e,t,n.props.children,r,o):l(e,t,n,r):null;case cr:return n.key===o?c(e,t,n,r):null}if(vo(n)||re(n))return null!==o?null:p(e,t,n,r,null);yt(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return e=e.get(n)||null,s(t,e,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ur:return e=e.get(null===r.key?n:r.key)||null,r.type===pr?p(t,e,r.props.children,o,r.key):l(t,e,r,o);case cr:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,o)}if(vo(r)||re(r))return e=e.get(n)||null,p(t,e,r,o,null);yt(t,r)}return null}function m(r,a,u,s){for(var l=null,c=null,p=a,m=a=0,v=null;null!==p&&m<u.length;m++){p.index>m?(v=p,p=null):v=p.sibling;var y=d(r,p,u[m],s);if(null===y){null===p&&(p=v);break}e&&p&&null===y.alternate&&t(r,p),a=i(y,a,m),null===c?l=y:c.sibling=y,c=y,p=v}if(m===u.length)return n(r,p),l;if(null===p){for(;m<u.length;m++)(p=f(r,u[m],s))&&(a=i(p,a,m),null===c?l=p:c.sibling=p,c=p);return l}for(p=o(r,p);m<u.length;m++)(v=h(p,r,m,u[m],s))&&(e&&null!==v.alternate&&p.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?l=v:c.sibling=v,c=v);return e&&p.forEach(function(e){return t(r,e)}),l}function v(a,u,s,l){var c=re(s);"function"!=typeof c&&r("150"),null==(s=c.call(s))&&r("151");for(var p=c=null,m=u,v=u=0,y=null,b=s.next();null!==m&&!b.done;v++,b=s.next()){m.index>v?(y=m,m=null):y=m.sibling;var g=d(a,m,b.value,l);if(null===g){m||(m=y);break}e&&m&&null===g.alternate&&t(a,m),u=i(g,u,v),null===p?c=g:p.sibling=g,p=g,m=y}if(b.done)return n(a,m),c;if(null===m){for(;!b.done;v++,b=s.next())null!==(b=f(a,b.value,l))&&(u=i(b,u,v),null===p?c=b:p.sibling=b,p=b);return c}for(m=o(a,m);!b.done;v++,b=s.next())null!==(b=h(m,a,v,b.value,l))&&(e&&null!==b.alternate&&m.delete(null===b.key?v:b.key),u=i(b,u,v),null===p?c=b:p.sibling=b,p=b);return e&&m.forEach(function(e){return t(a,e)}),c}return function(e,o,i,s){"object"==typeof i&&null!==i&&i.type===pr&&null===i.key&&(i=i.props.children);var l="object"==typeof i&&null!==i;if(l)switch(i.$$typeof){case ur:e:{var c=i.key;for(l=o;null!==l;){if(l.key===c){if(10===l.tag?i.type===pr:l.type===i.type){n(e,l.sibling),o=a(l,i.type===pr?i.props.children:i.props,s),o.ref=vt(e,l,i),o.return=e,e=o;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===pr?(o=tt(i.props.children,e.mode,s,i.key),o.return=e,e=o):(s=et(i,e.mode,s),s.ref=vt(e,o,i),s.return=e,e=s)}return u(e);case cr:e:{for(l=i.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),o=a(o,i.children||[],s),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=rt(i,e.mode,s),o.return=e,e=o}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),o=a(o,i,s)):(n(e,o),o=nt(i,e.mode,s)),o.return=e,e=o,u(e);if(vo(i))return m(e,o,i,s);if(re(i))return v(e,o,i,s);if(l&&yt(e,i),void 0===i)switch(e.tag){case 2:case 1:s=e.type,r("152",s.displayName||s.name||"Component")}return n(e,o)}}function gt(e,t,n,o,a,i,u){function s(e,t,n){l(e,t,n,t.expirationTime)}function l(e,t,n,r){t.child=null===e?bo(t,null,n,r):yo(t,e.child,n,r)}function c(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function p(e,t,n,r,o,a){if(c(e,t),!n&&!o)return r&&x(t,!1),m(e,t);n=t.stateNode,ar.current=t;var i=o?null:n.render();return t.effectTag|=1,o&&(l(e,t,null,a),t.child=null),l(e,t,i,a),t.memoizedState=n.state,t.memoizedProps=n.props,r&&x(t,!0),t.child}function f(e){var t=e.stateNode;t.pendingContext?O(e,t.pendingContext,t.pendingContext!==t.context):t.context&&O(e,t.context,!1),g(e,t.containerInfo)}function d(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var a=0|o.stateNode;if(o.type===t&&0!=(a&n)){for(a=o;null!==a;){var i=a.alternate;if(0===a.expirationTime||a.expirationTime>r)a.expirationTime=r,null!==i&&(0===i.expirationTime||i.expirationTime>r)&&(i.expirationTime=r);else{if(null===i||!(0===i.expirationTime||i.expirationTime>r))break;i.expirationTime=r}a=a.return}a=null}else a=o.child;break;case 13:a=o.type===e.type?null:o.child;break;default:a=o.child}if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===e){a=null;break}if(null!==(o=a.sibling)){a=o;break}a=a.return}o=a}}function h(e,t,n){var r=t.type._context,o=t.pendingProps,a=t.memoizedProps;if(!_()&&a===o)return t.stateNode=0,D(t),m(e,t);var i=o.value;if(t.memoizedProps=o,null===a)i=1073741823;else if(a.value===o.value){if(a.children===o.children)return t.stateNode=0,D(t),m(e,t);i=0}else{var u=a.value;if(u===i&&(0!==u||1/u==1/i)||u!==u&&i!==i){if(a.children===o.children)return t.stateNode=0,D(t),m(e,t);i=0}else if(i="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823,0===(i|=0)){if(a.children===o.children)return t.stateNode=0,D(t),m(e,t)}else d(t,r,i,n)}return t.stateNode=i,D(t),s(e,t,o.children),t.child}function m(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=Je(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Je(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}var v=e.shouldSetTextContent,y=e.shouldDeprioritizeSubtree,b=t.pushHostContext,g=t.pushHostContainer,D=o.pushProvider,C=n.getMaskedContext,E=n.getUnmaskedContext,_=n.hasContextChanged,w=n.pushContextProvider,O=n.pushTopLevelContextObject,x=n.invalidateContextProvider,T=a.enterHydrationState,k=a.resetHydrationState,S=a.tryToClaimNextHydratableInstance;e=mt(n,i,u,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t});var j=e.adoptClassInstance,N=e.callGetDerivedStateFromProps,P=e.constructClassInstance,F=e.mountClassInstance,I=e.resumeMountClassInstance,M=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:f(t);break;case 2:w(t);break;case 4:g(t,t.stateNode.containerInfo);break;case 13:D(t)}return null}switch(t.tag){case 0:null!==e&&r("155");var o=t.type,a=t.pendingProps,i=E(t);return i=C(t,i),o=o(a,i),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,"function"==typeof i.getDerivedStateFromProps&&null!==(a=N(t,o,a,t.memoizedState))&&void 0!==a&&(t.memoizedState=pn({},t.memoizedState,a)),a=w(t),j(t,o),F(t,n),e=p(e,t,!0,a,!1,n)):(t.tag=1,s(e,t,o),t.memoizedProps=a,e=t.child),e;case 1:return a=t.type,n=t.pendingProps,_()||t.memoizedProps!==n?(o=E(t),o=C(t,o),a=a(n,o),t.effectTag|=1,s(e,t,a),t.memoizedProps=n,e=t.child):e=m(e,t),e;case 2:a=w(t),null===e?null===t.stateNode?(P(t,t.pendingProps),F(t,n),o=!0):o=I(t,n):o=M(e,t,n),i=!1;var u=t.updateQueue;return null!==u&&null!==u.capturedValues&&(i=o=!0),p(e,t,o,a,i,n);case 3:e:if(f(t),null!==(o=t.updateQueue)){if(i=t.memoizedState,a=dt(e,t,o,null,null,n),t.memoizedState=a,null!==(o=t.updateQueue)&&null!==o.capturedValues)o=null;else{if(i===a){k(),e=m(e,t);break e}o=a.element}i=t.stateNode,(null===e||null===e.child)&&i.hydrate&&T(t)?(t.effectTag|=2,t.child=bo(t,null,o,n)):(k(),s(e,t,o)),t.memoizedState=a,e=t.child}else k(),e=m(e,t);return e;case 5:return b(t),null===e&&S(t),a=t.type,u=t.memoizedProps,o=t.pendingProps,i=null!==e?e.memoizedProps:null,_()||u!==o||((u=1&t.mode&&y(a,o))&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=o.children,v(a,o)?u=null:i&&v(a,i)&&(t.effectTag|=16),c(e,t),1073741823!==n&&1&t.mode&&y(a,o)?(t.expirationTime=1073741823,t.memoizedProps=o,e=null):(s(e,t,u),t.memoizedProps=o,e=t.child)):e=m(e,t),e;case 6:return null===e&&S(t),t.memoizedProps=t.pendingProps,null;case 8:t.tag=7;case 7:return a=t.pendingProps,_()||t.memoizedProps!==a||(a=t.memoizedProps),o=a.children,t.stateNode=null===e?bo(t,t.stateNode,o,n):yo(t,e.stateNode,o,n),t.memoizedProps=a,t.stateNode;case 9:return null;case 4:return g(t,t.stateNode.containerInfo),a=t.pendingProps,_()||t.memoizedProps!==a?(null===e?t.child=yo(t,null,a,n):s(e,t,a),t.memoizedProps=a,e=t.child):e=m(e,t),e;case 14:return n=t.type.render,n=n(t.pendingProps,t.ref),s(e,t,n),t.memoizedProps=n,t.child;case 10:return n=t.pendingProps,_()||t.memoizedProps!==n?(s(e,t,n),t.memoizedProps=n,e=t.child):e=m(e,t),e;case 11:return n=t.pendingProps.children,_()||null!==n&&t.memoizedProps!==n?(s(e,t,n),t.memoizedProps=n,e=t.child):e=m(e,t),e;case 13:return h(e,t,n);case 12:o=t.type,i=t.pendingProps;var l=t.memoizedProps;return a=o._currentValue,u=o._changedBits,_()||0!==u||l!==i?(t.memoizedProps=i,l=i.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!=(u&l)&&d(t,o,u,n),n=i.children,n=n(a),s(e,t,n),e=t.child):e=m(e,t),e;default:r("156")}}}}function Dt(e,t,n,o,a){function i(e){e.effectTag|=4}var u=e.createInstance,s=e.createTextInstance,l=e.appendInitialChild,c=e.finalizeInitialChildren,p=e.prepareUpdate,f=e.persistence,d=t.getRootHostContainer,h=t.popHostContext,m=t.getHostContext,v=t.popHostContainer,y=n.popContextProvider,b=n.popTopLevelContextObject,g=o.popProvider,D=a.prepareToHydrateHostInstance,C=a.prepareToHydrateHostTextInstance,E=a.popHydrationState,_=void 0,w=void 0,O=void 0;return e.mutation?(_=function(){},w=function(e,t,n){(t.updateQueue=n)&&i(t)},O=function(e,t,n,r){n!==r&&i(t)}):r(f?"235":"236"),{completeWork:function(e,t,n){var o=t.pendingProps;switch(t.tag){case 1:return null;case 2:return y(t),e=t.stateNode,o=t.updateQueue,null!==o&&null!==o.capturedValues&&(t.effectTag&=-65,"function"==typeof e.componentDidCatch?t.effectTag|=256:o.capturedValues=null),null;case 3:return v(t),b(t),o=t.stateNode,o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(E(t),t.effectTag&=-3),_(t),e=t.updateQueue,null!==e&&null!==e.capturedValues&&(t.effectTag|=256),null;case 5:h(t),n=d();var a=t.type;if(null!==e&&null!=t.stateNode){var f=e.memoizedProps,x=t.stateNode,T=m();x=p(x,a,f,o,n,T),w(e,t,x,a,f,o,n,T),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!o)return null===t.stateNode&&r("166"),null;if(e=m(),E(t))D(t,n,e)&&i(t);else{f=u(a,o,n,e,t);e:for(T=t.child;null!==T;){if(5===T.tag||6===T.tag)l(f,T.stateNode);else if(4!==T.tag&&null!==T.child){T.child.return=T,T=T.child;continue}if(T===t)break;for(;null===T.sibling;){if(null===T.return||T.return===t)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}c(f,a,o,n,e)&&i(t),t.stateNode=f}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)O(e,t,e.memoizedProps,o);else{if("string"!=typeof o)return null===t.stateNode&&r("166"),null;e=d(),n=m(),E(t)?C(t)&&i(t):t.stateNode=s(o,e,n,t)}return null;case 7:(o=t.memoizedProps)||r("165"),t.tag=8,a=[];e:for((f=t.stateNode)&&(f.return=t);null!==f;){if(5===f.tag||6===f.tag||4===f.tag)r("247");else if(9===f.tag)a.push(f.pendingProps.value);else if(null!==f.child){f.child.return=f,f=f.child;continue}for(;null===f.sibling;){if(null===f.return||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}return f=o.handler,o=f(o.props,a),t.child=yo(t,null!==e?e.child:null,o,n),t.child;case 8:return t.tag=7,null;case 9:case 14:case 10:case 11:return null;case 4:return v(t),_(t),null;case 13:return g(t),null;case 12:return null;case 0:r("167");default:r("156")}}}}function Ct(e,t,n,r,o){var a=e.popHostContainer,i=e.popHostContext,u=t.popContextProvider,s=t.popTopLevelContextObject,l=n.popProvider;return{throwException:function(e,t,n){t.effectTag|=512,t.firstEffect=t.lastEffect=null,t={value:n,source:t,stack:ae(t)};do{switch(e.tag){case 3:return ct(e),e.updateQueue.capturedValues=[t],void(e.effectTag|=1024);case 2:if(n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&!o(n)){ct(e),n=e.updateQueue;var r=n.capturedValues;return null===r?n.capturedValues=[t]:r.push(t),void(e.effectTag|=1024)}}e=e.return}while(null!==e)},unwindWork:function(e){switch(e.tag){case 2:u(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return a(e),s(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return i(e),null;case 4:return a(e),null;case 13:return l(e),null;default:return null}},unwindInterruptedWork:function(e){switch(e.tag){case 2:u(e);break;case 3:a(e),s(e);break;case 5:i(e);break;case 4:a(e);break;case 13:l(e)}}}}function Et(e,t){var n=t.source;null===t.stack&&ae(n),null!==n&&oe(n),t=t.value,null!==e&&2===e.tag&&oe(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function _t(e,t,n,o,a){function i(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){t(e,n)}else n.current=null}function u(e){switch("function"==typeof ut&&ut(e),e.tag){case 2:i(e);var n=e.stateNode;if("function"==typeof n.componentWillUnmount)try{n.props=e.memoizedProps,n.state=e.memoizedState,n.componentWillUnmount()}catch(n){t(e,n)}break;case 5:i(e);break;case 7:s(e.stateNode);break;case 4:f&&c(e)}}function s(e){for(var t=e;;)if(u(t),null===t.child||f&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function l(e){return 5===e.tag||3===e.tag||4===e.tag}function c(e){for(var t=e,n=!1,o=void 0,a=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:o=n.stateNode,a=!1;break e;case 3:case 4:o=n.stateNode.containerInfo,a=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag)s(t),a?E(o,t.stateNode):C(o,t.stateNode);else if(4===t.tag?o=t.stateNode.containerInfo:u(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}var p=e.getPublicInstance,f=e.mutation;e=e.persistence,f||r(e?"235":"236");var d=f.commitMount,h=f.commitUpdate,m=f.resetTextContent,v=f.commitTextUpdate,y=f.appendChild,b=f.appendChildToContainer,g=f.insertBefore,D=f.insertInContainerBefore,C=f.removeChild,E=f.removeChildFromContainer;return{commitBeforeMutationLifeCycles:function(e,t){switch(t.tag){case 2:if(2048&t.effectTag&&null!==e){var n=e.memoizedProps,o=e.memoizedState;e=t.stateNode,e.props=t.memoizedProps,e.state=t.memoizedState,t=e.getSnapshotBeforeUpdate(n,o),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:break;default:r("163")}},commitResetTextContent:function(e){m(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(l(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:r("161")}16&n.effectTag&&(m(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||l(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var a=e;;){if(5===a.tag||6===a.tag)n?o?D(t,a.stateNode,n):g(t,a.stateNode,n):o?b(t,a.stateNode):y(t,a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},commitDeletion:function(e){c(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&h(n,i,a,e,o,t)}break;case 6:null===t.stateNode&&r("162"),n=t.memoizedProps,v(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:r("163")}},commitLifeCycles:function(e,t,n){switch(n.tag){case 2:if(e=n.stateNode,4&n.effectTag)if(null===t)e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidMount();else{var o=t.memoizedProps;t=t.memoizedState,e.props=n.memoizedProps,e.state=n.memoizedState,e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}n=n.updateQueue,null!==n&&ht(n,e);break;case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=p(n.child.stateNode);break;case 2:e=n.child.stateNode}ht(t,e)}break;case 5:e=n.stateNode,null===t&&4&n.effectTag&&d(e,n.type,n.memoizedProps,n);break;case 6:case 4:break;default:r("163")}},commitErrorLogging:function(e,t){switch(e.tag){case 2:var n=e.type;t=e.stateNode;var o=e.updateQueue;(null===o||null===o.capturedValues)&&r("264");var i=o.capturedValues;for(o.capturedValues=null,"function"!=typeof n.getDerivedStateFromCatch&&a(t),t.props=e.memoizedProps,t.state=e.memoizedState,n=0;n<i.length;n++){o=i[n];var u=o.value,s=o.stack;Et(e,o),t.componentDidCatch(u,{componentStack:null!==s?s:""})}break;case 3:for(n=e.updateQueue,(null===n||null===n.capturedValues)&&r("264"),i=n.capturedValues,n.capturedValues=null,n=0;n<i.length;n++)o=i[n],Et(e,o),t(o.value);break;default:r("265")}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:e=p(n);break;default:e=n}"function"==typeof t?t(e):t.current=e}},commitDetachRef:function(e){null!==(e=e.ref)&&("function"==typeof e?e(null):e.current=null)}}}function wt(e,t){function n(e){return e===go&&r("174"),e}var o=e.getChildHostContext,a=e.getRootHostContext;e=t.createCursor;var i=t.push,u=t.pop,s=e(go),l=e(go),c=e(go);return{getHostContext:function(){return n(s.current)},getRootHostContainer:function(){return n(c.current)},popHostContainer:function(e){u(s,e),u(l,e),u(c,e)},popHostContext:function(e){l.current===e&&(u(s,e),u(l,e))},pushHostContainer:function(e,t){i(c,t,e),i(l,e,e),i(s,go,e),t=a(t),u(s,e),i(s,t,e)},pushHostContext:function(e){var t=n(c.current),r=n(s.current);t=o(r,e.type,t),r!==t&&(i(l,e,e),i(s,t,e))}}}function Ot(e){function t(e,t){var n=new Ze(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function n(e,t){switch(e.tag){case 5:return null!==(t=i(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=u(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;f=e}var a=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){r("175")},prepareToHydrateHostTextInstance:function(){r("176")},popHydrationState:function(){return!1}};var i=e.canHydrateInstance,u=e.canHydrateTextInstance,s=e.getNextHydratableSibling,l=e.getFirstHydratableChild,c=e.hydrateInstance,p=e.hydrateTextInstance,f=null,d=null,h=!1;return{enterHydrationState:function(e){return d=l(e.stateNode.containerInfo),f=e,h=!0},resetHydrationState:function(){d=f=null,h=!1},tryToClaimNextHydratableInstance:function(e){if(h){var r=d;if(r){if(!n(e,r)){if(!(r=s(r))||!n(e,r))return e.effectTag|=2,h=!1,void(f=e);t(f,d)}f=e,d=l(r)}else e.effectTag|=2,h=!1,f=e}},prepareToHydrateHostInstance:function(e,t,n){return t=c(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return p(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==f)return!1;if(!h)return o(e),h=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!a(n,e.memoizedProps))for(n=d;n;)t(e,n),n=s(n);return o(e),d=f?s(e.stateNode):null,!0}}}function xt(e){function t(e,t,n){e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n}function n(e){return 2===e.tag&&null!=e.type.childContextTypes}function o(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var a in n)a in o||r("108",oe(e)||"Unknown",a);return pn({},t,n)}var a=e.createCursor,i=e.push,u=e.pop,s=a(vn),l=a(!1),c=vn;return{getUnmaskedContext:function(e){return n(e)?c:s.current},cacheContext:t,getMaskedContext:function(e,n){var r=e.type.contextTypes;if(!r)return vn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===n)return o.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in r)i[a]=n[a];return o&&t(e,n,i),i},hasContextChanged:function(){return l.current},isContextConsumer:function(e){return 2===e.tag&&null!=e.type.contextTypes},isContextProvider:n,popContextProvider:function(e){n(e)&&(u(l,e),u(s,e))},popTopLevelContextObject:function(e){u(l,e),u(s,e)},pushTopLevelContextObject:function(e,t,n){null!=s.cursor&&r("168"),i(s,t,e),i(l,n,e)},processChildContext:o,pushContextProvider:function(e){if(!n(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||vn,c=s.current,i(s,t,e),i(l,l.current,e),!0},invalidateContextProvider:function(e,t){var n=e.stateNode;if(n||r("169"),t){var a=o(e,c);n.__reactInternalMemoizedMergedChildContext=a,u(l,e),u(s,e),i(s,a,e)}else u(l,e);i(l,t,e)},findCurrentUnmaskedContext:function(e){for(2!==Ne(e)||2!==e.tag?r("170"):void 0;3!==e.tag;){if(n(e))return e.stateNode.__reactInternalMemoizedMergedChildContext;(e=e.return)||r("171")}return e.stateNode.context}}}function Tt(e){var t=e.createCursor,n=e.push,r=e.pop,o=t(null),a=t(null),i=t(0);return{pushProvider:function(e){var t=e.type._context;n(i,t._changedBits,e),n(a,t._currentValue,e),n(o,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode},popProvider:function(e){var t=i.current,n=a.current;r(o,e),r(a,e),r(i,e),e=e.type._context,e._currentValue=n,e._changedBits=t}}}function kt(){var e=[],t=-1;return{createCursor:function(e){return{current:e}},isEmpty:function(){return-1===t},pop:function(n){0>t||(n.current=e[t],e[t]=null,t--)},push:function(n,r){t++,e[t]=n.current,n.current=r},checkThatStackIsEmpty:function(){},resetStackAfterFatalErrorInDev:function(){}}}function St(e){function t(){if(null!==J)for(var e=J.return;null!==e;)P(e),e=e.return;ee=null,te=0,J=null,oe=!1}function n(e){return null!==ie&&ie.has(e)}function o(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=S(t,e,te);var o=e;if(1073741823===te||1073741823!==o.expirationTime){e:switch(o.tag){case 3:case 2:var a=o.updateQueue;a=null===a?0:a.expirationTime;break e;default:a=0}for(var i=o.child;null!==i;)0!==i.expirationTime&&(0===a||a>i.expirationTime)&&(a=i.expirationTime),i=i.sibling;o.expirationTime=a}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){oe=!0;break}e=n}else{if(null!==(e=N(e)))return e.effectTag&=2559,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function a(e){var t=k(e.alternate,e,te);return null===t&&(t=o(e)),ar.current=null,t}function i(e,n,i){Z&&r("243"),Z=!0,n===te&&e===ee&&null!==J||(t(),ee=e,te=n,J=Je(ee.current,null,te),e.pendingCommitExpirationTime=0);for(var u=!1;;){try{if(i)for(;null!==J&&!E();)J=a(J);else for(;null!==J;)J=a(J)}catch(e){if(null===J){u=!0,_(e);break}i=J;var s=i.return;if(null===s){u=!0,_(e);break}j(s,i,e),J=o(i)}break}return Z=!1,u||null!==J?null:oe?(e.pendingCommitExpirationTime=n,e.current.alternate):void r("262")}function u(e,t,n,r){e={value:n,source:e,stack:ae(e)},pt(t,{expirationTime:r,partialState:null,callback:null,isReplace:!1,isForced:!1,capturedValue:e,next:null}),c(t,r)}function s(e,t){e:{Z&&!re&&r("263");for(var o=e.return;null!==o;){switch(o.tag){case 2:var a=o.stateNode;if("function"==typeof o.type.getDerivedStateFromCatch||"function"==typeof a.componentDidCatch&&!n(a)){u(e,o,t,1),e=void 0;break e}break;case 3:u(e,o,t,1),e=void 0;break e}o=o.return}3===e.tag&&u(e,e,t,1),e=void 0}return e}function l(e){return e=0!==X?X:Z?re?1:te:1&e.mode?Ce?10*(1+((p()+50)/10|0)):25*(1+((p()+500)/25|0)):1,Ce&&(0===he||e>he)&&(he=e),e}function c(e,n){e:{for(;null!==e;){if((0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>n)&&(e.alternate.expirationTime=n),null===e.return){if(3!==e.tag){n=void 0;break e}var o=e.stateNode;!Z&&0!==te&&n<te&&t(),Z&&!re&&ee===o||h(o,n),we>_e&&r("185")}e=e.return}n=void 0}return n}function p(){return Q=K()-$,G=2+(Q/10|0)}function f(e,t,n,r,o){var a=X;X=1;try{return e(t,n,r,o)}finally{X=a}}function d(e){if(0!==le){if(e>le)return;q(ce)}var t=K()-$;le=e,ce=z(v,{timeout:10*(e-2)-t})}function h(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===se?(ue=se=e,e.nextScheduledRoot=e):(se=se.nextScheduledRoot=e,se.nextScheduledRoot=ue);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}pe||(ge?De&&(fe=e,de=1,D(e,1,!1)):1===t?y():d(t))}function m(){var e=0,t=null;if(null!==se)for(var n=se,o=ue;null!==o;){var a=o.remainingExpirationTime;if(0===a){if((null===n||null===se)&&r("244"),o===o.nextScheduledRoot){ue=se=o.nextScheduledRoot=null;break}if(o===ue)ue=a=o.nextScheduledRoot,se.nextScheduledRoot=a,o.nextScheduledRoot=null;else{if(o===se){se=n,se.nextScheduledRoot=ue,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||a<e)&&(e=a,t=o),o===se)break;n=o,o=o.nextScheduledRoot}}n=fe,null!==n&&n===t&&1===e?we++:we=0,fe=t,de=e}function v(e){b(0,!0,e)}function y(){b(1,!1,null)}function b(e,t,n){if(be=n,m(),t)for(;null!==fe&&0!==de&&(0===e||e>=de)&&(!me||p()>=de);)D(fe,de,!me),m();else for(;null!==fe&&0!==de&&(0===e||e>=de);)D(fe,de,!1),m();null!==be&&(le=0,ce=-1),0!==de&&d(de),be=null,me=!1,g()}function g(){if(we=0,null!==Ee){var e=Ee;Ee=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ve||(ve=!0,ye=e)}}}if(ve)throw e=ye,ye=null,ve=!1,e}function D(e,t,n){pe&&r("245"),pe=!0,n?(n=e.finishedWork,null!==n?C(e,n,t):(e.finishedWork=null,null!==(n=i(e,t,!0))&&(E()?e.finishedWork=n:C(e,n,t)))):(n=e.finishedWork,null!==n?C(e,n,t):(e.finishedWork=null,null!==(n=i(e,t,!1))&&C(e,n,t))),pe=!1}function C(e,t,n){var o=e.firstBatch;if(null!==o&&o._expirationTime<=n&&(null===Ee?Ee=[o]:Ee.push(o),o._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);e.finishedWork=null,re=Z=!0,n=t.stateNode,n.current===t&&r("177"),o=n.pendingCommitExpirationTime,0===o&&r("261"),n.pendingCommitExpirationTime=0;var a=p();if(ar.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var i=t.firstEffect}else i=t;else i=t.firstEffect;for(W(n.containerInfo),ne=i;null!==ne;){var u=!1,l=void 0;try{for(;null!==ne;)2048&ne.effectTag&&F(ne.alternate,ne),ne=ne.nextEffect}catch(e){u=!0,l=e}u&&(null===ne&&r("178"),s(ne,l),null!==ne&&(ne=ne.nextEffect))}for(ne=i;null!==ne;){u=!1,l=void 0;try{for(;null!==ne;){var c=ne.effectTag;if(16&c&&I(ne),128&c){var f=ne.alternate;null!==f&&H(f)}switch(14&c){case 2:M(ne),ne.effectTag&=-3;break;case 6:M(ne),ne.effectTag&=-3,A(ne.alternate,ne);break;case 4:A(ne.alternate,ne);break;case 8:R(ne)}ne=ne.nextEffect}}catch(e){u=!0,l=e}u&&(null===ne&&r("178"),s(ne,l),null!==ne&&(ne=ne.nextEffect))}for(V(n.containerInfo),n.current=t,ne=i;null!==ne;){c=!1,f=void 0;try{for(i=n,u=a,l=o;null!==ne;){var d=ne.effectTag;36&d&&L(i,ne.alternate,ne,u,l),256&d&&U(ne,_),128&d&&B(ne);var h=ne.nextEffect;ne.nextEffect=null,ne=h}}catch(e){c=!0,f=e}c&&(null===ne&&r("178"),s(ne,f),null!==ne&&(ne=ne.nextEffect))}Z=re=!1,"function"==typeof it&&it(t.stateNode),t=n.current.expirationTime,0===t&&(ie=null),e.remainingExpirationTime=t}function E(){return!(null===be||be.timeRemaining()>Oe)&&(me=!0)}function _(e){null===fe&&r("246"),fe.remainingExpirationTime=0,ve||(ve=!0,ye=e)}var w=kt(),O=wt(e,w),x=xt(w);w=Tt(w);var T=Ot(e),k=gt(e,O,x,w,T,c,l).beginWork,S=Dt(e,O,x,w,T).completeWork;O=Ct(O,x,w,c,n);var j=O.throwException,N=O.unwindWork,P=O.unwindInterruptedWork;O=_t(e,s,c,l,function(e){null===ie?ie=new Set([e]):ie.add(e)},p);var F=O.commitBeforeMutationLifeCycles,I=O.commitResetTextContent,M=O.commitPlacement,R=O.commitDeletion,A=O.commitWork,L=O.commitLifeCycles,U=O.commitErrorLogging,B=O.commitAttachRef,H=O.commitDetachRef,K=e.now,z=e.scheduleDeferredCallback,q=e.cancelDeferredCallback,W=e.prepareForCommit,V=e.resetAfterCommit,$=K(),G=2,Q=$,Y=0,X=0,Z=!1,J=null,ee=null,te=0,ne=null,re=!1,oe=!1,ie=null,ue=null,se=null,le=0,ce=-1,pe=!1,fe=null,de=0,he=0,me=!1,ve=!1,ye=null,be=null,ge=!1,De=!1,Ce=!1,Ee=null,_e=1e3,we=0,Oe=1;return{recalculateCurrentTime:p,computeExpirationForFiber:l,scheduleWork:c,requestWork:h,flushRoot:function(e,t){pe&&r("253"),fe=e,de=t,D(e,t,!1),y(),g()},batchedUpdates:function(e,t){var n=ge;ge=!0;try{return e(t)}finally{(ge=n)||pe||y()}},unbatchedUpdates:function(e,t){if(ge&&!De){De=!0;try{return e(t)}finally{De=!1}}return e(t)},flushSync:function(e,t){pe&&r("187");var n=ge;ge=!0;try{return f(e,t)}finally{ge=n,y()}},flushControlled:function(e){var t=ge;ge=!0;try{f(e)}finally{(ge=t)||pe||b(1,!1,null)}},deferredUpdates:function(e){var t=X;X=25*(1+((p()+500)/25|0));try{return e()}finally{X=t}},syncUpdates:f,interactiveUpdates:function(e,t,n){if(Ce)return e(t,n);ge||pe||0===he||(b(he,!1,null),he=0);var r=Ce,o=ge;ge=Ce=!0;try{return e(t,n)}finally{Ce=r,(ge=o)||pe||y()}},flushInteractiveUpdates:function(){pe||0===he||(b(he,!1,null),he=0)},computeUniqueAsyncExpiration:function(){var e=25*(1+((p()+500)/25|0));return e<=Y&&(e=Y+1),Y=e},legacyContext:x}}function jt(e){function t(e,t,n,r,o,a){if(r=t.current,n){n=n._reactInternalFiber;var u=s(n);n=l(n)?c(n,u):u}else n=vn;return null===t.context?t.context=n:t.pendingContext=n,t=a,pt(r,{expirationTime:o,partialState:{element:e},callback:void 0===t?null:t,isReplace:!1,isForced:!1,capturedValue:null,next:null}),i(r,o),o}function n(e){return e=Me(e),null===e?null:e.stateNode}var r=e.getPublicInstance;e=St(e);var o=e.recalculateCurrentTime,a=e.computeExpirationForFiber,i=e.scheduleWork,u=e.legacyContext,s=u.findCurrentUnmaskedContext,l=u.isContextProvider,c=u.processChildContext;return{createContainer:function(e,t,n){return t=new Ze(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e},updateContainer:function(e,n,r,i){var u=n.current,s=o();return u=a(u),t(e,n,r,s,u,i)},updateContainerAtExpirationTime:function(e,n,r,a,i){return t(e,n,r,o(),a,i)},flushRoot:e.flushRoot,requestWork:e.requestWork,computeUniqueAsyncExpiration:e.computeUniqueAsyncExpiration,batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,syncUpdates:e.syncUpdates,interactiveUpdates:e.interactiveUpdates,flushInteractiveUpdates:e.flushInteractiveUpdates,flushControlled:e.flushControlled,flushSync:e.flushSync,getPublicRootInstance:function(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return r(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:n,findHostInstanceWithNoPortals:function(e){return e=Re(e),null===e?null:e.stateNode},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return at(pn({},e,{findHostInstanceByFiber:function(e){return n(e)},findFiberByHostInstance:function(e){return t?t(e):null}}))}}}function Nt(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:cr,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Pt(e){var t="";return ln.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function Ft(e,t){return e=pn({children:void 0},t),(t=Pt(t.children))&&(e.children=t),e}function It(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Mt(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function Rt(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),pn({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function At(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Lt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Ut(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function Bt(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ht(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Bt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function Kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function zt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,a=t[n];o=null==a||"boolean"==typeof a||""===a?"":r||"number"!=typeof a||0===a||Bo.hasOwnProperty(o)&&Bo[o]?(""+a).trim():a+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function qt(e,t,n){t&&(Ko[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!=typeof t.style&&r("62",n()))}function Wt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Vt(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=$e(e);t=_n[t];for(var r=0;r<t.length;r++){var o=t[r];n.hasOwnProperty(o)&&n[o]||("topScroll"===o?Ke("topScroll","scroll",e):"topFocus"===o||"topBlur"===o?(Ke("topFocus","focus",e),Ke("topBlur","blur",e),n.topBlur=!0,n.topFocus=!0):"topCancel"===o?(Z("cancel",!0)&&Ke("topCancel","cancel",e),n.topCancel=!0):"topClose"===o?(Z("close",!0)&&Ke("topClose","close",e),n.topClose=!0):Jr.hasOwnProperty(o)&&He(o,Jr[o],e),n[o]=!0)}}function $t(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===zo&&(r=Bt(e)),r===zo?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function Gt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function Qt(e,t,n,r){var o=Wt(t,n);switch(t){case"iframe":case"object":He("topLoad","load",e);var a=n;break;case"video":case"audio":for(a in eo)eo.hasOwnProperty(a)&&He(a,eo[a],e);a=n;break;case"source":He("topError","error",e),a=n;break;case"img":case"image":case"link":He("topError","error",e),He("topLoad","load",e),a=n;break;case"form":He("topReset","reset",e),He("topSubmit","submit",e),a=n;break;case"details":He("topToggle","toggle",e),a=n;break;case"input":de(e,n),a=fe(e,n),He("topInvalid","invalid",e),Vt(r,"onChange");break;case"option":a=Ft(e,n);break;case"select":Mt(e,n),a=pn({},n,{value:void 0}),He("topInvalid","invalid",e),Vt(r,"onChange");break;case"textarea":At(e,n),a=Rt(e,n),He("topInvalid","invalid",e),Vt(r,"onChange");break;default:a=n}qt(t,a,qo);var i,u=a;for(i in u)if(u.hasOwnProperty(i)){var s=u[i];"style"===i?zt(e,s,qo):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&Uo(e,s):"children"===i?"string"==typeof s?("textarea"!==t||""!==s)&&Kt(e,s):"number"==typeof s&&Kt(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(En.hasOwnProperty(i)?null!=s&&Vt(r,i):null!=s&&pe(e,i,s,o))}switch(t){case"input":te(e),ve(e,n);break;case"textarea":te(e),Ut(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?It(e,!!n.multiple,t,!1):null!=n.defaultValue&&It(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=fn)}}function Yt(e,t,n,r,o){var a=null;switch(t){case"input":n=fe(e,n),r=fe(e,r),a=[];break;case"option":n=Ft(e,n),r=Ft(e,r),a=[];break;case"select":n=pn({},n,{value:void 0}),r=pn({},r,{value:void 0}),a=[];break;case"textarea":n=Rt(e,n),r=Rt(e,r),a=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=fn)}qt(t,r,qo),t=e=void 0;var i=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var u=n[e];for(t in u)u.hasOwnProperty(t)&&(i||(i={}),i[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(En.hasOwnProperty(e)?a||(a=[]):(a=a||[]).push(e,null));for(e in r){var s=r[e];if(u=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&s!==u&&(null!=s||null!=u))if("style"===e)if(u){for(t in u)!u.hasOwnProperty(t)||s&&s.hasOwnProperty(t)||(i||(i={}),i[t]="");for(t in s)s.hasOwnProperty(t)&&u[t]!==s[t]&&(i||(i={}),i[t]=s[t])}else i||(a||(a=[]),a.push(e,i)),i=s;else"dangerouslySetInnerHTML"===e?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(a=a||[]).push(e,""+s)):"children"===e?u===s||"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(e,""+s):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(En.hasOwnProperty(e)?(null!=s&&Vt(o,e),a||u===s||(a=[])):(a=a||[]).push(e,s))}return i&&(a=a||[]).push("style",i),a}function Xt(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&he(e,o),Wt(n,r),r=Wt(n,o);for(var a=0;a<t.length;a+=2){var i=t[a],u=t[a+1];"style"===i?zt(e,u,qo):"dangerouslySetInnerHTML"===i?Uo(e,u):"children"===i?Kt(e,u):pe(e,i,u,r)}switch(n){case"input":me(e,o);break;case"textarea":Lt(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,n=o.value,null!=n?It(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?It(e,!!o.multiple,o.defaultValue,!0):It(e,!!o.multiple,o.multiple?[]:"",!1))}}function Zt(e,t,n,r,o){switch(t){case"iframe":case"object":He("topLoad","load",e);break;case"video":case"audio":for(var a in eo)eo.hasOwnProperty(a)&&He(a,eo[a],e);break;case"source":He("topError","error",e);break;case"img":case"image":case"link":He("topError","error",e),He("topLoad","load",e);break;case"form":He("topReset","reset",e),He("topSubmit","submit",e);break;case"details":He("topToggle","toggle",e);break;case"input":de(e,n),He("topInvalid","invalid",e),Vt(o,"onChange");break;case"select":Mt(e,n),He("topInvalid","invalid",e),Vt(o,"onChange");break;case"textarea":At(e,n),He("topInvalid","invalid",e),Vt(o,"onChange")}qt(t,n,qo),r=null;for(var i in n)n.hasOwnProperty(i)&&(a=n[i],"children"===i?"string"==typeof a?e.textContent!==a&&(r=["children",a]):"number"==typeof a&&e.textContent!==""+a&&(r=["children",""+a]):En.hasOwnProperty(i)&&null!=a&&Vt(o,i));switch(t){case"input":te(e),ve(e,n);break;case"textarea":te(e),Ut(e,n);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=fn)}return r}function Jt(e,t){return e.nodeValue!==t}function en(e){this._expirationTime=Go.computeUniqueAsyncExpiration(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function tn(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function nn(e,t,n){this._internalRoot=Go.createContainer(e,t,n)}function rn(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function on(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function an(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new nn(e,!1,t)}function un(e,t,n,o,a){rn(n)||r("200");var i=n._reactRootContainer;if(i){if("function"==typeof a){var u=a;a=function(){var e=Go.getPublicRootInstance(i._internalRoot);u.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,a):i.render(t,a)}else{if(i=n._reactRootContainer=an(n,o),"function"==typeof a){var s=a;a=function(){var e=Go.getPublicRootInstance(i._internalRoot);s.call(e)}}Go.unbatchedUpdates(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,a):i.render(t,a)})}return Go.getPublicRootInstance(i._internalRoot)}function sn(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return rn(t)||r("200"),Nt(e,t,null,n)}/** @license React v16.3.1
23
- * react-dom.production.min.js
24
- *
25
- * Copyright (c) 2013-present, Facebook, Inc.
26
- *
27
- * This source code is licensed under the MIT license found in the
28
- * LICENSE file in the root directory of this source tree.
29
- */
30
- var ln=n(0),cn=n(337),pn=n(203),fn=n(167),dn=n(338),hn=n(339),mn=n(340),vn=n(205);ln||r("227");var yn={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,a,i,u,s,l){o.apply(yn,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,a,i,u,s){if(yn.invokeGuardedCallback.apply(this,arguments),yn.hasCaughtError()){var l=yn.clearCaughtError();yn._hasRethrowError||(yn._hasRethrowError=!0,yn._rethrowError=l)}},rethrowCaughtError:function(){return a.apply(yn,arguments)},hasCaughtError:function(){return yn._hasCaughtError},clearCaughtError:function(){if(yn._hasCaughtError){var e=yn._caughtError;return yn._caughtError=null,yn._hasCaughtError=!1,e}r("198")}},bn=null,gn={},Dn=[],Cn={},En={},_n={},wn=Object.freeze({plugins:Dn,eventNameDispatchConfigs:Cn,registrationNameModules:En,registrationNameDependencies:_n,possibleRegistrationNames:null,injectEventPluginOrder:s,injectEventPluginsByName:l}),On=null,xn=null,Tn=null,kn=null,Sn={injectEventPluginOrder:s,injectEventPluginsByName:l},jn=Object.freeze({injection:Sn,getListener:v,runEventsInBatch:y,runExtractedEventsInBatch:b}),Nn=Math.random().toString(36).slice(2),Pn="__reactInternalInstance$"+Nn,Fn="__reactEventHandlers$"+Nn,In=Object.freeze({precacheFiberNode:function(e,t){t[Pn]=e},getClosestInstanceFromNode:g,getInstanceFromNode:function(e){return e=e[Pn],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:D,getFiberCurrentPropsFromNode:C,updateFiberProps:function(e,t){e[Fn]=t}}),Mn=Object.freeze({accumulateTwoPhaseDispatches:S,accumulateTwoPhaseDispatchesSkipTarget:function(e){f(e,x)},accumulateEnterLeaveDispatches:j,accumulateDirectDispatches:function(e){f(e,k)}}),Rn=null,An={_root:null,_startText:null,_fallbackText:null},Ln="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),Un={type:null,target:null,currentTarget:fn.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};pn(I.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=fn.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=fn.thatReturnsTrue)},persist:function(){this.isPersistent=fn.thatReturnsTrue},isPersistent:fn.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<Ln.length;t++)this[Ln[t]]=null}}),I.Interface=Un,I.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return pn(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=pn({},r.Interface,e),n.extend=r.extend,A(n),n},A(I);var Bn=I.extend({data:null}),Hn=I.extend({data:null}),Kn=[9,13,27,32],zn=cn.canUseDOM&&"CompositionEvent"in window,qn=null;cn.canUseDOM&&"documentMode"in document&&(qn=document.documentMode);var Wn=cn.canUseDOM&&"TextEvent"in window&&!qn,Vn=cn.canUseDOM&&(!zn||qn&&8<qn&&11>=qn),$n=String.fromCharCode(32),Gn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},Qn=!1,Yn=!1,Xn={eventTypes:Gn,extractEvents:function(e,t,n,r){var o=void 0,a=void 0;if(zn)e:{switch(e){case"topCompositionStart":o=Gn.compositionStart;break e;case"topCompositionEnd":o=Gn.compositionEnd;break e;case"topCompositionUpdate":o=Gn.compositionUpdate;break e}o=void 0}else Yn?L(e,n)&&(o=Gn.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(o=Gn.compositionStart);return o?(Vn&&(Yn||o!==Gn.compositionStart?o===Gn.compositionEnd&&Yn&&(a=P()):(An._root=r,An._startText=F(),Yn=!0)),o=Bn.getPooled(o,t,n,r),a?o.data=a:null!==(a=U(n))&&(o.data=a),S(o),a=o):a=null,(e=Wn?B(e,n):H(e,n))?(t=Hn.getPooled(Gn.beforeInput,t,n,r),t.data=e,S(t)):t=null,null===a?t:null===t?a:[a,t]}},Zn=null,Jn=null,er=null,tr={injectFiberControlledHostComponent:function(e){Zn=e}},nr=Object.freeze({injection:tr,enqueueStateRestore:z,needsStateRestore:q,restoreStateIfNeeded:W}),rr=!1,or={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ar=ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ir="function"==typeof Symbol&&Symbol.for,ur=ir?Symbol.for("react.element"):60103,sr=ir?Symbol.for("react.call"):60104,lr=ir?Symbol.for("react.return"):60105,cr=ir?Symbol.for("react.portal"):60106,pr=ir?Symbol.for("react.fragment"):60107,fr=ir?Symbol.for("react.strict_mode"):60108,dr=ir?Symbol.for("react.provider"):60109,hr=ir?Symbol.for("react.context"):60110,mr=ir?Symbol.for("react.async_mode"):60111,vr=ir?Symbol.for("react.forward_ref"):60112,yr="function"==typeof Symbol&&Symbol.iterator,br=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,gr={},Dr={},Cr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cr[e]=new le(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cr[t]=new le(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cr[e]=new le(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){Cr[e]=new le(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Cr[e]=new le(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Cr[e]=new le(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){Cr[e]=new le(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){Cr[e]=new le(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){Cr[e]=new le(e,5,!1,e.toLowerCase(),null)});var Er=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Er,ce);Cr[t]=new le(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Er,ce);Cr[t]=new le(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Er,ce);Cr[t]=new le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Cr.tabIndex=new le("tabIndex",1,!1,"tabindex",null);var _r={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}},wr=null,Or=null,xr=!1;cn.canUseDOM&&(xr=Z("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:_r,_isInputEventSupported:xr,extractEvents:function(e,t,n,r){var o=t?D(t):window,a=void 0,i=void 0,u=o.nodeName&&o.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===o.type?a=Ee:Y(o)?xr?a=ke:(a=xe,i=Oe):!(u=o.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==o.type&&"radio"!==o.type||(a=Te),a&&(a=a(e,t)))return ge(a,n,r);i&&i(e,o,t),"topBlur"===e&&null!=t&&(e=t._wrapperState||o._wrapperState)&&e.controlled&&"number"===o.type&&ye(o,"number",o.value)}},kr=I.extend({view:null,detail:null}),Sr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},jr=kr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:je,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),Nr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Pr={eventTypes:Nr,extractEvents:function(e,t,n,r){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement)||"topMouseOut"!==e&&"topMouseOver"!==e)return null;var o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window;if("topMouseOut"===e?(e=t,t=(t=n.relatedTarget||n.toElement)?g(t):null):e=null,e===t)return null;var a=null==e?o:D(e);o=null==t?o:D(t);var i=jr.getPooled(Nr.mouseLeave,e,n,r);return i.type="mouseleave",i.target=a,i.relatedTarget=o,n=jr.getPooled(Nr.mouseEnter,t,n,r),n.type="mouseenter",n.target=o,n.relatedTarget=a,j(i,n,e,t),[i,n]}},Fr=I.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Ir=I.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mr=kr.extend({relatedTarget:null}),Rr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ar={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Lr=kr.extend({key:function(e){if(e.key){var t=Rr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Ae(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?Ar[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:je,charCode:function(e){return"keypress"===e.type?Ae(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ae(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ur=jr.extend({dataTransfer:null}),Br=kr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:je}),Hr=I.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Kr=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),zr={},qr={};"blur cancel click close contextMenu copy cut doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange".split(" ").forEach(function(e){Le(e,!0)}),"abort animationEnd animationIteration animationStart canPlay canPlayThrough drag dragEnter dragExit dragLeave dragOver durationChange emptied encrypted ended error load loadedData loadedMetadata loadStart mouseMove mouseOut mouseOver playing progress scroll seeking stalled suspend timeUpdate toggle touchMove transitionEnd waiting wheel".split(" ").forEach(function(e){Le(e,!1)});var Wr={eventTypes:zr,isInteractiveTopLevelEventType:function(e){return void 0!==(e=qr[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=qr[e];if(!o)return null;switch(e){case"topKeyPress":if(0===Ae(n))return null;case"topKeyDown":case"topKeyUp":e=Lr;break;case"topBlur":case"topFocus":e=Mr;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":e=jr;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":e=Ur;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":e=Br;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":e=Fr;break;case"topTransitionEnd":e=Hr;break;case"topScroll":e=kr;break;case"topWheel":e=Kr;break;case"topCopy":case"topCut":case"topPaste":e=Ir;break;default:e=I}return t=e.getPooled(o,t,n,r),S(t),t}},Vr=Wr.isInteractiveTopLevelEventType,$r=[],Gr=!0,Qr=Object.freeze({get _enabled(){return Gr},setEnabled:Be,isEnabled:function(){return Gr},trapBubbledEvent:He,trapCapturedEvent:Ke,dispatchEvent:qe}),Yr={animationend:We("Animation","AnimationEnd"),animationiteration:We("Animation","AnimationIteration"),animationstart:We("Animation","AnimationStart"),transitionend:We("Transition","TransitionEnd")},Xr={},Zr={};cn.canUseDOM&&(Zr=document.createElement("div").style,"AnimationEvent"in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),"TransitionEvent"in window||delete Yr.transitionend.transition);var Jr={topAnimationEnd:Ve("animationend"),topAnimationIteration:Ve("animationiteration"),topAnimationStart:Ve("animationstart"),topBlur:"blur",topCancel:"cancel",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoad:"load",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:Ve("transitionend"),topWheel:"wheel"},eo={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},to={},no=0,ro="_reactListenersID"+(""+Math.random()).slice(2),oo=cn.canUseDOM&&"documentMode"in document&&11>=document.documentMode,ao={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},io=null,uo=null,so=null,lo=!1,co={eventTypes:ao,extractEvents:function(e,t,n,r){var o,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!a)){e:{a=$e(a),o=_n.onSelect;for(var i=0;i<o.length;i++){var u=o[i];if(!a.hasOwnProperty(u)||!a[u]){a=!1;break e}}a=!0}o=!a}if(o)return null;switch(a=t?D(t):window,e){case"topFocus":(Y(a)||"true"===a.contentEditable)&&(io=a,uo=t,so=null);break;case"topBlur":so=uo=io=null;break;case"topMouseDown":lo=!0;break;case"topContextMenu":case"topMouseUp":return lo=!1,Xe(n,r);case"topSelectionChange":if(oo)break;case"topKeyDown":case"topKeyUp":return Xe(n,r)}return null}};Sn.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),On=In.getFiberCurrentPropsFromNode,xn=In.getInstanceFromNode,Tn=In.getNodeFromInstance,Sn.injectEventPluginsByName({SimpleEventPlugin:Wr,EnterLeaveEventPlugin:Pr,ChangeEventPlugin:Tr,SelectEventPlugin:co,BeforeInputEventPlugin:Xn});var po=null,fo=null;new Set;var ho=void 0,mo=void 0,vo=Array.isArray,yo=bt(!0),bo=bt(!1),go={},Do=Object.freeze({default:jt}),Co=Do&&jt||Do,Eo=Co.default?Co.default:Co,_o="object"==typeof performance&&"function"==typeof performance.now,wo=void 0;wo=_o?function(){return performance.now()}:function(){return Date.now()};var Oo=void 0,xo=void 0;if(cn.canUseDOM)if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var To=null,ko=!1,So=-1,jo=!1,No=0,Po=33,Fo=33,Io=void 0;Io=_o?{didTimeout:!1,timeRemaining:function(){var e=No-performance.now();return 0<e?e:0}}:{didTimeout:!1,timeRemaining:function(){var e=No-Date.now();return 0<e?e:0}};var Mo="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===Mo){if(ko=!1,e=wo(),0>=No-e){if(!(-1!==So&&So<=e))return void(jo||(jo=!0,requestAnimationFrame(Ro)));Io.didTimeout=!0}else Io.didTimeout=!1;So=-1,e=To,To=null,null!==e&&e(Io)}},!1);var Ro=function(e){jo=!1;var t=e-No+Fo;t<Fo&&Po<Fo?(8>t&&(t=8),Fo=t<Po?Po:t):Po=t,No=e+Fo,ko||(ko=!0,window.postMessage(Mo,"*"))};Oo=function(e,t){return To=e,null!=t&&"number"==typeof t.timeout&&(So=wo()+t.timeout),jo||(jo=!0,requestAnimationFrame(Ro)),0},xo=function(){To=null,ko=!1,So=-1}}else Oo=window.requestIdleCallback,xo=window.cancelIdleCallback;else Oo=function(e){return setTimeout(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})})},xo=function(e){clearTimeout(e)};var Ao={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},Lo=void 0,Uo=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==Ao.svg||"innerHTML"in e)e.innerHTML=t;else{for(Lo=Lo||document.createElement("div"),Lo.innerHTML="<svg>"+t+"</svg>",t=Lo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Bo={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ho=["Webkit","ms","Moz","O"];Object.keys(Bo).forEach(function(e){Ho.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bo[t]=Bo[e]})});var Ko=pn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),zo=Ao.html,qo=fn.thatReturns(""),Wo=Object.freeze({createElement:$t,createTextNode:Gt,setInitialProperties:Qt,diffProperties:Yt,updateProperties:Xt,diffHydratedProperties:Zt,diffHydratedText:Jt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(me(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var a=C(o);a||r("90"),ne(o),me(o,a)}}}break;case"textarea":Lt(e,n);break;case"select":null!=(t=n.value)&&It(e,!!n.multiple,t,!1)}}});tr.injectFiberControlledHostComponent(Wo);var Vo=null,$o=null;en.prototype.render=function(e){this._defer||r("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,o=new tn;return Go.updateContainerAtExpirationTime(e,t,null,n,o._onCommit),o},en.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},en.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||r("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var o=null,a=t;a!==this;)o=a,a=a._next;null===o&&r("251"),o._next=a._next,this._next=t,e.firstBatch=this}this._defer=!1,Go.flushRoot(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},en.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},tn.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},tn.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&r("191",n),n()}}},nn.prototype.render=function(e,t){var n=this._internalRoot,r=new tn;return t=void 0===t?null:t,null!==t&&r.then(t),Go.updateContainer(e,n,null,r._onCommit),r},nn.prototype.unmount=function(e){var t=this._internalRoot,n=new tn;return e=void 0===e?null:e,null!==e&&n.then(e),Go.updateContainer(null,t,null,n._onCommit),n},nn.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new tn;return n=void 0===n?null:n,null!==n&&o.then(n),Go.updateContainer(t,r,e,o._onCommit),o},nn.prototype.createBatch=function(){var e=new en(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e};var Go=Eo({getRootHostContext:function(e){var t=e.nodeType;switch(t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Ht(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Ht(e,t)}return e},getChildHostContext:function(e,t){return Ht(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){Vo=Gr;var e=dn();if(Ye(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=window.getSelection&&window.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var a=0,i=-1,u=-1,s=0,l=0,c=e,p=null;t:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(i=a+r),c!==o||0!==n&&3!==c.nodeType||(u=a+n),3===c.nodeType&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)p=c,c=f;for(;;){if(c===e)break t;if(p===t&&++s===r&&(i=a),p===o&&++l===n&&(u=a),null!==(f=c.nextSibling))break;c=p,p=c.parentNode}c=f}t=-1===i||-1===u?null:{start:i,end:u}}else t=null}t=t||{start:0,end:0}}else t=null;$o={focusedElem:e,selectionRange:t},Be(!1)},resetAfterCommit:function(){var e=$o,t=dn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&mn(document.documentElement,n)){if(Ye(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(window.getSelection){t=window.getSelection();var o=n[N()].length;e=Math.min(r.start,o),r=void 0===r.end?e:Math.min(r.end,o),!t.extend&&e>r&&(o=r,r=e,e=o),o=Qe(n,e);var a=Qe(n,r);if(o&&a&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)){var i=document.createRange();i.setStart(o.node,o.offset),t.removeAllRanges(),e>r?(t.addRange(i),t.extend(a.node,a.offset)):(i.setEnd(a.node,a.offset),t.addRange(i))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}$o=null,Be(Vo),Vo=null},createInstance:function(e,t,n,r,o){return e=$t(e,t,n,r),e[Pn]=o,e[Fn]=t,e},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,r){return Qt(e,t,n,r),on(t,n)},prepareUpdate:function(e,t,n,r,o){return Yt(e,t,n,r,o)},shouldSetTextContent:function(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,r){return e=Gt(e,t),e[Pn]=r,e},now:wo,mutation:{commitMount:function(e,t,n){on(t,n)&&e.focus()},commitUpdate:function(e,t,n,r,o){e[Fn]=o,Xt(e,t,n,r,o)},resetTextContent:function(e){Kt(e,"")},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){8===e.nodeType?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)}},hydration:{canHydrateInstance:function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e},canHydrateTextInstance:function(e,t){return""===t||3!==e.nodeType?null:e},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},hydrateInstance:function(e,t,n,r,o,a){return e[Pn]=a,e[Fn]=n,Zt(e,t,n,o,r)},hydrateTextInstance:function(e,t,n){return e[Pn]=n,Jt(e,t)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:Oo,cancelDeferredCallback:xo}),Qo=Go;V=Qo.batchedUpdates,$=Qo.interactiveUpdates,G=Qo.flushInteractiveUpdates;var Yo={createPortal:sn,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(t)return Go.findHostInstance(t);"function"==typeof e.render?r("188"):r("213",Object.keys(e))},hydrate:function(e,t,n){return un(null,e,t,!0,n)},render:function(e,t,n){return un(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return(null==e||void 0===e._reactInternalFiber)&&r("38"),un(e,t,n,!1,o)},unmountComponentAtNode:function(e){return rn(e)||r("40"),!!e._reactRootContainer&&(Go.unbatchedUpdates(function(){un(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return sn.apply(void 0,arguments)},unstable_batchedUpdates:Go.batchedUpdates,unstable_deferredUpdates:Go.deferredUpdates,flushSync:Go.flushSync,unstable_flushControlled:Go.flushControlled,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:jn,EventPluginRegistry:wn,EventPropagators:Mn,ReactControlledComponent:nr,ReactDOMComponentTree:In,ReactDOMEventListener:Qr},unstable_createRoot:function(e,t){return new nn(e,!0,null!=t&&!0===t.hydrate)}};Go.injectIntoDevTools({findFiberByHostInstance:g,bundleType:0,version:"16.3.1",rendererPackageName:"react-dom"});var Xo=Object.freeze({default:Yo}),Zo=Xo&&Yo||Xo;e.exports=Zo.default?Zo.default:Zo},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";function r(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(341);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(342);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return C});var r=n(1),o=n.n(r),a=n(0),i=(n.n(a),n(5)),u=n.n(i),s=n(206),l=(n(145),n(146)),c=n(344),p=n(170),f=n(345),d=n(474),h=n(475),m=n(476),v=n(477),y=n(478),b=function(e){function t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300;setTimeout(function(){e.stopSpinner()},t)}function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2500;setTimeout(function(){e.closeStatus()},t)}function r(t){e.stopSpinner();var n=JSON.parse(t.responseText);e.updateStatus(n.message,!1)}var o=function(n){e.startSpinner();var o={f:!1,p:!1,stopped:!0};Object(p.a)(n).then(function(r){e.setForm(r,n),e.setEditForm(n),delete o.f,o.hasOwnProperty("p")||(t(),o.stopped=!0)}).catch(function(e){r(e)}),Object(p.b)(n).then(function(n){e.setFormPrivacyForm(n),delete o.p,o.hasOwnProperty("f")||(t(),o.stopped=!0)}).catch(function(e){r(e)}),setTimeout(function(){!1===o.stopped&&t()},2500)},a=function(t,o){e.startSpinner(),e.setFormPrivacyForm(t),Object(p.c)(t,o).then(function(t){e.setFormPrivacyForm(t),e.unsetEditForm(),e.stopSpinner(),e.updateStatus("Settings Saved"),n()}).catch(function(e){r(e)})};return e.editForm.hasOwnProperty("fields")?e.formPrivacySettings.loaded?wp.element.createElement(m.a,null,wp.element.createElement(h.a,{name:"Privacy and Data Settings"},wp.element.createElement("li",null,wp.element.createElement(v.a,{message:e.status.message,show:e.status.show,success:e.status.success})),!0===e.spin&&wp.element.createElement("li",{className:"spinner is-active"})),wp.element.createElement(f.a,{privacySettings:e.formPrivacySettings.settings,form:e.editForm,onSave:a,onStateChange:e.setFormPrivacyForm})):wp.element.createElement("p",null,"Loading Settings"):wp.element.createElement("div",null,wp.element.createElement(h.a,{name:"Privacy and Data Settings"},wp.element.createElement("li",{style:{marginTop:"6px",paddingLeft:"12px"}},wp.element.createElement(d.a,{forms:e.forms,onChange:o}))),wp.element.createElement(m.a,null,wp.element.createElement("p",{className:"screen-reader-text"},"Choose a form to begin"),wp.element.createElement("div",null,wp.element.createElement(v.a,{message:e.status.message,show:e.status.show,success:e.status.success})),!0===e.spin&&wp.element.createElement("p",{className:"spinner is-active"})))};b.propTypes={forms:u.a.array.isRequired,editForm:u.a.object};var g=function(e){var t={forms:e.formState.forms,editForm:e.formState.editForm,roy:"hi",formPrivacySettings:{loaded:!1},status:{show:e.statusState.show,message:e.statusState.message,success:e.statusState.success},spin:e.statusState.spin};if(t.editForm.hasOwnProperty("fields")){var n=Object(c.a)(t.editForm.ID,e);n&&(t.formPrivacySettings=o()({loaded:!0},{settings:n}))}return t},D={setEditForm:l.d,setForm:l.e,unsetEditForm:l.g,requestPrivacySettings:p.b,setFormPrivacyForm:l.f,startSpinner:y.b,stopSpinner:y.c,closeStatus:y.a,updateStatus:y.d},C=Object(s.b)(g,D)(b)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(89),o=function(e,t){return Object(r.a)(t.privacyState,e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(1),o=n.n(r),a=n(0),i=(n.n(a),n(5)),u=n.n(i),s=n(94),l=n(460),c=n(212),p=n.n(c),f=n(464),d=function(e){function t(e,t){return e.length&&e.includes(t)?e=1===e.length?[]:p()(e,function(e){return e===t}):e.push(t),e}var n=function(){e.onStateChange(o()({},e.privacySettings,{privacyExporterEnabled:!e.privacySettings.privacyExporterEnabled}))},r=function(n){var r=t(e.privacySettings.emailIdentifyingFields,n);e.onStateChange(o()({},e.privacySettings,{emailIdentifyingFields:r}))},a=function(n){var r=t(e.privacySettings.piiFields,n);e.onStateChange(o()({},e.privacySettings,{piiFields:r}))};return wp.element.createElement("section",{className:"layout-grid"},wp.element.createElement("h2",null,e.form.name),wp.element.createElement("div",{className:"row"},wp.element.createElement("div",{className:"col-xs-8"},wp.element.createElement(s.d,{controlId:"caldera-forms-privacy-gdpr-enable-"+e.form.ID},wp.element.createElement(s.c,null,"Enable GDPR Exporter For Form"),wp.element.createElement(s.b,{onChange:n,checked:e.privacySettings.privacyExporterEnabled},"Enable"),wp.element.createElement(s.e,null,"If checked data for this form will be added to GDPR personal data requests, and deletes.")),e.privacySettings.privacyExporterEnabled&&wp.element.createElement("section",null,wp.element.createElement("h3",null,"Field Settings"),wp.element.createElement(l.a,{fields:e.form.fields,formId:e.form.ID,privacySettings:e.privacySettings,onCheckIsEmail:r,onCheckIsPii:a}))),wp.element.createElement(f.a,{saveButton:wp.element.createElement(s.a,{type:"submit",onClick:function(){e.onSave(e.privacySettings,e.form.ID)},className:"primary button button-primary"},"Save")})))};d.propTypes={form:u.a.object.isRequired,onSave:u.a.func.isRequired,privacySettings:u.a.shape({emailIdentifyingFields:u.a.array,piiFields:u.a.array,privacyExporterEnabled:u.a.bool,fields:u.a.object}).isRequired,onStateChange:u.a.func.isRequired}},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(0),f=n.n(p),d=n(214);!function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}c()(t,e),t.prototype.render=function(){return f.a.createElement(d.a,o()({},this.props,{accordion:!0}),this.props.children)}}(f.a.Component)},function(e,t,n){e.exports={default:n(348),__esModule:!0}},function(e,t,n){n(349),e.exports=n(12).Object.setPrototypeOf},function(e,t,n){var r=n(14);r(r.S,"Object",{setPrototypeOf:n(350).set})},function(e,t,n){var r=n(18),o=n(15),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(31)(Function.call,n(88).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){e.exports={default:n(352),__esModule:!0}},function(e,t,n){n(353);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(14);r(r.S,"Object",{create:n(65)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){function n(r,u){function l(e,n){var r=h.getLinkName(e),o=this.props[u[e]];r&&p(this.props,r)&&!o&&(o=this.props[r].requestChange);for(var a=arguments.length,i=Array(a>2?a-2:0),s=2;s<a;s++)i[s-2]=arguments[s];t(this,e,o,n,i)}function p(e,t){return void 0!==e[t]}function d(e){var t={};return h.each(e,function(e,n){-1===_.indexOf(n)&&(t[n]=e)}),t}var m,v,y,b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],g=r.displayName||r.name||"Component",D=h.getType(r).propTypes,C=h.isReactComponent(r),E=Object.keys(u),_=["valueLink","checkedLink"].concat(E.map(h.defaultKey));y=h.uncontrolledPropTypes(u,D,g),(0,f.default)(C||!b.length,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+g+", attempting to pass through methods: "+b.join(", ")),b=h.transform(b,function(e,t){e[t]=function(){var e;return(e=this.refs.inner)[t].apply(e,arguments)}},{});var w=(v=m=function(t){function n(){return o(this,n),a(this,t.apply(this,arguments))}return i(n,t),n.prototype.shouldComponentUpdate=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return!e.shouldComponentUpdate||e.shouldComponentUpdate.apply(this,n)},n.prototype.componentWillMount=function(){var e=this,t=this.props;this._values={},E.forEach(function(n){e._values[n]=t[h.defaultKey(n)]})},n.prototype.componentWillReceiveProps=function(t){var n=this,r=this.props;e.componentWillReceiveProps&&e.componentWillReceiveProps.call(this,t),E.forEach(function(e){void 0===h.getValue(t,e)&&void 0!==h.getValue(r,e)&&(n._values[e]=t[h.defaultKey(e)])})},n.prototype.componentWillUnmount=function(){this.unmounted=!0},n.prototype.getControlledInstance=function(){return this.refs.inner},n.prototype.render=function(){var e=this,t={},n=d(this.props);return h.each(u,function(n,r){var o=h.getLinkName(r),a=e.props[r];o&&!p(e.props,r)&&p(e.props,o)&&(a=e.props[o].value),t[r]=void 0!==a?a:e._values[r],t[n]=l.bind(e,r)}),t=s({},n,t,{ref:C?"inner":null}),c.default.createElement(r,t)},n}(c.default.Component),m.displayName="Uncontrolled("+g+")",m.propTypes=y,v);return s(w.prototype,b),w.ControlledComponent=r,w.deferControlTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];return n(e,s({},u,t),r)},w}return n}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=u;var l=n(0),c=r(l),p=n(85),f=r(p),d=n(355),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r={};return r}function a(e){return b[0]>=15||0===b[0]&&b[1]>=13?e:e.type}function i(e,t){var n=s(t);return n&&!u(e,t)&&u(e,n)?e[n].value:e[t]}function u(e,t){return void 0!==e[t]}function s(e){return"value"===e?"valueLink":"checked"===e?"checkedLink":null}function l(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function c(e,t,n){return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];t&&t.call.apply(t,[e].concat(o)),n&&n.call.apply(n,[e].concat(o))}}function p(e,t,n){return f(e,t.bind(null,n=n||(Array.isArray(e)?[]:{}))),n}function f(e,t,n){if(Array.isArray(e))return e.forEach(t,n);for(var r in e)d(e,r)&&t.call(n,e[r],r,e)}function d(e,t){return!!e&&Object.prototype.hasOwnProperty.call(e,t)}function h(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)}t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=o,t.getType=a,t.getValue=i,t.getLinkName=s,t.defaultKey=l,t.chain=c,t.transform=p,t.each=f,t.has=d,t.isReactComponent=h;var m=n(0),v=r(m),y=n(85),b=(r(y),t.version=v.default.version.split(".").map(parseFloat))},function(e,t,n){n(357),e.exports=n(12).Object.entries},function(e,t,n){var r=n(14),o=n(216)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(95),o=n.n(r),a=n(1),i=n.n(a),u=n(6),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(0),b=n.n(y),g=n(5),D=n.n(g),C=n(8),E=n(32),_=n(173),w={onDismiss:D.a.func,closeLabel:D.a.string},O={closeLabel:"Close alert"},x=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.onDismiss,r=t.closeLabel,o=t.className,a=t.children,u=s()(t,["onDismiss","closeLabel","className","children"]),l=Object(C.f)(u),c=l[0],p=l[1],f=!!n,d=i()({},Object(C.d)(c),(e={},e[Object(C.e)(c,"dismissable")]=f,e));return b.a.createElement("div",i()({},p,{role:"alert",className:v()(o,d)}),f&&b.a.createElement(_.a,{onClick:n,label:r}),a)},t}(b.a.Component);x.propTypes=w,x.defaultProps=O;Object(C.c)(o()(E.d),E.d.INFO,Object(C.a)("alert",x))},function(e,t,n){n(360),e.exports=n(12).Object.values},function(e,t,n){var r=n(14),o=n(216)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={pullRight:b.a.bool},C={pullRight:!1},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.hasContent=function(e){var t=!1;return v.a.Children.forEach(e,function(e){t||(e||0===e)&&(t=!0)}),t},t.prototype.render=function(){var e=this.props,t=e.pullRight,n=e.className,r=e.children,a=i()(e,["pullRight","className","children"]),u=Object(g.f)(a),s=u[0],l=u[1],c=o()({},Object(g.d)(s),{"pull-right":t,hidden:!this.hasContent(r)});return v.a.createElement("span",o()({},l,{className:h()(n,c)}),r)},t}(v.a.Component);E.propTypes=D,E.defaultProps=C;Object(g.a)("badge",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(218),b=n(8),g=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(b.f)(n),a=r[0],u=r[1],s=Object(b.d)(a);return v.a.createElement("ol",o()({},u,{role:"navigation","aria-label":"breadcrumbs",className:h()(t,s)}))},t}(v.a.Component);g.Item=y.a;Object(b.a)("breadcrumb",g)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("div",o()({},u,{role:"toolbar",className:h()(t,s)}))},t}(v.a.Component);Object(y.a)("btn-toolbar",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(365),D=n(219),C=n(176),E=n(61),_=n(8),w=n(41),O={slide:b.a.bool,indicators:b.a.bool,interval:b.a.number,controls:b.a.bool,pauseOnHover:b.a.bool,wrap:b.a.bool,onSelect:b.a.func,onSlideEnd:b.a.func,activeIndex:b.a.number,defaultActiveIndex:b.a.number,direction:b.a.oneOf(["prev","next"]),prevIcon:b.a.node,prevLabel:b.a.string,nextIcon:b.a.node,nextLabel:b.a.string},x={slide:!0,interval:5e3,pauseOnHover:!0,wrap:!0,indicators:!0,controls:!0,prevIcon:v.a.createElement(C.a,{glyph:"chevron-left"}),prevLabel:"Previous",nextIcon:v.a.createElement(C.a,{glyph:"chevron-right"}),nextLabel:"Next"},T=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));o.handleMouseOver=o.handleMouseOver.bind(o),o.handleMouseOut=o.handleMouseOut.bind(o),o.handlePrev=o.handlePrev.bind(o),o.handleNext=o.handleNext.bind(o),o.handleItemAnimateOutEnd=o.handleItemAnimateOutEnd.bind(o);var a=n.defaultActiveIndex;return o.state={activeIndex:null!=a?a:0,previousActiveIndex:null,direction:null},o.isUnmounted=!1,o}return f()(t,e),t.prototype.componentDidMount=function(){this.waitForNext()},t.prototype.componentWillReceiveProps=function(e){var t=this.getActiveIndex();null!=e.activeIndex&&e.activeIndex!==t&&(clearTimeout(this.timeout),this.setState({previousActiveIndex:t,direction:null!=e.direction?e.direction:this.getDirection(t,e.activeIndex)})),null==e.activeIndex&&this.state.activeIndex>=e.children.length&&this.setState({activeIndex:0,previousActiveIndex:null,direction:null})},t.prototype.componentWillUnmount=function(){clearTimeout(this.timeout),this.isUnmounted=!0},t.prototype.getActiveIndex=function(){var e=this.props.activeIndex;return null!=e?e:this.state.activeIndex},t.prototype.getDirection=function(e,t){return e===t?null:e>t?"prev":"next"},t.prototype.handleItemAnimateOutEnd=function(){var e=this;this.setState({previousActiveIndex:null,direction:null},function(){e.waitForNext(),e.props.onSlideEnd&&e.props.onSlideEnd()})},t.prototype.handleMouseOut=function(){this.isPaused&&this.play()},t.prototype.handleMouseOver=function(){this.props.pauseOnHover&&this.pause()},t.prototype.handleNext=function(e){var t=this.getActiveIndex()+1;if(t>w.a.count(this.props.children)-1){if(!this.props.wrap)return;t=0}this.select(t,e,"next")},t.prototype.handlePrev=function(e){var t=this.getActiveIndex()-1;if(t<0){if(!this.props.wrap)return;t=w.a.count(this.props.children)-1}this.select(t,e,"prev")},t.prototype.pause=function(){this.isPaused=!0,clearTimeout(this.timeout)},t.prototype.play=function(){this.isPaused=!1,this.waitForNext()},t.prototype.select=function(e,t,n){if(clearTimeout(this.timeout),!this.isUnmounted){var r=this.props.slide?this.getActiveIndex():null;n=n||this.getDirection(r,e);var o=this.props.onSelect;if(o&&(o.length>1?(t?(t.persist(),t.direction=n):t={direction:n},o(e,t)):o(e)),null==this.props.activeIndex&&e!==r){if(null!=this.state.previousActiveIndex)return;this.setState({activeIndex:e,previousActiveIndex:r,direction:n})}}},t.prototype.waitForNext=function(){var e=this.props,t=e.slide,n=e.interval,r=e.activeIndex;!this.isPaused&&t&&n&&null==r&&(this.timeout=setTimeout(this.handleNext,n))},t.prototype.renderControls=function(e){var t=e.wrap,n=e.children,r=e.activeIndex,o=e.prevIcon,a=e.nextIcon,i=e.bsProps,u=e.prevLabel,s=e.nextLabel,l=Object(_.e)(i,"control"),c=w.a.count(n);return[(t||0!==r)&&v.a.createElement(E.a,{key:"prev",className:h()(l,"left"),onClick:this.handlePrev},o,u&&v.a.createElement("span",{className:"sr-only"},u)),(t||r!==c-1)&&v.a.createElement(E.a,{key:"next",className:h()(l,"right"),onClick:this.handleNext},a,s&&v.a.createElement("span",{className:"sr-only"},s))]},t.prototype.renderIndicators=function(e,t,n){var r=this,o=[];return w.a.forEach(e,function(e,n){o.push(v.a.createElement("li",{key:n,className:n===t?"active":null,onClick:function(e){return r.select(n,e)}})," ")}),v.a.createElement("ol",{className:Object(_.e)(n,"indicators")},o)},t.prototype.render=function(){var e=this,t=this.props,n=t.slide,r=t.indicators,a=t.controls,u=t.wrap,s=t.prevIcon,l=t.prevLabel,c=t.nextIcon,p=t.nextLabel,f=t.className,d=t.children,y=i()(t,["slide","indicators","controls","wrap","prevIcon","prevLabel","nextIcon","nextLabel","className","children"]),b=this.state,g=b.previousActiveIndex,D=b.direction,C=Object(_.g)(y,["interval","pauseOnHover","onSelect","onSlideEnd","activeIndex","defaultActiveIndex","direction"]),E=C[0],O=C[1],x=this.getActiveIndex(),T=o()({},Object(_.d)(E),{slide:n});return v.a.createElement("div",o()({},O,{className:h()(f,T),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut}),r&&this.renderIndicators(d,x,E),v.a.createElement("div",{className:Object(_.e)(E,"inner")},w.a.map(d,function(t,r){var o=r===x,a=n&&r===g;return Object(m.cloneElement)(t,{active:o,index:r,animateOut:a,animateIn:o&&null!=g&&n,direction:D,onAnimateOutEnd:a?e.handleItemAnimateOutEnd:null})})),a&&this.renderControls({wrap:u,children:d,activeIndex:x,prevIcon:s,prevLabel:l,nextIcon:c,nextLabel:p,bsProps:E}))},t}(v.a.Component);T.propTypes=O,T.defaultProps=x,T.Caption=g.a,T.Item=D.a;Object(_.a)("carousel",T)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"div"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("carousel-caption",E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.properties=t.end=void 0;var o=n(367),a=r(o),i=n(175),u=r(i);t.end=a.default,t.properties=u.default,t.default={end:a.default,properties:u.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(e){e.target===e.currentTarget&&(clearTimeout(o),e.target.removeEventListener(u.default.end,r),t.call(this))}var o,i={target:e,currentTarget:e};u.default.end?null==n&&(n=a(e)||0):n=0,u.default.end?(e.addEventListener(u.default.end,r,!1),o=setTimeout(function(){return r(i)},1.5*(n||100))):setTimeout(r.bind(null,i),0)}function a(e){var t=(0,l.default)(e,u.default.duration),n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}Object.defineProperty(t,"__esModule",{value:!0});var i=n(175),u=r(i),s=n(137),l=r(s);o._parseDuration=a,t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){return(0,a.default)(e).replace(i,"-ms-")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(370),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,a.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),u.test(r)&&!i.test(t)){var o=n.left,s=e.runtimeStyle,l=s&&s.left;l&&(s.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=o,l&&(s.left=l)}return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(220),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=/^(top|right|bottom|left)$/,u=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return!(!e||!o.test(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(44),D=(n.n(g),n(8)),C={inline:b.a.bool,disabled:b.a.bool,title:b.a.string,validationState:b.a.oneOf(["success","warning","error",null]),inputRef:b.a.func},E={inline:!1,disabled:!1,title:""},_=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.inline,n=e.disabled,r=e.validationState,a=e.inputRef,u=e.className,s=e.style,l=e.title,c=e.children,p=i()(e,["inline","disabled","validationState","inputRef","className","style","title","children"]),f=Object(D.f)(p),d=f[0],m=f[1],y=v.a.createElement("input",o()({},m,{ref:a,type:"checkbox",disabled:n}));if(t){var b,g=(b={},b[Object(D.e)(d,"inline")]=!0,b.disabled=n,b);return v.a.createElement("label",{className:h()(u,g),style:s,title:l},y,c)}var C=o()({},Object(D.d)(d),{disabled:n});return r&&(C["has-"+r]=!0),v.a.createElement("div",{className:h()(u,C),style:s},v.a.createElement("label",{title:l},y,c))},t}(v.a.Component);_.propTypes=C,_.defaultProps=E,t.a=Object(D.a)("checkbox",_)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(8),E=n(221),_=n(32),w={componentClass:D.a,visibleXsBlock:b.a.bool,visibleSmBlock:b.a.bool,visibleMdBlock:b.a.bool,visibleLgBlock:b.a.bool},O={componentClass:"div"},x=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(C.f)(r),u=a[0],s=a[1],l=Object(C.d)(u);return _.a.forEach(function(e){var t="visible"+Object(E.a)(e)+"Block";s[t]&&(l["visible-"+e+"-block"]=!0),delete s[t]}),v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);x.propTypes=w,x.defaultProps=O;Object(C.a)("clearfix",x)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(44),D=(n.n(g),n(8)),C={htmlFor:b.a.string,srOnly:b.a.bool},E={srOnly:!1},_={$bs_formGroup:b.a.object},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.context.$bs_formGroup,t=e&&e.controlId,n=this.props,r=n.htmlFor,a=void 0===r?t:r,u=n.srOnly,s=n.className,l=i()(n,["htmlFor","srOnly","className"]),c=Object(D.f)(l),p=c[0],f=c[1],d=o()({},Object(D.d)(p),{"sr-only":u});return v.a.createElement("label",o()({},f,{htmlFor:a,className:h()(s,d)}))},t}(v.a.Component);w.propTypes=C,w.defaultProps=E,w.contextTypes=_,t.a=Object(D.a)("control-label",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(8),E=n(32),_={componentClass:D.a,xs:b.a.number,sm:b.a.number,md:b.a.number,lg:b.a.number,xsHidden:b.a.bool,smHidden:b.a.bool,mdHidden:b.a.bool,lgHidden:b.a.bool,xsOffset:b.a.number,smOffset:b.a.number,mdOffset:b.a.number,lgOffset:b.a.number,xsPush:b.a.number,smPush:b.a.number,mdPush:b.a.number,lgPush:b.a.number,xsPull:b.a.number,smPull:b.a.number,mdPull:b.a.number,lgPull:b.a.number},w={componentClass:"div"},O=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(C.f)(r),u=a[0],s=a[1],l=[];return E.a.forEach(function(e){function t(t,n){var r=""+e+t,o=s[r];null!=o&&l.push(Object(C.e)(u,""+e+n+"-"+o)),delete s[r]}t("",""),t("Offset","-offset"),t("Push","-push"),t("Pull","-pull");var n=e+"Hidden";s[n]&&l.push("hidden-"+e),delete s[n]}),v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);O.propTypes=_,O.defaultProps=w;Object(C.a)("col",O)},function(e,t,n){"use strict";function r(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=r;var o=n(5),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.timeoutsShape=a.default.oneOfType([a.default.number,a.default.shape({enter:a.default.number,exit:a.default.number}).isRequired]),t.classNamesShape=a.default.oneOfType([a.default.string,a.default.shape({enter:a.default.string,exit:a.default.string,active:a.default.string}),a.default.shape({enter:a.default.string,enterDone:a.default.string,enterActive:a.default.string,exit:a.default.string,exitDone:a.default.string,exitActive:a.default.string})])},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(380),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(178),b=n.n(y),g=n(0),D=n.n(g),C=n(5),E=n.n(C),_=n(35),w=n.n(_),O=n(224),x=n.n(O),T=n(8),k=n(26),S=n(41),j={open:E.a.bool,pullRight:E.a.bool,onClose:E.a.func,labelledBy:E.a.oneOfType([E.a.string,E.a.number]),onSelect:E.a.func,rootCloseEvent:E.a.oneOf(["click","mousedown"])},N={bsRole:"menu",pullRight:!1},P=function(e){function t(n){c()(this,t);var r=f()(this,e.call(this,n));return r.handleRootClose=r.handleRootClose.bind(r),r.handleKeyDown=r.handleKeyDown.bind(r),r}return h()(t,e),t.prototype.getFocusableMenuItems=function(){var e=w.a.findDOMNode(this);return e?s()(e.querySelectorAll('[tabIndex="-1"]')):[]},t.prototype.getItemsAndActiveIndex=function(){var e=this.getFocusableMenuItems();return{items:e,activeIndex:e.indexOf(document.activeElement)}},t.prototype.focusNext=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeIndex;if(0!==t.length){t[n===t.length-1?0:n+1].focus()}},t.prototype.focusPrevious=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeIndex;if(0!==t.length){t[0===n?t.length-1:n-1].focus()}},t.prototype.handleKeyDown=function(e){switch(e.keyCode){case b.a.codes.down:this.focusNext(),e.preventDefault();break;case b.a.codes.up:this.focusPrevious(),e.preventDefault();break;case b.a.codes.esc:case b.a.codes.tab:this.props.onClose(e,{source:"keydown"})}},t.prototype.handleRootClose=function(e){this.props.onClose(e,{source:"rootClose"})},t.prototype.render=function(){var e,t=this,n=this.props,r=n.open,a=n.pullRight,u=n.labelledBy,s=n.onSelect,l=n.className,c=n.rootCloseEvent,p=n.children,f=i()(n,["open","pullRight","labelledBy","onSelect","className","rootCloseEvent","children"]),d=Object(T.g)(f,["onClose"]),h=d[0],m=d[1],y=o()({},Object(T.d)(h),(e={},e[Object(T.e)(h,"right")]=a,e));return D.a.createElement(x.a,{disabled:!r,onRootClose:this.handleRootClose,event:c},D.a.createElement("ul",o()({},m,{role:"menu",className:v()(l,y),"aria-labelledby":u}),S.a.map(p,function(e){return D.a.cloneElement(e,{onKeyDown:Object(k.a)(e.props.onKeyDown,t.handleKeyDown),onSelect:Object(k.a)(e.props.onSelect,s)})})))},t}(D.a.Component);P.propTypes=j,P.defaultProps=N,t.a=Object(T.a)("dropdown-menu",P)},function(e,t,n){e.exports={default:n(381),__esModule:!0}},function(e,t,n){n(64),n(382),e.exports=n(12).Array.from},function(e,t,n){"use strict";var r=n(31),o=n(14),a=n(56),i=n(90),u=n(91),s=n(63),l=n(383),c=n(92);o(o.S+o.F*!n(93)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=a(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,b=c(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==b||d==Array&&u(b))for(t=s(f.length),n=new d(t);t>y;y++)l(n,y,v?m(f[y],y):f[y]);else for(p=b.call(f),n=new d;!(o=p.next()).done;y++)l(n,y,v?i(p,m,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(17),o=n(33);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(1),f=n.n(p),d=n(0),h=n.n(d),m=n(5),v=n.n(m),y=n(152),b=n(154),g=f()({},y.a.propTypes,{bsStyle:v.a.string,bsSize:v.a.string,title:v.a.node.isRequired,noCaret:v.a.bool,children:v.a.node}),D=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.bsSize,n=e.bsStyle,r=e.title,a=e.children,i=o()(e,["bsSize","bsStyle","title","children"]),u=Object(b.a)(i,y.a.ControlledComponent),s=u[0],l=u[1];return h.a.createElement(y.a,f()({},s,{bsSize:t,bsStyle:n}),h.a.createElement(y.a.Toggle,f()({},l,{bsSize:t,bsStyle:n}),r),h.a.createElement(y.a.Menu,null,a))},t}(h.a.Component);D.propTypes=g},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(8),E={horizontal:b.a.bool,inline:b.a.bool,componentClass:D.a},_={horizontal:!1,inline:!1,componentClass:"form"},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.horizontal,n=e.inline,r=e.componentClass,a=e.className,u=i()(e,["horizontal","inline","componentClass","className"]),s=Object(C.f)(u),l=s[0],c=s[1],p=[];return t&&p.push(Object(C.e)(l,"horizontal")),n&&p.push(Object(C.e)(l,"inline")),v.a.createElement(r,o()({},c,{className:h()(a,p)}))},t}(v.a.Component);w.propTypes=E,w.defaultProps=_;Object(C.a)("form",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(44),E=(n.n(C),n(387)),_=n(388),w=n(8),O=n(32),x={componentClass:D.a,type:b.a.string,id:b.a.string,inputRef:b.a.func},T={componentClass:"input"},k={$bs_formGroup:b.a.object},S=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.context.$bs_formGroup,t=e&&e.controlId,n=this.props,r=n.componentClass,a=n.type,u=n.id,s=void 0===u?t:u,l=n.inputRef,c=n.className,p=n.bsSize,f=i()(n,["componentClass","type","id","inputRef","className","bsSize"]),d=Object(w.f)(f),m=d[0],y=d[1],b=void 0;if("file"!==a&&(b=Object(w.d)(m)),p){var g=O.b[p]||p;b[Object(w.e)({bsClass:"input"},g)]=!0}return v.a.createElement(r,o()({},y,{type:a,id:s,ref:l,className:h()(c,b)}))},t}(v.a.Component);S.propTypes=x,S.defaultProps=T,S.contextTypes=k,S.Feedback=E.a,S.Static=_.a;Object(w.a)("form-control",Object(w.b)([O.c.SMALL,O.c.LARGE],S))},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(1),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(176),D=n(8),C={bsRole:"feedback"},E={$bs_formGroup:b.a.object},_=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.getGlyph=function(e){switch(e){case"success":return"ok";case"warning":return"warning-sign";case"error":return"remove";default:return null}},t.prototype.renderDefaultFeedback=function(e,t,n,r){var o=this.getGlyph(e&&e.validationState);return o?v.a.createElement(g.a,i()({},r,{glyph:o,className:h()(t,n)})):null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=o()(e,["className","children"]),a=Object(D.f)(r),u=a[0],s=a[1],l=Object(D.d)(u);if(!n)return this.renderDefaultFeedback(this.context.$bs_formGroup,t,l,s);var c=v.a.Children.only(n);return v.a.cloneElement(c,i()({},s,{className:h()(c.props.className,t,l)}))},t}(v.a.Component);_.defaultProps=C,_.contextTypes=E,t.a=Object(D.a)("form-control-feedback",_)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"p"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("form-control-static",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D=n(32),C=n(41),E={controlId:b.a.string,validationState:b.a.oneOf(["success","warning","error",null])},_={$bs_formGroup:b.a.object.isRequired},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.getChildContext=function(){var e=this.props;return{$bs_formGroup:{controlId:e.controlId,validationState:e.validationState}}},t.prototype.hasFeedback=function(e){var t=this;return C.a.some(e,function(e){return"feedback"===e.props.bsRole||e.props.children&&t.hasFeedback(e.props.children)})},t.prototype.render=function(){var e=this.props,t=e.validationState,n=e.className,r=e.children,a=i()(e,["validationState","className","children"]),u=Object(g.g)(a,["controlId"]),s=u[0],l=u[1],c=o()({},Object(g.d)(s),{"has-feedback":this.hasFeedback(r)});return t&&(c["has-"+t]=!0),v.a.createElement("div",o()({},l,{className:h()(n,c)}),r)},t}(v.a.Component);w.propTypes=E,w.childContextTypes=_,t.a=Object(g.a)("form-group",Object(g.b)([D.c.LARGE,D.c.SMALL],w))},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("span",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);t.a=Object(y.a)("help-block",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={responsive:b.a.bool,rounded:b.a.bool,circle:b.a.bool,thumbnail:b.a.bool},C={responsive:!1,rounded:!1,circle:!1,thumbnail:!1},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.responsive,r=t.rounded,a=t.circle,u=t.thumbnail,s=t.className,l=i()(t,["responsive","rounded","circle","thumbnail","className"]),c=Object(g.f)(l),p=c[0],f=c[1],d=(e={},e[Object(g.e)(p,"responsive")]=n,e[Object(g.e)(p,"rounded")]=r,e[Object(g.e)(p,"circle")]=a,e[Object(g.e)(p,"thumbnail")]=u,e);return v.a.createElement("img",o()({},f,{className:h()(s,d)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C;Object(g.a)("img",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(393),b=n(394),g=n(8),D=n(32),C=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(g.f)(n),a=r[0],u=r[1],s=Object(g.d)(a);return v.a.createElement("span",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);C.Addon=y.a,C.Button=b.a;Object(g.a)("input-group",Object(g.b)([D.c.LARGE,D.c.SMALL],C))},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("span",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);t.a=Object(y.a)("input-group-addon",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("span",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);t.a=Object(y.a)("input-group-btn",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(0),h=n.n(d),m=n(7),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"div"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return h.a.createElement(t,o()({},s,{className:v()(n,l)}))},t}(h.a.Component);E.propTypes=D,E.defaultProps=C;Object(g.a)("jumbotron",E)},function(e,t,n){"use strict";var r=n(95),o=n.n(r),a=n(1),i=n.n(a),u=n(6),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(0),b=n.n(y),g=n(8),D=n(32),C=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.hasContent=function(e){var t=!1;return b.a.Children.forEach(e,function(e){t||(e||0===e)&&(t=!0)}),t},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=s()(e,["className","children"]),o=Object(g.f)(r),a=o[0],u=o[1],l=i()({},Object(g.d)(a),{hidden:!this.hasContent(n)});return b.a.createElement("span",i()({},u,{className:v()(t,l)}),n)},t}(b.a.Component);Object(g.a)("label",Object(g.c)([].concat(o()(D.d),[D.e.DEFAULT,D.e.PRIMARY]),D.e.DEFAULT,C))},function(e,t,n){"use strict";function r(e){return e?E.a.some(e,function(e){return e.type!==D.a||e.props.href||e.props.onClick})?"div":"ul":"div"}var o=n(1),a=n.n(o),i=n(6),u=n.n(i),s=n(2),l=n.n(s),c=n(3),p=n.n(c),f=n(4),d=n.n(f),h=n(7),m=n.n(h),v=n(0),y=n.n(v),b=n(16),g=n.n(b),D=n(228),C=n(8),E=n(41),_={componentClass:g.a},w=function(e){function t(){return l()(this,t),p()(this,e.apply(this,arguments))}return d()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.componentClass,o=void 0===n?r(t):n,i=e.className,s=u()(e,["children","componentClass","className"]),l=Object(C.f)(s),c=l[0],p=l[1],f=Object(C.d)(c),d="ul"===o&&E.a.every(t,function(e){return e.type===D.a});return y.a.createElement(o,a()({},p,{className:m()(i,f)}),d?E.a.map(t,function(e){return Object(v.cloneElement)(e,{listItem:!0})}):t)},t}(y.a.Component);w.propTypes=_,t.a=Object(C.a)("list-group",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(16),D=n.n(g),C=n(156),E=n(8),_={align:b.a.oneOf(["top","middle","bottom"]),componentClass:D.a},w={componentClass:"div"},O=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.align,r=e.className,a=i()(e,["componentClass","align","className"]),u=Object(E.f)(a),s=u[0],l=u[1],c=Object(E.d)(s);return n&&(c[Object(E.e)(C.a.defaultProps,n)]=!0),v.a.createElement(t,o()({},l,{className:h()(r,c)}))},t}(v.a.Component);O.propTypes=_,O.defaultProps=w,t.a=Object(E.a)("media-body",O)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"h4"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C,t.a=Object(g.a)("media-heading",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(156),D=n(8),C={align:b.a.oneOf(["top","middle","bottom"])},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.align,n=e.className,r=i()(e,["align","className"]),a=Object(D.f)(r),u=a[0],s=a[1],l=Object(D.d)(u);return t&&(l[Object(D.e)(g.a.defaultProps,t)]=!0),v.a.createElement("div",o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=C,t.a=Object(D.a)("media-left",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("ul",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);t.a=Object(y.a)("media-list",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("li",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);t.a=Object(y.a)("media",b)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(156),D=n(8),C={align:b.a.oneOf(["top","middle","bottom"])},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.align,n=e.className,r=i()(e,["align","className"]),a=Object(D.f)(r),u=a[0],s=a[1],l=Object(D.d)(u);return t&&(l[Object(D.e)(g.a.defaultProps,t)]=!0),v.a.createElement("div",o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=C,t.a=Object(D.a)("media-right",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(151),D=n.n(g),C=n(61),E=n(8),_=n(26),w={active:b.a.bool,disabled:b.a.bool,divider:D()(b.a.bool,function(e){var t=e.divider,n=e.children;return t&&n?new Error("Children will not be rendered for dividers"):null}),eventKey:b.a.any,header:b.a.bool,href:b.a.string,onClick:b.a.func,onSelect:b.a.func},O={divider:!1,disabled:!1,header:!1},x=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return f()(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.href,r=t.disabled,o=t.onSelect,a=t.eventKey;n&&!r||e.preventDefault(),r||o&&o(a,e)},t.prototype.render=function(){var e=this.props,t=e.active,n=e.disabled,r=e.divider,a=e.header,u=e.onClick,s=e.className,l=e.style,c=i()(e,["active","disabled","divider","header","onClick","className","style"]),p=Object(E.g)(c,["eventKey","onSelect"]),f=p[0],d=p[1];return r?(d.children=void 0,v.a.createElement("li",o()({},d,{role:"separator",className:h()(s,"divider"),style:l}))):a?v.a.createElement("li",o()({},d,{role:"heading",className:h()(s,Object(E.e)(f,"header")),style:l})):v.a.createElement("li",{role:"presentation",className:h()(s,{active:t,disabled:n}),style:l},v.a.createElement(C.a,o()({},d,{role:"menuitem",tabIndex:"-1",onClick:Object(_.a)(u,this.handleClick)})))},t}(v.a.Component);x.propTypes=w,x.defaultProps=O;Object(E.a)("dropdown",x)},function(e,t,n){"use strict";function r(e){return x.a.createElement(A.a,h()({},e,{timeout:Y.TRANSITION_DURATION}))}function o(e){return x.a.createElement(A.a,h()({},e,{timeout:Y.BACKDROP_TRANSITION_DURATION}))}var a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(1),h=n.n(d),m=n(7),v=n.n(m),y=n(406),b=n.n(y),g=n(96),D=n.n(g),C=n(81),E=n.n(C),_=n(229),w=n.n(_),O=n(0),x=n.n(O),T=n(5),k=n.n(T),S=n(35),j=n.n(S),N=n(410),P=n.n(N),F=n(231),I=n.n(F),M=n(16),R=n.n(M),A=n(155),L=n(233),U=n(420),B=n(234),H=n(235),K=n(236),z=n(8),q=n(26),W=n(154),V=n(32),$=h()({},P.a.propTypes,U.a.propTypes,{backdrop:k.a.oneOf(["static",!0,!1]),backdropClassName:k.a.string,keyboard:k.a.bool,animation:k.a.bool,dialogComponentClass:R.a,autoFocus:k.a.bool,enforceFocus:k.a.bool,restoreFocus:k.a.bool,show:k.a.bool,onHide:k.a.func,onEnter:k.a.func,onEntering:k.a.func,onEntered:k.a.func,onExit:k.a.func,onExiting:k.a.func,onExited:k.a.func,container:P.a.propTypes.container}),G=h()({},P.a.defaultProps,{animation:!0,dialogComponentClass:U.a}),Q={$bs_modal:k.a.shape({onHide:k.a.func})},Y=function(e){function t(n,r){s()(this,t);var o=c()(this,e.call(this,n,r));return o.handleEntering=o.handleEntering.bind(o),o.handleExited=o.handleExited.bind(o),o.handleWindowResize=o.handleWindowResize.bind(o),o.handleDialogClick=o.handleDialogClick.bind(o),o.setModalRef=o.setModalRef.bind(o),o.state={style:{}},o}return f()(t,e),t.prototype.getChildContext=function(){return{$bs_modal:{onHide:this.props.onHide}}},t.prototype.componentWillUnmount=function(){this.handleExited()},t.prototype.setModalRef=function(e){this._modal=e},t.prototype.handleDialogClick=function(e){e.target===e.currentTarget&&this.props.onHide()},t.prototype.handleEntering=function(){b.a.on(window,"resize",this.handleWindowResize),this.updateStyle()},t.prototype.handleExited=function(){b.a.off(window,"resize",this.handleWindowResize)},t.prototype.handleWindowResize=function(){this.updateStyle()},t.prototype.updateStyle=function(){if(E.a){var e=this._modal.getDialogElement(),t=e.scrollHeight,n=D()(e),r=I()(j.a.findDOMNode(this.props.container||n.body)),o=t>n.documentElement.clientHeight;this.setState({style:{paddingRight:r&&!o?w()():void 0,paddingLeft:!r&&o?w()():void 0}})}},t.prototype.render=function(){var e=this.props,t=e.backdrop,n=e.backdropClassName,a=e.animation,u=e.show,s=e.dialogComponentClass,l=e.className,c=e.style,p=e.children,f=e.onEntering,d=e.onExited,m=i()(e,["backdrop","backdropClassName","animation","show","dialogComponentClass","className","style","children","onEntering","onExited"]),y=Object(W.a)(m,P.a),b=y[0],g=y[1],D=u&&!a&&"in";return x.a.createElement(P.a,h()({},b,{ref:this.setModalRef,show:u,containerClassName:Object(z.e)(m,"open"),transition:a?r:void 0,backdrop:t,backdropTransition:a?o:void 0,backdropClassName:v()(Object(z.e)(m,"backdrop"),n,D),onEntering:Object(q.a)(f,this.handleEntering),onExited:Object(q.a)(d,this.handleExited)}),x.a.createElement(s,h()({},g,{style:h()({},this.state.style,c),className:v()(l,D),onClick:!0===t?this.handleDialogClick:null}),p))},t}(x.a.Component);Y.propTypes=$,Y.defaultProps=G,Y.childContextTypes=Q,Y.Body=L.a,Y.Header=H.a,Y.Title=K.a,Y.Footer=B.a,Y.Dialog=U.a,Y.TRANSITION_DURATION=300,Y.BACKDROP_TRANSITION_DURATION=150;Object(z.a)("modal",Object(z.b)([V.c.LARGE,V.c.SMALL],Y))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.listen=t.filter=t.off=t.on=void 0;var o=n(179),a=r(o),i=n(180),u=r(i),s=n(407),l=r(s),c=n(409),p=r(c);t.on=a.default,t.off=u.default,t.filter=l.default,t.listen=p.default,t.default={on:a.default,off:u.default,filter:l.default,listen:p.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return function(n){var r=n.currentTarget,o=n.target;(0,s.default)(r,e).some(function(e){return(0,i.default)(e,o)})&&t.call(this,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(97),i=r(a),u=n(408),s=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n,r="#"===t[0],i="."===t[0],u=r||i?t.slice(1):t,s=o.test(u);return s?r?(e=e.getElementById?e:document,(n=e.getElementById(u))?[n]:[]):a(e.getElementsByClassName&&i?e.getElementsByClassName(u):e.getElementsByTagName(t)):a(e.querySelectorAll(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/^[\w-]*$/,a=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(81),a=r(o),i=n(179),u=r(i),s=n(180),l=r(s),c=function(){};a.default&&(c=function(e,t,n,r){return(0,u.default)(e,t,n,r),function(){(0,l.default)(e,t,n,r)}}),t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(223),l=r(s),c=n(97),p=r(c),f=n(81),d=r(f),h=n(5),m=r(h),v=n(157),y=r(v),b=n(411),g=r(b),D=n(16),C=r(D),E=n(0),_=r(E),w=n(35),O=r(w),x=n(44),T=r(x),k=n(412),S=r(k),j=n(232),N=r(j),P=n(418),F=r(P),I=n(225),M=r(I),R=n(419),A=r(R),L=n(159),U=r(L),B=n(98),H=r(B),K=new S.default,z=function(e){function t(){var n,r,i;o(this,t);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(s))),q.call(r),i=n,a(r,i)}return i(t,e),t.prototype.omitProps=function(e,t){var n=Object.keys(e),r={};return n.map(function(n){Object.prototype.hasOwnProperty.call(t,n)||(r[n]=e[n])}),r},t.prototype.render=function(){var e=this.props,n=e.show,r=e.container,o=e.children,a=e.transition,i=e.backdrop,s=e.className,l=e.style,c=e.onExit,p=e.onExiting,f=e.onEnter,d=e.onEntering,h=e.onEntered,m=_.default.Children.only(o),v=this.omitProps(this.props,t.propTypes);if(!(n||a&&!this.state.exited))return null;var y=m.props,b=y.role,g=y.tabIndex;return void 0!==b&&void 0!==g||(m=(0,E.cloneElement)(m,{role:void 0===b?"document":b,tabIndex:null==g?"-1":g})),a&&(m=_.default.createElement(a,{appear:!0,unmountOnExit:!0,in:n,onExit:c,onExiting:p,onExited:this.handleHidden,onEnter:f,onEntering:d,onEntered:h},m)),_.default.createElement(N.default,{ref:this.setMountNode,container:r,onRendered:this.onPortalRendered},_.default.createElement("div",u({ref:this.setModalNodeRef,role:b||"dialog"},v,{style:l,className:s}),i&&this.renderBackdrop(),_.default.createElement(F.default,{ref:this.setDialogRef},m)))},t.prototype.componentWillReceiveProps=function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})},t.prototype.componentWillUpdate=function(e){!this.props.show&&e.show&&this.checkForFocus()},t.prototype.componentDidMount=function(){this._isMounted=!0,this.props.show&&this.onShow()},t.prototype.componentDidUpdate=function(e){var t=this.props.transition;!e.show||this.props.show||t?!e.show&&this.props.show&&this.onShow():this.onHide()},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.show,n=e.transition;this._isMounted=!1,(t||n&&!this.state.exited)&&this.onHide()},t.prototype.autoFocus=function(){if(this.props.autoFocus){var e=this.getDialogElement(),t=(0,l.default)((0,H.default)(this));e&&!(0,p.default)(e,t)&&(this.lastFocus=t,e.hasAttribute("tabIndex")||((0,T.default)(!1,'The modal content node does not accept focus. For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'),e.setAttribute("tabIndex",-1)),e.focus())}},t.prototype.restoreLastFocus=function(){this.lastFocus&&this.lastFocus.focus&&(this.lastFocus.focus(),this.lastFocus=null)},t.prototype.getDialogElement=function(){return O.default.findDOMNode(this.dialog)},t.prototype.isTopModal=function(){return this.props.manager.isTopModal(this)},t}(_.default.Component);z.propTypes=u({},N.default.propTypes,{show:m.default.bool,container:m.default.oneOfType([y.default,m.default.func]),onShow:m.default.func,onHide:m.default.func,backdrop:m.default.oneOfType([m.default.bool,m.default.oneOf(["static"])]),renderBackdrop:m.default.func,onEscapeKeyDown:m.default.func,onEscapeKeyUp:(0,g.default)(m.default.func,"Please use onEscapeKeyDown instead for consistency"),onBackdropClick:m.default.func,backdropStyle:m.default.object,backdropClassName:m.default.string,containerClassName:m.default.string,keyboard:m.default.bool,transition:C.default,backdropTransition:C.default,autoFocus:m.default.bool,enforceFocus:m.default.bool,restoreFocus:m.default.bool,onEnter:m.default.func,onEntering:m.default.func,onEntered:m.default.func,onExit:m.default.func,onExiting:m.default.func,onExited:m.default.func,manager:m.default.object.isRequired}),z.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,onHide:function(){},manager:K,renderBackdrop:function(e){return _.default.createElement("div",e)}};var q=function(){var e=this;this.state={exited:!this.props.show},this.renderBackdrop=function(){var t=e.props,n=t.backdropStyle,r=t.backdropClassName,o=t.renderBackdrop,a=t.backdropTransition,i=function(t){return e.backdrop=t},u=o({ref:i,style:n,className:r,onClick:e.handleBackdropClick});return a&&(u=_.default.createElement(a,{appear:!0,in:e.props.show},u)),u},this.onPortalRendered=function(){e.autoFocus(),e.props.onShow&&e.props.onShow()},this.onShow=function(){var t=(0,H.default)(e),n=(0,U.default)(e.props.container,t.body);e.props.manager.add(e,n,e.props.containerClassName),e._onDocumentKeydownListener=(0,M.default)(t,"keydown",e.handleDocumentKeyDown),e._onDocumentKeyupListener=(0,M.default)(t,"keyup",e.handleDocumentKeyUp),e._onFocusinListener=(0,A.default)(e.enforceFocus)},this.onHide=function(){e.props.manager.remove(e),e._onDocumentKeydownListener.remove(),e._onDocumentKeyupListener.remove(),e._onFocusinListener.remove(),e.props.restoreFocus&&e.restoreLastFocus()},this.setMountNode=function(t){e.mountNode=t?t.getMountNode():t},this.setModalNodeRef=function(t){e.modalNode=t},this.setDialogRef=function(t){e.dialog=t},this.handleHidden=function(){if(e.setState({exited:!0}),e.onHide(),e.props.onExited){var t;(t=e.props).onExited.apply(t,arguments)}},this.handleBackdropClick=function(t){t.target===t.currentTarget&&(e.props.onBackdropClick&&e.props.onBackdropClick(t),!0===e.props.backdrop&&e.props.onHide())},this.handleDocumentKeyDown=function(t){e.props.keyboard&&27===t.keyCode&&e.isTopModal()&&(e.props.onEscapeKeyDown&&e.props.onEscapeKeyDown(t),e.props.onHide())},this.handleDocumentKeyUp=function(t){e.props.keyboard&&27===t.keyCode&&e.isTopModal()&&e.props.onEscapeKeyUp&&e.props.onEscapeKeyUp(t)},this.checkForFocus=function(){d.default&&(e.lastFocus=(0,l.default)())},this.enforceFocus=function(){if(e.props.enforceFocus&&e._isMounted&&e.isTopModal()){var t=e.getDialogElement(),n=(0,l.default)((0,H.default)(e));t&&!(0,p.default)(t,n)&&t.focus()}}};z.Manager=S.default,t.default=z,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return function(n,r,o,a,s){var l=o||"<<anonymous>>",c=s||r;if(null!=n[r]){var p=o+"."+r;(0,i.default)(u[p],"The "+a+" `"+c+"` of `"+l+"` is deprecated. "+t+"."),u[p]=!0}for(var f=arguments.length,d=Array(f>5?f-5:0),h=5;h<f;h++)d[h-5]=arguments[h];return e.apply(void 0,[n,r,o,a,s].concat(d))}}function o(){u={}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var a=n(44),i=function(e){return e&&e.__esModule?e:{default:e}}(a),u={};r._resetWarned=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){var n=-1;return e.some(function(e,r){if(t(e,r))return n=r,!0}),n}function i(e,t){return a(e,function(e){return-1!==e.modals.indexOf(t)})}function u(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,f.default)(t,"paddingRight")||0,10)+(0,h.default)()+"px"),(0,f.default)(t,n)}function s(e,t){var n=e.style;Object.keys(n).forEach(function(e){return t.style[e]=n[e]})}t.__esModule=!0;var l=n(413),c=r(l),p=n(137),f=r(p),d=n(229),h=r(d),m=n(231),v=r(m),y=n(416),b=function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.hideSiblingNodes,a=void 0===r||r,l=n.handleContainerOverflow,p=void 0===l||l;o(this,e),this.add=function(e,n,r){var o=t.modals.indexOf(e),a=t.containers.indexOf(n);if(-1!==o)return o;if(o=t.modals.length,t.modals.push(e),t.hideSiblingNodes&&(0,y.hideSiblings)(n,e.mountNode),-1!==a)return t.data[a].modals.push(e),o;var i={modals:[e],classes:r?r.split(/\s+/):[],overflowing:(0,v.default)(n)};return t.handleContainerOverflow&&u(i,n),i.classes.forEach(c.default.addClass.bind(null,n)),t.containers.push(n),t.data.push(i),o},this.remove=function(e){var n=t.modals.indexOf(e);if(-1!==n){var r=i(t.data,e),o=t.data[r],a=t.containers[r];o.modals.splice(o.modals.indexOf(e),1),t.modals.splice(n,1),0===o.modals.length?(o.classes.forEach(c.default.removeClass.bind(null,a)),t.handleContainerOverflow&&s(o,a),t.hideSiblingNodes&&(0,y.showSiblings)(a,e.mountNode),t.containers.splice(r,1),t.data.splice(r,1)):t.hideSiblingNodes&&(0,y.ariaHidden)(!1,o.modals[o.modals.length-1].mountNode)}},this.isTopModal=function(e){return!!t.modals.length&&t.modals[t.modals.length-1]===e},this.hideSiblingNodes=a,this.handleContainerOverflow=p,this.modals=[],this.containers=[],this.data=[]};t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=t.removeClass=t.addClass=void 0;var o=n(414),a=r(o),i=n(415),u=r(i),s=n(230),l=r(s);t.addClass=a.default,t.removeClass=u.default,t.hasClass=l.default,t.default={addClass:a.default,removeClass:u.default,hasClass:l.default}},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,a.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(230),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}function o(e,t){s(e,t,function(e){return r(!0,e)})}function a(e,t){s(e,t,function(e){return r(!1,e)})}t.__esModule=!0,t.ariaHidden=r,t.hideSiblings=o,t.showSiblings=a;var i=["template","script","style"],u=function(e){var t=e.nodeType,n=e.tagName;return 1===t&&-1===i.indexOf(n.toLowerCase())},s=function(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&u(e)&&n(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(5),s=r(u),l=n(157),c=r(l),p=n(0),f=r(p),d=n(35),h=r(d),m=n(159),v=r(m),y=n(98),b=r(y),g=function(e){function t(){var n,r,i;o(this,t);for(var u=arguments.length,s=Array(u),l=0;l<u;l++)s[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(s))),r._mountOverlayTarget=function(){r._overlayTarget||(r._overlayTarget=document.createElement("div"),r._portalContainerNode=(0,v.default)(r.props.container,(0,b.default)(r).body),r._portalContainerNode.appendChild(r._overlayTarget))},r._unmountOverlayTarget=function(){r._overlayTarget&&(r._portalContainerNode.removeChild(r._overlayTarget),r._overlayTarget=null),r._portalContainerNode=null},r._renderOverlay=function(){var e=r.props.children?f.default.Children.only(r.props.children):null;if(null!==e){r._mountOverlayTarget();var t=!r._overlayInstance;r._overlayInstance=h.default.unstable_renderSubtreeIntoContainer(r,e,r._overlayTarget,function(){t&&r.props.onRendered&&r.props.onRendered()})}else r._unrenderOverlay(),r._unmountOverlayTarget()},r._unrenderOverlay=function(){r._overlayTarget&&(h.default.unmountComponentAtNode(r._overlayTarget),r._overlayInstance=null)},r.getMountNode=function(){return r._overlayTarget},i=n,a(r,i)}return i(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this._renderOverlay()},t.prototype.componentDidUpdate=function(){this._renderOverlay()},t.prototype.componentWillReceiveProps=function(e){this._overlayTarget&&e.container!==this.props.container&&(this._portalContainerNode.removeChild(this._overlayTarget),this._portalContainerNode=(0,v.default)(e.container,(0,b.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._unrenderOverlay(),this._unmountOverlayTarget()},t.prototype.render=function(){return null},t}(f.default.Component);g.displayName="Portal",g.propTypes={container:s.default.oneOfType([c.default,s.default.func]),onRendered:s.default.func},t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(5),s=r(u),l=n(0),c=r(l),p={children:s.default.node},f=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return this.props.children},t}(c.default.Component);f.propTypes=p,t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=!document.addEventListener,n=void 0;return t?(document.attachEvent("onfocusin",e),n=function(){return document.detachEvent("onfocusin",e)}):(document.addEventListener("focus",e,!0),n=function(){return document.removeEventListener("focus",e,!0)}),{remove:n}}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D=n(32),C={dialogClassName:b.a.string},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.dialogClassName,r=t.className,a=t.style,u=t.children,s=i()(t,["dialogClassName","className","style","children"]),l=Object(g.f)(s),c=l[0],p=l[1],f=Object(g.e)(c),d=o()({display:"block"},a),m=o()({},Object(g.d)(c),(e={},e[f]=!1,e[Object(g.e)(c,"dialog")]=!0,e));return v.a.createElement("div",o()({},p,{tabIndex:"-1",role:"dialog",style:d,className:h()(r,f)}),v.a.createElement("div",{className:h()(n,m)},v.a.createElement("div",{className:Object(g.e)(c,"content"),role:"document"},u)))},t}(v.a.Component);E.propTypes=C,t.a=Object(g.a)("modal",Object(g.b)([D.c.LARGE,D.c.SMALL],E))},function(e,t,n){"use strict";function r(e,t,n){var r=function(e,n){var r=n.$bs_navbar,o=void 0===r?{bsClass:"navbar"}:r,i=e.componentClass,s=e.className,l=e.pullRight,c=e.pullLeft,p=u()(e,["componentClass","className","pullRight","pullLeft"]);return y.a.createElement(i,a()({},p,{className:m()(s,Object(S.e)(o,t),l&&Object(S.e)(o,"right"),c&&Object(S.e)(o,"left"))}))};return r.displayName=n,r.propTypes={componentClass:C.a,pullRight:g.a.bool,pullLeft:g.a.bool},r.defaultProps={componentClass:e,pullRight:!1,pullLeft:!1},r.contextTypes={$bs_navbar:g.a.shape({bsClass:g.a.string})},r}var o=n(1),a=n.n(o),i=n(6),u=n.n(i),s=n(2),l=n.n(s),c=n(3),p=n.n(c),f=n(4),d=n.n(f),h=n(7),m=n.n(h),v=n(0),y=n.n(v),b=n(5),g=n.n(b),D=n(16),C=n.n(D),E=n(83),_=n.n(E),w=n(227),O=n(238),x=n(422),T=n(423),k=n(424),S=n(8),j=n(32),N=n(26),P={fixedTop:g.a.bool,fixedBottom:g.a.bool,staticTop:g.a.bool,inverse:g.a.bool,fluid:g.a.bool,componentClass:C.a,onToggle:g.a.func,onSelect:g.a.func,collapseOnSelect:g.a.bool,expanded:g.a.bool,role:g.a.string},F={componentClass:"nav",fixedTop:!1,fixedBottom:!1,staticTop:!1,inverse:!1,fluid:!1,collapseOnSelect:!1},I={$bs_navbar:g.a.shape({bsClass:g.a.string,expanded:g.a.bool,onToggle:g.a.func.isRequired,onSelect:g.a.func})},M=function(e){function t(n,r){l()(this,t);var o=p()(this,e.call(this,n,r));return o.handleToggle=o.handleToggle.bind(o),o.handleCollapse=o.handleCollapse.bind(o),o}return d()(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.bsClass,n=e.expanded,r=e.onSelect,o=e.collapseOnSelect;return{$bs_navbar:{bsClass:t,expanded:n,onToggle:this.handleToggle,onSelect:Object(N.a)(r,o?this.handleCollapse:null)}}},t.prototype.handleCollapse=function(){var e=this.props,t=e.onToggle;e.expanded&&t(!1)},t.prototype.handleToggle=function(){var e=this.props;(0,e.onToggle)(!e.expanded)},t.prototype.render=function(){var e,t=this.props,n=t.componentClass,r=t.fixedTop,o=t.fixedBottom,i=t.staticTop,s=t.inverse,l=t.fluid,c=t.className,p=t.children,f=u()(t,["componentClass","fixedTop","fixedBottom","staticTop","inverse","fluid","className","children"]),d=Object(S.g)(f,["expanded","onToggle","onSelect","collapseOnSelect"]),h=d[0],v=d[1];void 0===v.role&&"nav"!==n&&(v.role="navigation"),s&&(h.bsStyle=j.e.INVERSE);var b=a()({},Object(S.d)(h),(e={},e[Object(S.e)(h,"fixed-top")]=r,e[Object(S.e)(h,"fixed-bottom")]=o,e[Object(S.e)(h,"static-top")]=i,e));return y.a.createElement(n,a()({},v,{className:m()(c,b)}),y.a.createElement(w.a,{fluid:l},p))},t}(y.a.Component);M.propTypes=P,M.defaultProps=F,M.childContextTypes=I,Object(S.a)("navbar",M);var R=_()(M,{expanded:"onToggle"});R.Brand=O.a,R.Header=T.a,R.Toggle=k.a,R.Collapse=x.a,R.Form=r("div","form","NavbarForm"),R.Text=r("p","text","NavbarText"),R.Link=r("a","link","NavbarLink");Object(S.c)([j.e.DEFAULT,j.e.INVERSE],j.e.DEFAULT,R)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(0),h=n.n(d),m=n(5),v=n.n(m),y=n(177),b=n(8),g={$bs_navbar:v.a.shape({bsClass:v.a.string,expanded:v.a.bool})},D=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=i()(e,["children"]),r=this.context.$bs_navbar||{bsClass:"navbar"},a=Object(b.e)(r,"collapse");return h.a.createElement(y.a,o()({in:r.expanded},n),h.a.createElement("div",{className:a},t))},t}(h.a.Component);D.contextTypes=g,t.a=D},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={$bs_navbar:b.a.shape({bsClass:b.a.string})},C=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=this.context.$bs_navbar||{bsClass:"navbar"},a=Object(g.e)(r,"header");return v.a.createElement("div",o()({},n,{className:h()(t,a)}))},t}(v.a.Component);C.contextTypes=D,t.a=C},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D=n(26),C={onClick:b.a.func,children:b.a.node},E={$bs_navbar:b.a.shape({bsClass:b.a.string,expanded:b.a.bool,onToggle:b.a.func.isRequired})},_=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.onClick,n=e.className,r=e.children,a=i()(e,["onClick","className","children"]),u=this.context.$bs_navbar||{bsClass:"navbar"},s=o()({type:"button"},a,{onClick:Object(D.a)(t,u.onToggle),className:h()(n,Object(g.e)(u,"toggle"),!u.expanded&&"collapsed")});return r?v.a.createElement("button",s,r):v.a.createElement("button",s,v.a.createElement("span",{className:"sr-only"},"Toggle navigation"),v.a.createElement("span",{className:"icon-bar"}),v.a.createElement("span",{className:"icon-bar"}),v.a.createElement("span",{className:"icon-bar"}))},t}(v.a.Component);_.propTypes=C,_.contextTypes=E,t.a=_},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(1),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(152),D=n(154),C=n(41),E=f()({},g.a.propTypes,{title:b.a.node.isRequired,noCaret:b.a.bool,active:b.a.bool,activeKey:b.a.any,activeHref:b.a.string,children:b.a.node}),_=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.isActive=function(e,t,n){var r=e.props,o=this;return!!(r.active||null!=t&&r.eventKey===t||n&&r.href===n)||(!!C.a.some(r.children,function(e){return o.isActive(e,t,n)})||r.active)},t.prototype.render=function(){var e=this,t=this.props,n=t.title,r=t.activeKey,a=t.activeHref,i=t.className,u=t.style,s=t.children,l=o()(t,["title","activeKey","activeHref","className","style","children"]),c=this.isActive(this,r,a);delete l.active,delete l.eventKey;var p=Object(D.a)(l,g.a.ControlledComponent),d=p[0],m=p[1];return v.a.createElement(g.a,f()({},d,{componentClass:"li",className:h()(i,{active:c}),style:u}),v.a.createElement(g.a.Toggle,f()({},m,{useAnchor:!0}),n),v.a.createElement(g.a.Menu,null,C.a.map(s,function(t){return v.a.cloneElement(t,{active:e.isActive(t,r,a)})})))},t}(v.a.Component);_.propTypes=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(5),c=r(l),p=n(16),f=r(p),d=n(0),h=r(d),m=n(232),v=r(m),y=n(427),b=r(y),g=n(224),D=r(g),C=function(e){function t(n,r){a(this,t);var o=i(this,e.call(this,n,r));return o.handleHidden=function(){if(o.setState({exited:!0}),o.props.onExited){var e;(e=o.props).onExited.apply(e,arguments)}},o.state={exited:!n.show},o.onHiddenListener=o.handleHidden.bind(o),o}return u(t,e),t.prototype.componentWillReceiveProps=function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})},t.prototype.render=function(){var e=this.props,t=e.container,n=e.containerPadding,r=e.target,a=e.placement,i=e.shouldUpdatePosition,u=e.rootClose,s=e.children,l=e.transition,c=o(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]);if(!(c.show||l&&!this.state.exited))return null;var p=s;if(p=h.default.createElement(b.default,{container:t,containerPadding:n,target:r,placement:a,shouldUpdatePosition:i},p),l){var f=c.onExit,d=c.onExiting,m=c.onEnter,y=c.onEntering,g=c.onEntered;p=h.default.createElement(l,{in:c.show,appear:!0,onExit:f,onExiting:d,onExited:this.onHiddenListener,onEnter:m,onEntering:y,onEntered:g},p)}return u&&(p=h.default.createElement(D.default,{onRootClose:c.onHide},p)),h.default.createElement(v.default,{container:t},p)},t}(h.default.Component);C.propTypes=s({},v.default.propTypes,b.default.propTypes,{show:c.default.bool,rootClose:c.default.bool,onHide:function(e){var t=c.default.func;e.rootClose&&(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},transition:f.default,onEnter:c.default.func,onEntering:c.default.func,onEntered:c.default.func,onExit:c.default.func,onExiting:c.default.func,onExited:c.default.func}),t.default=C,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(7),c=r(l),p=n(5),f=r(p),d=n(157),h=r(d),m=n(0),v=r(m),y=n(35),b=r(y),g=n(428),D=r(g),C=n(159),E=r(C),_=n(98),w=r(_),O=function(e){function t(n,r){a(this,t);var o=i(this,e.call(this,n,r));return o.getTarget=function(){var e=o.props.target,t="function"==typeof e?e():e;return t&&b.default.findDOMNode(t)||null},o.maybeUpdatePosition=function(e){var t=o.getTarget();(o.props.shouldUpdatePosition||t!==o._lastTarget||e)&&o.updatePosition(t)},o.state={positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null},o._needsFlush=!1,o._lastTarget=null,o}return u(t,e),t.prototype.componentDidMount=function(){this.updatePosition(this.getTarget())},t.prototype.componentWillReceiveProps=function(){this._needsFlush=!0},t.prototype.componentDidUpdate=function(e){this._needsFlush&&(this._needsFlush=!1,this.maybeUpdatePosition(this.props.placement!==e.placement))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=o(e,["children","className"]),a=this.state,i=a.positionLeft,u=a.positionTop,l=o(a,["positionLeft","positionTop"]);delete r.target,delete r.container,delete r.containerPadding,delete r.shouldUpdatePosition;var p=v.default.Children.only(t);return(0,m.cloneElement)(p,s({},r,l,{positionLeft:i,positionTop:u,className:(0,c.default)(n,p.props.className),style:s({},p.props.style,{left:i,top:u})}))},t.prototype.updatePosition=function(e){if(this._lastTarget=e,!e)return void this.setState({positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null});var t=b.default.findDOMNode(this),n=(0,E.default)(this.props.container,(0,w.default)(this).body);this.setState((0,D.default)(this.props.placement,t,e,n,this.props.containerPadding))},t}(v.default.Component);O.propTypes={target:f.default.oneOfType([h.default,f.default.func]),container:f.default.oneOfType([h.default,f.default.func]),containerPadding:f.default.number,placement:f.default.oneOf(["top","right","bottom","left"]),shouldUpdatePosition:f.default.bool},O.displayName="Position",O.defaultProps={containerPadding:0,placement:"right",shouldUpdatePosition:!1},t.default=O,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0,n=void 0,r=void 0;if("BODY"===e.tagName)t=window.innerWidth,n=window.innerHeight,r=(0,d.default)((0,m.default)(e).documentElement)||(0,d.default)(e);else{var o=(0,l.default)(e);t=o.width,n=o.height,r=(0,d.default)(e)}return{width:t,height:n,scroll:r}}function a(e,t,n,r){var a=o(n),i=a.scroll,u=a.height,s=e-r-i,l=e+r-i+t;return s<0?-s:l>u?u-l:0}function i(e,t,n,r){var a=o(n),i=a.width,u=e-r,s=e+r+t;return u<0?-u:s>i?i-s:0}function u(e,t,n,r,o){var u="BODY"===r.tagName?(0,l.default)(n):(0,p.default)(n,r),s=(0,l.default)(t),c=s.height,f=s.width,d=void 0,h=void 0,m=void 0,v=void 0;if("left"===e||"right"===e){h=u.top+(u.height-c)/2,d="left"===e?u.left-f:u.left+u.width;var y=a(h,c,r,o);h+=y,v=50*(1-2*y/c)+"%",m=void 0}else{if("top"!==e&&"bottom"!==e)throw new Error('calcOverlayPosition(): No such placement of "'+e+'" found.');d=u.left+(u.width-f)/2,h="top"===e?u.top-c:u.top+u.height;var b=i(d,f,r,o);d+=b,m=50*(1-2*b/f)+"%",v=void 0}return{positionLeft:d,positionTop:h,arrowOffsetLeft:m,arrowOffsetTop:v}}t.__esModule=!0,t.default=u;var s=n(241),l=r(s),c=n(429),p=r(c),f=n(242),d=r(f),h=n(98),m=r(h);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.nodeName&&e.nodeName.toLowerCase()}function a(e,t){var n,r={top:0,left:0};return"fixed"===(0,v.default)(e,"position")?n=e.getBoundingClientRect():(t=t||(0,c.default)(e),n=(0,s.default)(e),"html"!==o(t)&&(r=(0,s.default)(t)),r.top+=parseInt((0,v.default)(t,"borderTopWidth"),10)-(0,f.default)(t)||0,r.left+=parseInt((0,v.default)(t,"borderLeftWidth"),10)-(0,h.default)(t)||0),i({},n,{top:n.top-r.top-(parseInt((0,v.default)(e,"marginTop"),10)||0),left:n.left-r.left-(parseInt((0,v.default)(e,"marginLeft"),10)||0)})}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=a;var u=n(241),s=r(u),l=n(430),c=r(l),p=n(242),f=r(p),d=n(431),h=r(d),m=n(137),v=r(m);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.nodeName&&e.nodeName.toLowerCase()}function a(e){for(var t=(0,u.default)(e),n=e&&e.offsetParent;n&&"html"!==o(e)&&"static"===(0,l.default)(n,"position");)n=n.offsetParent;return n||t.documentElement}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(96),u=r(i),s=n(137),l=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,a.default)(e);if(void 0===t)return n?"pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft:e.scrollLeft;n?n.scrollTo(t,"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop):e.scrollLeft=t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(158),a=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)?t.indexOf(e)>=0:e===t}var o=n(6),a=n.n(o),i=n(2),u=n.n(i),s=n(3),l=n.n(s),c=n(4),p=n.n(c),f=n(1),d=n.n(f),h=n(97),m=n.n(h),v=n(0),y=n.n(v),b=n(5),g=n.n(b),D=n(35),C=n.n(D),E=n(44),_=(n.n(E),n(240)),w=n(26),O=g.a.oneOf(["click","hover","focus"]),x=d()({},_.a.propTypes,{trigger:g.a.oneOfType([O,g.a.arrayOf(O)]),delay:g.a.number,delayShow:g.a.number,delayHide:g.a.number,defaultOverlayShown:g.a.bool,overlay:g.a.node.isRequired,onBlur:g.a.func,onClick:g.a.func,onFocus:g.a.func,onMouseOut:g.a.func,onMouseOver:g.a.func,target:g.a.oneOf([null]),onHide:g.a.oneOf([null]),show:g.a.oneOf([null])}),T={defaultOverlayShown:!1,trigger:["hover","focus"]},k=function(e){function t(n,r){u()(this,t);var o=l()(this,e.call(this,n,r));return o.handleToggle=o.handleToggle.bind(o),o.handleDelayedShow=o.handleDelayedShow.bind(o),o.handleDelayedHide=o.handleDelayedHide.bind(o),o.handleHide=o.handleHide.bind(o),o.handleMouseOver=function(e){return o.handleMouseOverOut(o.handleDelayedShow,e,"fromElement")},o.handleMouseOut=function(e){return o.handleMouseOverOut(o.handleDelayedHide,e,"toElement")},o._mountNode=null,o.state={show:n.defaultOverlayShown},o}return p()(t,e),t.prototype.componentDidMount=function(){this._mountNode=document.createElement("div"),this.renderOverlay()},t.prototype.componentDidUpdate=function(){this.renderOverlay()},t.prototype.componentWillUnmount=function(){C.a.unmountComponentAtNode(this._mountNode),this._mountNode=null,clearTimeout(this._hoverShowDelay),clearTimeout(this._hoverHideDelay)},t.prototype.handleDelayedHide=function(){var e=this;if(null!=this._hoverShowDelay)return clearTimeout(this._hoverShowDelay),void(this._hoverShowDelay=null);if(this.state.show&&null==this._hoverHideDelay){var t=null!=this.props.delayHide?this.props.delayHide:this.props.delay;if(!t)return void this.hide();this._hoverHideDelay=setTimeout(function(){e._hoverHideDelay=null,e.hide()},t)}},t.prototype.handleDelayedShow=function(){var e=this;if(null!=this._hoverHideDelay)return clearTimeout(this._hoverHideDelay),void(this._hoverHideDelay=null);if(!this.state.show&&null==this._hoverShowDelay){var t=null!=this.props.delayShow?this.props.delayShow:this.props.delay;if(!t)return void this.show();this._hoverShowDelay=setTimeout(function(){e._hoverShowDelay=null,e.show()},t)}},t.prototype.handleHide=function(){this.hide()},t.prototype.handleMouseOverOut=function(e,t,n){var r=t.currentTarget,o=t.relatedTarget||t.nativeEvent[n];o&&o===r||m()(r,o)||e(t)},t.prototype.handleToggle=function(){this.state.show?this.hide():this.show()},t.prototype.hide=function(){this.setState({show:!1})},t.prototype.makeOverlay=function(e,t){return y.a.createElement(_.a,d()({},t,{show:this.state.show,onHide:this.handleHide,target:this}),e)},t.prototype.show=function(){this.setState({show:!0})},t.prototype.renderOverlay=function(){C.a.unstable_renderSubtreeIntoContainer(this,this._overlay,this._mountNode)},t.prototype.render=function(){var e=this.props,t=e.trigger,n=e.overlay,o=e.children,i=e.onBlur,u=e.onClick,s=e.onFocus,l=e.onMouseOut,c=e.onMouseOver,p=a()(e,["trigger","overlay","children","onBlur","onClick","onFocus","onMouseOut","onMouseOver"]);delete p.delay,delete p.delayShow,delete p.delayHide,delete p.defaultOverlayShown;var f=y.a.Children.only(o),d=f.props,h={};return this.state.show&&(h["aria-describedby"]=n.props.id),h.onClick=Object(w.a)(d.onClick,u),r("click",t)&&(h.onClick=Object(w.a)(h.onClick,this.handleToggle)),r("hover",t)&&(h.onMouseOver=Object(w.a)(d.onMouseOver,c,this.handleMouseOver),h.onMouseOut=Object(w.a)(d.onMouseOut,l,this.handleMouseOut)),r("focus",t)&&(h.onFocus=Object(w.a)(d.onFocus,s,this.handleDelayedShow),h.onBlur=Object(w.a)(d.onBlur,i,this.handleDelayedHide)),this._overlay=this.makeOverlay(n,p),Object(v.cloneElement)(f,h)},t}(y.a.Component);k.propTypes=x,k.defaultProps=T},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=i()(e,["className","children"]),a=Object(y.f)(r),u=a[0],s=a[1],l=Object(y.d)(u);return v.a.createElement("div",o()({},s,{className:h()(t,l)}),v.a.createElement("h1",null,n))},t}(v.a.Component);Object(y.a)("page-header",b)},function(e,t,n){"use strict";var r=n(243),o=n(435);o.a.wrapper(r.a,"`<PageItem>`","`<Pager.Item>`")},function(e,t,n){"use strict";function r(e,t,n){var r=void 0;"object"===(void 0===e?"undefined":p()(e))?r=e.message:(r=e+" is deprecated. Use "+t+" instead.",n&&(r+="\nYou can read more about it at "+n)),d[r]||(d[r]=!0)}var o=n(2),a=n.n(o),i=n(3),u=n.n(i),s=n(4),l=n.n(s),c=n(45),p=n.n(c),f=n(44),d=(n.n(f),{});r.wrapper=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(e){function t(){return a()(this,t),u()(this,e.apply(this,arguments))}return l()(t,e),t.prototype.componentWillMount=function(){if(r.apply(void 0,n),e.prototype.componentWillMount){for(var t,o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];(t=e.prototype.componentWillMount).call.apply(t,[this].concat(a))}},t}(e)},t.a=r},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(243),D=n(8),C=n(26),E=n(41),_={onSelect:b.a.func},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.onSelect,n=e.className,r=e.children,a=i()(e,["onSelect","className","children"]),u=Object(D.f)(a),s=u[0],l=u[1],c=Object(D.d)(s);return v.a.createElement("ul",o()({},l,{className:h()(n,c)}),E.a.map(r,function(e){return Object(m.cloneElement)(e,{onSelect:Object(C.a)(e.props.onSelect,t)})}))},t}(v.a.Component);w.propTypes=_,w.Item=g.a;Object(D.a)("pager",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(438),b=n(8),g=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=i()(e,["className","children"]),a=Object(b.f)(r),u=a[0],s=a[1],l=Object(b.d)(u);return v.a.createElement("ul",o()({},s,{className:h()(t,l)}),n)},t}(v.a.Component);Object(b.a)("pagination",g),g.First=y.b,g.Prev=y.e,g.Ellipsis=y.a,g.Item=y.f,g.Next=y.d,g.Last=y.c},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.disabled,r=e.className,o=e.style,a=e.activeLabel,i=e.children,u=h()(e,["active","disabled","className","style","activeLabel","children"]),s=t||n?"span":C.a;return D.a.createElement("li",{style:o,className:v()(r,{active:t,disabled:n})},D.a.createElement(s,f()({disabled:n},u),i,t&&D.a.createElement("span",{className:"sr-only"},a)))}function o(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return r=n=function(e){function n(){return i()(this,n),s()(this,e.apply(this,arguments))}return c()(n,e),n.prototype.render=function(){var e=this.props,n=e.disabled,r=e.children,a=e.className,i=h()(e,["disabled","children","className"]),u=n?"span":C.a;return D.a.createElement("li",f()({"aria-label":o,className:v()(a,{disabled:n})},i),D.a.createElement(u,null,r||t))},n}(D.a.Component),n.displayName=e,n.propTypes={disabled:b.a.bool},r}t.f=r,n.d(t,"b",function(){return w}),n.d(t,"e",function(){return O}),n.d(t,"a",function(){return x}),n.d(t,"d",function(){return T}),n.d(t,"c",function(){return k});var a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(1),f=n.n(p),d=n(6),h=n.n(d),m=n(7),v=n.n(m),y=n(5),b=n.n(y),g=n(0),D=n.n(g),C=n(61),E={eventKey:b.a.any,className:b.a.string,onSelect:b.a.func,disabled:b.a.bool,active:b.a.bool,activeLabel:b.a.string.isRequired},_={active:!1,disabled:!1,activeLabel:"(current)"};r.propTypes=E,r.defaultProps=_;var w=o("First","«"),O=o("Prev","‹"),x=o("Ellipsis","…","More"),T=o("Next","›"),k=o("Last","»")},function(e,t,n){"use strict";var r=n(86),o=n.n(r),a=n(95),i=n.n(a),u=n(1),s=n.n(u),l=n(2),c=n.n(l),p=n(3),f=n.n(p),d=n(4),h=n.n(d),m=n(7),v=n.n(m),y=n(5),b=n.n(y),g=n(0),D=n.n(g),C=n(83),E=n.n(C),_=n(44),w=(n.n(_),n(8)),O=n(32),x=n(440),T=n(441),k=n(443),S=n(444),j=n(245),N=n(244),P=Object.prototype.hasOwnProperty,F=function(e,t){return e?e+"--"+t:null},I={expanded:b.a.bool,onToggle:b.a.func,eventKey:b.a.any,id:b.a.string},M={$bs_panelGroup:b.a.shape({getId:b.a.func,activeKey:b.a.any,onToggle:b.a.func})},R={$bs_panel:b.a.shape({headingId:b.a.string,bodyId:b.a.string,bsClass:b.a.string,onToggle:b.a.func,expanded:b.a.bool})},A=function(e){function t(){var n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),u=0;u<a;u++)i[u]=arguments[u];return n=r=f()(this,e.call.apply(e,[this].concat(i))),r.handleToggle=function(e){var t=r.context.$bs_panelGroup,n=!r.getExpanded();t&&t.onToggle?t.onToggle(r.props.eventKey,n,e):r.props.onToggle(n,e)},o=n,f()(r,o)}return h()(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.eventKey,n=e.id,r=null==t?n:t,o=void 0;if(null!==r){var a=this.context.$bs_panelGroup,i=a&&a.getId||F;o={headingId:i(r,"heading"),bodyId:i(r,"body")}}return{$bs_panel:s()({},o,{bsClass:this.props.bsClass,expanded:this.getExpanded(),onToggle:this.handleToggle})}},t.prototype.getExpanded=function(){var e=this.context.$bs_panelGroup;return e&&P.call(e,"activeKey")?e.activeKey===this.props.eventKey:!!this.props.expanded},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=Object(w.g)(this.props,["onToggle","eventKey","expanded"]),o=r[0],a=r[1];return D.a.createElement("div",s()({},a,{className:v()(t,Object(w.d)(o))}),n)},t}(D.a.Component);A.propTypes=I,A.contextTypes=M,A.childContextTypes=R;var L=E()(Object(w.a)("panel",Object(w.c)([].concat(i()(O.d),[O.e.DEFAULT,O.e.PRIMARY]),O.e.DEFAULT,A)),{expanded:"onToggle"});o()(L,{Heading:T.a,Title:k.a,Body:x.a,Footer:S.a,Toggle:j.a,Collapse:N.a})},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(5),f=n.n(p),d=n(0),h=n.n(d),m=n(7),v=n.n(m),y=n(8),b=n(244),g={collapsible:f.a.bool.isRequired},D={collapsible:!1},C={$bs_panel:f.a.shape({bsClass:f.a.string})},E=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.collapsible,a=this.context.$bs_panel||{},i=a.bsClass,u=Object(y.g)(this.props,["collapsible"]),s=u[0],l=u[1];s.bsClass=i||s.bsClass;var c=h.a.createElement("div",o()({},l,{className:v()(n,Object(y.e)(s,"body"))}),t);return r&&(c=h.a.createElement(b.a,null,c)),c},t}(h.a.Component);E.propTypes=g,E.defaultProps=D,E.contextTypes=C,t.a=Object(y.a)("panel",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(5),h=n.n(d),m=n(0),v=n.n(m),y=n(7),b=n.n(y),g=n(181),D=n.n(g),C=n(8),E={componentClass:D.a},_={componentClass:"div"},w={$bs_panel:h.a.shape({headingId:h.a.string,bsClass:h.a.string})},O=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.componentClass,a=i()(e,["children","className","componentClass"]),u=this.context.$bs_panel||{},s=u.headingId,l=u.bsClass,c=Object(C.f)(a),p=c[0],f=c[1];return p.bsClass=l||p.bsClass,s&&(f.role=f.role||"tab",f.id=s),v.a.createElement(r,o()({},f,{className:b()(n,Object(C.e)(p,"heading"))}),t)},t}(v.a.Component);O.propTypes=E,O.defaultProps=_,O.contextTypes=w,t.a=Object(C.a)("panel",O)},function(e,t,n){"use strict";function r(e){function t(t,n,r,o,a,i){var u=o||"<<anonymous>>",s=i||r;if(null==n[r])return t?new Error("Required "+a+" `"+s+"` was not specified in `"+u+"`."):null;for(var l=arguments.length,c=Array(l>6?l-6:0),p=6;p<l;p++)c[p-6]=arguments[p];return e.apply(void 0,[n,r,u,a,s].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(5),v=n.n(m),y=n(0),b=n.n(y),g=n(181),D=n.n(g),C=n(8),E=n(245),_={componentClass:D.a,toggle:v.a.bool},w={$bs_panel:v.a.shape({bsClass:v.a.string})},O={componentClass:"div"},x=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.toggle,a=e.componentClass,u=i()(e,["children","className","toggle","componentClass"]),s=this.context.$bs_panel||{},l=s.bsClass,c=Object(C.f)(u),p=c[0],f=c[1];return p.bsClass=l||p.bsClass,r&&(t=b.a.createElement(E.a,null,t)),b.a.createElement(a,o()({},f,{className:h()(n,Object(C.e)(p,"title"))}),t)},t}(b.a.Component);x.propTypes=_,x.defaultProps=O,x.contextTypes=w,t.a=Object(C.a)("panel",x)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(5),f=n.n(p),d=n(0),h=n.n(d),m=n(7),v=n.n(m),y=n(8),b={$bs_panel:f.a.shape({bsClass:f.a.string})},g=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=this.context.$bs_panel||{},a=r.bsClass,i=Object(y.f)(this.props),u=i[0],s=i[1];return u.bsClass=a||u.bsClass,h.a.createElement("div",o()({},s,{className:v()(n,Object(y.e)(u,"footer"))}),t)},t}(h.a.Component);g.contextTypes=b,t.a=Object(y.a)("panel",g)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(153),D=n.n(g),C=n(8),E={id:D()(b.a.oneOfType([b.a.string,b.a.number])),placement:b.a.oneOf(["top","right","bottom","left"]),positionTop:b.a.oneOfType([b.a.number,b.a.string]),positionLeft:b.a.oneOfType([b.a.number,b.a.string]),arrowOffsetTop:b.a.oneOfType([b.a.number,b.a.string]),arrowOffsetLeft:b.a.oneOfType([b.a.number,b.a.string]),title:b.a.node},_={placement:"right"},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.placement,r=t.positionTop,a=t.positionLeft,u=t.arrowOffsetTop,s=t.arrowOffsetLeft,l=t.title,c=t.className,p=t.style,f=t.children,d=i()(t,["placement","positionTop","positionLeft","arrowOffsetTop","arrowOffsetLeft","title","className","style","children"]),m=Object(C.f)(d),y=m[0],b=m[1],g=o()({},Object(C.d)(y),(e={},e[n]=!0,e)),D=o()({display:"block",top:r,left:a},p),E={top:u,left:s};return v.a.createElement("div",o()({},b,{role:"tooltip",className:h()(c,g),style:D}),v.a.createElement("div",{className:"arrow",style:E}),l&&v.a.createElement("h3",{className:Object(C.e)(y,"title")},l),v.a.createElement("div",{className:Object(C.e)(y,"content")},f))},t}(v.a.Component);w.propTypes=E,w.defaultProps=_;Object(C.a)("popover",w)},function(e,t,n){"use strict";function r(e,t,n){var r=e[t];if(!r)return null;var o=null;return D.a.Children.forEach(r,function(e){if(!o&&e.type!==S){var t=D.a.isValidElement(e)?e.type.displayName||e.type.name||e.type:e;o=new Error("Children of "+n+" can contain only ProgressBar components. Found "+t+".")}}),o}function o(e,t,n){var r=(e-t)/(n-t)*100;return Math.round(r*x)/x}var a=n(95),i=n.n(a),u=n(1),s=n.n(u),l=n(6),c=n.n(l),p=n(2),f=n.n(p),d=n(3),h=n.n(d),m=n(4),v=n.n(m),y=n(7),b=n.n(y),g=n(0),D=n.n(g),C=n(5),E=n.n(C),_=n(8),w=n(32),O=n(41),x=1e3,T={min:E.a.number,now:E.a.number,max:E.a.number,label:E.a.node,srOnly:E.a.bool,striped:E.a.bool,active:E.a.bool,children:r,isChild:E.a.bool},k={min:0,max:100,active:!1,isChild:!1,srOnly:!1,striped:!1},S=function(e){function t(){return f()(this,t),h()(this,e.apply(this,arguments))}return v()(t,e),t.prototype.renderProgressBar=function(e){var t,n=e.min,r=e.now,a=e.max,i=e.label,u=e.srOnly,l=e.striped,p=e.active,f=e.className,d=e.style,h=c()(e,["min","now","max","label","srOnly","striped","active","className","style"]),m=Object(_.f)(h),v=m[0],y=m[1],g=s()({},Object(_.d)(v),(t={active:p},t[Object(_.e)(v,"striped")]=p||l,t));return D.a.createElement("div",s()({},y,{role:"progressbar",className:b()(f,g),style:s()({width:o(r,n,a)+"%"},d),"aria-valuenow":r,"aria-valuemin":n,"aria-valuemax":a}),u?D.a.createElement("span",{className:"sr-only"},i):i)},t.prototype.render=function(){var e=this.props,t=e.isChild,n=c()(e,["isChild"]);if(t)return this.renderProgressBar(n);var r=n.min,o=n.now,a=n.max,i=n.label,u=n.srOnly,l=n.striped,p=n.active,f=n.bsClass,d=n.bsStyle,h=n.className,m=n.children,v=c()(n,["min","now","max","label","srOnly","striped","active","bsClass","bsStyle","className","children"]);return D.a.createElement("div",s()({},v,{className:b()(h,"progress")}),m?O.a.map(m,function(e){return Object(g.cloneElement)(e,{isChild:!0})}):this.renderProgressBar({min:r,now:o,max:a,label:i,srOnly:u,striped:l,active:p,bsClass:f,bsStyle:d}))},t}(D.a.Component);S.propTypes=T,S.defaultProps=k;Object(_.a)("progress-bar",Object(_.c)(i()(w.d),S))},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(44),D=(n.n(g),n(8)),C={inline:b.a.bool,disabled:b.a.bool,title:b.a.string,validationState:b.a.oneOf(["success","warning","error",null]),inputRef:b.a.func},E={inline:!1,disabled:!1,title:""},_=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.inline,n=e.disabled,r=e.validationState,a=e.inputRef,u=e.className,s=e.style,l=e.title,c=e.children,p=i()(e,["inline","disabled","validationState","inputRef","className","style","title","children"]),f=Object(D.f)(p),d=f[0],m=f[1],y=v.a.createElement("input",o()({},m,{ref:a,type:"radio",disabled:n}));if(t){var b,g=(b={},b[Object(D.e)(d,"inline")]=!0,b.disabled=n,b);return v.a.createElement("label",{className:h()(u,g),style:s,title:l},y,c)}var C=o()({},Object(D.d)(d),{disabled:n});return r&&(C["has-"+r]=!0),v.a.createElement("div",{className:h()(u,C),style:s},v.a.createElement("label",{title:l},y,c))},t}(v.a.Component);_.propTypes=C,_.defaultProps=E;Object(D.a)("radio",_)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(44),D=(n.n(g),n(8)),C={children:b.a.element.isRequired,a16by9:b.a.bool,a4by3:b.a.bool},E={a16by9:!1,a4by3:!1},_=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.a16by9,r=t.a4by3,a=t.className,u=t.children,s=i()(t,["a16by9","a4by3","className","children"]),l=Object(D.f)(s),c=l[0],p=l[1],f=o()({},Object(D.d)(c),(e={},e[Object(D.e)(c,"16by9")]=n,e[Object(D.e)(c,"4by3")]=r,e));return v.a.createElement("div",{className:h()(f)},Object(m.cloneElement)(u,o()({},p,{className:h()(a,Object(D.e)(c,"item"))})))},t}(v.a.Component);_.propTypes=C,_.defaultProps=E;Object(D.a)("embed-responsive",_)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(16),b=n.n(y),g=n(8),D={componentClass:b.a},C={componentClass:"div"},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.className,r=i()(e,["componentClass","className"]),a=Object(g.f)(r),u=a[0],s=a[1],l=Object(g.d)(u);return v.a.createElement(t,o()({},s,{className:h()(n,l)}))},t}(v.a.Component);E.propTypes=D,E.defaultProps=C;Object(g.a)("row",E)},function(e,t,n){"use strict";var r=n(6),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(1),f=n.n(p),d=n(0),h=n.n(d),m=n(5),v=n.n(m),y=n(136),b=n(152),g=n(451),D=n(154),C=f()({},b.a.propTypes,{bsStyle:v.a.string,bsSize:v.a.string,href:v.a.string,onClick:v.a.func,title:v.a.node.isRequired,toggleLabel:v.a.string,children:v.a.node}),E=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.bsSize,n=e.bsStyle,r=e.title,a=e.toggleLabel,i=e.children,u=o()(e,["bsSize","bsStyle","title","toggleLabel","children"]),s=Object(D.a)(u,b.a.ControlledComponent),l=s[0],c=s[1];return h.a.createElement(b.a,f()({},l,{bsSize:t,bsStyle:n}),h.a.createElement(y.a,f()({},c,{disabled:u.disabled,bsSize:t,bsStyle:n}),r),h.a.createElement(g.a,{"aria-label":a||r,bsSize:t,bsStyle:n}),h.a.createElement(b.a.Menu,null,i))},t}(h.a.Component);E.propTypes=C,E.Toggle=g.a},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(2),i=n.n(a),u=n(3),s=n.n(u),l=n(4),c=n.n(l),p=n(0),f=n.n(p),d=n(226),h=function(e){function t(){return i()(this,t),s()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){return f.a.createElement(d.a,o()({},this.props,{useAnchor:!1,noCaret:!1}))},t}(f.a.Component);h.defaultProps=d.a.defaultProps,t.a=h},function(e,t,n){"use strict";var r=n(2),o=n.n(r),a=n(3),i=n.n(a),u=n(4),s=n.n(u),l=n(1),c=n.n(l),p=n(0),f=n.n(p),d=n(5),h=n.n(d),m=n(182),v=n(183),y=n(246),b=c()({},y.a.propTypes,{disabled:h.a.bool,title:h.a.node,tabClassName:h.a.string}),g=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=c()({},this.props);return delete e.title,delete e.disabled,delete e.tabClassName,f.a.createElement(y.a,e)},t}(f.a.Component);g.propTypes=b,g.Container=m.a,g.Content=v.a,g.Pane=y.a},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(8),D={striped:b.a.bool,bordered:b.a.bool,condensed:b.a.bool,hover:b.a.bool,responsive:b.a.bool},C={bordered:!1,condensed:!1,hover:!1,responsive:!1,striped:!1},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.striped,r=t.bordered,a=t.condensed,u=t.hover,s=t.responsive,l=t.className,c=i()(t,["striped","bordered","condensed","hover","responsive","className"]),p=Object(g.f)(c),f=p[0],d=p[1],m=o()({},Object(g.d)(f),(e={},e[Object(g.e)(f,"striped")]=n,e[Object(g.e)(f,"bordered")]=r,e[Object(g.e)(f,"condensed")]=a,e[Object(g.e)(f,"hover")]=u,e)),y=v.a.createElement("table",o()({},d,{className:h()(l,m)}));return s?v.a.createElement("div",{className:Object(g.e)(f,"responsive")},y):y},t}(v.a.Component);E.propTypes=D,E.defaultProps=C;Object(g.a)("table",E)},function(e,t,n){"use strict";function r(e){var t=void 0;return T.a.forEach(e,function(e){null==t&&(t=e.props.eventKey)}),t}var o=n(1),a=n.n(o),i=n(6),u=n.n(i),s=n(2),l=n.n(s),c=n(3),p=n.n(c),f=n(4),d=n.n(f),h=n(0),m=n.n(h),v=n(5),y=n.n(v),b=n(153),g=n.n(b),D=n(83),C=n.n(D),E=n(237),_=n(239),w=n(182),O=n(183),x=n(8),T=n(41),k=w.a.ControlledComponent,S={activeKey:y.a.any,bsStyle:y.a.oneOf(["tabs","pills"]),animation:y.a.bool,id:g()(y.a.oneOfType([y.a.string,y.a.number])),onSelect:y.a.func,mountOnEnter:y.a.bool,unmountOnExit:y.a.bool},j={bsStyle:"tabs",animation:!0,mountOnEnter:!1,unmountOnExit:!1},N=function(e){function t(){return l()(this,t),p()(this,e.apply(this,arguments))}return d()(t,e),t.prototype.renderTab=function(e){var t=e.props,n=t.title,r=t.eventKey,o=t.disabled,a=t.tabClassName;return null==n?null:m.a.createElement(_.a,{eventKey:r,disabled:o,className:a},n)},t.prototype.render=function(){var e=this.props,t=e.id,n=e.onSelect,o=e.animation,i=e.mountOnEnter,s=e.unmountOnExit,l=e.bsClass,c=e.className,p=e.style,f=e.children,d=e.activeKey,h=void 0===d?r(f):d,v=u()(e,["id","onSelect","animation","mountOnEnter","unmountOnExit","bsClass","className","style","children","activeKey"]);return m.a.createElement(k,{id:t,activeKey:h,onSelect:n,className:c,style:p},m.a.createElement("div",null,m.a.createElement(E.a,a()({},v,{role:"tablist"}),T.a.map(f,this.renderTab)),m.a.createElement(O.a,{bsClass:l,animation:o,mountOnEnter:i,unmountOnExit:s},f)))},t}(m.a.Component);N.propTypes=S,N.defaultProps=j,Object(x.a)("tab",N);C()(N,{activeKey:"onSelect"})},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(61),D=n(8),C={src:b.a.string,alt:b.a.string,href:b.a.string,onError:b.a.func,onLoad:b.a.func},E=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.src,n=e.alt,r=e.onError,a=e.onLoad,u=e.className,s=e.children,l=i()(e,["src","alt","onError","onLoad","className","children"]),c=Object(D.f)(l),p=c[0],f=c[1],d=f.href?g.a:"div",m=Object(D.d)(p);return v.a.createElement(d,o()({},f,{className:h()(u,m)}),v.a.createElement("img",{src:t,alt:n,onError:r,onLoad:a}),s&&v.a.createElement("div",{className:"caption"},s))},t}(v.a.Component);E.propTypes=C;Object(D.a)("thumbnail",E)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(5),h=n.n(d),m=n(0),v=n.n(m),y=n(85),b=n.n(y),g=n(83),D=n.n(g),C=n(26),E=n(41),_=n(174),w=n(247),O={name:h.a.string,value:h.a.any,onChange:h.a.func,type:h.a.oneOf(["checkbox","radio"]).isRequired},x={type:"radio"},T=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.getValues=function(){var e=this.props.value;return null==e?[]:[].concat(e)},t.prototype.handleToggle=function(e){var t=this.props,n=t.type,r=t.onChange,o=this.getValues(),a=-1!==o.indexOf(e);if("radio"===n)return void(a||r(e));r(a?o.filter(function(t){return t!==e}):[].concat(o,[e]))},t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.type,a=t.name,u=i()(t,["children","type","name"]),s=this.getValues();return"radio"!==r||a||b()(!1),delete u.onChange,delete u.value,v.a.createElement(_.a,o()({},u,{"data-toggle":"buttons"}),E.a.map(n,function(t){var n=t.props,o=n.value,i=n.onChange,u=function(){return e.handleToggle(o)};return v.a.cloneElement(t,{type:r,name:t.name||a,checked:-1!==s.indexOf(o),onChange:Object(C.a)(i,u)})}))},t}(v.a.Component);T.propTypes=O,T.defaultProps=x;var k=D()(T,{value:"onChange"});k.Button=w.a},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(5),b=n.n(y),g=n(153),D=n.n(g),C=n(8),E={id:D()(b.a.oneOfType([b.a.string,b.a.number])),placement:b.a.oneOf(["top","right","bottom","left"]),positionTop:b.a.oneOfType([b.a.number,b.a.string]),positionLeft:b.a.oneOfType([b.a.number,b.a.string]),arrowOffsetTop:b.a.oneOfType([b.a.number,b.a.string]),arrowOffsetLeft:b.a.oneOfType([b.a.number,b.a.string])},_={placement:"right"},w=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e,t=this.props,n=t.placement,r=t.positionTop,a=t.positionLeft,u=t.arrowOffsetTop,s=t.arrowOffsetLeft,l=t.className,c=t.style,p=t.children,f=i()(t,["placement","positionTop","positionLeft","arrowOffsetTop","arrowOffsetLeft","className","style","children"]),d=Object(C.f)(f),m=d[0],y=d[1],b=o()({},Object(C.d)(m),(e={},e[n]=!0,e)),g=o()({top:r,left:a},c),D={top:u,left:s};return v.a.createElement("div",o()({},y,{role:"tooltip",className:h()(l,b),style:g}),v.a.createElement("div",{className:Object(C.e)(m,"arrow"),style:D}),v.a.createElement("div",{className:Object(C.e)(m,"inner")},p))},t}(v.a.Component);w.propTypes=E,w.defaultProps=_;Object(C.a)("tooltip",w)},function(e,t,n){"use strict";var r=n(1),o=n.n(r),a=n(6),i=n.n(a),u=n(2),s=n.n(u),l=n(3),c=n.n(l),p=n(4),f=n.n(p),d=n(7),h=n.n(d),m=n(0),v=n.n(m),y=n(8),b=n(32),g=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=i()(e,["className"]),r=Object(y.f)(n),a=r[0],u=r[1],s=Object(y.d)(a);return v.a.createElement("div",o()({},u,{className:h()(t,s)}))},t}(v.a.Component);Object(y.a)("well",Object(y.b)([b.c.LARGE,b.c.SMALL],g))},function(e,t,n){"use strict";n(8),n(26),n(41)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(160),o=n.n(r),a=n(0),i=(n.n(a),n(5)),u=n.n(i),s=n(461),l=function(e){return wp.element.createElement("div",null,o()(e.fields).map(function(t){var n=e.fields[t];if(n&&n.hasOwnProperty("ID")){var r="caldera-forms-privacy-field-settings-"+n.ID;return wp.element.createElement(s.a,{id:r,key:r,field:n,formId:e.formId,privacySettings:e.privacySettings,onCheckIsEmail:e.onCheckIsEmail,onCheckIsPii:e.onCheckIsPii})}wp.element.createElement("p",null,"Invalid Field")}))};l.propTypes={fields:u.a.object.isRequired,formId:u.a.string.isRequired,privacySettings:u.a.object.isRequired,onCheckIsEmail:u.a.func.isRequired,onCheckIsPii:u.a.func.isRequired}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n(5)),a=n.n(o),i=(n(94),n(462)),u=n(463),s=function(e){return wp.element.createElement("section",{style:{backgroundColor:"#fff",margin:"1em"},className:"row"},wp.element.createElement("h4",{style:{margin:0,padding:".7em 1em",borderBottom:"1px solid #eee"}},e.field.name),wp.element.createElement("div",{className:"col-xs-6",style:{padding:"12px"}},wp.element.createElement(u.a,{field:e.field,privacySettings:e.privacySettings,onCheck:e.onCheckIsPii})),wp.element.createElement("div",{className:"col-xs-6",style:{padding:"12px"}},wp.element.createElement(i.a,{className:"col-xs-6",field:e.field,privacySettings:e.privacySettings,onCheck:e.onCheckIsEmail})))};s.propTypes={field:a.a.object.isRequired,formId:a.a.string.isRequired,privacySettings:a.a.object.isRequired,onCheckIsEmail:a.a.func.isRequired,onCheckIsPii:a.a.func.isRequired}},function(e,t,n){"use strict";function r(e,t){return t.emailIdentifyingFields.length&&t.emailIdentifyingFields.includes(e.ID)}n.d(t,"a",function(){return s});var o=n(0),a=(n.n(o),n(5)),i=n.n(a),u=n(94),s=function(e){var t="caldera-forms-privacy-gdpr-is-email-identifiying-"+e.field.ID;return"email"===e.field.type||"text"===e.field.text?wp.element.createElement(u.d,null,wp.element.createElement(u.c,{htmlFor:t},"Email Identifying Field?"),wp.element.createElement(u.b,{id:t,onChange:function(){e.onCheck(e.field.ID)},checked:r(e.field,e.privacySettings)},wp.element.createElement("span",{style:{marginLeft:"12px"}},"Yes")),wp.element.createElement(u.e,{className:"screen-reader-text"},"Can this field be used to determine whose data an entry belongs to?")):wp.element.createElement("div",{id:t},"Not an email or text field")};s.propTypes={field:i.a.object.isRequired,privacySettings:i.a.object.isRequired,onCheck:i.a.func.isRequired}},function(e,t,n){"use strict";function r(e,t){return t.piiFields.length&&t.piiFields.includes(e.ID)}n.d(t,"a",function(){return s});var o=n(0),a=(n.n(o),n(5)),i=n.n(a),u=n(94),s=function(e){var t="caldera-forms-privacy-gdpr-is-pii-field-"+e.field.ID;return wp.element.createElement(u.d,null,wp.element.createElement(u.c,{htmlFor:t},"Personally Identifying Field?"),wp.element.createElement(u.b,{id:t,onChange:function(){e.onCheck(e.field.ID)},checked:r(e.field,e.privacySettings)},wp.element.createElement("span",{style:{marginLeft:"12px"}},"Yes")),wp.element.createElement(u.e,{className:"screen-reader-text"},"Does field contain personally identifying data?"))};s.propTypes={field:i.a.object.isRequired,privacySettings:i.a.object.isRequired,onCheck:i.a.func.isRequired}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n(5)),a=n.n(o),i=n(465),u=(n.n(i),n(94)),s=function(e){return wp.element.createElement("div",{style:{backgroundColor:"#fff"},className:"col-xs-4"},wp.element.createElement("p",{style:{margin:0,padding:".7em 1em",borderBottom:"1px solid #eee"}},e.saveButton),wp.element.createElement("h3",null,wp.element.createElement(i.Twemoji,{text:":volcano: FAQ"})),wp.element.createElement(u.f,{style:{padding:"12px"}},wp.element.createElement(u.g,null,wp.element.createElement(i.Twemoji,{text:":eyes:"}),"Email Identifying Fields: The field(s) of your form that can be used to determine whose data an entry belongs to."),wp.element.createElement(u.g,null,wp.element.createElement(i.Twemoji,{text:":eyes:"}),"Personally Identifying Fields (PII): The field(s) of your form that contain PII about the person identified in the email identifying field.")),wp.element.createElement("h3",null,wp.element.createElement(i.Twemoji,{text:":volcano: Documentation"})),wp.element.createElement(u.f,{style:{padding:"12px"}},wp.element.createElement(u.g,null,wp.element.createElement(i.Twemoji,{text:":eyes:"}),wp.element.createElement("a",{href:"https://calderaforms.com/doc/setting-caldera-forms-gdpr-data-requests/?utm_source=wp-admin&utm_campaign=privacy-settings"},"Setting Up Caldera Forms For GDPR Requests")),wp.element.createElement(u.g,null,wp.element.createElement(i.Twemoji,{text:":eyes:"}),wp.element.createElement("a",{href:"https://calderaforms.com/gdpr/?utm_source=wp-admin&utm_campaign=privacy-settings"},"All Caldera Forms GDPR Compliance Tools"))))};s.propTypes={saveButton:a.a.object.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){var t=e.svg,n=e.options,r=o(e,["svg","options"]),a=t?"":"72x72",i=t?"svg":"png";return n=u({protocol:h,baseUrl:"//twemoji.maxcdn.com/2/"+(t?"svg/":""),size:a,ext:i},n),c.default.createElement(d.default,u({options:n},r))}function i(e){var t=e.svg,n=e.options,r=o(e,["svg","options"]),a=t?"svg":"png";return n=u({protocol:h,baseUrl:"//cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/"+a+"/",size:"",ext:a},n),c.default.createElement(d.default,u({options:n},r))}Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(466);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return s.toArray}}),t.Twemoji=a,t.Emojione=i;var l=n(0),c=r(l),p=n(5),f=r(p),d=r(s),h="http";"undefined"!=typeof location&&"https:"===location.protocol&&(h="https"),t.default=d.default,a.propTypes={text:f.default.string,options:f.default.object,svg:f.default.bool},i.propTypes={text:f.default.string,options:f.default.object,svg:f.default.bool}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){function t(e,t){if(!o.baseUrl)return c.default.createElement("span",{key:t,style:P,className:o.className},e);var n=o.size?"/":"",r=(0,w.default)(e),i=""+a+o.baseUrl+o.size+n+r+"."+o.ext;return c.default.createElement("img",s({key:t,alt:e,src:i,style:P,className:o.className},o.props))}function n(){for(var e=Object.keys(k.default),t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o in e){var a=e[o];if(k.default[a].includes(n[2]))return n[1]+":"+a+":"+n[3]}return n}function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.default[t[1]]||t[0]}var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(0,E.default)(o.protocol);return(0,v.default)(e.replace(S,n).replace(N,r),j,t)}function u(e){var t=e.text,n=e.onlyEmojiClassName,r=e.options,u=void 0===r?{}:r,l=e.className,p=a(e,["text","onlyEmojiClassName","options","className"]),f=i(t,u),d=(0,h.default)(l,o({},n,function(e){if(e.length>3)return!1;for(var t=0;t<e.length;t++)if("string"==typeof e[t])return!1;return!0}(f)));return c.default.createElement("span",s({},p,{className:d}),f)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.toArray=i,t.default=u;var l=n(0),c=r(l),p=n(5),f=r(p),d=n(7),h=r(d),m=n(467),v=r(m),y=n(469),b=r(y),g=n(470),D=r(g),C=n(471),E=r(C),_=n(472),w=r(_),O=n(473),x=r(O),T=n(249),k=r(T),S=(0,D.default)(),j=(0,b.default)(),N=/:([\w\-\_\+]+):/g,P={width:"1em",height:"1em",margin:"0 .05em 0 .1em",verticalAlign:"-0.1em"};u.propTypes={text:f.default.string,props:f.default.object,onlyEmojiClassName:f.default.string,options:f.default.shape({baseUrl:f.default.string,size:f.default.string,ext:f.default.string,className:f.default.string})}},function(e,t,n){function r(e,t,n){return i("string"==typeof e,"First param must be a string"),i("string"==typeof t||t instanceof RegExp,"Second param must be a string pattern or a regular expression"),("string"==typeof t?o:a)(e,t,n)}function o(e,t,n){var r=e.indexOf(t);if(r>=0){var o=[],a=r+t.length;return r>0&&o.push(e.substring(0,r)),o.push("function"==typeof n?n(e.substring(r,a),r,e):n),a<e.length&&o.push(e.substring(a)),o}return[e]}function a(e,t,n){var r=[],o="function"==typeof n,a=t.lastIndex;t.lastIndex=0;for(var i,u=0;i=t.exec(e);){var s=i.index;""===i[0]&&t.lastIndex++,s!==u&&r.push(e.substring(u,s));u=s+i[0].length;var l=o?n.apply(this,i.concat(s,i.input)):n;if(r.push(l),!t.global)break}return u<e.length&&r.push(e.substring(u)),t.lastIndex=a,r}var i=n(85),u=n(468),s=n(248);e.exports=function(e,t,n){if(u(e))return r(e,t,n);if(Array.isArray(e)&&e[0])return s(e.map(function(e){return u(e)?r(e,t,n):e}));throw new TypeError("First argument must be an array or non-empty string")}},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e){return"string"==typeof e||!u(e)&&n(e)&&i.call(e)==o}var o="[object String]",a=Object.prototype,i=a.toString,u=Array.isArray;e.exports=r},function(e,t,n){"use strict";e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]\uFE0F|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F/g}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new RegExp("(^|\\s)("+l+")(\\s|$)","g")};var a=n(249),i=r(a),u=n(248),s=r(u),l=(0,s.default)(Object.keys(i.default).map(function(e){return i.default[e].map(function(e){return o(e)})})).join("|")},function(e,t,n){"use strict";function r(e){return e&&!e.endsWith(":")?e+":":e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done);r=!0){var s=i.value;n.push(s.codePointAt(0).toString(16))}}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n.join(t)}function o(e){return r(e.indexOf(i)<0?e.replace(a,""):e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=/\uFE0F/g,i=String.fromCharCode(8205)},function(e,t){e.exports={"skin-tone-2":"🏻","skin-tone-3":"🏿","skin-tone-4":"🏽","skin-tone-5":"🏾","skin-tone-6":"🏿",100:"💯",1234:"🔢",smile:"😄",smiley:"😃",grinning:"😀",slightly_smiling_face:"🙂",blush:"😊",relaxed:"☺️",wink:"😉",heart_eyes:"😍",kissing_heart:"😘",kissing_closed_eyes:"😚",kissing:"😗",kissing_smiling_eyes:"😙",stuck_out_tongue_winking_eye:"😜",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue:"😛",flushed:"😳",grin:"😁",pensive:"😔",relieved:"😌",unamused:"😒",disappointed:"😞",persevere:"😣",cry:"😢",joy:"😂",sob:"😭",sleepy:"😪",disappointed_relieved:"😥",cold_sweat:"😰",sweat_smile:"😅",sweat:"😓",weary:"😩",tired_face:"😫",fearful:"😨",scream:"😱",angry:"😠",rage:"😡",pout:"😡",triumph:"😤",confounded:"😖",laughing:"😆",satisfied:"😆",yum:"😋",mask:"😷",sunglasses:"😎",sleeping:"😴",dizzy_face:"😵",astonished:"😲",worried:"😟",frowning:"😦",anguished:"😧",smiling_imp:"😈",imp:"👿",open_mouth:"😮",grimacing:"😬",neutral_face:"😐",confused:"😕",hushed:"😯",no_mouth:"😶",innocent:"😇",smirk:"😏",expressionless:"😑",man_with_gua_pi_mao:"👲",man_with_turban:"👳",cop:"👮",construction_worker:"👷",guardsman:"💂",baby:"👶",boy:"👦",girl:"👧",man:"👨",woman:"👩",older_man:"👴",older_woman:"👵",person_with_blond_hair:"👱",angel:"👼",princess:"👸",smiley_cat:"😺",smile_cat:"😸",heart_eyes_cat:"😻",kissing_cat:"😽",smirk_cat:"😼",scream_cat:"🙀",crying_cat_face:"😿",joy_cat:"😹",pouting_cat:"😾",japanese_ogre:"👹",japanese_goblin:"👺",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",skull:"💀",alien:"👽",hankey:"💩",poop:"💩",shit:"💩",fire:"🔥",sparkles:"✨",star2:"🌟",dizzy:"💫",boom:"💥",collision:"💥",anger:"💢",sweat_drops:"💦",droplet:"💧",zzz:"💤",dash:"💨",ear:"👂",eyes:"👀",nose:"👃",tongue:"👅",lips:"👄","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",ok_hand:"👌",facepunch:"👊",punch:"👊",fist:"✊",v:"✌️",wave:"👋",hand:"✋",raised_hand:"✋",open_hands:"👐",point_up_2:"👆",point_down:"👇",point_right:"👉",point_left:"👈",raised_hands:"🙌",pray:"🙏",point_up:"☝️",clap:"👏",muscle:"💪",walking:"🚶",runner:"🏃",running:"🏃",dancer:"💃",couple:"👫",family:"👪",two_men_holding_hands:"👬",two_women_holding_hands:"👭",couplekiss:"💏",couple_with_heart:"💑",dancers:"👯",ok_woman:"🙆",no_good:"🙅",ng_woman:"🙅",information_desk_person:"💁",raising_hand:"🙋",massage:"💆",haircut:"💇",nail_care:"💅",bride_with_veil:"👰",person_with_pouting_face:"🙎",person_frowning:"🙍",bow:"🙇",tophat:"🎩",crown:"👑",womans_hat:"👒",athletic_shoe:"👟",mans_shoe:"👞",shoe:"👞",sandal:"👡",high_heel:"👠",boot:"👢",shirt:"👕",tshirt:"👕",necktie:"👔",womans_clothes:"👚",dress:"👗",running_shirt_with_sash:"🎽",jeans:"👖",kimono:"👘",bikini:"👙",briefcase:"💼",handbag:"👜",pouch:"👝",purse:"👛",eyeglasses:"👓",ribbon:"🎀",closed_umbrella:"🌂",lipstick:"💄",yellow_heart:"💛",blue_heart:"💙",purple_heart:"💜",green_heart:"💚",heart:"❤️",broken_heart:"💔",heartpulse:"💗",heartbeat:"💓",two_hearts:"💕",sparkling_heart:"💖",revolving_hearts:"💞",cupid:"💘",love_letter:"💌",kiss:"💋",ring:"💍",gem:"💎",bust_in_silhouette:"👤",busts_in_silhouette:"👥",speech_balloon:"💬",footprints:"👣",thought_balloon:"💭",dog:"🐶",wolf:"🐺",cat:"🐱",mouse:"🐭",hamster:"🐹",rabbit:"🐰",frog:"🐸",tiger:"🐯",koala:"🐨",bear:"🐻",pig:"🐷",pig_nose:"🐽",cow:"🐮",boar:"🐗",monkey_face:"🐵",monkey:"🐒",horse:"🐴",sheep:"🐑",elephant:"🐘",panda_face:"🐼",penguin:"🐧",bird:"🐦",baby_chick:"🐤",hatched_chick:"🐥",hatching_chick:"🐣",chicken:"🐔",snake:"🐍",turtle:"🐢",bug:"🐛",bee:"🐝",honeybee:"🐝",ant:"🐜",beetle:"🐞",snail:"🐌",octopus:"🐙",shell:"🐚",tropical_fish:"🐠",fish:"🐟",dolphin:"🐬",flipper:"🐬",whale:"🐳",whale2:"🐋",cow2:"🐄",ram:"🐏",rat:"🐀",water_buffalo:"🐃",tiger2:"🐅",rabbit2:"🐇",dragon:"🐉",racehorse:"🐎",goat:"🐐",rooster:"🐓",dog2:"🐕",pig2:"🐖",mouse2:"🐁",ox:"🐂",dragon_face:"🐲",blowfish:"🐡",crocodile:"🐊",camel:"🐫",dromedary_camel:"🐪",leopard:"🐆",cat2:"🐈",poodle:"🐩",feet:"🐾",paw_prints:"🐾",bouquet:"💐",cherry_blossom:"🌸",tulip:"🌷",four_leaf_clover:"🍀",rose:"🌹",sunflower:"🌻",hibiscus:"🌺",maple_leaf:"🍁",leaves:"🍃",fallen_leaf:"🍂",herb:"🌿",ear_of_rice:"🌾",mushroom:"🍄",cactus:"🌵",palm_tree:"🌴",evergreen_tree:"🌲",deciduous_tree:"🌳",chestnut:"🌰",seedling:"🌱",blossom:"🌼",globe_with_meridians:"🌐",sun_with_face:"🌞",full_moon_with_face:"🌝",new_moon_with_face:"🌚",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",last_quarter_moon_with_face:"🌜",first_quarter_moon_with_face:"🌛",crescent_moon:"🌙",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",volcano:"🌋",milky_way:"🌌",stars:"🌠",star:"⭐",sunny:"☀️",partly_sunny:"⛅",cloud:"☁️",zap:"⚡",umbrella:"☔",snowflake:"❄️",snowman:"⛄",cyclone:"🌀",foggy:"🌁",rainbow:"🌈",ocean:"🌊",bamboo:"🎍",gift_heart:"💝",dolls:"🎎",school_satchel:"🎒",mortar_board:"🎓",flags:"🎏",fireworks:"🎆",sparkler:"🎇",wind_chime:"🎐",rice_scene:"🎑",jack_o_lantern:"🎃",ghost:"👻",santa:"🎅",christmas_tree:"🎄",gift:"🎁",tanabata_tree:"🎋",tada:"🎉",confetti_ball:"🎊",balloon:"🎈",crossed_flags:"🎌",crystal_ball:"🔮",movie_camera:"🎥",camera:"📷",video_camera:"📹",vhs:"📼",cd:"💿",dvd:"📀",minidisc:"💽",floppy_disk:"💾",computer:"💻",iphone:"📱",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",satellite:"📡",tv:"📺",radio:"📻",loud_sound:"🔊",sound:"🔉",speaker:"🔈",mute:"🔇",bell:"🔔",no_bell:"🔕",loudspeaker:"📢",mega:"📣",hourglass_flowing_sand:"⏳",hourglass:"⌛",alarm_clock:"⏰",watch:"⌚",unlock:"🔓",lock:"🔒",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",mag_right:"🔎",bulb:"💡",flashlight:"🔦",high_brightness:"🔆",low_brightness:"🔅",electric_plug:"🔌",battery:"🔋",mag:"🔍",bathtub:"🛁",bath:"🛀",shower:"🚿",toilet:"🚽",wrench:"🔧",nut_and_bolt:"🔩",hammer:"🔨",door:"🚪",smoking:"🚬",bomb:"💣",gun:"🔫",hocho:"🔪",knife:"🔪",pill:"💊",syringe:"💉",moneybag:"💰",yen:"💴",dollar:"💵",pound:"💷",euro:"💶",credit_card:"💳",money_with_wings:"💸",calling:"📲","e-mail":"📧",inbox_tray:"📥",outbox_tray:"📤",email:"✉️",envelope:"✉️",envelope_with_arrow:"📩",incoming_envelope:"📨",postal_horn:"📯",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",package:"📦",memo:"📝",pencil:"📝",page_facing_up:"📄",page_with_curl:"📃",bookmark_tabs:"📑",bar_chart:"📊",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",scroll:"📜",clipboard:"📋",date:"📅",calendar:"📆",card_index:"📇",file_folder:"📁",open_file_folder:"📂",scissors:"✂️",pushpin:"📌",paperclip:"📎",black_nib:"✒️",pencil2:"✏️",straight_ruler:"📏",triangular_ruler:"📐",closed_book:"📕",green_book:"📗",blue_book:"📘",orange_book:"📙",notebook:"📓",notebook_with_decorative_cover:"📔",ledger:"📒",books:"📚",book:"📖",open_book:"📖",bookmark:"🔖",name_badge:"📛",microscope:"🔬",telescope:"🔭",newspaper:"📰",art:"🎨",clapper:"🎬",microphone:"🎤",headphones:"🎧",musical_score:"🎼",musical_note:"🎵",notes:"🎶",musical_keyboard:"🎹",violin:"🎻",trumpet:"🎺",saxophone:"🎷",guitar:"🎸",space_invader:"👾",video_game:"🎮",black_joker:"🃏",flower_playing_cards:"🎴",mahjong:"🀄",game_die:"🎲",dart:"🎯",football:"🏈",basketball:"🏀",soccer:"⚽",baseball:"⚾️",tennis:"🎾","8ball":"🎱",rugby_football:"🏉",bowling:"🎳",golf:"⛳",mountain_bicyclist:"🚵",bicyclist:"🚴",checkered_flag:"🏁",horse_racing:"🏇",trophy:"🏆",ski:"🎿",snowboarder:"🏂",swimmer:"🏊",surfer:"🏄",fishing_pole_and_fish:"🎣",coffee:"☕",tea:"🍵",sake:"🍶",baby_bottle:"🍼",beer:"🍺",beers:"🍻",cocktail:"🍸",tropical_drink:"🍹",wine_glass:"🍷",fork_and_knife:"🍴",pizza:"🍕",hamburger:"🍔",fries:"🍟",poultry_leg:"🍗",meat_on_bone:"🍖",spaghetti:"🍝",curry:"🍛",fried_shrimp:"🍤",bento:"🍱",sushi:"🍣",fish_cake:"🍥",rice_ball:"🍙",rice_cracker:"🍘",rice:"🍚",ramen:"🍜",stew:"🍲",oden:"🍢",dango:"🍡",egg:"🍳",bread:"🍞",doughnut:"🍩",custard:"🍮",icecream:"🍦",ice_cream:"🍨",shaved_ice:"🍧",birthday:"🎂",cake:"🍰",cookie:"🍪",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",honey_pot:"🍯",apple:"🍎",green_apple:"🍏",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",cherries:"🍒",grapes:"🍇",watermelon:"🍉",strawberry:"🍓",peach:"🍑",melon:"🍈",banana:"🍌",pear:"🍐",pineapple:"🍍",sweet_potato:"🍠",eggplant:"🍆",tomato:"🍅",corn:"🌽",house:"🏠",house_with_garden:"🏡",school:"🏫",office:"🏢",post_office:"🏣",hospital:"🏥",bank:"🏦",convenience_store:"🏪",love_hotel:"🏩",hotel:"🏨",wedding:"💒",church:"⛪",department_store:"🏬",european_post_office:"🏤",city_sunrise:"🌇",city_sunset:"🌆",japanese_castle:"🏯",european_castle:"🏰",tent:"⛺",factory:"🏭",tokyo_tower:"🗼",japan:"🗾",mount_fuji:"🗻",sunrise_over_mountains:"🌄",sunrise:"🌅",night_with_stars:"🌃",statue_of_liberty:"🗽",bridge_at_night:"🌉",carousel_horse:"🎠",ferris_wheel:"🎡",fountain:"⛲",roller_coaster:"🎢",ship:"🚢",boat:"⛵",sailboat:"⛵",speedboat:"🚤",rowboat:"🚣",anchor:"⚓",rocket:"🚀",airplane:"✈️",seat:"💺",helicopter:"🚁",steam_locomotive:"🚂",tram:"🚊",station:"🚉",mountain_railway:"🚞",train2:"🚆",bullettrain_side:"🚄",bullettrain_front:"🚅",light_rail:"🚈",metro:"🚇",monorail:"🚝",train:"🚋",railway_car:"🚃",trolleybus:"🚎",bus:"🚌",oncoming_bus:"🚍",blue_car:"🚙",oncoming_automobile:"🚘",car:"🚗",red_car:"🚗",taxi:"🚕",oncoming_taxi:"🚖",articulated_lorry:"🚛",truck:"🚚",rotating_light:"🚨",police_car:"🚓",oncoming_police_car:"🚔",fire_engine:"🚒",ambulance:"🚑",minibus:"🚐",bike:"🚲",aerial_tramway:"🚡",suspension_railway:"🚟",mountain_cableway:"🚠",tractor:"🚜",barber:"💈",busstop:"🚏",ticket:"🎫",vertical_traffic_light:"🚦",traffic_light:"🚥",warning:"⚠️",construction:"🚧",beginner:"🔰",fuelpump:"⛽",izakaya_lantern:"🏮",lantern:"🏮",slot_machine:"🎰",hotsprings:"♨️",moyai:"🗿",circus_tent:"🎪",performing_arts:"🎭",round_pushpin:"📍",triangular_flag_on_post:"🚩",jp:"🇯🇵",kr:"🇰🇷",de:"🇩🇪",cn:"🇨🇳",us:"🇺🇸",fr:"🇫🇷",es:"🇪🇸",it:"🇮🇹",ru:"🇷🇺",gb:"🇬🇧",uk:"🇬🇧",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",zero:"0️⃣",keycap_ten:"🔟",hash:"#️⃣",symbols:"🔣",arrow_up:"⬆️",arrow_down:"⬇️",arrow_left:"⬅️",arrow_right:"➡️",capital_abcd:"🔠",abcd:"🔡",abc:"🔤",arrow_upper_right:"↗️",arrow_upper_left:"↖️",arrow_lower_right:"↘️",arrow_lower_left:"↙️",left_right_arrow:"↔️",arrow_up_down:"↕️",arrows_counterclockwise:"🔄",arrow_backward:"◀️",arrow_forward:"▶️",arrow_up_small:"🔼",arrow_down_small:"🔽",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",information_source:"ℹ️",rewind:"⏪",fast_forward:"⏩",arrow_double_up:"⏫",arrow_double_down:"⏬",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",ok:"🆗",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",new:"🆕",up:"🆙",cool:"🆒",free:"🆓",ng:"🆖",signal_strength:"📶",cinema:"🎦",koko:"🈁",u6307:"🈯",u7a7a:"🈳",u6e80:"🈵",u5408:"🈴",u7981:"🈲",ideograph_advantage:"🉐",u5272:"🈹",u55b6:"🈺",u6709:"🈶",u7121:"🈚",restroom:"🚻",mens:"🚹",womens:"🚺",baby_symbol:"🚼",wc:"🚾",potable_water:"🚰",put_litter_in_its_place:"🚮",parking:"🅿️",wheelchair:"♿",no_smoking:"🚭",u6708:"🈷️",u7533:"🈸",sa:"🈂️",m:"Ⓜ️",passport_control:"🛂",baggage_claim:"🛄",left_luggage:"🛅",customs:"🛃",accept:"🉑",secret:"㊙️",congratulations:"㊗️",cl:"🆑",sos:"🆘",id:"🆔",no_entry_sign:"🚫",underage:"🔞",no_mobile_phones:"📵",do_not_litter:"🚯","non-potable_water":"🚱",no_bicycles:"🚳",no_pedestrians:"🚷",children_crossing:"🚸",no_entry:"⛔",eight_spoked_asterisk:"✳️",sparkle:"❇️",negative_squared_cross_mark:"❎",white_check_mark:"✅",eight_pointed_black_star:"✴️",heart_decoration:"💟",vs:"🆚",vibration_mode:"📳",mobile_phone_off:"📴",a:"🅰️",b:"🅱️",ab:"🆎",o2:"🅾️",diamond_shape_with_a_dot_inside:"💠",loop:"➿",recycle:"♻️",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",six_pointed_star:"🔯",atm:"🏧",chart:"💹",heavy_dollar_sign:"💲",currency_exchange:"💱",copyright:"©️",registered:"®️",tm:"™️",x:"❌",bangbang:"‼️",interrobang:"⁉️",exclamation:"❗",heavy_exclamation_mark:"❗",question:"❓",grey_exclamation:"❕",grey_question:"❔",o:"⭕",top:"🔝",end:"🔚",back:"🔙",on:"🔛",soon:"🔜",arrows_clockwise:"🔃",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock7:"🕖",clock8:"🕗",clock9:"🕘",clock10:"🕙",clock11:"🕚",clock630:"🕡",clock730:"🕢",clock830:"🕣",clock930:"🕤",clock1030:"🕥",clock1130:"🕦",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",spades:"♠️",hearts:"♥️",clubs:"♣️",diamonds:"♦️",white_flower:"💮",heavy_check_mark:"✔️",ballot_box_with_check:"☑️",radio_button:"🔘",link:"🔗",curly_loop:"➰",wavy_dash:"〰️",part_alternation_mark:"〽️",trident:"🔱",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",small_red_triangle:"🔺",black_square_button:"🔲",white_square_button:"🔳",black_circle:"⚫",white_circle:"⚪",red_circle:"🔴",large_blue_circle:"🔵",small_red_triangle_down:"🔻",white_large_square:"⬜",black_large_square:"⬛",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹"}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(160),o=n.n(r),a=n(0),i=(n.n(a),n(5)),u=n.n(i),s=n(94),l=function(e){var t=e.idAttr?e.idAttr:"caldera-forms-form-chooser";return wp.element.createElement(s.d,{controlId:t},wp.element.createElement("label",{htmlFor:t},"Choose Form"),wp.element.createElement("select",{id:t,value:e.selected||"",className:"select",onChange:function(t){e.onChange(t.target.value)}},wp.element.createElement("option",{value:""}),o()(e.forms).map(function(t){var n=e.forms[t];return wp.element.createElement("option",{key:n.ID,value:n.ID},n.name)})),wp.element.createElement(s.e,null,"Choose a form to edit privacy settings for."))};l.propTypes={forms:u.a.array.isRequired,onChange:u.a.func.isRequired,selected:u.a.string,idAttr:u.a.string}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return wp.element.createElement("div",{className:"caldera-editor-header"},wp.element.createElement("ul",{className:"caldera-editor-header-nav"},wp.element.createElement("li",{className:"caldera-editor-logo"},wp.element.createElement("span",{className:"caldera-forms-name"},"Caldera Forms: ",e.name?e.name:"Caldera Forms")),e.children))}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),o=(n.n(r),function(e){return wp.element.createElement("div",{style:{marginTop:"75px"},className:"caldera-forms-admin-page-wrap"},e.children)})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n(5)),a=n.n(o),i=function(e){if(!e.show)return null;var t="cf-alert";return e.success?t+=" cf-alert-success":t+=" cf-alert-error",wp.element.createElement("div",{className:"cf-alert-wrap"},wp.element.createElement("p",{className:t},e.message))};i.propTypes={message:a.a.string,success:a.a.bool,show:a.a.bool}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"d",function(){return u});var r=n(213),o=function(){return{type:r.b}},a=function(){return{type:r.c}},i=function(){return{type:r.a}},u=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e||(e=t?"Success":"Error"),{type:r.d,message:e,show:n,success:t}}}]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
clients/pro/README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Caldera Forms Pro Client
2
+ This client is used for Caldera Forms Pro settings
3
+
4
+ ## Views
5
+ ### Settings
6
+ This creates the UI for the Caldera Forms Pro page.
7
+
8
+ ### Tab
9
+ This is used for the Caldera Forms Pro settings tab of the form editor.
10
+
11
+ ## Enqueue Assets
12
+ ```php
13
+ Caldera_Forms_Render_Assets::enqueue_script( 'pro' );
14
+ Caldera_Forms_Render_Assets::enqueue_style( 'pro' );
15
+ ```
clients/pro/build/style.min.css DELETED
@@ -1 +0,0 @@
1
- #cf-pro-account-edit input{min-width:200px}#cf-pro-link{background-color:#ff7e30;display:block;width:69%;color:white;font-size:1rem;padding:1rem 1.4rem;text-decoration:none;text-align:center;cursor:pointer}
 
clients/pro/components/Account/Edit.vue ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div id="cf-pro-account-edit">
3
+ <div class="caldera-config-group">
4
+ <label for="cf-pro-api-public">
5
+ Public Key
6
+ </label>
7
+ <div class="caldera-config-field">
8
+ <input
9
+ type="text"
10
+ v-model="publicKey"
11
+ id="cf-pro-api-public"
12
+ @change="publicKeyChange"
13
+ />
14
+ </div>
15
+ </div>
16
+
17
+ <div class="caldera-config-group">
18
+ <label for="cf-pro-api-secret">
19
+ Secret Key
20
+ </label>
21
+ <div class="caldera-config-field">
22
+ <input
23
+ type="text"
24
+ v-model="secretKey"
25
+ id="cf-pro-api-secret"
26
+ @change="secretKeyChange"
27
+ />
28
+ </div>
29
+ </div>
30
+ <div v-if="connected">
31
+ <a id="cf-pro-link" v-on:click="clickedAppButton">Enter Caldera Forms Pro</a>
32
+ </div>
33
+ <p v-if="! connected">
34
+ You can find your API keys in your <a href="https://app.calderaformspro.com/app#/account" target="_blank">
35
+ Caldera Forms Pro Account
36
+ </a>
37
+ </p>
38
+ </div>
39
+ </template>
40
+ <script>
41
+ import { mapGetters,mapMutations } from 'vuex'
42
+ export default{
43
+
44
+ computed: {
45
+ publicKey:{
46
+ get(){
47
+ return this.$store.getters.publicKey;
48
+ },
49
+ set(newValue){
50
+ this.$store.commit('publicKey',newValue);
51
+ }
52
+ },
53
+ secretKey:{
54
+ get(){
55
+ return this.$store.getters.secretKey;
56
+ },
57
+ set(newValue){
58
+ this.$store.commit('secretKey',newValue);
59
+ }
60
+ },
61
+ connected:{
62
+ get(){
63
+ return this.$store.getters.connected;
64
+ },
65
+ set(newValue){
66
+ this.$store.commit('connected',newValue);
67
+ }
68
+ },
69
+
70
+ },
71
+ methods: {
72
+ ...mapMutations({
73
+ secretKey: 'secretKey',
74
+ }),
75
+ publicKeyChange(ev){
76
+ this.$store.commit('publicKey',ev.target.value);
77
+ },
78
+ secretKeyChange(ev){
79
+ this.$store.commit('secretKey',ev.target.value);
80
+ },
81
+ clickedAppButton(){
82
+ this.$store.dispatch('openApp');
83
+ }
84
+ }
85
+ }
86
+ </script>
87
+ <style>
88
+ @import "./style.css";
89
+ </style>
clients/pro/components/Account/display.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import './style.css'
2
+ import { mapState } from 'vuex'
3
+
4
+
5
+ export default {
6
+ render(h) {
7
+ return (
8
+ <div id="cf-pro-account">
9
+ <ul>
10
+ <li>Public Key {this.publicKey}</li>
11
+ <li>Secret Key {this.secretKey}</li>
12
+ <li>Token {this.token}</li>
13
+ </ul>
14
+ </div>
15
+ )
16
+ },
17
+ computed: mapState({
18
+ token: state => state.account.apiKeys.token,
19
+ publicKey: state => state.account.apiKeys.public,
20
+ secretKey: state => state.account.apiKeys.secret,
21
+ }),
22
+
23
+ }
clients/pro/components/Account/style.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cf-pro-account-edit input {
2
+ min-width: 200px;
3
+ }
4
+ #cf-pro-link {
5
+ background-color: #ff7e30;
6
+ display: block;
7
+ width: 69%;
8
+ color: white;
9
+ font-size: 1rem;
10
+ padding: 1rem 1.4rem;
11
+ text-decoration: none;
12
+ text-align: center;
13
+ }
clients/pro/components/Elements/Field/Checkbox.vue ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div class="caldera-config-group">
3
+
4
+ <label v-bind:for="idAttr" v-html="label">
5
+ </label>
6
+ <_input
7
+ :type="checkbox"
8
+ :idAttr="idAttr"
9
+ :value="value"
10
+ :setting="setting"
11
+ />
12
+
13
+ </div>
14
+ </template>
15
+ <script>
16
+ import Label from '../Parts/Label/Label.vue';
17
+ import Input from '../Parts/Input/Input.vue'
18
+ export default{
19
+ components: {
20
+ _label: Label,
21
+ _input: Input
22
+ },
23
+ props: {
24
+ idAttr: {
25
+ type: String,
26
+ require: true
27
+ },
28
+ value:{
29
+ type:String,
30
+ required: true
31
+ },
32
+ setting:{
33
+ type:String,
34
+ required: true
35
+ },
36
+ label:{
37
+ type:String,
38
+ required: true
39
+ },
40
+ },
41
+
42
+ }
43
+ </script>
clients/pro/components/Elements/Field/Text.vue ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div class="caldera-config-group">
3
+ <label v-bind:for="idAttr" v-html="label">
4
+ </label>
5
+ <_input
6
+ :idAttr="idAttr"
7
+ :value="value"
8
+ :setting="setting"
9
+ />
10
+
11
+ </div>
12
+ </template>
13
+ <script>
14
+ import Label from '../Parts/Label/Label.vue';
15
+ import Input from '../Parts/Input/Input.vue'
16
+ export default{
17
+ components: {
18
+ _label: Label,
19
+ _input: Input
20
+ },
21
+ props: {
22
+ idAttr: {
23
+ type: String,
24
+ require: true
25
+ },
26
+ value:{
27
+ type:String,
28
+ required: true
29
+ },
30
+ setting:{
31
+ type:String,
32
+ required: true
33
+ },
34
+ label:{
35
+ type:String,
36
+ required: true
37
+ },
38
+ },
39
+
40
+ }
41
+ </script>
clients/pro/components/Elements/Parts/Input/Input.vue ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <input
3
+ v-bind:type="type"
4
+ v-bind:id="idAttr"
5
+ @keyup="handle()"
6
+ @change="handle()"
7
+ />
8
+ <!-- v-model="value"-->
9
+ </template>
10
+ <script>
11
+ export default{
12
+ props: {
13
+ idAttr: {
14
+ type: String,
15
+ require: true
16
+ },
17
+ value:{
18
+ type:String,
19
+ required: true
20
+ },
21
+ setting:{
22
+ type:String,
23
+ required: true
24
+ },
25
+ type: {
26
+ type: String,
27
+ default: 'text'
28
+ }
29
+ },
30
+ methods: {
31
+ handle(){
32
+ this.$store.commit(this.setting,this.value);
33
+ }
34
+ },
35
+
36
+
37
+ }
38
+ </script>
clients/pro/components/Elements/Parts/Label/Label.vue ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <label v-bind:for="idAttr" v-html="label">
3
+ </label>
4
+ </template>
5
+ <script>
6
+ export default{
7
+ idAttr: {
8
+ type: String,
9
+ require: true
10
+ },
11
+ label:{
12
+ type:String,
13
+ required: true
14
+ },
15
+ }
16
+ </script>
clients/pro/components/Elements/Status/README.MD ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Reusable status/ alert indicator.
2
+
3
+ ## Props:
4
+ * message - string - required
5
+ The message to show
6
+ * success - string - default false
7
+ If true, shown as alert, if false, shown as success.
8
+ * show - boolean - default false
9
+ If true, message shows, if false, it does not.
10
+
11
+ ## Use as component
12
+
13
+ ```
14
+ <template>
15
+ <div>
16
+ <status
17
+ :message="'Hi Roy'"
18
+ :success="true"
19
+ :show="status.show"
20
+ >
21
+ </status>
22
+ <button @click="show">Show"</button>
23
+ <button @click="hide">Hide"</button>
24
+ <div>
25
+ </template>
26
+ <script>
27
+ import Status from '?'
28
+ export default {
29
+ components: {
30
+ status: Status
31
+ },
32
+ data(){
33
+ return {
34
+ showStatus : false
35
+ }
36
+ },
37
+ methods: {
38
+ show(){
39
+ this.showStatus = true;
40
+ },
41
+ hide(){
42
+ this.showStatus = false;
43
+ }
44
+ }
45
+ }
46
+ </script>
47
+ ```
48
+
49
+ ## Update main alert in CF Pro
50
+ Child component
51
+ ```
52
+ <template>
53
+ <div>
54
+ <button @click="show">Show"</button>
55
+ <button @click="showFor">Show For 2 Seconds"</button>
56
+ <button @click="hide">Hide"</button>
57
+ <div>
58
+ </template>
59
+ <script>
60
+ export default {
61
+ methods: {
62
+ show(){
63
+ this.$store.dispatch( 'updateMainAlert', { message: 'Hi Roy', show: true, success: true };
64
+ },
65
+ hide(){
66
+ this.$store.dispatch( 'closeMainAlert' );
67
+ },
68
+ showFor(){
69
+ this.$store.dispatch( 'updateMainAlert', { fade: 2000, message: 'Set fade in milliseconds', show: true, success: true };
70
+ }
71
+ }
72
+ }
73
+ </script>
74
+ ```
clients/pro/components/Elements/Status/Status.vue ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div class="cf-alert-wrap cf-hide">
3
+ <p class="cf-alert cf-alert-success" v-if="show && success">
4
+ {{message}}
5
+ </p>
6
+ <p class="cf-alert cf-alert-warning" v-if="show && ! success">
7
+ {{message}}
8
+ </p>
9
+ </div>
10
+ </template>
11
+ <script>
12
+ export default {
13
+ props: [
14
+ 'success',
15
+ 'message',
16
+ 'show'
17
+ ],
18
+ watch : {
19
+ show: function () {
20
+ if( this.show ){
21
+ this.$el.className = "cf-alert-wrap cf-show";
22
+ }else{
23
+ this.$el.className = "cf-alert-wrap cf-hide";
24
+ }
25
+ }
26
+ }
27
+
28
+ }
29
+ </script>
30
+ <style>
31
+ .cf-alert {
32
+ display: inline-block;
33
+ padding: 4px;
34
+ border-radius: 4px;
35
+ }
36
+ .cf-alert-success {
37
+ background: #a3bf61;
38
+ color: #fff;
39
+ }
40
+ .cf-alert-error {
41
+ background: #ff0000;
42
+ color: #fff;
43
+ }
44
+
45
+ .cf-alert-wrap{
46
+ margin-top: -5px;
47
+ }
48
+
49
+ .cf-alert p {
50
+ padding: 0;
51
+ }
52
+ </style>
clients/pro/components/Elements/_Component/index.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import './style.css'
2
+
3
+ export default {
4
+ render(h) {
5
+ return (
6
+ <div id="something">
7
+
8
+ </div>
9
+ )
10
+ }
11
+ }
clients/pro/components/Elements/_Component/style.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ :global {
2
+
3
+ }
clients/pro/components/FormSettings/Form.vue ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div>
3
+ <div class="caldera-config-group">
4
+ <label v-if="form.send_local != true" v-bind:for="sendLocalIdAttr">
5
+ Disable enhanced delivery for this form
6
+ </label>
7
+ <label v-else v-bind:for="sendLocalIdAttr">
8
+ Enhanced delivery is disabled for this form
9
+ </label>
10
+ <div class="caldera-config-field">
11
+ <input
12
+ type="checkbox"
13
+ v-model="form.send_local"
14
+ v-bind:id="sendLocalIdAttr"
15
+ @change="changeSendLocal"
16
+ />
17
+ </div>
18
+ </div>
19
+ <div v-if="form.send_local != true">
20
+ <div class="caldera-config-group">
21
+ <label v-bind:for="layoutIdAttr">
22
+ Email Layout
23
+ </label>
24
+ <div class="caldera-config-field">
25
+ <select
26
+ v-bind:id="layoutIdAttr"
27
+ v-model="form.layout"
28
+ @change="changeLayout"
29
+ >
30
+ <option></option>
31
+ <option v-for="option in layouts" v-bind:value="option.id">
32
+ {{ option.name }}
33
+ </option>
34
+ </select>
35
+ </div>
36
+ </div>
37
+ <div class="caldera-config-group">
38
+ <label v-bind:for="pdfLayoutIdAttr">
39
+ PDF Layout
40
+ </label>
41
+ <div class="caldera-config-field">
42
+ <select
43
+ v-bind:id="pdfLayoutIdAttr"
44
+ v-model="form.pdf_layout"
45
+ @change="changePDFLayout"
46
+ >
47
+ <option></option>
48
+ <option v-for="option in layouts" v-bind:value="option.id">
49
+ {{ option.name }}
50
+ </option>
51
+ </select>
52
+ </div>
53
+ </div>
54
+ <div class="caldera-config-group">
55
+ <label v-bind:for="attachPDFIdAttr">
56
+ Attach PDF To Main Mailer
57
+ </label>
58
+ <div class="caldera-config-field">
59
+ <input
60
+ type="checkbox"
61
+ v-model="form.attach_pdf"
62
+ v-bind:id="attachPDFIdAttr"
63
+ @change="changeAttachPDF"
64
+ />
65
+ </div>
66
+ </div>
67
+ <div class="caldera-config-group">
68
+ <label v-bind:for="attachPDFIdAttr">
69
+ Add PDF Link
70
+ </label>
71
+ <div class="caldera-config-field">
72
+ <input
73
+ type="checkbox"
74
+ v-model="form.pdf_link"
75
+ v-bind:id="attachPDFIdAttr"
76
+ @change="changeLinkPDF"
77
+ />
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </template>
83
+ <script>
84
+ import { mapState } from 'vuex'
85
+ import Checkbox from '../Elements/Field/Checkbox';
86
+ import { findForm } from '../../store/util/utils';
87
+
88
+ export default{
89
+ components :{
90
+ checkbox: Checkbox
91
+ },
92
+ props : [ 'form', 'layouts' ],
93
+ computed :{
94
+ layoutIdAttr(){
95
+ return 'cf-pro-layout-' + this.form.form_id;
96
+ },
97
+ pdfLayoutIdAttr(){
98
+ return 'cf-pro-layout-pdf-' + this.form.form_id;
99
+ },
100
+ attachPDFIdAttr(){
101
+ return 'cf-pro-layout-' + this.form.form_id;
102
+ },
103
+ linkPDFIdAttr(){
104
+ return 'cf-pro-layout-' + this.form.form_id;
105
+ },
106
+ sendLocalIdAttr(){
107
+ return 'cf-pro-send-local-' + this.form.form_id;
108
+ },
109
+ },
110
+ methods:{
111
+ commitChange(what,value){
112
+ this.form[what] = value;
113
+ this.$store.commit( 'form', this.form );
114
+ },
115
+ changeLayout(ev){
116
+ this.commitChange(ev.target.value,'layout');
117
+ },
118
+ changePDFLayout(ev){
119
+ this.commitChange(ev.target.value,'pdf_layout');
120
+ },
121
+ changeAttachPDF(ev){
122
+ this.commitChange(ev.target.value,'attach_pdf');
123
+ },
124
+ changeLinkPDF(ev){
125
+ this.commitChange(ev.target.value,'pdf_link');
126
+ },
127
+ changeSendLocal(ev){
128
+ this.commitChange(ev.target.value,'send_local');
129
+ }
130
+ }
131
+
132
+
133
+ }
134
+ </script>
clients/pro/components/FormSettings/Forms.vue ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div>
3
+ <div class="caldera-config-group">
4
+ <label for="cf-pro-form-setting-chooser">
5
+ Choose Form
6
+ </label>
7
+ <div class="caldera-config-field">
8
+ <select
9
+ id="cf-pro-form-setting-chooser"
10
+ v-model="editForm"
11
+ >
12
+ <option></option>
13
+ <option v-for="form in forms" v-bind:value="form.form_id">
14
+ {{ form.name }}
15
+ </option>
16
+ </select>
17
+ </div>
18
+ </div>
19
+
20
+
21
+ <div v-if="editForm">
22
+ <form-setting
23
+ :form="form"
24
+ :layouts="layouts"
25
+ >
26
+ </form-setting>
27
+ </div>
28
+ </div>
29
+
30
+
31
+ </template>
32
+ <script>
33
+ import Form from './Form';
34
+ import { mapState } from 'vuex';
35
+ import { mapGetters } from 'vuex'
36
+ import { mapActions } from 'vuex'
37
+ export default{
38
+ components:{
39
+ 'form-setting': Form
40
+ },
41
+ computed: mapState({
42
+ forms: state => state.forms,
43
+ layouts: state => state.layouts,
44
+ }),
45
+ methods: {
46
+ ...mapActions([
47
+ 'getLayouts'
48
+ ]),
49
+ },
50
+ beforeMount(){
51
+ this.getLayouts();
52
+ },
53
+ data(){
54
+ return{
55
+ editForm: 0,
56
+ form: {}
57
+ }
58
+ },
59
+ watch: {
60
+ editForm(v){
61
+ this.form = this.$store.getters.getFormsById(v);
62
+ }
63
+ }
64
+
65
+ }
66
+ </script>
clients/pro/components/GeneralSettings/enhancedDelivery.vue ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div class="caldera-config-group">
3
+ <div class="caldera-config-field">
4
+ <input
5
+ type="checkbox"
6
+ v-model='deliveryValue'
7
+ id="cf-pro-enhanced-delivery"
8
+ aria-describedby="cf-pro-enhanced-delivery-desc"
9
+ />
10
+ <label for="cf-pro-enhanced-delivery">
11
+ Enable Enhanced Delivery
12
+ </label>
13
+ <div class="description" id="cf-pro-enhanced-delivery-desc">
14
+ <p>If enabled, messages are sent via Caldera Forms Pro Servers</p>
15
+ <ul v-if="enhancedDelivery">
16
+ <li>Forms must use database entry tracking.</li>
17
+ <li>From Email setting will be used as the reply-to.</li>
18
+ </ul>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+ <script>
24
+ import { mapGetters } from 'vuex';
25
+
26
+ export default {
27
+ computed: {
28
+ ...mapGetters([
29
+ 'enhancedDelivery'
30
+ ]),
31
+ deliveryValue: {
32
+ get() {
33
+ return this.enhancedDelivery;
34
+ },
35
+ set(value) {
36
+ this.$store.commit('enhancedDelivery', value);
37
+ }
38
+ }
39
+ },
40
+ }
41
+ </script>
clients/pro/components/GeneralSettings/logLevel.vue ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div>
3
+ <div class="caldera-config-group">
4
+ <div aria-labelledby="minLogLevelTitle" aria-describedby="minLogLevelInfo">
5
+ <label for="cf-pro-form-log-level-chooser" id="minLogLevelTitle">
6
+ {{ strings.minLogLevelTitle }}
7
+ </label>
8
+ <p id="minLogLevelInfo">{{ strings.minLogLevelInfo}}</p>
9
+ </div>
10
+ <div class="caldera-config-field">
11
+ <select
12
+ id="cf-pro-form-log-level-chooser"
13
+ v-model="logLevelValue"
14
+ >
15
+ <option v-for="level in logLevels" v-bind:value="level.number" :key="level.number">
16
+ {{ level.name }}
17
+ </option>
18
+
19
+ </select>
20
+ </div>
21
+ </div>
22
+ </div>
23
+
24
+ </template>
25
+ <script>
26
+ import { mapGetters } from 'vuex';
27
+
28
+ export default{
29
+ computed : {
30
+ ...mapGetters([
31
+ 'logLevels',
32
+ 'logLevel',
33
+ 'strings'
34
+ ]),
35
+ logLevelValue: {
36
+ get() {
37
+ return this.logLevel;
38
+ },
39
+ set(value) {
40
+ this.$store.commit('logLevel', value);
41
+ }
42
+ },
43
+ },
44
+ }
45
+
46
+ </script>
clients/pro/components/Link/linkKeys.vue ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <a v-bind:href="strings.apiKeysViewLink" :alt="strings.apiKeysViewText" target="_blank">{{ strings.apiKeysViewText }}</a>
3
+ </template>
4
+ <script>
5
+ import { mapGetters } from 'vuex'
6
+
7
+ export default{
8
+
9
+ computed :{
10
+ ...mapGetters([
11
+ 'strings'
12
+ ])
13
+ },
14
+
15
+ }
16
+ </script>
clients/pro/dev-client.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ import 'webpack-dev-server/client?/'
2
+ import 'webpack/hot/dev-server'
clients/pro/index.js ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Vue from 'vue'
2
+ import store from './store'
3
+ import SettingsView from './views/Settings.vue';
4
+ import {Tabs, Tab} from 'vue-tabs-component';
5
+
6
+
7
+ Vue.component('tabs', Tabs);
8
+ Vue.component('tab', Tab);
9
+
10
+ //@TODO Remove this hack-ass way of selecting which app to run
11
+ if( document.getElementById( 'cf-pro-app' ) ){
12
+ const mainSettingsApp = new Vue({
13
+ el: '#cf-pro-app',
14
+ store,
15
+ components: {
16
+ 'settings': SettingsView
17
+ },
18
+ render(h) {
19
+ return h(
20
+ 'div',
21
+ {
22
+ attrs: {
23
+ id: 'cf-pro-settings'
24
+ }
25
+ },
26
+ [
27
+ h( 'settings')
28
+ ]
29
+ )
30
+ }
31
+
32
+ });
33
+ }
34
+
35
+ //@TODO and this.
36
+ import FormTab from './views/Tab.vue';
37
+
38
+ if( document.getElementById( 'cf-pro-app-tab' ) ){
39
+ const tabApp = new Vue({
40
+ el: '#cf-pro-app-tab',
41
+ store,
42
+ components: {
43
+ 'settings': FormTab
44
+ },
45
+ render(h) {
46
+ return h(
47
+ 'div',
48
+ {
49
+ attrs: {
50
+ id: 'cf-pro-settings-tab'
51
+ }
52
+ },
53
+ [
54
+ h( 'settings')
55
+ ]
56
+ )
57
+ }
58
+ });
59
+ }
60
+
61
+
62
+
63
+ export { store }
clients/pro/promise-polyfill.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ import Promise from 'promise-polyfill'
2
+
3
+ window.Promise = window.Promise || Promise
clients/pro/pwa.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import runtime from 'offline-plugin/runtime'
2
+
3
+ runtime.install({
4
+ // When an update is ready, tell ServiceWorker to take control immediately:
5
+ onUpdateReady () {
6
+ console.log('update ready')
7
+ runtime.applyUpdate()
8
+ },
9
+
10
+ // Reload to get the new version:
11
+ onUpdated () {
12
+ console.log('updated')
13
+ location.reload()
14
+ }
15
+ })
clients/pro/router/index.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Vue from 'vue'
2
+ import Router from 'vue-router'
3
+ import Home from '../views/Home'
4
+
5
+ Vue.use(Router)
6
+
7
+ export default new Router({
8
+ mode: 'hash',
9
+ routes: [
10
+ {
11
+ path: '/',
12
+ component: Home
13
+ }
14
+ ]
15
+ })
clients/pro/store/actions.js ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { localAPI, appAPI, appToken } from './util/API';
2
+ import { urlString } from './util/urlString';
3
+ import CFProConfig from './util/wpConfig';
4
+
5
+ export const ACTIONS = {
6
+ getAccount(context){
7
+ return new Promise((resolve, reject) => {
8
+ localAPI.get().then(response => {
9
+ var r;
10
+ if ('string' == typeof response.data) {
11
+ const maybe = JSON.parse(response.data);
12
+ if ('object' === typeof maybe) {
13
+ r = maybe;
14
+ }else{
15
+ throw new Exception;
16
+ }
17
+ } else {
18
+ r = response.data;
19
+ }
20
+ context.commit('forms', r.forms);
21
+ context.commit('apiKeys', r.apiKeys);
22
+ context.commit('accountId', r.account_id);
23
+ context.commit('plan', r.plan);
24
+ context.commit('logLevel', r.logLevel);
25
+ context.commit('enhancedDelivery', r.enhancedDelivery);
26
+ context.commit('formScreen', r.hasOwnProperty( 'formScreen' ) ? r.formScreen : CFProConfig.formScreen );
27
+ resolve(response);
28
+ }, error => {
29
+ reject(error);
30
+ });
31
+ })
32
+ },
33
+ saveAccount(context) {
34
+ let key = context.state.account.apiKeys.public;
35
+ if( key && 'string' === typeof key ){
36
+ key = key.trim();
37
+ }
38
+ let secret = context.state.account.apiKeys.secret;
39
+ if( secret && 'string' === typeof secret ){
40
+ secret = secret.trim();
41
+ }
42
+
43
+ return localAPI.post('', {
44
+ accountId: context.state.account.id,
45
+ apiKey: key,
46
+ apiSecret: secret,
47
+ enhancedDelivery: context.state.settings.enhancedDelivery,
48
+ plan: context.state.account.plan,
49
+ forms: context.state.forms,
50
+ logLevel: context.state.settings.logLevel
51
+ }).then(r => {
52
+ if( r.data.hasOwnProperty( '_cfAlertMessage' ) ){
53
+ context.dispatch( 'updateMainAlert', _cfAlertMessage );
54
+ }else{
55
+ context.dispatch( 'updateMainAlert', {
56
+ message: context.state.strings.saved,
57
+ show: true,
58
+ success: true,
59
+ fade: 1500
60
+ });
61
+ }
62
+ });
63
+ },
64
+ openApp({commit, state}) {
65
+ return new Promise((resolve, reject) => {
66
+ const url = urlString(
67
+ {
68
+ public: state.account.apiKeys.public,
69
+ token: appToken( state.account.apiKeys ),
70
+ },
71
+ 'https://app.calderaformspro.com/app'
72
+ );
73
+ const win = window.open(url, '_blank');
74
+ win.focus();
75
+ resolve(true);
76
+ });
77
+ },
78
+ testConnection({commit, state}) {
79
+ return new Promise((resolve, reject) => {
80
+ if (state.account.apiKeys.public && state.account.apiKeys.secret) {
81
+ return appAPI.get(
82
+ urlString(
83
+ {
84
+ public: state.account.apiKeys.public,
85
+ token: appToken( state.account.apiKeys ),
86
+ },
87
+ '/account/verify'
88
+ )
89
+ ).then(r => {
90
+ state.account.plan = r.plan;
91
+ state.account.id = r.id;
92
+ state.connected = true;
93
+ commit( 'connected', true );
94
+ resolve(r);
95
+ },
96
+ error => {
97
+ reject(error);
98
+ });
99
+
100
+ }else{
101
+ reject( 'Not Connected' );
102
+ }
103
+ });
104
+
105
+ },
106
+ getLayouts({commit, state}) {
107
+ if( state.connected ){
108
+ return appAPI.get(
109
+ urlString(
110
+ {
111
+ simple: true,
112
+ public: state.account.apiKeys.public,
113
+ token: state.account.apiKeys.token,
114
+ },
115
+ '/layouts/list'
116
+ )
117
+ ).then(
118
+ r => {
119
+ commit( 'layouts', r.data );
120
+ }, e => {
121
+ console.log(e);
122
+ }
123
+ );
124
+ }
125
+ },
126
+ /**
127
+ * Set the main alert -- status.
128
+ *
129
+ * Using this over mutation mainAlert, which this uses, is you can send a number of milliseconds in alert.fade and it will removed in that number of milliseconds
130
+ *
131
+ * @since 1.0.0
132
+ *
133
+ * @param {*} context
134
+ * @param {Object} alert Commit payload
135
+ */
136
+ updateMainAlert(context, alert){
137
+ const fade = ( alert.hasOwnProperty( 'fade' ) && ! isNaN( alert.fade ) ) ? alert.fade : 0;
138
+ if( fade ){
139
+ //OMG(s) window scope.
140
+ window.setTimeout( () =>{
141
+ context.dispatch( 'closeMainAlert' );
142
+ }, fade );
143
+ }
144
+ context.commit('mainAlert',alert)
145
+ },
146
+ /**
147
+ * Make mainAlert clode
148
+ *
149
+ * @since 1.0.0
150
+ *
151
+ * @param context
152
+ */
153
+ closeMainAlert(context){
154
+ context.dispatch( 'updateMainAlert', {
155
+ show:false,
156
+ } );
157
+ }
158
+ };
clients/pro/store/getters.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { objHasProp, findForm } from './util/utils';
2
+
3
+ export const GETTERS = {
4
+ publicKey: state => {
5
+ return state.account.apiKeys.public;
6
+ },
7
+ secretKey: state => {
8
+ return state.account.apiKeys.secret;
9
+ },
10
+ apiKeys: state => {
11
+ return state.account.apiKeys;
12
+ },
13
+ hi: state => {
14
+ return 'Roy'
15
+ },
16
+ getSetting: state => (setting,_default) => {
17
+ if( objHasProp(state.settings, setting )){
18
+ return state.settings[setting];
19
+ }
20
+ return _default;
21
+ },
22
+ getFormsById: (state, getters) => (id) => {
23
+ return state.forms.find(form => form.form_id === id);
24
+ },
25
+
26
+ enhancedDelivery: state => {
27
+ return state.settings.enhancedDelivery;
28
+ },
29
+ logLevels: state => {
30
+ return state.logLevels;
31
+ },
32
+ logLevel: state => {
33
+ return state.settings.logLevel;
34
+ },
35
+ connected: state => {
36
+ return state.connected;
37
+ },
38
+ formScreen: state => {
39
+ return state.formScreen;
40
+ },
41
+ strings: state => {
42
+ return state.strings;
43
+ },
44
+ mainAlert: state => {
45
+ return state.mainAlert;
46
+ }
47
+ };
clients/pro/store/index.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Vue from 'vue'
2
+ import Vuex from 'vuex'
3
+
4
+ Vue.use(Vuex);
5
+
6
+ import CFProConfig from './util/wpConfig'
7
+
8
+ const STATE = {
9
+ loading: false,
10
+ connected: false,
11
+ forms: [
12
+ ],
13
+ settings : {
14
+ enhancedDelivery: false,
15
+ generatePDFs: false,
16
+ logLevel: 250
17
+ },
18
+ layouts : [
19
+ {name:''}
20
+ ],
21
+ account: {
22
+ plan: String,
23
+ id: Number,
24
+ apiKeys: {
25
+ public: String,
26
+ secret: String,
27
+ token: String
28
+ }
29
+ },
30
+ strings: CFProConfig.strings,
31
+ mainAlert : {
32
+ success: false,
33
+ message : '',
34
+ show: false
35
+ },
36
+ logLevels: CFProConfig.logLevels
37
+ };
38
+
39
+
40
+ import { MUTATIONS } from './mutations';
41
+
42
+ import { ACTIONS } from './actions';
43
+
44
+ import { GETTERS } from './getters';
45
+
46
+
47
+ import { accountSaver, formSaver } from './plugins';
48
+
49
+ const PLUGINS = [
50
+ accountSaver,
51
+ formSaver
52
+ ];
53
+
54
+ const store = new Vuex.Store({
55
+ strict: false,
56
+ plugins: PLUGINS,
57
+ modules: {},
58
+ state: STATE,
59
+ getters: GETTERS,
60
+ mutations: MUTATIONS,
61
+ actions: ACTIONS
62
+ });
63
+
64
+
65
+ export default store;
clients/pro/store/mutations.js ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import isBoolean from 'lodash.isboolean';
2
+ export const MUTATIONS = {
3
+ publicKey (state,value) {
4
+ state.account.apiKeys.public = value;
5
+ },
6
+ secretKey (state,value) {
7
+ state.account.apiKeys.secret = value;
8
+ },
9
+ apiKeys (state,obj) {
10
+ state.account.apiKeys.public = obj.public;
11
+ state.account.apiKeys.secret = obj.secret;
12
+ state.account.apiKeys.token = obj.token;
13
+ },
14
+ accountId(state,value){
15
+ state.account.id = value;
16
+ },
17
+ plan(state,value){
18
+ state.account.plan = value;
19
+ },
20
+ loading(state){
21
+ state.loading = ! state.loading;
22
+ },
23
+ forms(state, value){
24
+ state.forms = value;
25
+ },
26
+ logLevels(state, value){
27
+ state.logLevels = value;
28
+ },
29
+ connected(state,value ){
30
+ state.connected = value;
31
+ },
32
+ layouts(state,value){
33
+ state.layouts = value;
34
+ },
35
+ form(state,value){
36
+ let index = state.forms.findIndex(form => form.form_id === value.form_id);
37
+ if( -1 < index ){
38
+ state.forms[index] = value;
39
+ }
40
+ },
41
+ logLevel(state,value){
42
+ state.settings.logLevel = value;
43
+ },
44
+ enhancedDelivery(state,value){
45
+ if( 'on' == value ){
46
+ value = true;
47
+ }
48
+ state.settings.enhancedDelivery = value;
49
+ },
50
+ formScreen(state,value){
51
+ state.formScreen = value;
52
+ },
53
+ /**
54
+ * Change the main alert
55
+ *
56
+ * @since 1.0.0
57
+ *
58
+ * @param {Object} state
59
+ * @param {Object} value Value to set. success - boolean. show -- boolean. message -- string
60
+ */
61
+ mainAlert(state,value){
62
+ state.mainAlert = {
63
+ success: value.hasOwnProperty( 'success' ) ? value.success : false,
64
+ message: value.hasOwnProperty( 'message' ) ? value.message : '',
65
+ show: value.hasOwnProperty( 'show' ) ? value.show : false,
66
+ };
67
+ //Notice, this doesn't except fade, fade isn't tracked. You want to set a fade time? Use updateMainAlert action!
68
+
69
+ }
70
+ };
71
+
72
+
clients/pro/store/plugins.js ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import debounce from 'lodash.debounce';
2
+ export const accountSaver = store => {
3
+ store.subscribe((mutation, state) => {
4
+ const type = mutation.type;
5
+ switch (type) {
6
+ case 'apiKeys' :
7
+ case 'secretKey':
8
+ case 'publicKey':
9
+ if (!state.connected && state.account.apiKeys.secret && state.account.apiKeys.public) {
10
+ if( 'string' === typeof state.account.apiKeys.public
11
+ && 'string' === typeof state.account.apiKeys.secret ) {
12
+ store.dispatch('testConnection');
13
+ store.dispatch('getLayouts');
14
+ }
15
+
16
+ } else if (!state.account.apiKeys.public || !state.account.apiKeys.secret) {
17
+ store.commit('connected', 0);
18
+ } else {
19
+ store.commit('connected', 0);
20
+ }
21
+ break;
22
+ case 'connected' :
23
+ if (state.connected) {
24
+ store.dispatch('getLayouts')
25
+ }
26
+ break;
27
+ }
28
+
29
+ })
30
+ };
31
+
32
+ /**
33
+ * Plugin to save account when form settings are changed
34
+ *
35
+ * @since 1.0.0
36
+ *
37
+ * @param {Object} store
38
+ */
39
+ export const formSaver = store => {
40
+ /**
41
+ * Debounced version of saveAccount() mutation
42
+ * @since 1.0.0
43
+ *
44
+ * @type {Function}
45
+ */
46
+ this.debounedFormMutation = debounce(
47
+ function(){
48
+ store.dispatch( 'saveAccount' );
49
+ }, 100
50
+ );
51
+
52
+ /**
53
+ * When form setting is mutated trigger update
54
+ *
55
+ * @since 1.0.0
56
+ */
57
+ store.subscribe((mutation, state) => {
58
+ if( 'form' === mutation.type ){
59
+ this.debounedFormMutation();
60
+ }
61
+
62
+ })
63
+ };
64
+
65
+
66
+
67
+
clients/pro/store/util/API.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import axios from 'axios';
2
+ import CFProConfig from './wpConfig';
3
+ import sha1 from 'locutus/php/strings/sha1';
4
+ import { objHasProp, hasProp } from './utils'
5
+
6
+ const timeout = 30000;
7
+ export const localAPI = axios.create({
8
+ baseURL: CFProConfig.localApiURL,
9
+ timeout: timeout,
10
+ headers: {'X-WP-Nonce': CFProConfig.localApiNonce}
11
+ });
12
+
13
+ export const appAPI = axios.create({
14
+ baseURL: CFProConfig.appURL,
15
+ timeout: timeout,
16
+ });
17
+
18
+ export const appToken = function (apiKeys) {
19
+ if( objHasProp(apiKeys,'public') && objHasProp(apiKeys,'secret')){
20
+ let publicKey = apiKeys.public;
21
+ let secret = apiKeys.secret;
22
+ return sha1( publicKey + secret);
23
+ }
24
+ return '';
25
+
26
+
27
+ };
clients/pro/store/util/mockState.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export const mockSTATE = {
2
+ loading: false,
3
+ connected: true,
4
+ forms: [
5
+ { form_id : 1, name: 'One', layout: 2, pdf_layout:1 },
6
+ { form_id : 2, name: 'Two', layout: 1, pdf_layout:2 },
7
+ ],
8
+ settings : {
9
+ enhancedDelivery: true,
10
+ generatePDFs: false
11
+ },
12
+ layouts : [
13
+ { id: 1, name: 'One' },
14
+ { id: 2, name: 'Two' }
15
+ ],
16
+ account: {
17
+ plan: 'apex',
18
+ id: 42,
19
+ apiKeys: {
20
+ public: 'public',
21
+ secret: 'secret',
22
+ token: 'token'
23
+ }
24
+ }
25
+
26
+ };
clients/pro/store/util/urlString.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ export const urlString = function (data, endpoint) {
2
+ var str = "";
3
+ for (var key in data) {
4
+ if (str != "") {
5
+ str += "&";
6
+ }
7
+ str += key + "=" + data[key];
8
+ }
9
+ return endpoint + '?' + str;
10
+ };
clients/pro/store/util/utils.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export const isObject = function (value) {
2
+ /**@TODO npm in just this function from lodash, beacuse the fact that I copypasted 3 lines of code is THE WORST THING EVER! https://github.com/lodash/lodash/blob/master/isObject.js **/
3
+ const type = typeof value;
4
+ return value != null && (type == 'object' || type == 'function');
5
+ //Look - I added semicolons
6
+ };
7
+
8
+ export const hasProp = function (maybeObj, prop) {
9
+ return isObject(maybeObj) && objHasProp(maybeObj,prop);
10
+ };
11
+
12
+ export const objHasProp = function(obj,prop) {
13
+ return Object.prototype.hasOwnProperty.call(obj, prop);
14
+ };
15
+
16
+ export const findForm = function(state,formId){
17
+ return state.forms.find(form =>
18
+ form.form_id === formId
19
+ );
20
+ };
21
+
22
+ export const findFormOffset = function(state,formId){
23
+ return state.forms.findIndex(form => form.form_id === formId);
24
+ };
clients/pro/store/util/wpConfig.js ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export default {
2
+ /**
3
+ * The URL for local site API
4
+ *
5
+ * @since 0.0.1
6
+ *
7
+ * @type {string}
8
+ */
9
+ localApiURL: CF_PRO_ADMIN.api.cf.url,
10
+
11
+ /**
12
+ * The nonce for local site API
13
+ *
14
+ * @since 0.0.1
15
+ *
16
+ * @type {string}
17
+ */
18
+ localApiNonce: CF_PRO_ADMIN.api.cf.nonce,
19
+
20
+ /**
21
+ * The URL for remote app API
22
+ *
23
+ * @since 0.0.1
24
+ *
25
+ * @type {string}
26
+ */
27
+ appURL: CF_PRO_ADMIN.api.cfPro.url,
28
+
29
+ /**
30
+ * The ID of the form whose edit screen we are on
31
+ *
32
+ * @since 1.0.0
33
+ *
34
+ * @type {string}
35
+ */
36
+ formScreen: CF_PRO_ADMIN.formScreen,
37
+
38
+ /**
39
+ * Translation and other strings.
40
+ *
41
+ * Created by "strings" index of generated in calderawp\calderaforms\pro\admin\scripts::data()
42
+ *
43
+ * @since 1.0.0
44
+ *
45
+ * @type {Object}
46
+ */
47
+ strings: CF_PRO_ADMIN.strings,
48
+
49
+ /**
50
+ * Levels of Monolog logs
51
+ *
52
+ * Created by "logLevels" index of generated in calderawp\calderaforms\pro\admin\scripts::data()
53
+ *
54
+ * @since 1.5.9
55
+ *
56
+ * @type array
57
+ */
58
+ logLevels: CF_PRO_ADMIN.logLevels,
59
+
60
+ };
clients/pro/views/Settings.vue ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div id="cf-pro-message-settings">
3
+ <div id="cf-pro-message-setting-inner">
4
+ <div class="caldera-editor-header">
5
+ <ul class="caldera-editor-header-nav">
6
+ <li class="caldera-editor-logo">
7
+ <span class="caldera-forms-name">
8
+ Caldera Forms Pro
9
+ </span>
10
+ </li>
11
+ <li class="status good" v-if="connected">
12
+ Connected
13
+ </li>
14
+ <li class="status bad" v-if="!connected">
15
+ Not Connected
16
+ </li>
17
+ <li class="cf-pro-save">
18
+ <input type="submit" class="button button-primary" value="Save" @click="save"/>
19
+ </li>
20
+ <li id="cf-pro-alert-wrap">
21
+ <status
22
+ :message="mainAlert.message"
23
+ :success="mainAlert.success"
24
+ :show="mainAlert.show"
25
+ >
26
+ </status>
27
+ </li>
28
+ </ul>
29
+ </div>
30
+ <div class="cf-pro-settings" v-cloak>
31
+ <div>
32
+ <tabs :options="{ useUrlFragment: false }">
33
+ <tab name="Account">
34
+ <account-edit></account-edit>
35
+ </tab>
36
+ <tab name="Form Settings">
37
+ <div v-if="connected">
38
+ <forms-settings></forms-settings>
39
+ </div>
40
+ <div v-else>
41
+ You must connected to Caldera Forms Pro First
42
+ </div>
43
+ </tab>
44
+ <tab name="Settings">
45
+ <delivery></delivery>
46
+ <logs></logs>
47
+ </tab>
48
+ </tabs>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </template>
54
+ <script>
55
+ import { mapState, mapGetters, mapActions, mapMutations } from 'vuex';
56
+ import AccountDisplay from '../components/Account/display';
57
+ import AccountEdit from '../components/Account/Edit';
58
+ import FormsSettings from '../components/FormSettings/Forms';
59
+ import enhancedDelivery from '../components/GeneralSettings/enhancedDelivery';
60
+ import logLevel from '../components/GeneralSettings/logLevel';
61
+ import Status from '../components/Elements/Status/Status.vue'
62
+ export default{
63
+ components :{
64
+ 'account-display': AccountDisplay,
65
+ 'account-edit' : AccountEdit,
66
+ 'forms-settings' : FormsSettings,
67
+ 'delivery' : enhancedDelivery,
68
+ 'logs' : logLevel,
69
+ 'status' : Status
70
+ },
71
+ computed: mapState({
72
+ loading: state => state.loading,
73
+ connected: state => state.connected,
74
+ publicKey: state => state.account.apiKeys.public,
75
+ enhancedDelivery: state => state.settings.enhancedDelivery,
76
+ logLevel: state => state.settings.logLevel,
77
+ mainAlert: state => state.mainAlert
78
+ }),
79
+ beforeMount(){
80
+ [].forEach.call(document.querySelectorAll('.update-nag'),function(e){
81
+ e.parentNode.removeChild(e);
82
+ });
83
+
84
+ this.$store.dispatch( 'getAccount' );
85
+ },
86
+ methods:{
87
+ save(){
88
+ this.$store.dispatch( 'saveAccount' );
89
+ }
90
+ }
91
+ }
92
+ </script>
93
+ <style>
94
+ [v-cloak] {
95
+ display: none;
96
+ visibility: hidden;
97
+ }
98
+
99
+ .cf-pro-settings {
100
+ margin-top: 50px;
101
+ }
102
+
103
+ .cf-pro-save input.button {
104
+ margin: 10px;
105
+ }
106
+
107
+ li.status {
108
+ padding: 14px !important;
109
+ color: white;
110
+ }
111
+
112
+ li.status.good {
113
+ background-color: #0b7a6f;
114
+ }
115
+
116
+ li.status.bad {
117
+ background-color: red;
118
+ }
119
+
120
+
121
+ .tabs-component-panels,ul.tabs-component-tabs {
122
+ float: left;
123
+ display:inline-block
124
+ }
125
+
126
+ .tabs-component-panels{
127
+ padding: 1rem;
128
+ font-size: 1rem;
129
+ }
130
+ ul.tabs-component-tabs{
131
+ background: #0b7a6f;
132
+
133
+ }
134
+ li.tabs-component-tab {
135
+ margin-bottom: 0;
136
+ border-bottom: thin solid white;
137
+ padding: 0;
138
+ }
139
+ li.tabs-component-tab:last-child() {
140
+ border-bottom: none;
141
+ }
142
+ li.tabs-component-tab a{
143
+ display: block;
144
+ width: 69%;
145
+ color: white;
146
+ font-size: 1rem;
147
+ padding: 1rem 1.4rem;
148
+ text-decoration: none;
149
+ text-align: center;
150
+ }
151
+ li.tabs-component-tab.is-active{
152
+ background-color: #ff7e30;
153
+ }
154
+
155
+ .tabs-component-panels section:nth-child(3) .caldera-config-group {
156
+ margin: 0 1rem 0;
157
+ }
158
+ .tabs-component-panels section:nth-child(3) label {
159
+ display: inline;
160
+ margin: 0;
161
+ }
162
+
163
+ </style>
clients/pro/views/Tab.vue ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <template>
2
+ <div id="cf-pro-form-settings">
3
+ <div v-if="connected">
4
+ <form-setting :form="form" :layouts="layouts"></form-setting>
5
+ </div>
6
+ <div v-if="!connected">
7
+ <link-keys></link-keys>
8
+ </div>
9
+ <div id="cf-pro-alert-wrap">
10
+ <status
11
+ :message="mainAlert.message"
12
+ :success="mainAlert.success"
13
+ :show="mainAlert.show"
14
+ >
15
+ </status>
16
+ </div>
17
+ </div>
18
+ </template>
19
+ <script>
20
+
21
+ import { mapState } from 'vuex'
22
+ import { mapActions } from 'vuex'
23
+ import debounce from 'lodash.debounce';
24
+ import Status from '../components/Elements/Status/Status';
25
+ import formSetting from '../components/FormSettings/Form.vue';
26
+ import linkKeys from '../components/Link/linkKeys.vue';
27
+
28
+ export default{
29
+ components: {
30
+ 'form-setting' : formSetting,
31
+ 'link-keys' : linkKeys,
32
+ 'status' : Status
33
+ },
34
+ methods: {
35
+ ...mapActions([
36
+ 'getLayouts',
37
+ 'getAccount',
38
+ 'saveAccount'
39
+ ]),
40
+ },
41
+ beforeMount(){
42
+ this.getAccount().then( () => {
43
+ this.getLayouts();
44
+ this.form = this.$store.getters.getFormsById( this.formScreen );
45
+ });
46
+
47
+ },
48
+ computed: mapState({
49
+ layouts: state => state.layouts,
50
+ connected: state => state.connected,
51
+ formScreen: state => state.formScreen,
52
+ mainAlert: state => state.mainAlert
53
+ }),
54
+ data(){
55
+ return{
56
+ form: {},
57
+ }
58
+ }
59
+
60
+
61
+ }
62
+ </script>
clients/pro/views/_View/index.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+
2
+ export default {
3
+ render(h) {
4
+ return (
5
+ <div class="something">
6
+
7
+ </div>
8
+ )
9
+ }
10
+ }
clients/pro/webpack/config.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ title: 'globular',
5
+ // Options for webpack-dev-server
6
+ // See https://webpack.js.org/configuration/dev-server
7
+ devServer: {
8
+ host: 'localhost',
9
+ port: 4000
10
+ },
11
+ // when you use electron please set to relative path like ./
12
+ // otherwise only set to absolute path when you're using history mode
13
+ publicPath: '/',
14
+ cssModules: true,
15
+ jsx: false
16
+ }
clients/pro/webpack/index.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ if( ! defined( 'ABSPATH' ) ){
3
+ exit;
4
+ }
5
+ ?>
6
+ <!---cf-pro-app--><div id="cf-pro-app"></div>
clients/pro/webpack/log-plugin.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ const chalk = require('chalk')
3
+
4
+ // this plugin if for loggin url after each time the compilation is done.
5
+ module.exports = class LogPlugin {
6
+ constructor(options) {
7
+ this.options = options
8
+ }
9
+
10
+ apply(compiler) {
11
+ compiler.plugin('done', () => {
12
+ console.log(`> VuePack is running at ${chalk.yellow(`http://${this.options.host}:${this.options.port}`)}\n`)
13
+ })
14
+ }
15
+ }
clients/pro/webpack/server.js ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ const fs = require('fs')
3
+ const path = require('path')
4
+ const chalk = require('chalk')
5
+ const express = require('express')
6
+ const webpack = require('webpack')
7
+ const Server = require('webpack-dev-server')
8
+ const webpackConfig = require('./webpack.dev')
9
+ const config = require('./config')
10
+ const LogPlugin = require('./log-plugin')
11
+
12
+ const app = express()
13
+
14
+ const devServerOptions = Object.assign({}, webpackConfig.devServer, config.devServer)
15
+
16
+ const host = devServerOptions.host
17
+ const port = devServerOptions.port
18
+
19
+ webpackConfig.entry.client = [
20
+ path.join(__dirname, '../client/dev-client.js'),
21
+ webpackConfig.entry.client
22
+ ]
23
+
24
+ webpackConfig.plugins.push(new LogPlugin({ host, port }))
25
+
26
+ let compiler
27
+
28
+ try {
29
+ compiler = webpack(webpackConfig)
30
+ } catch (err) {
31
+ console.log(err.message)
32
+ process.exit(1)
33
+ }
34
+
35
+ const server = new Server(compiler, Object.assign({
36
+ noInfo: true,
37
+ hot: true,
38
+ historyApiFallback: true,
39
+ overlay: true,
40
+ disableHostCheck: true,
41
+ publicPath: compiler.options.publicPath
42
+ }, devServerOptions))
43
+
44
+ server.listen(port, host)
clients/pro/webpack/tab.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+
3
+ echo \calderawp\calderaforms\pro\container::get_instance()->get_tab_html();
clients/pro/webpack/utils.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ const path = require('path')
3
+ const ExtractTextPlugin = require('extract-text-webpack-plugin')
4
+ const config = require('./config')
5
+
6
+ const _ = module.exports = {}
7
+
8
+ _.cwd = (file) => {
9
+ return path.join(process.cwd(), file || '')
10
+ }
11
+
12
+ _.cssLoader = config.cssModules ?
13
+ 'css-loader?-autoprefixer&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]' :
14
+ 'css-loader?-autoprefixer'
15
+
16
+ _.cssProcessors = [
17
+ {loader: '', test: /\.css$/},
18
+ {loader: 'sass-loader?sourceMap', test: /\.scss$/},
19
+ {loader: 'less-loader?sourceMap', test: /\.less$/},
20
+ {loader: 'stylus-loader?sourceMap', test: /\.styl$/},
21
+ {loader: 'sass-loader?indentedSyntax&sourceMap', test: /\.sass$/},
22
+ ]
23
+
24
+ _.outputPath = config.electron ?
25
+ path.join(__dirname, '../app/dist') :
26
+ path.join(__dirname, '../dist')
27
+
28
+ _.outputIndexPath = config.electron ?
29
+ path.join(__dirname, '../app/dist/index.php') :
30
+ path.join(__dirname, '../dist/index.php')
31
+
32
+ _.target = config.electron ?
33
+ 'electron-renderer' :
34
+ 'web'
35
+
36
+ // https://github.com/egoist/vbuild/blob/master/lib/vue-loaders.js
37
+ _.loadersOptions = () => {
38
+ const isProd = process.env.NODE_ENV === 'production'
39
+
40
+ function generateLoader(langs) {
41
+ langs.unshift('css-loader?sourceMap&-autoprefixer')
42
+ if (!isProd) {
43
+ return ['vue-style-loader'].concat(langs).join('!')
44
+ }
45
+ return ExtractTextPlugin.extract({
46
+ fallback: 'vue-style-loader',
47
+ use: langs.join('!')
48
+ })
49
+ }
50
+
51
+ return {
52
+ minimize: isProd,
53
+ options: {
54
+ // css-loader relies on context
55
+ context: process.cwd(),
56
+ vue: {
57
+ loaders: {
58
+ css: generateLoader([]),
59
+ sass: generateLoader(['sass-loader?indentedSyntax&sourceMap']),
60
+ scss: generateLoader(['sass-loader?sourceMap']),
61
+ less: generateLoader(['less-loader?sourceMap']),
62
+ stylus: generateLoader(['stylus-loader?sourceMap']),
63
+ js: 'babel-loader'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
clients/pro/webpack/webpack.base.js ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ const path = require('path')
3
+ const webpack = require('webpack')
4
+ const HtmlWebpackPlugin = require('html-webpack-plugin')
5
+ const CopyWebpackPlugin = require('copy-webpack-plugin')
6
+ const config = require('./config')
7
+ const _ = require('./utils');
8
+
9
+
10
+ module.exports = {
11
+ entry: {
12
+ client: './clients/pro/index.js'
13
+ },
14
+ output: {
15
+ path: _.outputPath,
16
+ filename: '[name].js',
17
+ publicPath: config.publicPath,
18
+ // Point sourcemap entries to original disk location
19
+ devtoolModuleFilenameTemplate: info => path.resolve(info.absoluteResourcePath),
20
+ // Add /* filename */ comments to generated require()s in the output.
21
+ pathinfo: true
22
+ },
23
+ performance: {
24
+ hints: process.env.NODE_ENV === 'production' ? 'warning' : false
25
+ },
26
+ resolve: {
27
+ extensions: ['.js', '.vue', '.css', '.json'],
28
+ alias: {
29
+ root: path.join(__dirname, '../client'),
30
+ components: path.join(__dirname, '../client/components')
31
+ },
32
+ modules: [
33
+ _.cwd('node_modules'),
34
+ // this meanse you can get rid of dot hell
35
+ // for example import 'components/Foo' instead of import '../../components/Foo'
36
+ _.cwd('client')
37
+ ]
38
+ },
39
+ module: {
40
+ loaders: [
41
+ {
42
+ test: /\.vue$/,
43
+ loader: 'vue-loader',
44
+ options: {
45
+ cssModules: {
46
+ localIdentName: '[path][name]---[local]---[hash:base64:5]',
47
+ camelCase: true
48
+ }
49
+
50
+ }
51
+ },
52
+ {
53
+ test: /\.js$/,
54
+ loaders: ['babel-loader'],
55
+ exclude: [/node_modules/]
56
+ },
57
+ {
58
+ test: /\.(ico|jpg|png|gif|eot|otf|webp|ttf|woff|woff2)(\?.*)?$/,
59
+ loader: 'file-loader',
60
+ query: {
61
+ name: 'static/media/[name].[hash:8].[ext]'
62
+ }
63
+ },
64
+ {
65
+ test: /\.svg$/,
66
+ loader: 'raw-loader'
67
+ }
68
+ ]
69
+ },
70
+ plugins: [
71
+ new HtmlWebpackPlugin({
72
+ title: config.title,
73
+ template: path.resolve(__dirname, 'index.php'),
74
+ filename: _.outputIndexPath
75
+ }),
76
+ new webpack.LoaderOptionsPlugin(_.loadersOptions())
77
+ ],
78
+ target: _.target
79
+ }
clients/pro/webpack/webpack.dev.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ process.env.NODE_ENV = 'development'
3
+
4
+ const webpack = require('webpack')
5
+ const base = require('./webpack.base')
6
+ const _ = require('./utils')
7
+ const FriendlyErrors = require('friendly-errors-webpack-plugin');
8
+ const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
9
+
10
+
11
+ base.devtool = 'eval-source-map'
12
+ base.plugins.push(
13
+ new webpack.DefinePlugin({
14
+ 'process.env.NODE_ENV': JSON.stringify('development')
15
+ }),
16
+ new webpack.HotModuleReplacementPlugin(),
17
+ new webpack.NoEmitOnErrorsPlugin(),
18
+ new FriendlyErrors(),
19
+ new BrowserSyncPlugin({
20
+ files: [],
21
+ host: 'localhost',
22
+ port: 3000,
23
+ proxy: 'wp2.dev'
24
+ })
25
+ );
26
+
27
+ // push loader for css files
28
+ _.cssProcessors.forEach(processor => {
29
+ let loaders
30
+ if (processor.loader === '') {
31
+ loaders = ['postcss-loader']
32
+ } else {
33
+ loaders = ['postcss-loader', processor.loader]
34
+ }
35
+ base.module.loaders.push(
36
+ {
37
+ test: processor.test,
38
+ loaders: ['style-loader', _.cssLoader].concat(loaders)
39
+ }
40
+ )
41
+ })
42
+
43
+ module.exports = base
clients/pro/webpack/webpack.prod.js ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict'
2
+ process.env.NODE_ENV = 'production'
3
+
4
+ const webpack = require('webpack')
5
+ const ExtractTextPlugin = require('extract-text-webpack-plugin')
6
+ const rm = require('rimraf');
7
+ const base = require('./webpack.base')
8
+ const _ = require('./utils')
9
+ const config = require('./config')
10
+
11
+ if (config.electron) {
12
+ // remove files in dist folder in electron mode
13
+ rm.sync('app/assets/*')
14
+ } else {
15
+ // remove dist folder in web app mode
16
+ rm.sync('dist/*')
17
+ // use source-map in web app mode
18
+ base.devtool = 'source-map'
19
+ }
20
+
21
+ // use hash filename to support long-term caching
22
+ base.output.filename = '[name].[chunkhash:8].js'
23
+ // add webpack plugins
24
+ base.plugins.push(
25
+ new ExtractTextPlugin('styles.[contenthash:8].css'),
26
+ new webpack.DefinePlugin({
27
+ 'process.env.NODE_ENV': JSON.stringify('production')
28
+ }),
29
+ new webpack.optimize.UglifyJsPlugin({
30
+ sourceMap: true,
31
+ compress: {
32
+ warnings: false
33
+ },
34
+ output: {
35
+ comments: false
36
+ }
37
+ }),
38
+ // extract vendor chunks
39
+ new webpack.optimize.CommonsChunkPlugin({
40
+ name: 'vendor',
41
+ minChunks: module => {
42
+ return module.resource && /\.(js|css|es6)$/.test(module.resource) && module.resource.indexOf('node_modules') !== -1
43
+ }
44
+ }),
45
+ new webpack.optimize.CommonsChunkPlugin({
46
+ name: 'manifest'
47
+ }),
48
+
49
+ )
50
+
51
+ // extract css in standalone css files
52
+ _.cssProcessors.forEach(processor => {
53
+ let loaders
54
+ if (processor.loader === '') {
55
+ loaders = ['postcss-loader']
56
+ } else {
57
+ loaders = ['postcss-loader', processor.loader]
58
+ }
59
+ base.module.loaders.push({
60
+ test: processor.test,
61
+ loader: ExtractTextPlugin.extract({
62
+ use: [_.cssLoader].concat(loaders),
63
+ fallback: 'style-loader'
64
+ })
65
+ })
66
+ })
67
+
68
+ // minimize webpack output
69
+ base.stats = {
70
+ // Add children information
71
+ children: false,
72
+ // Add chunk information (setting this to `false` allows for a less verbose output)
73
+ chunks: false,
74
+ // Add built modules information to chunk information
75
+ chunkModules: false,
76
+ chunkOrigins: false,
77
+ modules: false
78
+ }
79
+
80
+ module.exports = base
composer.json CHANGED
File without changes
fields/advanced_file/config_template.php CHANGED
File without changes
fields/advanced_file/field.php CHANGED
@@ -78,14 +78,44 @@
78
 
79
  ?><?php echo $wrapper_before; ?>
80
  <?php echo $field_label; ?>
81
- <?php echo $field_before; ?>
82
- <div id="<?php echo esc_attr( $field_id ); ?>_file_list" data-id="<?php echo esc_attr( $field_id ); ?>" data-field="<?php echo esc_attr( $field_base_id ); ?>" class="cf-multi-uploader-list"></div>
 
 
 
 
 
83
 
84
- <button id="<?php echo esc_attr( $field_id ); ?>_trigger" type="button" class="btn btn-block cf-uploader-trigger" data-parent="<?php echo esc_attr( $field_id ); ?>"><?php echo esc_html( $field['config']['multi_upload_text'] ); ?></button>
 
 
 
 
 
 
 
85
 
86
- <input style="display:none;" <?php echo $accept_tag; ?> class="cf-multi-uploader" data-config="<?php echo esc_attr( json_encode( $field['config'] ) ); ?>" data-controlid="<?php echo esc_attr( $uniqu_code ); ?>" <?php echo $field_placeholder; ?> <?php echo $is_multiple; ?> type="file" data-field="<?php echo esc_attr( $field_base_id ); ?>" id="<?php echo esc_attr( $field_id ); ?>" name="<?php echo esc_attr( $field_name ); ?>" <?php echo $field_required; ?>>
87
- <input style="display:none;" type="text" id="<?php echo esc_attr( $field_id ); ?>_validator" data-field="<?php echo esc_attr( $field_base_id ); ?>" data-parsley-file-type="true" <?php echo $required_check; if( $required_check ) : echo 'data-required="true"'; endif; ?> >
88
- <input type="hidden" name="<?php echo esc_attr( $field_name ); ?>" value="<?php echo esc_attr( $uniqu_code ); ?>">
89
- <?php echo $field_caption; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  <?php echo $field_after; ?>
91
  <?php echo $wrapper_after; ?>
78
 
79
  ?><?php echo $wrapper_before; ?>
80
  <?php echo $field_label; ?>
81
+ <?php echo $field_before; ?>
82
+ <div
83
+ id="<?php echo esc_attr($field_id); ?>_file_list"
84
+ data-id="<?php echo esc_attr($field_id); ?>"
85
+ data-field="<?php echo esc_attr($field_base_id); ?>"
86
+ class="cf-multi-uploader-list"
87
+ ></div>
88
 
89
+ <button
90
+ id="<?php echo esc_attr($field_id); ?>_trigger"
91
+ type="button"
92
+ class="btn btn-block cf-uploader-trigger"
93
+ data-parent="<?php echo esc_attr($field_id); ?>"
94
+ >
95
+ <?php echo esc_html($field['config']['multi_upload_text']); ?>
96
+ </button>
97
 
98
+ <input
99
+ style="display:none;" <?php echo $accept_tag; ?>
100
+ class="cf-multi-uploader"
101
+ data-config="<?php echo esc_attr(json_encode($field['config'])); ?>"
102
+ data-controlid="<?php echo esc_attr($uniqu_code); ?>" <?php echo $field_placeholder; ?> <?php echo $is_multiple; ?>
103
+ type="file"
104
+ data-field="<?php echo esc_attr($field_base_id); ?>"
105
+ id="<?php echo esc_attr($field_id); ?>"
106
+ name="<?php echo esc_attr($field_name); ?>" <?php echo $field_required; ?>>
107
+ <input
108
+ style="display:none;"
109
+ type="text"
110
+ id="<?php echo esc_attr($field_id); ?>_validator"
111
+ data-field="<?php echo esc_attr($field_base_id); ?>"
112
+ data-parsley-file-type="true" <?php echo $required_check;
113
+ if ($required_check) : echo 'data-required="true"'; endif; ?> >
114
+ <input
115
+ type="hidden"
116
+ name="<?php echo esc_attr($field_name); ?>"
117
+ value="<?php echo esc_attr($uniqu_code); ?>"
118
+ >
119
+ <?php echo $field_caption; ?>
120
  <?php echo $field_after; ?>
121
  <?php echo $wrapper_after; ?>
fields/advanced_file/preview.php CHANGED
File without changes
fields/advanced_file/uploader.js CHANGED
File without changes
fields/advanced_file/uploader.min.js CHANGED
File without changes
fields/color_picker/minicolors.min.css CHANGED
File without changes
fields/color_picker/setup.js ADDED
File without changes
fields/credit_card_cvc/config.php CHANGED
File without changes
fields/credit_card_cvc/preview.php CHANGED
File without changes
fields/credit_card_exp/config.php CHANGED
File without changes
fields/credit_card_exp/preview.php CHANGED
File without changes
fields/credit_card_number/config.php CHANGED
File without changes
fields/credit_card_number/credit-card.js CHANGED
File without changes
fields/credit_card_number/preview.php CHANGED
File without changes
fields/date_picker/cf-datepicker.js DELETED
@@ -1,1679 +0,0 @@
1
- /* =========================================================
2
- * bootstrap-cfdatepicker.js
3
- * Repo: https://github.com/eternicode/bootstrap-cfdatepicker/
4
- * Demo: http://eternicode.github.io/bootstrap-cfdatepicker/
5
- * Docs: http://bootstrap-cfdatepicker.readthedocs.org/
6
- * Forked from http://www.eyecon.ro/bootstrap-cfdatepicker
7
- * =========================================================
8
- * Started by Stefan Petre; improvements by Andrew Rowls + contributors
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- * ========================================================= */
22
-
23
- (function($, undefined){
24
-
25
- var $window = $(window);
26
-
27
- function UTCDate(){
28
- return new Date(Date.UTC.apply(Date, arguments));
29
- }
30
- function UTCToday(){
31
- var today = new Date();
32
- return UTCDate(today.getFullYear(), today.getMonth(), today.getDate());
33
- }
34
- function alias(method){
35
- return function(){
36
- return this[method].apply(this, arguments);
37
- };
38
- }
39
-
40
- var DateArray = (function(){
41
- var extras = {
42
- get: function(i){
43
- return this.slice(i)[0];
44
- },
45
- contains: function(d){
46
- // Array.indexOf is not cross-browser;
47
- // $.inArray doesn't work with Dates
48
- var val = d && d.valueOf();
49
- for (var i=0, l=this.length; i < l; i++)
50
- if (this[i].valueOf() === val)
51
- return i;
52
- return -1;
53
- },
54
- remove: function(i){
55
- this.splice(i,1);
56
- },
57
- replace: function(new_array){
58
- if (!new_array)
59
- return;
60
- if (!$.isArray(new_array))
61
- new_array = [new_array];
62
- this.clear();
63
- this.push.apply(this, new_array);
64
- },
65
- clear: function(){
66
- this.splice(0);
67
- },
68
- copy: function(){
69
- var a = new DateArray();
70
- a.replace(this);
71
- return a;
72
- }
73
- };
74
-
75
- return function(){
76
- var a = [];
77
- a.push.apply(a, arguments);
78
- $.extend(a, extras);
79
- return a;
80
- };
81
- })();
82
-
83
-
84
- // Picker object
85
-
86
- var Datepicker = function(element, options){
87
- this.dates = new DateArray();
88
- this.viewDate = UTCToday();
89
- this.focusDate = null;
90
-
91
- this._process_options(options);
92
-
93
- this.element = $(element);
94
- this.isInline = false;
95
- this.isInput = this.element.is('input');
96
- this.component = this.element.is('.date') ? this.element.find('.add-on, .input-group-addon, .btn') : false;
97
- this.hasInput = this.component && this.element.find('input').length;
98
- if (this.component && this.component.length === 0)
99
- this.component = false;
100
-
101
- this.picker = $(DPGlobal.template);
102
- this._buildEvents();
103
- this._attachEvents();
104
-
105
- if (this.isInline){
106
- this.picker.addClass('cfdatepicker-inline').appendTo(this.element);
107
- }
108
- else {
109
- this.picker.addClass('cfdatepicker-dropdown dropdown-menu');
110
- }
111
-
112
- if (this.o.rtl){
113
- this.picker.addClass('cfdatepicker-rtl');
114
- }
115
-
116
- this.viewMode = this.o.startView;
117
-
118
- if (this.o.calendarWeeks)
119
- this.picker.find('tfoot th.today')
120
- .attr('colspan', function(i, val){
121
- return parseInt(val) + 1;
122
- });
123
-
124
- this._allow_update = false;
125
-
126
- this.setStartDate(this._o.startDate);
127
- this.setEndDate(this._o.endDate);
128
- this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled);
129
-
130
- this.fillDow();
131
- this.fillMonths();
132
-
133
- this._allow_update = true;
134
-
135
- this.update();
136
- this.showMode();
137
-
138
- if (this.isInline){
139
- this.show();
140
- }
141
- };
142
-
143
- Datepicker.prototype = {
144
- constructor: Datepicker,
145
-
146
- _process_options: function(opts){
147
- // Store raw options for reference
148
- this._o = $.extend({}, this._o, opts);
149
- // Processed options
150
- var o = this.o = $.extend({}, this._o);
151
-
152
- // Check if "de-DE" style date is available, if not language should
153
- // fallback to 2 letter code eg "de"
154
- var lang = o.language;
155
- if (!dates[lang]){
156
- lang = lang.split('-')[0];
157
- if (!dates[lang])
158
- lang = defaults.language;
159
- }
160
- o.language = lang;
161
-
162
- switch (o.startView){
163
- case 2:
164
- case 'decade':
165
- o.startView = 2;
166
- break;
167
- case 1:
168
- case 'year':
169
- o.startView = 1;
170
- break;
171
- default:
172
- o.startView = 0;
173
- }
174
-
175
- switch (o.minViewMode){
176
- case 1:
177
- case 'months':
178
- o.minViewMode = 1;
179
- break;
180
- case 2:
181
- case 'years':
182
- o.minViewMode = 2;
183
- break;
184
- default:
185
- o.minViewMode = 0;
186
- }
187
-
188
- o.startView = Math.max(o.startView, o.minViewMode);
189
-
190
- // true, false, or Number > 0
191
- if (o.multidate !== true){
192
- o.multidate = Number(o.multidate) || false;
193
- if (o.multidate !== false)
194
- o.multidate = Math.max(0, o.multidate);
195
- else
196
- o.multidate = 1;
197
- }
198
- o.multidateSeparator = String(o.multidateSeparator);
199
-
200
- o.weekStart %= 7;
201
- o.weekEnd = ((o.weekStart + 6) % 7);
202
-
203
- var format = DPGlobal.parseFormat(o.format);
204
- if (o.startDate !== -Infinity){
205
- if (!!o.startDate){
206
- if (o.startDate instanceof Date)
207
- o.startDate = this._local_to_utc(this._zero_time(o.startDate));
208
- else
209
- o.startDate = DPGlobal.parseDate(o.startDate, format, o.language);
210
- }
211
- else {
212
- o.startDate = -Infinity;
213
- }
214
- }
215
- if (o.endDate !== Infinity){
216
- if (!!o.endDate){
217
- if (o.endDate instanceof Date)
218
- o.endDate = this._local_to_utc(this._zero_time(o.endDate));
219
- else
220
- o.endDate = DPGlobal.parseDate(o.endDate, format, o.language);
221
- }
222
- else {
223
- o.endDate = Infinity;
224
- }
225
- }
226
-
227
- o.daysOfWeekDisabled = o.daysOfWeekDisabled||[];
228
- if (!$.isArray(o.daysOfWeekDisabled))
229
- o.daysOfWeekDisabled = o.daysOfWeekDisabled.split(/[,\s]*/);
230
- o.daysOfWeekDisabled = $.map(o.daysOfWeekDisabled, function(d){
231
- return parseInt(d, 10);
232
- });
233
-
234
- var plc = String(o.orientation).toLowerCase().split(/\s+/g),
235
- _plc = o.orientation.toLowerCase();
236
- plc = $.grep(plc, function(word){
237
- return (/^auto|left|right|top|bottom$/).test(word);
238
- });
239
- o.orientation = {x: 'auto', y: 'auto'};
240
- if (!_plc || _plc === 'auto')
241
- ; // no action
242
- else if (plc.length === 1){
243
- switch (plc[0]){
244
- case 'top':
245
- case 'bottom':
246
- o.orientation.y = plc[0];
247
- break;
248
- case 'left':
249
- case 'right':
250
- o.orientation.x = plc[0];
251
- break;
252
- }
253
- }
254
- else {
255
- _plc = $.grep(plc, function(word){
256
- return (/^left|right$/).test(word);
257
- });
258
- o.orientation.x = _plc[0] || 'auto';
259
-
260
- _plc = $.grep(plc, function(word){
261
- return (/^top|bottom$/).test(word);
262
- });
263
- o.orientation.y = _plc[0] || 'auto';
264
- }
265
- },
266
- _events: [],
267
- _secondaryEvents: [],
268
- _applyEvents: function(evs){
269
- for (var i=0, el, ch, ev; i < evs.length; i++){
270
- el = evs[i][0];
271
- if (evs[i].length === 2){
272
- ch = undefined;
273
- ev = evs[i][1];
274
- }
275
- else if (evs[i].length === 3){
276
- ch = evs[i][1];
277
- ev = evs[i][2];
278
- }
279
- el.on(ev, ch);
280
- }
281
- },
282
- _unapplyEvents: function(evs){
283
- for (var i=0, el, ev, ch; i < evs.length; i++){
284
- el = evs[i][0];
285
- if (evs[i].length === 2){
286
- ch = undefined;
287
- ev = evs[i][1];
288
- }
289
- else if (evs[i].length === 3){
290
- ch = evs[i][1];
291
- ev = evs[i][2];
292
- }
293
- el.off(ev, ch);
294
- }
295
- },
296
- _buildEvents: function(){
297
- if (this.isInput){ // single input
298
- this._events = [
299
- [this.element, {
300
- focus: $.proxy(this.show, this),
301
- keyup: $.proxy(function(e){
302
- if ($.inArray(e.keyCode, [27,37,39,38,40,32,13,9]) === -1)
303
- this.update();
304
- }, this),
305
- keydown: $.proxy(this.keydown, this)
306
- }]
307
- ];
308
- }
309
- else if (this.component && this.hasInput){ // component: input + button
310
- this._events = [
311
- // For components that are not readonly, allow keyboard nav
312
- [this.element.find('input'), {
313
- focus: $.proxy(this.show, this),
314
- keyup: $.proxy(function(e){
315
- if ($.inArray(e.keyCode, [27,37,39,38,40,32,13,9]) === -1)
316
- this.update();
317
- }, this),
318
- keydown: $.proxy(this.keydown, this)
319
- }],
320
- [this.component, {
321
- click: $.proxy(this.show, this)
322
- }]
323
- ];
324
- }
325
- else if (this.element.is('div')){ // inline cfdatepicker
326
- this.isInline = true;
327
- }
328
- else {
329
- this._events = [
330
- [this.element, {
331
- click: $.proxy(this.show, this)
332
- }]
333
- ];
334
- }
335
- this._events.push(
336
- // Component: listen for blur on element descendants
337
- [this.element, '*', {
338
- blur: $.proxy(function(e){
339
- this._focused_from = e.target;
340
- }, this)
341
- }],
342
- // Input: listen for blur on element
343
- [this.element, {
344
- blur: $.proxy(function(e){
345
- this._focused_from = e.target;
346
- }, this)
347
- }]
348
- );
349
-
350
- this._secondaryEvents = [
351
- [this.picker, {
352
- click: $.proxy(this.click, this)
353
- }],
354
- [$(window), {
355
- resize: $.proxy(this.place, this)
356
- }],
357
- [$(document), {
358
- 'mousedown touchstart': $.proxy(function(e){
359
- // Clicked outside the cfdatepicker, hide it
360
- if (!(
361
- this.element.is(e.target) ||
362
- this.element.find(e.target).length ||
363
- this.picker.is(e.target) ||
364
- this.picker.find(e.target).length
365
- )){
366
- this.hide();
367
- }
368
- }, this)
369
- }]
370
- ];
371
- },
372
- _attachEvents: function(){
373
- this._detachEvents();
374
- this._applyEvents(this._events);
375
- },
376
- _detachEvents: function(){
377
- this._unapplyEvents(this._events);
378
- },
379
- _attachSecondaryEvents: function(){
380
- this._detachSecondaryEvents();
381
- this._applyEvents(this._secondaryEvents);
382
- },
383
- _detachSecondaryEvents: function(){
384
- this._unapplyEvents(this._secondaryEvents);
385
- },
386
- _trigger: function(event, altdate){
387
- var date = altdate || this.dates.get(-1),
388
- local_date = this._utc_to_local(date);
389
-
390
- this.element.trigger({
391
- type: event,
392
- date: local_date,
393
- dates: $.map(this.dates, this._utc_to_local),
394
- format: $.proxy(function(ix, format){
395
- if (arguments.length === 0){
396
- ix = this.dates.length - 1;
397
- format = this.o.format;
398
- }
399
- else if (typeof ix === 'string'){
400
- format = ix;
401
- ix = this.dates.length - 1;
402
- }
403
- format = format || this.o.format;
404
- var date = this.dates.get(ix);
405
- return DPGlobal.formatDate(date, format, this.o.language);
406
- }, this)
407
- });
408
- },
409
-
410
- show: function(){
411
- if (!this.isInline)
412
- this.picker.appendTo('body');
413
- this.picker.show();
414
- this.place();
415
- this._attachSecondaryEvents();
416
- this._trigger('show');
417
- },
418
-
419
- hide: function(){
420
- if (this.isInline)
421
- return;
422
- if (!this.picker.is(':visible'))
423
- return;
424
- this.focusDate = null;
425
- this.picker.hide().detach();
426
- this._detachSecondaryEvents();
427
- this.viewMode = this.o.startView;
428
- this.showMode();
429
-
430
- if (
431
- this.o.forceParse &&
432
- (
433
- this.isInput && this.element.val() ||
434
- this.hasInput && this.element.find('input').val()
435
- )
436
- )
437
- this.setValue();
438
- this._trigger('hide');
439
- },
440
-
441
- remove: function(){
442
- this.hide();
443
- this._detachEvents();
444
- this._detachSecondaryEvents();
445
- this.picker.remove();
446
- delete this.element.data().cfdatepicker;
447
- if (!this.isInput){
448
- delete this.element.data().date;
449
- }
450
- },
451
-
452
- _utc_to_local: function(utc){
453
- return utc && new Date(utc.getTime() + (utc.getTimezoneOffset()*60000));
454
- },
455
- _local_to_utc: function(local){
456
- return local && new Date(local.getTime() - (local.getTimezoneOffset()*60000));
457
- },
458
- _zero_time: function(local){
459
- return local && new Date(local.getFullYear(), local.getMonth(), local.getDate());
460
- },
461
- _zero_utc_time: function(utc){
462
- return utc && new Date(Date.UTC(utc.getUTCFullYear(), utc.getUTCMonth(), utc.getUTCDate()));
463
- },
464
-
465
- getDates: function(){
466
- return $.map(this.dates, this._utc_to_local);
467
- },
468
-
469
- getUTCDates: function(){
470
- return $.map(this.dates, function(d){
471
- return new Date(d);
472
- });
473
- },
474
-
475
- getDate: function(){
476
- return this._utc_to_local(this.getUTCDate());
477
- },
478
-
479
- getUTCDate: function(){
480
- return new Date(this.dates.get(-1));
481
- },
482
-
483
- setDates: function(){
484
- var args = $.isArray(arguments[0]) ? arguments[0] : arguments;
485
- this.update.apply(this, args);
486
- this._trigger('changeDate');
487
- this.setValue();
488
- },
489
-
490
- setUTCDates: function(){
491
- var args = $.isArray(arguments[0]) ? arguments[0] : arguments;
492
- this.update.apply(this, $.map(args, this._utc_to_local));
493
- this._trigger('changeDate');
494
- this.setValue();
495
- },
496
-
497
- setDate: alias('setDates'),
498
- setUTCDate: alias('setUTCDates'),
499
-
500
- setValue: function(){
501
- var formatted = this.getFormattedDate();
502
- if (!this.isInput){
503
- if (this.component){
504
- this.element.find('input').val(formatted).change();
505
- }
506
- }
507
- else {
508
- this.element.val(formatted).change();
509
- }
510
- },
511
-
512
- getFormattedDate: function(format){
513
- if (format === undefined)
514
- format = this.o.format;
515
-
516
- var lang = this.o.language;
517
- return $.map(this.dates, function(d){
518
- return DPGlobal.formatDate(d, format, lang);
519
- }).join(this.o.multidateSeparator);
520
- },
521
-
522
- setStartDate: function(startDate){
523
- this._process_options({startDate: startDate});
524
- this.update();
525
- this.updateNavArrows();
526
- },
527
-
528
- setEndDate: function(endDate){
529
- this._process_options({endDate: endDate});
530
- this.update();
531
- this.updateNavArrows();
532
- },
533
-
534
- setDaysOfWeekDisabled: function(daysOfWeekDisabled){
535
- this._process_options({daysOfWeekDisabled: daysOfWeekDisabled});
536
- this.update();
537
- this.updateNavArrows();
538
- },
539
-
540
- place: function(){
541
- if (this.isInline)
542
- return;
543
- var calendarWidth = this.picker.outerWidth(),
544
- calendarHeight = this.picker.outerHeight(),
545
- visualPadding = 10,
546
- windowWidth = $window.width(),
547
- windowHeight = $window.height(),
548
- scrollTop = $window.scrollTop();
549
-
550
-
551
- var formID = jQuery( this.element ).data( 'form-id' );
552
- var maybeModal = document.getElementById( 'modal-' + formID + '-content' );
553
- var zIndex;
554
-
555
- if( null !== maybeModal ){
556
- zIndex = 10000;
557
- }else{
558
- zIndex = parseInt(this.element.parents().filter(function(){
559
- return $(this).css('z-index') !== 'auto';
560
- }).first().css('z-index'))+10;
561
- }
562
-
563
- var offset = this.component ? this.component.parent().offset() : this.element.offset();
564
- var height = this.component ? this.component.outerHeight(true) : this.element.outerHeight(false);
565
- var width = this.component ? this.component.outerWidth(true) : this.element.outerWidth(false);
566
- var left = offset.left,
567
- top = offset.top;
568
-
569
- this.picker.removeClass(
570
- 'cfdatepicker-orient-top cfdatepicker-orient-bottom '+
571
- 'cfdatepicker-orient-right cfdatepicker-orient-left'
572
- );
573
-
574
- if (this.o.orientation.x !== 'auto'){
575
- this.picker.addClass('cfdatepicker-orient-' + this.o.orientation.x);
576
- if (this.o.orientation.x === 'right')
577
- left -= calendarWidth - width;
578
- }
579
- // auto x orientation is best-placement: if it crosses a window
580
- // edge, fudge it sideways
581
- else {
582
- // Default to left
583
- this.picker.addClass('cfdatepicker-orient-left');
584
- if (offset.left < 0)
585
- left -= offset.left - visualPadding;
586
- else if (offset.left + calendarWidth > windowWidth)
587
- left = windowWidth - calendarWidth - visualPadding;
588
- }
589
-
590
- // auto y orientation is best-situation: top or bottom, no fudging,
591
- // decision based on which shows more of the calendar
592
- var yorient = this.o.orientation.y,
593
- top_overflow, bottom_overflow;
594
- if (yorient === 'auto'){
595
- top_overflow = -scrollTop + offset.top - calendarHeight;
596
- bottom_overflow = scrollTop + windowHeight - (offset.top + height + calendarHeight);
597
- if (Math.max(top_overflow, bottom_overflow) === bottom_overflow)
598
- yorient = 'top';
599
- else
600
- yorient = 'bottom';
601
- }
602
- this.picker.addClass('cfdatepicker-orient-' + yorient);
603
- if (yorient === 'top')
604
- top += height;
605
- else
606
- top -= calendarHeight + parseInt(this.picker.css('padding-top'));
607
-
608
- this.picker.css({
609
- top: top,
610
- left: left,
611
- zIndex: zIndex
612
- });
613
- },
614
-
615
- _allow_update: true,
616
- update: function(){
617
- if (!this._allow_update)
618
- return;
619
-
620
- var oldDates = this.dates.copy(),
621
- dates = [],
622
- fromArgs = false;
623
- if (arguments.length){
624
- $.each(arguments, $.proxy(function(i, date){
625
- if (date instanceof Date)
626
- date = this._local_to_utc(date);
627
- dates.push(date);
628
- }, this));
629
- fromArgs = true;
630
- }
631
- else {
632
- dates = this.isInput
633
- ? this.element.val()
634
- : this.element.data('date') || this.element.find('input').val();
635
- if (dates && this.o.multidate)
636
- dates = dates.split(this.o.multidateSeparator);
637
- else
638
- dates = [dates];
639
- delete this.element.data().date;
640
- }
641
-
642
- dates = $.map(dates, $.proxy(function(date){
643
- return DPGlobal.parseDate(date, this.o.format, this.o.language);
644
- }, this));
645
- dates = $.grep(dates, $.proxy(function(date){
646
- return (
647
- date < this.o.startDate ||
648
- date > this.o.endDate ||
649
- !date
650
- );
651
- }, this), true);
652
- this.dates.replace(dates);
653
-
654
- if (this.dates.length)
655
- this.viewDate = new Date(this.dates.get(-1));
656
- else if (this.viewDate < this.o.startDate)
657
- this.viewDate = new Date(this.o.startDate);
658
- else if (this.viewDate > this.o.endDate)
659
- this.viewDate = new Date(this.o.endDate);
660
-
661
- if (fromArgs){
662
- // setting date by clicking
663
- this.setValue();
664
- }
665
- else if (dates.length){
666
- // setting date by typing
667
- if (String(oldDates) !== String(this.dates))
668
- this._trigger('changeDate');
669
- }
670
- if (!this.dates.length && oldDates.length)
671
- this._trigger('clearDate');
672
-
673
- this.fill();
674
- },
675
-
676
- fillDow: function(){
677
- var dowCnt = this.o.weekStart,
678
- html = '<tr>';
679
- if (this.o.calendarWeeks){
680
- var cell = '<th class="cw">&nbsp;</th>';
681
- html += cell;
682
- this.picker.find('.cfdatepicker-days thead tr:first-child').prepend(cell);
683
- }
684
- while (dowCnt < this.o.weekStart + 7){
685
- html += '<th class="dow">'+dates[this.o.language].daysMin[(dowCnt++)%7]+'</th>';
686
- }
687
- html += '</tr>';
688
- this.picker.find('.cfdatepicker-days thead').append(html);
689
- },
690
-
691
- fillMonths: function(){
692
- var html = '',
693
- i = 0;
694
- while (i < 12){
695
- html += '<span class="month">'+dates[this.o.language].monthsShort[i++]+'</span>';
696
- }
697
- this.picker.find('.cfdatepicker-months td').html(html);
698
- },
699
-
700
- setRange: function(range){
701
- if (!range || !range.length)
702
- delete this.range;
703
- else
704
- this.range = $.map(range, function(d){
705
- return d.valueOf();
706
- });
707
- this.fill();
708
- },
709
-
710
- getClassNames: function(date){
711
- var cls = [],
712
- year = this.viewDate.getUTCFullYear(),
713
- month = this.viewDate.getUTCMonth(),
714
- today = new Date();
715
- if (date.getUTCFullYear() < year || (date.getUTCFullYear() === year && date.getUTCMonth() < month)){
716
- cls.push('old');
717
- }
718
- else if (date.getUTCFullYear() > year || (date.getUTCFullYear() === year && date.getUTCMonth() > month)){
719
- cls.push('new');
720
- }
721
- if (this.focusDate && date.valueOf() === this.focusDate.valueOf())
722
- cls.push('focused');
723
- // Compare internal UTC date with local today, not UTC today
724
- if (this.o.todayHighlight &&
725
- date.getUTCFullYear() === today.getFullYear() &&
726
- date.getUTCMonth() === today.getMonth() &&
727
- date.getUTCDate() === today.getDate()){
728
- cls.push('today');
729
- }
730
- if (this.dates.contains(date) !== -1)
731
- cls.push('active');
732
- if (date.valueOf() < this.o.startDate || date.valueOf() > this.o.endDate ||
733
- $.inArray(date.getUTCDay(), this.o.daysOfWeekDisabled) !== -1){
734
- cls.push('disabled');
735
- }
736
- if (this.range){
737
- if (date > this.range[0] && date < this.range[this.range.length-1]){
738
- cls.push('range');
739
- }
740
- if ($.inArray(date.valueOf(), this.range) !== -1){
741
- cls.push('selected');
742
- }
743
- }
744
- return cls;
745
- },
746
-
747
- fill: function(){
748
- var d = new Date(this.viewDate),
749
- year = d.getUTCFullYear(),
750
- month = d.getUTCMonth(),
751
- startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity,
752
- startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity,
753
- endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity,
754
- endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity,
755
- todaytxt = dates[this.o.language].today || dates['en'].today || '',
756
- cleartxt = dates[this.o.language].clear || dates['en'].clear || '',
757
- tooltip;
758
- this.picker.find('.cfdatepicker-days thead th.cfdatepicker-switch')
759
- .text(dates[this.o.language].months[month]+' '+year);
760
- this.picker.find('tfoot th.today')
761
- .text(todaytxt)
762
- .toggle(this.o.todayBtn !== false);
763
- this.picker.find('tfoot th.clear')
764
- .text(cleartxt)
765
- .toggle(this.o.clearBtn !== false);
766
- this.updateNavArrows();
767
- this.fillMonths();
768
- var prevMonth = UTCDate(year, month-1, 28),
769
- day = DPGlobal.getDaysInMonth(prevMonth.getUTCFullYear(), prevMonth.getUTCMonth());
770
- prevMonth.setUTCDate(day);
771
- prevMonth.setUTCDate(day - (prevMonth.getUTCDay() - this.o.weekStart + 7)%7);
772
- var nextMonth = new Date(prevMonth);
773
- nextMonth.setUTCDate(nextMonth.getUTCDate() + 42);
774
- nextMonth = nextMonth.valueOf();
775
- var html = [];
776
- var clsName;
777
- while (prevMonth.valueOf() < nextMonth){
778
- if (prevMonth.getUTCDay() === this.o.weekStart){
779
- html.push('<tr>');
780
- if (this.o.calendarWeeks){
781
- // ISO 8601: First week contains first thursday.
782
- // ISO also states week starts on Monday, but we can be more abstract here.
783
- var
784
- // Start of current week: based on weekstart/current date
785
- ws = new Date(+prevMonth + (this.o.weekStart - prevMonth.getUTCDay() - 7) % 7 * 864e5),
786
- // Thursday of this week
787
- th = new Date(Number(ws) + (7 + 4 - ws.getUTCDay()) % 7 * 864e5),
788
- // First Thursday of year, year from thursday
789
- yth = new Date(Number(yth = UTCDate(th.getUTCFullYear(), 0, 1)) + (7 + 4 - yth.getUTCDay())%7*864e5),
790
- // Calendar week: ms between thursdays, div ms per day, div 7 days
791
- calWeek = (th - yth) / 864e5 / 7 + 1;
792
- html.push('<td class="cw">'+ calWeek +'</td>');
793
-
794
- }
795
- }
796
- clsName = this.getClassNames(prevMonth);
797
- clsName.push('day');
798
-
799
- if (this.o.beforeShowDay !== $.noop){
800
- var before = this.o.beforeShowDay(this._utc_to_local(prevMonth));
801
- if (before === undefined)
802
- before = {};
803
- else if (typeof(before) === 'boolean')
804
- before = {enabled: before};
805
- else if (typeof(before) === 'string')
806
- before = {classes: before};
807
- if (before.enabled === false)
808
- clsName.push('disabled');
809
- if (before.classes)
810
- clsName = clsName.concat(before.classes.split(/\s+/));
811
- if (before.tooltip)
812
- tooltip = before.tooltip;
813
- }
814
-
815
- clsName = $.unique(clsName);
816
- html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"' : '') + '>'+prevMonth.getUTCDate() + '</td>');
817
- if (prevMonth.getUTCDay() === this.o.weekEnd){
818
- html.push('</tr>');
819
- }
820
- prevMonth.setUTCDate(prevMonth.getUTCDate()+1);
821
- }
822
- this.picker.find('.cfdatepicker-days tbody').empty().append(html.join(''));
823
-
824
- var months = this.picker.find('.cfdatepicker-months')
825
- .find('th:eq(1)')
826
- .text(year)
827
- .end()
828
- .find('span').removeClass('active');
829
-
830
- $.each(this.dates, function(i, d){
831
- if (d.getUTCFullYear() === year)
832
- months.eq(d.getUTCMonth()).addClass('active');
833
- });
834
-
835
- if (year < startYear || year > endYear){
836
- months.addClass('disabled');
837
- }
838
- if (year === startYear){
839
- months.slice(0, startMonth).addClass('disabled');
840
- }
841
- if (year === endYear){
842
- months.slice(endMonth+1).addClass('disabled');
843
- }
844
-
845
- html = '';
846
- year = parseInt(year/10, 10) * 10;
847
- var yearCont = this.picker.find('.cfdatepicker-years')
848
- .find('th:eq(1)')
849
- .text(year + '-' + (year + 9))
850
- .end()
851
- .find('td');
852
- year -= 1;
853
- var years = $.map(this.dates, function(d){
854
- return d.getUTCFullYear();
855
- }),
856
- classes;
857
- for (var i = -1; i < 11; i++){
858
- classes = ['year'];
859
- if (i === -1)
860
- classes.push('old');
861
- else if (i === 10)
862
- classes.push('new');
863
- if ($.inArray(year, years) !== -1)
864
- classes.push('active');
865
- if (year < startYear || year > endYear)
866
- classes.push('disabled');
867
- html += '<span class="' + classes.join(' ') + '">'+year+'</span>';
868
- year += 1;
869
- }
870
- yearCont.html(html);
871
- },
872
-
873
- updateNavArrows: function(){
874
- if (!this._allow_update)
875
- return;
876
-
877
- var d = new Date(this.viewDate),
878
- year = d.getUTCFullYear(),
879
- month = d.getUTCMonth();
880
- switch (this.viewMode){
881
- case 0:
882
- if (this.o.startDate !== -Infinity && year <= this.o.startDate.getUTCFullYear() && month <= this.o.startDate.getUTCMonth()){
883
- this.picker.find('.prev').css({visibility: 'hidden'});
884
- }
885
- else {
886
- this.picker.find('.prev').css({visibility: 'visible'});
887
- }
888
- if (this.o.endDate !== Infinity && year >= this.o.endDate.getUTCFullYear() && month >= this.o.endDate.getUTCMonth()){
889
- this.picker.find('.next').css({visibility: 'hidden'});
890
- }
891
- else {
892
-